diff --git a/flyteidl/clients/go/admin/mocks/isGetDataRequest_Query.go b/flyteidl/clients/go/admin/mocks/isGetDataRequest_Query.go new file mode 100644 index 0000000000..090c6d0cc6 --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/isGetDataRequest_Query.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// isGetDataRequest_Query is an autogenerated mock type for the isGetDataRequest_Query type +type isGetDataRequest_Query struct { + mock.Mock +} + +// isGetDataRequest_Query provides a mock function with given fields: +func (_m *isGetDataRequest_Query) isGetDataRequest_Query() { + _m.Called() +} diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc index d9fe2fed16..427d1ad639 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc @@ -22,7 +22,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::proto extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_TaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; namespace flyteidl { namespace admin { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc index 23298b14a7..6165cc0849 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc @@ -31,14 +31,15 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::p extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Execution_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_ExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; @@ -335,12 +336,13 @@ static void InitDefaultsExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto() ::flyteidl::admin::ExecutionMetadata::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<4> scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto}, { +::google::protobuf::internal::SCCInfo<5> scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto}, { &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto.base,}}; + &scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; static void InitDefaultsNotificationList_flyteidl_2fadmin_2fexecution_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -656,6 +658,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fexecution_2eprot PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, parent_node_execution_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, reference_execution_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, system_metadata_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, artifact_ids_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NotificationList, _internal_metadata_), ~0u, // no _extensions_ @@ -759,17 +762,17 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 68, -1, sizeof(::flyteidl::admin::ExecutionClosure)}, { 88, -1, sizeof(::flyteidl::admin::SystemMetadata)}, { 95, -1, sizeof(::flyteidl::admin::ExecutionMetadata)}, - { 107, -1, sizeof(::flyteidl::admin::NotificationList)}, - { 113, -1, sizeof(::flyteidl::admin::ExecutionSpec)}, - { 136, -1, sizeof(::flyteidl::admin::ExecutionTerminateRequest)}, - { 143, -1, sizeof(::flyteidl::admin::ExecutionTerminateResponse)}, - { 148, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataRequest)}, - { 154, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataResponse)}, - { 163, -1, sizeof(::flyteidl::admin::ExecutionUpdateRequest)}, - { 170, -1, sizeof(::flyteidl::admin::ExecutionStateChangeDetails)}, - { 178, -1, sizeof(::flyteidl::admin::ExecutionUpdateResponse)}, - { 183, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsRequest)}, - { 190, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsResponse)}, + { 108, -1, sizeof(::flyteidl::admin::NotificationList)}, + { 114, -1, sizeof(::flyteidl::admin::ExecutionSpec)}, + { 137, -1, sizeof(::flyteidl::admin::ExecutionTerminateRequest)}, + { 144, -1, sizeof(::flyteidl::admin::ExecutionTerminateResponse)}, + { 149, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataRequest)}, + { 155, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataResponse)}, + { 164, -1, sizeof(::flyteidl::admin::ExecutionUpdateRequest)}, + { 171, -1, sizeof(::flyteidl::admin::ExecutionStateChangeDetails)}, + { 179, -1, sizeof(::flyteidl::admin::ExecutionUpdateResponse)}, + { 184, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsRequest)}, + { 191, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -809,132 +812,135 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto[] = "dl.admin\032\'flyteidl/admin/cluster_assignm" "ent.proto\032\033flyteidl/admin/common.proto\032\034" "flyteidl/core/literals.proto\032\035flyteidl/c" - "ore/execution.proto\032\036flyteidl/core/ident" - "ifier.proto\032\033flyteidl/core/metrics.proto" - "\032\034flyteidl/core/security.proto\032\036google/p" - "rotobuf/duration.proto\032\037google/protobuf/" - "timestamp.proto\032\036google/protobuf/wrapper" - "s.proto\"\237\001\n\026ExecutionCreateRequest\022\017\n\007pr" - "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(" - "\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.admin.Executi" - "onSpec\022)\n\006inputs\030\005 \001(\0132\031.flyteidl.core.L" - "iteralMap\"\177\n\030ExecutionRelaunchRequest\0226\n" - "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" - "ionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite" - "_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverR" - "equest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workf" - "lowExecutionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010" - "metadata\030\003 \001(\0132!.flyteidl.admin.Executio" - "nMetadata\"Q\n\027ExecutionCreateResponse\0226\n\002" + "ore/execution.proto\032\037flyteidl/core/artif" + "act_id.proto\032\036flyteidl/core/identifier.p" + "roto\032\033flyteidl/core/metrics.proto\032\034flyte" + "idl/core/security.proto\032\036google/protobuf" + "/duration.proto\032\037google/protobuf/timesta" + "mp.proto\032\036google/protobuf/wrappers.proto" + "\"\237\001\n\026ExecutionCreateRequest\022\017\n\007project\030\001" + " \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022+\n\004sp" + "ec\030\004 \001(\0132\035.flyteidl.admin.ExecutionSpec\022" + ")\n\006inputs\030\005 \001(\0132\031.flyteidl.core.LiteralM" + "ap\"\177\n\030ExecutionRelaunchRequest\0226\n\002id\030\001 \001" + "(\0132*.flyteidl.core.WorkflowExecutionIden" + "tifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite_cache\030" + "\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverRequest\022" + "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + "utionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010metadat" + "a\030\003 \001(\0132!.flyteidl.admin.ExecutionMetada" + "ta\"Q\n\027ExecutionCreateResponse\0226\n\002id\030\001 \001(" + "\0132*.flyteidl.core.WorkflowExecutionIdent" + "ifier\"U\n\033WorkflowExecutionGetRequest\0226\n\002" "id\030\001 \001(\0132*.flyteidl.core.WorkflowExecuti" - "onIdentifier\"U\n\033WorkflowExecutionGetRequ" - "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" - "ExecutionIdentifier\"\243\001\n\tExecution\0226\n\002id\030" - "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" - "dentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin" - ".ExecutionSpec\0221\n\007closure\030\003 \001(\0132 .flytei" - "dl.admin.ExecutionClosure\"M\n\rExecutionLi" - "st\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl.admin." - "Execution\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBl" - "ob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core.Liter" - "alMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAb" - "ortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030" - "\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outputs\030\001 " - "\001(\0132\036.flyteidl.admin.LiteralMapBlobB\002\030\001H" - "\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.Executi" - "onErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016" - "abort_metadata\030\014 \001(\0132\035.flyteidl.admin.Ab" - "ortMetadataH\000\0224\n\013output_data\030\r \001(\0132\031.fly" - "teidl.core.LiteralMapB\002\030\001H\000\0226\n\017computed_" - "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMapB" - "\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core.Workf" - "lowExecution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032" - ".google.protobuf.Timestamp\022+\n\010duration\030\006" - " \001(\0132\031.google.protobuf.Duration\022.\n\ncreat" - "ed_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022" - ".\n\nupdated_at\030\010 \001(\0132\032.google.protobuf.Ti" - "mestamp\0223\n\rnotifications\030\t \003(\0132\034.flyteid" - "l.admin.Notification\022.\n\013workflow_id\030\013 \001(" - "\0132\031.flyteidl.core.Identifier\022I\n\024state_ch" - "ange_details\030\016 \001(\0132+.flyteidl.admin.Exec" - "utionStateChangeDetailsB\017\n\routput_result" - "\">\n\016SystemMetadata\022\031\n\021execution_cluster\030" - "\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\332\003\n\021ExecutionMe" - "tadata\022=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Ex" - "ecutionMetadata.ExecutionMode\022\021\n\tprincip" - "al\030\002 \001(\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_a" - "t\030\004 \001(\0132\032.google.protobuf.Timestamp\022E\n\025p" - "arent_node_execution\030\005 \001(\0132&.flyteidl.co" - "re.NodeExecutionIdentifier\022G\n\023reference_" - "execution\030\020 \001(\0132*.flyteidl.core.Workflow" - "ExecutionIdentifier\0227\n\017system_metadata\030\021" - " \001(\0132\036.flyteidl.admin.SystemMetadata\"g\n\r" - "ExecutionMode\022\n\n\006MANUAL\020\000\022\r\n\tSCHEDULED\020\001" - "\022\n\n\006SYSTEM\020\002\022\014\n\010RELAUNCH\020\003\022\022\n\016CHILD_WORK" - "FLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationLis" - "t\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.admi" - "n.Notification\"\262\006\n\rExecutionSpec\022.\n\013laun" - "ch_plan\030\001 \001(\0132\031.flyteidl.core.Identifier" - "\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Literal" - "MapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.adm" - "in.ExecutionMetadata\0229\n\rnotifications\030\005 " - "\001(\0132 .flyteidl.admin.NotificationListH\000\022" - "\025\n\013disable_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\0132\026" - ".flyteidl.admin.Labels\0220\n\013annotations\030\010 " - "\001(\0132\033.flyteidl.admin.Annotations\0228\n\020secu" - "rity_context\030\n \001(\0132\036.flyteidl.core.Secur" - "ityContext\022/\n\tauth_role\030\020 \001(\0132\030.flyteidl" - ".admin.AuthRoleB\002\030\001\022;\n\022quality_of_servic" - "e\030\021 \001(\0132\037.flyteidl.core.QualityOfService" - "\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_output_" - "data_config\030\023 \001(\0132#.flyteidl.admin.RawOu" - "tputDataConfig\022=\n\022cluster_assignment\030\024 \001" - "(\0132!.flyteidl.admin.ClusterAssignment\0221\n" - "\rinterruptible\030\025 \001(\0132\032.google.protobuf.B" - "oolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004env" - "s\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030\030 " - "\003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n\031E" - "xecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*.f" + "onIdentifier\"\243\001\n\tExecution\0226\n\002id\030\001 \001(\0132*" + ".flyteidl.core.WorkflowExecutionIdentifi" + "er\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin.Execut" + "ionSpec\0221\n\007closure\030\003 \001(\0132 .flyteidl.admi" + "n.ExecutionClosure\"M\n\rExecutionList\022-\n\ne" + "xecutions\030\001 \003(\0132\031.flyteidl.admin.Executi" + "on\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBlob\022/\n\006v" + "alues\030\001 \001(\0132\031.flyteidl.core.LiteralMapB\002" + "\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAbortMeta" + "data\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030\002 \001(\t\"\360" + "\005\n\020ExecutionClosure\0225\n\007outputs\030\001 \001(\0132\036.f" + "lyteidl.admin.LiteralMapBlobB\002\030\001H\000\022.\n\005er" + "ror\030\002 \001(\0132\035.flyteidl.core.ExecutionError" + "H\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016abort_m" + "etadata\030\014 \001(\0132\035.flyteidl.admin.AbortMeta" + "dataH\000\0224\n\013output_data\030\r \001(\0132\031.flyteidl.c" + "ore.LiteralMapB\002\030\001H\000\0226\n\017computed_inputs\030" + "\003 \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001\0225\n\005" + "phase\030\004 \001(\0162&.flyteidl.core.WorkflowExec" + "ution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032.google" + ".protobuf.Timestamp\022+\n\010duration\030\006 \001(\0132\031." + "google.protobuf.Duration\022.\n\ncreated_at\030\007" + " \001(\0132\032.google.protobuf.Timestamp\022.\n\nupda" + "ted_at\030\010 \001(\0132\032.google.protobuf.Timestamp" + "\0223\n\rnotifications\030\t \003(\0132\034.flyteidl.admin" + ".Notification\022.\n\013workflow_id\030\013 \001(\0132\031.fly" + "teidl.core.Identifier\022I\n\024state_change_de" + "tails\030\016 \001(\0132+.flyteidl.admin.ExecutionSt" + "ateChangeDetailsB\017\n\routput_result\">\n\016Sys" + "temMetadata\022\031\n\021execution_cluster\030\001 \001(\t\022\021" + "\n\tnamespace\030\002 \001(\t\"\213\004\n\021ExecutionMetadata\022" + "=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Execution" + "Metadata.ExecutionMode\022\021\n\tprincipal\030\002 \001(" + "\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\013" + "2\032.google.protobuf.Timestamp\022E\n\025parent_n" + "ode_execution\030\005 \001(\0132&.flyteidl.core.Node" + "ExecutionIdentifier\022G\n\023reference_executi" + "on\030\020 \001(\0132*.flyteidl.core.WorkflowExecuti" + "onIdentifier\0227\n\017system_metadata\030\021 \001(\0132\036." + "flyteidl.admin.SystemMetadata\022/\n\014artifac" + "t_ids\030\022 \003(\0132\031.flyteidl.core.ArtifactID\"g" + "\n\rExecutionMode\022\n\n\006MANUAL\020\000\022\r\n\tSCHEDULED" + "\020\001\022\n\n\006SYSTEM\020\002\022\014\n\010RELAUNCH\020\003\022\022\n\016CHILD_WO" + "RKFLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationL" + "ist\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.ad" + "min.Notification\"\262\006\n\rExecutionSpec\022.\n\013la" + "unch_plan\030\001 \001(\0132\031.flyteidl.core.Identifi" + "er\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Liter" + "alMapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.a" + "dmin.ExecutionMetadata\0229\n\rnotifications\030" + "\005 \001(\0132 .flyteidl.admin.NotificationListH" + "\000\022\025\n\013disable_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\013" + "2\026.flyteidl.admin.Labels\0220\n\013annotations\030" + "\010 \001(\0132\033.flyteidl.admin.Annotations\0228\n\020se" + "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" + "urityContext\022/\n\tauth_role\030\020 \001(\0132\030.flytei" + "dl.admin.AuthRoleB\002\030\001\022;\n\022quality_of_serv" + "ice\030\021 \001(\0132\037.flyteidl.core.QualityOfServi" + "ce\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_outpu" + "t_data_config\030\023 \001(\0132#.flyteidl.admin.Raw" + "OutputDataConfig\022=\n\022cluster_assignment\030\024" + " \001(\0132!.flyteidl.admin.ClusterAssignment\022" + "1\n\rinterruptible\030\025 \001(\0132\032.google.protobuf" + ".BoolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004e" + "nvs\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030" + "\030 \003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n" + "\031ExecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*" + ".flyteidl.core.WorkflowExecutionIdentifi" + "er\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateR" + "esponse\"Y\n\037WorkflowExecutionGetDataReque" + "st\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + "xecutionIdentifier\"\336\001\n WorkflowExecution" + "GetDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyte" + "idl.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027." + "flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_input" + "s\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014fu" + "ll_outputs\030\004 \001(\0132\031.flyteidl.core.Literal" + "Map\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(" + "\0132*.flyteidl.core.WorkflowExecutionIdent" + "ifier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Ex" + "ecutionState\"\220\001\n\033ExecutionStateChangeDet" + "ails\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Exe" + "cutionState\022/\n\013occurred_at\030\002 \001(\0132\032.googl" + "e.protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"" + "\031\n\027ExecutionUpdateResponse\"k\n\"WorkflowEx" + "ecutionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.f" "lyteidl.core.WorkflowExecutionIdentifier" - "\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateRes" - "ponse\"Y\n\037WorkflowExecutionGetDataRequest" - "\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExe" - "cutionIdentifier\"\336\001\n WorkflowExecutionGe" - "tDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyteid" - "l.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027.fl" - "yteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inputs\030" - "\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014full" - "_outputs\030\004 \001(\0132\031.flyteidl.core.LiteralMa" - "p\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(\0132" - "*.flyteidl.core.WorkflowExecutionIdentif" - "ier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Exec" - "utionState\"\220\001\n\033ExecutionStateChangeDetai" - "ls\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Execu" - "tionState\022/\n\013occurred_at\030\002 \001(\0132\032.google." - "protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"\031\n" - "\027ExecutionUpdateResponse\"k\n\"WorkflowExec" - "utionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.fly" - "teidl.core.WorkflowExecutionIdentifier\022\r" - "\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetMet" - "ricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl.co" - "re.Span*>\n\016ExecutionState\022\024\n\020EXECUTION_A" - "CTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=Z;githu" - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" - "flyteidl/adminb\006proto3" + "\022\r\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetM" + "etricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl." + "core.Span*>\n\016ExecutionState\022\024\n\020EXECUTION" + "_ACTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=Z;git" + "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" + "o/flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fexecution_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fexecution_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto, - "flyteidl/admin/execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto, 4622, + "flyteidl/admin/execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto, 4704, }; void AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[10] = + static constexpr ::google::protobuf::internal::InitFunc deps[11] = { ::AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, ::AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto, ::AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto, @@ -942,7 +948,7 @@ void AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto() { ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, ::AddDescriptors_google_2fprotobuf_2fwrappers_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fexecution_2eproto, deps, 10); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fexecution_2eproto, deps, 11); } // Force running AddDescriptors() at dynamic initialization time. @@ -6276,6 +6282,9 @@ void ExecutionMetadata::clear_reference_execution() { } reference_execution_ = nullptr; } +void ExecutionMetadata::clear_artifact_ids() { + artifact_ids_.Clear(); +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int ExecutionMetadata::kModeFieldNumber; const int ExecutionMetadata::kPrincipalFieldNumber; @@ -6284,6 +6293,7 @@ const int ExecutionMetadata::kScheduledAtFieldNumber; const int ExecutionMetadata::kParentNodeExecutionFieldNumber; const int ExecutionMetadata::kReferenceExecutionFieldNumber; const int ExecutionMetadata::kSystemMetadataFieldNumber; +const int ExecutionMetadata::kArtifactIdsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ExecutionMetadata::ExecutionMetadata() @@ -6293,7 +6303,8 @@ ExecutionMetadata::ExecutionMetadata() } ExecutionMetadata::ExecutionMetadata(const ExecutionMetadata& from) : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { + _internal_metadata_(nullptr), + artifact_ids_(from.artifact_ids_) { _internal_metadata_.MergeFrom(from._internal_metadata_); principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.principal().size() > 0) { @@ -6362,6 +6373,7 @@ void ExecutionMetadata::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + artifact_ids_.Clear(); principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && scheduled_at_ != nullptr) { delete scheduled_at_; @@ -6481,6 +6493,22 @@ const char* ExecutionMetadata::_InternalParse(const char* begin, const char* end {parser_till_end, object}, ptr - size, ptr)); break; } + // repeated .flyteidl.core.ArtifactID artifact_ids = 18; + case 18: { + if (static_cast<::google::protobuf::uint8>(tag) != 146) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->add_artifact_ids(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 65535) == 402 && (ptr += 2)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -6601,6 +6629,17 @@ bool ExecutionMetadata::MergePartialFromCodedStream( break; } + // repeated .flyteidl.core.ArtifactID artifact_ids = 18; + case 18: { + if (static_cast< ::google::protobuf::uint8>(tag) == (146 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifact_ids())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -6673,6 +6712,15 @@ void ExecutionMetadata::SerializeWithCachedSizes( 17, HasBitSetters::system_metadata(this), output); } + // repeated .flyteidl.core.ArtifactID artifact_ids = 18; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 18, + this->artifact_ids(static_cast(i)), + output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -6736,6 +6784,14 @@ ::google::protobuf::uint8* ExecutionMetadata::InternalSerializeWithCachedSizesTo 17, HasBitSetters::system_metadata(this), target); } + // repeated .flyteidl.core.ArtifactID artifact_ids = 18; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 18, this->artifact_ids(static_cast(i)), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -6757,6 +6813,17 @@ size_t ExecutionMetadata::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // repeated .flyteidl.core.ArtifactID artifact_ids = 18; + { + unsigned int count = static_cast(this->artifact_ids_size()); + total_size += 2UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->artifact_ids(static_cast(i))); + } + } + // string principal = 2; if (this->principal().size() > 0) { total_size += 1 + @@ -6832,6 +6899,7 @@ void ExecutionMetadata::MergeFrom(const ExecutionMetadata& from) { ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; + artifact_ids_.MergeFrom(from.artifact_ids_); if (from.principal().size() > 0) { principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); @@ -6881,6 +6949,7 @@ void ExecutionMetadata::Swap(ExecutionMetadata* other) { void ExecutionMetadata::InternalSwap(ExecutionMetadata* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(scheduled_at_, other->scheduled_at_); diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h index 9665aff4c4..fbe4b1f4f4 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h @@ -36,6 +36,7 @@ #include "flyteidl/admin/common.pb.h" #include "flyteidl/core/literals.pb.h" #include "flyteidl/core/execution.pb.h" +#include "flyteidl/core/artifact_id.pb.h" #include "flyteidl/core/identifier.pb.h" #include "flyteidl/core/metrics.pb.h" #include "flyteidl/core/security.pb.h" @@ -1982,6 +1983,18 @@ class ExecutionMetadata final : // accessors ------------------------------------------------------- + // repeated .flyteidl.core.ArtifactID artifact_ids = 18; + int artifact_ids_size() const; + void clear_artifact_ids(); + static const int kArtifactIdsFieldNumber = 18; + ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* + mutable_artifact_ids(); + const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; + ::flyteidl::core::ArtifactID* add_artifact_ids(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& + artifact_ids() const; + // string principal = 2; void clear_principal(); static const int kPrincipalFieldNumber = 2; @@ -2049,6 +2062,7 @@ class ExecutionMetadata final : class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; ::google::protobuf::internal::ArenaStringPtr principal_; ::google::protobuf::Timestamp* scheduled_at_; ::flyteidl::core::NodeExecutionIdentifier* parent_node_execution_; @@ -5699,6 +5713,33 @@ inline void ExecutionMetadata::set_allocated_system_metadata(::flyteidl::admin:: // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionMetadata.system_metadata) } +// repeated .flyteidl.core.ArtifactID artifact_ids = 18; +inline int ExecutionMetadata::artifact_ids_size() const { + return artifact_ids_.size(); +} +inline ::flyteidl::core::ArtifactID* ExecutionMetadata::mutable_artifact_ids(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionMetadata.artifact_ids) + return artifact_ids_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* +ExecutionMetadata::mutable_artifact_ids() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ExecutionMetadata.artifact_ids) + return &artifact_ids_; +} +inline const ::flyteidl::core::ArtifactID& ExecutionMetadata::artifact_ids(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.artifact_ids) + return artifact_ids_.Get(index); +} +inline ::flyteidl::core::ArtifactID* ExecutionMetadata::add_artifact_ids() { + // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionMetadata.artifact_ids) + return artifact_ids_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& +ExecutionMetadata::artifact_ids() const { + // @@protoc_insertion_point(field_list:flyteidl.admin.ExecutionMetadata.artifact_ids) + return artifact_ids_; +} + // ------------------------------------------------------------------- // NotificationList diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc index bcde2fea45..a69ec02fdb 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc @@ -26,16 +26,17 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::prot extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<13> scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fschedule_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fany_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Any_google_2fprotobuf_2fany_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto; namespace flyteidl { @@ -221,10 +222,11 @@ static void InitDefaultsLaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2epr ::flyteidl::admin::LaunchPlanMetadata::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsLaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { +::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsLaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { &scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto.base, - &scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base,}}; + &scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base, + &scc_info_Any_google_2fprotobuf_2fany_2eproto.base,}}; static void InitDefaultsLaunchPlanUpdateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -377,6 +379,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2e ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanMetadata, schedule_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanMetadata, notifications_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanMetadata, launch_conditions_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanUpdateRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -415,10 +418,10 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 34, -1, sizeof(::flyteidl::admin::LaunchPlanSpec)}, { 55, -1, sizeof(::flyteidl::admin::LaunchPlanClosure)}, { 65, -1, sizeof(::flyteidl::admin::LaunchPlanMetadata)}, - { 72, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateRequest)}, - { 79, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateResponse)}, - { 84, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanRequest)}, - { 90, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanListRequest)}, + { 73, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateRequest)}, + { 80, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateResponse)}, + { 85, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanRequest)}, + { 91, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanListRequest)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -449,69 +452,71 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto[] "l/core/identifier.proto\032\035flyteidl/core/i" "nterface.proto\032\034flyteidl/core/security.p" "roto\032\035flyteidl/admin/schedule.proto\032\033fly" - "teidl/admin/common.proto\032\037google/protobu" - "f/timestamp.proto\032\036google/protobuf/wrapp" - "ers.proto\"n\n\027LaunchPlanCreateRequest\022%\n\002" - "id\030\001 \001(\0132\031.flyteidl.core.Identifier\022,\n\004s" - "pec\030\002 \001(\0132\036.flyteidl.admin.LaunchPlanSpe" - "c\"\032\n\030LaunchPlanCreateResponse\"\225\001\n\nLaunch" - "Plan\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identif" - "ier\022,\n\004spec\030\002 \001(\0132\036.flyteidl.admin.Launc" - "hPlanSpec\0222\n\007closure\030\003 \001(\0132!.flyteidl.ad" - "min.LaunchPlanClosure\"Q\n\016LaunchPlanList\022" - "0\n\014launch_plans\030\001 \003(\0132\032.flyteidl.admin.L" - "aunchPlan\022\r\n\005token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assu" - "mable_iam_role\030\001 \001(\t\022\"\n\032kubernetes_servi" - "ce_account\030\002 \001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022" - ".\n\013workflow_id\030\001 \001(\0132\031.flyteidl.core.Ide" - "ntifier\022;\n\017entity_metadata\030\002 \001(\0132\".flyte" - "idl.admin.LaunchPlanMetadata\0223\n\016default_" - "inputs\030\003 \001(\0132\033.flyteidl.core.ParameterMa" - "p\022/\n\014fixed_inputs\030\004 \001(\0132\031.flyteidl.core." - "LiteralMap\022\020\n\004role\030\005 \001(\tB\002\030\001\022&\n\006labels\030\006" - " \001(\0132\026.flyteidl.admin.Labels\0220\n\013annotati" - "ons\030\007 \001(\0132\033.flyteidl.admin.Annotations\022&" - "\n\004auth\030\010 \001(\0132\024.flyteidl.admin.AuthB\002\030\001\022/" - "\n\tauth_role\030\t \001(\0132\030.flyteidl.admin.AuthR" - "oleB\002\030\001\0228\n\020security_context\030\n \001(\0132\036.flyt" - "eidl.core.SecurityContext\022;\n\022quality_of_" - "service\030\020 \001(\0132\037.flyteidl.core.QualityOfS" - "ervice\022C\n\026raw_output_data_config\030\021 \001(\0132#" - ".flyteidl.admin.RawOutputDataConfig\022\027\n\017m" - "ax_parallelism\030\022 \001(\005\0221\n\rinterruptible\030\023 " - "\001(\0132\032.google.protobuf.BoolValue\022\027\n\017overw" - "rite_cache\030\024 \001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteid" - "l.admin.Envs\"\217\002\n\021LaunchPlanClosure\022.\n\005st" - "ate\030\001 \001(\0162\037.flyteidl.admin.LaunchPlanSta" - "te\0224\n\017expected_inputs\030\002 \001(\0132\033.flyteidl.c" - "ore.ParameterMap\0224\n\020expected_outputs\030\003 \001" - "(\0132\032.flyteidl.core.VariableMap\022.\n\ncreate" - "d_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022." - "\n\nupdated_at\030\005 \001(\0132\032.google.protobuf.Tim" - "estamp\"u\n\022LaunchPlanMetadata\022*\n\010schedule" - "\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\rnoti" - "fications\030\002 \003(\0132\034.flyteidl.admin.Notific" - "ation\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001" - " \001(\0132\031.flyteidl.core.Identifier\022.\n\005state" - "\030\002 \001(\0162\037.flyteidl.admin.LaunchPlanState\"" - "\032\n\030LaunchPlanUpdateResponse\"L\n\027ActiveLau" - "nchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.ad" - "min.NamedEntityIdentifier\"\203\001\n\033ActiveLaun" - "chPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006do" - "main\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t" - "\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort*" - "+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTI" - "VE\020\001B=Z;github.com/flyteorg/flyte/flytei" - "dl/gen/pb-go/flyteidl/adminb\006proto3" + "teidl/admin/common.proto\032\031google/protobu" + "f/any.proto\032\037google/protobuf/timestamp.p" + "roto\032\036google/protobuf/wrappers.proto\"n\n\027" + "LaunchPlanCreateRequest\022%\n\002id\030\001 \001(\0132\031.fl" + "yteidl.core.Identifier\022,\n\004spec\030\002 \001(\0132\036.f" + "lyteidl.admin.LaunchPlanSpec\"\032\n\030LaunchPl" + "anCreateResponse\"\225\001\n\nLaunchPlan\022%\n\002id\030\001 " + "\001(\0132\031.flyteidl.core.Identifier\022,\n\004spec\030\002" + " \001(\0132\036.flyteidl.admin.LaunchPlanSpec\0222\n\007" + "closure\030\003 \001(\0132!.flyteidl.admin.LaunchPla" + "nClosure\"Q\n\016LaunchPlanList\0220\n\014launch_pla" + "ns\030\001 \003(\0132\032.flyteidl.admin.LaunchPlan\022\r\n\005" + "token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assumable_iam_rol" + "e\030\001 \001(\t\022\"\n\032kubernetes_service_account\030\002 " + "\001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022.\n\013workflow_i" + "d\030\001 \001(\0132\031.flyteidl.core.Identifier\022;\n\017en" + "tity_metadata\030\002 \001(\0132\".flyteidl.admin.Lau" + "nchPlanMetadata\0223\n\016default_inputs\030\003 \001(\0132" + "\033.flyteidl.core.ParameterMap\022/\n\014fixed_in" + "puts\030\004 \001(\0132\031.flyteidl.core.LiteralMap\022\020\n" + "\004role\030\005 \001(\tB\002\030\001\022&\n\006labels\030\006 \001(\0132\026.flytei" + "dl.admin.Labels\0220\n\013annotations\030\007 \001(\0132\033.f" + "lyteidl.admin.Annotations\022&\n\004auth\030\010 \001(\0132" + "\024.flyteidl.admin.AuthB\002\030\001\022/\n\tauth_role\030\t" + " \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001\0228\n\020se" + "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" + "urityContext\022;\n\022quality_of_service\030\020 \001(\013" + "2\037.flyteidl.core.QualityOfService\022C\n\026raw" + "_output_data_config\030\021 \001(\0132#.flyteidl.adm" + "in.RawOutputDataConfig\022\027\n\017max_parallelis" + "m\030\022 \001(\005\0221\n\rinterruptible\030\023 \001(\0132\032.google." + "protobuf.BoolValue\022\027\n\017overwrite_cache\030\024 " + "\001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteidl.admin.Envs\"" + "\217\002\n\021LaunchPlanClosure\022.\n\005state\030\001 \001(\0162\037.f" + "lyteidl.admin.LaunchPlanState\0224\n\017expecte" + "d_inputs\030\002 \001(\0132\033.flyteidl.core.Parameter" + "Map\0224\n\020expected_outputs\030\003 \001(\0132\032.flyteidl" + ".core.VariableMap\022.\n\ncreated_at\030\004 \001(\0132\032." + "google.protobuf.Timestamp\022.\n\nupdated_at\030" + "\005 \001(\0132\032.google.protobuf.Timestamp\"\246\001\n\022La" + "unchPlanMetadata\022*\n\010schedule\030\001 \001(\0132\030.fly" + "teidl.admin.Schedule\0223\n\rnotifications\030\002 " + "\003(\0132\034.flyteidl.admin.Notification\022/\n\021lau" + "nch_conditions\030\003 \001(\0132\024.google.protobuf.A" + "ny\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001 \001(" + "\0132\031.flyteidl.core.Identifier\022.\n\005state\030\002 " + "\001(\0162\037.flyteidl.admin.LaunchPlanState\"\032\n\030" + "LaunchPlanUpdateResponse\"L\n\027ActiveLaunch" + "PlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.admin" + ".NamedEntityIdentifier\"\203\001\n\033ActiveLaunchP" + "lanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domai" + "n\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022%\n" + "\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort*+\n\017" + "LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTIVE\020" + "\001B=Z;github.com/flyteorg/flyte/flyteidl/" + "gen/pb-go/flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto = { false, InitDefaults_flyteidl_2fadmin_2flaunch_5fplan_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto, - "flyteidl/admin/launch_plan.proto", &assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, 2395, + "flyteidl/admin/launch_plan.proto", &assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, 2472, }; void AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[9] = + static constexpr ::google::protobuf::internal::InitFunc deps[10] = { ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, @@ -520,10 +525,11 @@ void AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { ::AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fschedule_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, + ::AddDescriptors_google_2fprotobuf_2fany_2eproto, ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, ::AddDescriptors_google_2fprotobuf_2fwrappers_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, deps, 9); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, deps, 10); } // Force running AddDescriptors() at dynamic initialization time. @@ -4144,16 +4150,23 @@ ::google::protobuf::Metadata LaunchPlanClosure::GetMetadata() const { void LaunchPlanMetadata::InitAsDefaultInstance() { ::flyteidl::admin::_LaunchPlanMetadata_default_instance_._instance.get_mutable()->schedule_ = const_cast< ::flyteidl::admin::Schedule*>( ::flyteidl::admin::Schedule::internal_default_instance()); + ::flyteidl::admin::_LaunchPlanMetadata_default_instance_._instance.get_mutable()->launch_conditions_ = const_cast< ::google::protobuf::Any*>( + ::google::protobuf::Any::internal_default_instance()); } class LaunchPlanMetadata::HasBitSetters { public: static const ::flyteidl::admin::Schedule& schedule(const LaunchPlanMetadata* msg); + static const ::google::protobuf::Any& launch_conditions(const LaunchPlanMetadata* msg); }; const ::flyteidl::admin::Schedule& LaunchPlanMetadata::HasBitSetters::schedule(const LaunchPlanMetadata* msg) { return *msg->schedule_; } +const ::google::protobuf::Any& +LaunchPlanMetadata::HasBitSetters::launch_conditions(const LaunchPlanMetadata* msg) { + return *msg->launch_conditions_; +} void LaunchPlanMetadata::clear_schedule() { if (GetArenaNoVirtual() == nullptr && schedule_ != nullptr) { delete schedule_; @@ -4163,9 +4176,16 @@ void LaunchPlanMetadata::clear_schedule() { void LaunchPlanMetadata::clear_notifications() { notifications_.Clear(); } +void LaunchPlanMetadata::clear_launch_conditions() { + if (GetArenaNoVirtual() == nullptr && launch_conditions_ != nullptr) { + delete launch_conditions_; + } + launch_conditions_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int LaunchPlanMetadata::kScheduleFieldNumber; const int LaunchPlanMetadata::kNotificationsFieldNumber; +const int LaunchPlanMetadata::kLaunchConditionsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 LaunchPlanMetadata::LaunchPlanMetadata() @@ -4183,13 +4203,20 @@ LaunchPlanMetadata::LaunchPlanMetadata(const LaunchPlanMetadata& from) } else { schedule_ = nullptr; } + if (from.has_launch_conditions()) { + launch_conditions_ = new ::google::protobuf::Any(*from.launch_conditions_); + } else { + launch_conditions_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanMetadata) } void LaunchPlanMetadata::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - schedule_ = nullptr; + ::memset(&schedule_, 0, static_cast( + reinterpret_cast(&launch_conditions_) - + reinterpret_cast(&schedule_)) + sizeof(launch_conditions_)); } LaunchPlanMetadata::~LaunchPlanMetadata() { @@ -4199,6 +4226,7 @@ LaunchPlanMetadata::~LaunchPlanMetadata() { void LaunchPlanMetadata::SharedDtor() { if (this != internal_default_instance()) delete schedule_; + if (this != internal_default_instance()) delete launch_conditions_; } void LaunchPlanMetadata::SetCachedSize(int size) const { @@ -4221,6 +4249,10 @@ void LaunchPlanMetadata::Clear() { delete schedule_; } schedule_ = nullptr; + if (GetArenaNoVirtual() == nullptr && launch_conditions_ != nullptr) { + delete launch_conditions_; + } + launch_conditions_ = nullptr; _internal_metadata_.Clear(); } @@ -4266,6 +4298,19 @@ const char* LaunchPlanMetadata::_InternalParse(const char* begin, const char* en } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); break; } + // .google.protobuf.Any launch_conditions = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Any::_InternalParse; + object = msg->mutable_launch_conditions(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -4318,6 +4363,17 @@ bool LaunchPlanMetadata::MergePartialFromCodedStream( break; } + // .google.protobuf.Any launch_conditions = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launch_conditions())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -4360,6 +4416,12 @@ void LaunchPlanMetadata::SerializeWithCachedSizes( output); } + // .google.protobuf.Any launch_conditions = 3; + if (this->has_launch_conditions()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::launch_conditions(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -4388,6 +4450,13 @@ ::google::protobuf::uint8* LaunchPlanMetadata::InternalSerializeWithCachedSizesT 2, this->notifications(static_cast(i)), target); } + // .google.protobuf.Any launch_conditions = 3; + if (this->has_launch_conditions()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::launch_conditions(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -4427,6 +4496,13 @@ size_t LaunchPlanMetadata::ByteSizeLong() const { *schedule_); } + // .google.protobuf.Any launch_conditions = 3; + if (this->has_launch_conditions()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *launch_conditions_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -4458,6 +4534,9 @@ void LaunchPlanMetadata::MergeFrom(const LaunchPlanMetadata& from) { if (from.has_schedule()) { mutable_schedule()->::flyteidl::admin::Schedule::MergeFrom(from.schedule()); } + if (from.has_launch_conditions()) { + mutable_launch_conditions()->::google::protobuf::Any::MergeFrom(from.launch_conditions()); + } } void LaunchPlanMetadata::CopyFrom(const ::google::protobuf::Message& from) { @@ -4487,6 +4566,7 @@ void LaunchPlanMetadata::InternalSwap(LaunchPlanMetadata* other) { _internal_metadata_.Swap(&other->_internal_metadata_); CastToBase(¬ifications_)->InternalSwap(CastToBase(&other->notifications_)); swap(schedule_, other->schedule_); + swap(launch_conditions_, other->launch_conditions_); } ::google::protobuf::Metadata LaunchPlanMetadata::GetMetadata() const { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h index 122f1b8c24..27e0deca98 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h @@ -39,6 +39,7 @@ #include "flyteidl/core/security.pb.h" #include "flyteidl/admin/schedule.pb.h" #include "flyteidl/admin/common.pb.h" +#include #include #include // @@protoc_insertion_point(includes) @@ -1305,6 +1306,15 @@ class LaunchPlanMetadata final : ::flyteidl::admin::Schedule* mutable_schedule(); void set_allocated_schedule(::flyteidl::admin::Schedule* schedule); + // .google.protobuf.Any launch_conditions = 3; + bool has_launch_conditions() const; + void clear_launch_conditions(); + static const int kLaunchConditionsFieldNumber = 3; + const ::google::protobuf::Any& launch_conditions() const; + ::google::protobuf::Any* release_launch_conditions(); + ::google::protobuf::Any* mutable_launch_conditions(); + void set_allocated_launch_conditions(::google::protobuf::Any* launch_conditions); + // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanMetadata) private: class HasBitSetters; @@ -1312,6 +1322,7 @@ class LaunchPlanMetadata final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification > notifications_; ::flyteidl::admin::Schedule* schedule_; + ::google::protobuf::Any* launch_conditions_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; }; @@ -3242,6 +3253,51 @@ LaunchPlanMetadata::notifications() const { return notifications_; } +// .google.protobuf.Any launch_conditions = 3; +inline bool LaunchPlanMetadata::has_launch_conditions() const { + return this != internal_default_instance() && launch_conditions_ != nullptr; +} +inline const ::google::protobuf::Any& LaunchPlanMetadata::launch_conditions() const { + const ::google::protobuf::Any* p = launch_conditions_; + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanMetadata.launch_conditions) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Any_default_instance_); +} +inline ::google::protobuf::Any* LaunchPlanMetadata::release_launch_conditions() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanMetadata.launch_conditions) + + ::google::protobuf::Any* temp = launch_conditions_; + launch_conditions_ = nullptr; + return temp; +} +inline ::google::protobuf::Any* LaunchPlanMetadata::mutable_launch_conditions() { + + if (launch_conditions_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual()); + launch_conditions_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanMetadata.launch_conditions) + return launch_conditions_; +} +inline void LaunchPlanMetadata::set_allocated_launch_conditions(::google::protobuf::Any* launch_conditions) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(launch_conditions_); + } + if (launch_conditions) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launch_conditions = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launch_conditions, submessage_arena); + } + + } else { + + } + launch_conditions_ = launch_conditions; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanMetadata.launch_conditions) +} + // ------------------------------------------------------------------- // LaunchPlanUpdateRequest diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc index 88da69ad52..09fc0a5e20 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc @@ -32,7 +32,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::p extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; namespace flyteidl { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc index 47c42bcf4e..e8747a7485 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc @@ -20,7 +20,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::prot extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsignal_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Signal_flyteidl_2fadmin_2fsignal_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; namespace flyteidl { namespace admin { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc index ad02254db8..eb79cb6cb2 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc @@ -26,7 +26,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::pr extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc new file mode 100644 index 0000000000..bb94168de8 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc @@ -0,0 +1,337 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/artifact/artifacts.proto + +#include "flyteidl/artifact/artifacts.pb.h" +#include "flyteidl/artifact/artifacts.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace artifact { + +static const char* ArtifactRegistry_method_names[] = { + "/flyteidl.artifact.ArtifactRegistry/CreateArtifact", + "/flyteidl.artifact.ArtifactRegistry/GetArtifact", + "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", + "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + "/flyteidl.artifact.ArtifactRegistry/AddTag", + "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", + "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", +}; + +std::unique_ptr< ArtifactRegistry::Stub> ArtifactRegistry::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< ArtifactRegistry::Stub> stub(new ArtifactRegistry::Stub(channel)); + return stub; +} + +ArtifactRegistry::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) + : channel_(channel), rpcmethod_CreateArtifact_(ArtifactRegistry_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetArtifact_(ArtifactRegistry_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateTrigger_(ArtifactRegistry_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteTrigger_(ArtifactRegistry_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AddTag_(ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RegisterProducer_(ArtifactRegistry_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RegisterConsumer_(ArtifactRegistry_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status ArtifactRegistry::Stub::CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::flyteidl::artifact::CreateArtifactResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateArtifact_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>* ArtifactRegistry::Stub::AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_CreateArtifact_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>* ArtifactRegistry::Stub::PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_CreateArtifact_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::flyteidl::artifact::GetArtifactResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetArtifact_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* ArtifactRegistry::Stub::AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::GetArtifactResponse>::Create(channel_.get(), cq, rpcmethod_GetArtifact_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* ArtifactRegistry::Stub::PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::GetArtifactResponse>::Create(channel_.get(), cq, rpcmethod_GetArtifact_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::flyteidl::artifact::CreateTriggerResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateTrigger_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* ArtifactRegistry::Stub::AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_CreateTrigger_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_CreateTrigger_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteTrigger_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_AddTag_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* ArtifactRegistry::Stub::AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::AddTagResponse>::Create(channel_.get(), cq, rpcmethod_AddTag_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* ArtifactRegistry::Stub::PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::AddTagResponse>::Create(channel_.get(), cq, rpcmethod_AddTag_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::flyteidl::artifact::RegisterResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RegisterProducer_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterProducer_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::PrepareAsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterProducer_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::flyteidl::artifact::RegisterResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RegisterConsumer_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::AsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterConsumer_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::PrepareAsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterConsumer_, context, request, false); +} + +ArtifactRegistry::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>( + std::mem_fn(&ArtifactRegistry::Service::CreateArtifact), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>( + std::mem_fn(&ArtifactRegistry::Service::GetArtifact), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>( + std::mem_fn(&ArtifactRegistry::Service::CreateTrigger), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[3], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( + std::mem_fn(&ArtifactRegistry::Service::DeleteTrigger), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[4], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>( + std::mem_fn(&ArtifactRegistry::Service::AddTag), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[5], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>( + std::mem_fn(&ArtifactRegistry::Service::RegisterProducer), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[6], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>( + std::mem_fn(&ArtifactRegistry::Service::RegisterConsumer), this))); +} + +ArtifactRegistry::Service::~Service() { +} + +::grpc::Status ArtifactRegistry::Service::CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace flyteidl +} // namespace artifact + diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h new file mode 100644 index 0000000000..6df0363cae --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h @@ -0,0 +1,1233 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/artifact/artifacts.proto +#ifndef GRPC_flyteidl_2fartifact_2fartifacts_2eproto__INCLUDED +#define GRPC_flyteidl_2fartifact_2fartifacts_2eproto__INCLUDED + +#include "flyteidl/artifact/artifacts.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace artifact { + +class ArtifactRegistry final { + public: + static constexpr char const* service_full_name() { + return "flyteidl.artifact.ArtifactRegistry"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + virtual ::grpc::Status CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::flyteidl::artifact::CreateArtifactResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>> AsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>>(AsyncCreateArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>> PrepareAsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>>(PrepareAsyncCreateArtifactRaw(context, request, cq)); + } + virtual ::grpc::Status GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::flyteidl::artifact::GetArtifactResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>> AsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>>(AsyncGetArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>> PrepareAsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>>(PrepareAsyncGetArtifactRaw(context, request, cq)); + } + // rpc ListArtifactNames (ListArtifactNamesRequest) returns (ListArtifactNamesResponse) {} + // + // rpc ListArtifacts (ListArtifactsRequest) returns (ListArtifactsResponse) {} + // + virtual ::grpc::Status CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::flyteidl::artifact::CreateTriggerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>> AsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>>(AsyncCreateTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); + } + virtual ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + } + virtual ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>>(AsyncAddTagRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>> PrepareAsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>>(PrepareAsyncAddTagRaw(context, request, cq)); + } + virtual ::grpc::Status RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::flyteidl::artifact::RegisterResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterProducerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterProducerRaw(context, request, cq)); + } + virtual ::grpc::Status RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::flyteidl::artifact::RegisterResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterConsumerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterConsumerRaw(context, request, cq)); + } + class experimental_async_interface { + public: + virtual ~experimental_async_interface() {} + virtual void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) = 0; + virtual void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) = 0; + virtual void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // rpc ListArtifactNames (ListArtifactNamesRequest) returns (ListArtifactNamesResponse) {} + // + // rpc ListArtifacts (ListArtifactsRequest) returns (ListArtifactsResponse) {} + // + virtual void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) = 0; + virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) = 0; + virtual void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + }; + virtual class experimental_async_interface* experimental_async() { return nullptr; } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>* AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>* PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>* AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>* PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); + ::grpc::Status CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::flyteidl::artifact::CreateArtifactResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>> AsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>>(AsyncCreateArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>> PrepareAsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>>(PrepareAsyncCreateArtifactRaw(context, request, cq)); + } + ::grpc::Status GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::flyteidl::artifact::GetArtifactResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>> AsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>>(AsyncGetArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>> PrepareAsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>>(PrepareAsyncGetArtifactRaw(context, request, cq)); + } + ::grpc::Status CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::flyteidl::artifact::CreateTriggerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>> AsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>>(AsyncCreateTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); + } + ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + } + ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>>(AsyncAddTagRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>> PrepareAsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>>(PrepareAsyncAddTagRaw(context, request, cq)); + } + ::grpc::Status RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::flyteidl::artifact::RegisterResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterProducerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterProducerRaw(context, request, cq)); + } + ::grpc::Status RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::flyteidl::artifact::RegisterResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterConsumerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterConsumerRaw(context, request, cq)); + } + class experimental_async final : + public StubInterface::experimental_async_interface { + public: + void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) override; + void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) override; + void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) override; + void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) override; + void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) override; + void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) override; + void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; + void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; + void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + private: + friend class Stub; + explicit experimental_async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class experimental_async_interface* experimental_async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class experimental_async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>* AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>* PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_CreateArtifact_; + const ::grpc::internal::RpcMethod rpcmethod_GetArtifact_; + const ::grpc::internal::RpcMethod rpcmethod_CreateTrigger_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteTrigger_; + const ::grpc::internal::RpcMethod rpcmethod_AddTag_; + const ::grpc::internal::RpcMethod rpcmethod_RegisterProducer_; + const ::grpc::internal::RpcMethod rpcmethod_RegisterConsumer_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + virtual ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response); + virtual ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response); + // rpc ListArtifactNames (ListArtifactNamesRequest) returns (ListArtifactNamesResponse) {} + // + // rpc ListArtifacts (ListArtifactsRequest) returns (ListArtifactsResponse) {} + // + virtual ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response); + virtual ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response); + virtual ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response); + virtual ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response); + virtual ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response); + }; + template + class WithAsyncMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_CreateArtifact() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateArtifact(::grpc::ServerContext* context, ::flyteidl::artifact::CreateArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::CreateArtifactResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetArtifact() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetArtifact(::grpc::ServerContext* context, ::flyteidl::artifact::GetArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::GetArtifactResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_CreateTrigger() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::CreateTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::CreateTriggerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::DeleteTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::DeleteTriggerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_AddTag() { + ::grpc::Service::MarkMethodAsync(4); + } + ~WithAsyncMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestAddTag(::grpc::ServerContext* context, ::flyteidl::artifact::AddTagRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::AddTagResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_RegisterProducer() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterProducer(::grpc::ServerContext* context, ::flyteidl::artifact::RegisterProducerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::RegisterResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodAsync(6); + } + ~WithAsyncMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterConsumer(::grpc::ServerContext* context, ::flyteidl::artifact::RegisterConsumerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::RegisterResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_CreateArtifact > > > > > > AsyncService; + template + class ExperimentalWithCallbackMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_CreateArtifact() { + ::grpc::Service::experimental().MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::CreateArtifactRequest* request, + ::flyteidl::artifact::CreateArtifactResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->CreateArtifact(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_CreateArtifact( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>*>( + ::grpc::Service::experimental().GetHandler(0)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_GetArtifact() { + ::grpc::Service::experimental().MarkMethodCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::GetArtifactRequest* request, + ::flyteidl::artifact::GetArtifactResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->GetArtifact(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_GetArtifact( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>*>( + ::grpc::Service::experimental().GetHandler(1)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_CreateTrigger() { + ::grpc::Service::experimental().MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::CreateTriggerRequest* request, + ::flyteidl::artifact::CreateTriggerResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->CreateTrigger(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_CreateTrigger( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>*>( + ::grpc::Service::experimental().GetHandler(2)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_DeleteTrigger() { + ::grpc::Service::experimental().MarkMethodCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::DeleteTriggerRequest* request, + ::flyteidl::artifact::DeleteTriggerResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->DeleteTrigger(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_DeleteTrigger( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>*>( + ::grpc::Service::experimental().GetHandler(3)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_AddTag() { + ::grpc::Service::experimental().MarkMethodCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::AddTagRequest* request, + ::flyteidl::artifact::AddTagResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->AddTag(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_AddTag( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>*>( + ::grpc::Service::experimental().GetHandler(4)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_RegisterProducer() { + ::grpc::Service::experimental().MarkMethodCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::RegisterProducerRequest* request, + ::flyteidl::artifact::RegisterResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->RegisterProducer(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_RegisterProducer( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>*>( + ::grpc::Service::experimental().GetHandler(5)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_RegisterConsumer() { + ::grpc::Service::experimental().MarkMethodCallback(6, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::RegisterConsumerRequest* request, + ::flyteidl::artifact::RegisterResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->RegisterConsumer(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_RegisterConsumer( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>*>( + ::grpc::Service::experimental().GetHandler(6)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + typedef ExperimentalWithCallbackMethod_CreateArtifact > > > > > > ExperimentalCallbackService; + template + class WithGenericMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_CreateArtifact() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_GetArtifact() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_CreateTrigger() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_AddTag() { + ::grpc::Service::MarkMethodGeneric(4); + } + ~WithGenericMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_RegisterProducer() { + ::grpc::Service::MarkMethodGeneric(5); + } + ~WithGenericMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodGeneric(6); + } + ~WithGenericMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_CreateArtifact() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateArtifact(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_GetArtifact() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetArtifact(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_CreateTrigger() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTrigger(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTrigger(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_AddTag() { + ::grpc::Service::MarkMethodRaw(4); + } + ~WithRawMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestAddTag(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_RegisterProducer() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterProducer(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodRaw(6); + } + ~WithRawMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterConsumer(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class ExperimentalWithRawCallbackMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_CreateArtifact() { + ::grpc::Service::experimental().MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->CreateArtifact(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateArtifact(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_GetArtifact() { + ::grpc::Service::experimental().MarkMethodRawCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->GetArtifact(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetArtifact(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_CreateTrigger() { + ::grpc::Service::experimental().MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->CreateTrigger(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_DeleteTrigger() { + ::grpc::Service::experimental().MarkMethodRawCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->DeleteTrigger(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_AddTag() { + ::grpc::Service::experimental().MarkMethodRawCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->AddTag(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void AddTag(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_RegisterProducer() { + ::grpc::Service::experimental().MarkMethodRawCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->RegisterProducer(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterProducer(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_RegisterConsumer() { + ::grpc::Service::experimental().MarkMethodRawCallback(6, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->RegisterConsumer(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterConsumer(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class WithStreamedUnaryMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_CreateArtifact() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>(std::bind(&WithStreamedUnaryMethod_CreateArtifact::StreamedCreateArtifact, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreateArtifact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::CreateArtifactRequest,::flyteidl::artifact::CreateArtifactResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetArtifact() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>(std::bind(&WithStreamedUnaryMethod_GetArtifact::StreamedGetArtifact, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetArtifact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::GetArtifactRequest,::flyteidl::artifact::GetArtifactResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_CreateTrigger() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>(std::bind(&WithStreamedUnaryMethod_CreateTrigger::StreamedCreateTrigger, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreateTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::CreateTriggerRequest,::flyteidl::artifact::CreateTriggerResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>(std::bind(&WithStreamedUnaryMethod_DeleteTrigger::StreamedDeleteTrigger, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::DeleteTriggerRequest,::flyteidl::artifact::DeleteTriggerResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_AddTag() { + ::grpc::Service::MarkMethodStreamed(4, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>(std::bind(&WithStreamedUnaryMethod_AddTag::StreamedAddTag, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedAddTag(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::AddTagRequest,::flyteidl::artifact::AddTagResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_RegisterProducer() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>(std::bind(&WithStreamedUnaryMethod_RegisterProducer::StreamedRegisterProducer, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedRegisterProducer(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::RegisterProducerRequest,::flyteidl::artifact::RegisterResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodStreamed(6, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>(std::bind(&WithStreamedUnaryMethod_RegisterConsumer::StreamedRegisterConsumer, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedRegisterConsumer(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::RegisterConsumerRequest,::flyteidl::artifact::RegisterResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > StreamedUnaryService; + typedef Service SplitStreamedService; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > StreamedService; +}; + +} // namespace artifact +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fartifact_2fartifacts_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc new file mode 100644 index 0000000000..927d1f6ba5 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc @@ -0,0 +1,8170 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/artifact/artifacts.proto + +#include "flyteidl/artifact/artifacts.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fany_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Any_google_2fprotobuf_2fany_2eproto; +namespace flyteidl { +namespace artifact { +class ArtifactDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Artifact_default_instance_; +class CreateArtifactRequest_PartitionsEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_; +class CreateArtifactRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateArtifactRequest_default_instance_; +class ArtifactSpecDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactSpec_default_instance_; +class CreateArtifactResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateArtifactResponse_default_instance_; +class GetArtifactRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GetArtifactRequest_default_instance_; +class GetArtifactResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GetArtifactResponse_default_instance_; +class ListArtifactNamesRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ListArtifactNamesRequest_default_instance_; +class ListArtifactNamesResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ListArtifactNamesResponse_default_instance_; +class ListArtifactsRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ListArtifactsRequest_default_instance_; +class ListArtifactsResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ListArtifactsResponse_default_instance_; +class AddTagRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _AddTagRequest_default_instance_; +class AddTagResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _AddTagResponse_default_instance_; +class CreateTriggerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateTriggerRequest_default_instance_; +class CreateTriggerResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateTriggerResponse_default_instance_; +class DeleteTriggerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeleteTriggerRequest_default_instance_; +class DeleteTriggerResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeleteTriggerResponse_default_instance_; +class ArtifactProducerDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactProducer_default_instance_; +class RegisterProducerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _RegisterProducerRequest_default_instance_; +class ArtifactConsumerDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactConsumer_default_instance_; +class RegisterConsumerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _RegisterConsumerRequest_default_instance_; +class RegisterResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _RegisterResponse_default_instance_; +} // namespace artifact +} // namespace flyteidl +static void InitDefaultsArtifact_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_Artifact_default_instance_; + new (ptr) ::flyteidl::artifact::Artifact(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::Artifact::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifact_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsCreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse(); + } + ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsCreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateArtifactRequest_default_instance_; + new (ptr) ::flyteidl::artifact::CreateArtifactRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateArtifactRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsCreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base, + &scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ArtifactSpec_default_instance_; + new (ptr) ::flyteidl::artifact::ArtifactSpec(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ArtifactSpec::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<5> scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base, + &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_Any_google_2fprotobuf_2fany_2eproto.base,}}; + +static void InitDefaultsCreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateArtifactResponse_default_instance_; + new (ptr) ::flyteidl::artifact::CreateArtifactResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateArtifactResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsGetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_GetArtifactRequest_default_instance_; + new (ptr) ::flyteidl::artifact::GetArtifactRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::GetArtifactRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsGetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_GetArtifactResponse_default_instance_; + new (ptr) ::flyteidl::artifact::GetArtifactResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::GetArtifactResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_GetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsListArtifactNamesRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ListArtifactNamesRequest_default_instance_; + new (ptr) ::flyteidl::artifact::ListArtifactNamesRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ListArtifactNamesRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ListArtifactNamesRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsListArtifactNamesRequest_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsListArtifactNamesResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ListArtifactNamesResponse_default_instance_; + new (ptr) ::flyteidl::artifact::ListArtifactNamesResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ListArtifactNamesResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ListArtifactNamesResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListArtifactNamesResponse_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsListArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ListArtifactsRequest_default_instance_; + new (ptr) ::flyteidl::artifact::ListArtifactsRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ListArtifactsRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ListArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsListArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ListArtifactsResponse_default_instance_; + new (ptr) ::flyteidl::artifact::ListArtifactsResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ListArtifactsResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ListArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsAddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_AddTagRequest_default_instance_; + new (ptr) ::flyteidl::artifact::AddTagRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::AddTagRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsAddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_AddTagResponse_default_instance_; + new (ptr) ::flyteidl::artifact::AddTagResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::AddTagResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_AddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsCreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateTriggerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::CreateTriggerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateTriggerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base,}}; + +static void InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateTriggerResponse_default_instance_; + new (ptr) ::flyteidl::artifact::CreateTriggerResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateTriggerResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_DeleteTriggerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::DeleteTriggerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::DeleteTriggerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_DeleteTriggerResponse_default_instance_; + new (ptr) ::flyteidl::artifact::DeleteTriggerResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::DeleteTriggerResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ArtifactProducer_default_instance_; + new (ptr) ::flyteidl::artifact::ArtifactProducer(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ArtifactProducer::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto.base,}}; + +static void InitDefaultsRegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_RegisterProducerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::RegisterProducerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::RegisterProducerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ArtifactConsumer_default_instance_; + new (ptr) ::flyteidl::artifact::ArtifactConsumer(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ArtifactConsumer::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base,}}; + +static void InitDefaultsRegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_RegisterConsumerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::RegisterConsumerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::RegisterConsumerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsRegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_RegisterResponse_default_instance_; + new (ptr) ::flyteidl::artifact::RegisterResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::RegisterResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_RegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +void InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ListArtifactNamesRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ListArtifactNamesResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ListArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ListArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_AddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_RegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[22]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fartifact_2fartifacts_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fartifact_2fartifacts_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fartifact_2fartifacts_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, artifact_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, spec_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, tags_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, artifact_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, version_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, spec_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, partitions_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, tag_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, value_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, type_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, task_execution_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, execution_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, principal_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, short_description_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, long_description_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, user_metadata_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, metadata_type_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactResponse, artifact_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactRequest, query_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactRequest, details_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactResponse, artifact_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactNamesRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactNamesRequest, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactNamesRequest, domain_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactNamesResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactNamesResponse, artifact_keys_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactsRequest, artifact_key_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ListArtifactsResponse, artifacts_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, artifact_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, value_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, overwrite_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateTriggerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateTriggerRequest, trigger_launch_plan_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateTriggerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, trigger_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactProducer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactProducer, entity_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactProducer, outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterProducerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterProducerRequest, producers_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactConsumer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactConsumer, entity_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactConsumer, inputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterConsumerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterConsumerRequest, consumers_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::artifact::Artifact)}, + { 8, 15, sizeof(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse)}, + { 17, -1, sizeof(::flyteidl::artifact::CreateArtifactRequest)}, + { 27, -1, sizeof(::flyteidl::artifact::ArtifactSpec)}, + { 41, -1, sizeof(::flyteidl::artifact::CreateArtifactResponse)}, + { 47, -1, sizeof(::flyteidl::artifact::GetArtifactRequest)}, + { 54, -1, sizeof(::flyteidl::artifact::GetArtifactResponse)}, + { 60, -1, sizeof(::flyteidl::artifact::ListArtifactNamesRequest)}, + { 67, -1, sizeof(::flyteidl::artifact::ListArtifactNamesResponse)}, + { 73, -1, sizeof(::flyteidl::artifact::ListArtifactsRequest)}, + { 79, -1, sizeof(::flyteidl::artifact::ListArtifactsResponse)}, + { 85, -1, sizeof(::flyteidl::artifact::AddTagRequest)}, + { 93, -1, sizeof(::flyteidl::artifact::AddTagResponse)}, + { 98, -1, sizeof(::flyteidl::artifact::CreateTriggerRequest)}, + { 104, -1, sizeof(::flyteidl::artifact::CreateTriggerResponse)}, + { 109, -1, sizeof(::flyteidl::artifact::DeleteTriggerRequest)}, + { 115, -1, sizeof(::flyteidl::artifact::DeleteTriggerResponse)}, + { 120, -1, sizeof(::flyteidl::artifact::ArtifactProducer)}, + { 127, -1, sizeof(::flyteidl::artifact::RegisterProducerRequest)}, + { 133, -1, sizeof(::flyteidl::artifact::ArtifactConsumer)}, + { 140, -1, sizeof(::flyteidl::artifact::RegisterConsumerRequest)}, + { 146, -1, sizeof(::flyteidl::artifact::RegisterResponse)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::artifact::_Artifact_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateArtifactRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ArtifactSpec_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateArtifactResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_GetArtifactRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_GetArtifactResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ListArtifactNamesRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ListArtifactNamesResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ListArtifactsRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ListArtifactsResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_AddTagRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_AddTagResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateTriggerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateTriggerResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ArtifactProducer_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_RegisterProducerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ArtifactConsumer_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_RegisterConsumerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_RegisterResponse_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto = { + {}, AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto, "flyteidl/artifact/artifacts.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fartifact_2fartifacts_2eproto::offsets, + file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto, 22, file_level_enum_descriptors_flyteidl_2fartifact_2fartifacts_2eproto, file_level_service_descriptors_flyteidl_2fartifact_2fartifacts_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = + "\n!flyteidl/artifact/artifacts.proto\022\021fly" + "teidl.artifact\032\031google/protobuf/any.prot" + "o\032 flyteidl/admin/launch_plan.proto\032\034fly" + "teidl/core/literals.proto\032\031flyteidl/core" + "/types.proto\032\036flyteidl/core/identifier.p" + "roto\032\037flyteidl/core/artifact_id.proto\032\035f" + "lyteidl/core/interface.proto\"w\n\010Artifact" + "\022.\n\013artifact_id\030\001 \001(\0132\031.flyteidl.core.Ar" + "tifactID\022-\n\004spec\030\002 \001(\0132\037.flyteidl.artifa" + "ct.ArtifactSpec\022\014\n\004tags\030\003 \003(\t\"\227\002\n\025Create" + "ArtifactRequest\0220\n\014artifact_key\030\001 \001(\0132\032." + "flyteidl.core.ArtifactKey\022\017\n\007version\030\003 \001" + "(\t\022-\n\004spec\030\002 \001(\0132\037.flyteidl.artifact.Art" + "ifactSpec\022L\n\npartitions\030\004 \003(\01328.flyteidl" + ".artifact.CreateArtifactRequest.Partitio" + "nsEntry\022\013\n\003tag\030\005 \001(\t\0321\n\017PartitionsEntry\022" + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\352\002\n\014Arti" + "factSpec\022%\n\005value\030\001 \001(\0132\026.flyteidl.core." + "Literal\022(\n\004type\030\002 \001(\0132\032.flyteidl.core.Li" + "teralType\022>\n\016task_execution\030\005 \001(\0132&.flyt" + "eidl.core.TaskExecutionIdentifier\022=\n\texe" + "cution\030\006 \001(\0132*.flyteidl.core.WorkflowExe" + "cutionIdentifier\022\021\n\tprincipal\030\007 \001(\t\022\031\n\021s" + "hort_description\030\010 \001(\t\022\030\n\020long_descripti" + "on\030\t \001(\t\022+\n\ruser_metadata\030\n \001(\0132\024.google" + ".protobuf.Any\022\025\n\rmetadata_type\030\013 \001(\t\"G\n\026" + "CreateArtifactResponse\022-\n\010artifact\030\001 \001(\013" + "2\033.flyteidl.artifact.Artifact\"R\n\022GetArti" + "factRequest\022+\n\005query\030\001 \001(\0132\034.flyteidl.co" + "re.ArtifactQuery\022\017\n\007details\030\002 \001(\010\"D\n\023Get" + "ArtifactResponse\022-\n\010artifact\030\001 \001(\0132\033.fly" + "teidl.artifact.Artifact\";\n\030ListArtifactN" + "amesRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002" + " \001(\t\"N\n\031ListArtifactNamesResponse\0221\n\rart" + "ifact_keys\030\001 \003(\0132\032.flyteidl.core.Artifac" + "tKey\"H\n\024ListArtifactsRequest\0220\n\014artifact" + "_key\030\001 \001(\0132\032.flyteidl.core.ArtifactKey\"G" + "\n\025ListArtifactsResponse\022.\n\tartifacts\030\001 \003" + "(\0132\033.flyteidl.artifact.Artifact\"a\n\rAddTa" + "gRequest\022.\n\013artifact_id\030\001 \001(\0132\031.flyteidl" + ".core.ArtifactID\022\r\n\005value\030\002 \001(\t\022\021\n\toverw" + "rite\030\003 \001(\010\"\020\n\016AddTagResponse\"O\n\024CreateTr" + "iggerRequest\0227\n\023trigger_launch_plan\030\001 \001(" + "\0132\032.flyteidl.admin.LaunchPlan\"\027\n\025CreateT" + "riggerResponse\"E\n\024DeleteTriggerRequest\022-" + "\n\ntrigger_id\030\001 \001(\0132\031.flyteidl.core.Ident" + "ifier\"\027\n\025DeleteTriggerResponse\"m\n\020Artifa" + "ctProducer\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl" + ".core.Identifier\022+\n\007outputs\030\002 \001(\0132\032.flyt" + "eidl.core.VariableMap\"Q\n\027RegisterProduce" + "rRequest\0226\n\tproducers\030\001 \003(\0132#.flyteidl.a" + "rtifact.ArtifactProducer\"m\n\020ArtifactCons" + "umer\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.core." + "Identifier\022+\n\006inputs\030\002 \001(\0132\033.flyteidl.co" + "re.ParameterMap\"Q\n\027RegisterConsumerReque" + "st\0226\n\tconsumers\030\001 \003(\0132#.flyteidl.artifac" + "t.ArtifactConsumer\"\022\n\020RegisterResponse2\306" + "\005\n\020ArtifactRegistry\022g\n\016CreateArtifact\022(." + "flyteidl.artifact.CreateArtifactRequest\032" + ").flyteidl.artifact.CreateArtifactRespon" + "se\"\000\022^\n\013GetArtifact\022%.flyteidl.artifact." + "GetArtifactRequest\032&.flyteidl.artifact.G" + "etArtifactResponse\"\000\022d\n\rCreateTrigger\022\'." + "flyteidl.artifact.CreateTriggerRequest\032(" + ".flyteidl.artifact.CreateTriggerResponse" + "\"\000\022d\n\rDeleteTrigger\022\'.flyteidl.artifact." + "DeleteTriggerRequest\032(.flyteidl.artifact" + ".DeleteTriggerResponse\"\000\022O\n\006AddTag\022 .fly" + "teidl.artifact.AddTagRequest\032!.flyteidl." + "artifact.AddTagResponse\"\000\022e\n\020RegisterPro" + "ducer\022*.flyteidl.artifact.RegisterProduc" + "erRequest\032#.flyteidl.artifact.RegisterRe" + "sponse\"\000\022e\n\020RegisterConsumer\022*.flyteidl." + "artifact.RegisterConsumerRequest\032#.flyte" + "idl.artifact.RegisterResponse\"\000B@Z>githu" + "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" + "flyteidl/artifactb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto = { + false, InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto, + descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 3065, +}; + +void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[7] = + { + ::AddDescriptors_google_2fprotobuf_2fany_2eproto, + ::AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, + ::AddDescriptors_flyteidl_2fcore_2ftypes_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, + ::AddDescriptors_flyteidl_2fcore_2finterface_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto, deps, 7); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fartifact_2fartifacts_2eproto = []() { AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto(); return true; }(); +namespace flyteidl { +namespace artifact { + +// =================================================================== + +void Artifact::InitAsDefaultInstance() { + ::flyteidl::artifact::_Artifact_default_instance_._instance.get_mutable()->artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); + ::flyteidl::artifact::_Artifact_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::artifact::ArtifactSpec*>( + ::flyteidl::artifact::ArtifactSpec::internal_default_instance()); +} +class Artifact::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactID& artifact_id(const Artifact* msg); + static const ::flyteidl::artifact::ArtifactSpec& spec(const Artifact* msg); +}; + +const ::flyteidl::core::ArtifactID& +Artifact::HasBitSetters::artifact_id(const Artifact* msg) { + return *msg->artifact_id_; +} +const ::flyteidl::artifact::ArtifactSpec& +Artifact::HasBitSetters::spec(const Artifact* msg) { + return *msg->spec_; +} +void Artifact::clear_artifact_id() { + if (GetArenaNoVirtual() == nullptr && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Artifact::kArtifactIdFieldNumber; +const int Artifact::kSpecFieldNumber; +const int Artifact::kTagsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Artifact::Artifact() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.Artifact) +} +Artifact::Artifact(const Artifact& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + tags_(from.tags_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact_id()) { + artifact_id_ = new ::flyteidl::core::ArtifactID(*from.artifact_id_); + } else { + artifact_id_ = nullptr; + } + if (from.has_spec()) { + spec_ = new ::flyteidl::artifact::ArtifactSpec(*from.spec_); + } else { + spec_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.Artifact) +} + +void Artifact::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&artifact_id_, 0, static_cast( + reinterpret_cast(&spec_) - + reinterpret_cast(&artifact_id_)) + sizeof(spec_)); +} + +Artifact::~Artifact() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.Artifact) + SharedDtor(); +} + +void Artifact::SharedDtor() { + if (this != internal_default_instance()) delete artifact_id_; + if (this != internal_default_instance()) delete spec_; +} + +void Artifact::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Artifact& Artifact::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void Artifact::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.Artifact) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + tags_.Clear(); + if (GetArenaNoVirtual() == nullptr && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Artifact::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactID artifact_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->mutable_artifact_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.artifact.ArtifactSpec spec = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::ArtifactSpec::_InternalParse; + object = msg->mutable_spec(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // repeated string tags = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.Artifact.tags"); + object = msg->add_tags(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Artifact::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.Artifact) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactID artifact_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_spec())); + } else { + goto handle_unusual; + } + break; + } + + // repeated string tags = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_tags())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(this->tags_size() - 1).data(), + static_cast(this->tags(this->tags_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.Artifact.tags")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.Artifact) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.Artifact) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Artifact::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.Artifact) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_id(this), output); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::spec(this), output); + } + + // repeated string tags = 3; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.Artifact.tags"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->tags(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.Artifact) +} + +::google::protobuf::uint8* Artifact::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.Artifact) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_id(this), target); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::spec(this), target); + } + + // repeated string tags = 3; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.Artifact.tags"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(3, this->tags(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.Artifact) + return target; +} + +size_t Artifact::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.Artifact) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string tags = 3; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->tags_size()); + for (int i = 0, n = this->tags_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->tags(i)); + } + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_id_); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *spec_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Artifact::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.Artifact) + GOOGLE_DCHECK_NE(&from, this); + const Artifact* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.Artifact) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.Artifact) + MergeFrom(*source); + } +} + +void Artifact::MergeFrom(const Artifact& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.Artifact) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + tags_.MergeFrom(from.tags_); + if (from.has_artifact_id()) { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + } + if (from.has_spec()) { + mutable_spec()->::flyteidl::artifact::ArtifactSpec::MergeFrom(from.spec()); + } +} + +void Artifact::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.Artifact) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Artifact::CopyFrom(const Artifact& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.Artifact) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Artifact::IsInitialized() const { + return true; +} + +void Artifact::Swap(Artifact* other) { + if (other == this) return; + InternalSwap(other); +} +void Artifact::InternalSwap(Artifact* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + tags_.InternalSwap(CastToBase(&other->tags_)); + swap(artifact_id_, other->artifact_id_); + swap(spec_, other->spec_); +} + +::google::protobuf::Metadata Artifact::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +CreateArtifactRequest_PartitionsEntry_DoNotUse::CreateArtifactRequest_PartitionsEntry_DoNotUse() {} +CreateArtifactRequest_PartitionsEntry_DoNotUse::CreateArtifactRequest_PartitionsEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void CreateArtifactRequest_PartitionsEntry_DoNotUse::MergeFrom(const CreateArtifactRequest_PartitionsEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata CreateArtifactRequest_PartitionsEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[1]; +} +void CreateArtifactRequest_PartitionsEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CreateArtifactRequest_PartitionsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + CreateArtifactRequest_PartitionsEntry_DoNotUse, EntryKeyType, EntryValueType, + kEntryKeyFieldType, kEntryValueFieldType, + kEntryDefaultEnumValue>; + auto mf = static_cast(object); + Parser> parser(mf); +#define DO_(x) if (!(x)) return false + DO_(parser.ParseMap(begin, end)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void CreateArtifactRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_CreateArtifactRequest_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( + ::flyteidl::core::ArtifactKey::internal_default_instance()); + ::flyteidl::artifact::_CreateArtifactRequest_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::artifact::ArtifactSpec*>( + ::flyteidl::artifact::ArtifactSpec::internal_default_instance()); +} +class CreateArtifactRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactKey& artifact_key(const CreateArtifactRequest* msg); + static const ::flyteidl::artifact::ArtifactSpec& spec(const CreateArtifactRequest* msg); +}; + +const ::flyteidl::core::ArtifactKey& +CreateArtifactRequest::HasBitSetters::artifact_key(const CreateArtifactRequest* msg) { + return *msg->artifact_key_; +} +const ::flyteidl::artifact::ArtifactSpec& +CreateArtifactRequest::HasBitSetters::spec(const CreateArtifactRequest* msg) { + return *msg->spec_; +} +void CreateArtifactRequest::clear_artifact_key() { + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CreateArtifactRequest::kArtifactKeyFieldNumber; +const int CreateArtifactRequest::kVersionFieldNumber; +const int CreateArtifactRequest::kSpecFieldNumber; +const int CreateArtifactRequest::kPartitionsFieldNumber; +const int CreateArtifactRequest::kTagFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateArtifactRequest::CreateArtifactRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateArtifactRequest) +} +CreateArtifactRequest::CreateArtifactRequest(const CreateArtifactRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + partitions_.MergeFrom(from.partitions_); + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.version().size() > 0) { + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.tag().size() > 0) { + tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); + } + if (from.has_artifact_key()) { + artifact_key_ = new ::flyteidl::core::ArtifactKey(*from.artifact_key_); + } else { + artifact_key_ = nullptr; + } + if (from.has_spec()) { + spec_ = new ::flyteidl::artifact::ArtifactSpec(*from.spec_); + } else { + spec_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateArtifactRequest) +} + +void CreateArtifactRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&artifact_key_, 0, static_cast( + reinterpret_cast(&spec_) - + reinterpret_cast(&artifact_key_)) + sizeof(spec_)); +} + +CreateArtifactRequest::~CreateArtifactRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateArtifactRequest) + SharedDtor(); +} + +void CreateArtifactRequest::SharedDtor() { + version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete artifact_key_; + if (this != internal_default_instance()) delete spec_; +} + +void CreateArtifactRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateArtifactRequest& CreateArtifactRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateArtifactRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + partitions_.Clear(); + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CreateArtifactRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactKey::_InternalParse; + object = msg->mutable_artifact_key(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.artifact.ArtifactSpec spec = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::ArtifactSpec::_InternalParse; + object = msg->mutable_spec(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string version = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.CreateArtifactRequest.version"); + object = msg->mutable_version(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // map partitions = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; + auto parse_map = ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->partitions_; + if (size > end - ptr) goto len_delim_till_end; + auto newend = ptr + size; + GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); + ptr = newend; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); + break; + } + // string tag = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.CreateArtifactRequest.tag"); + object = msg->mutable_tag(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CreateArtifactRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.CreateArtifactRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_key())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_spec())); + } else { + goto handle_unusual; + } + break; + } + + // string version = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_version())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.version")); + } else { + goto handle_unusual; + } + break; + } + + // map partitions = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + CreateArtifactRequest_PartitionsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + CreateArtifactRequest_PartitionsEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 >, + ::google::protobuf::Map< ::std::string, ::std::string > > parser(&partitions_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value")); + } else { + goto handle_unusual; + } + break; + } + + // string tag = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_tag())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag().data(), static_cast(this->tag().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.tag")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.CreateArtifactRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.CreateArtifactRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CreateArtifactRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.CreateArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_key(this), output); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::spec(this), output); + } + + // string version = 3; + if (this->version().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.version"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->version(), output); + } + + // map partitions = 4; + if (!this->partitions().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value"); + } + }; + + if (output->IsSerializationDeterministic() && + this->partitions().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->partitions().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->partitions().begin(); + it != this->partitions().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(partitions_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(4, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->partitions().begin(); + it != this->partitions().end(); ++it) { + entry.reset(partitions_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(4, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + + // string tag = 5; + if (this->tag().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag().data(), static_cast(this->tag().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.tag"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 5, this->tag(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.CreateArtifactRequest) +} + +::google::protobuf::uint8* CreateArtifactRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_key(this), target); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::spec(this), target); + } + + // string version = 3; + if (this->version().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.version"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->version(), target); + } + + // map partitions = 4; + if (!this->partitions().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value"); + } + }; + + if (false && + this->partitions().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->partitions().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->partitions().begin(); + it != this->partitions().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(partitions_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(4, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->partitions().begin(); + it != this->partitions().end(); ++it) { + entry.reset(partitions_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(4, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + + // string tag = 5; + if (this->tag().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag().data(), static_cast(this->tag().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.tag"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->tag(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.CreateArtifactRequest) + return target; +} + +size_t CreateArtifactRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.CreateArtifactRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map partitions = 4; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->partitions_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->partitions().begin(); + it != this->partitions().end(); ++it) { + entry.reset(partitions_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + // string version = 3; + if (this->version().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->version()); + } + + // string tag = 5; + if (this->tag().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->tag()); + } + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_key_); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *spec_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CreateArtifactRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.CreateArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + const CreateArtifactRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateArtifactRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateArtifactRequest) + MergeFrom(*source); + } +} + +void CreateArtifactRequest::MergeFrom(const CreateArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + partitions_.MergeFrom(from.partitions_); + if (from.version().size() > 0) { + + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + if (from.tag().size() > 0) { + + tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); + } + if (from.has_artifact_key()) { + mutable_artifact_key()->::flyteidl::core::ArtifactKey::MergeFrom(from.artifact_key()); + } + if (from.has_spec()) { + mutable_spec()->::flyteidl::artifact::ArtifactSpec::MergeFrom(from.spec()); + } +} + +void CreateArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateArtifactRequest::CopyFrom(const CreateArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.CreateArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateArtifactRequest::IsInitialized() const { + return true; +} + +void CreateArtifactRequest::Swap(CreateArtifactRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void CreateArtifactRequest::InternalSwap(CreateArtifactRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + partitions_.Swap(&other->partitions_); + version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + tag_.Swap(&other->tag_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(artifact_key_, other->artifact_key_); + swap(spec_, other->spec_); +} + +::google::protobuf::Metadata CreateArtifactRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactSpec::InitAsDefaultInstance() { + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::Literal*>( + ::flyteidl::core::Literal::internal_default_instance()); + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::LiteralType*>( + ::flyteidl::core::LiteralType::internal_default_instance()); + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->task_execution_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( + ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->execution_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->user_metadata_ = const_cast< ::google::protobuf::Any*>( + ::google::protobuf::Any::internal_default_instance()); +} +class ArtifactSpec::HasBitSetters { + public: + static const ::flyteidl::core::Literal& value(const ArtifactSpec* msg); + static const ::flyteidl::core::LiteralType& type(const ArtifactSpec* msg); + static const ::flyteidl::core::TaskExecutionIdentifier& task_execution(const ArtifactSpec* msg); + static const ::flyteidl::core::WorkflowExecutionIdentifier& execution(const ArtifactSpec* msg); + static const ::google::protobuf::Any& user_metadata(const ArtifactSpec* msg); +}; + +const ::flyteidl::core::Literal& +ArtifactSpec::HasBitSetters::value(const ArtifactSpec* msg) { + return *msg->value_; +} +const ::flyteidl::core::LiteralType& +ArtifactSpec::HasBitSetters::type(const ArtifactSpec* msg) { + return *msg->type_; +} +const ::flyteidl::core::TaskExecutionIdentifier& +ArtifactSpec::HasBitSetters::task_execution(const ArtifactSpec* msg) { + return *msg->task_execution_; +} +const ::flyteidl::core::WorkflowExecutionIdentifier& +ArtifactSpec::HasBitSetters::execution(const ArtifactSpec* msg) { + return *msg->execution_; +} +const ::google::protobuf::Any& +ArtifactSpec::HasBitSetters::user_metadata(const ArtifactSpec* msg) { + return *msg->user_metadata_; +} +void ArtifactSpec::clear_value() { + if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { + delete value_; + } + value_ = nullptr; +} +void ArtifactSpec::clear_type() { + if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { + delete type_; + } + type_ = nullptr; +} +void ArtifactSpec::clear_task_execution() { + if (GetArenaNoVirtual() == nullptr && task_execution_ != nullptr) { + delete task_execution_; + } + task_execution_ = nullptr; +} +void ArtifactSpec::clear_execution() { + if (GetArenaNoVirtual() == nullptr && execution_ != nullptr) { + delete execution_; + } + execution_ = nullptr; +} +void ArtifactSpec::clear_user_metadata() { + if (GetArenaNoVirtual() == nullptr && user_metadata_ != nullptr) { + delete user_metadata_; + } + user_metadata_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactSpec::kValueFieldNumber; +const int ArtifactSpec::kTypeFieldNumber; +const int ArtifactSpec::kTaskExecutionFieldNumber; +const int ArtifactSpec::kExecutionFieldNumber; +const int ArtifactSpec::kPrincipalFieldNumber; +const int ArtifactSpec::kShortDescriptionFieldNumber; +const int ArtifactSpec::kLongDescriptionFieldNumber; +const int ArtifactSpec::kUserMetadataFieldNumber; +const int ArtifactSpec::kMetadataTypeFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactSpec::ArtifactSpec() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ArtifactSpec) +} +ArtifactSpec::ArtifactSpec(const ArtifactSpec& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.principal().size() > 0) { + principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); + } + short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.short_description().size() > 0) { + short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); + } + long_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.long_description().size() > 0) { + long_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.long_description_); + } + metadata_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.metadata_type().size() > 0) { + metadata_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.metadata_type_); + } + if (from.has_value()) { + value_ = new ::flyteidl::core::Literal(*from.value_); + } else { + value_ = nullptr; + } + if (from.has_type()) { + type_ = new ::flyteidl::core::LiteralType(*from.type_); + } else { + type_ = nullptr; + } + if (from.has_task_execution()) { + task_execution_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.task_execution_); + } else { + task_execution_ = nullptr; + } + if (from.has_execution()) { + execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.execution_); + } else { + execution_ = nullptr; + } + if (from.has_user_metadata()) { + user_metadata_ = new ::google::protobuf::Any(*from.user_metadata_); + } else { + user_metadata_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ArtifactSpec) +} + +void ArtifactSpec::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base); + principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + long_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + metadata_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&value_, 0, static_cast( + reinterpret_cast(&user_metadata_) - + reinterpret_cast(&value_)) + sizeof(user_metadata_)); +} + +ArtifactSpec::~ArtifactSpec() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ArtifactSpec) + SharedDtor(); +} + +void ArtifactSpec::SharedDtor() { + principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + short_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + long_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + metadata_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete value_; + if (this != internal_default_instance()) delete type_; + if (this != internal_default_instance()) delete task_execution_; + if (this != internal_default_instance()) delete execution_; + if (this != internal_default_instance()) delete user_metadata_; +} + +void ArtifactSpec::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactSpec& ArtifactSpec::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactSpec::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ArtifactSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + long_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + metadata_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { + delete value_; + } + value_ = nullptr; + if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { + delete type_; + } + type_ = nullptr; + if (GetArenaNoVirtual() == nullptr && task_execution_ != nullptr) { + delete task_execution_; + } + task_execution_ = nullptr; + if (GetArenaNoVirtual() == nullptr && execution_ != nullptr) { + delete execution_; + } + execution_ = nullptr; + if (GetArenaNoVirtual() == nullptr && user_metadata_ != nullptr) { + delete user_metadata_; + } + user_metadata_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactSpec::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.Literal value = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Literal::_InternalParse; + object = msg->mutable_value(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.LiteralType type = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralType::_InternalParse; + object = msg->mutable_type(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::TaskExecutionIdentifier::_InternalParse; + object = msg->mutable_task_execution(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_execution(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string principal = 7; + case 7: { + if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.ArtifactSpec.principal"); + object = msg->mutable_principal(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string short_description = 8; + case 8: { + if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.ArtifactSpec.short_description"); + object = msg->mutable_short_description(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string long_description = 9; + case 9: { + if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.ArtifactSpec.long_description"); + object = msg->mutable_long_description(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .google.protobuf.Any user_metadata = 10; + case 10: { + if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Any::_InternalParse; + object = msg->mutable_user_metadata(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string metadata_type = 11; + case 11: { + if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.ArtifactSpec.metadata_type"); + object = msg->mutable_metadata_type(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactSpec::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ArtifactSpec) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.Literal value = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_value())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LiteralType type = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_type())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_task_execution())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_execution())); + } else { + goto handle_unusual; + } + break; + } + + // string principal = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_principal())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->principal().data(), static_cast(this->principal().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.ArtifactSpec.principal")); + } else { + goto handle_unusual; + } + break; + } + + // string short_description = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_short_description())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->short_description().data(), static_cast(this->short_description().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.ArtifactSpec.short_description")); + } else { + goto handle_unusual; + } + break; + } + + // string long_description = 9; + case 9: { + if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_long_description())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->long_description().data(), static_cast(this->long_description().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.ArtifactSpec.long_description")); + } else { + goto handle_unusual; + } + break; + } + + // .google.protobuf.Any user_metadata = 10; + case 10: { + if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_user_metadata())); + } else { + goto handle_unusual; + } + break; + } + + // string metadata_type = 11; + case 11: { + if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_metadata_type())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->metadata_type().data(), static_cast(this->metadata_type().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.ArtifactSpec.metadata_type")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ArtifactSpec) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ArtifactSpec) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactSpec::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ArtifactSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Literal value = 1; + if (this->has_value()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::value(this), output); + } + + // .flyteidl.core.LiteralType type = 2; + if (this->has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::type(this), output); + } + + // .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + if (this->has_task_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::task_execution(this), output); + } + + // .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + if (this->has_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, HasBitSetters::execution(this), output); + } + + // string principal = 7; + if (this->principal().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->principal().data(), static_cast(this->principal().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.principal"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 7, this->principal(), output); + } + + // string short_description = 8; + if (this->short_description().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->short_description().data(), static_cast(this->short_description().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.short_description"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 8, this->short_description(), output); + } + + // string long_description = 9; + if (this->long_description().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->long_description().data(), static_cast(this->long_description().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.long_description"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 9, this->long_description(), output); + } + + // .google.protobuf.Any user_metadata = 10; + if (this->has_user_metadata()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 10, HasBitSetters::user_metadata(this), output); + } + + // string metadata_type = 11; + if (this->metadata_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->metadata_type().data(), static_cast(this->metadata_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.metadata_type"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 11, this->metadata_type(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ArtifactSpec) +} + +::google::protobuf::uint8* ArtifactSpec::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ArtifactSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Literal value = 1; + if (this->has_value()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::value(this), target); + } + + // .flyteidl.core.LiteralType type = 2; + if (this->has_type()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::type(this), target); + } + + // .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + if (this->has_task_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::task_execution(this), target); + } + + // .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + if (this->has_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, HasBitSetters::execution(this), target); + } + + // string principal = 7; + if (this->principal().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->principal().data(), static_cast(this->principal().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.principal"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 7, this->principal(), target); + } + + // string short_description = 8; + if (this->short_description().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->short_description().data(), static_cast(this->short_description().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.short_description"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 8, this->short_description(), target); + } + + // string long_description = 9; + if (this->long_description().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->long_description().data(), static_cast(this->long_description().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.long_description"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 9, this->long_description(), target); + } + + // .google.protobuf.Any user_metadata = 10; + if (this->has_user_metadata()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, HasBitSetters::user_metadata(this), target); + } + + // string metadata_type = 11; + if (this->metadata_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->metadata_type().data(), static_cast(this->metadata_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.metadata_type"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 11, this->metadata_type(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.ArtifactSpec) + return target; +} + +size_t ArtifactSpec::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ArtifactSpec) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string principal = 7; + if (this->principal().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->principal()); + } + + // string short_description = 8; + if (this->short_description().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->short_description()); + } + + // string long_description = 9; + if (this->long_description().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->long_description()); + } + + // string metadata_type = 11; + if (this->metadata_type().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->metadata_type()); + } + + // .flyteidl.core.Literal value = 1; + if (this->has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *value_); + } + + // .flyteidl.core.LiteralType type = 2; + if (this->has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *type_); + } + + // .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + if (this->has_task_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *task_execution_); + } + + // .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + if (this->has_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *execution_); + } + + // .google.protobuf.Any user_metadata = 10; + if (this->has_user_metadata()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *user_metadata_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactSpec::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ArtifactSpec) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactSpec* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ArtifactSpec) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ArtifactSpec) + MergeFrom(*source); + } +} + +void ArtifactSpec::MergeFrom(const ArtifactSpec& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ArtifactSpec) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.principal().size() > 0) { + + principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); + } + if (from.short_description().size() > 0) { + + short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); + } + if (from.long_description().size() > 0) { + + long_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.long_description_); + } + if (from.metadata_type().size() > 0) { + + metadata_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.metadata_type_); + } + if (from.has_value()) { + mutable_value()->::flyteidl::core::Literal::MergeFrom(from.value()); + } + if (from.has_type()) { + mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); + } + if (from.has_task_execution()) { + mutable_task_execution()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_execution()); + } + if (from.has_execution()) { + mutable_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution()); + } + if (from.has_user_metadata()) { + mutable_user_metadata()->::google::protobuf::Any::MergeFrom(from.user_metadata()); + } +} + +void ArtifactSpec::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ArtifactSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactSpec::CopyFrom(const ArtifactSpec& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ArtifactSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactSpec::IsInitialized() const { + return true; +} + +void ArtifactSpec::Swap(ArtifactSpec* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactSpec::InternalSwap(ArtifactSpec* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + short_description_.Swap(&other->short_description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + long_description_.Swap(&other->long_description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + metadata_type_.Swap(&other->metadata_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(value_, other->value_); + swap(type_, other->type_); + swap(task_execution_, other->task_execution_); + swap(execution_, other->execution_); + swap(user_metadata_, other->user_metadata_); +} + +::google::protobuf::Metadata ArtifactSpec::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CreateArtifactResponse::InitAsDefaultInstance() { + ::flyteidl::artifact::_CreateArtifactResponse_default_instance_._instance.get_mutable()->artifact_ = const_cast< ::flyteidl::artifact::Artifact*>( + ::flyteidl::artifact::Artifact::internal_default_instance()); +} +class CreateArtifactResponse::HasBitSetters { + public: + static const ::flyteidl::artifact::Artifact& artifact(const CreateArtifactResponse* msg); +}; + +const ::flyteidl::artifact::Artifact& +CreateArtifactResponse::HasBitSetters::artifact(const CreateArtifactResponse* msg) { + return *msg->artifact_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CreateArtifactResponse::kArtifactFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateArtifactResponse::CreateArtifactResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateArtifactResponse) +} +CreateArtifactResponse::CreateArtifactResponse(const CreateArtifactResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact()) { + artifact_ = new ::flyteidl::artifact::Artifact(*from.artifact_); + } else { + artifact_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateArtifactResponse) +} + +void CreateArtifactResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + artifact_ = nullptr; +} + +CreateArtifactResponse::~CreateArtifactResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateArtifactResponse) + SharedDtor(); +} + +void CreateArtifactResponse::SharedDtor() { + if (this != internal_default_instance()) delete artifact_; +} + +void CreateArtifactResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateArtifactResponse& CreateArtifactResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateArtifactResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { + delete artifact_; + } + artifact_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CreateArtifactResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.artifact.Artifact artifact = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::Artifact::_InternalParse; + object = msg->mutable_artifact(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CreateArtifactResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.CreateArtifactResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.artifact.Artifact artifact = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.CreateArtifactResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.CreateArtifactResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CreateArtifactResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.CreateArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.Artifact artifact = 1; + if (this->has_artifact()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.CreateArtifactResponse) +} + +::google::protobuf::uint8* CreateArtifactResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.Artifact artifact = 1; + if (this->has_artifact()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.CreateArtifactResponse) + return target; +} + +size_t CreateArtifactResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.CreateArtifactResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.artifact.Artifact artifact = 1; + if (this->has_artifact()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CreateArtifactResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.CreateArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + const CreateArtifactResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateArtifactResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateArtifactResponse) + MergeFrom(*source); + } +} + +void CreateArtifactResponse::MergeFrom(const CreateArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_artifact()) { + mutable_artifact()->::flyteidl::artifact::Artifact::MergeFrom(from.artifact()); + } +} + +void CreateArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateArtifactResponse::CopyFrom(const CreateArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.CreateArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateArtifactResponse::IsInitialized() const { + return true; +} + +void CreateArtifactResponse::Swap(CreateArtifactResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void CreateArtifactResponse::InternalSwap(CreateArtifactResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(artifact_, other->artifact_); +} + +::google::protobuf::Metadata CreateArtifactResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetArtifactRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_GetArtifactRequest_default_instance_._instance.get_mutable()->query_ = const_cast< ::flyteidl::core::ArtifactQuery*>( + ::flyteidl::core::ArtifactQuery::internal_default_instance()); +} +class GetArtifactRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactQuery& query(const GetArtifactRequest* msg); +}; + +const ::flyteidl::core::ArtifactQuery& +GetArtifactRequest::HasBitSetters::query(const GetArtifactRequest* msg) { + return *msg->query_; +} +void GetArtifactRequest::clear_query() { + if (GetArenaNoVirtual() == nullptr && query_ != nullptr) { + delete query_; + } + query_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int GetArtifactRequest::kQueryFieldNumber; +const int GetArtifactRequest::kDetailsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GetArtifactRequest::GetArtifactRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.GetArtifactRequest) +} +GetArtifactRequest::GetArtifactRequest(const GetArtifactRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_query()) { + query_ = new ::flyteidl::core::ArtifactQuery(*from.query_); + } else { + query_ = nullptr; + } + details_ = from.details_; + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.GetArtifactRequest) +} + +void GetArtifactRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&query_, 0, static_cast( + reinterpret_cast(&details_) - + reinterpret_cast(&query_)) + sizeof(details_)); +} + +GetArtifactRequest::~GetArtifactRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.GetArtifactRequest) + SharedDtor(); +} + +void GetArtifactRequest::SharedDtor() { + if (this != internal_default_instance()) delete query_; +} + +void GetArtifactRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetArtifactRequest& GetArtifactRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void GetArtifactRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && query_ != nullptr) { + delete query_; + } + query_ = nullptr; + details_ = false; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetArtifactRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactQuery query = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactQuery::_InternalParse; + object = msg->mutable_query(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // bool details = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; + msg->set_details(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetArtifactRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.GetArtifactRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactQuery query = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_query())); + } else { + goto handle_unusual; + } + break; + } + + // bool details = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &details_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.GetArtifactRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.GetArtifactRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetArtifactRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactQuery query = 1; + if (this->has_query()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::query(this), output); + } + + // bool details = 2; + if (this->details() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->details(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.GetArtifactRequest) +} + +::google::protobuf::uint8* GetArtifactRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactQuery query = 1; + if (this->has_query()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::query(this), target); + } + + // bool details = 2; + if (this->details() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->details(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.GetArtifactRequest) + return target; +} + +size_t GetArtifactRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.GetArtifactRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.ArtifactQuery query = 1; + if (this->has_query()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *query_); + } + + // bool details = 2; + if (this->details() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetArtifactRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.GetArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + const GetArtifactRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.GetArtifactRequest) + MergeFrom(*source); + } +} + +void GetArtifactRequest::MergeFrom(const GetArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.GetArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_query()) { + mutable_query()->::flyteidl::core::ArtifactQuery::MergeFrom(from.query()); + } + if (from.details() != 0) { + set_details(from.details()); + } +} + +void GetArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.GetArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetArtifactRequest::CopyFrom(const GetArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.GetArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetArtifactRequest::IsInitialized() const { + return true; +} + +void GetArtifactRequest::Swap(GetArtifactRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void GetArtifactRequest::InternalSwap(GetArtifactRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(query_, other->query_); + swap(details_, other->details_); +} + +::google::protobuf::Metadata GetArtifactRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetArtifactResponse::InitAsDefaultInstance() { + ::flyteidl::artifact::_GetArtifactResponse_default_instance_._instance.get_mutable()->artifact_ = const_cast< ::flyteidl::artifact::Artifact*>( + ::flyteidl::artifact::Artifact::internal_default_instance()); +} +class GetArtifactResponse::HasBitSetters { + public: + static const ::flyteidl::artifact::Artifact& artifact(const GetArtifactResponse* msg); +}; + +const ::flyteidl::artifact::Artifact& +GetArtifactResponse::HasBitSetters::artifact(const GetArtifactResponse* msg) { + return *msg->artifact_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int GetArtifactResponse::kArtifactFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GetArtifactResponse::GetArtifactResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.GetArtifactResponse) +} +GetArtifactResponse::GetArtifactResponse(const GetArtifactResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact()) { + artifact_ = new ::flyteidl::artifact::Artifact(*from.artifact_); + } else { + artifact_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.GetArtifactResponse) +} + +void GetArtifactResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + artifact_ = nullptr; +} + +GetArtifactResponse::~GetArtifactResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.GetArtifactResponse) + SharedDtor(); +} + +void GetArtifactResponse::SharedDtor() { + if (this != internal_default_instance()) delete artifact_; +} + +void GetArtifactResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetArtifactResponse& GetArtifactResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void GetArtifactResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.GetArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { + delete artifact_; + } + artifact_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetArtifactResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.artifact.Artifact artifact = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::Artifact::_InternalParse; + object = msg->mutable_artifact(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetArtifactResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.GetArtifactResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.artifact.Artifact artifact = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.GetArtifactResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.GetArtifactResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetArtifactResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.GetArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.Artifact artifact = 1; + if (this->has_artifact()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.GetArtifactResponse) +} + +::google::protobuf::uint8* GetArtifactResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.GetArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.Artifact artifact = 1; + if (this->has_artifact()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.GetArtifactResponse) + return target; +} + +size_t GetArtifactResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.GetArtifactResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.artifact.Artifact artifact = 1; + if (this->has_artifact()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetArtifactResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.GetArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + const GetArtifactResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.GetArtifactResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.GetArtifactResponse) + MergeFrom(*source); + } +} + +void GetArtifactResponse::MergeFrom(const GetArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.GetArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_artifact()) { + mutable_artifact()->::flyteidl::artifact::Artifact::MergeFrom(from.artifact()); + } +} + +void GetArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.GetArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetArtifactResponse::CopyFrom(const GetArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.GetArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetArtifactResponse::IsInitialized() const { + return true; +} + +void GetArtifactResponse::Swap(GetArtifactResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void GetArtifactResponse::InternalSwap(GetArtifactResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(artifact_, other->artifact_); +} + +::google::protobuf::Metadata GetArtifactResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ListArtifactNamesRequest::InitAsDefaultInstance() { +} +class ListArtifactNamesRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ListArtifactNamesRequest::kProjectFieldNumber; +const int ListArtifactNamesRequest::kDomainFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ListArtifactNamesRequest::ListArtifactNamesRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ListArtifactNamesRequest) +} +ListArtifactNamesRequest::ListArtifactNamesRequest(const ListArtifactNamesRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.project().size() > 0) { + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.domain().size() > 0) { + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ListArtifactNamesRequest) +} + +void ListArtifactNamesRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ListArtifactNamesRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +ListArtifactNamesRequest::~ListArtifactNamesRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ListArtifactNamesRequest) + SharedDtor(); +} + +void ListArtifactNamesRequest::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ListArtifactNamesRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ListArtifactNamesRequest& ListArtifactNamesRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ListArtifactNamesRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ListArtifactNamesRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ListArtifactNamesRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ListArtifactNamesRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string project = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.ListArtifactNamesRequest.project"); + object = msg->mutable_project(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string domain = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.ListArtifactNamesRequest.domain"); + object = msg->mutable_domain(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ListArtifactNamesRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ListArtifactNamesRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string project = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_project())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.ListArtifactNamesRequest.project")); + } else { + goto handle_unusual; + } + break; + } + + // string domain = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_domain())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.ListArtifactNamesRequest.domain")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ListArtifactNamesRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ListArtifactNamesRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ListArtifactNamesRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ListArtifactNamesRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ListArtifactNamesRequest.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ListArtifactNamesRequest.domain"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->domain(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ListArtifactNamesRequest) +} + +::google::protobuf::uint8* ListArtifactNamesRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ListArtifactNamesRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ListArtifactNamesRequest.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ListArtifactNamesRequest.domain"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->domain(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.ListArtifactNamesRequest) + return target; +} + +size_t ListArtifactNamesRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ListArtifactNamesRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->project()); + } + + // string domain = 2; + if (this->domain().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->domain()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ListArtifactNamesRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ListArtifactNamesRequest) + GOOGLE_DCHECK_NE(&from, this); + const ListArtifactNamesRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ListArtifactNamesRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ListArtifactNamesRequest) + MergeFrom(*source); + } +} + +void ListArtifactNamesRequest::MergeFrom(const ListArtifactNamesRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ListArtifactNamesRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.project().size() > 0) { + + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + if (from.domain().size() > 0) { + + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } +} + +void ListArtifactNamesRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ListArtifactNamesRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ListArtifactNamesRequest::CopyFrom(const ListArtifactNamesRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ListArtifactNamesRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ListArtifactNamesRequest::IsInitialized() const { + return true; +} + +void ListArtifactNamesRequest::Swap(ListArtifactNamesRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void ListArtifactNamesRequest::InternalSwap(ListArtifactNamesRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata ListArtifactNamesRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ListArtifactNamesResponse::InitAsDefaultInstance() { +} +class ListArtifactNamesResponse::HasBitSetters { + public: +}; + +void ListArtifactNamesResponse::clear_artifact_keys() { + artifact_keys_.Clear(); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ListArtifactNamesResponse::kArtifactKeysFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ListArtifactNamesResponse::ListArtifactNamesResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ListArtifactNamesResponse) +} +ListArtifactNamesResponse::ListArtifactNamesResponse(const ListArtifactNamesResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + artifact_keys_(from.artifact_keys_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ListArtifactNamesResponse) +} + +void ListArtifactNamesResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ListArtifactNamesResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +ListArtifactNamesResponse::~ListArtifactNamesResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ListArtifactNamesResponse) + SharedDtor(); +} + +void ListArtifactNamesResponse::SharedDtor() { +} + +void ListArtifactNamesResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ListArtifactNamesResponse& ListArtifactNamesResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ListArtifactNamesResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ListArtifactNamesResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ListArtifactNamesResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + artifact_keys_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ListArtifactNamesResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactKey::_InternalParse; + object = msg->add_artifact_keys(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ListArtifactNamesResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ListArtifactNamesResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifact_keys())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ListArtifactNamesResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ListArtifactNamesResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ListArtifactNamesResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ListArtifactNamesResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + for (unsigned int i = 0, + n = static_cast(this->artifact_keys_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->artifact_keys(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ListArtifactNamesResponse) +} + +::google::protobuf::uint8* ListArtifactNamesResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ListArtifactNamesResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + for (unsigned int i = 0, + n = static_cast(this->artifact_keys_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->artifact_keys(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.ListArtifactNamesResponse) + return target; +} + +size_t ListArtifactNamesResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ListArtifactNamesResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + { + unsigned int count = static_cast(this->artifact_keys_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->artifact_keys(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ListArtifactNamesResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ListArtifactNamesResponse) + GOOGLE_DCHECK_NE(&from, this); + const ListArtifactNamesResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ListArtifactNamesResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ListArtifactNamesResponse) + MergeFrom(*source); + } +} + +void ListArtifactNamesResponse::MergeFrom(const ListArtifactNamesResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ListArtifactNamesResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + artifact_keys_.MergeFrom(from.artifact_keys_); +} + +void ListArtifactNamesResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ListArtifactNamesResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ListArtifactNamesResponse::CopyFrom(const ListArtifactNamesResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ListArtifactNamesResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ListArtifactNamesResponse::IsInitialized() const { + return true; +} + +void ListArtifactNamesResponse::Swap(ListArtifactNamesResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void ListArtifactNamesResponse::InternalSwap(ListArtifactNamesResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifact_keys_)->InternalSwap(CastToBase(&other->artifact_keys_)); +} + +::google::protobuf::Metadata ListArtifactNamesResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ListArtifactsRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_ListArtifactsRequest_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( + ::flyteidl::core::ArtifactKey::internal_default_instance()); +} +class ListArtifactsRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactKey& artifact_key(const ListArtifactsRequest* msg); +}; + +const ::flyteidl::core::ArtifactKey& +ListArtifactsRequest::HasBitSetters::artifact_key(const ListArtifactsRequest* msg) { + return *msg->artifact_key_; +} +void ListArtifactsRequest::clear_artifact_key() { + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ListArtifactsRequest::kArtifactKeyFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ListArtifactsRequest::ListArtifactsRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ListArtifactsRequest) +} +ListArtifactsRequest::ListArtifactsRequest(const ListArtifactsRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact_key()) { + artifact_key_ = new ::flyteidl::core::ArtifactKey(*from.artifact_key_); + } else { + artifact_key_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ListArtifactsRequest) +} + +void ListArtifactsRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ListArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + artifact_key_ = nullptr; +} + +ListArtifactsRequest::~ListArtifactsRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ListArtifactsRequest) + SharedDtor(); +} + +void ListArtifactsRequest::SharedDtor() { + if (this != internal_default_instance()) delete artifact_key_; +} + +void ListArtifactsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ListArtifactsRequest& ListArtifactsRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ListArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ListArtifactsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ListArtifactsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ListArtifactsRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactKey::_InternalParse; + object = msg->mutable_artifact_key(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ListArtifactsRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ListArtifactsRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_key())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ListArtifactsRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ListArtifactsRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ListArtifactsRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ListArtifactsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_key(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ListArtifactsRequest) +} + +::google::protobuf::uint8* ListArtifactsRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ListArtifactsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_key(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.ListArtifactsRequest) + return target; +} + +size_t ListArtifactsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ListArtifactsRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_key_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ListArtifactsRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ListArtifactsRequest) + GOOGLE_DCHECK_NE(&from, this); + const ListArtifactsRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ListArtifactsRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ListArtifactsRequest) + MergeFrom(*source); + } +} + +void ListArtifactsRequest::MergeFrom(const ListArtifactsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ListArtifactsRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_artifact_key()) { + mutable_artifact_key()->::flyteidl::core::ArtifactKey::MergeFrom(from.artifact_key()); + } +} + +void ListArtifactsRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ListArtifactsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ListArtifactsRequest::CopyFrom(const ListArtifactsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ListArtifactsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ListArtifactsRequest::IsInitialized() const { + return true; +} + +void ListArtifactsRequest::Swap(ListArtifactsRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void ListArtifactsRequest::InternalSwap(ListArtifactsRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(artifact_key_, other->artifact_key_); +} + +::google::protobuf::Metadata ListArtifactsRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ListArtifactsResponse::InitAsDefaultInstance() { +} +class ListArtifactsResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ListArtifactsResponse::kArtifactsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ListArtifactsResponse::ListArtifactsResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ListArtifactsResponse) +} +ListArtifactsResponse::ListArtifactsResponse(const ListArtifactsResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + artifacts_(from.artifacts_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ListArtifactsResponse) +} + +void ListArtifactsResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ListArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +ListArtifactsResponse::~ListArtifactsResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ListArtifactsResponse) + SharedDtor(); +} + +void ListArtifactsResponse::SharedDtor() { +} + +void ListArtifactsResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ListArtifactsResponse& ListArtifactsResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ListArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ListArtifactsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ListArtifactsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + artifacts_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ListArtifactsResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // repeated .flyteidl.artifact.Artifact artifacts = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::Artifact::_InternalParse; + object = msg->add_artifacts(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ListArtifactsResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ListArtifactsResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .flyteidl.artifact.Artifact artifacts = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifacts())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ListArtifactsResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ListArtifactsResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ListArtifactsResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ListArtifactsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.Artifact artifacts = 1; + for (unsigned int i = 0, + n = static_cast(this->artifacts_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->artifacts(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ListArtifactsResponse) +} + +::google::protobuf::uint8* ListArtifactsResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ListArtifactsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.Artifact artifacts = 1; + for (unsigned int i = 0, + n = static_cast(this->artifacts_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->artifacts(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.ListArtifactsResponse) + return target; +} + +size_t ListArtifactsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ListArtifactsResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.artifact.Artifact artifacts = 1; + { + unsigned int count = static_cast(this->artifacts_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->artifacts(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ListArtifactsResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ListArtifactsResponse) + GOOGLE_DCHECK_NE(&from, this); + const ListArtifactsResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ListArtifactsResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ListArtifactsResponse) + MergeFrom(*source); + } +} + +void ListArtifactsResponse::MergeFrom(const ListArtifactsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ListArtifactsResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + artifacts_.MergeFrom(from.artifacts_); +} + +void ListArtifactsResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ListArtifactsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ListArtifactsResponse::CopyFrom(const ListArtifactsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ListArtifactsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ListArtifactsResponse::IsInitialized() const { + return true; +} + +void ListArtifactsResponse::Swap(ListArtifactsResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void ListArtifactsResponse::InternalSwap(ListArtifactsResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifacts_)->InternalSwap(CastToBase(&other->artifacts_)); +} + +::google::protobuf::Metadata ListArtifactsResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void AddTagRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_AddTagRequest_default_instance_._instance.get_mutable()->artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); +} +class AddTagRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactID& artifact_id(const AddTagRequest* msg); +}; + +const ::flyteidl::core::ArtifactID& +AddTagRequest::HasBitSetters::artifact_id(const AddTagRequest* msg) { + return *msg->artifact_id_; +} +void AddTagRequest::clear_artifact_id() { + if (GetArenaNoVirtual() == nullptr && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int AddTagRequest::kArtifactIdFieldNumber; +const int AddTagRequest::kValueFieldNumber; +const int AddTagRequest::kOverwriteFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +AddTagRequest::AddTagRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.AddTagRequest) +} +AddTagRequest::AddTagRequest(const AddTagRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.value().size() > 0) { + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); + } + if (from.has_artifact_id()) { + artifact_id_ = new ::flyteidl::core::ArtifactID(*from.artifact_id_); + } else { + artifact_id_ = nullptr; + } + overwrite_ = from.overwrite_; + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.AddTagRequest) +} + +void AddTagRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&artifact_id_, 0, static_cast( + reinterpret_cast(&overwrite_) - + reinterpret_cast(&artifact_id_)) + sizeof(overwrite_)); +} + +AddTagRequest::~AddTagRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.AddTagRequest) + SharedDtor(); +} + +void AddTagRequest::SharedDtor() { + value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete artifact_id_; +} + +void AddTagRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const AddTagRequest& AddTagRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void AddTagRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.AddTagRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; + overwrite_ = false; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* AddTagRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactID artifact_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->mutable_artifact_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string value = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.AddTagRequest.value"); + object = msg->mutable_value(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // bool overwrite = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; + msg->set_overwrite(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool AddTagRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.AddTagRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactID artifact_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_id())); + } else { + goto handle_unusual; + } + break; + } + + // string value = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_value())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.AddTagRequest.value")); + } else { + goto handle_unusual; + } + break; + } + + // bool overwrite = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &overwrite_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.AddTagRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.AddTagRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void AddTagRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.AddTagRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_id(this), output); + } + + // string value = 2; + if (this->value().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.AddTagRequest.value"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->value(), output); + } + + // bool overwrite = 3; + if (this->overwrite() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->overwrite(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.AddTagRequest) +} + +::google::protobuf::uint8* AddTagRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.AddTagRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_id(this), target); + } + + // string value = 2; + if (this->value().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->value().data(), static_cast(this->value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.AddTagRequest.value"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->value(), target); + } + + // bool overwrite = 3; + if (this->overwrite() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->overwrite(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.AddTagRequest) + return target; +} + +size_t AddTagRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.AddTagRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string value = 2; + if (this->value().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); + } + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_id_); + } + + // bool overwrite = 3; + if (this->overwrite() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void AddTagRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.AddTagRequest) + GOOGLE_DCHECK_NE(&from, this); + const AddTagRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.AddTagRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.AddTagRequest) + MergeFrom(*source); + } +} + +void AddTagRequest::MergeFrom(const AddTagRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.AddTagRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.value().size() > 0) { + + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); + } + if (from.has_artifact_id()) { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + } + if (from.overwrite() != 0) { + set_overwrite(from.overwrite()); + } +} + +void AddTagRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.AddTagRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void AddTagRequest::CopyFrom(const AddTagRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.AddTagRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool AddTagRequest::IsInitialized() const { + return true; +} + +void AddTagRequest::Swap(AddTagRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void AddTagRequest::InternalSwap(AddTagRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(artifact_id_, other->artifact_id_); + swap(overwrite_, other->overwrite_); +} + +::google::protobuf::Metadata AddTagRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void AddTagResponse::InitAsDefaultInstance() { +} +class AddTagResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +AddTagResponse::AddTagResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.AddTagResponse) +} +AddTagResponse::AddTagResponse(const AddTagResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.AddTagResponse) +} + +void AddTagResponse::SharedCtor() { +} + +AddTagResponse::~AddTagResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.AddTagResponse) + SharedDtor(); +} + +void AddTagResponse::SharedDtor() { +} + +void AddTagResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const AddTagResponse& AddTagResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_AddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void AddTagResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.AddTagResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* AddTagResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool AddTagResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.AddTagResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.AddTagResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.AddTagResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void AddTagResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.AddTagResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.AddTagResponse) +} + +::google::protobuf::uint8* AddTagResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.AddTagResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.AddTagResponse) + return target; +} + +size_t AddTagResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.AddTagResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void AddTagResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.AddTagResponse) + GOOGLE_DCHECK_NE(&from, this); + const AddTagResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.AddTagResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.AddTagResponse) + MergeFrom(*source); + } +} + +void AddTagResponse::MergeFrom(const AddTagResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.AddTagResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void AddTagResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.AddTagResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void AddTagResponse::CopyFrom(const AddTagResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.AddTagResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool AddTagResponse::IsInitialized() const { + return true; +} + +void AddTagResponse::Swap(AddTagResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void AddTagResponse::InternalSwap(AddTagResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata AddTagResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CreateTriggerRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_CreateTriggerRequest_default_instance_._instance.get_mutable()->trigger_launch_plan_ = const_cast< ::flyteidl::admin::LaunchPlan*>( + ::flyteidl::admin::LaunchPlan::internal_default_instance()); +} +class CreateTriggerRequest::HasBitSetters { + public: + static const ::flyteidl::admin::LaunchPlan& trigger_launch_plan(const CreateTriggerRequest* msg); +}; + +const ::flyteidl::admin::LaunchPlan& +CreateTriggerRequest::HasBitSetters::trigger_launch_plan(const CreateTriggerRequest* msg) { + return *msg->trigger_launch_plan_; +} +void CreateTriggerRequest::clear_trigger_launch_plan() { + if (GetArenaNoVirtual() == nullptr && trigger_launch_plan_ != nullptr) { + delete trigger_launch_plan_; + } + trigger_launch_plan_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CreateTriggerRequest::kTriggerLaunchPlanFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateTriggerRequest::CreateTriggerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateTriggerRequest) +} +CreateTriggerRequest::CreateTriggerRequest(const CreateTriggerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_trigger_launch_plan()) { + trigger_launch_plan_ = new ::flyteidl::admin::LaunchPlan(*from.trigger_launch_plan_); + } else { + trigger_launch_plan_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateTriggerRequest) +} + +void CreateTriggerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + trigger_launch_plan_ = nullptr; +} + +CreateTriggerRequest::~CreateTriggerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateTriggerRequest) + SharedDtor(); +} + +void CreateTriggerRequest::SharedDtor() { + if (this != internal_default_instance()) delete trigger_launch_plan_; +} + +void CreateTriggerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateTriggerRequest& CreateTriggerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateTriggerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && trigger_launch_plan_ != nullptr) { + delete trigger_launch_plan_; + } + trigger_launch_plan_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CreateTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::LaunchPlan::_InternalParse; + object = msg->mutable_trigger_launch_plan(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CreateTriggerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.CreateTriggerRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_trigger_launch_plan())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.CreateTriggerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.CreateTriggerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CreateTriggerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + if (this->has_trigger_launch_plan()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::trigger_launch_plan(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.CreateTriggerRequest) +} + +::google::protobuf::uint8* CreateTriggerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + if (this->has_trigger_launch_plan()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::trigger_launch_plan(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.CreateTriggerRequest) + return target; +} + +size_t CreateTriggerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.CreateTriggerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + if (this->has_trigger_launch_plan()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *trigger_launch_plan_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CreateTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.CreateTriggerRequest) + GOOGLE_DCHECK_NE(&from, this); + const CreateTriggerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateTriggerRequest) + MergeFrom(*source); + } +} + +void CreateTriggerRequest::MergeFrom(const CreateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateTriggerRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_trigger_launch_plan()) { + mutable_trigger_launch_plan()->::flyteidl::admin::LaunchPlan::MergeFrom(from.trigger_launch_plan()); + } +} + +void CreateTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateTriggerRequest::CopyFrom(const CreateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.CreateTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateTriggerRequest::IsInitialized() const { + return true; +} + +void CreateTriggerRequest::Swap(CreateTriggerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void CreateTriggerRequest::InternalSwap(CreateTriggerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(trigger_launch_plan_, other->trigger_launch_plan_); +} + +::google::protobuf::Metadata CreateTriggerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CreateTriggerResponse::InitAsDefaultInstance() { +} +class CreateTriggerResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateTriggerResponse::CreateTriggerResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateTriggerResponse) +} +CreateTriggerResponse::CreateTriggerResponse(const CreateTriggerResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateTriggerResponse) +} + +void CreateTriggerResponse::SharedCtor() { +} + +CreateTriggerResponse::~CreateTriggerResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateTriggerResponse) + SharedDtor(); +} + +void CreateTriggerResponse::SharedDtor() { +} + +void CreateTriggerResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateTriggerResponse& CreateTriggerResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateTriggerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateTriggerResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CreateTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CreateTriggerResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.CreateTriggerResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.CreateTriggerResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.CreateTriggerResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CreateTriggerResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.CreateTriggerResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.CreateTriggerResponse) +} + +::google::protobuf::uint8* CreateTriggerResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateTriggerResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.CreateTriggerResponse) + return target; +} + +size_t CreateTriggerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.CreateTriggerResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CreateTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.CreateTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + const CreateTriggerResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateTriggerResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateTriggerResponse) + MergeFrom(*source); + } +} + +void CreateTriggerResponse::MergeFrom(const CreateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void CreateTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateTriggerResponse::CopyFrom(const CreateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.CreateTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateTriggerResponse::IsInitialized() const { + return true; +} + +void CreateTriggerResponse::Swap(CreateTriggerResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void CreateTriggerResponse::InternalSwap(CreateTriggerResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CreateTriggerResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DeleteTriggerRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_DeleteTriggerRequest_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); +} +class DeleteTriggerRequest::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& trigger_id(const DeleteTriggerRequest* msg); +}; + +const ::flyteidl::core::Identifier& +DeleteTriggerRequest::HasBitSetters::trigger_id(const DeleteTriggerRequest* msg) { + return *msg->trigger_id_; +} +void DeleteTriggerRequest::clear_trigger_id() { + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DeleteTriggerRequest::kTriggerIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DeleteTriggerRequest::DeleteTriggerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerRequest) +} +DeleteTriggerRequest::DeleteTriggerRequest(const DeleteTriggerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_trigger_id()) { + trigger_id_ = new ::flyteidl::core::Identifier(*from.trigger_id_); + } else { + trigger_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerRequest) +} + +void DeleteTriggerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + trigger_id_ = nullptr; +} + +DeleteTriggerRequest::~DeleteTriggerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerRequest) + SharedDtor(); +} + +void DeleteTriggerRequest::SharedDtor() { + if (this != internal_default_instance()) delete trigger_id_; +} + +void DeleteTriggerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DeleteTriggerRequest& DeleteTriggerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void DeleteTriggerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DeleteTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.Identifier trigger_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Identifier::_InternalParse; + object = msg->mutable_trigger_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DeleteTriggerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.Identifier trigger_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_trigger_id())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeleteTriggerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DeleteTriggerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::trigger_id(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeleteTriggerRequest) +} + +::google::protobuf::uint8* DeleteTriggerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::trigger_id(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeleteTriggerRequest) + return target; +} + +size_t DeleteTriggerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *trigger_id_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DeleteTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) + GOOGLE_DCHECK_NE(&from, this); + const DeleteTriggerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerRequest) + MergeFrom(*source); + } +} + +void DeleteTriggerRequest::MergeFrom(const DeleteTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_trigger_id()) { + mutable_trigger_id()->::flyteidl::core::Identifier::MergeFrom(from.trigger_id()); + } +} + +void DeleteTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DeleteTriggerRequest::CopyFrom(const DeleteTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteTriggerRequest::IsInitialized() const { + return true; +} + +void DeleteTriggerRequest::Swap(DeleteTriggerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void DeleteTriggerRequest::InternalSwap(DeleteTriggerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(trigger_id_, other->trigger_id_); +} + +::google::protobuf::Metadata DeleteTriggerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DeleteTriggerResponse::InitAsDefaultInstance() { +} +class DeleteTriggerResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DeleteTriggerResponse::DeleteTriggerResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerResponse) +} +DeleteTriggerResponse::DeleteTriggerResponse(const DeleteTriggerResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerResponse) +} + +void DeleteTriggerResponse::SharedCtor() { +} + +DeleteTriggerResponse::~DeleteTriggerResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerResponse) + SharedDtor(); +} + +void DeleteTriggerResponse::SharedDtor() { +} + +void DeleteTriggerResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DeleteTriggerResponse& DeleteTriggerResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void DeleteTriggerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DeleteTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DeleteTriggerResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeleteTriggerResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DeleteTriggerResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeleteTriggerResponse) +} + +::google::protobuf::uint8* DeleteTriggerResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeleteTriggerResponse) + return target; +} + +size_t DeleteTriggerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DeleteTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + const DeleteTriggerResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerResponse) + MergeFrom(*source); + } +} + +void DeleteTriggerResponse::MergeFrom(const DeleteTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void DeleteTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DeleteTriggerResponse::CopyFrom(const DeleteTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteTriggerResponse::IsInitialized() const { + return true; +} + +void DeleteTriggerResponse::Swap(DeleteTriggerResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void DeleteTriggerResponse::InternalSwap(DeleteTriggerResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata DeleteTriggerResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactProducer::InitAsDefaultInstance() { + ::flyteidl::artifact::_ArtifactProducer_default_instance_._instance.get_mutable()->entity_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); + ::flyteidl::artifact::_ArtifactProducer_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::core::VariableMap*>( + ::flyteidl::core::VariableMap::internal_default_instance()); +} +class ArtifactProducer::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& entity_id(const ArtifactProducer* msg); + static const ::flyteidl::core::VariableMap& outputs(const ArtifactProducer* msg); +}; + +const ::flyteidl::core::Identifier& +ArtifactProducer::HasBitSetters::entity_id(const ArtifactProducer* msg) { + return *msg->entity_id_; +} +const ::flyteidl::core::VariableMap& +ArtifactProducer::HasBitSetters::outputs(const ArtifactProducer* msg) { + return *msg->outputs_; +} +void ArtifactProducer::clear_entity_id() { + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; +} +void ArtifactProducer::clear_outputs() { + if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { + delete outputs_; + } + outputs_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactProducer::kEntityIdFieldNumber; +const int ArtifactProducer::kOutputsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactProducer::ArtifactProducer() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ArtifactProducer) +} +ArtifactProducer::ArtifactProducer(const ArtifactProducer& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_entity_id()) { + entity_id_ = new ::flyteidl::core::Identifier(*from.entity_id_); + } else { + entity_id_ = nullptr; + } + if (from.has_outputs()) { + outputs_ = new ::flyteidl::core::VariableMap(*from.outputs_); + } else { + outputs_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ArtifactProducer) +} + +void ArtifactProducer::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&entity_id_, 0, static_cast( + reinterpret_cast(&outputs_) - + reinterpret_cast(&entity_id_)) + sizeof(outputs_)); +} + +ArtifactProducer::~ArtifactProducer() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ArtifactProducer) + SharedDtor(); +} + +void ArtifactProducer::SharedDtor() { + if (this != internal_default_instance()) delete entity_id_; + if (this != internal_default_instance()) delete outputs_; +} + +void ArtifactProducer::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactProducer& ArtifactProducer::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactProducer::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { + delete outputs_; + } + outputs_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactProducer::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.Identifier entity_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Identifier::_InternalParse; + object = msg->mutable_entity_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.VariableMap outputs = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::VariableMap::_InternalParse; + object = msg->mutable_outputs(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactProducer::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ArtifactProducer) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.Identifier entity_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_entity_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.VariableMap outputs = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_outputs())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ArtifactProducer) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ArtifactProducer) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactProducer::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::entity_id(this), output); + } + + // .flyteidl.core.VariableMap outputs = 2; + if (this->has_outputs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::outputs(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ArtifactProducer) +} + +::google::protobuf::uint8* ArtifactProducer::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::entity_id(this), target); + } + + // .flyteidl.core.VariableMap outputs = 2; + if (this->has_outputs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::outputs(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.ArtifactProducer) + return target; +} + +size_t ArtifactProducer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ArtifactProducer) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *entity_id_); + } + + // .flyteidl.core.VariableMap outputs = 2; + if (this->has_outputs()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *outputs_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactProducer::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ArtifactProducer) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactProducer* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ArtifactProducer) + MergeFrom(*source); + } +} + +void ArtifactProducer::MergeFrom(const ArtifactProducer& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ArtifactProducer) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_entity_id()) { + mutable_entity_id()->::flyteidl::core::Identifier::MergeFrom(from.entity_id()); + } + if (from.has_outputs()) { + mutable_outputs()->::flyteidl::core::VariableMap::MergeFrom(from.outputs()); + } +} + +void ArtifactProducer::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ArtifactProducer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactProducer::CopyFrom(const ArtifactProducer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ArtifactProducer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactProducer::IsInitialized() const { + return true; +} + +void ArtifactProducer::Swap(ArtifactProducer* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactProducer::InternalSwap(ArtifactProducer* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(entity_id_, other->entity_id_); + swap(outputs_, other->outputs_); +} + +::google::protobuf::Metadata ArtifactProducer::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void RegisterProducerRequest::InitAsDefaultInstance() { +} +class RegisterProducerRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int RegisterProducerRequest::kProducersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RegisterProducerRequest::RegisterProducerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.RegisterProducerRequest) +} +RegisterProducerRequest::RegisterProducerRequest(const RegisterProducerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + producers_(from.producers_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.RegisterProducerRequest) +} + +void RegisterProducerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +RegisterProducerRequest::~RegisterProducerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.RegisterProducerRequest) + SharedDtor(); +} + +void RegisterProducerRequest::SharedDtor() { +} + +void RegisterProducerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const RegisterProducerRequest& RegisterProducerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void RegisterProducerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + producers_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* RegisterProducerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::ArtifactProducer::_InternalParse; + object = msg->add_producers(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool RegisterProducerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.RegisterProducerRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_producers())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.RegisterProducerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.RegisterProducerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void RegisterProducerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + for (unsigned int i = 0, + n = static_cast(this->producers_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->producers(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.RegisterProducerRequest) +} + +::google::protobuf::uint8* RegisterProducerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + for (unsigned int i = 0, + n = static_cast(this->producers_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->producers(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.RegisterProducerRequest) + return target; +} + +size_t RegisterProducerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.RegisterProducerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + { + unsigned int count = static_cast(this->producers_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->producers(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void RegisterProducerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.RegisterProducerRequest) + GOOGLE_DCHECK_NE(&from, this); + const RegisterProducerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.RegisterProducerRequest) + MergeFrom(*source); + } +} + +void RegisterProducerRequest::MergeFrom(const RegisterProducerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.RegisterProducerRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + producers_.MergeFrom(from.producers_); +} + +void RegisterProducerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.RegisterProducerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RegisterProducerRequest::CopyFrom(const RegisterProducerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.RegisterProducerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RegisterProducerRequest::IsInitialized() const { + return true; +} + +void RegisterProducerRequest::Swap(RegisterProducerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void RegisterProducerRequest::InternalSwap(RegisterProducerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&producers_)->InternalSwap(CastToBase(&other->producers_)); +} + +::google::protobuf::Metadata RegisterProducerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactConsumer::InitAsDefaultInstance() { + ::flyteidl::artifact::_ArtifactConsumer_default_instance_._instance.get_mutable()->entity_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); + ::flyteidl::artifact::_ArtifactConsumer_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::ParameterMap*>( + ::flyteidl::core::ParameterMap::internal_default_instance()); +} +class ArtifactConsumer::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& entity_id(const ArtifactConsumer* msg); + static const ::flyteidl::core::ParameterMap& inputs(const ArtifactConsumer* msg); +}; + +const ::flyteidl::core::Identifier& +ArtifactConsumer::HasBitSetters::entity_id(const ArtifactConsumer* msg) { + return *msg->entity_id_; +} +const ::flyteidl::core::ParameterMap& +ArtifactConsumer::HasBitSetters::inputs(const ArtifactConsumer* msg) { + return *msg->inputs_; +} +void ArtifactConsumer::clear_entity_id() { + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; +} +void ArtifactConsumer::clear_inputs() { + if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { + delete inputs_; + } + inputs_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactConsumer::kEntityIdFieldNumber; +const int ArtifactConsumer::kInputsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactConsumer::ArtifactConsumer() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ArtifactConsumer) +} +ArtifactConsumer::ArtifactConsumer(const ArtifactConsumer& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_entity_id()) { + entity_id_ = new ::flyteidl::core::Identifier(*from.entity_id_); + } else { + entity_id_ = nullptr; + } + if (from.has_inputs()) { + inputs_ = new ::flyteidl::core::ParameterMap(*from.inputs_); + } else { + inputs_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ArtifactConsumer) +} + +void ArtifactConsumer::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&entity_id_, 0, static_cast( + reinterpret_cast(&inputs_) - + reinterpret_cast(&entity_id_)) + sizeof(inputs_)); +} + +ArtifactConsumer::~ArtifactConsumer() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ArtifactConsumer) + SharedDtor(); +} + +void ArtifactConsumer::SharedDtor() { + if (this != internal_default_instance()) delete entity_id_; + if (this != internal_default_instance()) delete inputs_; +} + +void ArtifactConsumer::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactConsumer& ArtifactConsumer::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactConsumer::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { + delete inputs_; + } + inputs_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactConsumer::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.Identifier entity_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Identifier::_InternalParse; + object = msg->mutable_entity_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.ParameterMap inputs = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ParameterMap::_InternalParse; + object = msg->mutable_inputs(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactConsumer::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ArtifactConsumer) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.Identifier entity_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_entity_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.ParameterMap inputs = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_inputs())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ArtifactConsumer) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ArtifactConsumer) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactConsumer::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::entity_id(this), output); + } + + // .flyteidl.core.ParameterMap inputs = 2; + if (this->has_inputs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::inputs(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ArtifactConsumer) +} + +::google::protobuf::uint8* ArtifactConsumer::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::entity_id(this), target); + } + + // .flyteidl.core.ParameterMap inputs = 2; + if (this->has_inputs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::inputs(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.ArtifactConsumer) + return target; +} + +size_t ArtifactConsumer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ArtifactConsumer) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *entity_id_); + } + + // .flyteidl.core.ParameterMap inputs = 2; + if (this->has_inputs()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *inputs_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactConsumer::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ArtifactConsumer) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactConsumer* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ArtifactConsumer) + MergeFrom(*source); + } +} + +void ArtifactConsumer::MergeFrom(const ArtifactConsumer& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ArtifactConsumer) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_entity_id()) { + mutable_entity_id()->::flyteidl::core::Identifier::MergeFrom(from.entity_id()); + } + if (from.has_inputs()) { + mutable_inputs()->::flyteidl::core::ParameterMap::MergeFrom(from.inputs()); + } +} + +void ArtifactConsumer::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ArtifactConsumer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactConsumer::CopyFrom(const ArtifactConsumer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ArtifactConsumer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactConsumer::IsInitialized() const { + return true; +} + +void ArtifactConsumer::Swap(ArtifactConsumer* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactConsumer::InternalSwap(ArtifactConsumer* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(entity_id_, other->entity_id_); + swap(inputs_, other->inputs_); +} + +::google::protobuf::Metadata ArtifactConsumer::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void RegisterConsumerRequest::InitAsDefaultInstance() { +} +class RegisterConsumerRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int RegisterConsumerRequest::kConsumersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RegisterConsumerRequest::RegisterConsumerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.RegisterConsumerRequest) +} +RegisterConsumerRequest::RegisterConsumerRequest(const RegisterConsumerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + consumers_(from.consumers_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.RegisterConsumerRequest) +} + +void RegisterConsumerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +RegisterConsumerRequest::~RegisterConsumerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.RegisterConsumerRequest) + SharedDtor(); +} + +void RegisterConsumerRequest::SharedDtor() { +} + +void RegisterConsumerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const RegisterConsumerRequest& RegisterConsumerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void RegisterConsumerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + consumers_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* RegisterConsumerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::ArtifactConsumer::_InternalParse; + object = msg->add_consumers(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool RegisterConsumerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.RegisterConsumerRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_consumers())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.RegisterConsumerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.RegisterConsumerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void RegisterConsumerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + for (unsigned int i = 0, + n = static_cast(this->consumers_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->consumers(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.RegisterConsumerRequest) +} + +::google::protobuf::uint8* RegisterConsumerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + for (unsigned int i = 0, + n = static_cast(this->consumers_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->consumers(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.RegisterConsumerRequest) + return target; +} + +size_t RegisterConsumerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.RegisterConsumerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + { + unsigned int count = static_cast(this->consumers_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->consumers(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void RegisterConsumerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.RegisterConsumerRequest) + GOOGLE_DCHECK_NE(&from, this); + const RegisterConsumerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.RegisterConsumerRequest) + MergeFrom(*source); + } +} + +void RegisterConsumerRequest::MergeFrom(const RegisterConsumerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.RegisterConsumerRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + consumers_.MergeFrom(from.consumers_); +} + +void RegisterConsumerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.RegisterConsumerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RegisterConsumerRequest::CopyFrom(const RegisterConsumerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.RegisterConsumerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RegisterConsumerRequest::IsInitialized() const { + return true; +} + +void RegisterConsumerRequest::Swap(RegisterConsumerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void RegisterConsumerRequest::InternalSwap(RegisterConsumerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&consumers_)->InternalSwap(CastToBase(&other->consumers_)); +} + +::google::protobuf::Metadata RegisterConsumerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void RegisterResponse::InitAsDefaultInstance() { +} +class RegisterResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RegisterResponse::RegisterResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.RegisterResponse) +} +RegisterResponse::RegisterResponse(const RegisterResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.RegisterResponse) +} + +void RegisterResponse::SharedCtor() { +} + +RegisterResponse::~RegisterResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.RegisterResponse) + SharedDtor(); +} + +void RegisterResponse::SharedDtor() { +} + +void RegisterResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const RegisterResponse& RegisterResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_RegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void RegisterResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.RegisterResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* RegisterResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool RegisterResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.RegisterResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.RegisterResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.RegisterResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void RegisterResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.RegisterResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.RegisterResponse) +} + +::google::protobuf::uint8* RegisterResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.RegisterResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.RegisterResponse) + return target; +} + +size_t RegisterResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.RegisterResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void RegisterResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.RegisterResponse) + GOOGLE_DCHECK_NE(&from, this); + const RegisterResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.RegisterResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.RegisterResponse) + MergeFrom(*source); + } +} + +void RegisterResponse::MergeFrom(const RegisterResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.RegisterResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void RegisterResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.RegisterResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RegisterResponse::CopyFrom(const RegisterResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.RegisterResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RegisterResponse::IsInitialized() const { + return true; +} + +void RegisterResponse::Swap(RegisterResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void RegisterResponse::InternalSwap(RegisterResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata RegisterResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace artifact +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::Artifact* Arena::CreateMaybeMessage< ::flyteidl::artifact::Artifact >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::Artifact >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateArtifactRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateArtifactRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateArtifactRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactSpec* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactSpec >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ArtifactSpec >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateArtifactResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateArtifactResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateArtifactResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::GetArtifactRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::GetArtifactRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::GetArtifactRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::GetArtifactResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::GetArtifactResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::GetArtifactResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ListArtifactNamesRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::ListArtifactNamesRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ListArtifactNamesRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ListArtifactNamesResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::ListArtifactNamesResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ListArtifactNamesResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ListArtifactsRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::ListArtifactsRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ListArtifactsRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ListArtifactsResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::ListArtifactsResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ListArtifactsResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::AddTagRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::AddTagRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::AddTagRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::AddTagResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::AddTagResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::AddTagResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateTriggerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateTriggerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateTriggerResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateTriggerResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactProducer* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactProducer >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ArtifactProducer >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::RegisterProducerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::RegisterProducerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::RegisterProducerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactConsumer* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactConsumer >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ArtifactConsumer >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::RegisterConsumerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::RegisterConsumerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::RegisterConsumerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::RegisterResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::RegisterResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::RegisterResponse >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h new file mode 100644 index 0000000000..790dbd9698 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h @@ -0,0 +1,4609 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/artifact/artifacts.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fartifact_2fartifacts_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fartifact_2fartifacts_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +#include +#include "flyteidl/admin/launch_plan.pb.h" +#include "flyteidl/core/literals.pb.h" +#include "flyteidl/core/types.pb.h" +#include "flyteidl/core/identifier.pb.h" +#include "flyteidl/core/artifact_id.pb.h" +#include "flyteidl/core/interface.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fartifact_2fartifacts_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[22] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto(); +namespace flyteidl { +namespace artifact { +class AddTagRequest; +class AddTagRequestDefaultTypeInternal; +extern AddTagRequestDefaultTypeInternal _AddTagRequest_default_instance_; +class AddTagResponse; +class AddTagResponseDefaultTypeInternal; +extern AddTagResponseDefaultTypeInternal _AddTagResponse_default_instance_; +class Artifact; +class ArtifactDefaultTypeInternal; +extern ArtifactDefaultTypeInternal _Artifact_default_instance_; +class ArtifactConsumer; +class ArtifactConsumerDefaultTypeInternal; +extern ArtifactConsumerDefaultTypeInternal _ArtifactConsumer_default_instance_; +class ArtifactProducer; +class ArtifactProducerDefaultTypeInternal; +extern ArtifactProducerDefaultTypeInternal _ArtifactProducer_default_instance_; +class ArtifactSpec; +class ArtifactSpecDefaultTypeInternal; +extern ArtifactSpecDefaultTypeInternal _ArtifactSpec_default_instance_; +class CreateArtifactRequest; +class CreateArtifactRequestDefaultTypeInternal; +extern CreateArtifactRequestDefaultTypeInternal _CreateArtifactRequest_default_instance_; +class CreateArtifactRequest_PartitionsEntry_DoNotUse; +class CreateArtifactRequest_PartitionsEntry_DoNotUseDefaultTypeInternal; +extern CreateArtifactRequest_PartitionsEntry_DoNotUseDefaultTypeInternal _CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_; +class CreateArtifactResponse; +class CreateArtifactResponseDefaultTypeInternal; +extern CreateArtifactResponseDefaultTypeInternal _CreateArtifactResponse_default_instance_; +class CreateTriggerRequest; +class CreateTriggerRequestDefaultTypeInternal; +extern CreateTriggerRequestDefaultTypeInternal _CreateTriggerRequest_default_instance_; +class CreateTriggerResponse; +class CreateTriggerResponseDefaultTypeInternal; +extern CreateTriggerResponseDefaultTypeInternal _CreateTriggerResponse_default_instance_; +class DeleteTriggerRequest; +class DeleteTriggerRequestDefaultTypeInternal; +extern DeleteTriggerRequestDefaultTypeInternal _DeleteTriggerRequest_default_instance_; +class DeleteTriggerResponse; +class DeleteTriggerResponseDefaultTypeInternal; +extern DeleteTriggerResponseDefaultTypeInternal _DeleteTriggerResponse_default_instance_; +class GetArtifactRequest; +class GetArtifactRequestDefaultTypeInternal; +extern GetArtifactRequestDefaultTypeInternal _GetArtifactRequest_default_instance_; +class GetArtifactResponse; +class GetArtifactResponseDefaultTypeInternal; +extern GetArtifactResponseDefaultTypeInternal _GetArtifactResponse_default_instance_; +class ListArtifactNamesRequest; +class ListArtifactNamesRequestDefaultTypeInternal; +extern ListArtifactNamesRequestDefaultTypeInternal _ListArtifactNamesRequest_default_instance_; +class ListArtifactNamesResponse; +class ListArtifactNamesResponseDefaultTypeInternal; +extern ListArtifactNamesResponseDefaultTypeInternal _ListArtifactNamesResponse_default_instance_; +class ListArtifactsRequest; +class ListArtifactsRequestDefaultTypeInternal; +extern ListArtifactsRequestDefaultTypeInternal _ListArtifactsRequest_default_instance_; +class ListArtifactsResponse; +class ListArtifactsResponseDefaultTypeInternal; +extern ListArtifactsResponseDefaultTypeInternal _ListArtifactsResponse_default_instance_; +class RegisterConsumerRequest; +class RegisterConsumerRequestDefaultTypeInternal; +extern RegisterConsumerRequestDefaultTypeInternal _RegisterConsumerRequest_default_instance_; +class RegisterProducerRequest; +class RegisterProducerRequestDefaultTypeInternal; +extern RegisterProducerRequestDefaultTypeInternal _RegisterProducerRequest_default_instance_; +class RegisterResponse; +class RegisterResponseDefaultTypeInternal; +extern RegisterResponseDefaultTypeInternal _RegisterResponse_default_instance_; +} // namespace artifact +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::artifact::AddTagRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::AddTagRequest>(Arena*); +template<> ::flyteidl::artifact::AddTagResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::AddTagResponse>(Arena*); +template<> ::flyteidl::artifact::Artifact* Arena::CreateMaybeMessage<::flyteidl::artifact::Artifact>(Arena*); +template<> ::flyteidl::artifact::ArtifactConsumer* Arena::CreateMaybeMessage<::flyteidl::artifact::ArtifactConsumer>(Arena*); +template<> ::flyteidl::artifact::ArtifactProducer* Arena::CreateMaybeMessage<::flyteidl::artifact::ArtifactProducer>(Arena*); +template<> ::flyteidl::artifact::ArtifactSpec* Arena::CreateMaybeMessage<::flyteidl::artifact::ArtifactSpec>(Arena*); +template<> ::flyteidl::artifact::CreateArtifactRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactRequest>(Arena*); +template<> ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse>(Arena*); +template<> ::flyteidl::artifact::CreateArtifactResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactResponse>(Arena*); +template<> ::flyteidl::artifact::CreateTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerRequest>(Arena*); +template<> ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerResponse>(Arena*); +template<> ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerRequest>(Arena*); +template<> ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerResponse>(Arena*); +template<> ::flyteidl::artifact::GetArtifactRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::GetArtifactRequest>(Arena*); +template<> ::flyteidl::artifact::GetArtifactResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::GetArtifactResponse>(Arena*); +template<> ::flyteidl::artifact::ListArtifactNamesRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::ListArtifactNamesRequest>(Arena*); +template<> ::flyteidl::artifact::ListArtifactNamesResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::ListArtifactNamesResponse>(Arena*); +template<> ::flyteidl::artifact::ListArtifactsRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::ListArtifactsRequest>(Arena*); +template<> ::flyteidl::artifact::ListArtifactsResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::ListArtifactsResponse>(Arena*); +template<> ::flyteidl::artifact::RegisterConsumerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::RegisterConsumerRequest>(Arena*); +template<> ::flyteidl::artifact::RegisterProducerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::RegisterProducerRequest>(Arena*); +template<> ::flyteidl::artifact::RegisterResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::RegisterResponse>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace artifact { + +// =================================================================== + +class Artifact final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.Artifact) */ { + public: + Artifact(); + virtual ~Artifact(); + + Artifact(const Artifact& from); + + inline Artifact& operator=(const Artifact& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Artifact(Artifact&& from) noexcept + : Artifact() { + *this = ::std::move(from); + } + + inline Artifact& operator=(Artifact&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Artifact& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Artifact* internal_default_instance() { + return reinterpret_cast( + &_Artifact_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(Artifact* other); + friend void swap(Artifact& a, Artifact& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Artifact* New() const final { + return CreateMaybeMessage(nullptr); + } + + Artifact* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Artifact& from); + void MergeFrom(const Artifact& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Artifact* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string tags = 3; + int tags_size() const; + void clear_tags(); + static const int kTagsFieldNumber = 3; + const ::std::string& tags(int index) const; + ::std::string* mutable_tags(int index); + void set_tags(int index, const ::std::string& value); + #if LANG_CXX11 + void set_tags(int index, ::std::string&& value); + #endif + void set_tags(int index, const char* value); + void set_tags(int index, const char* value, size_t size); + ::std::string* add_tags(); + void add_tags(const ::std::string& value); + #if LANG_CXX11 + void add_tags(::std::string&& value); + #endif + void add_tags(const char* value); + void add_tags(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField<::std::string>& tags() const; + ::google::protobuf::RepeatedPtrField<::std::string>* mutable_tags(); + + // .flyteidl.core.ArtifactID artifact_id = 1; + bool has_artifact_id() const; + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 1; + const ::flyteidl::core::ArtifactID& artifact_id() const; + ::flyteidl::core::ArtifactID* release_artifact_id(); + ::flyteidl::core::ArtifactID* mutable_artifact_id(); + void set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id); + + // .flyteidl.artifact.ArtifactSpec spec = 2; + bool has_spec() const; + void clear_spec(); + static const int kSpecFieldNumber = 2; + const ::flyteidl::artifact::ArtifactSpec& spec() const; + ::flyteidl::artifact::ArtifactSpec* release_spec(); + ::flyteidl::artifact::ArtifactSpec* mutable_spec(); + void set_allocated_spec(::flyteidl::artifact::ArtifactSpec* spec); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.Artifact) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField<::std::string> tags_; + ::flyteidl::core::ArtifactID* artifact_id_; + ::flyteidl::artifact::ArtifactSpec* spec_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateArtifactRequest_PartitionsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + typedef ::google::protobuf::internal::MapEntry SuperType; + CreateArtifactRequest_PartitionsEntry_DoNotUse(); + CreateArtifactRequest_PartitionsEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const CreateArtifactRequest_PartitionsEntry_DoNotUse& other); + static const CreateArtifactRequest_PartitionsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class CreateArtifactRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.CreateArtifactRequest) */ { + public: + CreateArtifactRequest(); + virtual ~CreateArtifactRequest(); + + CreateArtifactRequest(const CreateArtifactRequest& from); + + inline CreateArtifactRequest& operator=(const CreateArtifactRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CreateArtifactRequest(CreateArtifactRequest&& from) noexcept + : CreateArtifactRequest() { + *this = ::std::move(from); + } + + inline CreateArtifactRequest& operator=(CreateArtifactRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CreateArtifactRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateArtifactRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateArtifactRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(CreateArtifactRequest* other); + friend void swap(CreateArtifactRequest& a, CreateArtifactRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CreateArtifactRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + CreateArtifactRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CreateArtifactRequest& from); + void MergeFrom(const CreateArtifactRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateArtifactRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + // map partitions = 4; + int partitions_size() const; + void clear_partitions(); + static const int kPartitionsFieldNumber = 4; + const ::google::protobuf::Map< ::std::string, ::std::string >& + partitions() const; + ::google::protobuf::Map< ::std::string, ::std::string >* + mutable_partitions(); + + // string version = 3; + void clear_version(); + static const int kVersionFieldNumber = 3; + const ::std::string& version() const; + void set_version(const ::std::string& value); + #if LANG_CXX11 + void set_version(::std::string&& value); + #endif + void set_version(const char* value); + void set_version(const char* value, size_t size); + ::std::string* mutable_version(); + ::std::string* release_version(); + void set_allocated_version(::std::string* version); + + // string tag = 5; + void clear_tag(); + static const int kTagFieldNumber = 5; + const ::std::string& tag() const; + void set_tag(const ::std::string& value); + #if LANG_CXX11 + void set_tag(::std::string&& value); + #endif + void set_tag(const char* value); + void set_tag(const char* value, size_t size); + ::std::string* mutable_tag(); + ::std::string* release_tag(); + void set_allocated_tag(::std::string* tag); + + // .flyteidl.core.ArtifactKey artifact_key = 1; + bool has_artifact_key() const; + void clear_artifact_key(); + static const int kArtifactKeyFieldNumber = 1; + const ::flyteidl::core::ArtifactKey& artifact_key() const; + ::flyteidl::core::ArtifactKey* release_artifact_key(); + ::flyteidl::core::ArtifactKey* mutable_artifact_key(); + void set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key); + + // .flyteidl.artifact.ArtifactSpec spec = 2; + bool has_spec() const; + void clear_spec(); + static const int kSpecFieldNumber = 2; + const ::flyteidl::artifact::ArtifactSpec& spec() const; + ::flyteidl::artifact::ArtifactSpec* release_spec(); + ::flyteidl::artifact::ArtifactSpec* mutable_spec(); + void set_allocated_spec(::flyteidl::artifact::ArtifactSpec* spec); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + CreateArtifactRequest_PartitionsEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 > partitions_; + ::google::protobuf::internal::ArenaStringPtr version_; + ::google::protobuf::internal::ArenaStringPtr tag_; + ::flyteidl::core::ArtifactKey* artifact_key_; + ::flyteidl::artifact::ArtifactSpec* spec_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactSpec final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ArtifactSpec) */ { + public: + ArtifactSpec(); + virtual ~ArtifactSpec(); + + ArtifactSpec(const ArtifactSpec& from); + + inline ArtifactSpec& operator=(const ArtifactSpec& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactSpec(ArtifactSpec&& from) noexcept + : ArtifactSpec() { + *this = ::std::move(from); + } + + inline ArtifactSpec& operator=(ArtifactSpec&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactSpec& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactSpec* internal_default_instance() { + return reinterpret_cast( + &_ArtifactSpec_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(ArtifactSpec* other); + friend void swap(ArtifactSpec& a, ArtifactSpec& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactSpec* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactSpec* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactSpec& from); + void MergeFrom(const ArtifactSpec& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactSpec* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string principal = 7; + void clear_principal(); + static const int kPrincipalFieldNumber = 7; + const ::std::string& principal() const; + void set_principal(const ::std::string& value); + #if LANG_CXX11 + void set_principal(::std::string&& value); + #endif + void set_principal(const char* value); + void set_principal(const char* value, size_t size); + ::std::string* mutable_principal(); + ::std::string* release_principal(); + void set_allocated_principal(::std::string* principal); + + // string short_description = 8; + void clear_short_description(); + static const int kShortDescriptionFieldNumber = 8; + const ::std::string& short_description() const; + void set_short_description(const ::std::string& value); + #if LANG_CXX11 + void set_short_description(::std::string&& value); + #endif + void set_short_description(const char* value); + void set_short_description(const char* value, size_t size); + ::std::string* mutable_short_description(); + ::std::string* release_short_description(); + void set_allocated_short_description(::std::string* short_description); + + // string long_description = 9; + void clear_long_description(); + static const int kLongDescriptionFieldNumber = 9; + const ::std::string& long_description() const; + void set_long_description(const ::std::string& value); + #if LANG_CXX11 + void set_long_description(::std::string&& value); + #endif + void set_long_description(const char* value); + void set_long_description(const char* value, size_t size); + ::std::string* mutable_long_description(); + ::std::string* release_long_description(); + void set_allocated_long_description(::std::string* long_description); + + // string metadata_type = 11; + void clear_metadata_type(); + static const int kMetadataTypeFieldNumber = 11; + const ::std::string& metadata_type() const; + void set_metadata_type(const ::std::string& value); + #if LANG_CXX11 + void set_metadata_type(::std::string&& value); + #endif + void set_metadata_type(const char* value); + void set_metadata_type(const char* value, size_t size); + ::std::string* mutable_metadata_type(); + ::std::string* release_metadata_type(); + void set_allocated_metadata_type(::std::string* metadata_type); + + // .flyteidl.core.Literal value = 1; + bool has_value() const; + void clear_value(); + static const int kValueFieldNumber = 1; + const ::flyteidl::core::Literal& value() const; + ::flyteidl::core::Literal* release_value(); + ::flyteidl::core::Literal* mutable_value(); + void set_allocated_value(::flyteidl::core::Literal* value); + + // .flyteidl.core.LiteralType type = 2; + bool has_type() const; + void clear_type(); + static const int kTypeFieldNumber = 2; + const ::flyteidl::core::LiteralType& type() const; + ::flyteidl::core::LiteralType* release_type(); + ::flyteidl::core::LiteralType* mutable_type(); + void set_allocated_type(::flyteidl::core::LiteralType* type); + + // .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + bool has_task_execution() const; + void clear_task_execution(); + static const int kTaskExecutionFieldNumber = 5; + const ::flyteidl::core::TaskExecutionIdentifier& task_execution() const; + ::flyteidl::core::TaskExecutionIdentifier* release_task_execution(); + ::flyteidl::core::TaskExecutionIdentifier* mutable_task_execution(); + void set_allocated_task_execution(::flyteidl::core::TaskExecutionIdentifier* task_execution); + + // .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + bool has_execution() const; + void clear_execution(); + static const int kExecutionFieldNumber = 6; + const ::flyteidl::core::WorkflowExecutionIdentifier& execution() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_execution(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_execution(); + void set_allocated_execution(::flyteidl::core::WorkflowExecutionIdentifier* execution); + + // .google.protobuf.Any user_metadata = 10; + bool has_user_metadata() const; + void clear_user_metadata(); + static const int kUserMetadataFieldNumber = 10; + const ::google::protobuf::Any& user_metadata() const; + ::google::protobuf::Any* release_user_metadata(); + ::google::protobuf::Any* mutable_user_metadata(); + void set_allocated_user_metadata(::google::protobuf::Any* user_metadata); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactSpec) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr principal_; + ::google::protobuf::internal::ArenaStringPtr short_description_; + ::google::protobuf::internal::ArenaStringPtr long_description_; + ::google::protobuf::internal::ArenaStringPtr metadata_type_; + ::flyteidl::core::Literal* value_; + ::flyteidl::core::LiteralType* type_; + ::flyteidl::core::TaskExecutionIdentifier* task_execution_; + ::flyteidl::core::WorkflowExecutionIdentifier* execution_; + ::google::protobuf::Any* user_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateArtifactResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.CreateArtifactResponse) */ { + public: + CreateArtifactResponse(); + virtual ~CreateArtifactResponse(); + + CreateArtifactResponse(const CreateArtifactResponse& from); + + inline CreateArtifactResponse& operator=(const CreateArtifactResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CreateArtifactResponse(CreateArtifactResponse&& from) noexcept + : CreateArtifactResponse() { + *this = ::std::move(from); + } + + inline CreateArtifactResponse& operator=(CreateArtifactResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CreateArtifactResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateArtifactResponse* internal_default_instance() { + return reinterpret_cast( + &_CreateArtifactResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + void Swap(CreateArtifactResponse* other); + friend void swap(CreateArtifactResponse& a, CreateArtifactResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CreateArtifactResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + CreateArtifactResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CreateArtifactResponse& from); + void MergeFrom(const CreateArtifactResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateArtifactResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.artifact.Artifact artifact = 1; + bool has_artifact() const; + void clear_artifact(); + static const int kArtifactFieldNumber = 1; + const ::flyteidl::artifact::Artifact& artifact() const; + ::flyteidl::artifact::Artifact* release_artifact(); + ::flyteidl::artifact::Artifact* mutable_artifact(); + void set_allocated_artifact(::flyteidl::artifact::Artifact* artifact); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::artifact::Artifact* artifact_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class GetArtifactRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.GetArtifactRequest) */ { + public: + GetArtifactRequest(); + virtual ~GetArtifactRequest(); + + GetArtifactRequest(const GetArtifactRequest& from); + + inline GetArtifactRequest& operator=(const GetArtifactRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + GetArtifactRequest(GetArtifactRequest&& from) noexcept + : GetArtifactRequest() { + *this = ::std::move(from); + } + + inline GetArtifactRequest& operator=(GetArtifactRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const GetArtifactRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetArtifactRequest* internal_default_instance() { + return reinterpret_cast( + &_GetArtifactRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + void Swap(GetArtifactRequest* other); + friend void swap(GetArtifactRequest& a, GetArtifactRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline GetArtifactRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetArtifactRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const GetArtifactRequest& from); + void MergeFrom(const GetArtifactRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetArtifactRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.ArtifactQuery query = 1; + bool has_query() const; + void clear_query(); + static const int kQueryFieldNumber = 1; + const ::flyteidl::core::ArtifactQuery& query() const; + ::flyteidl::core::ArtifactQuery* release_query(); + ::flyteidl::core::ArtifactQuery* mutable_query(); + void set_allocated_query(::flyteidl::core::ArtifactQuery* query); + + // bool details = 2; + void clear_details(); + static const int kDetailsFieldNumber = 2; + bool details() const; + void set_details(bool value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::ArtifactQuery* query_; + bool details_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class GetArtifactResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.GetArtifactResponse) */ { + public: + GetArtifactResponse(); + virtual ~GetArtifactResponse(); + + GetArtifactResponse(const GetArtifactResponse& from); + + inline GetArtifactResponse& operator=(const GetArtifactResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + GetArtifactResponse(GetArtifactResponse&& from) noexcept + : GetArtifactResponse() { + *this = ::std::move(from); + } + + inline GetArtifactResponse& operator=(GetArtifactResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const GetArtifactResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetArtifactResponse* internal_default_instance() { + return reinterpret_cast( + &_GetArtifactResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + void Swap(GetArtifactResponse* other); + friend void swap(GetArtifactResponse& a, GetArtifactResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline GetArtifactResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetArtifactResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const GetArtifactResponse& from); + void MergeFrom(const GetArtifactResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetArtifactResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.artifact.Artifact artifact = 1; + bool has_artifact() const; + void clear_artifact(); + static const int kArtifactFieldNumber = 1; + const ::flyteidl::artifact::Artifact& artifact() const; + ::flyteidl::artifact::Artifact* release_artifact(); + ::flyteidl::artifact::Artifact* mutable_artifact(); + void set_allocated_artifact(::flyteidl::artifact::Artifact* artifact); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::artifact::Artifact* artifact_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ListArtifactNamesRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ListArtifactNamesRequest) */ { + public: + ListArtifactNamesRequest(); + virtual ~ListArtifactNamesRequest(); + + ListArtifactNamesRequest(const ListArtifactNamesRequest& from); + + inline ListArtifactNamesRequest& operator=(const ListArtifactNamesRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ListArtifactNamesRequest(ListArtifactNamesRequest&& from) noexcept + : ListArtifactNamesRequest() { + *this = ::std::move(from); + } + + inline ListArtifactNamesRequest& operator=(ListArtifactNamesRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ListArtifactNamesRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ListArtifactNamesRequest* internal_default_instance() { + return reinterpret_cast( + &_ListArtifactNamesRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + void Swap(ListArtifactNamesRequest* other); + friend void swap(ListArtifactNamesRequest& a, ListArtifactNamesRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ListArtifactNamesRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + ListArtifactNamesRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ListArtifactNamesRequest& from); + void MergeFrom(const ListArtifactNamesRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ListArtifactNamesRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string project = 1; + void clear_project(); + static const int kProjectFieldNumber = 1; + const ::std::string& project() const; + void set_project(const ::std::string& value); + #if LANG_CXX11 + void set_project(::std::string&& value); + #endif + void set_project(const char* value); + void set_project(const char* value, size_t size); + ::std::string* mutable_project(); + ::std::string* release_project(); + void set_allocated_project(::std::string* project); + + // string domain = 2; + void clear_domain(); + static const int kDomainFieldNumber = 2; + const ::std::string& domain() const; + void set_domain(const ::std::string& value); + #if LANG_CXX11 + void set_domain(::std::string&& value); + #endif + void set_domain(const char* value); + void set_domain(const char* value, size_t size); + ::std::string* mutable_domain(); + ::std::string* release_domain(); + void set_allocated_domain(::std::string* domain); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactNamesRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr domain_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ListArtifactNamesResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ListArtifactNamesResponse) */ { + public: + ListArtifactNamesResponse(); + virtual ~ListArtifactNamesResponse(); + + ListArtifactNamesResponse(const ListArtifactNamesResponse& from); + + inline ListArtifactNamesResponse& operator=(const ListArtifactNamesResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ListArtifactNamesResponse(ListArtifactNamesResponse&& from) noexcept + : ListArtifactNamesResponse() { + *this = ::std::move(from); + } + + inline ListArtifactNamesResponse& operator=(ListArtifactNamesResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ListArtifactNamesResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ListArtifactNamesResponse* internal_default_instance() { + return reinterpret_cast( + &_ListArtifactNamesResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + void Swap(ListArtifactNamesResponse* other); + friend void swap(ListArtifactNamesResponse& a, ListArtifactNamesResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ListArtifactNamesResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + ListArtifactNamesResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ListArtifactNamesResponse& from); + void MergeFrom(const ListArtifactNamesResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ListArtifactNamesResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + int artifact_keys_size() const; + void clear_artifact_keys(); + static const int kArtifactKeysFieldNumber = 1; + ::flyteidl::core::ArtifactKey* mutable_artifact_keys(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactKey >* + mutable_artifact_keys(); + const ::flyteidl::core::ArtifactKey& artifact_keys(int index) const; + ::flyteidl::core::ArtifactKey* add_artifact_keys(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactKey >& + artifact_keys() const; + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactNamesResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactKey > artifact_keys_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ListArtifactsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ListArtifactsRequest) */ { + public: + ListArtifactsRequest(); + virtual ~ListArtifactsRequest(); + + ListArtifactsRequest(const ListArtifactsRequest& from); + + inline ListArtifactsRequest& operator=(const ListArtifactsRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ListArtifactsRequest(ListArtifactsRequest&& from) noexcept + : ListArtifactsRequest() { + *this = ::std::move(from); + } + + inline ListArtifactsRequest& operator=(ListArtifactsRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ListArtifactsRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ListArtifactsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListArtifactsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + void Swap(ListArtifactsRequest* other); + friend void swap(ListArtifactsRequest& a, ListArtifactsRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ListArtifactsRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + ListArtifactsRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ListArtifactsRequest& from); + void MergeFrom(const ListArtifactsRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ListArtifactsRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.ArtifactKey artifact_key = 1; + bool has_artifact_key() const; + void clear_artifact_key(); + static const int kArtifactKeyFieldNumber = 1; + const ::flyteidl::core::ArtifactKey& artifact_key() const; + ::flyteidl::core::ArtifactKey* release_artifact_key(); + ::flyteidl::core::ArtifactKey* mutable_artifact_key(); + void set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactsRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::ArtifactKey* artifact_key_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ListArtifactsResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ListArtifactsResponse) */ { + public: + ListArtifactsResponse(); + virtual ~ListArtifactsResponse(); + + ListArtifactsResponse(const ListArtifactsResponse& from); + + inline ListArtifactsResponse& operator=(const ListArtifactsResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ListArtifactsResponse(ListArtifactsResponse&& from) noexcept + : ListArtifactsResponse() { + *this = ::std::move(from); + } + + inline ListArtifactsResponse& operator=(ListArtifactsResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ListArtifactsResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ListArtifactsResponse* internal_default_instance() { + return reinterpret_cast( + &_ListArtifactsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + void Swap(ListArtifactsResponse* other); + friend void swap(ListArtifactsResponse& a, ListArtifactsResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ListArtifactsResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + ListArtifactsResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ListArtifactsResponse& from); + void MergeFrom(const ListArtifactsResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ListArtifactsResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.artifact.Artifact artifacts = 1; + int artifacts_size() const; + void clear_artifacts(); + static const int kArtifactsFieldNumber = 1; + ::flyteidl::artifact::Artifact* mutable_artifacts(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >* + mutable_artifacts(); + const ::flyteidl::artifact::Artifact& artifacts(int index) const; + ::flyteidl::artifact::Artifact* add_artifacts(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >& + artifacts() const; + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactsResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact > artifacts_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class AddTagRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.AddTagRequest) */ { + public: + AddTagRequest(); + virtual ~AddTagRequest(); + + AddTagRequest(const AddTagRequest& from); + + inline AddTagRequest& operator=(const AddTagRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + AddTagRequest(AddTagRequest&& from) noexcept + : AddTagRequest() { + *this = ::std::move(from); + } + + inline AddTagRequest& operator=(AddTagRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const AddTagRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const AddTagRequest* internal_default_instance() { + return reinterpret_cast( + &_AddTagRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + void Swap(AddTagRequest* other); + friend void swap(AddTagRequest& a, AddTagRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline AddTagRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + AddTagRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const AddTagRequest& from); + void MergeFrom(const AddTagRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(AddTagRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string value = 2; + void clear_value(); + static const int kValueFieldNumber = 2; + const ::std::string& value() const; + void set_value(const ::std::string& value); + #if LANG_CXX11 + void set_value(::std::string&& value); + #endif + void set_value(const char* value); + void set_value(const char* value, size_t size); + ::std::string* mutable_value(); + ::std::string* release_value(); + void set_allocated_value(::std::string* value); + + // .flyteidl.core.ArtifactID artifact_id = 1; + bool has_artifact_id() const; + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 1; + const ::flyteidl::core::ArtifactID& artifact_id() const; + ::flyteidl::core::ArtifactID* release_artifact_id(); + ::flyteidl::core::ArtifactID* mutable_artifact_id(); + void set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id); + + // bool overwrite = 3; + void clear_overwrite(); + static const int kOverwriteFieldNumber = 3; + bool overwrite() const; + void set_overwrite(bool value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.AddTagRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr value_; + ::flyteidl::core::ArtifactID* artifact_id_; + bool overwrite_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class AddTagResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.AddTagResponse) */ { + public: + AddTagResponse(); + virtual ~AddTagResponse(); + + AddTagResponse(const AddTagResponse& from); + + inline AddTagResponse& operator=(const AddTagResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + AddTagResponse(AddTagResponse&& from) noexcept + : AddTagResponse() { + *this = ::std::move(from); + } + + inline AddTagResponse& operator=(AddTagResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const AddTagResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const AddTagResponse* internal_default_instance() { + return reinterpret_cast( + &_AddTagResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + void Swap(AddTagResponse* other); + friend void swap(AddTagResponse& a, AddTagResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline AddTagResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + AddTagResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const AddTagResponse& from); + void MergeFrom(const AddTagResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(AddTagResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.AddTagResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateTriggerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.CreateTriggerRequest) */ { + public: + CreateTriggerRequest(); + virtual ~CreateTriggerRequest(); + + CreateTriggerRequest(const CreateTriggerRequest& from); + + inline CreateTriggerRequest& operator=(const CreateTriggerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CreateTriggerRequest(CreateTriggerRequest&& from) noexcept + : CreateTriggerRequest() { + *this = ::std::move(from); + } + + inline CreateTriggerRequest& operator=(CreateTriggerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CreateTriggerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateTriggerRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateTriggerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + void Swap(CreateTriggerRequest* other); + friend void swap(CreateTriggerRequest& a, CreateTriggerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CreateTriggerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + CreateTriggerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CreateTriggerRequest& from); + void MergeFrom(const CreateTriggerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateTriggerRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + bool has_trigger_launch_plan() const; + void clear_trigger_launch_plan(); + static const int kTriggerLaunchPlanFieldNumber = 1; + const ::flyteidl::admin::LaunchPlan& trigger_launch_plan() const; + ::flyteidl::admin::LaunchPlan* release_trigger_launch_plan(); + ::flyteidl::admin::LaunchPlan* mutable_trigger_launch_plan(); + void set_allocated_trigger_launch_plan(::flyteidl::admin::LaunchPlan* trigger_launch_plan); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateTriggerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::LaunchPlan* trigger_launch_plan_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateTriggerResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.CreateTriggerResponse) */ { + public: + CreateTriggerResponse(); + virtual ~CreateTriggerResponse(); + + CreateTriggerResponse(const CreateTriggerResponse& from); + + inline CreateTriggerResponse& operator=(const CreateTriggerResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CreateTriggerResponse(CreateTriggerResponse&& from) noexcept + : CreateTriggerResponse() { + *this = ::std::move(from); + } + + inline CreateTriggerResponse& operator=(CreateTriggerResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CreateTriggerResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateTriggerResponse* internal_default_instance() { + return reinterpret_cast( + &_CreateTriggerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + void Swap(CreateTriggerResponse* other); + friend void swap(CreateTriggerResponse& a, CreateTriggerResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CreateTriggerResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + CreateTriggerResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CreateTriggerResponse& from); + void MergeFrom(const CreateTriggerResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateTriggerResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateTriggerResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class DeleteTriggerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerRequest) */ { + public: + DeleteTriggerRequest(); + virtual ~DeleteTriggerRequest(); + + DeleteTriggerRequest(const DeleteTriggerRequest& from); + + inline DeleteTriggerRequest& operator=(const DeleteTriggerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DeleteTriggerRequest(DeleteTriggerRequest&& from) noexcept + : DeleteTriggerRequest() { + *this = ::std::move(from); + } + + inline DeleteTriggerRequest& operator=(DeleteTriggerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DeleteTriggerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DeleteTriggerRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteTriggerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + void Swap(DeleteTriggerRequest* other); + friend void swap(DeleteTriggerRequest& a, DeleteTriggerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DeleteTriggerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + DeleteTriggerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DeleteTriggerRequest& from); + void MergeFrom(const DeleteTriggerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DeleteTriggerRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.Identifier trigger_id = 1; + bool has_trigger_id() const; + void clear_trigger_id(); + static const int kTriggerIdFieldNumber = 1; + const ::flyteidl::core::Identifier& trigger_id() const; + ::flyteidl::core::Identifier* release_trigger_id(); + ::flyteidl::core::Identifier* mutable_trigger_id(); + void set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::Identifier* trigger_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class DeleteTriggerResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerResponse) */ { + public: + DeleteTriggerResponse(); + virtual ~DeleteTriggerResponse(); + + DeleteTriggerResponse(const DeleteTriggerResponse& from); + + inline DeleteTriggerResponse& operator=(const DeleteTriggerResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DeleteTriggerResponse(DeleteTriggerResponse&& from) noexcept + : DeleteTriggerResponse() { + *this = ::std::move(from); + } + + inline DeleteTriggerResponse& operator=(DeleteTriggerResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DeleteTriggerResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DeleteTriggerResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteTriggerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + void Swap(DeleteTriggerResponse* other); + friend void swap(DeleteTriggerResponse& a, DeleteTriggerResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DeleteTriggerResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + DeleteTriggerResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DeleteTriggerResponse& from); + void MergeFrom(const DeleteTriggerResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DeleteTriggerResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactProducer final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ArtifactProducer) */ { + public: + ArtifactProducer(); + virtual ~ArtifactProducer(); + + ArtifactProducer(const ArtifactProducer& from); + + inline ArtifactProducer& operator=(const ArtifactProducer& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactProducer(ArtifactProducer&& from) noexcept + : ArtifactProducer() { + *this = ::std::move(from); + } + + inline ArtifactProducer& operator=(ArtifactProducer&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactProducer& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactProducer* internal_default_instance() { + return reinterpret_cast( + &_ArtifactProducer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + void Swap(ArtifactProducer* other); + friend void swap(ArtifactProducer& a, ArtifactProducer& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactProducer* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactProducer* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactProducer& from); + void MergeFrom(const ArtifactProducer& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactProducer* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.Identifier entity_id = 1; + bool has_entity_id() const; + void clear_entity_id(); + static const int kEntityIdFieldNumber = 1; + const ::flyteidl::core::Identifier& entity_id() const; + ::flyteidl::core::Identifier* release_entity_id(); + ::flyteidl::core::Identifier* mutable_entity_id(); + void set_allocated_entity_id(::flyteidl::core::Identifier* entity_id); + + // .flyteidl.core.VariableMap outputs = 2; + bool has_outputs() const; + void clear_outputs(); + static const int kOutputsFieldNumber = 2; + const ::flyteidl::core::VariableMap& outputs() const; + ::flyteidl::core::VariableMap* release_outputs(); + ::flyteidl::core::VariableMap* mutable_outputs(); + void set_allocated_outputs(::flyteidl::core::VariableMap* outputs); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactProducer) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::Identifier* entity_id_; + ::flyteidl::core::VariableMap* outputs_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class RegisterProducerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.RegisterProducerRequest) */ { + public: + RegisterProducerRequest(); + virtual ~RegisterProducerRequest(); + + RegisterProducerRequest(const RegisterProducerRequest& from); + + inline RegisterProducerRequest& operator=(const RegisterProducerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RegisterProducerRequest(RegisterProducerRequest&& from) noexcept + : RegisterProducerRequest() { + *this = ::std::move(from); + } + + inline RegisterProducerRequest& operator=(RegisterProducerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const RegisterProducerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RegisterProducerRequest* internal_default_instance() { + return reinterpret_cast( + &_RegisterProducerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + void Swap(RegisterProducerRequest* other); + friend void swap(RegisterProducerRequest& a, RegisterProducerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RegisterProducerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + RegisterProducerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RegisterProducerRequest& from); + void MergeFrom(const RegisterProducerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RegisterProducerRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + int producers_size() const; + void clear_producers(); + static const int kProducersFieldNumber = 1; + ::flyteidl::artifact::ArtifactProducer* mutable_producers(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >* + mutable_producers(); + const ::flyteidl::artifact::ArtifactProducer& producers(int index) const; + ::flyteidl::artifact::ArtifactProducer* add_producers(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >& + producers() const; + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterProducerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer > producers_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactConsumer final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ArtifactConsumer) */ { + public: + ArtifactConsumer(); + virtual ~ArtifactConsumer(); + + ArtifactConsumer(const ArtifactConsumer& from); + + inline ArtifactConsumer& operator=(const ArtifactConsumer& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactConsumer(ArtifactConsumer&& from) noexcept + : ArtifactConsumer() { + *this = ::std::move(from); + } + + inline ArtifactConsumer& operator=(ArtifactConsumer&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactConsumer& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactConsumer* internal_default_instance() { + return reinterpret_cast( + &_ArtifactConsumer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + void Swap(ArtifactConsumer* other); + friend void swap(ArtifactConsumer& a, ArtifactConsumer& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactConsumer* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactConsumer* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactConsumer& from); + void MergeFrom(const ArtifactConsumer& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactConsumer* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.Identifier entity_id = 1; + bool has_entity_id() const; + void clear_entity_id(); + static const int kEntityIdFieldNumber = 1; + const ::flyteidl::core::Identifier& entity_id() const; + ::flyteidl::core::Identifier* release_entity_id(); + ::flyteidl::core::Identifier* mutable_entity_id(); + void set_allocated_entity_id(::flyteidl::core::Identifier* entity_id); + + // .flyteidl.core.ParameterMap inputs = 2; + bool has_inputs() const; + void clear_inputs(); + static const int kInputsFieldNumber = 2; + const ::flyteidl::core::ParameterMap& inputs() const; + ::flyteidl::core::ParameterMap* release_inputs(); + ::flyteidl::core::ParameterMap* mutable_inputs(); + void set_allocated_inputs(::flyteidl::core::ParameterMap* inputs); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactConsumer) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::Identifier* entity_id_; + ::flyteidl::core::ParameterMap* inputs_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class RegisterConsumerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.RegisterConsumerRequest) */ { + public: + RegisterConsumerRequest(); + virtual ~RegisterConsumerRequest(); + + RegisterConsumerRequest(const RegisterConsumerRequest& from); + + inline RegisterConsumerRequest& operator=(const RegisterConsumerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RegisterConsumerRequest(RegisterConsumerRequest&& from) noexcept + : RegisterConsumerRequest() { + *this = ::std::move(from); + } + + inline RegisterConsumerRequest& operator=(RegisterConsumerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const RegisterConsumerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RegisterConsumerRequest* internal_default_instance() { + return reinterpret_cast( + &_RegisterConsumerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + void Swap(RegisterConsumerRequest* other); + friend void swap(RegisterConsumerRequest& a, RegisterConsumerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RegisterConsumerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + RegisterConsumerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RegisterConsumerRequest& from); + void MergeFrom(const RegisterConsumerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RegisterConsumerRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + int consumers_size() const; + void clear_consumers(); + static const int kConsumersFieldNumber = 1; + ::flyteidl::artifact::ArtifactConsumer* mutable_consumers(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >* + mutable_consumers(); + const ::flyteidl::artifact::ArtifactConsumer& consumers(int index) const; + ::flyteidl::artifact::ArtifactConsumer* add_consumers(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >& + consumers() const; + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterConsumerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer > consumers_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class RegisterResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.RegisterResponse) */ { + public: + RegisterResponse(); + virtual ~RegisterResponse(); + + RegisterResponse(const RegisterResponse& from); + + inline RegisterResponse& operator=(const RegisterResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RegisterResponse(RegisterResponse&& from) noexcept + : RegisterResponse() { + *this = ::std::move(from); + } + + inline RegisterResponse& operator=(RegisterResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const RegisterResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RegisterResponse* internal_default_instance() { + return reinterpret_cast( + &_RegisterResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + void Swap(RegisterResponse* other); + friend void swap(RegisterResponse& a, RegisterResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RegisterResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + RegisterResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RegisterResponse& from); + void MergeFrom(const RegisterResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RegisterResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Artifact + +// .flyteidl.core.ArtifactID artifact_id = 1; +inline bool Artifact::has_artifact_id() const { + return this != internal_default_instance() && artifact_id_ != nullptr; +} +inline const ::flyteidl::core::ArtifactID& Artifact::artifact_id() const { + const ::flyteidl::core::ArtifactID* p = artifact_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.Artifact.artifact_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* Artifact::release_artifact_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.Artifact.artifact_id) + + ::flyteidl::core::ArtifactID* temp = artifact_id_; + artifact_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactID* Artifact::mutable_artifact_id() { + + if (artifact_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactID>(GetArenaNoVirtual()); + artifact_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.Artifact.artifact_id) + return artifact_id_; +} +inline void Artifact::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_id_); + } + if (artifact_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_id, submessage_arena); + } + + } else { + + } + artifact_id_ = artifact_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.Artifact.artifact_id) +} + +// .flyteidl.artifact.ArtifactSpec spec = 2; +inline bool Artifact::has_spec() const { + return this != internal_default_instance() && spec_ != nullptr; +} +inline void Artifact::clear_spec() { + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; +} +inline const ::flyteidl::artifact::ArtifactSpec& Artifact::spec() const { + const ::flyteidl::artifact::ArtifactSpec* p = spec_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.Artifact.spec) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_ArtifactSpec_default_instance_); +} +inline ::flyteidl::artifact::ArtifactSpec* Artifact::release_spec() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.Artifact.spec) + + ::flyteidl::artifact::ArtifactSpec* temp = spec_; + spec_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::ArtifactSpec* Artifact::mutable_spec() { + + if (spec_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::ArtifactSpec>(GetArenaNoVirtual()); + spec_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.Artifact.spec) + return spec_; +} +inline void Artifact::set_allocated_spec(::flyteidl::artifact::ArtifactSpec* spec) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete spec_; + } + if (spec) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + spec = ::google::protobuf::internal::GetOwnedMessage( + message_arena, spec, submessage_arena); + } + + } else { + + } + spec_ = spec; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.Artifact.spec) +} + +// repeated string tags = 3; +inline int Artifact::tags_size() const { + return tags_.size(); +} +inline void Artifact::clear_tags() { + tags_.Clear(); +} +inline const ::std::string& Artifact::tags(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.Artifact.tags) + return tags_.Get(index); +} +inline ::std::string* Artifact::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.Artifact.tags) + return tags_.Mutable(index); +} +inline void Artifact::set_tags(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.artifact.Artifact.tags) + tags_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void Artifact::set_tags(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.artifact.Artifact.tags) + tags_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void Artifact::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.Artifact.tags) +} +inline void Artifact::set_tags(int index, const char* value, size_t size) { + tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.Artifact.tags) +} +inline ::std::string* Artifact::add_tags() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.artifact.Artifact.tags) + return tags_.Add(); +} +inline void Artifact::add_tags(const ::std::string& value) { + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.artifact.Artifact.tags) +} +#if LANG_CXX11 +inline void Artifact::add_tags(::std::string&& value) { + tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.artifact.Artifact.tags) +} +#endif +inline void Artifact::add_tags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.artifact.Artifact.tags) +} +inline void Artifact::add_tags(const char* value, size_t size) { + tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.artifact.Artifact.tags) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +Artifact::tags() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.Artifact.tags) + return tags_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* +Artifact::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.Artifact.tags) + return &tags_; +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// CreateArtifactRequest + +// .flyteidl.core.ArtifactKey artifact_key = 1; +inline bool CreateArtifactRequest::has_artifact_key() const { + return this != internal_default_instance() && artifact_key_ != nullptr; +} +inline const ::flyteidl::core::ArtifactKey& CreateArtifactRequest::artifact_key() const { + const ::flyteidl::core::ArtifactKey* p = artifact_key_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.artifact_key) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactKey_default_instance_); +} +inline ::flyteidl::core::ArtifactKey* CreateArtifactRequest::release_artifact_key() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.artifact_key) + + ::flyteidl::core::ArtifactKey* temp = artifact_key_; + artifact_key_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactKey* CreateArtifactRequest::mutable_artifact_key() { + + if (artifact_key_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); + artifact_key_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.artifact_key) + return artifact_key_; +} +inline void CreateArtifactRequest::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_key_); + } + if (artifact_key) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_key = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_key, submessage_arena); + } + + } else { + + } + artifact_key_ = artifact_key; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactRequest.artifact_key) +} + +// string version = 3; +inline void CreateArtifactRequest::clear_version() { + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& CreateArtifactRequest::version() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.version) + return version_.GetNoArena(); +} +inline void CreateArtifactRequest::set_version(const ::std::string& value) { + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.CreateArtifactRequest.version) +} +#if LANG_CXX11 +inline void CreateArtifactRequest::set_version(::std::string&& value) { + + version_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.CreateArtifactRequest.version) +} +#endif +inline void CreateArtifactRequest::set_version(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.CreateArtifactRequest.version) +} +inline void CreateArtifactRequest::set_version(const char* value, size_t size) { + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.CreateArtifactRequest.version) +} +inline ::std::string* CreateArtifactRequest::mutable_version() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.version) + return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CreateArtifactRequest::release_version() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.version) + + return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CreateArtifactRequest::set_allocated_version(::std::string* version) { + if (version != nullptr) { + + } else { + + } + version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactRequest.version) +} + +// .flyteidl.artifact.ArtifactSpec spec = 2; +inline bool CreateArtifactRequest::has_spec() const { + return this != internal_default_instance() && spec_ != nullptr; +} +inline void CreateArtifactRequest::clear_spec() { + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; +} +inline const ::flyteidl::artifact::ArtifactSpec& CreateArtifactRequest::spec() const { + const ::flyteidl::artifact::ArtifactSpec* p = spec_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.spec) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_ArtifactSpec_default_instance_); +} +inline ::flyteidl::artifact::ArtifactSpec* CreateArtifactRequest::release_spec() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.spec) + + ::flyteidl::artifact::ArtifactSpec* temp = spec_; + spec_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::ArtifactSpec* CreateArtifactRequest::mutable_spec() { + + if (spec_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::ArtifactSpec>(GetArenaNoVirtual()); + spec_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.spec) + return spec_; +} +inline void CreateArtifactRequest::set_allocated_spec(::flyteidl::artifact::ArtifactSpec* spec) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete spec_; + } + if (spec) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + spec = ::google::protobuf::internal::GetOwnedMessage( + message_arena, spec, submessage_arena); + } + + } else { + + } + spec_ = spec; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactRequest.spec) +} + +// map partitions = 4; +inline int CreateArtifactRequest::partitions_size() const { + return partitions_.size(); +} +inline void CreateArtifactRequest::clear_partitions() { + partitions_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::std::string >& +CreateArtifactRequest::partitions() const { + // @@protoc_insertion_point(field_map:flyteidl.artifact.CreateArtifactRequest.partitions) + return partitions_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::std::string >* +CreateArtifactRequest::mutable_partitions() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.artifact.CreateArtifactRequest.partitions) + return partitions_.MutableMap(); +} + +// string tag = 5; +inline void CreateArtifactRequest::clear_tag() { + tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& CreateArtifactRequest::tag() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.tag) + return tag_.GetNoArena(); +} +inline void CreateArtifactRequest::set_tag(const ::std::string& value) { + + tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.CreateArtifactRequest.tag) +} +#if LANG_CXX11 +inline void CreateArtifactRequest::set_tag(::std::string&& value) { + + tag_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.CreateArtifactRequest.tag) +} +#endif +inline void CreateArtifactRequest::set_tag(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.CreateArtifactRequest.tag) +} +inline void CreateArtifactRequest::set_tag(const char* value, size_t size) { + + tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.CreateArtifactRequest.tag) +} +inline ::std::string* CreateArtifactRequest::mutable_tag() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.tag) + return tag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CreateArtifactRequest::release_tag() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.tag) + + return tag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CreateArtifactRequest::set_allocated_tag(::std::string* tag) { + if (tag != nullptr) { + + } else { + + } + tag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tag); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactRequest.tag) +} + +// ------------------------------------------------------------------- + +// ArtifactSpec + +// .flyteidl.core.Literal value = 1; +inline bool ArtifactSpec::has_value() const { + return this != internal_default_instance() && value_ != nullptr; +} +inline const ::flyteidl::core::Literal& ArtifactSpec::value() const { + const ::flyteidl::core::Literal* p = value_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.value) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Literal_default_instance_); +} +inline ::flyteidl::core::Literal* ArtifactSpec::release_value() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.value) + + ::flyteidl::core::Literal* temp = value_; + value_ = nullptr; + return temp; +} +inline ::flyteidl::core::Literal* ArtifactSpec::mutable_value() { + + if (value_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Literal>(GetArenaNoVirtual()); + value_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.value) + return value_; +} +inline void ArtifactSpec::set_allocated_value(::flyteidl::core::Literal* value) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(value_); + } + if (value) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage( + message_arena, value, submessage_arena); + } + + } else { + + } + value_ = value; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.value) +} + +// .flyteidl.core.LiteralType type = 2; +inline bool ArtifactSpec::has_type() const { + return this != internal_default_instance() && type_ != nullptr; +} +inline const ::flyteidl::core::LiteralType& ArtifactSpec::type() const { + const ::flyteidl::core::LiteralType* p = type_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.type) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralType_default_instance_); +} +inline ::flyteidl::core::LiteralType* ArtifactSpec::release_type() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.type) + + ::flyteidl::core::LiteralType* temp = type_; + type_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralType* ArtifactSpec::mutable_type() { + + if (type_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); + type_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.type) + return type_; +} +inline void ArtifactSpec::set_allocated_type(::flyteidl::core::LiteralType* type) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); + } + if (type) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + type = ::google::protobuf::internal::GetOwnedMessage( + message_arena, type, submessage_arena); + } + + } else { + + } + type_ = type; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.type) +} + +// .flyteidl.core.TaskExecutionIdentifier task_execution = 5; +inline bool ArtifactSpec::has_task_execution() const { + return this != internal_default_instance() && task_execution_ != nullptr; +} +inline const ::flyteidl::core::TaskExecutionIdentifier& ArtifactSpec::task_execution() const { + const ::flyteidl::core::TaskExecutionIdentifier* p = task_execution_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.task_execution) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::TaskExecutionIdentifier* ArtifactSpec::release_task_execution() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.task_execution) + + ::flyteidl::core::TaskExecutionIdentifier* temp = task_execution_; + task_execution_ = nullptr; + return temp; +} +inline ::flyteidl::core::TaskExecutionIdentifier* ArtifactSpec::mutable_task_execution() { + + if (task_execution_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(GetArenaNoVirtual()); + task_execution_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.task_execution) + return task_execution_; +} +inline void ArtifactSpec::set_allocated_task_execution(::flyteidl::core::TaskExecutionIdentifier* task_execution) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(task_execution_); + } + if (task_execution) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + task_execution = ::google::protobuf::internal::GetOwnedMessage( + message_arena, task_execution, submessage_arena); + } + + } else { + + } + task_execution_ = task_execution; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.task_execution) +} + +// .flyteidl.core.WorkflowExecutionIdentifier execution = 6; +inline bool ArtifactSpec::has_execution() const { + return this != internal_default_instance() && execution_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& ArtifactSpec::execution() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.execution) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* ArtifactSpec::release_execution() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.execution) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_; + execution_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* ArtifactSpec::mutable_execution() { + + if (execution_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + execution_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.execution) + return execution_; +} +inline void ArtifactSpec::set_allocated_execution(::flyteidl::core::WorkflowExecutionIdentifier* execution) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_); + } + if (execution) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + execution = ::google::protobuf::internal::GetOwnedMessage( + message_arena, execution, submessage_arena); + } + + } else { + + } + execution_ = execution; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.execution) +} + +// string principal = 7; +inline void ArtifactSpec::clear_principal() { + principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSpec::principal() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.principal) + return principal_.GetNoArena(); +} +inline void ArtifactSpec::set_principal(const ::std::string& value) { + + principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSpec.principal) +} +#if LANG_CXX11 +inline void ArtifactSpec::set_principal(::std::string&& value) { + + principal_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSpec.principal) +} +#endif +inline void ArtifactSpec::set_principal(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.ArtifactSpec.principal) +} +inline void ArtifactSpec::set_principal(const char* value, size_t size) { + + principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.ArtifactSpec.principal) +} +inline ::std::string* ArtifactSpec::mutable_principal() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.principal) + return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSpec::release_principal() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.principal) + + return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSpec::set_allocated_principal(::std::string* principal) { + if (principal != nullptr) { + + } else { + + } + principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.principal) +} + +// string short_description = 8; +inline void ArtifactSpec::clear_short_description() { + short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSpec::short_description() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.short_description) + return short_description_.GetNoArena(); +} +inline void ArtifactSpec::set_short_description(const ::std::string& value) { + + short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSpec.short_description) +} +#if LANG_CXX11 +inline void ArtifactSpec::set_short_description(::std::string&& value) { + + short_description_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSpec.short_description) +} +#endif +inline void ArtifactSpec::set_short_description(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.ArtifactSpec.short_description) +} +inline void ArtifactSpec::set_short_description(const char* value, size_t size) { + + short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.ArtifactSpec.short_description) +} +inline ::std::string* ArtifactSpec::mutable_short_description() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.short_description) + return short_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSpec::release_short_description() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.short_description) + + return short_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSpec::set_allocated_short_description(::std::string* short_description) { + if (short_description != nullptr) { + + } else { + + } + short_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), short_description); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.short_description) +} + +// string long_description = 9; +inline void ArtifactSpec::clear_long_description() { + long_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSpec::long_description() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.long_description) + return long_description_.GetNoArena(); +} +inline void ArtifactSpec::set_long_description(const ::std::string& value) { + + long_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSpec.long_description) +} +#if LANG_CXX11 +inline void ArtifactSpec::set_long_description(::std::string&& value) { + + long_description_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSpec.long_description) +} +#endif +inline void ArtifactSpec::set_long_description(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + long_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.ArtifactSpec.long_description) +} +inline void ArtifactSpec::set_long_description(const char* value, size_t size) { + + long_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.ArtifactSpec.long_description) +} +inline ::std::string* ArtifactSpec::mutable_long_description() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.long_description) + return long_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSpec::release_long_description() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.long_description) + + return long_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSpec::set_allocated_long_description(::std::string* long_description) { + if (long_description != nullptr) { + + } else { + + } + long_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), long_description); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.long_description) +} + +// .google.protobuf.Any user_metadata = 10; +inline bool ArtifactSpec::has_user_metadata() const { + return this != internal_default_instance() && user_metadata_ != nullptr; +} +inline const ::google::protobuf::Any& ArtifactSpec::user_metadata() const { + const ::google::protobuf::Any* p = user_metadata_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.user_metadata) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Any_default_instance_); +} +inline ::google::protobuf::Any* ArtifactSpec::release_user_metadata() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.user_metadata) + + ::google::protobuf::Any* temp = user_metadata_; + user_metadata_ = nullptr; + return temp; +} +inline ::google::protobuf::Any* ArtifactSpec::mutable_user_metadata() { + + if (user_metadata_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual()); + user_metadata_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.user_metadata) + return user_metadata_; +} +inline void ArtifactSpec::set_allocated_user_metadata(::google::protobuf::Any* user_metadata) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(user_metadata_); + } + if (user_metadata) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + user_metadata = ::google::protobuf::internal::GetOwnedMessage( + message_arena, user_metadata, submessage_arena); + } + + } else { + + } + user_metadata_ = user_metadata; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.user_metadata) +} + +// string metadata_type = 11; +inline void ArtifactSpec::clear_metadata_type() { + metadata_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSpec::metadata_type() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.metadata_type) + return metadata_type_.GetNoArena(); +} +inline void ArtifactSpec::set_metadata_type(const ::std::string& value) { + + metadata_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSpec.metadata_type) +} +#if LANG_CXX11 +inline void ArtifactSpec::set_metadata_type(::std::string&& value) { + + metadata_type_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSpec.metadata_type) +} +#endif +inline void ArtifactSpec::set_metadata_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + metadata_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.ArtifactSpec.metadata_type) +} +inline void ArtifactSpec::set_metadata_type(const char* value, size_t size) { + + metadata_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.ArtifactSpec.metadata_type) +} +inline ::std::string* ArtifactSpec::mutable_metadata_type() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.metadata_type) + return metadata_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSpec::release_metadata_type() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.metadata_type) + + return metadata_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSpec::set_allocated_metadata_type(::std::string* metadata_type) { + if (metadata_type != nullptr) { + + } else { + + } + metadata_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), metadata_type); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.metadata_type) +} + +// ------------------------------------------------------------------- + +// CreateArtifactResponse + +// .flyteidl.artifact.Artifact artifact = 1; +inline bool CreateArtifactResponse::has_artifact() const { + return this != internal_default_instance() && artifact_ != nullptr; +} +inline void CreateArtifactResponse::clear_artifact() { + if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { + delete artifact_; + } + artifact_ = nullptr; +} +inline const ::flyteidl::artifact::Artifact& CreateArtifactResponse::artifact() const { + const ::flyteidl::artifact::Artifact* p = artifact_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactResponse.artifact) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_Artifact_default_instance_); +} +inline ::flyteidl::artifact::Artifact* CreateArtifactResponse::release_artifact() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactResponse.artifact) + + ::flyteidl::artifact::Artifact* temp = artifact_; + artifact_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::Artifact* CreateArtifactResponse::mutable_artifact() { + + if (artifact_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::Artifact>(GetArenaNoVirtual()); + artifact_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactResponse.artifact) + return artifact_; +} +inline void CreateArtifactResponse::set_allocated_artifact(::flyteidl::artifact::Artifact* artifact) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete artifact_; + } + if (artifact) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact, submessage_arena); + } + + } else { + + } + artifact_ = artifact; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactResponse.artifact) +} + +// ------------------------------------------------------------------- + +// GetArtifactRequest + +// .flyteidl.core.ArtifactQuery query = 1; +inline bool GetArtifactRequest::has_query() const { + return this != internal_default_instance() && query_ != nullptr; +} +inline const ::flyteidl::core::ArtifactQuery& GetArtifactRequest::query() const { + const ::flyteidl::core::ArtifactQuery* p = query_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.GetArtifactRequest.query) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactQuery_default_instance_); +} +inline ::flyteidl::core::ArtifactQuery* GetArtifactRequest::release_query() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.GetArtifactRequest.query) + + ::flyteidl::core::ArtifactQuery* temp = query_; + query_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactQuery* GetArtifactRequest::mutable_query() { + + if (query_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactQuery>(GetArenaNoVirtual()); + query_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.GetArtifactRequest.query) + return query_; +} +inline void GetArtifactRequest::set_allocated_query(::flyteidl::core::ArtifactQuery* query) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(query_); + } + if (query) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + query = ::google::protobuf::internal::GetOwnedMessage( + message_arena, query, submessage_arena); + } + + } else { + + } + query_ = query; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.GetArtifactRequest.query) +} + +// bool details = 2; +inline void GetArtifactRequest::clear_details() { + details_ = false; +} +inline bool GetArtifactRequest::details() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.GetArtifactRequest.details) + return details_; +} +inline void GetArtifactRequest::set_details(bool value) { + + details_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.GetArtifactRequest.details) +} + +// ------------------------------------------------------------------- + +// GetArtifactResponse + +// .flyteidl.artifact.Artifact artifact = 1; +inline bool GetArtifactResponse::has_artifact() const { + return this != internal_default_instance() && artifact_ != nullptr; +} +inline void GetArtifactResponse::clear_artifact() { + if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { + delete artifact_; + } + artifact_ = nullptr; +} +inline const ::flyteidl::artifact::Artifact& GetArtifactResponse::artifact() const { + const ::flyteidl::artifact::Artifact* p = artifact_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.GetArtifactResponse.artifact) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_Artifact_default_instance_); +} +inline ::flyteidl::artifact::Artifact* GetArtifactResponse::release_artifact() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.GetArtifactResponse.artifact) + + ::flyteidl::artifact::Artifact* temp = artifact_; + artifact_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::Artifact* GetArtifactResponse::mutable_artifact() { + + if (artifact_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::Artifact>(GetArenaNoVirtual()); + artifact_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.GetArtifactResponse.artifact) + return artifact_; +} +inline void GetArtifactResponse::set_allocated_artifact(::flyteidl::artifact::Artifact* artifact) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete artifact_; + } + if (artifact) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact, submessage_arena); + } + + } else { + + } + artifact_ = artifact; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.GetArtifactResponse.artifact) +} + +// ------------------------------------------------------------------- + +// ListArtifactNamesRequest + +// string project = 1; +inline void ListArtifactNamesRequest::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ListArtifactNamesRequest::project() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ListArtifactNamesRequest.project) + return project_.GetNoArena(); +} +inline void ListArtifactNamesRequest::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ListArtifactNamesRequest.project) +} +#if LANG_CXX11 +inline void ListArtifactNamesRequest::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ListArtifactNamesRequest.project) +} +#endif +inline void ListArtifactNamesRequest::set_project(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.ListArtifactNamesRequest.project) +} +inline void ListArtifactNamesRequest::set_project(const char* value, size_t size) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.ListArtifactNamesRequest.project) +} +inline ::std::string* ListArtifactNamesRequest::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ListArtifactNamesRequest.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ListArtifactNamesRequest::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ListArtifactNamesRequest.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ListArtifactNamesRequest::set_allocated_project(::std::string* project) { + if (project != nullptr) { + + } else { + + } + project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ListArtifactNamesRequest.project) +} + +// string domain = 2; +inline void ListArtifactNamesRequest::clear_domain() { + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ListArtifactNamesRequest::domain() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ListArtifactNamesRequest.domain) + return domain_.GetNoArena(); +} +inline void ListArtifactNamesRequest::set_domain(const ::std::string& value) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ListArtifactNamesRequest.domain) +} +#if LANG_CXX11 +inline void ListArtifactNamesRequest::set_domain(::std::string&& value) { + + domain_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ListArtifactNamesRequest.domain) +} +#endif +inline void ListArtifactNamesRequest::set_domain(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.ListArtifactNamesRequest.domain) +} +inline void ListArtifactNamesRequest::set_domain(const char* value, size_t size) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.ListArtifactNamesRequest.domain) +} +inline ::std::string* ListArtifactNamesRequest::mutable_domain() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ListArtifactNamesRequest.domain) + return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ListArtifactNamesRequest::release_domain() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ListArtifactNamesRequest.domain) + + return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ListArtifactNamesRequest::set_allocated_domain(::std::string* domain) { + if (domain != nullptr) { + + } else { + + } + domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ListArtifactNamesRequest.domain) +} + +// ------------------------------------------------------------------- + +// ListArtifactNamesResponse + +// repeated .flyteidl.core.ArtifactKey artifact_keys = 1; +inline int ListArtifactNamesResponse::artifact_keys_size() const { + return artifact_keys_.size(); +} +inline ::flyteidl::core::ArtifactKey* ListArtifactNamesResponse::mutable_artifact_keys(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ListArtifactNamesResponse.artifact_keys) + return artifact_keys_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactKey >* +ListArtifactNamesResponse::mutable_artifact_keys() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.ListArtifactNamesResponse.artifact_keys) + return &artifact_keys_; +} +inline const ::flyteidl::core::ArtifactKey& ListArtifactNamesResponse::artifact_keys(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ListArtifactNamesResponse.artifact_keys) + return artifact_keys_.Get(index); +} +inline ::flyteidl::core::ArtifactKey* ListArtifactNamesResponse::add_artifact_keys() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.ListArtifactNamesResponse.artifact_keys) + return artifact_keys_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactKey >& +ListArtifactNamesResponse::artifact_keys() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.ListArtifactNamesResponse.artifact_keys) + return artifact_keys_; +} + +// ------------------------------------------------------------------- + +// ListArtifactsRequest + +// .flyteidl.core.ArtifactKey artifact_key = 1; +inline bool ListArtifactsRequest::has_artifact_key() const { + return this != internal_default_instance() && artifact_key_ != nullptr; +} +inline const ::flyteidl::core::ArtifactKey& ListArtifactsRequest::artifact_key() const { + const ::flyteidl::core::ArtifactKey* p = artifact_key_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ListArtifactsRequest.artifact_key) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactKey_default_instance_); +} +inline ::flyteidl::core::ArtifactKey* ListArtifactsRequest::release_artifact_key() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ListArtifactsRequest.artifact_key) + + ::flyteidl::core::ArtifactKey* temp = artifact_key_; + artifact_key_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactKey* ListArtifactsRequest::mutable_artifact_key() { + + if (artifact_key_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); + artifact_key_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ListArtifactsRequest.artifact_key) + return artifact_key_; +} +inline void ListArtifactsRequest::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_key_); + } + if (artifact_key) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_key = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_key, submessage_arena); + } + + } else { + + } + artifact_key_ = artifact_key; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ListArtifactsRequest.artifact_key) +} + +// ------------------------------------------------------------------- + +// ListArtifactsResponse + +// repeated .flyteidl.artifact.Artifact artifacts = 1; +inline int ListArtifactsResponse::artifacts_size() const { + return artifacts_.size(); +} +inline void ListArtifactsResponse::clear_artifacts() { + artifacts_.Clear(); +} +inline ::flyteidl::artifact::Artifact* ListArtifactsResponse::mutable_artifacts(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ListArtifactsResponse.artifacts) + return artifacts_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >* +ListArtifactsResponse::mutable_artifacts() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.ListArtifactsResponse.artifacts) + return &artifacts_; +} +inline const ::flyteidl::artifact::Artifact& ListArtifactsResponse::artifacts(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ListArtifactsResponse.artifacts) + return artifacts_.Get(index); +} +inline ::flyteidl::artifact::Artifact* ListArtifactsResponse::add_artifacts() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.ListArtifactsResponse.artifacts) + return artifacts_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >& +ListArtifactsResponse::artifacts() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.ListArtifactsResponse.artifacts) + return artifacts_; +} + +// ------------------------------------------------------------------- + +// AddTagRequest + +// .flyteidl.core.ArtifactID artifact_id = 1; +inline bool AddTagRequest::has_artifact_id() const { + return this != internal_default_instance() && artifact_id_ != nullptr; +} +inline const ::flyteidl::core::ArtifactID& AddTagRequest::artifact_id() const { + const ::flyteidl::core::ArtifactID* p = artifact_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.AddTagRequest.artifact_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* AddTagRequest::release_artifact_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.AddTagRequest.artifact_id) + + ::flyteidl::core::ArtifactID* temp = artifact_id_; + artifact_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactID* AddTagRequest::mutable_artifact_id() { + + if (artifact_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactID>(GetArenaNoVirtual()); + artifact_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.AddTagRequest.artifact_id) + return artifact_id_; +} +inline void AddTagRequest::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_id_); + } + if (artifact_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_id, submessage_arena); + } + + } else { + + } + artifact_id_ = artifact_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.AddTagRequest.artifact_id) +} + +// string value = 2; +inline void AddTagRequest::clear_value() { + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& AddTagRequest::value() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.AddTagRequest.value) + return value_.GetNoArena(); +} +inline void AddTagRequest::set_value(const ::std::string& value) { + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.AddTagRequest.value) +} +#if LANG_CXX11 +inline void AddTagRequest::set_value(::std::string&& value) { + + value_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.AddTagRequest.value) +} +#endif +inline void AddTagRequest::set_value(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.AddTagRequest.value) +} +inline void AddTagRequest::set_value(const char* value, size_t size) { + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.AddTagRequest.value) +} +inline ::std::string* AddTagRequest::mutable_value() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.AddTagRequest.value) + return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* AddTagRequest::release_value() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.AddTagRequest.value) + + return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void AddTagRequest::set_allocated_value(::std::string* value) { + if (value != nullptr) { + + } else { + + } + value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.AddTagRequest.value) +} + +// bool overwrite = 3; +inline void AddTagRequest::clear_overwrite() { + overwrite_ = false; +} +inline bool AddTagRequest::overwrite() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.AddTagRequest.overwrite) + return overwrite_; +} +inline void AddTagRequest::set_overwrite(bool value) { + + overwrite_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.AddTagRequest.overwrite) +} + +// ------------------------------------------------------------------- + +// AddTagResponse + +// ------------------------------------------------------------------- + +// CreateTriggerRequest + +// .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; +inline bool CreateTriggerRequest::has_trigger_launch_plan() const { + return this != internal_default_instance() && trigger_launch_plan_ != nullptr; +} +inline const ::flyteidl::admin::LaunchPlan& CreateTriggerRequest::trigger_launch_plan() const { + const ::flyteidl::admin::LaunchPlan* p = trigger_launch_plan_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_LaunchPlan_default_instance_); +} +inline ::flyteidl::admin::LaunchPlan* CreateTriggerRequest::release_trigger_launch_plan() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) + + ::flyteidl::admin::LaunchPlan* temp = trigger_launch_plan_; + trigger_launch_plan_ = nullptr; + return temp; +} +inline ::flyteidl::admin::LaunchPlan* CreateTriggerRequest::mutable_trigger_launch_plan() { + + if (trigger_launch_plan_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::LaunchPlan>(GetArenaNoVirtual()); + trigger_launch_plan_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) + return trigger_launch_plan_; +} +inline void CreateTriggerRequest::set_allocated_trigger_launch_plan(::flyteidl::admin::LaunchPlan* trigger_launch_plan) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_launch_plan_); + } + if (trigger_launch_plan) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + trigger_launch_plan = ::google::protobuf::internal::GetOwnedMessage( + message_arena, trigger_launch_plan, submessage_arena); + } + + } else { + + } + trigger_launch_plan_ = trigger_launch_plan; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) +} + +// ------------------------------------------------------------------- + +// CreateTriggerResponse + +// ------------------------------------------------------------------- + +// DeleteTriggerRequest + +// .flyteidl.core.Identifier trigger_id = 1; +inline bool DeleteTriggerRequest::has_trigger_id() const { + return this != internal_default_instance() && trigger_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& DeleteTriggerRequest::trigger_id() const { + const ::flyteidl::core::Identifier* p = trigger_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* DeleteTriggerRequest::release_trigger_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + + ::flyteidl::core::Identifier* temp = trigger_id_; + trigger_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* DeleteTriggerRequest::mutable_trigger_id() { + + if (trigger_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + trigger_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + return trigger_id_; +} +inline void DeleteTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_id_); + } + if (trigger_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + trigger_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, trigger_id, submessage_arena); + } + + } else { + + } + trigger_id_ = trigger_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.DeleteTriggerRequest.trigger_id) +} + +// ------------------------------------------------------------------- + +// DeleteTriggerResponse + +// ------------------------------------------------------------------- + +// ArtifactProducer + +// .flyteidl.core.Identifier entity_id = 1; +inline bool ArtifactProducer::has_entity_id() const { + return this != internal_default_instance() && entity_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& ArtifactProducer::entity_id() const { + const ::flyteidl::core::Identifier* p = entity_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactProducer.entity_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* ArtifactProducer::release_entity_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactProducer.entity_id) + + ::flyteidl::core::Identifier* temp = entity_id_; + entity_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* ArtifactProducer::mutable_entity_id() { + + if (entity_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + entity_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactProducer.entity_id) + return entity_id_; +} +inline void ArtifactProducer::set_allocated_entity_id(::flyteidl::core::Identifier* entity_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(entity_id_); + } + if (entity_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + entity_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, entity_id, submessage_arena); + } + + } else { + + } + entity_id_ = entity_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactProducer.entity_id) +} + +// .flyteidl.core.VariableMap outputs = 2; +inline bool ArtifactProducer::has_outputs() const { + return this != internal_default_instance() && outputs_ != nullptr; +} +inline const ::flyteidl::core::VariableMap& ArtifactProducer::outputs() const { + const ::flyteidl::core::VariableMap* p = outputs_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactProducer.outputs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_VariableMap_default_instance_); +} +inline ::flyteidl::core::VariableMap* ArtifactProducer::release_outputs() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactProducer.outputs) + + ::flyteidl::core::VariableMap* temp = outputs_; + outputs_ = nullptr; + return temp; +} +inline ::flyteidl::core::VariableMap* ArtifactProducer::mutable_outputs() { + + if (outputs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::VariableMap>(GetArenaNoVirtual()); + outputs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactProducer.outputs) + return outputs_; +} +inline void ArtifactProducer::set_allocated_outputs(::flyteidl::core::VariableMap* outputs) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(outputs_); + } + if (outputs) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + outputs = ::google::protobuf::internal::GetOwnedMessage( + message_arena, outputs, submessage_arena); + } + + } else { + + } + outputs_ = outputs; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactProducer.outputs) +} + +// ------------------------------------------------------------------- + +// RegisterProducerRequest + +// repeated .flyteidl.artifact.ArtifactProducer producers = 1; +inline int RegisterProducerRequest::producers_size() const { + return producers_.size(); +} +inline void RegisterProducerRequest::clear_producers() { + producers_.Clear(); +} +inline ::flyteidl::artifact::ArtifactProducer* RegisterProducerRequest::mutable_producers(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >* +RegisterProducerRequest::mutable_producers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.RegisterProducerRequest.producers) + return &producers_; +} +inline const ::flyteidl::artifact::ArtifactProducer& RegisterProducerRequest::producers(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_.Get(index); +} +inline ::flyteidl::artifact::ArtifactProducer* RegisterProducerRequest::add_producers() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >& +RegisterProducerRequest::producers() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_; +} + +// ------------------------------------------------------------------- + +// ArtifactConsumer + +// .flyteidl.core.Identifier entity_id = 1; +inline bool ArtifactConsumer::has_entity_id() const { + return this != internal_default_instance() && entity_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& ArtifactConsumer::entity_id() const { + const ::flyteidl::core::Identifier* p = entity_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactConsumer.entity_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* ArtifactConsumer::release_entity_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactConsumer.entity_id) + + ::flyteidl::core::Identifier* temp = entity_id_; + entity_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* ArtifactConsumer::mutable_entity_id() { + + if (entity_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + entity_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactConsumer.entity_id) + return entity_id_; +} +inline void ArtifactConsumer::set_allocated_entity_id(::flyteidl::core::Identifier* entity_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(entity_id_); + } + if (entity_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + entity_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, entity_id, submessage_arena); + } + + } else { + + } + entity_id_ = entity_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactConsumer.entity_id) +} + +// .flyteidl.core.ParameterMap inputs = 2; +inline bool ArtifactConsumer::has_inputs() const { + return this != internal_default_instance() && inputs_ != nullptr; +} +inline const ::flyteidl::core::ParameterMap& ArtifactConsumer::inputs() const { + const ::flyteidl::core::ParameterMap* p = inputs_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactConsumer.inputs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ParameterMap_default_instance_); +} +inline ::flyteidl::core::ParameterMap* ArtifactConsumer::release_inputs() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactConsumer.inputs) + + ::flyteidl::core::ParameterMap* temp = inputs_; + inputs_ = nullptr; + return temp; +} +inline ::flyteidl::core::ParameterMap* ArtifactConsumer::mutable_inputs() { + + if (inputs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ParameterMap>(GetArenaNoVirtual()); + inputs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactConsumer.inputs) + return inputs_; +} +inline void ArtifactConsumer::set_allocated_inputs(::flyteidl::core::ParameterMap* inputs) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); + } + if (inputs) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + inputs = ::google::protobuf::internal::GetOwnedMessage( + message_arena, inputs, submessage_arena); + } + + } else { + + } + inputs_ = inputs; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactConsumer.inputs) +} + +// ------------------------------------------------------------------- + +// RegisterConsumerRequest + +// repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; +inline int RegisterConsumerRequest::consumers_size() const { + return consumers_.size(); +} +inline void RegisterConsumerRequest::clear_consumers() { + consumers_.Clear(); +} +inline ::flyteidl::artifact::ArtifactConsumer* RegisterConsumerRequest::mutable_consumers(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >* +RegisterConsumerRequest::mutable_consumers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.RegisterConsumerRequest.consumers) + return &consumers_; +} +inline const ::flyteidl::artifact::ArtifactConsumer& RegisterConsumerRequest::consumers(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_.Get(index); +} +inline ::flyteidl::artifact::ArtifactConsumer* RegisterConsumerRequest::add_consumers() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >& +RegisterConsumerRequest::consumers() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_; +} + +// ------------------------------------------------------------------- + +// RegisterResponse + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace artifact +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fartifact_2fartifacts_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc new file mode 100644 index 0000000000..7e2047e59d --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc @@ -0,0 +1,24 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/core/artifact_id.proto + +#include "flyteidl/core/artifact_id.pb.h" +#include "flyteidl/core/artifact_id.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace core { + +} // namespace flyteidl +} // namespace core + diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h new file mode 100644 index 0000000000..ff4cbf1920 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h @@ -0,0 +1,47 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/core/artifact_id.proto +#ifndef GRPC_flyteidl_2fcore_2fartifact_5fid_2eproto__INCLUDED +#define GRPC_flyteidl_2fcore_2fartifact_5fid_2eproto__INCLUDED + +#include "flyteidl/core/artifact_id.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace core { + +} // namespace core +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fcore_2fartifact_5fid_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc new file mode 100644 index 0000000000..16b41157e4 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc @@ -0,0 +1,4252 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/core/artifact_id.proto + +#include "flyteidl/core/artifact_id.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; +namespace flyteidl { +namespace core { +class ArtifactKeyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactKey_default_instance_; +class ArtifactBindingDataDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactBindingData_default_instance_; +class InputBindingDataDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _InputBindingData_default_instance_; +class LabelValueDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + ::google::protobuf::internal::ArenaStringPtr static_value_; + const ::flyteidl::core::ArtifactBindingData* triggered_binding_; + const ::flyteidl::core::InputBindingData* input_binding_; +} _LabelValue_default_instance_; +class Partitions_ValueEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Partitions_ValueEntry_DoNotUse_default_instance_; +class PartitionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Partitions_default_instance_; +class ArtifactIDDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::core::Partitions* partitions_; +} _ArtifactID_default_instance_; +class ArtifactTagDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactTag_default_instance_; +class ArtifactQueryDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::core::ArtifactID* artifact_id_; + const ::flyteidl::core::ArtifactTag* artifact_tag_; + ::google::protobuf::internal::ArenaStringPtr uri_; + const ::flyteidl::core::ArtifactBindingData* binding_; +} _ArtifactQuery_default_instance_; +class TriggerDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Trigger_default_instance_; +} // namespace core +} // namespace flyteidl +static void InitDefaultsArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_ArtifactKey_default_instance_; + new (ptr) ::flyteidl::core::ArtifactKey(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::ArtifactKey::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto}, {}}; + +static void InitDefaultsArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_ArtifactBindingData_default_instance_; + new (ptr) ::flyteidl::core::ArtifactBindingData(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::ArtifactBindingData::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto}, {}}; + +static void InitDefaultsInputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_InputBindingData_default_instance_; + new (ptr) ::flyteidl::core::InputBindingData(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::InputBindingData::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsInputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto}, {}}; + +static void InitDefaultsLabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_LabelValue_default_instance_; + new (ptr) ::flyteidl::core::LabelValue(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::LabelValue::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsLabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsPartitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_Partitions_ValueEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::core::Partitions_ValueEntry_DoNotUse(); + } + ::flyteidl::core::Partitions_ValueEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPartitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsPartitions_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_Partitions_default_instance_; + new (ptr) ::flyteidl::core::Partitions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::Partitions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPartitions_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_ArtifactID_default_instance_; + new (ptr) ::flyteidl::core::ArtifactID(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::ArtifactID::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_ArtifactTag_default_instance_; + new (ptr) ::flyteidl::core::ArtifactTag(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::ArtifactTag::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_ArtifactQuery_default_instance_; + new (ptr) ::flyteidl::core::ArtifactQuery(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::ArtifactQuery::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsTrigger_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_Trigger_default_instance_; + new (ptr) ::flyteidl::core::Trigger(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::Trigger::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_Trigger_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTrigger_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +void InitDefaults_flyteidl_2fcore_2fartifact_5fid_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Trigger_flyteidl_2fcore_2fartifact_5fid_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[10]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, domain_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, name_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, index_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, partition_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, transform_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::InputBindingData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::InputBindingData, var_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::LabelValue, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::LabelValue, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::core::LabelValueDefaultTypeInternal, static_value_), + offsetof(::flyteidl::core::LabelValueDefaultTypeInternal, triggered_binding_), + offsetof(::flyteidl::core::LabelValueDefaultTypeInternal, input_binding_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::LabelValue, value_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions, value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, artifact_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, version_), + offsetof(::flyteidl::core::ArtifactIDDefaultTypeInternal, partitions_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, dimensions_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactTag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactTag, artifact_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactTag, value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactQuery, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactQuery, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, artifact_id_), + offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, artifact_tag_), + offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, uri_), + offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, binding_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactQuery, identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Trigger, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Trigger, trigger_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Trigger, triggers_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::core::ArtifactKey)}, + { 8, -1, sizeof(::flyteidl::core::ArtifactBindingData)}, + { 16, -1, sizeof(::flyteidl::core::InputBindingData)}, + { 22, -1, sizeof(::flyteidl::core::LabelValue)}, + { 31, 38, sizeof(::flyteidl::core::Partitions_ValueEntry_DoNotUse)}, + { 40, -1, sizeof(::flyteidl::core::Partitions)}, + { 46, -1, sizeof(::flyteidl::core::ArtifactID)}, + { 55, -1, sizeof(::flyteidl::core::ArtifactTag)}, + { 62, -1, sizeof(::flyteidl::core::ArtifactQuery)}, + { 72, -1, sizeof(::flyteidl::core::Trigger)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::core::_ArtifactKey_default_instance_), + reinterpret_cast(&::flyteidl::core::_ArtifactBindingData_default_instance_), + reinterpret_cast(&::flyteidl::core::_InputBindingData_default_instance_), + reinterpret_cast(&::flyteidl::core::_LabelValue_default_instance_), + reinterpret_cast(&::flyteidl::core::_Partitions_ValueEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::core::_Partitions_default_instance_), + reinterpret_cast(&::flyteidl::core::_ArtifactID_default_instance_), + reinterpret_cast(&::flyteidl::core::_ArtifactTag_default_instance_), + reinterpret_cast(&::flyteidl::core::_ArtifactQuery_default_instance_), + reinterpret_cast(&::flyteidl::core::_Trigger_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto = { + {}, AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, "flyteidl/core/artifact_id.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto::offsets, + file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto, 10, file_level_enum_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fcore_2fartifact_5fid_2eproto[] = + "\n\037flyteidl/core/artifact_id.proto\022\rflyte" + "idl.core\032\036flyteidl/core/identifier.proto" + "\"<\n\013ArtifactKey\022\017\n\007project\030\001 \001(\t\022\016\n\006doma" + "in\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"N\n\023ArtifactBindin" + "gData\022\r\n\005index\030\001 \001(\r\022\025\n\rpartition_key\030\002 " + "\001(\t\022\021\n\ttransform\030\003 \001(\t\"\037\n\020InputBindingDa" + "ta\022\013\n\003var\030\001 \001(\t\"\250\001\n\nLabelValue\022\026\n\014static" + "_value\030\001 \001(\tH\000\022\?\n\021triggered_binding\030\002 \001(" + "\0132\".flyteidl.core.ArtifactBindingDataH\000\022" + "8\n\rinput_binding\030\003 \001(\0132\037.flyteidl.core.I" + "nputBindingDataH\000B\007\n\005value\"\212\001\n\nPartition" + "s\0223\n\005value\030\001 \003(\0132$.flyteidl.core.Partiti" + "ons.ValueEntry\032G\n\nValueEntry\022\013\n\003key\030\001 \001(" + "\t\022(\n\005value\030\002 \001(\0132\031.flyteidl.core.LabelVa" + "lue:\0028\001\"\216\001\n\nArtifactID\0220\n\014artifact_key\030\001" + " \001(\0132\032.flyteidl.core.ArtifactKey\022\017\n\007vers" + "ion\030\002 \001(\t\022/\n\npartitions\030\003 \001(\0132\031.flyteidl" + ".core.PartitionsH\000B\014\n\ndimensions\"i\n\013Arti" + "factTag\0220\n\014artifact_key\030\001 \001(\0132\032.flyteidl" + ".core.ArtifactKey\022(\n\005value\030\002 \001(\0132\031.flyte" + "idl.core.LabelValue\"\311\001\n\rArtifactQuery\0220\n" + "\013artifact_id\030\001 \001(\0132\031.flyteidl.core.Artif" + "actIDH\000\0222\n\014artifact_tag\030\002 \001(\0132\032.flyteidl" + ".core.ArtifactTagH\000\022\r\n\003uri\030\003 \001(\tH\000\0225\n\007bi" + "nding\030\004 \001(\0132\".flyteidl.core.ArtifactBind" + "ingDataH\000B\014\n\nidentifier\"e\n\007Trigger\022-\n\ntr" + "igger_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + "r\022+\n\010triggers\030\002 \003(\0132\031.flyteidl.core.Arti" + "factIDB= 1900 +const int ArtifactKey::kProjectFieldNumber; +const int ArtifactKey::kDomainFieldNumber; +const int ArtifactKey::kNameFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactKey::ArtifactKey() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactKey) +} +ArtifactKey::ArtifactKey(const ArtifactKey& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.project().size() > 0) { + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.domain().size() > 0) { + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.name().size() > 0) { + name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactKey) +} + +void ArtifactKey::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +ArtifactKey::~ArtifactKey() { + // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactKey) + SharedDtor(); +} + +void ArtifactKey::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ArtifactKey::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactKey& ArtifactKey::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactKey::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactKey) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactKey::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string project = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactKey.project"); + object = msg->mutable_project(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string domain = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactKey.domain"); + object = msg->mutable_domain(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string name = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactKey.name"); + object = msg->mutable_name(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactKey::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.ArtifactKey) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string project = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_project())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.ArtifactKey.project")); + } else { + goto handle_unusual; + } + break; + } + + // string domain = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_domain())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.ArtifactKey.domain")); + } else { + goto handle_unusual; + } + break; + } + + // string name = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->name().data(), static_cast(this->name().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.ArtifactKey.name")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.ArtifactKey) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactKey) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactKey::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactKey) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactKey.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactKey.domain"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->domain(), output); + } + + // string name = 3; + if (this->name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->name().data(), static_cast(this->name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactKey.name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->name(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.ArtifactKey) +} + +::google::protobuf::uint8* ArtifactKey::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactKey) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactKey.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactKey.domain"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->domain(), target); + } + + // string name = 3; + if (this->name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->name().data(), static_cast(this->name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactKey.name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->name(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.ArtifactKey) + return target; +} + +size_t ArtifactKey::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactKey) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->project()); + } + + // string domain = 2; + if (this->domain().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->domain()); + } + + // string name = 3; + if (this->name().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactKey::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactKey) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactKey* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactKey) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactKey) + MergeFrom(*source); + } +} + +void ArtifactKey::MergeFrom(const ArtifactKey& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactKey) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.project().size() > 0) { + + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + if (from.domain().size() > 0) { + + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + if (from.name().size() > 0) { + + name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); + } +} + +void ArtifactKey::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactKey) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactKey::CopyFrom(const ArtifactKey& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactKey) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactKey::IsInitialized() const { + return true; +} + +void ArtifactKey::Swap(ArtifactKey* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactKey::InternalSwap(ArtifactKey* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata ArtifactKey::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactBindingData::InitAsDefaultInstance() { +} +class ArtifactBindingData::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactBindingData::kIndexFieldNumber; +const int ArtifactBindingData::kPartitionKeyFieldNumber; +const int ArtifactBindingData::kTransformFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactBindingData::ArtifactBindingData() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactBindingData) +} +ArtifactBindingData::ArtifactBindingData(const ArtifactBindingData& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.partition_key().size() > 0) { + partition_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.partition_key_); + } + transform_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.transform().size() > 0) { + transform_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transform_); + } + index_ = from.index_; + // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactBindingData) +} + +void ArtifactBindingData::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + transform_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + index_ = 0u; +} + +ArtifactBindingData::~ArtifactBindingData() { + // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactBindingData) + SharedDtor(); +} + +void ArtifactBindingData::SharedDtor() { + partition_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + transform_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ArtifactBindingData::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactBindingData& ArtifactBindingData::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactBindingData::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactBindingData) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + transform_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + index_ = 0u; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactBindingData::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // uint32 index = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + msg->set_index(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // string partition_key = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactBindingData.partition_key"); + object = msg->mutable_partition_key(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string transform = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactBindingData.transform"); + object = msg->mutable_transform(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactBindingData::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.ArtifactBindingData) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // uint32 index = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &index_))); + } else { + goto handle_unusual; + } + break; + } + + // string partition_key = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_partition_key())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->partition_key().data(), static_cast(this->partition_key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.ArtifactBindingData.partition_key")); + } else { + goto handle_unusual; + } + break; + } + + // string transform = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_transform())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->transform().data(), static_cast(this->transform().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.ArtifactBindingData.transform")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.ArtifactBindingData) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactBindingData) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactBindingData::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactBindingData) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 index = 1; + if (this->index() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->index(), output); + } + + // string partition_key = 2; + if (this->partition_key().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->partition_key().data(), static_cast(this->partition_key().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactBindingData.partition_key"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->partition_key(), output); + } + + // string transform = 3; + if (this->transform().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->transform().data(), static_cast(this->transform().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactBindingData.transform"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->transform(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.ArtifactBindingData) +} + +::google::protobuf::uint8* ArtifactBindingData::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactBindingData) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 index = 1; + if (this->index() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->index(), target); + } + + // string partition_key = 2; + if (this->partition_key().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->partition_key().data(), static_cast(this->partition_key().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactBindingData.partition_key"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->partition_key(), target); + } + + // string transform = 3; + if (this->transform().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->transform().data(), static_cast(this->transform().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactBindingData.transform"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->transform(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.ArtifactBindingData) + return target; +} + +size_t ArtifactBindingData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactBindingData) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string partition_key = 2; + if (this->partition_key().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->partition_key()); + } + + // string transform = 3; + if (this->transform().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->transform()); + } + + // uint32 index = 1; + if (this->index() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->index()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactBindingData::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactBindingData) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactBindingData* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactBindingData) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactBindingData) + MergeFrom(*source); + } +} + +void ArtifactBindingData::MergeFrom(const ArtifactBindingData& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactBindingData) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.partition_key().size() > 0) { + + partition_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.partition_key_); + } + if (from.transform().size() > 0) { + + transform_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transform_); + } + if (from.index() != 0) { + set_index(from.index()); + } +} + +void ArtifactBindingData::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactBindingData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactBindingData::CopyFrom(const ArtifactBindingData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactBindingData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactBindingData::IsInitialized() const { + return true; +} + +void ArtifactBindingData::Swap(ArtifactBindingData* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactBindingData::InternalSwap(ArtifactBindingData* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + partition_key_.Swap(&other->partition_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + transform_.Swap(&other->transform_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(index_, other->index_); +} + +::google::protobuf::Metadata ArtifactBindingData::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void InputBindingData::InitAsDefaultInstance() { +} +class InputBindingData::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int InputBindingData::kVarFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +InputBindingData::InputBindingData() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.InputBindingData) +} +InputBindingData::InputBindingData(const InputBindingData& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.var().size() > 0) { + var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.InputBindingData) +} + +void InputBindingData::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +InputBindingData::~InputBindingData() { + // @@protoc_insertion_point(destructor:flyteidl.core.InputBindingData) + SharedDtor(); +} + +void InputBindingData::SharedDtor() { + var_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void InputBindingData::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const InputBindingData& InputBindingData::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void InputBindingData::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.InputBindingData) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* InputBindingData::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string var = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.InputBindingData.var"); + object = msg->mutable_var(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool InputBindingData::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.InputBindingData) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string var = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_var())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->var().data(), static_cast(this->var().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.InputBindingData.var")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.InputBindingData) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.InputBindingData) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void InputBindingData::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.InputBindingData) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string var = 1; + if (this->var().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->var().data(), static_cast(this->var().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.InputBindingData.var"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->var(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.InputBindingData) +} + +::google::protobuf::uint8* InputBindingData::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.InputBindingData) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string var = 1; + if (this->var().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->var().data(), static_cast(this->var().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.InputBindingData.var"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->var(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.InputBindingData) + return target; +} + +size_t InputBindingData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.InputBindingData) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string var = 1; + if (this->var().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->var()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void InputBindingData::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.InputBindingData) + GOOGLE_DCHECK_NE(&from, this); + const InputBindingData* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.InputBindingData) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.InputBindingData) + MergeFrom(*source); + } +} + +void InputBindingData::MergeFrom(const InputBindingData& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.InputBindingData) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.var().size() > 0) { + + var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); + } +} + +void InputBindingData::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.InputBindingData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void InputBindingData::CopyFrom(const InputBindingData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.InputBindingData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool InputBindingData::IsInitialized() const { + return true; +} + +void InputBindingData::Swap(InputBindingData* other) { + if (other == this) return; + InternalSwap(other); +} +void InputBindingData::InternalSwap(InputBindingData* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + var_.Swap(&other->var_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata InputBindingData::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void LabelValue::InitAsDefaultInstance() { + ::flyteidl::core::_LabelValue_default_instance_.static_value_.UnsafeSetDefault( + &::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::flyteidl::core::_LabelValue_default_instance_.triggered_binding_ = const_cast< ::flyteidl::core::ArtifactBindingData*>( + ::flyteidl::core::ArtifactBindingData::internal_default_instance()); + ::flyteidl::core::_LabelValue_default_instance_.input_binding_ = const_cast< ::flyteidl::core::InputBindingData*>( + ::flyteidl::core::InputBindingData::internal_default_instance()); +} +class LabelValue::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactBindingData& triggered_binding(const LabelValue* msg); + static const ::flyteidl::core::InputBindingData& input_binding(const LabelValue* msg); +}; + +const ::flyteidl::core::ArtifactBindingData& +LabelValue::HasBitSetters::triggered_binding(const LabelValue* msg) { + return *msg->value_.triggered_binding_; +} +const ::flyteidl::core::InputBindingData& +LabelValue::HasBitSetters::input_binding(const LabelValue* msg) { + return *msg->value_.input_binding_; +} +void LabelValue::set_allocated_triggered_binding(::flyteidl::core::ArtifactBindingData* triggered_binding) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_value(); + if (triggered_binding) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + triggered_binding = ::google::protobuf::internal::GetOwnedMessage( + message_arena, triggered_binding, submessage_arena); + } + set_has_triggered_binding(); + value_.triggered_binding_ = triggered_binding; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LabelValue.triggered_binding) +} +void LabelValue::set_allocated_input_binding(::flyteidl::core::InputBindingData* input_binding) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_value(); + if (input_binding) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + input_binding = ::google::protobuf::internal::GetOwnedMessage( + message_arena, input_binding, submessage_arena); + } + set_has_input_binding(); + value_.input_binding_ = input_binding; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LabelValue.input_binding) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int LabelValue::kStaticValueFieldNumber; +const int LabelValue::kTriggeredBindingFieldNumber; +const int LabelValue::kInputBindingFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +LabelValue::LabelValue() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.LabelValue) +} +LabelValue::LabelValue(const LabelValue& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + clear_has_value(); + switch (from.value_case()) { + case kStaticValue: { + set_static_value(from.static_value()); + break; + } + case kTriggeredBinding: { + mutable_triggered_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.triggered_binding()); + break; + } + case kInputBinding: { + mutable_input_binding()->::flyteidl::core::InputBindingData::MergeFrom(from.input_binding()); + break; + } + case VALUE_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.LabelValue) +} + +void LabelValue::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + clear_has_value(); +} + +LabelValue::~LabelValue() { + // @@protoc_insertion_point(destructor:flyteidl.core.LabelValue) + SharedDtor(); +} + +void LabelValue::SharedDtor() { + if (has_value()) { + clear_value(); + } +} + +void LabelValue::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const LabelValue& LabelValue::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void LabelValue::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.LabelValue) + switch (value_case()) { + case kStaticValue: { + value_.static_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + break; + } + case kTriggeredBinding: { + delete value_.triggered_binding_; + break; + } + case kInputBinding: { + delete value_.input_binding_; + break; + } + case VALUE_NOT_SET: { + break; + } + } + _oneof_case_[0] = VALUE_NOT_SET; +} + + +void LabelValue::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.LabelValue) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* LabelValue::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string static_value = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.LabelValue.static_value"); + object = msg->mutable_static_value(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactBindingData::_InternalParse; + object = msg->mutable_triggered_binding(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.InputBindingData input_binding = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::InputBindingData::_InternalParse; + object = msg->mutable_input_binding(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool LabelValue::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.LabelValue) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string static_value = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_static_value())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->static_value().data(), static_cast(this->static_value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.LabelValue.static_value")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_triggered_binding())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.InputBindingData input_binding = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_input_binding())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.LabelValue) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.LabelValue) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void LabelValue::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.LabelValue) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string static_value = 1; + if (has_static_value()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->static_value().data(), static_cast(this->static_value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.LabelValue.static_value"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->static_value(), output); + } + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + if (has_triggered_binding()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::triggered_binding(this), output); + } + + // .flyteidl.core.InputBindingData input_binding = 3; + if (has_input_binding()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::input_binding(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.LabelValue) +} + +::google::protobuf::uint8* LabelValue::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.LabelValue) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string static_value = 1; + if (has_static_value()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->static_value().data(), static_cast(this->static_value().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.LabelValue.static_value"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->static_value(), target); + } + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + if (has_triggered_binding()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::triggered_binding(this), target); + } + + // .flyteidl.core.InputBindingData input_binding = 3; + if (has_input_binding()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::input_binding(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.LabelValue) + return target; +} + +size_t LabelValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.LabelValue) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (value_case()) { + // string static_value = 1; + case kStaticValue: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->static_value()); + break; + } + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + case kTriggeredBinding: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *value_.triggered_binding_); + break; + } + // .flyteidl.core.InputBindingData input_binding = 3; + case kInputBinding: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *value_.input_binding_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void LabelValue::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.LabelValue) + GOOGLE_DCHECK_NE(&from, this); + const LabelValue* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.LabelValue) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.LabelValue) + MergeFrom(*source); + } +} + +void LabelValue::MergeFrom(const LabelValue& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.LabelValue) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.value_case()) { + case kStaticValue: { + set_static_value(from.static_value()); + break; + } + case kTriggeredBinding: { + mutable_triggered_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.triggered_binding()); + break; + } + case kInputBinding: { + mutable_input_binding()->::flyteidl::core::InputBindingData::MergeFrom(from.input_binding()); + break; + } + case VALUE_NOT_SET: { + break; + } + } +} + +void LabelValue::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.LabelValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void LabelValue::CopyFrom(const LabelValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.LabelValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LabelValue::IsInitialized() const { + return true; +} + +void LabelValue::Swap(LabelValue* other) { + if (other == this) return; + InternalSwap(other); +} +void LabelValue::InternalSwap(LabelValue* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(value_, other->value_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata LabelValue::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +Partitions_ValueEntry_DoNotUse::Partitions_ValueEntry_DoNotUse() {} +Partitions_ValueEntry_DoNotUse::Partitions_ValueEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void Partitions_ValueEntry_DoNotUse::MergeFrom(const Partitions_ValueEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata Partitions_ValueEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[4]; +} +void Partitions_ValueEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Partitions_ValueEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + Partitions_ValueEntry_DoNotUse, EntryKeyType, EntryValueType, + kEntryKeyFieldType, kEntryValueFieldType, + kEntryDefaultEnumValue>; + auto mf = static_cast(object); + Parser> parser(mf); +#define DO_(x) if (!(x)) return false + DO_(parser.ParseMap(begin, end)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Partitions.ValueEntry.key")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void Partitions::InitAsDefaultInstance() { +} +class Partitions::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Partitions::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Partitions::Partitions() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.Partitions) +} +Partitions::Partitions(const Partitions& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + value_.MergeFrom(from.value_); + // @@protoc_insertion_point(copy_constructor:flyteidl.core.Partitions) +} + +void Partitions::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base); +} + +Partitions::~Partitions() { + // @@protoc_insertion_point(destructor:flyteidl.core.Partitions) + SharedDtor(); +} + +void Partitions::SharedDtor() { +} + +void Partitions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Partitions& Partitions::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void Partitions::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.Partitions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + value_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Partitions::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // map value = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; + auto parse_map = ::flyteidl::core::Partitions_ValueEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->value_; + if (size > end - ptr) goto len_delim_till_end; + auto newend = ptr + size; + GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); + ptr = newend; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Partitions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.Partitions) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // map value = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + Partitions_ValueEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + Partitions_ValueEntry_DoNotUse, + ::std::string, ::flyteidl::core::LabelValue, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 >, + ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue > > parser(&value_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Partitions.ValueEntry.key")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.Partitions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.Partitions) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Partitions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.Partitions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // map value = 1; + if (!this->value().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Partitions.ValueEntry.key"); + } + }; + + if (output->IsSerializationDeterministic() && + this->value().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->value().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator + it = this->value().begin(); + it != this->value().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(value_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator + it = this->value().begin(); + it != this->value().end(); ++it) { + entry.reset(value_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.Partitions) +} + +::google::protobuf::uint8* Partitions::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Partitions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // map value = 1; + if (!this->value().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Partitions.ValueEntry.key"); + } + }; + + if (false && + this->value().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->value().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator + it = this->value().begin(); + it != this->value().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(value_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator + it = this->value().begin(); + it != this->value().end(); ++it) { + entry.reset(value_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.Partitions) + return target; +} + +size_t Partitions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Partitions) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map value = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->value_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator + it = this->value().begin(); + it != this->value().end(); ++it) { + entry.reset(value_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Partitions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Partitions) + GOOGLE_DCHECK_NE(&from, this); + const Partitions* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Partitions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Partitions) + MergeFrom(*source); + } +} + +void Partitions::MergeFrom(const Partitions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Partitions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + value_.MergeFrom(from.value_); +} + +void Partitions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Partitions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Partitions::CopyFrom(const Partitions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Partitions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Partitions::IsInitialized() const { + return true; +} + +void Partitions::Swap(Partitions* other) { + if (other == this) return; + InternalSwap(other); +} +void Partitions::InternalSwap(Partitions* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + value_.Swap(&other->value_); +} + +::google::protobuf::Metadata Partitions::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactID::InitAsDefaultInstance() { + ::flyteidl::core::_ArtifactID_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( + ::flyteidl::core::ArtifactKey::internal_default_instance()); + ::flyteidl::core::_ArtifactID_default_instance_.partitions_ = const_cast< ::flyteidl::core::Partitions*>( + ::flyteidl::core::Partitions::internal_default_instance()); +} +class ArtifactID::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactKey& artifact_key(const ArtifactID* msg); + static const ::flyteidl::core::Partitions& partitions(const ArtifactID* msg); +}; + +const ::flyteidl::core::ArtifactKey& +ArtifactID::HasBitSetters::artifact_key(const ArtifactID* msg) { + return *msg->artifact_key_; +} +const ::flyteidl::core::Partitions& +ArtifactID::HasBitSetters::partitions(const ArtifactID* msg) { + return *msg->dimensions_.partitions_; +} +void ArtifactID::set_allocated_partitions(::flyteidl::core::Partitions* partitions) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_dimensions(); + if (partitions) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + partitions = ::google::protobuf::internal::GetOwnedMessage( + message_arena, partitions, submessage_arena); + } + set_has_partitions(); + dimensions_.partitions_ = partitions; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.partitions) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactID::kArtifactKeyFieldNumber; +const int ArtifactID::kVersionFieldNumber; +const int ArtifactID::kPartitionsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactID::ArtifactID() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactID) +} +ArtifactID::ArtifactID(const ArtifactID& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.version().size() > 0) { + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + if (from.has_artifact_key()) { + artifact_key_ = new ::flyteidl::core::ArtifactKey(*from.artifact_key_); + } else { + artifact_key_ = nullptr; + } + clear_has_dimensions(); + switch (from.dimensions_case()) { + case kPartitions: { + mutable_partitions()->::flyteidl::core::Partitions::MergeFrom(from.partitions()); + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactID) +} + +void ArtifactID::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + artifact_key_ = nullptr; + clear_has_dimensions(); +} + +ArtifactID::~ArtifactID() { + // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactID) + SharedDtor(); +} + +void ArtifactID::SharedDtor() { + version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete artifact_key_; + if (has_dimensions()) { + clear_dimensions(); + } +} + +void ArtifactID::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactID& ArtifactID::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactID::clear_dimensions() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.ArtifactID) + switch (dimensions_case()) { + case kPartitions: { + delete dimensions_.partitions_; + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } + _oneof_case_[0] = DIMENSIONS_NOT_SET; +} + + +void ArtifactID::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactID) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; + clear_dimensions(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactID::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactKey::_InternalParse; + object = msg->mutable_artifact_key(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string version = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactID.version"); + object = msg->mutable_version(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.core.Partitions partitions = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Partitions::_InternalParse; + object = msg->mutable_partitions(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactID::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.ArtifactID) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_key())); + } else { + goto handle_unusual; + } + break; + } + + // string version = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_version())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.ArtifactID.version")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.Partitions partitions = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_partitions())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.ArtifactID) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactID) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactID::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactID) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_key(this), output); + } + + // string version = 2; + if (this->version().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactID.version"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->version(), output); + } + + // .flyteidl.core.Partitions partitions = 3; + if (has_partitions()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::partitions(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.ArtifactID) +} + +::google::protobuf::uint8* ArtifactID::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactID) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_key(this), target); + } + + // string version = 2; + if (this->version().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactID.version"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->version(), target); + } + + // .flyteidl.core.Partitions partitions = 3; + if (has_partitions()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::partitions(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.ArtifactID) + return target; +} + +size_t ArtifactID::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactID) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string version = 2; + if (this->version().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->version()); + } + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_key_); + } + + switch (dimensions_case()) { + // .flyteidl.core.Partitions partitions = 3; + case kPartitions: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *dimensions_.partitions_); + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactID::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactID) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactID* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactID) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactID) + MergeFrom(*source); + } +} + +void ArtifactID::MergeFrom(const ArtifactID& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactID) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.version().size() > 0) { + + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + if (from.has_artifact_key()) { + mutable_artifact_key()->::flyteidl::core::ArtifactKey::MergeFrom(from.artifact_key()); + } + switch (from.dimensions_case()) { + case kPartitions: { + mutable_partitions()->::flyteidl::core::Partitions::MergeFrom(from.partitions()); + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } +} + +void ArtifactID::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactID) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactID::CopyFrom(const ArtifactID& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactID) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactID::IsInitialized() const { + return true; +} + +void ArtifactID::Swap(ArtifactID* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactID::InternalSwap(ArtifactID* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(artifact_key_, other->artifact_key_); + swap(dimensions_, other->dimensions_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata ArtifactID::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactTag::InitAsDefaultInstance() { + ::flyteidl::core::_ArtifactTag_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( + ::flyteidl::core::ArtifactKey::internal_default_instance()); + ::flyteidl::core::_ArtifactTag_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::LabelValue*>( + ::flyteidl::core::LabelValue::internal_default_instance()); +} +class ArtifactTag::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactKey& artifact_key(const ArtifactTag* msg); + static const ::flyteidl::core::LabelValue& value(const ArtifactTag* msg); +}; + +const ::flyteidl::core::ArtifactKey& +ArtifactTag::HasBitSetters::artifact_key(const ArtifactTag* msg) { + return *msg->artifact_key_; +} +const ::flyteidl::core::LabelValue& +ArtifactTag::HasBitSetters::value(const ArtifactTag* msg) { + return *msg->value_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactTag::kArtifactKeyFieldNumber; +const int ArtifactTag::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactTag::ArtifactTag() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactTag) +} +ArtifactTag::ArtifactTag(const ArtifactTag& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact_key()) { + artifact_key_ = new ::flyteidl::core::ArtifactKey(*from.artifact_key_); + } else { + artifact_key_ = nullptr; + } + if (from.has_value()) { + value_ = new ::flyteidl::core::LabelValue(*from.value_); + } else { + value_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactTag) +} + +void ArtifactTag::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + ::memset(&artifact_key_, 0, static_cast( + reinterpret_cast(&value_) - + reinterpret_cast(&artifact_key_)) + sizeof(value_)); +} + +ArtifactTag::~ArtifactTag() { + // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactTag) + SharedDtor(); +} + +void ArtifactTag::SharedDtor() { + if (this != internal_default_instance()) delete artifact_key_; + if (this != internal_default_instance()) delete value_; +} + +void ArtifactTag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactTag& ArtifactTag::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactTag::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactTag) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; + if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { + delete value_; + } + value_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactTag::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactKey::_InternalParse; + object = msg->mutable_artifact_key(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.LabelValue value = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LabelValue::_InternalParse; + object = msg->mutable_value(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactTag::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.ArtifactTag) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactKey artifact_key = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_key())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LabelValue value = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_value())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.ArtifactTag) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactTag) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactTag::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactTag) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_key(this), output); + } + + // .flyteidl.core.LabelValue value = 2; + if (this->has_value()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::value(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.ArtifactTag) +} + +::google::protobuf::uint8* ArtifactTag::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactTag) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_key(this), target); + } + + // .flyteidl.core.LabelValue value = 2; + if (this->has_value()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::value(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.ArtifactTag) + return target; +} + +size_t ArtifactTag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactTag) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_key_); + } + + // .flyteidl.core.LabelValue value = 2; + if (this->has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *value_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactTag::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactTag) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactTag* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactTag) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactTag) + MergeFrom(*source); + } +} + +void ArtifactTag::MergeFrom(const ArtifactTag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactTag) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_artifact_key()) { + mutable_artifact_key()->::flyteidl::core::ArtifactKey::MergeFrom(from.artifact_key()); + } + if (from.has_value()) { + mutable_value()->::flyteidl::core::LabelValue::MergeFrom(from.value()); + } +} + +void ArtifactTag::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactTag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactTag::CopyFrom(const ArtifactTag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactTag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactTag::IsInitialized() const { + return true; +} + +void ArtifactTag::Swap(ArtifactTag* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactTag::InternalSwap(ArtifactTag* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(artifact_key_, other->artifact_key_); + swap(value_, other->value_); +} + +::google::protobuf::Metadata ArtifactTag::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactQuery::InitAsDefaultInstance() { + ::flyteidl::core::_ArtifactQuery_default_instance_.artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); + ::flyteidl::core::_ArtifactQuery_default_instance_.artifact_tag_ = const_cast< ::flyteidl::core::ArtifactTag*>( + ::flyteidl::core::ArtifactTag::internal_default_instance()); + ::flyteidl::core::_ArtifactQuery_default_instance_.uri_.UnsafeSetDefault( + &::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::flyteidl::core::_ArtifactQuery_default_instance_.binding_ = const_cast< ::flyteidl::core::ArtifactBindingData*>( + ::flyteidl::core::ArtifactBindingData::internal_default_instance()); +} +class ArtifactQuery::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactID& artifact_id(const ArtifactQuery* msg); + static const ::flyteidl::core::ArtifactTag& artifact_tag(const ArtifactQuery* msg); + static const ::flyteidl::core::ArtifactBindingData& binding(const ArtifactQuery* msg); +}; + +const ::flyteidl::core::ArtifactID& +ArtifactQuery::HasBitSetters::artifact_id(const ArtifactQuery* msg) { + return *msg->identifier_.artifact_id_; +} +const ::flyteidl::core::ArtifactTag& +ArtifactQuery::HasBitSetters::artifact_tag(const ArtifactQuery* msg) { + return *msg->identifier_.artifact_tag_; +} +const ::flyteidl::core::ArtifactBindingData& +ArtifactQuery::HasBitSetters::binding(const ArtifactQuery* msg) { + return *msg->identifier_.binding_; +} +void ArtifactQuery::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_identifier(); + if (artifact_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_id, submessage_arena); + } + set_has_artifact_id(); + identifier_.artifact_id_ = artifact_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.artifact_id) +} +void ArtifactQuery::set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_identifier(); + if (artifact_tag) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_tag = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_tag, submessage_arena); + } + set_has_artifact_tag(); + identifier_.artifact_tag_ = artifact_tag; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.artifact_tag) +} +void ArtifactQuery::set_allocated_binding(::flyteidl::core::ArtifactBindingData* binding) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_identifier(); + if (binding) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + binding = ::google::protobuf::internal::GetOwnedMessage( + message_arena, binding, submessage_arena); + } + set_has_binding(); + identifier_.binding_ = binding; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.binding) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactQuery::kArtifactIdFieldNumber; +const int ArtifactQuery::kArtifactTagFieldNumber; +const int ArtifactQuery::kUriFieldNumber; +const int ArtifactQuery::kBindingFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactQuery::ArtifactQuery() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactQuery) +} +ArtifactQuery::ArtifactQuery(const ArtifactQuery& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + clear_has_identifier(); + switch (from.identifier_case()) { + case kArtifactId: { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + break; + } + case kArtifactTag: { + mutable_artifact_tag()->::flyteidl::core::ArtifactTag::MergeFrom(from.artifact_tag()); + break; + } + case kUri: { + set_uri(from.uri()); + break; + } + case kBinding: { + mutable_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.binding()); + break; + } + case IDENTIFIER_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactQuery) +} + +void ArtifactQuery::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + clear_has_identifier(); +} + +ArtifactQuery::~ArtifactQuery() { + // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactQuery) + SharedDtor(); +} + +void ArtifactQuery::SharedDtor() { + if (has_identifier()) { + clear_identifier(); + } +} + +void ArtifactQuery::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactQuery& ArtifactQuery::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactQuery::clear_identifier() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.ArtifactQuery) + switch (identifier_case()) { + case kArtifactId: { + delete identifier_.artifact_id_; + break; + } + case kArtifactTag: { + delete identifier_.artifact_tag_; + break; + } + case kUri: { + identifier_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + break; + } + case kBinding: { + delete identifier_.binding_; + break; + } + case IDENTIFIER_NOT_SET: { + break; + } + } + _oneof_case_[0] = IDENTIFIER_NOT_SET; +} + + +void ArtifactQuery::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactQuery) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_identifier(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactQuery::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.ArtifactID artifact_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->mutable_artifact_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.ArtifactTag artifact_tag = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactTag::_InternalParse; + object = msg->mutable_artifact_tag(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string uri = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactQuery.uri"); + object = msg->mutable_uri(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.core.ArtifactBindingData binding = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactBindingData::_InternalParse; + object = msg->mutable_binding(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ArtifactQuery::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.ArtifactQuery) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.ArtifactID artifact_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.ArtifactTag artifact_tag = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_tag())); + } else { + goto handle_unusual; + } + break; + } + + // string uri = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_uri())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->uri().data(), static_cast(this->uri().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.ArtifactQuery.uri")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.ArtifactBindingData binding = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_binding())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.ArtifactQuery) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactQuery) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactQuery::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactQuery) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_id(this), output); + } + + // .flyteidl.core.ArtifactTag artifact_tag = 2; + if (has_artifact_tag()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::artifact_tag(this), output); + } + + // string uri = 3; + if (has_uri()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->uri().data(), static_cast(this->uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactQuery.uri"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->uri(), output); + } + + // .flyteidl.core.ArtifactBindingData binding = 4; + if (has_binding()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::binding(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.ArtifactQuery) +} + +::google::protobuf::uint8* ArtifactQuery::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactQuery) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (has_artifact_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_id(this), target); + } + + // .flyteidl.core.ArtifactTag artifact_tag = 2; + if (has_artifact_tag()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::artifact_tag(this), target); + } + + // string uri = 3; + if (has_uri()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->uri().data(), static_cast(this->uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.ArtifactQuery.uri"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->uri(), target); + } + + // .flyteidl.core.ArtifactBindingData binding = 4; + if (has_binding()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::binding(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.ArtifactQuery) + return target; +} + +size_t ArtifactQuery::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactQuery) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (identifier_case()) { + // .flyteidl.core.ArtifactID artifact_id = 1; + case kArtifactId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *identifier_.artifact_id_); + break; + } + // .flyteidl.core.ArtifactTag artifact_tag = 2; + case kArtifactTag: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *identifier_.artifact_tag_); + break; + } + // string uri = 3; + case kUri: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->uri()); + break; + } + // .flyteidl.core.ArtifactBindingData binding = 4; + case kBinding: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *identifier_.binding_); + break; + } + case IDENTIFIER_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactQuery::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactQuery) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactQuery* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactQuery) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactQuery) + MergeFrom(*source); + } +} + +void ArtifactQuery::MergeFrom(const ArtifactQuery& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactQuery) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.identifier_case()) { + case kArtifactId: { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + break; + } + case kArtifactTag: { + mutable_artifact_tag()->::flyteidl::core::ArtifactTag::MergeFrom(from.artifact_tag()); + break; + } + case kUri: { + set_uri(from.uri()); + break; + } + case kBinding: { + mutable_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.binding()); + break; + } + case IDENTIFIER_NOT_SET: { + break; + } + } +} + +void ArtifactQuery::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactQuery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactQuery::CopyFrom(const ArtifactQuery& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactQuery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactQuery::IsInitialized() const { + return true; +} + +void ArtifactQuery::Swap(ArtifactQuery* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactQuery::InternalSwap(ArtifactQuery* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata ArtifactQuery::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void Trigger::InitAsDefaultInstance() { + ::flyteidl::core::_Trigger_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); +} +class Trigger::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& trigger_id(const Trigger* msg); +}; + +const ::flyteidl::core::Identifier& +Trigger::HasBitSetters::trigger_id(const Trigger* msg) { + return *msg->trigger_id_; +} +void Trigger::clear_trigger_id() { + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Trigger::kTriggerIdFieldNumber; +const int Trigger::kTriggersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Trigger::Trigger() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.Trigger) +} +Trigger::Trigger(const Trigger& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + triggers_(from.triggers_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_trigger_id()) { + trigger_id_ = new ::flyteidl::core::Identifier(*from.trigger_id_); + } else { + trigger_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.Trigger) +} + +void Trigger::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Trigger_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + trigger_id_ = nullptr; +} + +Trigger::~Trigger() { + // @@protoc_insertion_point(destructor:flyteidl.core.Trigger) + SharedDtor(); +} + +void Trigger::SharedDtor() { + if (this != internal_default_instance()) delete trigger_id_; +} + +void Trigger::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Trigger& Trigger::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Trigger_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void Trigger::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.Trigger) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + triggers_.Clear(); + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Trigger::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.Identifier trigger_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Identifier::_InternalParse; + object = msg->mutable_trigger_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // repeated .flyteidl.core.ArtifactID triggers = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->add_triggers(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Trigger::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.Trigger) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.Identifier trigger_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_trigger_id())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.ArtifactID triggers = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_triggers())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.Trigger) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.Trigger) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Trigger::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.Trigger) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::trigger_id(this), output); + } + + // repeated .flyteidl.core.ArtifactID triggers = 2; + for (unsigned int i = 0, + n = static_cast(this->triggers_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, + this->triggers(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.Trigger) +} + +::google::protobuf::uint8* Trigger::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Trigger) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::trigger_id(this), target); + } + + // repeated .flyteidl.core.ArtifactID triggers = 2; + for (unsigned int i = 0, + n = static_cast(this->triggers_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->triggers(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.Trigger) + return target; +} + +size_t Trigger::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Trigger) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.core.ArtifactID triggers = 2; + { + unsigned int count = static_cast(this->triggers_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->triggers(static_cast(i))); + } + } + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *trigger_id_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Trigger::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Trigger) + GOOGLE_DCHECK_NE(&from, this); + const Trigger* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Trigger) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Trigger) + MergeFrom(*source); + } +} + +void Trigger::MergeFrom(const Trigger& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Trigger) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + triggers_.MergeFrom(from.triggers_); + if (from.has_trigger_id()) { + mutable_trigger_id()->::flyteidl::core::Identifier::MergeFrom(from.trigger_id()); + } +} + +void Trigger::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Trigger) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Trigger::CopyFrom(const Trigger& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Trigger) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Trigger::IsInitialized() const { + return true; +} + +void Trigger::Swap(Trigger* other) { + if (other == this) return; + InternalSwap(other); +} +void Trigger::InternalSwap(Trigger* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&triggers_)->InternalSwap(CastToBase(&other->triggers_)); + swap(trigger_id_, other->trigger_id_); +} + +::google::protobuf::Metadata Trigger::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace core +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactKey* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactKey >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::ArtifactKey >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactBindingData* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactBindingData >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::ArtifactBindingData >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::InputBindingData* Arena::CreateMaybeMessage< ::flyteidl::core::InputBindingData >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::InputBindingData >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::LabelValue* Arena::CreateMaybeMessage< ::flyteidl::core::LabelValue >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::LabelValue >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::Partitions_ValueEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::Partitions_ValueEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::Partitions_ValueEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::Partitions* Arena::CreateMaybeMessage< ::flyteidl::core::Partitions >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::Partitions >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactID* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactID >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::ArtifactID >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactTag* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactTag >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::ArtifactTag >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactQuery* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactQuery >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::ArtifactQuery >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::Trigger* Arena::CreateMaybeMessage< ::flyteidl::core::Trigger >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::Trigger >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h new file mode 100644 index 0000000000..12c9cbd59f --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h @@ -0,0 +1,2573 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/core/artifact_id.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fartifact_5fid_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fartifact_5fid_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +#include "flyteidl/core/identifier.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[10] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto(); +namespace flyteidl { +namespace core { +class ArtifactBindingData; +class ArtifactBindingDataDefaultTypeInternal; +extern ArtifactBindingDataDefaultTypeInternal _ArtifactBindingData_default_instance_; +class ArtifactID; +class ArtifactIDDefaultTypeInternal; +extern ArtifactIDDefaultTypeInternal _ArtifactID_default_instance_; +class ArtifactKey; +class ArtifactKeyDefaultTypeInternal; +extern ArtifactKeyDefaultTypeInternal _ArtifactKey_default_instance_; +class ArtifactQuery; +class ArtifactQueryDefaultTypeInternal; +extern ArtifactQueryDefaultTypeInternal _ArtifactQuery_default_instance_; +class ArtifactTag; +class ArtifactTagDefaultTypeInternal; +extern ArtifactTagDefaultTypeInternal _ArtifactTag_default_instance_; +class InputBindingData; +class InputBindingDataDefaultTypeInternal; +extern InputBindingDataDefaultTypeInternal _InputBindingData_default_instance_; +class LabelValue; +class LabelValueDefaultTypeInternal; +extern LabelValueDefaultTypeInternal _LabelValue_default_instance_; +class Partitions; +class PartitionsDefaultTypeInternal; +extern PartitionsDefaultTypeInternal _Partitions_default_instance_; +class Partitions_ValueEntry_DoNotUse; +class Partitions_ValueEntry_DoNotUseDefaultTypeInternal; +extern Partitions_ValueEntry_DoNotUseDefaultTypeInternal _Partitions_ValueEntry_DoNotUse_default_instance_; +class Trigger; +class TriggerDefaultTypeInternal; +extern TriggerDefaultTypeInternal _Trigger_default_instance_; +} // namespace core +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::core::ArtifactBindingData* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactBindingData>(Arena*); +template<> ::flyteidl::core::ArtifactID* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactID>(Arena*); +template<> ::flyteidl::core::ArtifactKey* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactKey>(Arena*); +template<> ::flyteidl::core::ArtifactQuery* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactQuery>(Arena*); +template<> ::flyteidl::core::ArtifactTag* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactTag>(Arena*); +template<> ::flyteidl::core::InputBindingData* Arena::CreateMaybeMessage<::flyteidl::core::InputBindingData>(Arena*); +template<> ::flyteidl::core::LabelValue* Arena::CreateMaybeMessage<::flyteidl::core::LabelValue>(Arena*); +template<> ::flyteidl::core::Partitions* Arena::CreateMaybeMessage<::flyteidl::core::Partitions>(Arena*); +template<> ::flyteidl::core::Partitions_ValueEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::Partitions_ValueEntry_DoNotUse>(Arena*); +template<> ::flyteidl::core::Trigger* Arena::CreateMaybeMessage<::flyteidl::core::Trigger>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace core { + +// =================================================================== + +class ArtifactKey final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactKey) */ { + public: + ArtifactKey(); + virtual ~ArtifactKey(); + + ArtifactKey(const ArtifactKey& from); + + inline ArtifactKey& operator=(const ArtifactKey& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactKey(ArtifactKey&& from) noexcept + : ArtifactKey() { + *this = ::std::move(from); + } + + inline ArtifactKey& operator=(ArtifactKey&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactKey& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactKey* internal_default_instance() { + return reinterpret_cast( + &_ArtifactKey_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(ArtifactKey* other); + friend void swap(ArtifactKey& a, ArtifactKey& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactKey* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactKey* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactKey& from); + void MergeFrom(const ArtifactKey& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactKey* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string project = 1; + void clear_project(); + static const int kProjectFieldNumber = 1; + const ::std::string& project() const; + void set_project(const ::std::string& value); + #if LANG_CXX11 + void set_project(::std::string&& value); + #endif + void set_project(const char* value); + void set_project(const char* value, size_t size); + ::std::string* mutable_project(); + ::std::string* release_project(); + void set_allocated_project(::std::string* project); + + // string domain = 2; + void clear_domain(); + static const int kDomainFieldNumber = 2; + const ::std::string& domain() const; + void set_domain(const ::std::string& value); + #if LANG_CXX11 + void set_domain(::std::string&& value); + #endif + void set_domain(const char* value); + void set_domain(const char* value, size_t size); + ::std::string* mutable_domain(); + ::std::string* release_domain(); + void set_allocated_domain(::std::string* domain); + + // string name = 3; + void clear_name(); + static const int kNameFieldNumber = 3; + const ::std::string& name() const; + void set_name(const ::std::string& value); + #if LANG_CXX11 + void set_name(::std::string&& value); + #endif + void set_name(const char* value); + void set_name(const char* value, size_t size); + ::std::string* mutable_name(); + ::std::string* release_name(); + void set_allocated_name(::std::string* name); + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactKey) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr domain_; + ::google::protobuf::internal::ArenaStringPtr name_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactBindingData final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactBindingData) */ { + public: + ArtifactBindingData(); + virtual ~ArtifactBindingData(); + + ArtifactBindingData(const ArtifactBindingData& from); + + inline ArtifactBindingData& operator=(const ArtifactBindingData& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactBindingData(ArtifactBindingData&& from) noexcept + : ArtifactBindingData() { + *this = ::std::move(from); + } + + inline ArtifactBindingData& operator=(ArtifactBindingData&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactBindingData& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactBindingData* internal_default_instance() { + return reinterpret_cast( + &_ArtifactBindingData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(ArtifactBindingData* other); + friend void swap(ArtifactBindingData& a, ArtifactBindingData& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactBindingData* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactBindingData* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactBindingData& from); + void MergeFrom(const ArtifactBindingData& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactBindingData* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string partition_key = 2; + void clear_partition_key(); + static const int kPartitionKeyFieldNumber = 2; + const ::std::string& partition_key() const; + void set_partition_key(const ::std::string& value); + #if LANG_CXX11 + void set_partition_key(::std::string&& value); + #endif + void set_partition_key(const char* value); + void set_partition_key(const char* value, size_t size); + ::std::string* mutable_partition_key(); + ::std::string* release_partition_key(); + void set_allocated_partition_key(::std::string* partition_key); + + // string transform = 3; + void clear_transform(); + static const int kTransformFieldNumber = 3; + const ::std::string& transform() const; + void set_transform(const ::std::string& value); + #if LANG_CXX11 + void set_transform(::std::string&& value); + #endif + void set_transform(const char* value); + void set_transform(const char* value, size_t size); + ::std::string* mutable_transform(); + ::std::string* release_transform(); + void set_allocated_transform(::std::string* transform); + + // uint32 index = 1; + void clear_index(); + static const int kIndexFieldNumber = 1; + ::google::protobuf::uint32 index() const; + void set_index(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactBindingData) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr partition_key_; + ::google::protobuf::internal::ArenaStringPtr transform_; + ::google::protobuf::uint32 index_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class InputBindingData final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.InputBindingData) */ { + public: + InputBindingData(); + virtual ~InputBindingData(); + + InputBindingData(const InputBindingData& from); + + inline InputBindingData& operator=(const InputBindingData& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + InputBindingData(InputBindingData&& from) noexcept + : InputBindingData() { + *this = ::std::move(from); + } + + inline InputBindingData& operator=(InputBindingData&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const InputBindingData& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const InputBindingData* internal_default_instance() { + return reinterpret_cast( + &_InputBindingData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(InputBindingData* other); + friend void swap(InputBindingData& a, InputBindingData& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline InputBindingData* New() const final { + return CreateMaybeMessage(nullptr); + } + + InputBindingData* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const InputBindingData& from); + void MergeFrom(const InputBindingData& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(InputBindingData* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string var = 1; + void clear_var(); + static const int kVarFieldNumber = 1; + const ::std::string& var() const; + void set_var(const ::std::string& value); + #if LANG_CXX11 + void set_var(::std::string&& value); + #endif + void set_var(const char* value); + void set_var(const char* value, size_t size); + ::std::string* mutable_var(); + ::std::string* release_var(); + void set_allocated_var(::std::string* var); + + // @@protoc_insertion_point(class_scope:flyteidl.core.InputBindingData) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr var_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class LabelValue final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.LabelValue) */ { + public: + LabelValue(); + virtual ~LabelValue(); + + LabelValue(const LabelValue& from); + + inline LabelValue& operator=(const LabelValue& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + LabelValue(LabelValue&& from) noexcept + : LabelValue() { + *this = ::std::move(from); + } + + inline LabelValue& operator=(LabelValue&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const LabelValue& default_instance(); + + enum ValueCase { + kStaticValue = 1, + kTriggeredBinding = 2, + kInputBinding = 3, + VALUE_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const LabelValue* internal_default_instance() { + return reinterpret_cast( + &_LabelValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(LabelValue* other); + friend void swap(LabelValue& a, LabelValue& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline LabelValue* New() const final { + return CreateMaybeMessage(nullptr); + } + + LabelValue* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const LabelValue& from); + void MergeFrom(const LabelValue& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(LabelValue* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string static_value = 1; + private: + bool has_static_value() const; + public: + void clear_static_value(); + static const int kStaticValueFieldNumber = 1; + const ::std::string& static_value() const; + void set_static_value(const ::std::string& value); + #if LANG_CXX11 + void set_static_value(::std::string&& value); + #endif + void set_static_value(const char* value); + void set_static_value(const char* value, size_t size); + ::std::string* mutable_static_value(); + ::std::string* release_static_value(); + void set_allocated_static_value(::std::string* static_value); + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + bool has_triggered_binding() const; + void clear_triggered_binding(); + static const int kTriggeredBindingFieldNumber = 2; + const ::flyteidl::core::ArtifactBindingData& triggered_binding() const; + ::flyteidl::core::ArtifactBindingData* release_triggered_binding(); + ::flyteidl::core::ArtifactBindingData* mutable_triggered_binding(); + void set_allocated_triggered_binding(::flyteidl::core::ArtifactBindingData* triggered_binding); + + // .flyteidl.core.InputBindingData input_binding = 3; + bool has_input_binding() const; + void clear_input_binding(); + static const int kInputBindingFieldNumber = 3; + const ::flyteidl::core::InputBindingData& input_binding() const; + ::flyteidl::core::InputBindingData* release_input_binding(); + ::flyteidl::core::InputBindingData* mutable_input_binding(); + void set_allocated_input_binding(::flyteidl::core::InputBindingData* input_binding); + + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.core.LabelValue) + private: + class HasBitSetters; + void set_has_static_value(); + void set_has_triggered_binding(); + void set_has_input_binding(); + + inline bool has_value() const; + inline void clear_has_value(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union ValueUnion { + ValueUnion() {} + ::google::protobuf::internal::ArenaStringPtr static_value_; + ::flyteidl::core::ArtifactBindingData* triggered_binding_; + ::flyteidl::core::InputBindingData* input_binding_; + } value_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class Partitions_ValueEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + typedef ::google::protobuf::internal::MapEntry SuperType; + Partitions_ValueEntry_DoNotUse(); + Partitions_ValueEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const Partitions_ValueEntry_DoNotUse& other); + static const Partitions_ValueEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Partitions_ValueEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class Partitions final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Partitions) */ { + public: + Partitions(); + virtual ~Partitions(); + + Partitions(const Partitions& from); + + inline Partitions& operator=(const Partitions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Partitions(Partitions&& from) noexcept + : Partitions() { + *this = ::std::move(from); + } + + inline Partitions& operator=(Partitions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Partitions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Partitions* internal_default_instance() { + return reinterpret_cast( + &_Partitions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + void Swap(Partitions* other); + friend void swap(Partitions& a, Partitions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Partitions* New() const final { + return CreateMaybeMessage(nullptr); + } + + Partitions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Partitions& from); + void MergeFrom(const Partitions& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Partitions* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + // map value = 1; + int value_size() const; + void clear_value(); + static const int kValueFieldNumber = 1; + const ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >& + value() const; + ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >* + mutable_value(); + + // @@protoc_insertion_point(class_scope:flyteidl.core.Partitions) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + Partitions_ValueEntry_DoNotUse, + ::std::string, ::flyteidl::core::LabelValue, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 > value_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactID final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactID) */ { + public: + ArtifactID(); + virtual ~ArtifactID(); + + ArtifactID(const ArtifactID& from); + + inline ArtifactID& operator=(const ArtifactID& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactID(ArtifactID&& from) noexcept + : ArtifactID() { + *this = ::std::move(from); + } + + inline ArtifactID& operator=(ArtifactID&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactID& default_instance(); + + enum DimensionsCase { + kPartitions = 3, + DIMENSIONS_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactID* internal_default_instance() { + return reinterpret_cast( + &_ArtifactID_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + void Swap(ArtifactID* other); + friend void swap(ArtifactID& a, ArtifactID& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactID* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactID* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactID& from); + void MergeFrom(const ArtifactID& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactID* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string version = 2; + void clear_version(); + static const int kVersionFieldNumber = 2; + const ::std::string& version() const; + void set_version(const ::std::string& value); + #if LANG_CXX11 + void set_version(::std::string&& value); + #endif + void set_version(const char* value); + void set_version(const char* value, size_t size); + ::std::string* mutable_version(); + ::std::string* release_version(); + void set_allocated_version(::std::string* version); + + // .flyteidl.core.ArtifactKey artifact_key = 1; + bool has_artifact_key() const; + void clear_artifact_key(); + static const int kArtifactKeyFieldNumber = 1; + const ::flyteidl::core::ArtifactKey& artifact_key() const; + ::flyteidl::core::ArtifactKey* release_artifact_key(); + ::flyteidl::core::ArtifactKey* mutable_artifact_key(); + void set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key); + + // .flyteidl.core.Partitions partitions = 3; + bool has_partitions() const; + void clear_partitions(); + static const int kPartitionsFieldNumber = 3; + const ::flyteidl::core::Partitions& partitions() const; + ::flyteidl::core::Partitions* release_partitions(); + ::flyteidl::core::Partitions* mutable_partitions(); + void set_allocated_partitions(::flyteidl::core::Partitions* partitions); + + void clear_dimensions(); + DimensionsCase dimensions_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactID) + private: + class HasBitSetters; + void set_has_partitions(); + + inline bool has_dimensions() const; + inline void clear_has_dimensions(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr version_; + ::flyteidl::core::ArtifactKey* artifact_key_; + union DimensionsUnion { + DimensionsUnion() {} + ::flyteidl::core::Partitions* partitions_; + } dimensions_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactTag final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactTag) */ { + public: + ArtifactTag(); + virtual ~ArtifactTag(); + + ArtifactTag(const ArtifactTag& from); + + inline ArtifactTag& operator=(const ArtifactTag& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactTag(ArtifactTag&& from) noexcept + : ArtifactTag() { + *this = ::std::move(from); + } + + inline ArtifactTag& operator=(ArtifactTag&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactTag& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactTag* internal_default_instance() { + return reinterpret_cast( + &_ArtifactTag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + void Swap(ArtifactTag* other); + friend void swap(ArtifactTag& a, ArtifactTag& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactTag* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactTag* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactTag& from); + void MergeFrom(const ArtifactTag& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactTag* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.ArtifactKey artifact_key = 1; + bool has_artifact_key() const; + void clear_artifact_key(); + static const int kArtifactKeyFieldNumber = 1; + const ::flyteidl::core::ArtifactKey& artifact_key() const; + ::flyteidl::core::ArtifactKey* release_artifact_key(); + ::flyteidl::core::ArtifactKey* mutable_artifact_key(); + void set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key); + + // .flyteidl.core.LabelValue value = 2; + bool has_value() const; + void clear_value(); + static const int kValueFieldNumber = 2; + const ::flyteidl::core::LabelValue& value() const; + ::flyteidl::core::LabelValue* release_value(); + ::flyteidl::core::LabelValue* mutable_value(); + void set_allocated_value(::flyteidl::core::LabelValue* value); + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactTag) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::ArtifactKey* artifact_key_; + ::flyteidl::core::LabelValue* value_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactQuery final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactQuery) */ { + public: + ArtifactQuery(); + virtual ~ArtifactQuery(); + + ArtifactQuery(const ArtifactQuery& from); + + inline ArtifactQuery& operator=(const ArtifactQuery& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactQuery(ArtifactQuery&& from) noexcept + : ArtifactQuery() { + *this = ::std::move(from); + } + + inline ArtifactQuery& operator=(ArtifactQuery&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactQuery& default_instance(); + + enum IdentifierCase { + kArtifactId = 1, + kArtifactTag = 2, + kUri = 3, + kBinding = 4, + IDENTIFIER_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactQuery* internal_default_instance() { + return reinterpret_cast( + &_ArtifactQuery_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + void Swap(ArtifactQuery* other); + friend void swap(ArtifactQuery& a, ArtifactQuery& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactQuery* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactQuery* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactQuery& from); + void MergeFrom(const ArtifactQuery& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactQuery* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.ArtifactID artifact_id = 1; + bool has_artifact_id() const; + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 1; + const ::flyteidl::core::ArtifactID& artifact_id() const; + ::flyteidl::core::ArtifactID* release_artifact_id(); + ::flyteidl::core::ArtifactID* mutable_artifact_id(); + void set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id); + + // .flyteidl.core.ArtifactTag artifact_tag = 2; + bool has_artifact_tag() const; + void clear_artifact_tag(); + static const int kArtifactTagFieldNumber = 2; + const ::flyteidl::core::ArtifactTag& artifact_tag() const; + ::flyteidl::core::ArtifactTag* release_artifact_tag(); + ::flyteidl::core::ArtifactTag* mutable_artifact_tag(); + void set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag); + + // string uri = 3; + private: + bool has_uri() const; + public: + void clear_uri(); + static const int kUriFieldNumber = 3; + const ::std::string& uri() const; + void set_uri(const ::std::string& value); + #if LANG_CXX11 + void set_uri(::std::string&& value); + #endif + void set_uri(const char* value); + void set_uri(const char* value, size_t size); + ::std::string* mutable_uri(); + ::std::string* release_uri(); + void set_allocated_uri(::std::string* uri); + + // .flyteidl.core.ArtifactBindingData binding = 4; + bool has_binding() const; + void clear_binding(); + static const int kBindingFieldNumber = 4; + const ::flyteidl::core::ArtifactBindingData& binding() const; + ::flyteidl::core::ArtifactBindingData* release_binding(); + ::flyteidl::core::ArtifactBindingData* mutable_binding(); + void set_allocated_binding(::flyteidl::core::ArtifactBindingData* binding); + + void clear_identifier(); + IdentifierCase identifier_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactQuery) + private: + class HasBitSetters; + void set_has_artifact_id(); + void set_has_artifact_tag(); + void set_has_uri(); + void set_has_binding(); + + inline bool has_identifier() const; + inline void clear_has_identifier(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union IdentifierUnion { + IdentifierUnion() {} + ::flyteidl::core::ArtifactID* artifact_id_; + ::flyteidl::core::ArtifactTag* artifact_tag_; + ::google::protobuf::internal::ArenaStringPtr uri_; + ::flyteidl::core::ArtifactBindingData* binding_; + } identifier_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// ------------------------------------------------------------------- + +class Trigger final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Trigger) */ { + public: + Trigger(); + virtual ~Trigger(); + + Trigger(const Trigger& from); + + inline Trigger& operator=(const Trigger& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Trigger(Trigger&& from) noexcept + : Trigger() { + *this = ::std::move(from); + } + + inline Trigger& operator=(Trigger&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Trigger& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Trigger* internal_default_instance() { + return reinterpret_cast( + &_Trigger_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + void Swap(Trigger* other); + friend void swap(Trigger& a, Trigger& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Trigger* New() const final { + return CreateMaybeMessage(nullptr); + } + + Trigger* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Trigger& from); + void MergeFrom(const Trigger& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Trigger* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.core.ArtifactID triggers = 2; + int triggers_size() const; + void clear_triggers(); + static const int kTriggersFieldNumber = 2; + ::flyteidl::core::ArtifactID* mutable_triggers(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* + mutable_triggers(); + const ::flyteidl::core::ArtifactID& triggers(int index) const; + ::flyteidl::core::ArtifactID* add_triggers(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& + triggers() const; + + // .flyteidl.core.Identifier trigger_id = 1; + bool has_trigger_id() const; + void clear_trigger_id(); + static const int kTriggerIdFieldNumber = 1; + const ::flyteidl::core::Identifier& trigger_id() const; + ::flyteidl::core::Identifier* release_trigger_id(); + ::flyteidl::core::Identifier* mutable_trigger_id(); + void set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id); + + // @@protoc_insertion_point(class_scope:flyteidl.core.Trigger) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > triggers_; + ::flyteidl::core::Identifier* trigger_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ArtifactKey + +// string project = 1; +inline void ArtifactKey::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactKey::project() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactKey.project) + return project_.GetNoArena(); +} +inline void ArtifactKey::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactKey.project) +} +#if LANG_CXX11 +inline void ArtifactKey::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactKey.project) +} +#endif +inline void ArtifactKey::set_project(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactKey.project) +} +inline void ArtifactKey::set_project(const char* value, size_t size) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactKey.project) +} +inline ::std::string* ArtifactKey::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactKey.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactKey::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactKey.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactKey::set_allocated_project(::std::string* project) { + if (project != nullptr) { + + } else { + + } + project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactKey.project) +} + +// string domain = 2; +inline void ArtifactKey::clear_domain() { + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactKey::domain() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactKey.domain) + return domain_.GetNoArena(); +} +inline void ArtifactKey::set_domain(const ::std::string& value) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactKey.domain) +} +#if LANG_CXX11 +inline void ArtifactKey::set_domain(::std::string&& value) { + + domain_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactKey.domain) +} +#endif +inline void ArtifactKey::set_domain(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactKey.domain) +} +inline void ArtifactKey::set_domain(const char* value, size_t size) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactKey.domain) +} +inline ::std::string* ArtifactKey::mutable_domain() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactKey.domain) + return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactKey::release_domain() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactKey.domain) + + return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactKey::set_allocated_domain(::std::string* domain) { + if (domain != nullptr) { + + } else { + + } + domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactKey.domain) +} + +// string name = 3; +inline void ArtifactKey::clear_name() { + name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactKey::name() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactKey.name) + return name_.GetNoArena(); +} +inline void ArtifactKey::set_name(const ::std::string& value) { + + name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactKey.name) +} +#if LANG_CXX11 +inline void ArtifactKey::set_name(::std::string&& value) { + + name_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactKey.name) +} +#endif +inline void ArtifactKey::set_name(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactKey.name) +} +inline void ArtifactKey::set_name(const char* value, size_t size) { + + name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactKey.name) +} +inline ::std::string* ArtifactKey::mutable_name() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactKey.name) + return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactKey::release_name() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactKey.name) + + return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactKey::set_allocated_name(::std::string* name) { + if (name != nullptr) { + + } else { + + } + name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactKey.name) +} + +// ------------------------------------------------------------------- + +// ArtifactBindingData + +// uint32 index = 1; +inline void ArtifactBindingData::clear_index() { + index_ = 0u; +} +inline ::google::protobuf::uint32 ArtifactBindingData::index() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.index) + return index_; +} +inline void ArtifactBindingData::set_index(::google::protobuf::uint32 value) { + + index_ = value; + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.index) +} + +// string partition_key = 2; +inline void ArtifactBindingData::clear_partition_key() { + partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactBindingData::partition_key() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.partition_key) + return partition_key_.GetNoArena(); +} +inline void ArtifactBindingData::set_partition_key(const ::std::string& value) { + + partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.partition_key) +} +#if LANG_CXX11 +inline void ArtifactBindingData::set_partition_key(::std::string&& value) { + + partition_key_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactBindingData.partition_key) +} +#endif +inline void ArtifactBindingData::set_partition_key(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactBindingData.partition_key) +} +inline void ArtifactBindingData::set_partition_key(const char* value, size_t size) { + + partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactBindingData.partition_key) +} +inline ::std::string* ArtifactBindingData::mutable_partition_key() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactBindingData.partition_key) + return partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactBindingData::release_partition_key() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactBindingData.partition_key) + + return partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactBindingData::set_allocated_partition_key(::std::string* partition_key) { + if (partition_key != nullptr) { + + } else { + + } + partition_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), partition_key); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactBindingData.partition_key) +} + +// string transform = 3; +inline void ArtifactBindingData::clear_transform() { + transform_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactBindingData::transform() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.transform) + return transform_.GetNoArena(); +} +inline void ArtifactBindingData::set_transform(const ::std::string& value) { + + transform_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.transform) +} +#if LANG_CXX11 +inline void ArtifactBindingData::set_transform(::std::string&& value) { + + transform_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactBindingData.transform) +} +#endif +inline void ArtifactBindingData::set_transform(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + transform_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactBindingData.transform) +} +inline void ArtifactBindingData::set_transform(const char* value, size_t size) { + + transform_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactBindingData.transform) +} +inline ::std::string* ArtifactBindingData::mutable_transform() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactBindingData.transform) + return transform_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactBindingData::release_transform() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactBindingData.transform) + + return transform_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactBindingData::set_allocated_transform(::std::string* transform) { + if (transform != nullptr) { + + } else { + + } + transform_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transform); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactBindingData.transform) +} + +// ------------------------------------------------------------------- + +// InputBindingData + +// string var = 1; +inline void InputBindingData::clear_var() { + var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& InputBindingData::var() const { + // @@protoc_insertion_point(field_get:flyteidl.core.InputBindingData.var) + return var_.GetNoArena(); +} +inline void InputBindingData::set_var(const ::std::string& value) { + + var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.InputBindingData.var) +} +#if LANG_CXX11 +inline void InputBindingData::set_var(::std::string&& value) { + + var_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.InputBindingData.var) +} +#endif +inline void InputBindingData::set_var(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.InputBindingData.var) +} +inline void InputBindingData::set_var(const char* value, size_t size) { + + var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.InputBindingData.var) +} +inline ::std::string* InputBindingData::mutable_var() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.InputBindingData.var) + return var_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* InputBindingData::release_var() { + // @@protoc_insertion_point(field_release:flyteidl.core.InputBindingData.var) + + return var_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void InputBindingData::set_allocated_var(::std::string* var) { + if (var != nullptr) { + + } else { + + } + var_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), var); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.InputBindingData.var) +} + +// ------------------------------------------------------------------- + +// LabelValue + +// string static_value = 1; +inline bool LabelValue::has_static_value() const { + return value_case() == kStaticValue; +} +inline void LabelValue::set_has_static_value() { + _oneof_case_[0] = kStaticValue; +} +inline void LabelValue::clear_static_value() { + if (has_static_value()) { + value_.static_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_value(); + } +} +inline const ::std::string& LabelValue::static_value() const { + // @@protoc_insertion_point(field_get:flyteidl.core.LabelValue.static_value) + if (has_static_value()) { + return value_.static_value_.GetNoArena(); + } + return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void LabelValue::set_static_value(const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.core.LabelValue.static_value) + if (!has_static_value()) { + clear_value(); + set_has_static_value(); + value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.LabelValue.static_value) +} +#if LANG_CXX11 +inline void LabelValue::set_static_value(::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.core.LabelValue.static_value) + if (!has_static_value()) { + clear_value(); + set_has_static_value(); + value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.LabelValue.static_value) +} +#endif +inline void LabelValue::set_static_value(const char* value) { + GOOGLE_DCHECK(value != nullptr); + if (!has_static_value()) { + clear_value(); + set_has_static_value(); + value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.LabelValue.static_value) +} +inline void LabelValue::set_static_value(const char* value, size_t size) { + if (!has_static_value()) { + clear_value(); + set_has_static_value(); + value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( + reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.LabelValue.static_value) +} +inline ::std::string* LabelValue::mutable_static_value() { + if (!has_static_value()) { + clear_value(); + set_has_static_value(); + value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.LabelValue.static_value) + return value_.static_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LabelValue::release_static_value() { + // @@protoc_insertion_point(field_release:flyteidl.core.LabelValue.static_value) + if (has_static_value()) { + clear_has_value(); + return value_.static_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } else { + return nullptr; + } +} +inline void LabelValue::set_allocated_static_value(::std::string* static_value) { + if (has_value()) { + clear_value(); + } + if (static_value != nullptr) { + set_has_static_value(); + value_.static_value_.UnsafeSetDefault(static_value); + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LabelValue.static_value) +} + +// .flyteidl.core.ArtifactBindingData triggered_binding = 2; +inline bool LabelValue::has_triggered_binding() const { + return value_case() == kTriggeredBinding; +} +inline void LabelValue::set_has_triggered_binding() { + _oneof_case_[0] = kTriggeredBinding; +} +inline void LabelValue::clear_triggered_binding() { + if (has_triggered_binding()) { + delete value_.triggered_binding_; + clear_has_value(); + } +} +inline ::flyteidl::core::ArtifactBindingData* LabelValue::release_triggered_binding() { + // @@protoc_insertion_point(field_release:flyteidl.core.LabelValue.triggered_binding) + if (has_triggered_binding()) { + clear_has_value(); + ::flyteidl::core::ArtifactBindingData* temp = value_.triggered_binding_; + value_.triggered_binding_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::ArtifactBindingData& LabelValue::triggered_binding() const { + // @@protoc_insertion_point(field_get:flyteidl.core.LabelValue.triggered_binding) + return has_triggered_binding() + ? *value_.triggered_binding_ + : *reinterpret_cast< ::flyteidl::core::ArtifactBindingData*>(&::flyteidl::core::_ArtifactBindingData_default_instance_); +} +inline ::flyteidl::core::ArtifactBindingData* LabelValue::mutable_triggered_binding() { + if (!has_triggered_binding()) { + clear_value(); + set_has_triggered_binding(); + value_.triggered_binding_ = CreateMaybeMessage< ::flyteidl::core::ArtifactBindingData >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.LabelValue.triggered_binding) + return value_.triggered_binding_; +} + +// .flyteidl.core.InputBindingData input_binding = 3; +inline bool LabelValue::has_input_binding() const { + return value_case() == kInputBinding; +} +inline void LabelValue::set_has_input_binding() { + _oneof_case_[0] = kInputBinding; +} +inline void LabelValue::clear_input_binding() { + if (has_input_binding()) { + delete value_.input_binding_; + clear_has_value(); + } +} +inline ::flyteidl::core::InputBindingData* LabelValue::release_input_binding() { + // @@protoc_insertion_point(field_release:flyteidl.core.LabelValue.input_binding) + if (has_input_binding()) { + clear_has_value(); + ::flyteidl::core::InputBindingData* temp = value_.input_binding_; + value_.input_binding_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::InputBindingData& LabelValue::input_binding() const { + // @@protoc_insertion_point(field_get:flyteidl.core.LabelValue.input_binding) + return has_input_binding() + ? *value_.input_binding_ + : *reinterpret_cast< ::flyteidl::core::InputBindingData*>(&::flyteidl::core::_InputBindingData_default_instance_); +} +inline ::flyteidl::core::InputBindingData* LabelValue::mutable_input_binding() { + if (!has_input_binding()) { + clear_value(); + set_has_input_binding(); + value_.input_binding_ = CreateMaybeMessage< ::flyteidl::core::InputBindingData >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.LabelValue.input_binding) + return value_.input_binding_; +} + +inline bool LabelValue::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void LabelValue::clear_has_value() { + _oneof_case_[0] = VALUE_NOT_SET; +} +inline LabelValue::ValueCase LabelValue::value_case() const { + return LabelValue::ValueCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// Partitions + +// map value = 1; +inline int Partitions::value_size() const { + return value_.size(); +} +inline void Partitions::clear_value() { + value_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >& +Partitions::value() const { + // @@protoc_insertion_point(field_map:flyteidl.core.Partitions.value) + return value_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >* +Partitions::mutable_value() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.core.Partitions.value) + return value_.MutableMap(); +} + +// ------------------------------------------------------------------- + +// ArtifactID + +// .flyteidl.core.ArtifactKey artifact_key = 1; +inline bool ArtifactID::has_artifact_key() const { + return this != internal_default_instance() && artifact_key_ != nullptr; +} +inline void ArtifactID::clear_artifact_key() { + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; +} +inline const ::flyteidl::core::ArtifactKey& ArtifactID::artifact_key() const { + const ::flyteidl::core::ArtifactKey* p = artifact_key_; + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.artifact_key) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactKey_default_instance_); +} +inline ::flyteidl::core::ArtifactKey* ArtifactID::release_artifact_key() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.artifact_key) + + ::flyteidl::core::ArtifactKey* temp = artifact_key_; + artifact_key_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactKey* ArtifactID::mutable_artifact_key() { + + if (artifact_key_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); + artifact_key_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.artifact_key) + return artifact_key_; +} +inline void ArtifactID::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete artifact_key_; + } + if (artifact_key) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_key = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_key, submessage_arena); + } + + } else { + + } + artifact_key_ = artifact_key; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.artifact_key) +} + +// string version = 2; +inline void ArtifactID::clear_version() { + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactID::version() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.version) + return version_.GetNoArena(); +} +inline void ArtifactID::set_version(const ::std::string& value) { + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactID.version) +} +#if LANG_CXX11 +inline void ArtifactID::set_version(::std::string&& value) { + + version_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactID.version) +} +#endif +inline void ArtifactID::set_version(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactID.version) +} +inline void ArtifactID::set_version(const char* value, size_t size) { + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactID.version) +} +inline ::std::string* ArtifactID::mutable_version() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.version) + return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactID::release_version() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.version) + + return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactID::set_allocated_version(::std::string* version) { + if (version != nullptr) { + + } else { + + } + version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.version) +} + +// .flyteidl.core.Partitions partitions = 3; +inline bool ArtifactID::has_partitions() const { + return dimensions_case() == kPartitions; +} +inline void ArtifactID::set_has_partitions() { + _oneof_case_[0] = kPartitions; +} +inline void ArtifactID::clear_partitions() { + if (has_partitions()) { + delete dimensions_.partitions_; + clear_has_dimensions(); + } +} +inline ::flyteidl::core::Partitions* ArtifactID::release_partitions() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.partitions) + if (has_partitions()) { + clear_has_dimensions(); + ::flyteidl::core::Partitions* temp = dimensions_.partitions_; + dimensions_.partitions_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::Partitions& ArtifactID::partitions() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.partitions) + return has_partitions() + ? *dimensions_.partitions_ + : *reinterpret_cast< ::flyteidl::core::Partitions*>(&::flyteidl::core::_Partitions_default_instance_); +} +inline ::flyteidl::core::Partitions* ArtifactID::mutable_partitions() { + if (!has_partitions()) { + clear_dimensions(); + set_has_partitions(); + dimensions_.partitions_ = CreateMaybeMessage< ::flyteidl::core::Partitions >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.partitions) + return dimensions_.partitions_; +} + +inline bool ArtifactID::has_dimensions() const { + return dimensions_case() != DIMENSIONS_NOT_SET; +} +inline void ArtifactID::clear_has_dimensions() { + _oneof_case_[0] = DIMENSIONS_NOT_SET; +} +inline ArtifactID::DimensionsCase ArtifactID::dimensions_case() const { + return ArtifactID::DimensionsCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// ArtifactTag + +// .flyteidl.core.ArtifactKey artifact_key = 1; +inline bool ArtifactTag::has_artifact_key() const { + return this != internal_default_instance() && artifact_key_ != nullptr; +} +inline void ArtifactTag::clear_artifact_key() { + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; +} +inline const ::flyteidl::core::ArtifactKey& ArtifactTag::artifact_key() const { + const ::flyteidl::core::ArtifactKey* p = artifact_key_; + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactTag.artifact_key) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactKey_default_instance_); +} +inline ::flyteidl::core::ArtifactKey* ArtifactTag::release_artifact_key() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactTag.artifact_key) + + ::flyteidl::core::ArtifactKey* temp = artifact_key_; + artifact_key_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactKey* ArtifactTag::mutable_artifact_key() { + + if (artifact_key_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); + artifact_key_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactTag.artifact_key) + return artifact_key_; +} +inline void ArtifactTag::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete artifact_key_; + } + if (artifact_key) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_key = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_key, submessage_arena); + } + + } else { + + } + artifact_key_ = artifact_key; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactTag.artifact_key) +} + +// .flyteidl.core.LabelValue value = 2; +inline bool ArtifactTag::has_value() const { + return this != internal_default_instance() && value_ != nullptr; +} +inline void ArtifactTag::clear_value() { + if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { + delete value_; + } + value_ = nullptr; +} +inline const ::flyteidl::core::LabelValue& ArtifactTag::value() const { + const ::flyteidl::core::LabelValue* p = value_; + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactTag.value) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LabelValue_default_instance_); +} +inline ::flyteidl::core::LabelValue* ArtifactTag::release_value() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactTag.value) + + ::flyteidl::core::LabelValue* temp = value_; + value_ = nullptr; + return temp; +} +inline ::flyteidl::core::LabelValue* ArtifactTag::mutable_value() { + + if (value_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LabelValue>(GetArenaNoVirtual()); + value_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactTag.value) + return value_; +} +inline void ArtifactTag::set_allocated_value(::flyteidl::core::LabelValue* value) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete value_; + } + if (value) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage( + message_arena, value, submessage_arena); + } + + } else { + + } + value_ = value; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactTag.value) +} + +// ------------------------------------------------------------------- + +// ArtifactQuery + +// .flyteidl.core.ArtifactID artifact_id = 1; +inline bool ArtifactQuery::has_artifact_id() const { + return identifier_case() == kArtifactId; +} +inline void ArtifactQuery::set_has_artifact_id() { + _oneof_case_[0] = kArtifactId; +} +inline void ArtifactQuery::clear_artifact_id() { + if (has_artifact_id()) { + delete identifier_.artifact_id_; + clear_has_identifier(); + } +} +inline ::flyteidl::core::ArtifactID* ArtifactQuery::release_artifact_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.artifact_id) + if (has_artifact_id()) { + clear_has_identifier(); + ::flyteidl::core::ArtifactID* temp = identifier_.artifact_id_; + identifier_.artifact_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::ArtifactID& ArtifactQuery::artifact_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.artifact_id) + return has_artifact_id() + ? *identifier_.artifact_id_ + : *reinterpret_cast< ::flyteidl::core::ArtifactID*>(&::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* ArtifactQuery::mutable_artifact_id() { + if (!has_artifact_id()) { + clear_identifier(); + set_has_artifact_id(); + identifier_.artifact_id_ = CreateMaybeMessage< ::flyteidl::core::ArtifactID >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.artifact_id) + return identifier_.artifact_id_; +} + +// .flyteidl.core.ArtifactTag artifact_tag = 2; +inline bool ArtifactQuery::has_artifact_tag() const { + return identifier_case() == kArtifactTag; +} +inline void ArtifactQuery::set_has_artifact_tag() { + _oneof_case_[0] = kArtifactTag; +} +inline void ArtifactQuery::clear_artifact_tag() { + if (has_artifact_tag()) { + delete identifier_.artifact_tag_; + clear_has_identifier(); + } +} +inline ::flyteidl::core::ArtifactTag* ArtifactQuery::release_artifact_tag() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.artifact_tag) + if (has_artifact_tag()) { + clear_has_identifier(); + ::flyteidl::core::ArtifactTag* temp = identifier_.artifact_tag_; + identifier_.artifact_tag_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::ArtifactTag& ArtifactQuery::artifact_tag() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.artifact_tag) + return has_artifact_tag() + ? *identifier_.artifact_tag_ + : *reinterpret_cast< ::flyteidl::core::ArtifactTag*>(&::flyteidl::core::_ArtifactTag_default_instance_); +} +inline ::flyteidl::core::ArtifactTag* ArtifactQuery::mutable_artifact_tag() { + if (!has_artifact_tag()) { + clear_identifier(); + set_has_artifact_tag(); + identifier_.artifact_tag_ = CreateMaybeMessage< ::flyteidl::core::ArtifactTag >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.artifact_tag) + return identifier_.artifact_tag_; +} + +// string uri = 3; +inline bool ArtifactQuery::has_uri() const { + return identifier_case() == kUri; +} +inline void ArtifactQuery::set_has_uri() { + _oneof_case_[0] = kUri; +} +inline void ArtifactQuery::clear_uri() { + if (has_uri()) { + identifier_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_identifier(); + } +} +inline const ::std::string& ArtifactQuery::uri() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.uri) + if (has_uri()) { + return identifier_.uri_.GetNoArena(); + } + return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void ArtifactQuery::set_uri(const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactQuery.uri) + if (!has_uri()) { + clear_identifier(); + set_has_uri(); + identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactQuery.uri) +} +#if LANG_CXX11 +inline void ArtifactQuery::set_uri(::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactQuery.uri) + if (!has_uri()) { + clear_identifier(); + set_has_uri(); + identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactQuery.uri) +} +#endif +inline void ArtifactQuery::set_uri(const char* value) { + GOOGLE_DCHECK(value != nullptr); + if (!has_uri()) { + clear_identifier(); + set_has_uri(); + identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactQuery.uri) +} +inline void ArtifactQuery::set_uri(const char* value, size_t size) { + if (!has_uri()) { + clear_identifier(); + set_has_uri(); + identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( + reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactQuery.uri) +} +inline ::std::string* ArtifactQuery::mutable_uri() { + if (!has_uri()) { + clear_identifier(); + set_has_uri(); + identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.uri) + return identifier_.uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactQuery::release_uri() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.uri) + if (has_uri()) { + clear_has_identifier(); + return identifier_.uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } else { + return nullptr; + } +} +inline void ArtifactQuery::set_allocated_uri(::std::string* uri) { + if (has_identifier()) { + clear_identifier(); + } + if (uri != nullptr) { + set_has_uri(); + identifier_.uri_.UnsafeSetDefault(uri); + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.uri) +} + +// .flyteidl.core.ArtifactBindingData binding = 4; +inline bool ArtifactQuery::has_binding() const { + return identifier_case() == kBinding; +} +inline void ArtifactQuery::set_has_binding() { + _oneof_case_[0] = kBinding; +} +inline void ArtifactQuery::clear_binding() { + if (has_binding()) { + delete identifier_.binding_; + clear_has_identifier(); + } +} +inline ::flyteidl::core::ArtifactBindingData* ArtifactQuery::release_binding() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.binding) + if (has_binding()) { + clear_has_identifier(); + ::flyteidl::core::ArtifactBindingData* temp = identifier_.binding_; + identifier_.binding_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::ArtifactBindingData& ArtifactQuery::binding() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.binding) + return has_binding() + ? *identifier_.binding_ + : *reinterpret_cast< ::flyteidl::core::ArtifactBindingData*>(&::flyteidl::core::_ArtifactBindingData_default_instance_); +} +inline ::flyteidl::core::ArtifactBindingData* ArtifactQuery::mutable_binding() { + if (!has_binding()) { + clear_identifier(); + set_has_binding(); + identifier_.binding_ = CreateMaybeMessage< ::flyteidl::core::ArtifactBindingData >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.binding) + return identifier_.binding_; +} + +inline bool ArtifactQuery::has_identifier() const { + return identifier_case() != IDENTIFIER_NOT_SET; +} +inline void ArtifactQuery::clear_has_identifier() { + _oneof_case_[0] = IDENTIFIER_NOT_SET; +} +inline ArtifactQuery::IdentifierCase ArtifactQuery::identifier_case() const { + return ArtifactQuery::IdentifierCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// Trigger + +// .flyteidl.core.Identifier trigger_id = 1; +inline bool Trigger::has_trigger_id() const { + return this != internal_default_instance() && trigger_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& Trigger::trigger_id() const { + const ::flyteidl::core::Identifier* p = trigger_id_; + // @@protoc_insertion_point(field_get:flyteidl.core.Trigger.trigger_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* Trigger::release_trigger_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Trigger.trigger_id) + + ::flyteidl::core::Identifier* temp = trigger_id_; + trigger_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* Trigger::mutable_trigger_id() { + + if (trigger_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + trigger_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Trigger.trigger_id) + return trigger_id_; +} +inline void Trigger::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_id_); + } + if (trigger_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + trigger_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, trigger_id, submessage_arena); + } + + } else { + + } + trigger_id_ = trigger_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Trigger.trigger_id) +} + +// repeated .flyteidl.core.ArtifactID triggers = 2; +inline int Trigger::triggers_size() const { + return triggers_.size(); +} +inline void Trigger::clear_triggers() { + triggers_.Clear(); +} +inline ::flyteidl::core::ArtifactID* Trigger::mutable_triggers(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.core.Trigger.triggers) + return triggers_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* +Trigger::mutable_triggers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Trigger.triggers) + return &triggers_; +} +inline const ::flyteidl::core::ArtifactID& Trigger::triggers(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.core.Trigger.triggers) + return triggers_.Get(index); +} +inline ::flyteidl::core::ArtifactID* Trigger::add_triggers() { + // @@protoc_insertion_point(field_add:flyteidl.core.Trigger.triggers) + return triggers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& +Trigger::triggers() const { + // @@protoc_insertion_point(field_list:flyteidl.core.Trigger.triggers) + return triggers_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace core +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fartifact_5fid_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc index 6c2e9400eb..e3d506cdf1 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc @@ -19,8 +19,8 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ComparisonExpression_flyteidl_2fcore_2fcondition_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Operand_flyteidl_2fcore_2fcondition_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; namespace flyteidl { namespace core { class ComparisonExpressionDefaultTypeInternal { diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc index 57b24d49ec..2c17478523 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc @@ -16,12 +16,15 @@ // @@protoc_insertion_point(includes) #include +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; namespace flyteidl { namespace core { @@ -46,6 +49,8 @@ class ParameterDefaultTypeInternal { ::google::protobuf::internal::ExplicitlyConstructed _instance; const ::flyteidl::core::Literal* default__; bool required_; + const ::flyteidl::core::ArtifactQuery* artifact_query_; + const ::flyteidl::core::ArtifactID* artifact_id_; } _Parameter_default_instance_; class ParameterMap_ParametersEntry_DoNotUseDefaultTypeInternal { public: @@ -68,9 +73,11 @@ static void InitDefaultsVariable_flyteidl_2fcore_2finterface_2eproto() { ::flyteidl::core::Variable::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsVariable_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base,}}; +::google::protobuf::internal::SCCInfo<3> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsVariable_flyteidl_2fcore_2finterface_2eproto}, { + &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; static void InitDefaultsVariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -127,10 +134,12 @@ static void InitDefaultsParameter_flyteidl_2fcore_2finterface_2eproto() { ::flyteidl::core::Parameter::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsParameter_flyteidl_2fcore_2finterface_2eproto}, { +::google::protobuf::internal::SCCInfo<4> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsParameter_flyteidl_2fcore_2finterface_2eproto}, { &scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; static void InitDefaultsParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -183,6 +192,8 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2finterface_2eproto ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, type_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, description_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, artifact_partial_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, artifact_tag_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse, _internal_metadata_), ~0u, // no _extensions_ @@ -213,6 +224,8 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2finterface_2eproto PROTOBUF_FIELD_OFFSET(::flyteidl::core::Parameter, var_), offsetof(::flyteidl::core::ParameterDefaultTypeInternal, default__), offsetof(::flyteidl::core::ParameterDefaultTypeInternal, required_), + offsetof(::flyteidl::core::ParameterDefaultTypeInternal, artifact_query_), + offsetof(::flyteidl::core::ParameterDefaultTypeInternal, artifact_id_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::Parameter, behavior_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse, _internal_metadata_), @@ -232,12 +245,12 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2finterface_2eproto }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::core::Variable)}, - { 7, 14, sizeof(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse)}, - { 16, -1, sizeof(::flyteidl::core::VariableMap)}, - { 22, -1, sizeof(::flyteidl::core::TypedInterface)}, - { 29, -1, sizeof(::flyteidl::core::Parameter)}, - { 38, 45, sizeof(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse)}, - { 47, -1, sizeof(::flyteidl::core::ParameterMap)}, + { 9, 16, sizeof(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse)}, + { 18, -1, sizeof(::flyteidl::core::VariableMap)}, + { 24, -1, sizeof(::flyteidl::core::TypedInterface)}, + { 31, -1, sizeof(::flyteidl::core::Parameter)}, + { 42, 49, sizeof(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse)}, + { 51, -1, sizeof(::flyteidl::core::ParameterMap)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -259,38 +272,45 @@ ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_fl const char descriptor_table_protodef_flyteidl_2fcore_2finterface_2eproto[] = "\n\035flyteidl/core/interface.proto\022\rflyteid" "l.core\032\031flyteidl/core/types.proto\032\034flyte" - "idl/core/literals.proto\"I\n\010Variable\022(\n\004t" - "ype\030\001 \001(\0132\032.flyteidl.core.LiteralType\022\023\n" - "\013description\030\002 \001(\t\"\226\001\n\013VariableMap\022<\n\tva" - "riables\030\001 \003(\0132).flyteidl.core.VariableMa" - "p.VariablesEntry\032I\n\016VariablesEntry\022\013\n\003ke" - "y\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.flyteidl.core.V" - "ariable:\0028\001\"i\n\016TypedInterface\022*\n\006inputs\030" - "\001 \001(\0132\032.flyteidl.core.VariableMap\022+\n\007out" - "puts\030\002 \001(\0132\032.flyteidl.core.VariableMap\"|" - "\n\tParameter\022$\n\003var\030\001 \001(\0132\027.flyteidl.core" - ".Variable\022)\n\007default\030\002 \001(\0132\026.flyteidl.co" - "re.LiteralH\000\022\022\n\010required\030\003 \001(\010H\000B\n\n\010beha" - "vior\"\234\001\n\014ParameterMap\022\?\n\nparameters\030\001 \003(" - "\0132+.flyteidl.core.ParameterMap.Parameter" - "sEntry\032K\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\'" - "\n\005value\030\002 \001(\0132\030.flyteidl.core.Parameter:" - "\0028\001Btype_ = const_cast< ::flyteidl::core::LiteralType*>( ::flyteidl::core::LiteralType::internal_default_instance()); + ::flyteidl::core::_Variable_default_instance_._instance.get_mutable()->artifact_partial_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); + ::flyteidl::core::_Variable_default_instance_._instance.get_mutable()->artifact_tag_ = const_cast< ::flyteidl::core::ArtifactTag*>( + ::flyteidl::core::ArtifactTag::internal_default_instance()); } class Variable::HasBitSetters { public: static const ::flyteidl::core::LiteralType& type(const Variable* msg); + static const ::flyteidl::core::ArtifactID& artifact_partial_id(const Variable* msg); + static const ::flyteidl::core::ArtifactTag& artifact_tag(const Variable* msg); }; const ::flyteidl::core::LiteralType& Variable::HasBitSetters::type(const Variable* msg) { return *msg->type_; } +const ::flyteidl::core::ArtifactID& +Variable::HasBitSetters::artifact_partial_id(const Variable* msg) { + return *msg->artifact_partial_id_; +} +const ::flyteidl::core::ArtifactTag& +Variable::HasBitSetters::artifact_tag(const Variable* msg) { + return *msg->artifact_tag_; +} void Variable::clear_type() { if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { delete type_; } type_ = nullptr; } +void Variable::clear_artifact_partial_id() { + if (GetArenaNoVirtual() == nullptr && artifact_partial_id_ != nullptr) { + delete artifact_partial_id_; + } + artifact_partial_id_ = nullptr; +} +void Variable::clear_artifact_tag() { + if (GetArenaNoVirtual() == nullptr && artifact_tag_ != nullptr) { + delete artifact_tag_; + } + artifact_tag_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Variable::kTypeFieldNumber; const int Variable::kDescriptionFieldNumber; +const int Variable::kArtifactPartialIdFieldNumber; +const int Variable::kArtifactTagFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Variable::Variable() @@ -342,6 +390,16 @@ Variable::Variable(const Variable& from) } else { type_ = nullptr; } + if (from.has_artifact_partial_id()) { + artifact_partial_id_ = new ::flyteidl::core::ArtifactID(*from.artifact_partial_id_); + } else { + artifact_partial_id_ = nullptr; + } + if (from.has_artifact_tag()) { + artifact_tag_ = new ::flyteidl::core::ArtifactTag(*from.artifact_tag_); + } else { + artifact_tag_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.core.Variable) } @@ -349,7 +407,9 @@ void Variable::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base); description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = nullptr; + ::memset(&type_, 0, static_cast( + reinterpret_cast(&artifact_tag_) - + reinterpret_cast(&type_)) + sizeof(artifact_tag_)); } Variable::~Variable() { @@ -360,6 +420,8 @@ Variable::~Variable() { void Variable::SharedDtor() { description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete type_; + if (this != internal_default_instance()) delete artifact_partial_id_; + if (this != internal_default_instance()) delete artifact_tag_; } void Variable::SetCachedSize(int size) const { @@ -382,6 +444,14 @@ void Variable::Clear() { delete type_; } type_ = nullptr; + if (GetArenaNoVirtual() == nullptr && artifact_partial_id_ != nullptr) { + delete artifact_partial_id_; + } + artifact_partial_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && artifact_tag_ != nullptr) { + delete artifact_tag_; + } + artifact_tag_ = nullptr; _internal_metadata_.Clear(); } @@ -427,6 +497,32 @@ const char* Variable::_InternalParse(const char* begin, const char* end, void* o ptr += size; break; } + // .flyteidl.core.ArtifactID artifact_partial_id = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->mutable_artifact_partial_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.ArtifactTag artifact_tag = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactTag::_InternalParse; + object = msg->mutable_artifact_tag(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -487,6 +583,28 @@ bool Variable::MergePartialFromCodedStream( break; } + // .flyteidl.core.ArtifactID artifact_partial_id = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_partial_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.ArtifactTag artifact_tag = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_tag())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -530,6 +648,18 @@ void Variable::SerializeWithCachedSizes( 2, this->description(), output); } + // .flyteidl.core.ArtifactID artifact_partial_id = 3; + if (this->has_artifact_partial_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::artifact_partial_id(this), output); + } + + // .flyteidl.core.ArtifactTag artifact_tag = 4; + if (this->has_artifact_tag()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::artifact_tag(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -561,6 +691,20 @@ ::google::protobuf::uint8* Variable::InternalSerializeWithCachedSizesToArray( 2, this->description(), target); } + // .flyteidl.core.ArtifactID artifact_partial_id = 3; + if (this->has_artifact_partial_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::artifact_partial_id(this), target); + } + + // .flyteidl.core.ArtifactTag artifact_tag = 4; + if (this->has_artifact_tag()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::artifact_tag(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -596,6 +740,20 @@ size_t Variable::ByteSizeLong() const { *type_); } + // .flyteidl.core.ArtifactID artifact_partial_id = 3; + if (this->has_artifact_partial_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_partial_id_); + } + + // .flyteidl.core.ArtifactTag artifact_tag = 4; + if (this->has_artifact_tag()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_tag_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -630,6 +788,12 @@ void Variable::MergeFrom(const Variable& from) { if (from.has_type()) { mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); } + if (from.has_artifact_partial_id()) { + mutable_artifact_partial_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_partial_id()); + } + if (from.has_artifact_tag()) { + mutable_artifact_tag()->::flyteidl::core::ArtifactTag::MergeFrom(from.artifact_tag()); + } } void Variable::CopyFrom(const ::google::protobuf::Message& from) { @@ -660,6 +824,8 @@ void Variable::InternalSwap(Variable* other) { description_.Swap(&other->description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(type_, other->type_); + swap(artifact_partial_id_, other->artifact_partial_id_); + swap(artifact_tag_, other->artifact_tag_); } ::google::protobuf::Metadata Variable::GetMetadata() const { @@ -1438,11 +1604,17 @@ void Parameter::InitAsDefaultInstance() { ::flyteidl::core::_Parameter_default_instance_.default__ = const_cast< ::flyteidl::core::Literal*>( ::flyteidl::core::Literal::internal_default_instance()); ::flyteidl::core::_Parameter_default_instance_.required_ = false; + ::flyteidl::core::_Parameter_default_instance_.artifact_query_ = const_cast< ::flyteidl::core::ArtifactQuery*>( + ::flyteidl::core::ArtifactQuery::internal_default_instance()); + ::flyteidl::core::_Parameter_default_instance_.artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); } class Parameter::HasBitSetters { public: static const ::flyteidl::core::Variable& var(const Parameter* msg); static const ::flyteidl::core::Literal& default_(const Parameter* msg); + static const ::flyteidl::core::ArtifactQuery& artifact_query(const Parameter* msg); + static const ::flyteidl::core::ArtifactID& artifact_id(const Parameter* msg); }; const ::flyteidl::core::Variable& @@ -1453,6 +1625,14 @@ const ::flyteidl::core::Literal& Parameter::HasBitSetters::default_(const Parameter* msg) { return *msg->behavior_.default__; } +const ::flyteidl::core::ArtifactQuery& +Parameter::HasBitSetters::artifact_query(const Parameter* msg) { + return *msg->behavior_.artifact_query_; +} +const ::flyteidl::core::ArtifactID& +Parameter::HasBitSetters::artifact_id(const Parameter* msg) { + return *msg->behavior_.artifact_id_; +} void Parameter::set_allocated_default_(::flyteidl::core::Literal* default_) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); clear_behavior(); @@ -1473,10 +1653,52 @@ void Parameter::clear_default_() { clear_has_behavior(); } } +void Parameter::set_allocated_artifact_query(::flyteidl::core::ArtifactQuery* artifact_query) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_behavior(); + if (artifact_query) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_query = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_query, submessage_arena); + } + set_has_artifact_query(); + behavior_.artifact_query_ = artifact_query; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Parameter.artifact_query) +} +void Parameter::clear_artifact_query() { + if (has_artifact_query()) { + delete behavior_.artifact_query_; + clear_has_behavior(); + } +} +void Parameter::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_behavior(); + if (artifact_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_id, submessage_arena); + } + set_has_artifact_id(); + behavior_.artifact_id_ = artifact_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Parameter.artifact_id) +} +void Parameter::clear_artifact_id() { + if (has_artifact_id()) { + delete behavior_.artifact_id_; + clear_has_behavior(); + } +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int Parameter::kVarFieldNumber; const int Parameter::kDefaultFieldNumber; const int Parameter::kRequiredFieldNumber; +const int Parameter::kArtifactQueryFieldNumber; +const int Parameter::kArtifactIdFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Parameter::Parameter() @@ -1503,6 +1725,14 @@ Parameter::Parameter(const Parameter& from) set_required(from.required()); break; } + case kArtifactQuery: { + mutable_artifact_query()->::flyteidl::core::ArtifactQuery::MergeFrom(from.artifact_query()); + break; + } + case kArtifactId: { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + break; + } case BEHAVIOR_NOT_SET: { break; } @@ -1549,6 +1779,14 @@ void Parameter::clear_behavior() { // No need to clear break; } + case kArtifactQuery: { + delete behavior_.artifact_query_; + break; + } + case kArtifactId: { + delete behavior_.artifact_id_; + break; + } case BEHAVIOR_NOT_SET: { break; } @@ -1617,6 +1855,32 @@ const char* Parameter::_InternalParse(const char* begin, const char* end, void* GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } + // .flyteidl.core.ArtifactQuery artifact_query = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactQuery::_InternalParse; + object = msg->mutable_artifact_query(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.ArtifactID artifact_id = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->mutable_artifact_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -1683,6 +1947,28 @@ bool Parameter::MergePartialFromCodedStream( break; } + // .flyteidl.core.ArtifactQuery artifact_query = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_query())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.ArtifactID artifact_id = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_id())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -1727,6 +2013,18 @@ void Parameter::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->required(), output); } + // .flyteidl.core.ArtifactQuery artifact_query = 4; + if (has_artifact_query()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::artifact_query(this), output); + } + + // .flyteidl.core.ArtifactID artifact_id = 5; + if (has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::artifact_id(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -1759,6 +2057,20 @@ ::google::protobuf::uint8* Parameter::InternalSerializeWithCachedSizesToArray( target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->required(), target); } + // .flyteidl.core.ArtifactQuery artifact_query = 4; + if (has_artifact_query()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::artifact_query(this), target); + } + + // .flyteidl.core.ArtifactID artifact_id = 5; + if (has_artifact_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::artifact_id(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -1800,6 +2112,20 @@ size_t Parameter::ByteSizeLong() const { total_size += 1 + 1; break; } + // .flyteidl.core.ArtifactQuery artifact_query = 4; + case kArtifactQuery: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *behavior_.artifact_query_); + break; + } + // .flyteidl.core.ArtifactID artifact_id = 5; + case kArtifactId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *behavior_.artifact_id_); + break; + } case BEHAVIOR_NOT_SET: { break; } @@ -1843,6 +2169,14 @@ void Parameter::MergeFrom(const Parameter& from) { set_required(from.required()); break; } + case kArtifactQuery: { + mutable_artifact_query()->::flyteidl::core::ArtifactQuery::MergeFrom(from.artifact_query()); + break; + } + case kArtifactId: { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + break; + } case BEHAVIOR_NOT_SET: { break; } diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h index 91e935e086..db01d703d8 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h @@ -36,6 +36,7 @@ #include #include "flyteidl/core/types.pb.h" #include "flyteidl/core/literals.pb.h" +#include "flyteidl/core/artifact_id.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto @@ -212,6 +213,24 @@ class Variable final : ::flyteidl::core::LiteralType* mutable_type(); void set_allocated_type(::flyteidl::core::LiteralType* type); + // .flyteidl.core.ArtifactID artifact_partial_id = 3; + bool has_artifact_partial_id() const; + void clear_artifact_partial_id(); + static const int kArtifactPartialIdFieldNumber = 3; + const ::flyteidl::core::ArtifactID& artifact_partial_id() const; + ::flyteidl::core::ArtifactID* release_artifact_partial_id(); + ::flyteidl::core::ArtifactID* mutable_artifact_partial_id(); + void set_allocated_artifact_partial_id(::flyteidl::core::ArtifactID* artifact_partial_id); + + // .flyteidl.core.ArtifactTag artifact_tag = 4; + bool has_artifact_tag() const; + void clear_artifact_tag(); + static const int kArtifactTagFieldNumber = 4; + const ::flyteidl::core::ArtifactTag& artifact_tag() const; + ::flyteidl::core::ArtifactTag* release_artifact_tag(); + ::flyteidl::core::ArtifactTag* mutable_artifact_tag(); + void set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag); + // @@protoc_insertion_point(class_scope:flyteidl.core.Variable) private: class HasBitSetters; @@ -219,6 +238,8 @@ class Variable final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr description_; ::flyteidl::core::LiteralType* type_; + ::flyteidl::core::ArtifactID* artifact_partial_id_; + ::flyteidl::core::ArtifactTag* artifact_tag_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fcore_2finterface_2eproto; }; @@ -529,6 +550,8 @@ class Parameter final : enum BehaviorCase { kDefault = 2, kRequired = 3, + kArtifactQuery = 4, + kArtifactId = 5, BEHAVIOR_NOT_SET = 0, }; @@ -622,6 +645,24 @@ class Parameter final : bool required() const; void set_required(bool value); + // .flyteidl.core.ArtifactQuery artifact_query = 4; + bool has_artifact_query() const; + void clear_artifact_query(); + static const int kArtifactQueryFieldNumber = 4; + const ::flyteidl::core::ArtifactQuery& artifact_query() const; + ::flyteidl::core::ArtifactQuery* release_artifact_query(); + ::flyteidl::core::ArtifactQuery* mutable_artifact_query(); + void set_allocated_artifact_query(::flyteidl::core::ArtifactQuery* artifact_query); + + // .flyteidl.core.ArtifactID artifact_id = 5; + bool has_artifact_id() const; + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 5; + const ::flyteidl::core::ArtifactID& artifact_id() const; + ::flyteidl::core::ArtifactID* release_artifact_id(); + ::flyteidl::core::ArtifactID* mutable_artifact_id(); + void set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id); + void clear_behavior(); BehaviorCase behavior_case() const; // @@protoc_insertion_point(class_scope:flyteidl.core.Parameter) @@ -629,6 +670,8 @@ class Parameter final : class HasBitSetters; void set_has_default_(); void set_has_required(); + void set_has_artifact_query(); + void set_has_artifact_id(); inline bool has_behavior() const; inline void clear_has_behavior(); @@ -639,6 +682,8 @@ class Parameter final : BehaviorUnion() {} ::flyteidl::core::Literal* default__; bool required_; + ::flyteidl::core::ArtifactQuery* artifact_query_; + ::flyteidl::core::ArtifactID* artifact_id_; } behavior_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::uint32 _oneof_case_[1]; @@ -899,6 +944,96 @@ inline void Variable::set_allocated_description(::std::string* description) { // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Variable.description) } +// .flyteidl.core.ArtifactID artifact_partial_id = 3; +inline bool Variable::has_artifact_partial_id() const { + return this != internal_default_instance() && artifact_partial_id_ != nullptr; +} +inline const ::flyteidl::core::ArtifactID& Variable::artifact_partial_id() const { + const ::flyteidl::core::ArtifactID* p = artifact_partial_id_; + // @@protoc_insertion_point(field_get:flyteidl.core.Variable.artifact_partial_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* Variable::release_artifact_partial_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Variable.artifact_partial_id) + + ::flyteidl::core::ArtifactID* temp = artifact_partial_id_; + artifact_partial_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactID* Variable::mutable_artifact_partial_id() { + + if (artifact_partial_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactID>(GetArenaNoVirtual()); + artifact_partial_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Variable.artifact_partial_id) + return artifact_partial_id_; +} +inline void Variable::set_allocated_artifact_partial_id(::flyteidl::core::ArtifactID* artifact_partial_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_partial_id_); + } + if (artifact_partial_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_partial_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_partial_id, submessage_arena); + } + + } else { + + } + artifact_partial_id_ = artifact_partial_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Variable.artifact_partial_id) +} + +// .flyteidl.core.ArtifactTag artifact_tag = 4; +inline bool Variable::has_artifact_tag() const { + return this != internal_default_instance() && artifact_tag_ != nullptr; +} +inline const ::flyteidl::core::ArtifactTag& Variable::artifact_tag() const { + const ::flyteidl::core::ArtifactTag* p = artifact_tag_; + // @@protoc_insertion_point(field_get:flyteidl.core.Variable.artifact_tag) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactTag_default_instance_); +} +inline ::flyteidl::core::ArtifactTag* Variable::release_artifact_tag() { + // @@protoc_insertion_point(field_release:flyteidl.core.Variable.artifact_tag) + + ::flyteidl::core::ArtifactTag* temp = artifact_tag_; + artifact_tag_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactTag* Variable::mutable_artifact_tag() { + + if (artifact_tag_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactTag>(GetArenaNoVirtual()); + artifact_tag_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Variable.artifact_tag) + return artifact_tag_; +} +inline void Variable::set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_tag_); + } + if (artifact_tag) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_tag = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_tag, submessage_arena); + } + + } else { + + } + artifact_tag_ = artifact_tag; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Variable.artifact_tag) +} + // ------------------------------------------------------------------- // ------------------------------------------------------------------- @@ -1148,6 +1283,76 @@ inline void Parameter::set_required(bool value) { // @@protoc_insertion_point(field_set:flyteidl.core.Parameter.required) } +// .flyteidl.core.ArtifactQuery artifact_query = 4; +inline bool Parameter::has_artifact_query() const { + return behavior_case() == kArtifactQuery; +} +inline void Parameter::set_has_artifact_query() { + _oneof_case_[0] = kArtifactQuery; +} +inline ::flyteidl::core::ArtifactQuery* Parameter::release_artifact_query() { + // @@protoc_insertion_point(field_release:flyteidl.core.Parameter.artifact_query) + if (has_artifact_query()) { + clear_has_behavior(); + ::flyteidl::core::ArtifactQuery* temp = behavior_.artifact_query_; + behavior_.artifact_query_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::ArtifactQuery& Parameter::artifact_query() const { + // @@protoc_insertion_point(field_get:flyteidl.core.Parameter.artifact_query) + return has_artifact_query() + ? *behavior_.artifact_query_ + : *reinterpret_cast< ::flyteidl::core::ArtifactQuery*>(&::flyteidl::core::_ArtifactQuery_default_instance_); +} +inline ::flyteidl::core::ArtifactQuery* Parameter::mutable_artifact_query() { + if (!has_artifact_query()) { + clear_behavior(); + set_has_artifact_query(); + behavior_.artifact_query_ = CreateMaybeMessage< ::flyteidl::core::ArtifactQuery >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Parameter.artifact_query) + return behavior_.artifact_query_; +} + +// .flyteidl.core.ArtifactID artifact_id = 5; +inline bool Parameter::has_artifact_id() const { + return behavior_case() == kArtifactId; +} +inline void Parameter::set_has_artifact_id() { + _oneof_case_[0] = kArtifactId; +} +inline ::flyteidl::core::ArtifactID* Parameter::release_artifact_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Parameter.artifact_id) + if (has_artifact_id()) { + clear_has_behavior(); + ::flyteidl::core::ArtifactID* temp = behavior_.artifact_id_; + behavior_.artifact_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::ArtifactID& Parameter::artifact_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.Parameter.artifact_id) + return has_artifact_id() + ? *behavior_.artifact_id_ + : *reinterpret_cast< ::flyteidl::core::ArtifactID*>(&::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* Parameter::mutable_artifact_id() { + if (!has_artifact_id()) { + clear_behavior(); + set_has_artifact_id(); + behavior_.artifact_id_ = CreateMaybeMessage< ::flyteidl::core::ArtifactID >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Parameter.artifact_id) + return behavior_.artifact_id_; +} + inline bool Parameter::has_behavior() const { return behavior_case() != BEHAVIOR_NOT_SET; } diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc index 5ab3524696..355aa07fe7 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc @@ -17,7 +17,9 @@ #include extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Void_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_BlobMetadata_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto; @@ -26,7 +28,6 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::pro extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Error_flyteidl_2fcore_2ftypes_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_OutputReference_flyteidl_2fcore_2ftypes_2eproto; @@ -92,6 +93,10 @@ class ScalarDefaultTypeInternal { const ::flyteidl::core::StructuredDataset* structured_dataset_; const ::flyteidl::core::Union* union__; } _Scalar_default_instance_; +class Literal_MetadataEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Literal_MetadataEntry_DoNotUse_default_instance_; class LiteralDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -268,6 +273,19 @@ ::google::protobuf::internal::SCCInfo<1> scc_info_StructuredDataset_flyteidl_2fc {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsStructuredDataset_flyteidl_2fcore_2fliterals_2eproto}, { &scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto.base,}}; +static void InitDefaultsLiteral_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_Literal_MetadataEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::core::Literal_MetadataEntry_DoNotUse(); + } + ::flyteidl::core::Literal_MetadataEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLiteral_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto}, {}}; + static void InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -308,8 +326,9 @@ static void InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto() { ::flyteidl::core::LiteralMap::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 9, InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto}, { +::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 10, InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto}, { + &scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto.base, &scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto.base, &scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto.base, &scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto.base, @@ -421,6 +440,7 @@ void InitDefaults_flyteidl_2fcore_2fliterals_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_StructuredDataset_flyteidl_2fcore_2fliterals_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); @@ -429,7 +449,7 @@ void InitDefaults_flyteidl_2fcore_2fliterals_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[22]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[23]; constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fliterals_2eproto = nullptr; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fliterals_2eproto = nullptr; @@ -513,6 +533,15 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fliterals_2eproto: offsetof(::flyteidl::core::ScalarDefaultTypeInternal, structured_dataset_), offsetof(::flyteidl::core::ScalarDefaultTypeInternal, union__), PROTOBUF_FIELD_OFFSET(::flyteidl::core::Scalar, value_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, value_), + 0, + 1, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, _internal_metadata_), ~0u, // no _extensions_ @@ -522,6 +551,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fliterals_2eproto: offsetof(::flyteidl::core::LiteralDefaultTypeInternal, collection_), offsetof(::flyteidl::core::LiteralDefaultTypeInternal, map_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, hash_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, metadata_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, value_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralCollection, _internal_metadata_), @@ -614,18 +644,19 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 51, -1, sizeof(::flyteidl::core::StructuredDatasetMetadata)}, { 57, -1, sizeof(::flyteidl::core::StructuredDataset)}, { 64, -1, sizeof(::flyteidl::core::Scalar)}, - { 79, -1, sizeof(::flyteidl::core::Literal)}, - { 89, -1, sizeof(::flyteidl::core::LiteralCollection)}, - { 95, 102, sizeof(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse)}, - { 104, -1, sizeof(::flyteidl::core::LiteralMap)}, - { 110, -1, sizeof(::flyteidl::core::BindingDataCollection)}, - { 116, 123, sizeof(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse)}, - { 125, -1, sizeof(::flyteidl::core::BindingDataMap)}, - { 131, -1, sizeof(::flyteidl::core::UnionInfo)}, - { 137, -1, sizeof(::flyteidl::core::BindingData)}, - { 148, -1, sizeof(::flyteidl::core::Binding)}, - { 155, -1, sizeof(::flyteidl::core::KeyValuePair)}, - { 162, -1, sizeof(::flyteidl::core::RetryStrategy)}, + { 79, 86, sizeof(::flyteidl::core::Literal_MetadataEntry_DoNotUse)}, + { 88, -1, sizeof(::flyteidl::core::Literal)}, + { 99, -1, sizeof(::flyteidl::core::LiteralCollection)}, + { 105, 112, sizeof(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse)}, + { 114, -1, sizeof(::flyteidl::core::LiteralMap)}, + { 120, -1, sizeof(::flyteidl::core::BindingDataCollection)}, + { 126, 133, sizeof(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse)}, + { 135, -1, sizeof(::flyteidl::core::BindingDataMap)}, + { 141, -1, sizeof(::flyteidl::core::UnionInfo)}, + { 147, -1, sizeof(::flyteidl::core::BindingData)}, + { 158, -1, sizeof(::flyteidl::core::Binding)}, + { 165, -1, sizeof(::flyteidl::core::KeyValuePair)}, + { 172, -1, sizeof(::flyteidl::core::RetryStrategy)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -639,6 +670,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::core::_StructuredDatasetMetadata_default_instance_), reinterpret_cast(&::flyteidl::core::_StructuredDataset_default_instance_), reinterpret_cast(&::flyteidl::core::_Scalar_default_instance_), + reinterpret_cast(&::flyteidl::core::_Literal_MetadataEntry_DoNotUse_default_instance_), reinterpret_cast(&::flyteidl::core::_Literal_default_instance_), reinterpret_cast(&::flyteidl::core::_LiteralCollection_default_instance_), reinterpret_cast(&::flyteidl::core::_LiteralMap_LiteralsEntry_DoNotUse_default_instance_), @@ -656,7 +688,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto = { {}, AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, "flyteidl/core/literals.proto", schemas, file_default_instances, TableStruct_flyteidl_2fcore_2fliterals_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fliterals_2eproto, 22, file_level_enum_descriptors_flyteidl_2fcore_2fliterals_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fliterals_2eproto, + file_level_metadata_flyteidl_2fcore_2fliterals_2eproto, 23, file_level_enum_descriptors_flyteidl_2fcore_2fliterals_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fliterals_2eproto, }; const char descriptor_table_protodef_flyteidl_2fcore_2fliterals_2eproto[] = @@ -692,41 +724,44 @@ const char descriptor_table_protodef_flyteidl_2fcore_2fliterals_2eproto[] = "(\0132\027.google.protobuf.StructH\000\022>\n\022structu" "red_dataset\030\010 \001(\0132 .flyteidl.core.Struct" "uredDatasetH\000\022%\n\005union\030\t \001(\0132\024.flyteidl." - "core.UnionH\000B\007\n\005value\"\253\001\n\007Literal\022\'\n\006sca" + "core.UnionH\000B\007\n\005value\"\224\002\n\007Literal\022\'\n\006sca" "lar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\0226\n\nco" "llection\030\002 \001(\0132 .flyteidl.core.LiteralCo" "llectionH\000\022(\n\003map\030\003 \001(\0132\031.flyteidl.core." - "LiteralMapH\000\022\014\n\004hash\030\004 \001(\tB\007\n\005value\"=\n\021L" - "iteralCollection\022(\n\010literals\030\001 \003(\0132\026.fly" - "teidl.core.Literal\"\220\001\n\nLiteralMap\0229\n\010lit" - "erals\030\001 \003(\0132\'.flyteidl.core.LiteralMap.L" - "iteralsEntry\032G\n\rLiteralsEntry\022\013\n\003key\030\001 \001" - "(\t\022%\n\005value\030\002 \001(\0132\026.flyteidl.core.Litera" - "l:\0028\001\"E\n\025BindingDataCollection\022,\n\010bindin" - "gs\030\001 \003(\0132\032.flyteidl.core.BindingData\"\234\001\n" - "\016BindingDataMap\022=\n\010bindings\030\001 \003(\0132+.flyt" - "eidl.core.BindingDataMap.BindingsEntry\032K" - "\n\rBindingsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005value\030\002 " - "\001(\0132\032.flyteidl.core.BindingData:\0028\001\";\n\tU" - "nionInfo\022.\n\ntargetType\030\001 \001(\0132\032.flyteidl." - "core.LiteralType\"\205\002\n\013BindingData\022\'\n\006scal" - "ar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\022:\n\ncol" - "lection\030\002 \001(\0132$.flyteidl.core.BindingDat" - "aCollectionH\000\0221\n\007promise\030\003 \001(\0132\036.flyteid" - "l.core.OutputReferenceH\000\022,\n\003map\030\004 \001(\0132\035." - "flyteidl.core.BindingDataMapH\000\022\'\n\005union\030" - "\005 \001(\0132\030.flyteidl.core.UnionInfoB\007\n\005value" - "\"C\n\007Binding\022\013\n\003var\030\001 \001(\t\022+\n\007binding\030\002 \001(" - "\0132\032.flyteidl.core.BindingData\"*\n\014KeyValu" - "ePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\" \n\rRet" - "ryStrategy\022\017\n\007retries\030\005 \001(\rB; + auto mf = static_cast(object); + Parser> parser(mf); +#define DO_(x) if (!(x)) return false + DO_(parser.ParseMap(begin, end)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Literal.MetadataEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Literal.MetadataEntry.value")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + // =================================================================== void Literal::InitAsDefaultInstance() { @@ -5055,6 +5131,7 @@ const int Literal::kScalarFieldNumber; const int Literal::kCollectionFieldNumber; const int Literal::kMapFieldNumber; const int Literal::kHashFieldNumber; +const int Literal::kMetadataFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Literal::Literal() @@ -5066,6 +5143,7 @@ Literal::Literal(const Literal& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); + metadata_.MergeFrom(from.metadata_); hash_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.hash().size() > 0) { hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hash_); @@ -5148,6 +5226,7 @@ void Literal::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + metadata_.Clear(); hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_value(); _internal_metadata_.Clear(); @@ -5221,6 +5300,25 @@ const char* Literal::_InternalParse(const char* begin, const char* end, void* ob ptr += size; break; } + // map metadata = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; + auto parse_map = ::flyteidl::core::Literal_MetadataEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->metadata_; + if (size > end - ptr) goto len_delim_till_end; + auto newend = ptr + size; + GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); + ptr = newend; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -5303,6 +5401,32 @@ bool Literal::MergePartialFromCodedStream( break; } + // map metadata = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + Literal_MetadataEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + Literal_MetadataEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 >, + ::google::protobuf::Map< ::std::string, ::std::string > > parser(&metadata_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Literal.MetadataEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Literal.MetadataEntry.value")); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -5358,6 +5482,55 @@ void Literal::SerializeWithCachedSizes( 4, this->hash(), output); } + // map metadata = 5; + if (!this->metadata().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Literal.MetadataEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Literal.MetadataEntry.value"); + } + }; + + if (output->IsSerializationDeterministic() && + this->metadata().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->metadata().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->metadata().begin(); + it != this->metadata().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(metadata_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->metadata().begin(); + it != this->metadata().end(); ++it) { + entry.reset(metadata_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -5403,6 +5576,55 @@ ::google::protobuf::uint8* Literal::InternalSerializeWithCachedSizesToArray( 4, this->hash(), target); } + // map metadata = 5; + if (!this->metadata().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Literal.MetadataEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Literal.MetadataEntry.value"); + } + }; + + if (false && + this->metadata().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->metadata().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->metadata().begin(); + it != this->metadata().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(metadata_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->metadata().begin(); + it != this->metadata().end(); ++it) { + entry.reset(metadata_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -5424,6 +5646,20 @@ size_t Literal::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // map metadata = 5; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->metadata_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->metadata().begin(); + it != this->metadata().end(); ++it) { + entry.reset(metadata_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + // string hash = 4; if (this->hash().size() > 0) { total_size += 1 + @@ -5484,6 +5720,7 @@ void Literal::MergeFrom(const Literal& from) { ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; + metadata_.MergeFrom(from.metadata_); if (from.hash().size() > 0) { hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hash_); @@ -5532,6 +5769,7 @@ void Literal::Swap(Literal* other) { void Literal::InternalSwap(Literal* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); + metadata_.Swap(&other->metadata_); hash_.Swap(&other->hash_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(value_, other->value_); @@ -5834,7 +6072,7 @@ void LiteralMap_LiteralsEntry_DoNotUse::MergeFrom(const LiteralMap_LiteralsEntry } ::google::protobuf::Metadata LiteralMap_LiteralsEntry_DoNotUse::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[12]; + return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[13]; } void LiteralMap_LiteralsEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -6521,7 +6759,7 @@ void BindingDataMap_BindingsEntry_DoNotUse::MergeFrom(const BindingDataMap_Bindi } ::google::protobuf::Metadata BindingDataMap_BindingsEntry_DoNotUse::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[15]; + return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[16]; } void BindingDataMap_BindingsEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -8879,6 +9117,9 @@ template<> PROTOBUF_NOINLINE ::flyteidl::core::StructuredDataset* Arena::CreateM template<> PROTOBUF_NOINLINE ::flyteidl::core::Scalar* Arena::CreateMaybeMessage< ::flyteidl::core::Scalar >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::core::Scalar >(arena); } +template<> PROTOBUF_NOINLINE ::flyteidl::core::Literal_MetadataEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::Literal_MetadataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::Literal_MetadataEntry_DoNotUse >(arena); +} template<> PROTOBUF_NOINLINE ::flyteidl::core::Literal* Arena::CreateMaybeMessage< ::flyteidl::core::Literal >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::core::Literal >(arena); } diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h index ebb369623b..e167eef934 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h @@ -48,7 +48,7 @@ struct TableStruct_flyteidl_2fcore_2fliterals_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[22] + static const ::google::protobuf::internal::ParseTable schema[23] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -96,6 +96,9 @@ extern LiteralMapDefaultTypeInternal _LiteralMap_default_instance_; class LiteralMap_LiteralsEntry_DoNotUse; class LiteralMap_LiteralsEntry_DoNotUseDefaultTypeInternal; extern LiteralMap_LiteralsEntry_DoNotUseDefaultTypeInternal _LiteralMap_LiteralsEntry_DoNotUse_default_instance_; +class Literal_MetadataEntry_DoNotUse; +class Literal_MetadataEntry_DoNotUseDefaultTypeInternal; +extern Literal_MetadataEntry_DoNotUseDefaultTypeInternal _Literal_MetadataEntry_DoNotUse_default_instance_; class Primitive; class PrimitiveDefaultTypeInternal; extern PrimitiveDefaultTypeInternal _Primitive_default_instance_; @@ -140,6 +143,7 @@ template<> ::flyteidl::core::Literal* Arena::CreateMaybeMessage<::flyteidl::core template<> ::flyteidl::core::LiteralCollection* Arena::CreateMaybeMessage<::flyteidl::core::LiteralCollection>(Arena*); template<> ::flyteidl::core::LiteralMap* Arena::CreateMaybeMessage<::flyteidl::core::LiteralMap>(Arena*); template<> ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse>(Arena*); +template<> ::flyteidl::core::Literal_MetadataEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::Literal_MetadataEntry_DoNotUse>(Arena*); template<> ::flyteidl::core::Primitive* Arena::CreateMaybeMessage<::flyteidl::core::Primitive>(Arena*); template<> ::flyteidl::core::RetryStrategy* Arena::CreateMaybeMessage<::flyteidl::core::RetryStrategy>(Arena*); template<> ::flyteidl::core::Scalar* Arena::CreateMaybeMessage<::flyteidl::core::Scalar>(Arena*); @@ -1567,6 +1571,30 @@ class Scalar final : }; // ------------------------------------------------------------------- +class Literal_MetadataEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + typedef ::google::protobuf::internal::MapEntry SuperType; + Literal_MetadataEntry_DoNotUse(); + Literal_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const Literal_MetadataEntry_DoNotUse& other); + static const Literal_MetadataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Literal_MetadataEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + class Literal final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Literal) */ { public: @@ -1612,7 +1640,7 @@ class Literal final : &_Literal_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 11; void Swap(Literal* other); friend void swap(Literal& a, Literal& b) { @@ -1667,8 +1695,18 @@ class Literal final : // nested types ---------------------------------------------------- + // accessors ------------------------------------------------------- + // map metadata = 5; + int metadata_size() const; + void clear_metadata(); + static const int kMetadataFieldNumber = 5; + const ::google::protobuf::Map< ::std::string, ::std::string >& + metadata() const; + ::google::protobuf::Map< ::std::string, ::std::string >* + mutable_metadata(); + // string hash = 4; void clear_hash(); static const int kHashFieldNumber = 4; @@ -1723,6 +1761,12 @@ class Literal final : inline void clear_has_value(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + Literal_MetadataEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 > metadata_; ::google::protobuf::internal::ArenaStringPtr hash_; union ValueUnion { ValueUnion() {} @@ -1775,7 +1819,7 @@ class LiteralCollection final : &_LiteralCollection_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 12; void Swap(LiteralCollection* other); friend void swap(LiteralCollection& a, LiteralCollection& b) { @@ -1917,7 +1961,7 @@ class LiteralMap final : &_LiteralMap_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 14; void Swap(LiteralMap* other); friend void swap(LiteralMap& a, LiteralMap& b) { @@ -2038,7 +2082,7 @@ class BindingDataCollection final : &_BindingDataCollection_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 15; void Swap(BindingDataCollection* other); friend void swap(BindingDataCollection& a, BindingDataCollection& b) { @@ -2180,7 +2224,7 @@ class BindingDataMap final : &_BindingDataMap_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 17; void Swap(BindingDataMap* other); friend void swap(BindingDataMap& a, BindingDataMap& b) { @@ -2301,7 +2345,7 @@ class UnionInfo final : &_UnionInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; void Swap(UnionInfo* other); friend void swap(UnionInfo& a, UnionInfo& b) { @@ -2424,7 +2468,7 @@ class BindingData final : &_BindingData_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 19; void Swap(BindingData* other); friend void swap(BindingData& a, BindingData& b) { @@ -2593,7 +2637,7 @@ class Binding final : &_Binding_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 20; void Swap(Binding* other); friend void swap(Binding& a, Binding& b) { @@ -2723,7 +2767,7 @@ class KeyValuePair final : &_KeyValuePair_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 21; void Swap(KeyValuePair* other); friend void swap(KeyValuePair& a, KeyValuePair& b) { @@ -2858,7 +2902,7 @@ class RetryStrategy final : &_RetryStrategy_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 22; void Swap(RetryStrategy* other); friend void swap(RetryStrategy& a, RetryStrategy& b) { @@ -4201,6 +4245,8 @@ inline Scalar::ValueCase Scalar::value_case() const { } // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // Literal // .flyteidl.core.Scalar scalar = 1; @@ -4379,6 +4425,24 @@ inline void Literal::set_allocated_hash(::std::string* hash) { // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Literal.hash) } +// map metadata = 5; +inline int Literal::metadata_size() const { + return metadata_.size(); +} +inline void Literal::clear_metadata() { + metadata_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::std::string >& +Literal::metadata() const { + // @@protoc_insertion_point(field_map:flyteidl.core.Literal.metadata) + return metadata_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::std::string >* +Literal::mutable_metadata() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.core.Literal.metadata) + return metadata_.MutableMap(); +} + inline bool Literal::has_value() const { return value_case() != VALUE_NOT_SET; } @@ -5056,6 +5120,8 @@ inline void RetryStrategy::set_retries(::google::protobuf::uint32 value) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc index 4188d31f95..61112687ea 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc @@ -16,7 +16,7 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc new file mode 100644 index 0000000000..dd34f52276 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc @@ -0,0 +1,24 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/event/cloudevents.proto + +#include "flyteidl/event/cloudevents.pb.h" +#include "flyteidl/event/cloudevents.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace event { + +} // namespace flyteidl +} // namespace event + diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h new file mode 100644 index 0000000000..3572885d64 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h @@ -0,0 +1,47 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/event/cloudevents.proto +#ifndef GRPC_flyteidl_2fevent_2fcloudevents_2eproto__INCLUDED +#define GRPC_flyteidl_2fevent_2fcloudevents_2eproto__INCLUDED + +#include "flyteidl/event/cloudevents.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace event { + +} // namespace event +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fevent_2fcloudevents_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc new file mode 100644 index 0000000000..32c380a783 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc @@ -0,0 +1,2733 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/event/cloudevents.proto + +#include "flyteidl/event/cloudevents.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; +namespace flyteidl { +namespace event { +class CloudEventWorkflowExecutionDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CloudEventWorkflowExecution_default_instance_; +class CloudEventNodeExecutionDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CloudEventNodeExecution_default_instance_; +class CloudEventTaskExecutionDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CloudEventTaskExecution_default_instance_; +class CloudEventExecutionStartDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CloudEventExecutionStart_default_instance_; +} // namespace event +} // namespace flyteidl +static void InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::event::_CloudEventWorkflowExecution_default_instance_; + new (ptr) ::flyteidl::event::CloudEventWorkflowExecution(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::event::CloudEventWorkflowExecution::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<7> scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 7, InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { + &scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, + &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::event::_CloudEventNodeExecution_default_instance_; + new (ptr) ::flyteidl::event::CloudEventNodeExecution(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::event::CloudEventNodeExecution::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { + &scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base,}}; + +static void InitDefaultsCloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::event::_CloudEventTaskExecution_default_instance_; + new (ptr) ::flyteidl::event::CloudEventTaskExecution(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::event::CloudEventTaskExecution::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<7> scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 7, InitDefaultsCloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { + &scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, + &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsCloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::event::_CloudEventExecutionStart_default_instance_; + new (ptr) ::flyteidl::event::CloudEventExecutionStart(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::event::CloudEventExecutionStart::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsCloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto}, { + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +void InitDefaults_flyteidl_2fevent_2fcloudevents_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[4]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fevent_2fcloudevents_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fevent_2fcloudevents_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, raw_event_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_data_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_interface_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, input_data_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, scheduled_at_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, artifact_ids_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, parent_node_execution_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, reference_execution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, raw_event_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, raw_event_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, output_data_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, output_interface_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, input_data_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, scheduled_at_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, artifact_ids_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, parent_node_execution_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, reference_execution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, execution_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, launch_plan_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, workflow_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, artifact_ids_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, artifact_keys_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::event::CloudEventWorkflowExecution)}, + { 13, -1, sizeof(::flyteidl::event::CloudEventNodeExecution)}, + { 19, -1, sizeof(::flyteidl::event::CloudEventTaskExecution)}, + { 32, -1, sizeof(::flyteidl::event::CloudEventExecutionStart)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::event::_CloudEventWorkflowExecution_default_instance_), + reinterpret_cast(&::flyteidl::event::_CloudEventNodeExecution_default_instance_), + reinterpret_cast(&::flyteidl::event::_CloudEventTaskExecution_default_instance_), + reinterpret_cast(&::flyteidl::event::_CloudEventExecutionStart_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto = { + {}, AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto, "flyteidl/event/cloudevents.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fevent_2fcloudevents_2eproto::offsets, + file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto, 4, file_level_enum_descriptors_flyteidl_2fevent_2fcloudevents_2eproto, file_level_service_descriptors_flyteidl_2fevent_2fcloudevents_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fevent_2fcloudevents_2eproto[] = + "\n flyteidl/event/cloudevents.proto\022\016flyt" + "eidl.event\032\032flyteidl/event/event.proto\032\034" + "flyteidl/core/literals.proto\032\035flyteidl/c" + "ore/interface.proto\032\037flyteidl/core/artif" + "act_id.proto\032\036flyteidl/core/identifier.p" + "roto\032\037google/protobuf/timestamp.proto\"\343\003" + "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" + "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" + "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + "\0220\n\014scheduled_at\030\005 \001(\0132\032.google.protobuf" + ".Timestamp\022/\n\014artifact_ids\030\006 \003(\0132\031.flyte" + "idl.core.ArtifactID\022E\n\025parent_node_execu" + "tion\030\007 \001(\0132&.flyteidl.core.NodeExecution" + "Identifier\022G\n\023reference_execution\030\010 \001(\0132" + "*.flyteidl.core.WorkflowExecutionIdentif" + "ier\"P\n\027CloudEventNodeExecution\0225\n\traw_ev" + "ent\030\001 \001(\0132\".flyteidl.event.NodeExecution" + "Event\"\333\003\n\027CloudEventTaskExecution\0225\n\traw" + "_event\030\001 \001(\0132\".flyteidl.event.TaskExecut" + "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + "\0220\n\014scheduled_at\030\005 \001(\0132\032.google.protobuf" + ".Timestamp\022/\n\014artifact_ids\030\006 \003(\0132\031.flyte" + "idl.core.ArtifactID\022E\n\025parent_node_execu" + "tion\030\007 \001(\0132&.flyteidl.core.NodeExecution" + "Identifier\022G\n\023reference_execution\030\010 \001(\0132" + "*.flyteidl.core.WorkflowExecutionIdentif" + "ier\"\207\002\n\030CloudEventExecutionStart\022@\n\014exec" + "ution_id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + "xecutionIdentifier\0221\n\016launch_plan_id\030\002 \001" + "(\0132\031.flyteidl.core.Identifier\022.\n\013workflo" + "w_id\030\003 \001(\0132\031.flyteidl.core.Identifier\022/\n" + "\014artifact_ids\030\004 \003(\0132\031.flyteidl.core.Arti" + "factID\022\025\n\rartifact_keys\030\005 \003(\tB=Z;github." + "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + "yteidl/eventb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fevent_2fcloudevents_2eproto = { + false, InitDefaults_flyteidl_2fevent_2fcloudevents_2eproto, + descriptor_table_protodef_flyteidl_2fevent_2fcloudevents_2eproto, + "flyteidl/event/cloudevents.proto", &assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto, 1620, +}; + +void AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[6] = + { + ::AddDescriptors_flyteidl_2fevent_2fevent_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, + ::AddDescriptors_flyteidl_2fcore_2finterface_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fevent_2fcloudevents_2eproto, deps, 6); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fevent_2fcloudevents_2eproto = []() { AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto(); return true; }(); +namespace flyteidl { +namespace event { + +// =================================================================== + +void CloudEventWorkflowExecution::InitAsDefaultInstance() { + ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->raw_event_ = const_cast< ::flyteidl::event::WorkflowExecutionEvent*>( + ::flyteidl::event::WorkflowExecutionEvent::internal_default_instance()); + ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::internal_default_instance()); + ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->output_interface_ = const_cast< ::flyteidl::core::TypedInterface*>( + ::flyteidl::core::TypedInterface::internal_default_instance()); + ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::internal_default_instance()); + ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->scheduled_at_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); + ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->parent_node_execution_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( + ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); + ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->reference_execution_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); +} +class CloudEventWorkflowExecution::HasBitSetters { + public: + static const ::flyteidl::event::WorkflowExecutionEvent& raw_event(const CloudEventWorkflowExecution* msg); + static const ::flyteidl::core::LiteralMap& output_data(const CloudEventWorkflowExecution* msg); + static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventWorkflowExecution* msg); + static const ::flyteidl::core::LiteralMap& input_data(const CloudEventWorkflowExecution* msg); + static const ::google::protobuf::Timestamp& scheduled_at(const CloudEventWorkflowExecution* msg); + static const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution(const CloudEventWorkflowExecution* msg); + static const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution(const CloudEventWorkflowExecution* msg); +}; + +const ::flyteidl::event::WorkflowExecutionEvent& +CloudEventWorkflowExecution::HasBitSetters::raw_event(const CloudEventWorkflowExecution* msg) { + return *msg->raw_event_; +} +const ::flyteidl::core::LiteralMap& +CloudEventWorkflowExecution::HasBitSetters::output_data(const CloudEventWorkflowExecution* msg) { + return *msg->output_data_; +} +const ::flyteidl::core::TypedInterface& +CloudEventWorkflowExecution::HasBitSetters::output_interface(const CloudEventWorkflowExecution* msg) { + return *msg->output_interface_; +} +const ::flyteidl::core::LiteralMap& +CloudEventWorkflowExecution::HasBitSetters::input_data(const CloudEventWorkflowExecution* msg) { + return *msg->input_data_; +} +const ::google::protobuf::Timestamp& +CloudEventWorkflowExecution::HasBitSetters::scheduled_at(const CloudEventWorkflowExecution* msg) { + return *msg->scheduled_at_; +} +const ::flyteidl::core::NodeExecutionIdentifier& +CloudEventWorkflowExecution::HasBitSetters::parent_node_execution(const CloudEventWorkflowExecution* msg) { + return *msg->parent_node_execution_; +} +const ::flyteidl::core::WorkflowExecutionIdentifier& +CloudEventWorkflowExecution::HasBitSetters::reference_execution(const CloudEventWorkflowExecution* msg) { + return *msg->reference_execution_; +} +void CloudEventWorkflowExecution::clear_raw_event() { + if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { + delete raw_event_; + } + raw_event_ = nullptr; +} +void CloudEventWorkflowExecution::clear_output_data() { + if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; +} +void CloudEventWorkflowExecution::clear_output_interface() { + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; +} +void CloudEventWorkflowExecution::clear_input_data() { + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = nullptr; +} +void CloudEventWorkflowExecution::clear_scheduled_at() { + if (GetArenaNoVirtual() == nullptr && scheduled_at_ != nullptr) { + delete scheduled_at_; + } + scheduled_at_ = nullptr; +} +void CloudEventWorkflowExecution::clear_artifact_ids() { + artifact_ids_.Clear(); +} +void CloudEventWorkflowExecution::clear_parent_node_execution() { + if (GetArenaNoVirtual() == nullptr && parent_node_execution_ != nullptr) { + delete parent_node_execution_; + } + parent_node_execution_ = nullptr; +} +void CloudEventWorkflowExecution::clear_reference_execution() { + if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { + delete reference_execution_; + } + reference_execution_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CloudEventWorkflowExecution::kRawEventFieldNumber; +const int CloudEventWorkflowExecution::kOutputDataFieldNumber; +const int CloudEventWorkflowExecution::kOutputInterfaceFieldNumber; +const int CloudEventWorkflowExecution::kInputDataFieldNumber; +const int CloudEventWorkflowExecution::kScheduledAtFieldNumber; +const int CloudEventWorkflowExecution::kArtifactIdsFieldNumber; +const int CloudEventWorkflowExecution::kParentNodeExecutionFieldNumber; +const int CloudEventWorkflowExecution::kReferenceExecutionFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CloudEventWorkflowExecution::CloudEventWorkflowExecution() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventWorkflowExecution) +} +CloudEventWorkflowExecution::CloudEventWorkflowExecution(const CloudEventWorkflowExecution& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + artifact_ids_(from.artifact_ids_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_raw_event()) { + raw_event_ = new ::flyteidl::event::WorkflowExecutionEvent(*from.raw_event_); + } else { + raw_event_ = nullptr; + } + if (from.has_output_data()) { + output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); + } else { + output_data_ = nullptr; + } + if (from.has_output_interface()) { + output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); + } else { + output_interface_ = nullptr; + } + if (from.has_input_data()) { + input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); + } else { + input_data_ = nullptr; + } + if (from.has_scheduled_at()) { + scheduled_at_ = new ::google::protobuf::Timestamp(*from.scheduled_at_); + } else { + scheduled_at_ = nullptr; + } + if (from.has_parent_node_execution()) { + parent_node_execution_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.parent_node_execution_); + } else { + parent_node_execution_ = nullptr; + } + if (from.has_reference_execution()) { + reference_execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.reference_execution_); + } else { + reference_execution_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventWorkflowExecution) +} + +void CloudEventWorkflowExecution::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + ::memset(&raw_event_, 0, static_cast( + reinterpret_cast(&reference_execution_) - + reinterpret_cast(&raw_event_)) + sizeof(reference_execution_)); +} + +CloudEventWorkflowExecution::~CloudEventWorkflowExecution() { + // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventWorkflowExecution) + SharedDtor(); +} + +void CloudEventWorkflowExecution::SharedDtor() { + if (this != internal_default_instance()) delete raw_event_; + if (this != internal_default_instance()) delete output_data_; + if (this != internal_default_instance()) delete output_interface_; + if (this != internal_default_instance()) delete input_data_; + if (this != internal_default_instance()) delete scheduled_at_; + if (this != internal_default_instance()) delete parent_node_execution_; + if (this != internal_default_instance()) delete reference_execution_; +} + +void CloudEventWorkflowExecution::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CloudEventWorkflowExecution& CloudEventWorkflowExecution::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + return *internal_default_instance(); +} + + +void CloudEventWorkflowExecution::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventWorkflowExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + artifact_ids_.Clear(); + if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { + delete raw_event_; + } + raw_event_ = nullptr; + if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = nullptr; + if (GetArenaNoVirtual() == nullptr && scheduled_at_ != nullptr) { + delete scheduled_at_; + } + scheduled_at_ = nullptr; + if (GetArenaNoVirtual() == nullptr && parent_node_execution_ != nullptr) { + delete parent_node_execution_; + } + parent_node_execution_ = nullptr; + if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { + delete reference_execution_; + } + reference_execution_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::event::WorkflowExecutionEvent::_InternalParse; + object = msg->mutable_raw_event(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.LiteralMap output_data = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; + object = msg->mutable_output_data(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.TypedInterface output_interface = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::TypedInterface::_InternalParse; + object = msg->mutable_output_interface(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.LiteralMap input_data = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; + object = msg->mutable_input_data(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .google.protobuf.Timestamp scheduled_at = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_scheduled_at(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->add_artifact_ids(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 50 && (ptr += 1)); + break; + } + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + case 7: { + if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::NodeExecutionIdentifier::_InternalParse; + object = msg->mutable_parent_node_execution(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + case 8: { + if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_reference_execution(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CloudEventWorkflowExecution::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.event.CloudEventWorkflowExecution) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_raw_event())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LiteralMap output_data = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output_data())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.TypedInterface output_interface = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output_interface())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LiteralMap input_data = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_input_data())); + } else { + goto handle_unusual; + } + break; + } + + // .google.protobuf.Timestamp scheduled_at = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_scheduled_at())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifact_ids())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_parent_node_execution())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_reference_execution())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.event.CloudEventWorkflowExecution) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventWorkflowExecution) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CloudEventWorkflowExecution::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventWorkflowExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::raw_event(this), output); + } + + // .flyteidl.core.LiteralMap output_data = 2; + if (this->has_output_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::output_data(this), output); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::output_interface(this), output); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::input_data(this), output); + } + + // .google.protobuf.Timestamp scheduled_at = 5; + if (this->has_scheduled_at()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::scheduled_at(this), output); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, + this->artifact_ids(static_cast(i)), + output); + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + if (this->has_parent_node_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, HasBitSetters::parent_node_execution(this), output); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + if (this->has_reference_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, HasBitSetters::reference_execution(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.event.CloudEventWorkflowExecution) +} + +::google::protobuf::uint8* CloudEventWorkflowExecution::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventWorkflowExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::raw_event(this), target); + } + + // .flyteidl.core.LiteralMap output_data = 2; + if (this->has_output_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::output_data(this), target); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::output_interface(this), target); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::input_data(this), target); + } + + // .google.protobuf.Timestamp scheduled_at = 5; + if (this->has_scheduled_at()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::scheduled_at(this), target); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, this->artifact_ids(static_cast(i)), target); + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + if (this->has_parent_node_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, HasBitSetters::parent_node_execution(this), target); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + if (this->has_reference_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, HasBitSetters::reference_execution(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.event.CloudEventWorkflowExecution) + return target; +} + +size_t CloudEventWorkflowExecution::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventWorkflowExecution) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + { + unsigned int count = static_cast(this->artifact_ids_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->artifact_ids(static_cast(i))); + } + } + + // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *raw_event_); + } + + // .flyteidl.core.LiteralMap output_data = 2; + if (this->has_output_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_data_); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_interface_); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *input_data_); + } + + // .google.protobuf.Timestamp scheduled_at = 5; + if (this->has_scheduled_at()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *scheduled_at_); + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + if (this->has_parent_node_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *parent_node_execution_); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + if (this->has_reference_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *reference_execution_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CloudEventWorkflowExecution::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventWorkflowExecution) + GOOGLE_DCHECK_NE(&from, this); + const CloudEventWorkflowExecution* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventWorkflowExecution) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventWorkflowExecution) + MergeFrom(*source); + } +} + +void CloudEventWorkflowExecution::MergeFrom(const CloudEventWorkflowExecution& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventWorkflowExecution) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + artifact_ids_.MergeFrom(from.artifact_ids_); + if (from.has_raw_event()) { + mutable_raw_event()->::flyteidl::event::WorkflowExecutionEvent::MergeFrom(from.raw_event()); + } + if (from.has_output_data()) { + mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); + } + if (from.has_output_interface()) { + mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); + } + if (from.has_input_data()) { + mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); + } + if (from.has_scheduled_at()) { + mutable_scheduled_at()->::google::protobuf::Timestamp::MergeFrom(from.scheduled_at()); + } + if (from.has_parent_node_execution()) { + mutable_parent_node_execution()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.parent_node_execution()); + } + if (from.has_reference_execution()) { + mutable_reference_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.reference_execution()); + } +} + +void CloudEventWorkflowExecution::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventWorkflowExecution) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CloudEventWorkflowExecution::CopyFrom(const CloudEventWorkflowExecution& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventWorkflowExecution) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CloudEventWorkflowExecution::IsInitialized() const { + return true; +} + +void CloudEventWorkflowExecution::Swap(CloudEventWorkflowExecution* other) { + if (other == this) return; + InternalSwap(other); +} +void CloudEventWorkflowExecution::InternalSwap(CloudEventWorkflowExecution* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); + swap(raw_event_, other->raw_event_); + swap(output_data_, other->output_data_); + swap(output_interface_, other->output_interface_); + swap(input_data_, other->input_data_); + swap(scheduled_at_, other->scheduled_at_); + swap(parent_node_execution_, other->parent_node_execution_); + swap(reference_execution_, other->reference_execution_); +} + +::google::protobuf::Metadata CloudEventWorkflowExecution::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); + return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CloudEventNodeExecution::InitAsDefaultInstance() { + ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->raw_event_ = const_cast< ::flyteidl::event::NodeExecutionEvent*>( + ::flyteidl::event::NodeExecutionEvent::internal_default_instance()); +} +class CloudEventNodeExecution::HasBitSetters { + public: + static const ::flyteidl::event::NodeExecutionEvent& raw_event(const CloudEventNodeExecution* msg); +}; + +const ::flyteidl::event::NodeExecutionEvent& +CloudEventNodeExecution::HasBitSetters::raw_event(const CloudEventNodeExecution* msg) { + return *msg->raw_event_; +} +void CloudEventNodeExecution::clear_raw_event() { + if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { + delete raw_event_; + } + raw_event_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CloudEventNodeExecution::kRawEventFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CloudEventNodeExecution::CloudEventNodeExecution() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventNodeExecution) +} +CloudEventNodeExecution::CloudEventNodeExecution(const CloudEventNodeExecution& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_raw_event()) { + raw_event_ = new ::flyteidl::event::NodeExecutionEvent(*from.raw_event_); + } else { + raw_event_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventNodeExecution) +} + +void CloudEventNodeExecution::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + raw_event_ = nullptr; +} + +CloudEventNodeExecution::~CloudEventNodeExecution() { + // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventNodeExecution) + SharedDtor(); +} + +void CloudEventNodeExecution::SharedDtor() { + if (this != internal_default_instance()) delete raw_event_; +} + +void CloudEventNodeExecution::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CloudEventNodeExecution& CloudEventNodeExecution::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + return *internal_default_instance(); +} + + +void CloudEventNodeExecution::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventNodeExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { + delete raw_event_; + } + raw_event_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CloudEventNodeExecution::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.event.NodeExecutionEvent raw_event = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::event::NodeExecutionEvent::_InternalParse; + object = msg->mutable_raw_event(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CloudEventNodeExecution::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.event.CloudEventNodeExecution) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.event.NodeExecutionEvent raw_event = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_raw_event())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.event.CloudEventNodeExecution) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventNodeExecution) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CloudEventNodeExecution::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventNodeExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.event.NodeExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::raw_event(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.event.CloudEventNodeExecution) +} + +::google::protobuf::uint8* CloudEventNodeExecution::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventNodeExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.event.NodeExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::raw_event(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.event.CloudEventNodeExecution) + return target; +} + +size_t CloudEventNodeExecution::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventNodeExecution) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.event.NodeExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *raw_event_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CloudEventNodeExecution::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventNodeExecution) + GOOGLE_DCHECK_NE(&from, this); + const CloudEventNodeExecution* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventNodeExecution) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventNodeExecution) + MergeFrom(*source); + } +} + +void CloudEventNodeExecution::MergeFrom(const CloudEventNodeExecution& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventNodeExecution) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_raw_event()) { + mutable_raw_event()->::flyteidl::event::NodeExecutionEvent::MergeFrom(from.raw_event()); + } +} + +void CloudEventNodeExecution::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventNodeExecution) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CloudEventNodeExecution::CopyFrom(const CloudEventNodeExecution& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventNodeExecution) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CloudEventNodeExecution::IsInitialized() const { + return true; +} + +void CloudEventNodeExecution::Swap(CloudEventNodeExecution* other) { + if (other == this) return; + InternalSwap(other); +} +void CloudEventNodeExecution::InternalSwap(CloudEventNodeExecution* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(raw_event_, other->raw_event_); +} + +::google::protobuf::Metadata CloudEventNodeExecution::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); + return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CloudEventTaskExecution::InitAsDefaultInstance() { + ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->raw_event_ = const_cast< ::flyteidl::event::TaskExecutionEvent*>( + ::flyteidl::event::TaskExecutionEvent::internal_default_instance()); + ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::internal_default_instance()); + ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->output_interface_ = const_cast< ::flyteidl::core::TypedInterface*>( + ::flyteidl::core::TypedInterface::internal_default_instance()); + ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::internal_default_instance()); + ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->scheduled_at_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); + ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->parent_node_execution_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( + ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); + ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->reference_execution_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); +} +class CloudEventTaskExecution::HasBitSetters { + public: + static const ::flyteidl::event::TaskExecutionEvent& raw_event(const CloudEventTaskExecution* msg); + static const ::flyteidl::core::LiteralMap& output_data(const CloudEventTaskExecution* msg); + static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventTaskExecution* msg); + static const ::flyteidl::core::LiteralMap& input_data(const CloudEventTaskExecution* msg); + static const ::google::protobuf::Timestamp& scheduled_at(const CloudEventTaskExecution* msg); + static const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution(const CloudEventTaskExecution* msg); + static const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution(const CloudEventTaskExecution* msg); +}; + +const ::flyteidl::event::TaskExecutionEvent& +CloudEventTaskExecution::HasBitSetters::raw_event(const CloudEventTaskExecution* msg) { + return *msg->raw_event_; +} +const ::flyteidl::core::LiteralMap& +CloudEventTaskExecution::HasBitSetters::output_data(const CloudEventTaskExecution* msg) { + return *msg->output_data_; +} +const ::flyteidl::core::TypedInterface& +CloudEventTaskExecution::HasBitSetters::output_interface(const CloudEventTaskExecution* msg) { + return *msg->output_interface_; +} +const ::flyteidl::core::LiteralMap& +CloudEventTaskExecution::HasBitSetters::input_data(const CloudEventTaskExecution* msg) { + return *msg->input_data_; +} +const ::google::protobuf::Timestamp& +CloudEventTaskExecution::HasBitSetters::scheduled_at(const CloudEventTaskExecution* msg) { + return *msg->scheduled_at_; +} +const ::flyteidl::core::NodeExecutionIdentifier& +CloudEventTaskExecution::HasBitSetters::parent_node_execution(const CloudEventTaskExecution* msg) { + return *msg->parent_node_execution_; +} +const ::flyteidl::core::WorkflowExecutionIdentifier& +CloudEventTaskExecution::HasBitSetters::reference_execution(const CloudEventTaskExecution* msg) { + return *msg->reference_execution_; +} +void CloudEventTaskExecution::clear_raw_event() { + if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { + delete raw_event_; + } + raw_event_ = nullptr; +} +void CloudEventTaskExecution::clear_output_data() { + if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; +} +void CloudEventTaskExecution::clear_output_interface() { + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; +} +void CloudEventTaskExecution::clear_input_data() { + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = nullptr; +} +void CloudEventTaskExecution::clear_scheduled_at() { + if (GetArenaNoVirtual() == nullptr && scheduled_at_ != nullptr) { + delete scheduled_at_; + } + scheduled_at_ = nullptr; +} +void CloudEventTaskExecution::clear_artifact_ids() { + artifact_ids_.Clear(); +} +void CloudEventTaskExecution::clear_parent_node_execution() { + if (GetArenaNoVirtual() == nullptr && parent_node_execution_ != nullptr) { + delete parent_node_execution_; + } + parent_node_execution_ = nullptr; +} +void CloudEventTaskExecution::clear_reference_execution() { + if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { + delete reference_execution_; + } + reference_execution_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CloudEventTaskExecution::kRawEventFieldNumber; +const int CloudEventTaskExecution::kOutputDataFieldNumber; +const int CloudEventTaskExecution::kOutputInterfaceFieldNumber; +const int CloudEventTaskExecution::kInputDataFieldNumber; +const int CloudEventTaskExecution::kScheduledAtFieldNumber; +const int CloudEventTaskExecution::kArtifactIdsFieldNumber; +const int CloudEventTaskExecution::kParentNodeExecutionFieldNumber; +const int CloudEventTaskExecution::kReferenceExecutionFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CloudEventTaskExecution::CloudEventTaskExecution() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventTaskExecution) +} +CloudEventTaskExecution::CloudEventTaskExecution(const CloudEventTaskExecution& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + artifact_ids_(from.artifact_ids_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_raw_event()) { + raw_event_ = new ::flyteidl::event::TaskExecutionEvent(*from.raw_event_); + } else { + raw_event_ = nullptr; + } + if (from.has_output_data()) { + output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); + } else { + output_data_ = nullptr; + } + if (from.has_output_interface()) { + output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); + } else { + output_interface_ = nullptr; + } + if (from.has_input_data()) { + input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); + } else { + input_data_ = nullptr; + } + if (from.has_scheduled_at()) { + scheduled_at_ = new ::google::protobuf::Timestamp(*from.scheduled_at_); + } else { + scheduled_at_ = nullptr; + } + if (from.has_parent_node_execution()) { + parent_node_execution_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.parent_node_execution_); + } else { + parent_node_execution_ = nullptr; + } + if (from.has_reference_execution()) { + reference_execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.reference_execution_); + } else { + reference_execution_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventTaskExecution) +} + +void CloudEventTaskExecution::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + ::memset(&raw_event_, 0, static_cast( + reinterpret_cast(&reference_execution_) - + reinterpret_cast(&raw_event_)) + sizeof(reference_execution_)); +} + +CloudEventTaskExecution::~CloudEventTaskExecution() { + // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventTaskExecution) + SharedDtor(); +} + +void CloudEventTaskExecution::SharedDtor() { + if (this != internal_default_instance()) delete raw_event_; + if (this != internal_default_instance()) delete output_data_; + if (this != internal_default_instance()) delete output_interface_; + if (this != internal_default_instance()) delete input_data_; + if (this != internal_default_instance()) delete scheduled_at_; + if (this != internal_default_instance()) delete parent_node_execution_; + if (this != internal_default_instance()) delete reference_execution_; +} + +void CloudEventTaskExecution::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CloudEventTaskExecution& CloudEventTaskExecution::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); + return *internal_default_instance(); +} + + +void CloudEventTaskExecution::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventTaskExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + artifact_ids_.Clear(); + if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { + delete raw_event_; + } + raw_event_ = nullptr; + if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = nullptr; + if (GetArenaNoVirtual() == nullptr && scheduled_at_ != nullptr) { + delete scheduled_at_; + } + scheduled_at_ = nullptr; + if (GetArenaNoVirtual() == nullptr && parent_node_execution_ != nullptr) { + delete parent_node_execution_; + } + parent_node_execution_ = nullptr; + if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { + delete reference_execution_; + } + reference_execution_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CloudEventTaskExecution::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.event.TaskExecutionEvent raw_event = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::event::TaskExecutionEvent::_InternalParse; + object = msg->mutable_raw_event(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.LiteralMap output_data = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; + object = msg->mutable_output_data(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.TypedInterface output_interface = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::TypedInterface::_InternalParse; + object = msg->mutable_output_interface(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.LiteralMap input_data = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; + object = msg->mutable_input_data(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .google.protobuf.Timestamp scheduled_at = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_scheduled_at(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->add_artifact_ids(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 50 && (ptr += 1)); + break; + } + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + case 7: { + if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::NodeExecutionIdentifier::_InternalParse; + object = msg->mutable_parent_node_execution(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + case 8: { + if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_reference_execution(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CloudEventTaskExecution::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.event.CloudEventTaskExecution) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.event.TaskExecutionEvent raw_event = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_raw_event())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LiteralMap output_data = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output_data())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.TypedInterface output_interface = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output_interface())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LiteralMap input_data = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_input_data())); + } else { + goto handle_unusual; + } + break; + } + + // .google.protobuf.Timestamp scheduled_at = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_scheduled_at())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifact_ids())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_parent_node_execution())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_reference_execution())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.event.CloudEventTaskExecution) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventTaskExecution) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CloudEventTaskExecution::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventTaskExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.event.TaskExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::raw_event(this), output); + } + + // .flyteidl.core.LiteralMap output_data = 2; + if (this->has_output_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::output_data(this), output); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::output_interface(this), output); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::input_data(this), output); + } + + // .google.protobuf.Timestamp scheduled_at = 5; + if (this->has_scheduled_at()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::scheduled_at(this), output); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, + this->artifact_ids(static_cast(i)), + output); + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + if (this->has_parent_node_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, HasBitSetters::parent_node_execution(this), output); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + if (this->has_reference_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, HasBitSetters::reference_execution(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.event.CloudEventTaskExecution) +} + +::google::protobuf::uint8* CloudEventTaskExecution::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventTaskExecution) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.event.TaskExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::raw_event(this), target); + } + + // .flyteidl.core.LiteralMap output_data = 2; + if (this->has_output_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::output_data(this), target); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::output_interface(this), target); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::input_data(this), target); + } + + // .google.protobuf.Timestamp scheduled_at = 5; + if (this->has_scheduled_at()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::scheduled_at(this), target); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, this->artifact_ids(static_cast(i)), target); + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + if (this->has_parent_node_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, HasBitSetters::parent_node_execution(this), target); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + if (this->has_reference_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, HasBitSetters::reference_execution(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.event.CloudEventTaskExecution) + return target; +} + +size_t CloudEventTaskExecution::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventTaskExecution) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + { + unsigned int count = static_cast(this->artifact_ids_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->artifact_ids(static_cast(i))); + } + } + + // .flyteidl.event.TaskExecutionEvent raw_event = 1; + if (this->has_raw_event()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *raw_event_); + } + + // .flyteidl.core.LiteralMap output_data = 2; + if (this->has_output_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_data_); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_interface_); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *input_data_); + } + + // .google.protobuf.Timestamp scheduled_at = 5; + if (this->has_scheduled_at()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *scheduled_at_); + } + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + if (this->has_parent_node_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *parent_node_execution_); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + if (this->has_reference_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *reference_execution_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CloudEventTaskExecution::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventTaskExecution) + GOOGLE_DCHECK_NE(&from, this); + const CloudEventTaskExecution* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventTaskExecution) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventTaskExecution) + MergeFrom(*source); + } +} + +void CloudEventTaskExecution::MergeFrom(const CloudEventTaskExecution& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventTaskExecution) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + artifact_ids_.MergeFrom(from.artifact_ids_); + if (from.has_raw_event()) { + mutable_raw_event()->::flyteidl::event::TaskExecutionEvent::MergeFrom(from.raw_event()); + } + if (from.has_output_data()) { + mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); + } + if (from.has_output_interface()) { + mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); + } + if (from.has_input_data()) { + mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); + } + if (from.has_scheduled_at()) { + mutable_scheduled_at()->::google::protobuf::Timestamp::MergeFrom(from.scheduled_at()); + } + if (from.has_parent_node_execution()) { + mutable_parent_node_execution()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.parent_node_execution()); + } + if (from.has_reference_execution()) { + mutable_reference_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.reference_execution()); + } +} + +void CloudEventTaskExecution::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventTaskExecution) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CloudEventTaskExecution::CopyFrom(const CloudEventTaskExecution& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventTaskExecution) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CloudEventTaskExecution::IsInitialized() const { + return true; +} + +void CloudEventTaskExecution::Swap(CloudEventTaskExecution* other) { + if (other == this) return; + InternalSwap(other); +} +void CloudEventTaskExecution::InternalSwap(CloudEventTaskExecution* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); + swap(raw_event_, other->raw_event_); + swap(output_data_, other->output_data_); + swap(output_interface_, other->output_interface_); + swap(input_data_, other->input_data_); + swap(scheduled_at_, other->scheduled_at_); + swap(parent_node_execution_, other->parent_node_execution_); + swap(reference_execution_, other->reference_execution_); +} + +::google::protobuf::Metadata CloudEventTaskExecution::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); + return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CloudEventExecutionStart::InitAsDefaultInstance() { + ::flyteidl::event::_CloudEventExecutionStart_default_instance_._instance.get_mutable()->execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); + ::flyteidl::event::_CloudEventExecutionStart_default_instance_._instance.get_mutable()->launch_plan_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); + ::flyteidl::event::_CloudEventExecutionStart_default_instance_._instance.get_mutable()->workflow_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); +} +class CloudEventExecutionStart::HasBitSetters { + public: + static const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id(const CloudEventExecutionStart* msg); + static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventExecutionStart* msg); + static const ::flyteidl::core::Identifier& workflow_id(const CloudEventExecutionStart* msg); +}; + +const ::flyteidl::core::WorkflowExecutionIdentifier& +CloudEventExecutionStart::HasBitSetters::execution_id(const CloudEventExecutionStart* msg) { + return *msg->execution_id_; +} +const ::flyteidl::core::Identifier& +CloudEventExecutionStart::HasBitSetters::launch_plan_id(const CloudEventExecutionStart* msg) { + return *msg->launch_plan_id_; +} +const ::flyteidl::core::Identifier& +CloudEventExecutionStart::HasBitSetters::workflow_id(const CloudEventExecutionStart* msg) { + return *msg->workflow_id_; +} +void CloudEventExecutionStart::clear_execution_id() { + if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { + delete execution_id_; + } + execution_id_ = nullptr; +} +void CloudEventExecutionStart::clear_launch_plan_id() { + if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { + delete launch_plan_id_; + } + launch_plan_id_ = nullptr; +} +void CloudEventExecutionStart::clear_workflow_id() { + if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { + delete workflow_id_; + } + workflow_id_ = nullptr; +} +void CloudEventExecutionStart::clear_artifact_ids() { + artifact_ids_.Clear(); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CloudEventExecutionStart::kExecutionIdFieldNumber; +const int CloudEventExecutionStart::kLaunchPlanIdFieldNumber; +const int CloudEventExecutionStart::kWorkflowIdFieldNumber; +const int CloudEventExecutionStart::kArtifactIdsFieldNumber; +const int CloudEventExecutionStart::kArtifactKeysFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CloudEventExecutionStart::CloudEventExecutionStart() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventExecutionStart) +} +CloudEventExecutionStart::CloudEventExecutionStart(const CloudEventExecutionStart& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + artifact_ids_(from.artifact_ids_), + artifact_keys_(from.artifact_keys_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_execution_id()) { + execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.execution_id_); + } else { + execution_id_ = nullptr; + } + if (from.has_launch_plan_id()) { + launch_plan_id_ = new ::flyteidl::core::Identifier(*from.launch_plan_id_); + } else { + launch_plan_id_ = nullptr; + } + if (from.has_workflow_id()) { + workflow_id_ = new ::flyteidl::core::Identifier(*from.workflow_id_); + } else { + workflow_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventExecutionStart) +} + +void CloudEventExecutionStart::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto.base); + ::memset(&execution_id_, 0, static_cast( + reinterpret_cast(&workflow_id_) - + reinterpret_cast(&execution_id_)) + sizeof(workflow_id_)); +} + +CloudEventExecutionStart::~CloudEventExecutionStart() { + // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventExecutionStart) + SharedDtor(); +} + +void CloudEventExecutionStart::SharedDtor() { + if (this != internal_default_instance()) delete execution_id_; + if (this != internal_default_instance()) delete launch_plan_id_; + if (this != internal_default_instance()) delete workflow_id_; +} + +void CloudEventExecutionStart::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CloudEventExecutionStart& CloudEventExecutionStart::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto.base); + return *internal_default_instance(); +} + + +void CloudEventExecutionStart::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventExecutionStart) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + artifact_ids_.Clear(); + artifact_keys_.Clear(); + if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { + delete execution_id_; + } + execution_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { + delete launch_plan_id_; + } + launch_plan_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { + delete workflow_id_; + } + workflow_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CloudEventExecutionStart::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_execution_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.Identifier launch_plan_id = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Identifier::_InternalParse; + object = msg->mutable_launch_plan_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.Identifier workflow_id = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Identifier::_InternalParse; + object = msg->mutable_workflow_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->add_artifact_ids(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); + break; + } + // repeated string artifact_keys = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventExecutionStart.artifact_keys"); + object = msg->add_artifact_keys(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CloudEventExecutionStart::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.event.CloudEventExecutionStart) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_execution_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.Identifier launch_plan_id = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launch_plan_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.Identifier workflow_id = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_id())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifact_ids())); + } else { + goto handle_unusual; + } + break; + } + + // repeated string artifact_keys = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_artifact_keys())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_keys(this->artifact_keys_size() - 1).data(), + static_cast(this->artifact_keys(this->artifact_keys_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.event.CloudEventExecutionStart.artifact_keys")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.event.CloudEventExecutionStart) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventExecutionStart) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CloudEventExecutionStart::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventExecutionStart) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + if (this->has_execution_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::execution_id(this), output); + } + + // .flyteidl.core.Identifier launch_plan_id = 2; + if (this->has_launch_plan_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::launch_plan_id(this), output); + } + + // .flyteidl.core.Identifier workflow_id = 3; + if (this->has_workflow_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::workflow_id(this), output); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, + this->artifact_ids(static_cast(i)), + output); + } + + // repeated string artifact_keys = 5; + for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 5, this->artifact_keys(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.event.CloudEventExecutionStart) +} + +::google::protobuf::uint8* CloudEventExecutionStart::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventExecutionStart) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + if (this->has_execution_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::execution_id(this), target); + } + + // .flyteidl.core.Identifier launch_plan_id = 2; + if (this->has_launch_plan_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::launch_plan_id(this), target); + } + + // .flyteidl.core.Identifier workflow_id = 3; + if (this->has_workflow_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::workflow_id(this), target); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, this->artifact_ids(static_cast(i)), target); + } + + // repeated string artifact_keys = 5; + for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(5, this->artifact_keys(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.event.CloudEventExecutionStart) + return target; +} + +size_t CloudEventExecutionStart::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventExecutionStart) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; + { + unsigned int count = static_cast(this->artifact_ids_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->artifact_ids(static_cast(i))); + } + } + + // repeated string artifact_keys = 5; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->artifact_keys_size()); + for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->artifact_keys(i)); + } + + // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + if (this->has_execution_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *execution_id_); + } + + // .flyteidl.core.Identifier launch_plan_id = 2; + if (this->has_launch_plan_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *launch_plan_id_); + } + + // .flyteidl.core.Identifier workflow_id = 3; + if (this->has_workflow_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *workflow_id_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CloudEventExecutionStart::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventExecutionStart) + GOOGLE_DCHECK_NE(&from, this); + const CloudEventExecutionStart* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventExecutionStart) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventExecutionStart) + MergeFrom(*source); + } +} + +void CloudEventExecutionStart::MergeFrom(const CloudEventExecutionStart& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventExecutionStart) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + artifact_ids_.MergeFrom(from.artifact_ids_); + artifact_keys_.MergeFrom(from.artifact_keys_); + if (from.has_execution_id()) { + mutable_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution_id()); + } + if (from.has_launch_plan_id()) { + mutable_launch_plan_id()->::flyteidl::core::Identifier::MergeFrom(from.launch_plan_id()); + } + if (from.has_workflow_id()) { + mutable_workflow_id()->::flyteidl::core::Identifier::MergeFrom(from.workflow_id()); + } +} + +void CloudEventExecutionStart::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventExecutionStart) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CloudEventExecutionStart::CopyFrom(const CloudEventExecutionStart& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventExecutionStart) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CloudEventExecutionStart::IsInitialized() const { + return true; +} + +void CloudEventExecutionStart::Swap(CloudEventExecutionStart* other) { + if (other == this) return; + InternalSwap(other); +} +void CloudEventExecutionStart::InternalSwap(CloudEventExecutionStart* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); + artifact_keys_.InternalSwap(CastToBase(&other->artifact_keys_)); + swap(execution_id_, other->execution_id_); + swap(launch_plan_id_, other->launch_plan_id_); + swap(workflow_id_, other->workflow_id_); +} + +::google::protobuf::Metadata CloudEventExecutionStart::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); + return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace event +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventWorkflowExecution* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventWorkflowExecution >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::event::CloudEventWorkflowExecution >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventNodeExecution* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventNodeExecution >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::event::CloudEventNodeExecution >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventTaskExecution* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventTaskExecution >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::event::CloudEventTaskExecution >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventExecutionStart* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventExecutionStart >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::event::CloudEventExecutionStart >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h new file mode 100644 index 0000000000..a093245398 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h @@ -0,0 +1,1749 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/event/cloudevents.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fevent_2fcloudevents_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fevent_2fcloudevents_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "flyteidl/event/event.pb.h" +#include "flyteidl/core/literals.pb.h" +#include "flyteidl/core/interface.pb.h" +#include "flyteidl/core/artifact_id.pb.h" +#include "flyteidl/core/identifier.pb.h" +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fcloudevents_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fevent_2fcloudevents_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[4] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto(); +namespace flyteidl { +namespace event { +class CloudEventExecutionStart; +class CloudEventExecutionStartDefaultTypeInternal; +extern CloudEventExecutionStartDefaultTypeInternal _CloudEventExecutionStart_default_instance_; +class CloudEventNodeExecution; +class CloudEventNodeExecutionDefaultTypeInternal; +extern CloudEventNodeExecutionDefaultTypeInternal _CloudEventNodeExecution_default_instance_; +class CloudEventTaskExecution; +class CloudEventTaskExecutionDefaultTypeInternal; +extern CloudEventTaskExecutionDefaultTypeInternal _CloudEventTaskExecution_default_instance_; +class CloudEventWorkflowExecution; +class CloudEventWorkflowExecutionDefaultTypeInternal; +extern CloudEventWorkflowExecutionDefaultTypeInternal _CloudEventWorkflowExecution_default_instance_; +} // namespace event +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::event::CloudEventExecutionStart* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventExecutionStart>(Arena*); +template<> ::flyteidl::event::CloudEventNodeExecution* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventNodeExecution>(Arena*); +template<> ::flyteidl::event::CloudEventTaskExecution* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventTaskExecution>(Arena*); +template<> ::flyteidl::event::CloudEventWorkflowExecution* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventWorkflowExecution>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace event { + +// =================================================================== + +class CloudEventWorkflowExecution final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventWorkflowExecution) */ { + public: + CloudEventWorkflowExecution(); + virtual ~CloudEventWorkflowExecution(); + + CloudEventWorkflowExecution(const CloudEventWorkflowExecution& from); + + inline CloudEventWorkflowExecution& operator=(const CloudEventWorkflowExecution& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CloudEventWorkflowExecution(CloudEventWorkflowExecution&& from) noexcept + : CloudEventWorkflowExecution() { + *this = ::std::move(from); + } + + inline CloudEventWorkflowExecution& operator=(CloudEventWorkflowExecution&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CloudEventWorkflowExecution& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CloudEventWorkflowExecution* internal_default_instance() { + return reinterpret_cast( + &_CloudEventWorkflowExecution_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(CloudEventWorkflowExecution* other); + friend void swap(CloudEventWorkflowExecution& a, CloudEventWorkflowExecution& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CloudEventWorkflowExecution* New() const final { + return CreateMaybeMessage(nullptr); + } + + CloudEventWorkflowExecution* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CloudEventWorkflowExecution& from); + void MergeFrom(const CloudEventWorkflowExecution& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CloudEventWorkflowExecution* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + int artifact_ids_size() const; + void clear_artifact_ids(); + static const int kArtifactIdsFieldNumber = 6; + ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* + mutable_artifact_ids(); + const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; + ::flyteidl::core::ArtifactID* add_artifact_ids(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& + artifact_ids() const; + + // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + bool has_raw_event() const; + void clear_raw_event(); + static const int kRawEventFieldNumber = 1; + const ::flyteidl::event::WorkflowExecutionEvent& raw_event() const; + ::flyteidl::event::WorkflowExecutionEvent* release_raw_event(); + ::flyteidl::event::WorkflowExecutionEvent* mutable_raw_event(); + void set_allocated_raw_event(::flyteidl::event::WorkflowExecutionEvent* raw_event); + + // .flyteidl.core.LiteralMap output_data = 2; + bool has_output_data() const; + void clear_output_data(); + static const int kOutputDataFieldNumber = 2; + const ::flyteidl::core::LiteralMap& output_data() const; + ::flyteidl::core::LiteralMap* release_output_data(); + ::flyteidl::core::LiteralMap* mutable_output_data(); + void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); + + // .flyteidl.core.TypedInterface output_interface = 3; + bool has_output_interface() const; + void clear_output_interface(); + static const int kOutputInterfaceFieldNumber = 3; + const ::flyteidl::core::TypedInterface& output_interface() const; + ::flyteidl::core::TypedInterface* release_output_interface(); + ::flyteidl::core::TypedInterface* mutable_output_interface(); + void set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface); + + // .flyteidl.core.LiteralMap input_data = 4; + bool has_input_data() const; + void clear_input_data(); + static const int kInputDataFieldNumber = 4; + const ::flyteidl::core::LiteralMap& input_data() const; + ::flyteidl::core::LiteralMap* release_input_data(); + ::flyteidl::core::LiteralMap* mutable_input_data(); + void set_allocated_input_data(::flyteidl::core::LiteralMap* input_data); + + // .google.protobuf.Timestamp scheduled_at = 5; + bool has_scheduled_at() const; + void clear_scheduled_at(); + static const int kScheduledAtFieldNumber = 5; + const ::google::protobuf::Timestamp& scheduled_at() const; + ::google::protobuf::Timestamp* release_scheduled_at(); + ::google::protobuf::Timestamp* mutable_scheduled_at(); + void set_allocated_scheduled_at(::google::protobuf::Timestamp* scheduled_at); + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + bool has_parent_node_execution() const; + void clear_parent_node_execution(); + static const int kParentNodeExecutionFieldNumber = 7; + const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution() const; + ::flyteidl::core::NodeExecutionIdentifier* release_parent_node_execution(); + ::flyteidl::core::NodeExecutionIdentifier* mutable_parent_node_execution(); + void set_allocated_parent_node_execution(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution); + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + bool has_reference_execution() const; + void clear_reference_execution(); + static const int kReferenceExecutionFieldNumber = 8; + const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_reference_execution(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_reference_execution(); + void set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution); + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventWorkflowExecution) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; + ::flyteidl::event::WorkflowExecutionEvent* raw_event_; + ::flyteidl::core::LiteralMap* output_data_; + ::flyteidl::core::TypedInterface* output_interface_; + ::flyteidl::core::LiteralMap* input_data_; + ::google::protobuf::Timestamp* scheduled_at_; + ::flyteidl::core::NodeExecutionIdentifier* parent_node_execution_; + ::flyteidl::core::WorkflowExecutionIdentifier* reference_execution_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CloudEventNodeExecution final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventNodeExecution) */ { + public: + CloudEventNodeExecution(); + virtual ~CloudEventNodeExecution(); + + CloudEventNodeExecution(const CloudEventNodeExecution& from); + + inline CloudEventNodeExecution& operator=(const CloudEventNodeExecution& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CloudEventNodeExecution(CloudEventNodeExecution&& from) noexcept + : CloudEventNodeExecution() { + *this = ::std::move(from); + } + + inline CloudEventNodeExecution& operator=(CloudEventNodeExecution&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CloudEventNodeExecution& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CloudEventNodeExecution* internal_default_instance() { + return reinterpret_cast( + &_CloudEventNodeExecution_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(CloudEventNodeExecution* other); + friend void swap(CloudEventNodeExecution& a, CloudEventNodeExecution& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CloudEventNodeExecution* New() const final { + return CreateMaybeMessage(nullptr); + } + + CloudEventNodeExecution* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CloudEventNodeExecution& from); + void MergeFrom(const CloudEventNodeExecution& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CloudEventNodeExecution* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.event.NodeExecutionEvent raw_event = 1; + bool has_raw_event() const; + void clear_raw_event(); + static const int kRawEventFieldNumber = 1; + const ::flyteidl::event::NodeExecutionEvent& raw_event() const; + ::flyteidl::event::NodeExecutionEvent* release_raw_event(); + ::flyteidl::event::NodeExecutionEvent* mutable_raw_event(); + void set_allocated_raw_event(::flyteidl::event::NodeExecutionEvent* raw_event); + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventNodeExecution) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::event::NodeExecutionEvent* raw_event_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CloudEventTaskExecution final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventTaskExecution) */ { + public: + CloudEventTaskExecution(); + virtual ~CloudEventTaskExecution(); + + CloudEventTaskExecution(const CloudEventTaskExecution& from); + + inline CloudEventTaskExecution& operator=(const CloudEventTaskExecution& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CloudEventTaskExecution(CloudEventTaskExecution&& from) noexcept + : CloudEventTaskExecution() { + *this = ::std::move(from); + } + + inline CloudEventTaskExecution& operator=(CloudEventTaskExecution&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CloudEventTaskExecution& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CloudEventTaskExecution* internal_default_instance() { + return reinterpret_cast( + &_CloudEventTaskExecution_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(CloudEventTaskExecution* other); + friend void swap(CloudEventTaskExecution& a, CloudEventTaskExecution& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CloudEventTaskExecution* New() const final { + return CreateMaybeMessage(nullptr); + } + + CloudEventTaskExecution* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CloudEventTaskExecution& from); + void MergeFrom(const CloudEventTaskExecution& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CloudEventTaskExecution* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + int artifact_ids_size() const; + void clear_artifact_ids(); + static const int kArtifactIdsFieldNumber = 6; + ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* + mutable_artifact_ids(); + const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; + ::flyteidl::core::ArtifactID* add_artifact_ids(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& + artifact_ids() const; + + // .flyteidl.event.TaskExecutionEvent raw_event = 1; + bool has_raw_event() const; + void clear_raw_event(); + static const int kRawEventFieldNumber = 1; + const ::flyteidl::event::TaskExecutionEvent& raw_event() const; + ::flyteidl::event::TaskExecutionEvent* release_raw_event(); + ::flyteidl::event::TaskExecutionEvent* mutable_raw_event(); + void set_allocated_raw_event(::flyteidl::event::TaskExecutionEvent* raw_event); + + // .flyteidl.core.LiteralMap output_data = 2; + bool has_output_data() const; + void clear_output_data(); + static const int kOutputDataFieldNumber = 2; + const ::flyteidl::core::LiteralMap& output_data() const; + ::flyteidl::core::LiteralMap* release_output_data(); + ::flyteidl::core::LiteralMap* mutable_output_data(); + void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); + + // .flyteidl.core.TypedInterface output_interface = 3; + bool has_output_interface() const; + void clear_output_interface(); + static const int kOutputInterfaceFieldNumber = 3; + const ::flyteidl::core::TypedInterface& output_interface() const; + ::flyteidl::core::TypedInterface* release_output_interface(); + ::flyteidl::core::TypedInterface* mutable_output_interface(); + void set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface); + + // .flyteidl.core.LiteralMap input_data = 4; + bool has_input_data() const; + void clear_input_data(); + static const int kInputDataFieldNumber = 4; + const ::flyteidl::core::LiteralMap& input_data() const; + ::flyteidl::core::LiteralMap* release_input_data(); + ::flyteidl::core::LiteralMap* mutable_input_data(); + void set_allocated_input_data(::flyteidl::core::LiteralMap* input_data); + + // .google.protobuf.Timestamp scheduled_at = 5; + bool has_scheduled_at() const; + void clear_scheduled_at(); + static const int kScheduledAtFieldNumber = 5; + const ::google::protobuf::Timestamp& scheduled_at() const; + ::google::protobuf::Timestamp* release_scheduled_at(); + ::google::protobuf::Timestamp* mutable_scheduled_at(); + void set_allocated_scheduled_at(::google::protobuf::Timestamp* scheduled_at); + + // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + bool has_parent_node_execution() const; + void clear_parent_node_execution(); + static const int kParentNodeExecutionFieldNumber = 7; + const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution() const; + ::flyteidl::core::NodeExecutionIdentifier* release_parent_node_execution(); + ::flyteidl::core::NodeExecutionIdentifier* mutable_parent_node_execution(); + void set_allocated_parent_node_execution(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution); + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + bool has_reference_execution() const; + void clear_reference_execution(); + static const int kReferenceExecutionFieldNumber = 8; + const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_reference_execution(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_reference_execution(); + void set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution); + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventTaskExecution) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; + ::flyteidl::event::TaskExecutionEvent* raw_event_; + ::flyteidl::core::LiteralMap* output_data_; + ::flyteidl::core::TypedInterface* output_interface_; + ::flyteidl::core::LiteralMap* input_data_; + ::google::protobuf::Timestamp* scheduled_at_; + ::flyteidl::core::NodeExecutionIdentifier* parent_node_execution_; + ::flyteidl::core::WorkflowExecutionIdentifier* reference_execution_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CloudEventExecutionStart final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventExecutionStart) */ { + public: + CloudEventExecutionStart(); + virtual ~CloudEventExecutionStart(); + + CloudEventExecutionStart(const CloudEventExecutionStart& from); + + inline CloudEventExecutionStart& operator=(const CloudEventExecutionStart& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CloudEventExecutionStart(CloudEventExecutionStart&& from) noexcept + : CloudEventExecutionStart() { + *this = ::std::move(from); + } + + inline CloudEventExecutionStart& operator=(CloudEventExecutionStart&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CloudEventExecutionStart& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CloudEventExecutionStart* internal_default_instance() { + return reinterpret_cast( + &_CloudEventExecutionStart_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(CloudEventExecutionStart* other); + friend void swap(CloudEventExecutionStart& a, CloudEventExecutionStart& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CloudEventExecutionStart* New() const final { + return CreateMaybeMessage(nullptr); + } + + CloudEventExecutionStart* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CloudEventExecutionStart& from); + void MergeFrom(const CloudEventExecutionStart& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CloudEventExecutionStart* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; + int artifact_ids_size() const; + void clear_artifact_ids(); + static const int kArtifactIdsFieldNumber = 4; + ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* + mutable_artifact_ids(); + const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; + ::flyteidl::core::ArtifactID* add_artifact_ids(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& + artifact_ids() const; + + // repeated string artifact_keys = 5; + int artifact_keys_size() const; + void clear_artifact_keys(); + static const int kArtifactKeysFieldNumber = 5; + const ::std::string& artifact_keys(int index) const; + ::std::string* mutable_artifact_keys(int index); + void set_artifact_keys(int index, const ::std::string& value); + #if LANG_CXX11 + void set_artifact_keys(int index, ::std::string&& value); + #endif + void set_artifact_keys(int index, const char* value); + void set_artifact_keys(int index, const char* value, size_t size); + ::std::string* add_artifact_keys(); + void add_artifact_keys(const ::std::string& value); + #if LANG_CXX11 + void add_artifact_keys(::std::string&& value); + #endif + void add_artifact_keys(const char* value); + void add_artifact_keys(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField<::std::string>& artifact_keys() const; + ::google::protobuf::RepeatedPtrField<::std::string>* mutable_artifact_keys(); + + // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + bool has_execution_id() const; + void clear_execution_id(); + static const int kExecutionIdFieldNumber = 1; + const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_execution_id(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_execution_id(); + void set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id); + + // .flyteidl.core.Identifier launch_plan_id = 2; + bool has_launch_plan_id() const; + void clear_launch_plan_id(); + static const int kLaunchPlanIdFieldNumber = 2; + const ::flyteidl::core::Identifier& launch_plan_id() const; + ::flyteidl::core::Identifier* release_launch_plan_id(); + ::flyteidl::core::Identifier* mutable_launch_plan_id(); + void set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id); + + // .flyteidl.core.Identifier workflow_id = 3; + bool has_workflow_id() const; + void clear_workflow_id(); + static const int kWorkflowIdFieldNumber = 3; + const ::flyteidl::core::Identifier& workflow_id() const; + ::flyteidl::core::Identifier* release_workflow_id(); + ::flyteidl::core::Identifier* mutable_workflow_id(); + void set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id); + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventExecutionStart) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; + ::google::protobuf::RepeatedPtrField<::std::string> artifact_keys_; + ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; + ::flyteidl::core::Identifier* launch_plan_id_; + ::flyteidl::core::Identifier* workflow_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CloudEventWorkflowExecution + +// .flyteidl.event.WorkflowExecutionEvent raw_event = 1; +inline bool CloudEventWorkflowExecution::has_raw_event() const { + return this != internal_default_instance() && raw_event_ != nullptr; +} +inline const ::flyteidl::event::WorkflowExecutionEvent& CloudEventWorkflowExecution::raw_event() const { + const ::flyteidl::event::WorkflowExecutionEvent* p = raw_event_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.raw_event) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::event::_WorkflowExecutionEvent_default_instance_); +} +inline ::flyteidl::event::WorkflowExecutionEvent* CloudEventWorkflowExecution::release_raw_event() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.raw_event) + + ::flyteidl::event::WorkflowExecutionEvent* temp = raw_event_; + raw_event_ = nullptr; + return temp; +} +inline ::flyteidl::event::WorkflowExecutionEvent* CloudEventWorkflowExecution::mutable_raw_event() { + + if (raw_event_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::event::WorkflowExecutionEvent>(GetArenaNoVirtual()); + raw_event_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.raw_event) + return raw_event_; +} +inline void CloudEventWorkflowExecution::set_allocated_raw_event(::flyteidl::event::WorkflowExecutionEvent* raw_event) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_event_); + } + if (raw_event) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + raw_event = ::google::protobuf::internal::GetOwnedMessage( + message_arena, raw_event, submessage_arena); + } + + } else { + + } + raw_event_ = raw_event; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.raw_event) +} + +// .flyteidl.core.LiteralMap output_data = 2; +inline bool CloudEventWorkflowExecution::has_output_data() const { + return this != internal_default_instance() && output_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::output_data() const { + const ::flyteidl::core::LiteralMap* p = output_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.output_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_output_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.output_data) + + ::flyteidl::core::LiteralMap* temp = output_data_; + output_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_output_data() { + + if (output_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + output_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.output_data) + return output_data_; +} +inline void CloudEventWorkflowExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); + } + if (output_data) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + output_data = ::google::protobuf::internal::GetOwnedMessage( + message_arena, output_data, submessage_arena); + } + + } else { + + } + output_data_ = output_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_data) +} + +// .flyteidl.core.TypedInterface output_interface = 3; +inline bool CloudEventWorkflowExecution::has_output_interface() const { + return this != internal_default_instance() && output_interface_ != nullptr; +} +inline const ::flyteidl::core::TypedInterface& CloudEventWorkflowExecution::output_interface() const { + const ::flyteidl::core::TypedInterface* p = output_interface_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.output_interface) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_TypedInterface_default_instance_); +} +inline ::flyteidl::core::TypedInterface* CloudEventWorkflowExecution::release_output_interface() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.output_interface) + + ::flyteidl::core::TypedInterface* temp = output_interface_; + output_interface_ = nullptr; + return temp; +} +inline ::flyteidl::core::TypedInterface* CloudEventWorkflowExecution::mutable_output_interface() { + + if (output_interface_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::TypedInterface>(GetArenaNoVirtual()); + output_interface_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.output_interface) + return output_interface_; +} +inline void CloudEventWorkflowExecution::set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_interface_); + } + if (output_interface) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + output_interface = ::google::protobuf::internal::GetOwnedMessage( + message_arena, output_interface, submessage_arena); + } + + } else { + + } + output_interface_ = output_interface; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_interface) +} + +// .flyteidl.core.LiteralMap input_data = 4; +inline bool CloudEventWorkflowExecution::has_input_data() const { + return this != internal_default_instance() && input_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::input_data() const { + const ::flyteidl::core::LiteralMap* p = input_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.input_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_input_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.input_data) + + ::flyteidl::core::LiteralMap* temp = input_data_; + input_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_input_data() { + + if (input_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + input_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.input_data) + return input_data_; +} +inline void CloudEventWorkflowExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); + } + if (input_data) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + input_data = ::google::protobuf::internal::GetOwnedMessage( + message_arena, input_data, submessage_arena); + } + + } else { + + } + input_data_ = input_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.input_data) +} + +// .google.protobuf.Timestamp scheduled_at = 5; +inline bool CloudEventWorkflowExecution::has_scheduled_at() const { + return this != internal_default_instance() && scheduled_at_ != nullptr; +} +inline const ::google::protobuf::Timestamp& CloudEventWorkflowExecution::scheduled_at() const { + const ::google::protobuf::Timestamp* p = scheduled_at_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.scheduled_at) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* CloudEventWorkflowExecution::release_scheduled_at() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.scheduled_at) + + ::google::protobuf::Timestamp* temp = scheduled_at_; + scheduled_at_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* CloudEventWorkflowExecution::mutable_scheduled_at() { + + if (scheduled_at_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + scheduled_at_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.scheduled_at) + return scheduled_at_; +} +inline void CloudEventWorkflowExecution::set_allocated_scheduled_at(::google::protobuf::Timestamp* scheduled_at) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(scheduled_at_); + } + if (scheduled_at) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(scheduled_at)->GetArena(); + if (message_arena != submessage_arena) { + scheduled_at = ::google::protobuf::internal::GetOwnedMessage( + message_arena, scheduled_at, submessage_arena); + } + + } else { + + } + scheduled_at_ = scheduled_at; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.scheduled_at) +} + +// repeated .flyteidl.core.ArtifactID artifact_ids = 6; +inline int CloudEventWorkflowExecution::artifact_ids_size() const { + return artifact_ids_.size(); +} +inline ::flyteidl::core::ArtifactID* CloudEventWorkflowExecution::mutable_artifact_ids(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) + return artifact_ids_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* +CloudEventWorkflowExecution::mutable_artifact_ids() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) + return &artifact_ids_; +} +inline const ::flyteidl::core::ArtifactID& CloudEventWorkflowExecution::artifact_ids(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) + return artifact_ids_.Get(index); +} +inline ::flyteidl::core::ArtifactID* CloudEventWorkflowExecution::add_artifact_ids() { + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) + return artifact_ids_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& +CloudEventWorkflowExecution::artifact_ids() const { + // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) + return artifact_ids_; +} + +// .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; +inline bool CloudEventWorkflowExecution::has_parent_node_execution() const { + return this != internal_default_instance() && parent_node_execution_ != nullptr; +} +inline const ::flyteidl::core::NodeExecutionIdentifier& CloudEventWorkflowExecution::parent_node_execution() const { + const ::flyteidl::core::NodeExecutionIdentifier* p = parent_node_execution_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.parent_node_execution) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::NodeExecutionIdentifier* CloudEventWorkflowExecution::release_parent_node_execution() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.parent_node_execution) + + ::flyteidl::core::NodeExecutionIdentifier* temp = parent_node_execution_; + parent_node_execution_ = nullptr; + return temp; +} +inline ::flyteidl::core::NodeExecutionIdentifier* CloudEventWorkflowExecution::mutable_parent_node_execution() { + + if (parent_node_execution_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); + parent_node_execution_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.parent_node_execution) + return parent_node_execution_; +} +inline void CloudEventWorkflowExecution::set_allocated_parent_node_execution(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(parent_node_execution_); + } + if (parent_node_execution) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + parent_node_execution = ::google::protobuf::internal::GetOwnedMessage( + message_arena, parent_node_execution, submessage_arena); + } + + } else { + + } + parent_node_execution_ = parent_node_execution; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.parent_node_execution) +} + +// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; +inline bool CloudEventWorkflowExecution::has_reference_execution() const { + return this != internal_default_instance() && reference_execution_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& CloudEventWorkflowExecution::reference_execution() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = reference_execution_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.reference_execution) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventWorkflowExecution::release_reference_execution() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.reference_execution) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = reference_execution_; + reference_execution_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventWorkflowExecution::mutable_reference_execution() { + + if (reference_execution_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + reference_execution_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.reference_execution) + return reference_execution_; +} +inline void CloudEventWorkflowExecution::set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(reference_execution_); + } + if (reference_execution) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + reference_execution = ::google::protobuf::internal::GetOwnedMessage( + message_arena, reference_execution, submessage_arena); + } + + } else { + + } + reference_execution_ = reference_execution; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.reference_execution) +} + +// ------------------------------------------------------------------- + +// CloudEventNodeExecution + +// .flyteidl.event.NodeExecutionEvent raw_event = 1; +inline bool CloudEventNodeExecution::has_raw_event() const { + return this != internal_default_instance() && raw_event_ != nullptr; +} +inline const ::flyteidl::event::NodeExecutionEvent& CloudEventNodeExecution::raw_event() const { + const ::flyteidl::event::NodeExecutionEvent* p = raw_event_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.raw_event) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::event::_NodeExecutionEvent_default_instance_); +} +inline ::flyteidl::event::NodeExecutionEvent* CloudEventNodeExecution::release_raw_event() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.raw_event) + + ::flyteidl::event::NodeExecutionEvent* temp = raw_event_; + raw_event_ = nullptr; + return temp; +} +inline ::flyteidl::event::NodeExecutionEvent* CloudEventNodeExecution::mutable_raw_event() { + + if (raw_event_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::event::NodeExecutionEvent>(GetArenaNoVirtual()); + raw_event_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.raw_event) + return raw_event_; +} +inline void CloudEventNodeExecution::set_allocated_raw_event(::flyteidl::event::NodeExecutionEvent* raw_event) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_event_); + } + if (raw_event) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + raw_event = ::google::protobuf::internal::GetOwnedMessage( + message_arena, raw_event, submessage_arena); + } + + } else { + + } + raw_event_ = raw_event; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.raw_event) +} + +// ------------------------------------------------------------------- + +// CloudEventTaskExecution + +// .flyteidl.event.TaskExecutionEvent raw_event = 1; +inline bool CloudEventTaskExecution::has_raw_event() const { + return this != internal_default_instance() && raw_event_ != nullptr; +} +inline const ::flyteidl::event::TaskExecutionEvent& CloudEventTaskExecution::raw_event() const { + const ::flyteidl::event::TaskExecutionEvent* p = raw_event_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.raw_event) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::event::_TaskExecutionEvent_default_instance_); +} +inline ::flyteidl::event::TaskExecutionEvent* CloudEventTaskExecution::release_raw_event() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.raw_event) + + ::flyteidl::event::TaskExecutionEvent* temp = raw_event_; + raw_event_ = nullptr; + return temp; +} +inline ::flyteidl::event::TaskExecutionEvent* CloudEventTaskExecution::mutable_raw_event() { + + if (raw_event_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::event::TaskExecutionEvent>(GetArenaNoVirtual()); + raw_event_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.raw_event) + return raw_event_; +} +inline void CloudEventTaskExecution::set_allocated_raw_event(::flyteidl::event::TaskExecutionEvent* raw_event) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_event_); + } + if (raw_event) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + raw_event = ::google::protobuf::internal::GetOwnedMessage( + message_arena, raw_event, submessage_arena); + } + + } else { + + } + raw_event_ = raw_event; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.raw_event) +} + +// .flyteidl.core.LiteralMap output_data = 2; +inline bool CloudEventTaskExecution::has_output_data() const { + return this != internal_default_instance() && output_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventTaskExecution::output_data() const { + const ::flyteidl::core::LiteralMap* p = output_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.output_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventTaskExecution::release_output_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.output_data) + + ::flyteidl::core::LiteralMap* temp = output_data_; + output_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventTaskExecution::mutable_output_data() { + + if (output_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + output_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.output_data) + return output_data_; +} +inline void CloudEventTaskExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); + } + if (output_data) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + output_data = ::google::protobuf::internal::GetOwnedMessage( + message_arena, output_data, submessage_arena); + } + + } else { + + } + output_data_ = output_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.output_data) +} + +// .flyteidl.core.TypedInterface output_interface = 3; +inline bool CloudEventTaskExecution::has_output_interface() const { + return this != internal_default_instance() && output_interface_ != nullptr; +} +inline const ::flyteidl::core::TypedInterface& CloudEventTaskExecution::output_interface() const { + const ::flyteidl::core::TypedInterface* p = output_interface_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.output_interface) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_TypedInterface_default_instance_); +} +inline ::flyteidl::core::TypedInterface* CloudEventTaskExecution::release_output_interface() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.output_interface) + + ::flyteidl::core::TypedInterface* temp = output_interface_; + output_interface_ = nullptr; + return temp; +} +inline ::flyteidl::core::TypedInterface* CloudEventTaskExecution::mutable_output_interface() { + + if (output_interface_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::TypedInterface>(GetArenaNoVirtual()); + output_interface_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.output_interface) + return output_interface_; +} +inline void CloudEventTaskExecution::set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_interface_); + } + if (output_interface) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + output_interface = ::google::protobuf::internal::GetOwnedMessage( + message_arena, output_interface, submessage_arena); + } + + } else { + + } + output_interface_ = output_interface; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.output_interface) +} + +// .flyteidl.core.LiteralMap input_data = 4; +inline bool CloudEventTaskExecution::has_input_data() const { + return this != internal_default_instance() && input_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventTaskExecution::input_data() const { + const ::flyteidl::core::LiteralMap* p = input_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.input_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventTaskExecution::release_input_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.input_data) + + ::flyteidl::core::LiteralMap* temp = input_data_; + input_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventTaskExecution::mutable_input_data() { + + if (input_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + input_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.input_data) + return input_data_; +} +inline void CloudEventTaskExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); + } + if (input_data) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + input_data = ::google::protobuf::internal::GetOwnedMessage( + message_arena, input_data, submessage_arena); + } + + } else { + + } + input_data_ = input_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.input_data) +} + +// .google.protobuf.Timestamp scheduled_at = 5; +inline bool CloudEventTaskExecution::has_scheduled_at() const { + return this != internal_default_instance() && scheduled_at_ != nullptr; +} +inline const ::google::protobuf::Timestamp& CloudEventTaskExecution::scheduled_at() const { + const ::google::protobuf::Timestamp* p = scheduled_at_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.scheduled_at) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* CloudEventTaskExecution::release_scheduled_at() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.scheduled_at) + + ::google::protobuf::Timestamp* temp = scheduled_at_; + scheduled_at_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* CloudEventTaskExecution::mutable_scheduled_at() { + + if (scheduled_at_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + scheduled_at_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.scheduled_at) + return scheduled_at_; +} +inline void CloudEventTaskExecution::set_allocated_scheduled_at(::google::protobuf::Timestamp* scheduled_at) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(scheduled_at_); + } + if (scheduled_at) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(scheduled_at)->GetArena(); + if (message_arena != submessage_arena) { + scheduled_at = ::google::protobuf::internal::GetOwnedMessage( + message_arena, scheduled_at, submessage_arena); + } + + } else { + + } + scheduled_at_ = scheduled_at; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.scheduled_at) +} + +// repeated .flyteidl.core.ArtifactID artifact_ids = 6; +inline int CloudEventTaskExecution::artifact_ids_size() const { + return artifact_ids_.size(); +} +inline ::flyteidl::core::ArtifactID* CloudEventTaskExecution::mutable_artifact_ids(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.artifact_ids) + return artifact_ids_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* +CloudEventTaskExecution::mutable_artifact_ids() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventTaskExecution.artifact_ids) + return &artifact_ids_; +} +inline const ::flyteidl::core::ArtifactID& CloudEventTaskExecution::artifact_ids(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.artifact_ids) + return artifact_ids_.Get(index); +} +inline ::flyteidl::core::ArtifactID* CloudEventTaskExecution::add_artifact_ids() { + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventTaskExecution.artifact_ids) + return artifact_ids_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& +CloudEventTaskExecution::artifact_ids() const { + // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventTaskExecution.artifact_ids) + return artifact_ids_; +} + +// .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; +inline bool CloudEventTaskExecution::has_parent_node_execution() const { + return this != internal_default_instance() && parent_node_execution_ != nullptr; +} +inline const ::flyteidl::core::NodeExecutionIdentifier& CloudEventTaskExecution::parent_node_execution() const { + const ::flyteidl::core::NodeExecutionIdentifier* p = parent_node_execution_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.parent_node_execution) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::NodeExecutionIdentifier* CloudEventTaskExecution::release_parent_node_execution() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.parent_node_execution) + + ::flyteidl::core::NodeExecutionIdentifier* temp = parent_node_execution_; + parent_node_execution_ = nullptr; + return temp; +} +inline ::flyteidl::core::NodeExecutionIdentifier* CloudEventTaskExecution::mutable_parent_node_execution() { + + if (parent_node_execution_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); + parent_node_execution_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.parent_node_execution) + return parent_node_execution_; +} +inline void CloudEventTaskExecution::set_allocated_parent_node_execution(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(parent_node_execution_); + } + if (parent_node_execution) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + parent_node_execution = ::google::protobuf::internal::GetOwnedMessage( + message_arena, parent_node_execution, submessage_arena); + } + + } else { + + } + parent_node_execution_ = parent_node_execution; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.parent_node_execution) +} + +// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; +inline bool CloudEventTaskExecution::has_reference_execution() const { + return this != internal_default_instance() && reference_execution_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& CloudEventTaskExecution::reference_execution() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = reference_execution_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.reference_execution) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventTaskExecution::release_reference_execution() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.reference_execution) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = reference_execution_; + reference_execution_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventTaskExecution::mutable_reference_execution() { + + if (reference_execution_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + reference_execution_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.reference_execution) + return reference_execution_; +} +inline void CloudEventTaskExecution::set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(reference_execution_); + } + if (reference_execution) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + reference_execution = ::google::protobuf::internal::GetOwnedMessage( + message_arena, reference_execution, submessage_arena); + } + + } else { + + } + reference_execution_ = reference_execution; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.reference_execution) +} + +// ------------------------------------------------------------------- + +// CloudEventExecutionStart + +// .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; +inline bool CloudEventExecutionStart::has_execution_id() const { + return this != internal_default_instance() && execution_id_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& CloudEventExecutionStart::execution_id() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_id_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.execution_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventExecutionStart::release_execution_id() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventExecutionStart.execution_id) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_id_; + execution_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventExecutionStart::mutable_execution_id() { + + if (execution_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + execution_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.execution_id) + return execution_id_; +} +inline void CloudEventExecutionStart::set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_id_); + } + if (execution_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + execution_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, execution_id, submessage_arena); + } + + } else { + + } + execution_id_ = execution_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventExecutionStart.execution_id) +} + +// .flyteidl.core.Identifier launch_plan_id = 2; +inline bool CloudEventExecutionStart::has_launch_plan_id() const { + return this != internal_default_instance() && launch_plan_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& CloudEventExecutionStart::launch_plan_id() const { + const ::flyteidl::core::Identifier* p = launch_plan_id_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.launch_plan_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* CloudEventExecutionStart::release_launch_plan_id() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventExecutionStart.launch_plan_id) + + ::flyteidl::core::Identifier* temp = launch_plan_id_; + launch_plan_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* CloudEventExecutionStart::mutable_launch_plan_id() { + + if (launch_plan_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + launch_plan_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.launch_plan_id) + return launch_plan_id_; +} +inline void CloudEventExecutionStart::set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(launch_plan_id_); + } + if (launch_plan_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launch_plan_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launch_plan_id, submessage_arena); + } + + } else { + + } + launch_plan_id_ = launch_plan_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventExecutionStart.launch_plan_id) +} + +// .flyteidl.core.Identifier workflow_id = 3; +inline bool CloudEventExecutionStart::has_workflow_id() const { + return this != internal_default_instance() && workflow_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& CloudEventExecutionStart::workflow_id() const { + const ::flyteidl::core::Identifier* p = workflow_id_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.workflow_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* CloudEventExecutionStart::release_workflow_id() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventExecutionStart.workflow_id) + + ::flyteidl::core::Identifier* temp = workflow_id_; + workflow_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* CloudEventExecutionStart::mutable_workflow_id() { + + if (workflow_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + workflow_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.workflow_id) + return workflow_id_; +} +inline void CloudEventExecutionStart::set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_id_); + } + if (workflow_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_id, submessage_arena); + } + + } else { + + } + workflow_id_ = workflow_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventExecutionStart.workflow_id) +} + +// repeated .flyteidl.core.ArtifactID artifact_ids = 4; +inline int CloudEventExecutionStart::artifact_ids_size() const { + return artifact_ids_.size(); +} +inline ::flyteidl::core::ArtifactID* CloudEventExecutionStart::mutable_artifact_ids(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_ids) + return artifact_ids_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* +CloudEventExecutionStart::mutable_artifact_ids() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_ids) + return &artifact_ids_; +} +inline const ::flyteidl::core::ArtifactID& CloudEventExecutionStart::artifact_ids(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_ids) + return artifact_ids_.Get(index); +} +inline ::flyteidl::core::ArtifactID* CloudEventExecutionStart::add_artifact_ids() { + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_ids) + return artifact_ids_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& +CloudEventExecutionStart::artifact_ids() const { + // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_ids) + return artifact_ids_; +} + +// repeated string artifact_keys = 5; +inline int CloudEventExecutionStart::artifact_keys_size() const { + return artifact_keys_.size(); +} +inline void CloudEventExecutionStart::clear_artifact_keys() { + artifact_keys_.Clear(); +} +inline const ::std::string& CloudEventExecutionStart::artifact_keys(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_.Get(index); +} +inline ::std::string* CloudEventExecutionStart::mutable_artifact_keys(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_.Mutable(index); +} +inline void CloudEventExecutionStart::set_artifact_keys(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_keys_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void CloudEventExecutionStart::set_artifact_keys(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_keys_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void CloudEventExecutionStart::set_artifact_keys(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + artifact_keys_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline void CloudEventExecutionStart::set_artifact_keys(int index, const char* value, size_t size) { + artifact_keys_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline ::std::string* CloudEventExecutionStart::add_artifact_keys() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_.Add(); +} +inline void CloudEventExecutionStart::add_artifact_keys(const ::std::string& value) { + artifact_keys_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +#if LANG_CXX11 +inline void CloudEventExecutionStart::add_artifact_keys(::std::string&& value) { + artifact_keys_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +#endif +inline void CloudEventExecutionStart::add_artifact_keys(const char* value) { + GOOGLE_DCHECK(value != nullptr); + artifact_keys_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline void CloudEventExecutionStart::add_artifact_keys(const char* value, size_t size) { + artifact_keys_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +CloudEventExecutionStart::artifact_keys() const { + // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* +CloudEventExecutionStart::mutable_artifact_keys() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return &artifact_keys_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace event +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fevent_2fcloudevents_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc index 5d705b5b46..08a81f6438 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc @@ -24,7 +24,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::p extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_EventReason_flyteidl_2fevent_2fevent_2eproto; diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc index bf07425eb0..c97e96a915 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc @@ -16,8 +16,11 @@ // @@protoc_insertion_point(includes) #include +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fdataproxy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; @@ -55,6 +58,8 @@ class PreSignedURLsDefaultTypeInternal { class GetDataRequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; + ::google::protobuf::internal::ArenaStringPtr flyte_url_; + const ::flyteidl::core::ArtifactID* artifact_id_; } _GetDataRequest_default_instance_; class GetDataResponseDefaultTypeInternal { public: @@ -62,6 +67,7 @@ class GetDataResponseDefaultTypeInternal { const ::flyteidl::core::LiteralMap* literal_map_; const ::flyteidl::service::PreSignedURLs* pre_signed_urls_; const ::flyteidl::core::Literal* literal_; + const ::flyteidl::artifact::Artifact* artifact_; } _GetDataResponse_default_instance_; } // namespace service } // namespace flyteidl @@ -76,9 +82,10 @@ static void InitDefaultsCreateUploadLocationResponse_flyteidl_2fservice_2fdatapr ::flyteidl::service::CreateUploadLocationResponse::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; +::google::protobuf::internal::SCCInfo<2> scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { + &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; static void InitDefaultsCreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -91,9 +98,10 @@ static void InitDefaultsCreateUploadLocationRequest_flyteidl_2fservice_2fdatapro ::flyteidl::service::CreateUploadLocationRequest::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_CreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; +::google::protobuf::internal::SCCInfo<2> scc_info_CreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto}, { + &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, + &scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; static void InitDefaultsCreateDownloadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -183,8 +191,9 @@ static void InitDefaultsGetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto() ::flyteidl::service::GetDataRequest::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<0> scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto}, {}}; +::google::protobuf::internal::SCCInfo<1> scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto}, { + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; static void InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -197,10 +206,11 @@ static void InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto() ::flyteidl::service::GetDataResponse::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { +::google::protobuf::internal::SCCInfo<3> scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base,}}; + &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base, + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; void InitDefaults_flyteidl_2fservice_2fdataproxy_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); @@ -227,6 +237,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fdataproxy_2epr PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, signed_url_), PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, native_url_), PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, expires_at_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, artifact_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -238,6 +249,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fdataproxy_2epr PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, expires_in_), PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, content_md5_), PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, filename_root_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, artifact_spec_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLocationRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -279,9 +291,11 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fdataproxy_2epr ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, _internal_metadata_), ~0u, // no _extensions_ - ~0u, // no _oneof_case_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, _oneof_case_[0]), ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, flyte_url_), + offsetof(::flyteidl::service::GetDataRequestDefaultTypeInternal, flyte_url_), + offsetof(::flyteidl::service::GetDataRequestDefaultTypeInternal, artifact_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, query_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, _internal_metadata_), ~0u, // no _extensions_ @@ -290,18 +304,19 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fdataproxy_2epr offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, literal_map_), offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, pre_signed_urls_), offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, literal_), + offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, artifact_), PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, data_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::service::CreateUploadLocationResponse)}, - { 8, -1, sizeof(::flyteidl::service::CreateUploadLocationRequest)}, - { 19, -1, sizeof(::flyteidl::service::CreateDownloadLocationRequest)}, - { 26, -1, sizeof(::flyteidl::service::CreateDownloadLocationResponse)}, - { 33, -1, sizeof(::flyteidl::service::CreateDownloadLinkRequest)}, - { 42, -1, sizeof(::flyteidl::service::CreateDownloadLinkResponse)}, - { 50, -1, sizeof(::flyteidl::service::PreSignedURLs)}, - { 57, -1, sizeof(::flyteidl::service::GetDataRequest)}, - { 63, -1, sizeof(::flyteidl::service::GetDataResponse)}, + { 9, -1, sizeof(::flyteidl::service::CreateUploadLocationRequest)}, + { 21, -1, sizeof(::flyteidl::service::CreateDownloadLocationRequest)}, + { 28, -1, sizeof(::flyteidl::service::CreateDownloadLocationResponse)}, + { 35, -1, sizeof(::flyteidl::service::CreateDownloadLinkRequest)}, + { 44, -1, sizeof(::flyteidl::service::CreateDownloadLinkResponse)}, + { 52, -1, sizeof(::flyteidl::service::PreSignedURLs)}, + { 59, -1, sizeof(::flyteidl::service::GetDataRequest)}, + { 67, -1, sizeof(::flyteidl::service::GetDataResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -326,74 +341,83 @@ const char descriptor_table_protodef_flyteidl_2fservice_2fdataproxy_2eproto[] = "\n flyteidl/service/dataproxy.proto\022\020flyt" "eidl.service\032\034google/api/annotations.pro" "to\032\036google/protobuf/duration.proto\032\037goog" - "le/protobuf/timestamp.proto\032\036flyteidl/co" - "re/identifier.proto\032\034flyteidl/core/liter" - "als.proto\"v\n\034CreateUploadLocationRespons" - "e\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(" - "\t\022.\n\nexpires_at\030\003 \001(\0132\032.google.protobuf." - "Timestamp\"\253\001\n\033CreateUploadLocationReques" - "t\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010fi" - "lename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.googl" - "e.protobuf.Duration\022\023\n\013content_md5\030\005 \001(\014" - "\022\025\n\rfilename_root\030\006 \001(\t\"f\n\035CreateDownloa" - "dLocationRequest\022\022\n\nnative_url\030\001 \001(\t\022-\n\n" - "expires_in\030\002 \001(\0132\031.google.protobuf.Durat" - "ion:\002\030\001\"h\n\036CreateDownloadLocationRespons" - "e\022\022\n\nsigned_url\030\001 \001(\t\022.\n\nexpires_at\030\002 \001(" - "\0132\032.google.protobuf.Timestamp:\002\030\001\"\320\001\n\031Cr" - "eateDownloadLinkRequest\0225\n\rartifact_type" - "\030\001 \001(\0162\036.flyteidl.service.ArtifactType\022-" - "\n\nexpires_in\030\002 \001(\0132\031.google.protobuf.Dur" - "ation\022C\n\021node_execution_id\030\003 \001(\0132&.flyte" - "idl.core.NodeExecutionIdentifierH\000B\010\n\006so" - "urce\"\242\001\n\032CreateDownloadLinkResponse\022\026\n\ns" - "igned_url\030\001 \003(\tB\002\030\001\0222\n\nexpires_at\030\002 \001(\0132" - "\032.google.protobuf.TimestampB\002\030\001\0228\n\017pre_s" - "igned_urls\030\003 \001(\0132\037.flyteidl.service.PreS" - "ignedURLs\"S\n\rPreSignedURLs\022\022\n\nsigned_url" - "\030\001 \003(\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.prot" - "obuf.Timestamp\"#\n\016GetDataRequest\022\021\n\tflyt" - "e_url\030\001 \001(\t\"\262\001\n\017GetDataResponse\0220\n\013liter" - "al_map\030\001 \001(\0132\031.flyteidl.core.LiteralMapH" - "\000\022:\n\017pre_signed_urls\030\002 \001(\0132\037.flyteidl.se" - "rvice.PreSignedURLsH\000\022)\n\007literal\030\003 \001(\0132\026" - ".flyteidl.core.LiteralH\000B\006\n\004data*C\n\014Arti" - "factType\022\033\n\027ARTIFACT_TYPE_UNDEFINED\020\000\022\026\n" - "\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020DataProxyServi" - "ce\022\240\001\n\024CreateUploadLocation\022-.flyteidl.s" - "ervice.CreateUploadLocationRequest\032..fly" - "teidl.service.CreateUploadLocationRespon" - "se\")\202\323\344\223\002#\"\036/api/v1/dataproxy/artifact_u" - "rn:\001*\022\246\001\n\026CreateDownloadLocation\022/.flyte" - "idl.service.CreateDownloadLocationReques" - "t\0320.flyteidl.service.CreateDownloadLocat" - "ionResponse\")\210\002\001\202\323\344\223\002 \022\036/api/v1/dataprox" - "y/artifact_urn\022\233\001\n\022CreateDownloadLink\022+." - "flyteidl.service.CreateDownloadLinkReque" - "st\032,.flyteidl.service.CreateDownloadLink" - "Response\"*\202\323\344\223\002$\"\037/api/v1/dataproxy/arti" - "fact_link:\001*\022d\n\007GetData\022 .flyteidl.servi" - "ce.GetDataRequest\032!.flyteidl.service.Get" - "DataResponse\"\024\202\323\344\223\002\016\022\014/api/v1/dataB\?Z=gi" - "thub.com/flyteorg/flyte/flyteidl/gen/pb-" - "go/flyteidl/serviceb\006proto3" + "le/protobuf/timestamp.proto\032\037flyteidl/co" + "re/artifact_id.proto\032\036flyteidl/core/iden" + "tifier.proto\032\034flyteidl/core/literals.pro" + "to\032!flyteidl/artifact/artifacts.proto\"\245\001" + "\n\034CreateUploadLocationResponse\022\022\n\nsigned" + "_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(\t\022.\n\nexpire" + "s_at\030\003 \001(\0132\032.google.protobuf.Timestamp\022-" + "\n\010artifact\030\004 \001(\0132\033.flyteidl.artifact.Art" + "ifact\"\343\001\n\033CreateUploadLocationRequest\022\017\n" + "\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010filena" + "me\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.google.pr" + "otobuf.Duration\022\023\n\013content_md5\030\005 \001(\014\022\025\n\r" + "filename_root\030\006 \001(\t\0226\n\rartifact_spec\030\007 \001" + "(\0132\037.flyteidl.artifact.ArtifactSpec\"f\n\035C" + "reateDownloadLocationRequest\022\022\n\nnative_u" + "rl\030\001 \001(\t\022-\n\nexpires_in\030\002 \001(\0132\031.google.pr" + "otobuf.Duration:\002\030\001\"h\n\036CreateDownloadLoc" + "ationResponse\022\022\n\nsigned_url\030\001 \001(\t\022.\n\nexp" + "ires_at\030\002 \001(\0132\032.google.protobuf.Timestam" + "p:\002\030\001\"\320\001\n\031CreateDownloadLinkRequest\0225\n\ra" + "rtifact_type\030\001 \001(\0162\036.flyteidl.service.Ar" + "tifactType\022-\n\nexpires_in\030\002 \001(\0132\031.google." + "protobuf.Duration\022C\n\021node_execution_id\030\003" + " \001(\0132&.flyteidl.core.NodeExecutionIdenti" + "fierH\000B\010\n\006source\"\242\001\n\032CreateDownloadLinkR" + "esponse\022\026\n\nsigned_url\030\001 \003(\tB\002\030\001\0222\n\nexpir" + "es_at\030\002 \001(\0132\032.google.protobuf.TimestampB" + "\002\030\001\0228\n\017pre_signed_urls\030\003 \001(\0132\037.flyteidl." + "service.PreSignedURLs\"S\n\rPreSignedURLs\022\022" + "\n\nsigned_url\030\001 \003(\t\022.\n\nexpires_at\030\002 \001(\0132\032" + ".google.protobuf.Timestamp\"`\n\016GetDataReq" + "uest\022\023\n\tflyte_url\030\001 \001(\tH\000\0220\n\013artifact_id" + "\030\002 \001(\0132\031.flyteidl.core.ArtifactIDH\000B\007\n\005q" + "uery\"\343\001\n\017GetDataResponse\0220\n\013literal_map\030" + "\001 \001(\0132\031.flyteidl.core.LiteralMapH\000\022:\n\017pr" + "e_signed_urls\030\002 \001(\0132\037.flyteidl.service.P" + "reSignedURLsH\000\022)\n\007literal\030\003 \001(\0132\026.flytei" + "dl.core.LiteralH\000\022/\n\010artifact\030\004 \001(\0132\033.fl" + "yteidl.artifact.ArtifactH\000B\006\n\004data*C\n\014Ar" + "tifactType\022\033\n\027ARTIFACT_TYPE_UNDEFINED\020\000\022" + "\026\n\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020DataProxySer" + "vice\022\240\001\n\024CreateUploadLocation\022-.flyteidl" + ".service.CreateUploadLocationRequest\032..f" + "lyteidl.service.CreateUploadLocationResp" + "onse\")\202\323\344\223\002#\"\036/api/v1/dataproxy/artifact" + "_urn:\001*\022\246\001\n\026CreateDownloadLocation\022/.fly" + "teidl.service.CreateDownloadLocationRequ" + "est\0320.flyteidl.service.CreateDownloadLoc" + "ationResponse\")\210\002\001\202\323\344\223\002 \022\036/api/v1/datapr" + "oxy/artifact_urn\022\233\001\n\022CreateDownloadLink\022" + "+.flyteidl.service.CreateDownloadLinkReq" + "uest\032,.flyteidl.service.CreateDownloadLi" + "nkResponse\"*\202\323\344\223\002$\"\037/api/v1/dataproxy/ar" + "tifact_link:\001*\022d\n\007GetData\022 .flyteidl.ser" + "vice.GetDataRequest\032!.flyteidl.service.G" + "etDataResponse\"\024\202\323\344\223\002\016\022\014/api/v1/dataB\?Z=" + "github.com/flyteorg/flyte/flyteidl/gen/p" + "b-go/flyteidl/serviceb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto = { false, InitDefaults_flyteidl_2fservice_2fdataproxy_2eproto, descriptor_table_protodef_flyteidl_2fservice_2fdataproxy_2eproto, - "flyteidl/service/dataproxy.proto", &assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto, 2147, + "flyteidl/service/dataproxy.proto", &assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto, 2429, }; void AddDescriptors_flyteidl_2fservice_2fdataproxy_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[5] = + static constexpr ::google::protobuf::internal::InitFunc deps[7] = { ::AddDescriptors_google_2fapi_2fannotations_2eproto, ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, + ::AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto, deps, 5); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto, deps, 7); } // Force running AddDescriptors() at dynamic initialization time. @@ -420,26 +444,40 @@ bool ArtifactType_IsValid(int value) { void CreateUploadLocationResponse::InitAsDefaultInstance() { ::flyteidl::service::_CreateUploadLocationResponse_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( ::google::protobuf::Timestamp::internal_default_instance()); + ::flyteidl::service::_CreateUploadLocationResponse_default_instance_._instance.get_mutable()->artifact_ = const_cast< ::flyteidl::artifact::Artifact*>( + ::flyteidl::artifact::Artifact::internal_default_instance()); } class CreateUploadLocationResponse::HasBitSetters { public: static const ::google::protobuf::Timestamp& expires_at(const CreateUploadLocationResponse* msg); + static const ::flyteidl::artifact::Artifact& artifact(const CreateUploadLocationResponse* msg); }; const ::google::protobuf::Timestamp& CreateUploadLocationResponse::HasBitSetters::expires_at(const CreateUploadLocationResponse* msg) { return *msg->expires_at_; } +const ::flyteidl::artifact::Artifact& +CreateUploadLocationResponse::HasBitSetters::artifact(const CreateUploadLocationResponse* msg) { + return *msg->artifact_; +} void CreateUploadLocationResponse::clear_expires_at() { if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { delete expires_at_; } expires_at_ = nullptr; } +void CreateUploadLocationResponse::clear_artifact() { + if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { + delete artifact_; + } + artifact_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CreateUploadLocationResponse::kSignedUrlFieldNumber; const int CreateUploadLocationResponse::kNativeUrlFieldNumber; const int CreateUploadLocationResponse::kExpiresAtFieldNumber; +const int CreateUploadLocationResponse::kArtifactFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 CreateUploadLocationResponse::CreateUploadLocationResponse() @@ -464,6 +502,11 @@ CreateUploadLocationResponse::CreateUploadLocationResponse(const CreateUploadLoc } else { expires_at_ = nullptr; } + if (from.has_artifact()) { + artifact_ = new ::flyteidl::artifact::Artifact(*from.artifact_); + } else { + artifact_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateUploadLocationResponse) } @@ -472,7 +515,9 @@ void CreateUploadLocationResponse::SharedCtor() { &scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); signed_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); native_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - expires_at_ = nullptr; + ::memset(&expires_at_, 0, static_cast( + reinterpret_cast(&artifact_) - + reinterpret_cast(&expires_at_)) + sizeof(artifact_)); } CreateUploadLocationResponse::~CreateUploadLocationResponse() { @@ -484,6 +529,7 @@ void CreateUploadLocationResponse::SharedDtor() { signed_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); native_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete expires_at_; + if (this != internal_default_instance()) delete artifact_; } void CreateUploadLocationResponse::SetCachedSize(int size) const { @@ -507,6 +553,10 @@ void CreateUploadLocationResponse::Clear() { delete expires_at_; } expires_at_ = nullptr; + if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { + delete artifact_; + } + artifact_ = nullptr; _internal_metadata_.Clear(); } @@ -568,6 +618,19 @@ const char* CreateUploadLocationResponse::_InternalParse(const char* begin, cons {parser_till_end, object}, ptr - size, ptr)); break; } + // .flyteidl.artifact.Artifact artifact = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::Artifact::_InternalParse; + object = msg->mutable_artifact(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -643,6 +706,17 @@ bool CreateUploadLocationResponse::MergePartialFromCodedStream( break; } + // .flyteidl.artifact.Artifact artifact = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -696,6 +770,12 @@ void CreateUploadLocationResponse::SerializeWithCachedSizes( 3, HasBitSetters::expires_at(this), output); } + // .flyteidl.artifact.Artifact artifact = 4; + if (this->has_artifact()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::artifact(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -738,6 +818,13 @@ ::google::protobuf::uint8* CreateUploadLocationResponse::InternalSerializeWithCa 3, HasBitSetters::expires_at(this), target); } + // .flyteidl.artifact.Artifact artifact = 4; + if (this->has_artifact()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::artifact(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -780,6 +867,13 @@ size_t CreateUploadLocationResponse::ByteSizeLong() const { *expires_at_); } + // .flyteidl.artifact.Artifact artifact = 4; + if (this->has_artifact()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -818,6 +912,9 @@ void CreateUploadLocationResponse::MergeFrom(const CreateUploadLocationResponse& if (from.has_expires_at()) { mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); } + if (from.has_artifact()) { + mutable_artifact()->::flyteidl::artifact::Artifact::MergeFrom(from.artifact()); + } } void CreateUploadLocationResponse::CopyFrom(const ::google::protobuf::Message& from) { @@ -850,6 +947,7 @@ void CreateUploadLocationResponse::InternalSwap(CreateUploadLocationResponse* ot native_url_.Swap(&other->native_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(expires_at_, other->expires_at_); + swap(artifact_, other->artifact_); } ::google::protobuf::Metadata CreateUploadLocationResponse::GetMetadata() const { @@ -863,22 +961,35 @@ ::google::protobuf::Metadata CreateUploadLocationResponse::GetMetadata() const { void CreateUploadLocationRequest::InitAsDefaultInstance() { ::flyteidl::service::_CreateUploadLocationRequest_default_instance_._instance.get_mutable()->expires_in_ = const_cast< ::google::protobuf::Duration*>( ::google::protobuf::Duration::internal_default_instance()); + ::flyteidl::service::_CreateUploadLocationRequest_default_instance_._instance.get_mutable()->artifact_spec_ = const_cast< ::flyteidl::artifact::ArtifactSpec*>( + ::flyteidl::artifact::ArtifactSpec::internal_default_instance()); } class CreateUploadLocationRequest::HasBitSetters { public: static const ::google::protobuf::Duration& expires_in(const CreateUploadLocationRequest* msg); + static const ::flyteidl::artifact::ArtifactSpec& artifact_spec(const CreateUploadLocationRequest* msg); }; const ::google::protobuf::Duration& CreateUploadLocationRequest::HasBitSetters::expires_in(const CreateUploadLocationRequest* msg) { return *msg->expires_in_; } +const ::flyteidl::artifact::ArtifactSpec& +CreateUploadLocationRequest::HasBitSetters::artifact_spec(const CreateUploadLocationRequest* msg) { + return *msg->artifact_spec_; +} void CreateUploadLocationRequest::clear_expires_in() { if (GetArenaNoVirtual() == nullptr && expires_in_ != nullptr) { delete expires_in_; } expires_in_ = nullptr; } +void CreateUploadLocationRequest::clear_artifact_spec() { + if (GetArenaNoVirtual() == nullptr && artifact_spec_ != nullptr) { + delete artifact_spec_; + } + artifact_spec_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CreateUploadLocationRequest::kProjectFieldNumber; const int CreateUploadLocationRequest::kDomainFieldNumber; @@ -886,6 +997,7 @@ const int CreateUploadLocationRequest::kFilenameFieldNumber; const int CreateUploadLocationRequest::kExpiresInFieldNumber; const int CreateUploadLocationRequest::kContentMd5FieldNumber; const int CreateUploadLocationRequest::kFilenameRootFieldNumber; +const int CreateUploadLocationRequest::kArtifactSpecFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 CreateUploadLocationRequest::CreateUploadLocationRequest() @@ -922,6 +1034,11 @@ CreateUploadLocationRequest::CreateUploadLocationRequest(const CreateUploadLocat } else { expires_in_ = nullptr; } + if (from.has_artifact_spec()) { + artifact_spec_ = new ::flyteidl::artifact::ArtifactSpec(*from.artifact_spec_); + } else { + artifact_spec_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateUploadLocationRequest) } @@ -933,7 +1050,9 @@ void CreateUploadLocationRequest::SharedCtor() { filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); content_md5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); filename_root_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - expires_in_ = nullptr; + ::memset(&expires_in_, 0, static_cast( + reinterpret_cast(&artifact_spec_) - + reinterpret_cast(&expires_in_)) + sizeof(artifact_spec_)); } CreateUploadLocationRequest::~CreateUploadLocationRequest() { @@ -948,6 +1067,7 @@ void CreateUploadLocationRequest::SharedDtor() { content_md5_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); filename_root_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete expires_in_; + if (this != internal_default_instance()) delete artifact_spec_; } void CreateUploadLocationRequest::SetCachedSize(int size) const { @@ -974,6 +1094,10 @@ void CreateUploadLocationRequest::Clear() { delete expires_in_; } expires_in_ = nullptr; + if (GetArenaNoVirtual() == nullptr && artifact_spec_ != nullptr) { + delete artifact_spec_; + } + artifact_spec_ = nullptr; _internal_metadata_.Clear(); } @@ -1082,6 +1206,19 @@ const char* CreateUploadLocationRequest::_InternalParse(const char* begin, const ptr += size; break; } + // .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + case 7: { + if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::ArtifactSpec::_InternalParse; + object = msg->mutable_artifact_spec(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -1198,6 +1335,17 @@ bool CreateUploadLocationRequest::MergePartialFromCodedStream( break; } + // .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_spec())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -1277,6 +1425,12 @@ void CreateUploadLocationRequest::SerializeWithCachedSizes( 6, this->filename_root(), output); } + // .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + if (this->has_artifact_spec()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, HasBitSetters::artifact_spec(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -1348,6 +1502,13 @@ ::google::protobuf::uint8* CreateUploadLocationRequest::InternalSerializeWithCac 6, this->filename_root(), target); } + // .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + if (this->has_artifact_spec()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, HasBitSetters::artifact_spec(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -1411,6 +1572,13 @@ size_t CreateUploadLocationRequest::ByteSizeLong() const { *expires_in_); } + // .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + if (this->has_artifact_spec()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_spec_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -1461,6 +1629,9 @@ void CreateUploadLocationRequest::MergeFrom(const CreateUploadLocationRequest& f if (from.has_expires_in()) { mutable_expires_in()->::google::protobuf::Duration::MergeFrom(from.expires_in()); } + if (from.has_artifact_spec()) { + mutable_artifact_spec()->::flyteidl::artifact::ArtifactSpec::MergeFrom(from.artifact_spec()); + } } void CreateUploadLocationRequest::CopyFrom(const ::google::protobuf::Message& from) { @@ -1499,6 +1670,7 @@ void CreateUploadLocationRequest::InternalSwap(CreateUploadLocationRequest* othe filename_root_.Swap(&other->filename_root_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(expires_in_, other->expires_in_); + swap(artifact_spec_, other->artifact_spec_); } ::google::protobuf::Metadata CreateUploadLocationRequest::GetMetadata() const { @@ -3508,13 +3680,43 @@ ::google::protobuf::Metadata PreSignedURLs::GetMetadata() const { // =================================================================== void GetDataRequest::InitAsDefaultInstance() { + ::flyteidl::service::_GetDataRequest_default_instance_.flyte_url_.UnsafeSetDefault( + &::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::flyteidl::service::_GetDataRequest_default_instance_.artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); } class GetDataRequest::HasBitSetters { public: + static const ::flyteidl::core::ArtifactID& artifact_id(const GetDataRequest* msg); }; +const ::flyteidl::core::ArtifactID& +GetDataRequest::HasBitSetters::artifact_id(const GetDataRequest* msg) { + return *msg->query_.artifact_id_; +} +void GetDataRequest::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_query(); + if (artifact_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_id, submessage_arena); + } + set_has_artifact_id(); + query_.artifact_id_ = artifact_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataRequest.artifact_id) +} +void GetDataRequest::clear_artifact_id() { + if (has_artifact_id()) { + delete query_.artifact_id_; + clear_has_query(); + } +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int GetDataRequest::kFlyteUrlFieldNumber; +const int GetDataRequest::kArtifactIdFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 GetDataRequest::GetDataRequest() @@ -3526,9 +3728,19 @@ GetDataRequest::GetDataRequest(const GetDataRequest& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.flyte_url().size() > 0) { - flyte_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flyte_url_); + clear_has_query(); + switch (from.query_case()) { + case kFlyteUrl: { + set_flyte_url(from.flyte_url()); + break; + } + case kArtifactId: { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + break; + } + case QUERY_NOT_SET: { + break; + } } // @@protoc_insertion_point(copy_constructor:flyteidl.service.GetDataRequest) } @@ -3536,7 +3748,7 @@ GetDataRequest::GetDataRequest(const GetDataRequest& from) void GetDataRequest::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_query(); } GetDataRequest::~GetDataRequest() { @@ -3545,7 +3757,9 @@ GetDataRequest::~GetDataRequest() { } void GetDataRequest::SharedDtor() { - flyte_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (has_query()) { + clear_query(); + } } void GetDataRequest::SetCachedSize(int size) const { @@ -3557,13 +3771,32 @@ const GetDataRequest& GetDataRequest::default_instance() { } +void GetDataRequest::clear_query() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.service.GetDataRequest) + switch (query_case()) { + case kFlyteUrl: { + query_.flyte_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + break; + } + case kArtifactId: { + delete query_.artifact_id_; + break; + } + case QUERY_NOT_SET: { + break; + } + } + _oneof_case_[0] = QUERY_NOT_SET; +} + + void GetDataRequest::Clear() { // @@protoc_insertion_point(message_clear_start:flyteidl.service.GetDataRequest) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - flyte_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_query(); _internal_metadata_.Clear(); } @@ -3596,6 +3829,19 @@ const char* GetDataRequest::_InternalParse(const char* begin, const char* end, v ptr += size; break; } + // .flyteidl.core.ArtifactID artifact_id = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; + object = msg->mutable_artifact_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -3645,6 +3891,17 @@ bool GetDataRequest::MergePartialFromCodedStream( break; } + // .flyteidl.core.ArtifactID artifact_id = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact_id())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -3673,7 +3930,7 @@ void GetDataRequest::SerializeWithCachedSizes( (void) cached_has_bits; // string flyte_url = 1; - if (this->flyte_url().size() > 0) { + if (has_flyte_url()) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->flyte_url().data(), static_cast(this->flyte_url().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, @@ -3682,6 +3939,12 @@ void GetDataRequest::SerializeWithCachedSizes( 1, this->flyte_url(), output); } + // .flyteidl.core.ArtifactID artifact_id = 2; + if (has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::artifact_id(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -3696,7 +3959,7 @@ ::google::protobuf::uint8* GetDataRequest::InternalSerializeWithCachedSizesToArr (void) cached_has_bits; // string flyte_url = 1; - if (this->flyte_url().size() > 0) { + if (has_flyte_url()) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->flyte_url().data(), static_cast(this->flyte_url().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, @@ -3706,6 +3969,13 @@ ::google::protobuf::uint8* GetDataRequest::InternalSerializeWithCachedSizesToArr 1, this->flyte_url(), target); } + // .flyteidl.core.ArtifactID artifact_id = 2; + if (has_artifact_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::artifact_id(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -3727,13 +3997,25 @@ size_t GetDataRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string flyte_url = 1; - if (this->flyte_url().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->flyte_url()); + switch (query_case()) { + // string flyte_url = 1; + case kFlyteUrl: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->flyte_url()); + break; + } + // .flyteidl.core.ArtifactID artifact_id = 2; + case kArtifactId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *query_.artifact_id_); + break; + } + case QUERY_NOT_SET: { + break; + } } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -3761,9 +4043,18 @@ void GetDataRequest::MergeFrom(const GetDataRequest& from) { ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - if (from.flyte_url().size() > 0) { - - flyte_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flyte_url_); + switch (from.query_case()) { + case kFlyteUrl: { + set_flyte_url(from.flyte_url()); + break; + } + case kArtifactId: { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + break; + } + case QUERY_NOT_SET: { + break; + } } } @@ -3792,8 +4083,8 @@ void GetDataRequest::Swap(GetDataRequest* other) { void GetDataRequest::InternalSwap(GetDataRequest* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); - flyte_url_.Swap(&other->flyte_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); + swap(query_, other->query_); + swap(_oneof_case_[0], other->_oneof_case_[0]); } ::google::protobuf::Metadata GetDataRequest::GetMetadata() const { @@ -3811,12 +4102,15 @@ void GetDataResponse::InitAsDefaultInstance() { ::flyteidl::service::PreSignedURLs::internal_default_instance()); ::flyteidl::service::_GetDataResponse_default_instance_.literal_ = const_cast< ::flyteidl::core::Literal*>( ::flyteidl::core::Literal::internal_default_instance()); + ::flyteidl::service::_GetDataResponse_default_instance_.artifact_ = const_cast< ::flyteidl::artifact::Artifact*>( + ::flyteidl::artifact::Artifact::internal_default_instance()); } class GetDataResponse::HasBitSetters { public: static const ::flyteidl::core::LiteralMap& literal_map(const GetDataResponse* msg); static const ::flyteidl::service::PreSignedURLs& pre_signed_urls(const GetDataResponse* msg); static const ::flyteidl::core::Literal& literal(const GetDataResponse* msg); + static const ::flyteidl::artifact::Artifact& artifact(const GetDataResponse* msg); }; const ::flyteidl::core::LiteralMap& @@ -3831,6 +4125,10 @@ const ::flyteidl::core::Literal& GetDataResponse::HasBitSetters::literal(const GetDataResponse* msg) { return *msg->data_.literal_; } +const ::flyteidl::artifact::Artifact& +GetDataResponse::HasBitSetters::artifact(const GetDataResponse* msg) { + return *msg->data_.artifact_; +} void GetDataResponse::set_allocated_literal_map(::flyteidl::core::LiteralMap* literal_map) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); clear_data(); @@ -3885,10 +4183,31 @@ void GetDataResponse::clear_literal() { clear_has_data(); } } +void GetDataResponse::set_allocated_artifact(::flyteidl::artifact::Artifact* artifact) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_data(); + if (artifact) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact, submessage_arena); + } + set_has_artifact(); + data_.artifact_ = artifact; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataResponse.artifact) +} +void GetDataResponse::clear_artifact() { + if (has_artifact()) { + delete data_.artifact_; + clear_has_data(); + } +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int GetDataResponse::kLiteralMapFieldNumber; const int GetDataResponse::kPreSignedUrlsFieldNumber; const int GetDataResponse::kLiteralFieldNumber; +const int GetDataResponse::kArtifactFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 GetDataResponse::GetDataResponse() @@ -3914,6 +4233,10 @@ GetDataResponse::GetDataResponse(const GetDataResponse& from) mutable_literal()->::flyteidl::core::Literal::MergeFrom(from.literal()); break; } + case kArtifact: { + mutable_artifact()->::flyteidl::artifact::Artifact::MergeFrom(from.artifact()); + break; + } case DATA_NOT_SET: { break; } @@ -3962,6 +4285,10 @@ void GetDataResponse::clear_data() { delete data_.literal_; break; } + case kArtifact: { + delete data_.artifact_; + break; + } case DATA_NOT_SET: { break; } @@ -4032,6 +4359,19 @@ const char* GetDataResponse::_InternalParse(const char* begin, const char* end, {parser_till_end, object}, ptr - size, ptr)); break; } + // .flyteidl.artifact.Artifact artifact = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::artifact::Artifact::_InternalParse; + object = msg->mutable_artifact(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -4095,6 +4435,17 @@ bool GetDataResponse::MergePartialFromCodedStream( break; } + // .flyteidl.artifact.Artifact artifact = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_artifact())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -4140,6 +4491,12 @@ void GetDataResponse::SerializeWithCachedSizes( 3, HasBitSetters::literal(this), output); } + // .flyteidl.artifact.Artifact artifact = 4; + if (has_artifact()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::artifact(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -4174,6 +4531,13 @@ ::google::protobuf::uint8* GetDataResponse::InternalSerializeWithCachedSizesToAr 3, HasBitSetters::literal(this), target); } + // .flyteidl.artifact.Artifact artifact = 4; + if (has_artifact()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::artifact(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -4217,6 +4581,13 @@ size_t GetDataResponse::ByteSizeLong() const { *data_.literal_); break; } + // .flyteidl.artifact.Artifact artifact = 4; + case kArtifact: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *data_.artifact_); + break; + } case DATA_NOT_SET: { break; } @@ -4261,6 +4632,10 @@ void GetDataResponse::MergeFrom(const GetDataResponse& from) { mutable_literal()->::flyteidl::core::Literal::MergeFrom(from.literal()); break; } + case kArtifact: { + mutable_artifact()->::flyteidl::artifact::Artifact::MergeFrom(from.artifact()); + break; + } case DATA_NOT_SET: { break; } diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.h index 3332d747b5..c1e557e505 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.h @@ -35,8 +35,10 @@ #include "google/api/annotations.pb.h" #include #include +#include "flyteidl/core/artifact_id.pb.h" #include "flyteidl/core/identifier.pb.h" #include "flyteidl/core/literals.pb.h" +#include "flyteidl/artifact/artifacts.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fdataproxy_2eproto @@ -256,6 +258,15 @@ class CreateUploadLocationResponse final : ::google::protobuf::Timestamp* mutable_expires_at(); void set_allocated_expires_at(::google::protobuf::Timestamp* expires_at); + // .flyteidl.artifact.Artifact artifact = 4; + bool has_artifact() const; + void clear_artifact(); + static const int kArtifactFieldNumber = 4; + const ::flyteidl::artifact::Artifact& artifact() const; + ::flyteidl::artifact::Artifact* release_artifact(); + ::flyteidl::artifact::Artifact* mutable_artifact(); + void set_allocated_artifact(::flyteidl::artifact::Artifact* artifact); + // @@protoc_insertion_point(class_scope:flyteidl.service.CreateUploadLocationResponse) private: class HasBitSetters; @@ -264,6 +275,7 @@ class CreateUploadLocationResponse final : ::google::protobuf::internal::ArenaStringPtr signed_url_; ::google::protobuf::internal::ArenaStringPtr native_url_; ::google::protobuf::Timestamp* expires_at_; + ::flyteidl::artifact::Artifact* artifact_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; }; @@ -443,6 +455,15 @@ class CreateUploadLocationRequest final : ::google::protobuf::Duration* mutable_expires_in(); void set_allocated_expires_in(::google::protobuf::Duration* expires_in); + // .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + bool has_artifact_spec() const; + void clear_artifact_spec(); + static const int kArtifactSpecFieldNumber = 7; + const ::flyteidl::artifact::ArtifactSpec& artifact_spec() const; + ::flyteidl::artifact::ArtifactSpec* release_artifact_spec(); + ::flyteidl::artifact::ArtifactSpec* mutable_artifact_spec(); + void set_allocated_artifact_spec(::flyteidl::artifact::ArtifactSpec* artifact_spec); + // @@protoc_insertion_point(class_scope:flyteidl.service.CreateUploadLocationRequest) private: class HasBitSetters; @@ -454,6 +475,7 @@ class CreateUploadLocationRequest final : ::google::protobuf::internal::ArenaStringPtr content_md5_; ::google::protobuf::internal::ArenaStringPtr filename_root_; ::google::protobuf::Duration* expires_in_; + ::flyteidl::artifact::ArtifactSpec* artifact_spec_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; }; @@ -1185,6 +1207,12 @@ class GetDataRequest final : } static const GetDataRequest& default_instance(); + enum QueryCase { + kFlyteUrl = 1, + kArtifactId = 2, + QUERY_NOT_SET = 0, + }; + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const GetDataRequest* internal_default_instance() { return reinterpret_cast( @@ -1249,6 +1277,9 @@ class GetDataRequest final : // accessors ------------------------------------------------------- // string flyte_url = 1; + private: + bool has_flyte_url() const; + public: void clear_flyte_url(); static const int kFlyteUrlFieldNumber = 1; const ::std::string& flyte_url() const; @@ -1262,13 +1293,35 @@ class GetDataRequest final : ::std::string* release_flyte_url(); void set_allocated_flyte_url(::std::string* flyte_url); + // .flyteidl.core.ArtifactID artifact_id = 2; + bool has_artifact_id() const; + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 2; + const ::flyteidl::core::ArtifactID& artifact_id() const; + ::flyteidl::core::ArtifactID* release_artifact_id(); + ::flyteidl::core::ArtifactID* mutable_artifact_id(); + void set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id); + + void clear_query(); + QueryCase query_case() const; // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataRequest) private: class HasBitSetters; + void set_has_flyte_url(); + void set_has_artifact_id(); + + inline bool has_query() const; + inline void clear_has_query(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr flyte_url_; + union QueryUnion { + QueryUnion() {} + ::google::protobuf::internal::ArenaStringPtr flyte_url_; + ::flyteidl::core::ArtifactID* artifact_id_; + } query_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; }; // ------------------------------------------------------------------- @@ -1309,6 +1362,7 @@ class GetDataResponse final : kLiteralMap = 1, kPreSignedUrls = 2, kLiteral = 3, + kArtifact = 4, DATA_NOT_SET = 0, }; @@ -1402,6 +1456,15 @@ class GetDataResponse final : ::flyteidl::core::Literal* mutable_literal(); void set_allocated_literal(::flyteidl::core::Literal* literal); + // .flyteidl.artifact.Artifact artifact = 4; + bool has_artifact() const; + void clear_artifact(); + static const int kArtifactFieldNumber = 4; + const ::flyteidl::artifact::Artifact& artifact() const; + ::flyteidl::artifact::Artifact* release_artifact(); + ::flyteidl::artifact::Artifact* mutable_artifact(); + void set_allocated_artifact(::flyteidl::artifact::Artifact* artifact); + void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataResponse) @@ -1410,6 +1473,7 @@ class GetDataResponse final : void set_has_literal_map(); void set_has_pre_signed_urls(); void set_has_literal(); + void set_has_artifact(); inline bool has_data() const; inline void clear_has_data(); @@ -1420,6 +1484,7 @@ class GetDataResponse final : ::flyteidl::core::LiteralMap* literal_map_; ::flyteidl::service::PreSignedURLs* pre_signed_urls_; ::flyteidl::core::Literal* literal_; + ::flyteidl::artifact::Artifact* artifact_; } data_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::uint32 _oneof_case_[1]; @@ -1589,6 +1654,51 @@ inline void CreateUploadLocationResponse::set_allocated_expires_at(::google::pro // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationResponse.expires_at) } +// .flyteidl.artifact.Artifact artifact = 4; +inline bool CreateUploadLocationResponse::has_artifact() const { + return this != internal_default_instance() && artifact_ != nullptr; +} +inline const ::flyteidl::artifact::Artifact& CreateUploadLocationResponse::artifact() const { + const ::flyteidl::artifact::Artifact* p = artifact_; + // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationResponse.artifact) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_Artifact_default_instance_); +} +inline ::flyteidl::artifact::Artifact* CreateUploadLocationResponse::release_artifact() { + // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationResponse.artifact) + + ::flyteidl::artifact::Artifact* temp = artifact_; + artifact_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::Artifact* CreateUploadLocationResponse::mutable_artifact() { + + if (artifact_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::Artifact>(GetArenaNoVirtual()); + artifact_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationResponse.artifact) + return artifact_; +} +inline void CreateUploadLocationResponse::set_allocated_artifact(::flyteidl::artifact::Artifact* artifact) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_); + } + if (artifact) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact, submessage_arena); + } + + } else { + + } + artifact_ = artifact; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationResponse.artifact) +} + // ------------------------------------------------------------------- // CreateUploadLocationRequest @@ -1904,6 +2014,51 @@ inline void CreateUploadLocationRequest::set_allocated_filename_root(::std::stri // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.filename_root) } +// .flyteidl.artifact.ArtifactSpec artifact_spec = 7; +inline bool CreateUploadLocationRequest::has_artifact_spec() const { + return this != internal_default_instance() && artifact_spec_ != nullptr; +} +inline const ::flyteidl::artifact::ArtifactSpec& CreateUploadLocationRequest::artifact_spec() const { + const ::flyteidl::artifact::ArtifactSpec* p = artifact_spec_; + // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationRequest.artifact_spec) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_ArtifactSpec_default_instance_); +} +inline ::flyteidl::artifact::ArtifactSpec* CreateUploadLocationRequest::release_artifact_spec() { + // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationRequest.artifact_spec) + + ::flyteidl::artifact::ArtifactSpec* temp = artifact_spec_; + artifact_spec_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::ArtifactSpec* CreateUploadLocationRequest::mutable_artifact_spec() { + + if (artifact_spec_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::ArtifactSpec>(GetArenaNoVirtual()); + artifact_spec_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationRequest.artifact_spec) + return artifact_spec_; +} +inline void CreateUploadLocationRequest::set_allocated_artifact_spec(::flyteidl::artifact::ArtifactSpec* artifact_spec) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_spec_); + } + if (artifact_spec) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + artifact_spec = ::google::protobuf::internal::GetOwnedMessage( + message_arena, artifact_spec, submessage_arena); + } + + } else { + + } + artifact_spec_ = artifact_spec; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.artifact_spec) +} + // ------------------------------------------------------------------- // CreateDownloadLocationRequest @@ -2512,58 +2667,141 @@ inline void PreSignedURLs::set_allocated_expires_at(::google::protobuf::Timestam // GetDataRequest // string flyte_url = 1; +inline bool GetDataRequest::has_flyte_url() const { + return query_case() == kFlyteUrl; +} +inline void GetDataRequest::set_has_flyte_url() { + _oneof_case_[0] = kFlyteUrl; +} inline void GetDataRequest::clear_flyte_url() { - flyte_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (has_flyte_url()) { + query_.flyte_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_query(); + } } inline const ::std::string& GetDataRequest::flyte_url() const { // @@protoc_insertion_point(field_get:flyteidl.service.GetDataRequest.flyte_url) - return flyte_url_.GetNoArena(); + if (has_flyte_url()) { + return query_.flyte_url_.GetNoArena(); + } + return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); } inline void GetDataRequest::set_flyte_url(const ::std::string& value) { - - flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.GetDataRequest.flyte_url) + if (!has_flyte_url()) { + clear_query(); + set_has_flyte_url(); + query_.flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_.flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:flyteidl.service.GetDataRequest.flyte_url) } #if LANG_CXX11 inline void GetDataRequest::set_flyte_url(::std::string&& value) { - - flyte_url_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set:flyteidl.service.GetDataRequest.flyte_url) + if (!has_flyte_url()) { + clear_query(); + set_has_flyte_url(); + query_.flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_.flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.GetDataRequest.flyte_url) } #endif inline void GetDataRequest::set_flyte_url(const char* value) { GOOGLE_DCHECK(value != nullptr); - - flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + if (!has_flyte_url()) { + clear_query(); + set_has_flyte_url(); + query_.flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_.flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(value)); // @@protoc_insertion_point(field_set_char:flyteidl.service.GetDataRequest.flyte_url) } inline void GetDataRequest::set_flyte_url(const char* value, size_t size) { - - flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); + if (!has_flyte_url()) { + clear_query(); + set_has_flyte_url(); + query_.flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_.flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( + reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:flyteidl.service.GetDataRequest.flyte_url) } inline ::std::string* GetDataRequest::mutable_flyte_url() { - + if (!has_flyte_url()) { + clear_query(); + set_has_flyte_url(); + query_.flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataRequest.flyte_url) - return flyte_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return query_.flyte_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* GetDataRequest::release_flyte_url() { // @@protoc_insertion_point(field_release:flyteidl.service.GetDataRequest.flyte_url) - - return flyte_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (has_flyte_url()) { + clear_has_query(); + return query_.flyte_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } else { + return nullptr; + } } inline void GetDataRequest::set_allocated_flyte_url(::std::string* flyte_url) { + if (has_query()) { + clear_query(); + } if (flyte_url != nullptr) { - - } else { - + set_has_flyte_url(); + query_.flyte_url_.UnsafeSetDefault(flyte_url); } - flyte_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), flyte_url); // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataRequest.flyte_url) } +// .flyteidl.core.ArtifactID artifact_id = 2; +inline bool GetDataRequest::has_artifact_id() const { + return query_case() == kArtifactId; +} +inline void GetDataRequest::set_has_artifact_id() { + _oneof_case_[0] = kArtifactId; +} +inline ::flyteidl::core::ArtifactID* GetDataRequest::release_artifact_id() { + // @@protoc_insertion_point(field_release:flyteidl.service.GetDataRequest.artifact_id) + if (has_artifact_id()) { + clear_has_query(); + ::flyteidl::core::ArtifactID* temp = query_.artifact_id_; + query_.artifact_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::ArtifactID& GetDataRequest::artifact_id() const { + // @@protoc_insertion_point(field_get:flyteidl.service.GetDataRequest.artifact_id) + return has_artifact_id() + ? *query_.artifact_id_ + : *reinterpret_cast< ::flyteidl::core::ArtifactID*>(&::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* GetDataRequest::mutable_artifact_id() { + if (!has_artifact_id()) { + clear_query(); + set_has_artifact_id(); + query_.artifact_id_ = CreateMaybeMessage< ::flyteidl::core::ArtifactID >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataRequest.artifact_id) + return query_.artifact_id_; +} + +inline bool GetDataRequest::has_query() const { + return query_case() != QUERY_NOT_SET; +} +inline void GetDataRequest::clear_has_query() { + _oneof_case_[0] = QUERY_NOT_SET; +} +inline GetDataRequest::QueryCase GetDataRequest::query_case() const { + return GetDataRequest::QueryCase(_oneof_case_[0]); +} // ------------------------------------------------------------------- // GetDataResponse @@ -2679,6 +2917,41 @@ inline ::flyteidl::core::Literal* GetDataResponse::mutable_literal() { return data_.literal_; } +// .flyteidl.artifact.Artifact artifact = 4; +inline bool GetDataResponse::has_artifact() const { + return data_case() == kArtifact; +} +inline void GetDataResponse::set_has_artifact() { + _oneof_case_[0] = kArtifact; +} +inline ::flyteidl::artifact::Artifact* GetDataResponse::release_artifact() { + // @@protoc_insertion_point(field_release:flyteidl.service.GetDataResponse.artifact) + if (has_artifact()) { + clear_has_data(); + ::flyteidl::artifact::Artifact* temp = data_.artifact_; + data_.artifact_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::artifact::Artifact& GetDataResponse::artifact() const { + // @@protoc_insertion_point(field_get:flyteidl.service.GetDataResponse.artifact) + return has_artifact() + ? *data_.artifact_ + : *reinterpret_cast< ::flyteidl::artifact::Artifact*>(&::flyteidl::artifact::_Artifact_default_instance_); +} +inline ::flyteidl::artifact::Artifact* GetDataResponse::mutable_artifact() { + if (!has_artifact()) { + clear_data(); + set_has_artifact(); + data_.artifact_ = CreateMaybeMessage< ::flyteidl::artifact::Artifact >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataResponse.artifact) + return data_.artifact_; +} + inline bool GetDataResponse::has_data() const { return data_case() != DATA_NOT_SET; } diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc index 5dee118038..67c579b8ca 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc @@ -16,7 +16,7 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; namespace flyteidl { namespace service { diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go index 6df8b56f29..6ee9c5dc15 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go @@ -923,10 +923,13 @@ type ExecutionMetadata struct { ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,16,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` // Optional, platform-specific metadata about the execution. // In this the future this may be gated behind an ACL or some sort of authorization. - SystemMetadata *SystemMetadata `protobuf:"bytes,17,opt,name=system_metadata,json=systemMetadata,proto3" json:"system_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SystemMetadata *SystemMetadata `protobuf:"bytes,17,opt,name=system_metadata,json=systemMetadata,proto3" json:"system_metadata,omitempty"` + // Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping + // since we don't have a structure to handle nested ones anyways. + ArtifactIds []*core.ArtifactID `protobuf:"bytes,18,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ExecutionMetadata) Reset() { *m = ExecutionMetadata{} } @@ -1003,6 +1006,13 @@ func (m *ExecutionMetadata) GetSystemMetadata() *SystemMetadata { return nil } +func (m *ExecutionMetadata) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + type NotificationList struct { Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1729,120 +1739,122 @@ func init() { func init() { proto.RegisterFile("flyteidl/admin/execution.proto", fileDescriptor_4e2785d91b3809ec) } var fileDescriptor_4e2785d91b3809ec = []byte{ - // 1827 bytes of a gzipped FileDescriptorProto + // 1862 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x5b, 0x73, 0xdb, 0xc6, - 0x15, 0x16, 0x29, 0x52, 0xa2, 0x0e, 0x2d, 0x8a, 0x5e, 0x29, 0x32, 0x2c, 0x3b, 0xb6, 0x82, 0x4c, - 0x6b, 0x4f, 0x32, 0x25, 0x27, 0x4a, 0x3d, 0x9d, 0x38, 0x75, 0x26, 0x14, 0x45, 0x47, 0x4a, 0x75, - 0x71, 0x57, 0x17, 0xe7, 0x32, 0x19, 0x74, 0x05, 0xac, 0x48, 0xd4, 0x00, 0x16, 0xde, 0x5d, 0x48, - 0xf6, 0x3f, 0xe8, 0xf4, 0xa9, 0x8f, 0xed, 0x3f, 0xe8, 0x53, 0x1f, 0xfb, 0xd0, 0xe7, 0xfe, 0xb0, - 0x0c, 0x16, 0x0b, 0x10, 0x00, 0x29, 0x4b, 0x1e, 0xeb, 0x0d, 0xbb, 0xe7, 0x3b, 0x97, 0x3d, 0x7b, - 0x6e, 0x0b, 0x78, 0x70, 0xe6, 0xbd, 0x95, 0xd4, 0x75, 0xbc, 0x2e, 0x71, 0x7c, 0x37, 0xe8, 0xd2, - 0x37, 0xd4, 0x8e, 0xa4, 0xcb, 0x82, 0x4e, 0xc8, 0x99, 0x64, 0xa8, 0x95, 0xd2, 0x3b, 0x8a, 0xbe, - 0xf6, 0xa8, 0x84, 0xb7, 0xbd, 0x48, 0x48, 0xca, 0x2d, 0x22, 0x84, 0x3b, 0x0c, 0x7c, 0x1a, 0xc8, - 0x84, 0x71, 0xed, 0x5e, 0x19, 0xc8, 0x7c, 0x3f, 0x95, 0xba, 0x76, 0x3f, 0x23, 0xda, 0x8c, 0xd3, - 0xae, 0xe7, 0x4a, 0xca, 0x89, 0x27, 0x34, 0xf5, 0xe3, 0x22, 0xb5, 0x64, 0xd2, 0xda, 0x83, 0x22, - 0xd9, 0x75, 0x68, 0x20, 0xdd, 0x33, 0x97, 0xf2, 0x09, 0xcd, 0x8a, 0xee, 0x53, 0xc9, 0x5d, 0x5b, - 0x4c, 0xd7, 0x2c, 0xa8, 0x1d, 0x71, 0x57, 0xbe, 0x4d, 0x45, 0x0f, 0x19, 0x1b, 0x7a, 0xb4, 0xab, - 0x56, 0xa7, 0xd1, 0x59, 0xd7, 0x89, 0x38, 0xc9, 0xa9, 0x7e, 0x58, 0xa6, 0x4b, 0xd7, 0xa7, 0x42, - 0x12, 0x3f, 0xbc, 0x4c, 0xc0, 0x05, 0x27, 0x61, 0x48, 0xb9, 0x56, 0x6f, 0xfe, 0xbf, 0x02, 0xab, - 0x83, 0xf4, 0x3c, 0x7d, 0x4e, 0x89, 0xa4, 0x98, 0xbe, 0x8e, 0xa8, 0x90, 0xc8, 0x80, 0xf9, 0x90, - 0xb3, 0xbf, 0x52, 0x5b, 0x1a, 0x95, 0xf5, 0xca, 0xe3, 0x05, 0x9c, 0x2e, 0xd1, 0x2a, 0xcc, 0x39, - 0xcc, 0x27, 0x6e, 0x60, 0x54, 0x15, 0x41, 0xaf, 0x10, 0x82, 0x5a, 0x40, 0x7c, 0x6a, 0xcc, 0xaa, - 0x5d, 0xf5, 0x8d, 0xbe, 0x80, 0x9a, 0x08, 0xa9, 0x6d, 0xd4, 0xd6, 0x2b, 0x8f, 0x9b, 0x1b, 0x1f, - 0x77, 0x8a, 0xd7, 0xd7, 0xc9, 0x74, 0x1f, 0x86, 0xd4, 0xc6, 0x0a, 0x8a, 0xbe, 0x80, 0x39, 0x37, - 0x08, 0x23, 0x29, 0x8c, 0xba, 0x62, 0xba, 0x3b, 0x66, 0x8a, 0x7d, 0xd4, 0xd9, 0x4d, 0x6e, 0x67, - 0x8f, 0x84, 0x58, 0x03, 0xcd, 0x7f, 0x55, 0xc0, 0xc8, 0x44, 0x61, 0xea, 0x91, 0x28, 0xb0, 0x47, - 0xe9, 0x41, 0x9e, 0x42, 0xd5, 0x75, 0xd4, 0x19, 0x9a, 0x1b, 0x9f, 0x95, 0x64, 0xbd, 0x64, 0xfc, - 0xd5, 0x99, 0xc7, 0x2e, 0x32, 0xe6, 0x9d, 0xec, 0xf6, 0x70, 0xd5, 0x75, 0xa6, 0x1e, 0xe9, 0x11, - 0x2c, 0xb1, 0x73, 0xca, 0x2f, 0xb8, 0x2b, 0xa9, 0x65, 0x13, 0x7b, 0x44, 0xd5, 0xe9, 0x1a, 0xb8, - 0x95, 0x6d, 0xf7, 0xe3, 0xdd, 0xef, 0x6b, 0x8d, 0x6a, 0x7b, 0xd6, 0xfc, 0x77, 0x05, 0xee, 0xe4, - 0x6c, 0xb3, 0x63, 0xd0, 0x4d, 0x9a, 0x56, 0xcd, 0x99, 0xf6, 0x0c, 0x1a, 0x3e, 0x95, 0xc4, 0x21, - 0x92, 0x28, 0x93, 0x9b, 0x1b, 0x9f, 0x5c, 0xea, 0xf1, 0x3d, 0x0d, 0xc4, 0x19, 0x8b, 0x79, 0x9c, - 0xb3, 0x34, 0x0d, 0x06, 0x11, 0xb2, 0x40, 0xd0, 0x0f, 0xb1, 0xd4, 0xfc, 0x11, 0xee, 0x4d, 0x40, - 0xbe, 0xa3, 0xf2, 0x06, 0x9c, 0x60, 0xfe, 0xb7, 0x02, 0x0b, 0x19, 0xed, 0x83, 0xdc, 0x99, 0x06, - 0x6a, 0xf5, 0xfa, 0x81, 0xfa, 0x14, 0xe6, 0x6d, 0x8f, 0x89, 0x88, 0x53, 0xed, 0xec, 0xf5, 0x4b, - 0xb9, 0xfa, 0x09, 0x0e, 0xa7, 0x0c, 0xe6, 0x5f, 0x60, 0x31, 0x23, 0xee, 0xba, 0x42, 0xa2, 0xaf, - 0x00, 0xb2, 0xc2, 0x22, 0x8c, 0xca, 0xfa, 0x6c, 0x31, 0xf2, 0x4b, 0xf2, 0x70, 0x0e, 0x8c, 0x56, - 0xa0, 0x2e, 0xd9, 0x2b, 0x9a, 0xa6, 0x63, 0xb2, 0x30, 0x29, 0xb4, 0xc6, 0x99, 0xb2, 0xe9, 0xb1, - 0x53, 0xf4, 0x07, 0x98, 0x3b, 0x27, 0x5e, 0x44, 0x85, 0x76, 0xd1, 0xe5, 0x89, 0xb5, 0x59, 0x35, - 0x2a, 0xdb, 0x33, 0x58, 0xc3, 0x11, 0x82, 0xd9, 0x88, 0xbb, 0x89, 0xf8, 0xed, 0x19, 0x1c, 0x2f, - 0x36, 0xe7, 0xa0, 0xa6, 0x62, 0xa6, 0x0f, 0x8b, 0xbd, 0x53, 0xc6, 0x65, 0x1a, 0x4e, 0xb1, 0x35, - 0x36, 0x89, 0x04, 0xd5, 0x55, 0x23, 0x59, 0xa0, 0xfb, 0xb0, 0x10, 0x72, 0x37, 0xb0, 0xdd, 0x90, - 0x78, 0xda, 0xce, 0xf1, 0x86, 0xf9, 0xcf, 0x79, 0x68, 0x97, 0x7d, 0x85, 0xbe, 0x81, 0x79, 0x16, - 0x49, 0x55, 0x08, 0x12, 0x7b, 0x1f, 0x94, 0xdd, 0x51, 0x3c, 0x9f, 0x36, 0x3a, 0x65, 0x42, 0x4f, - 0xa0, 0x4e, 0x39, 0x67, 0x7c, 0xf2, 0x4a, 0xd5, 0x69, 0x33, 0x7d, 0x83, 0x18, 0xb4, 0x3d, 0x83, - 0x13, 0x34, 0xfa, 0x0d, 0x34, 0x49, 0x7c, 0x20, 0x2b, 0x39, 0x05, 0xc4, 0xb6, 0x6a, 0xd1, 0xa0, - 0x08, 0x7d, 0x75, 0xa0, 0xe7, 0xd0, 0x4a, 0x60, 0x59, 0xc2, 0xdd, 0x9a, 0x1e, 0x39, 0x05, 0xef, - 0x6c, 0xcf, 0xe0, 0x45, 0x52, 0x70, 0xd7, 0xb7, 0xd0, 0x4c, 0x0c, 0xb6, 0x94, 0x90, 0xc5, 0xeb, - 0xdd, 0x0c, 0x24, 0x3c, 0x5b, 0xb1, 0x84, 0xe7, 0xb0, 0x64, 0x33, 0x3f, 0x8c, 0x24, 0x75, 0x2c, - 0x5d, 0x38, 0x67, 0xaf, 0x21, 0x05, 0xb7, 0x52, 0xae, 0x1d, 0xc5, 0x84, 0xfe, 0x08, 0xf5, 0x70, - 0x44, 0x44, 0x52, 0xcd, 0x5a, 0x1b, 0xbf, 0xbd, 0x2a, 0x81, 0x3a, 0x2f, 0x62, 0x34, 0x4e, 0x98, - 0xe2, 0xf8, 0x15, 0x92, 0xf0, 0xd8, 0x08, 0x22, 0x75, 0xe5, 0x5e, 0xeb, 0x24, 0xed, 0xa7, 0x93, - 0xb6, 0x9f, 0xce, 0x51, 0xda, 0x9f, 0xf0, 0x82, 0x46, 0xf7, 0x24, 0x7a, 0x02, 0x8d, 0xb4, 0xaf, - 0x19, 0x73, 0xda, 0xf2, 0x32, 0xe3, 0x96, 0x06, 0xe0, 0x0c, 0x1a, 0x6b, 0xb4, 0x55, 0x91, 0x52, - 0x1a, 0xe7, 0xaf, 0xd6, 0xa8, 0xd1, 0x3d, 0x95, 0x6c, 0x51, 0xe8, 0xa4, 0xac, 0x8d, 0xab, 0x59, - 0x35, 0xba, 0x27, 0xd1, 0x26, 0x2c, 0x06, 0x2c, 0xae, 0x1b, 0x36, 0x49, 0x52, 0x75, 0x41, 0xa5, - 0xea, 0xfd, 0xf2, 0xb5, 0xef, 0xe7, 0x40, 0xb8, 0xc8, 0x82, 0x9e, 0x42, 0xf3, 0x42, 0x7b, 0xd3, - 0x72, 0x1d, 0xa3, 0x39, 0xf5, 0xb6, 0x72, 0xf5, 0x09, 0x52, 0xf4, 0x8e, 0x83, 0x7e, 0x81, 0x15, - 0x21, 0x49, 0xdc, 0x79, 0x46, 0x24, 0x18, 0x52, 0xcb, 0xa1, 0x92, 0xb8, 0x9e, 0x30, 0x5a, 0x4a, - 0xc8, 0xe7, 0x97, 0xd7, 0xad, 0x98, 0xa9, 0xaf, 0x78, 0xb6, 0x12, 0x16, 0x8c, 0xc4, 0xc4, 0xde, - 0xe6, 0x12, 0x2c, 0xea, 0x70, 0xe4, 0x54, 0x44, 0x9e, 0x34, 0x7f, 0x86, 0xd6, 0xe1, 0x5b, 0x21, - 0xa9, 0x9f, 0x45, 0xec, 0xe7, 0x70, 0x3b, 0x2b, 0x3e, 0x96, 0x9e, 0xb7, 0x74, 0xb2, 0xb7, 0xe9, - 0x38, 0x89, 0xd5, 0x7e, 0x9c, 0xf7, 0x71, 0x67, 0x12, 0x21, 0xb1, 0xd3, 0x56, 0x35, 0xde, 0x30, - 0xff, 0x57, 0x83, 0xdb, 0x13, 0x0d, 0x09, 0xf5, 0xa1, 0xe6, 0x33, 0x27, 0x29, 0x20, 0xad, 0x8d, - 0xee, 0x95, 0x1d, 0x2c, 0xb7, 0xc3, 0x1c, 0x8a, 0x15, 0xf3, 0xbb, 0x0b, 0x4e, 0x3c, 0xdc, 0x04, - 0x54, 0x48, 0x37, 0x18, 0xaa, 0x5c, 0x59, 0xc4, 0xe9, 0x12, 0x3d, 0x83, 0x5b, 0xc2, 0x1e, 0x51, - 0x27, 0xf2, 0x92, 0xe0, 0xa8, 0x5d, 0x19, 0x1c, 0xcd, 0x0c, 0xdf, 0x93, 0xe8, 0x27, 0xf8, 0x28, - 0x24, 0x9c, 0x06, 0xd2, 0x0a, 0x98, 0x43, 0xad, 0xcc, 0x1f, 0x3a, 0x23, 0xca, 0x49, 0xb5, 0xcf, - 0x1c, 0x3a, 0xad, 0x23, 0x2d, 0x27, 0x42, 0x0a, 0x64, 0xf4, 0x33, 0x2c, 0x73, 0x7a, 0x46, 0x39, - 0x0d, 0xec, 0xbc, 0xe4, 0xf6, 0x7b, 0xf7, 0x3b, 0x94, 0x89, 0x19, 0x0b, 0xff, 0x0e, 0x96, 0x84, - 0xba, 0xe7, 0x71, 0x41, 0xbb, 0x3d, 0xbd, 0xea, 0x16, 0xc3, 0x01, 0xb7, 0x44, 0x61, 0x6d, 0x0e, - 0x73, 0x9d, 0x2d, 0xbe, 0x0f, 0x04, 0x30, 0xb7, 0xd7, 0xdb, 0x3f, 0xee, 0xed, 0xb6, 0x67, 0xd0, - 0x22, 0x2c, 0x1c, 0xf6, 0xb7, 0x07, 0x5b, 0xc7, 0xbb, 0x83, 0xad, 0x76, 0x25, 0x26, 0x1d, 0xfe, - 0x78, 0x78, 0x34, 0xd8, 0x6b, 0x57, 0xd1, 0x2d, 0x68, 0xe0, 0xc1, 0x6e, 0xef, 0x78, 0xbf, 0xbf, - 0xdd, 0x9e, 0x45, 0x08, 0x5a, 0xfd, 0xed, 0x9d, 0xdd, 0x2d, 0xeb, 0xe5, 0x01, 0xfe, 0xd3, 0xf3, - 0xdd, 0x83, 0x97, 0xed, 0x5a, 0xcc, 0x8c, 0x07, 0xfd, 0x83, 0x93, 0x01, 0x1e, 0x6c, 0xb5, 0xeb, - 0xe6, 0x09, 0xb4, 0xf3, 0x49, 0xa6, 0xba, 0xe8, 0x44, 0x76, 0x56, 0xde, 0x3b, 0x3b, 0xcd, 0x7f, - 0x34, 0x72, 0x27, 0x38, 0x4c, 0x1a, 0x7d, 0x33, 0x19, 0x29, 0xad, 0xd0, 0x23, 0xc1, 0x25, 0xdd, - 0x33, 0x9f, 0xaf, 0x09, 0xfa, 0x85, 0x47, 0x02, 0xf4, 0x24, 0x9b, 0x66, 0xab, 0xd7, 0x29, 0xca, - 0x1a, 0xfc, 0x81, 0x93, 0x1c, 0xda, 0x2e, 0xfb, 0xa1, 0x3e, 0x7d, 0x40, 0x29, 0x3b, 0x30, 0xee, - 0x4f, 0xc5, 0x5a, 0xf5, 0x09, 0x34, 0x1d, 0x57, 0x90, 0x53, 0x8f, 0x5a, 0xc4, 0xf3, 0x54, 0x7d, - 0x6e, 0xc4, 0x0d, 0x48, 0x6f, 0xf6, 0x3c, 0x0f, 0x75, 0x60, 0xce, 0x23, 0xa7, 0xd4, 0x13, 0xba, - 0x08, 0xaf, 0x4e, 0xf4, 0x69, 0x45, 0xc5, 0x1a, 0x85, 0x9e, 0x41, 0x93, 0x04, 0x01, 0x93, 0xda, - 0xb4, 0xa4, 0xfc, 0xde, 0x9b, 0xe8, 0x9b, 0x63, 0x08, 0xce, 0xe3, 0xd1, 0x0e, 0xb4, 0xd3, 0x67, - 0x92, 0x65, 0xb3, 0x40, 0xd2, 0x37, 0x52, 0x75, 0xe9, 0x42, 0xa8, 0x2a, 0xdf, 0x1e, 0x6a, 0x58, - 0x3f, 0x41, 0xe1, 0x25, 0x51, 0xdc, 0x40, 0x5f, 0xc1, 0x02, 0x89, 0xe4, 0xc8, 0xe2, 0xcc, 0xa3, - 0x3a, 0x8f, 0x8c, 0x09, 0x3b, 0x22, 0x39, 0xc2, 0xcc, 0xa3, 0xea, 0x7a, 0x1a, 0x44, 0xaf, 0xd0, - 0x1e, 0xa0, 0xd7, 0x11, 0xf1, 0x62, 0x23, 0xd8, 0x99, 0x25, 0x28, 0x3f, 0x77, 0x6d, 0xaa, 0x53, - 0xe6, 0x61, 0xc9, 0x8e, 0x3f, 0x27, 0xc0, 0x83, 0xb3, 0xc3, 0x04, 0x86, 0xdb, 0xaf, 0x4b, 0x3b, - 0xf1, 0xa3, 0xc2, 0x27, 0x6f, 0xac, 0x90, 0x70, 0xe2, 0x79, 0xd4, 0x73, 0x85, 0x6f, 0xa0, 0xf5, - 0xca, 0xe3, 0x3a, 0x6e, 0xf9, 0xe4, 0xcd, 0x8b, 0xf1, 0x2e, 0xfa, 0x01, 0x56, 0x39, 0xb9, 0xb0, - 0x72, 0x33, 0x43, 0xec, 0x84, 0x33, 0x77, 0x68, 0x2c, 0x2b, 0xdd, 0x9f, 0x96, 0xed, 0xc7, 0xe4, - 0xe2, 0x20, 0x1b, 0x16, 0xfa, 0x0a, 0x8a, 0x97, 0xf9, 0xe4, 0x26, 0x7a, 0x01, 0x68, 0xf2, 0xf5, - 0x6c, 0xac, 0x4c, 0x0f, 0x3e, 0x5d, 0xdf, 0x7b, 0x19, 0x10, 0xdf, 0xb6, 0xcb, 0x5b, 0xe8, 0x5b, - 0x58, 0x74, 0x03, 0x49, 0x39, 0x8f, 0x42, 0xe9, 0x9e, 0x7a, 0xd4, 0xf8, 0xe8, 0x92, 0x62, 0xba, - 0xc9, 0x98, 0x77, 0x12, 0xcf, 0x9a, 0xb8, 0xc8, 0x30, 0xed, 0xad, 0xb5, 0x3a, 0xed, 0xad, 0x85, - 0x1e, 0x43, 0x8d, 0x06, 0xe7, 0xc2, 0xb8, 0xa3, 0x34, 0xac, 0x4c, 0xe4, 0x4a, 0x70, 0x2e, 0xb0, - 0x42, 0xc4, 0xef, 0x26, 0x49, 0x86, 0xc2, 0x30, 0xd6, 0x67, 0xe3, 0x77, 0x53, 0xfc, 0xbd, 0x69, - 0xc0, 0x6a, 0x3e, 0xea, 0xad, 0x58, 0x38, 0x77, 0x1d, 0x2a, 0xbe, 0xaf, 0x35, 0x6a, 0xed, 0xba, - 0xe9, 0xc3, 0xdd, 0x2c, 0xdb, 0x8e, 0x28, 0xf7, 0xdd, 0x20, 0xf7, 0x50, 0xfe, 0x90, 0x57, 0x47, - 0x36, 0x2c, 0x57, 0x73, 0xc3, 0xb2, 0x79, 0x1f, 0xd6, 0xa6, 0xa9, 0x4b, 0x9e, 0x62, 0xe6, 0x2f, - 0xf0, 0x70, 0xda, 0x73, 0x2a, 0xbe, 0xc9, 0x9b, 0x78, 0x52, 0xfd, 0xad, 0x0a, 0xeb, 0x97, 0xcb, - 0xd7, 0xcf, 0xc1, 0x27, 0xe5, 0xd9, 0xfc, 0x4e, 0xd9, 0xe3, 0xc7, 0xdc, 0x4b, 0x87, 0xf2, 0xf1, - 0x48, 0xfe, 0x65, 0xa9, 0x18, 0xbe, 0x93, 0x2b, 0x2d, 0x85, 0x4f, 0xa1, 0x79, 0x16, 0x79, 0xde, - 0x75, 0x67, 0x5b, 0x0c, 0x31, 0x3a, 0x9b, 0x69, 0x6f, 0x29, 0xde, 0xd4, 0xd8, 0xda, 0x55, 0xcc, - 0x4a, 0x55, 0x92, 0x1a, 0xc2, 0xfc, 0x7b, 0xfe, 0xef, 0xc8, 0xb1, 0x1a, 0x01, 0x6f, 0xe2, 0xd2, - 0x7f, 0x0f, 0x75, 0x35, 0x79, 0x29, 0x27, 0xb4, 0x26, 0x1b, 0x6c, 0x71, 0x66, 0xc3, 0x09, 0xd8, - 0xfc, 0x4f, 0x05, 0xee, 0xbd, 0x63, 0x9a, 0x1b, 0x4b, 0xad, 0xbc, 0x87, 0x54, 0xf4, 0x35, 0x34, - 0x99, 0x6d, 0x47, 0x9c, 0x27, 0xd3, 0x4e, 0xf5, 0xca, 0x69, 0x07, 0x52, 0x78, 0x4f, 0x16, 0x67, - 0xac, 0xd9, 0xf2, 0xa3, 0xee, 0x6e, 0xee, 0x6f, 0x42, 0xea, 0x3c, 0x1d, 0xc2, 0xe7, 0x60, 0x4e, - 0x0b, 0xb1, 0xbd, 0xe4, 0xd7, 0xd8, 0x0d, 0x25, 0x96, 0x43, 0x43, 0x39, 0x52, 0x27, 0xaa, 0xe3, - 0x64, 0x61, 0xee, 0xc3, 0xa7, 0xef, 0xd4, 0xab, 0xa3, 0xfb, 0x11, 0xd4, 0x44, 0x98, 0x35, 0xfa, - 0xe5, 0x72, 0x57, 0x09, 0x49, 0x80, 0x15, 0xe0, 0xb3, 0x6f, 0xa0, 0x55, 0x74, 0x2b, 0x5a, 0x81, - 0xf6, 0xe0, 0x87, 0x41, 0xff, 0xf8, 0x68, 0xe7, 0x60, 0xdf, 0xea, 0xf5, 0x8f, 0x76, 0x4e, 0x06, - 0xed, 0x19, 0xb4, 0x0a, 0x28, 0xb7, 0x8b, 0xfb, 0xdb, 0x3b, 0x27, 0xf1, 0xfc, 0xb3, 0xf9, 0xec, - 0xa7, 0xaf, 0x87, 0xae, 0x1c, 0x45, 0xa7, 0x1d, 0x9b, 0xf9, 0x5d, 0xa5, 0x86, 0xf1, 0x61, 0xf2, - 0xd1, 0xcd, 0xfe, 0x0c, 0x0e, 0x69, 0xd0, 0x0d, 0x4f, 0x7f, 0x37, 0x64, 0xdd, 0xe2, 0x3f, 0xcc, - 0xd3, 0x39, 0x75, 0x3f, 0x5f, 0xfe, 0x1a, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xaa, 0x3a, 0xc4, 0x35, - 0x15, 0x00, 0x00, + 0x15, 0x16, 0x29, 0x52, 0xa2, 0x0e, 0x25, 0x8a, 0x5e, 0x29, 0x0a, 0x2c, 0x3b, 0xb6, 0x82, 0x4c, + 0x6b, 0x4f, 0x32, 0x25, 0x27, 0x4a, 0x3d, 0x9d, 0x38, 0x71, 0x26, 0x14, 0x45, 0x87, 0x4c, 0x75, + 0x71, 0x57, 0x17, 0xe7, 0x32, 0x19, 0x74, 0x09, 0x2c, 0x49, 0x34, 0xb8, 0x79, 0x77, 0x21, 0xd9, + 0xff, 0xa0, 0xd3, 0xa7, 0x3e, 0xb6, 0xff, 0xa0, 0x4f, 0x7d, 0xec, 0x2f, 0xe8, 0x8f, 0xea, 0x63, + 0x07, 0x8b, 0x05, 0x08, 0x80, 0x94, 0x25, 0x8f, 0xf5, 0x86, 0x3d, 0xe7, 0x3b, 0x67, 0xcf, 0x9e, + 0x3d, 0xb7, 0x05, 0x3c, 0x18, 0x39, 0x6f, 0x04, 0xb5, 0x2d, 0xa7, 0x4d, 0x2c, 0xd7, 0xf6, 0xda, + 0xf4, 0x35, 0x35, 0x43, 0x61, 0xfb, 0x5e, 0x2b, 0x60, 0xbe, 0xf0, 0x51, 0x23, 0xe1, 0xb7, 0x24, + 0x7f, 0xfb, 0x51, 0x01, 0x6f, 0x3a, 0x21, 0x17, 0x94, 0x19, 0x84, 0x73, 0x7b, 0xec, 0xb9, 0xd4, + 0x13, 0xb1, 0xe0, 0xf6, 0xbd, 0x22, 0xd0, 0x77, 0xdd, 0x44, 0xeb, 0xf6, 0xfd, 0x94, 0x69, 0xfa, + 0x8c, 0xb6, 0x1d, 0x5b, 0x50, 0x46, 0x1c, 0xae, 0xb8, 0x1f, 0xe5, 0xb9, 0x05, 0x93, 0xb6, 0x1f, + 0xe6, 0xd9, 0x84, 0x09, 0x7b, 0x44, 0x4c, 0x61, 0xd8, 0x96, 0x02, 0x3c, 0xc8, 0x03, 0x6c, 0x8b, + 0x7a, 0xc2, 0x1e, 0xd9, 0x94, 0xcd, 0x98, 0x26, 0xf9, 0x2e, 0x15, 0xcc, 0x36, 0xf9, 0x7c, 0xd3, + 0x38, 0x35, 0x43, 0x66, 0x8b, 0x37, 0x89, 0xea, 0xb1, 0xef, 0x8f, 0x1d, 0xda, 0x96, 0xab, 0x61, + 0x38, 0x6a, 0x5b, 0x21, 0x23, 0x59, 0xdb, 0x8a, 0x7c, 0x61, 0xbb, 0x94, 0x0b, 0xe2, 0x06, 0x57, + 0x29, 0xb8, 0x64, 0x24, 0x08, 0x28, 0x53, 0xdb, 0xeb, 0xff, 0x2d, 0xc1, 0x56, 0x2f, 0x39, 0x70, + 0x97, 0x51, 0x22, 0x28, 0xa6, 0xaf, 0x42, 0xca, 0x05, 0xd2, 0x60, 0x39, 0x60, 0xfe, 0x5f, 0xa8, + 0x29, 0xb4, 0xd2, 0x4e, 0xe9, 0xf1, 0x0a, 0x4e, 0x96, 0x68, 0x0b, 0x96, 0x2c, 0xdf, 0x25, 0xb6, + 0xa7, 0x95, 0x25, 0x43, 0xad, 0x10, 0x82, 0x8a, 0x47, 0x5c, 0xaa, 0x2d, 0x4a, 0xaa, 0xfc, 0x46, + 0x9f, 0x43, 0x85, 0x07, 0xd4, 0xd4, 0x2a, 0x3b, 0xa5, 0xc7, 0xf5, 0xdd, 0x8f, 0x5a, 0xf9, 0xfb, + 0x6d, 0xa5, 0x7b, 0x9f, 0x04, 0xd4, 0xc4, 0x12, 0x8a, 0x3e, 0x87, 0x25, 0xdb, 0x0b, 0x42, 0xc1, + 0xb5, 0xaa, 0x14, 0xba, 0x3b, 0x15, 0x8a, 0x7c, 0xd4, 0x3a, 0x88, 0xaf, 0xef, 0x90, 0x04, 0x58, + 0x01, 0xf5, 0x7f, 0x96, 0x40, 0x4b, 0x55, 0x61, 0xea, 0x90, 0xd0, 0x33, 0x27, 0xc9, 0x41, 0x9e, + 0x42, 0xd9, 0xb6, 0xe4, 0x19, 0xea, 0xbb, 0x9f, 0x16, 0x74, 0xbd, 0xf4, 0xd9, 0xaf, 0x23, 0xc7, + 0xbf, 0x4c, 0x85, 0x07, 0xe9, 0xed, 0xe1, 0xb2, 0x6d, 0xcd, 0x3d, 0xd2, 0x23, 0x58, 0xf7, 0x2f, + 0x28, 0xbb, 0x64, 0xb6, 0xa0, 0x86, 0x49, 0xcc, 0x09, 0x95, 0xa7, 0xab, 0xe1, 0x46, 0x4a, 0xee, + 0x46, 0xd4, 0xef, 0x2b, 0xb5, 0x72, 0x73, 0x51, 0xff, 0x57, 0x09, 0x3e, 0xcc, 0xd8, 0x66, 0x46, + 0xa0, 0xdb, 0x34, 0xad, 0x9c, 0x31, 0xed, 0x19, 0xd4, 0x5c, 0x2a, 0x88, 0x45, 0x04, 0x91, 0x26, + 0xd7, 0x77, 0x3f, 0xbe, 0xd2, 0xe3, 0x87, 0x0a, 0x88, 0x53, 0x11, 0xfd, 0x2c, 0x63, 0x69, 0x12, + 0x0c, 0x3c, 0xf0, 0x3d, 0x4e, 0xdf, 0xc7, 0x52, 0xfd, 0x47, 0xb8, 0x37, 0x03, 0xf9, 0x8e, 0x8a, + 0x5b, 0x70, 0x82, 0xfe, 0x9f, 0x12, 0xac, 0xa4, 0xbc, 0xf7, 0x72, 0x67, 0x12, 0xa8, 0xe5, 0x9b, + 0x07, 0xea, 0x53, 0x58, 0x36, 0x1d, 0x9f, 0x87, 0x8c, 0x2a, 0x67, 0xef, 0x5c, 0x29, 0xd5, 0x8d, + 0x71, 0x38, 0x11, 0xd0, 0xff, 0x0c, 0x6b, 0x29, 0xf3, 0xc0, 0xe6, 0x02, 0x7d, 0x09, 0x90, 0x56, + 0x1e, 0xae, 0x95, 0x76, 0x16, 0xf3, 0x91, 0x5f, 0xd0, 0x87, 0x33, 0x60, 0xb4, 0x09, 0x55, 0xe1, + 0xff, 0x4a, 0x93, 0x74, 0x8c, 0x17, 0x3a, 0x85, 0xc6, 0x34, 0x53, 0xf6, 0x1c, 0x7f, 0x88, 0xfe, + 0x00, 0x4b, 0x17, 0xc4, 0x09, 0x29, 0x57, 0x2e, 0xba, 0x3a, 0xb1, 0xf6, 0xca, 0x5a, 0xa9, 0xbf, + 0x80, 0x15, 0x1c, 0x21, 0x58, 0x0c, 0x99, 0x1d, 0xab, 0xef, 0x2f, 0xe0, 0x68, 0xb1, 0xb7, 0x04, + 0x15, 0x19, 0x33, 0x5d, 0x58, 0xeb, 0x0c, 0x7d, 0x26, 0x92, 0x70, 0x8a, 0xac, 0x31, 0x49, 0xc8, + 0xa9, 0xaa, 0x1a, 0xf1, 0x02, 0xdd, 0x87, 0x95, 0x80, 0xd9, 0x9e, 0x69, 0x07, 0xc4, 0x51, 0x76, + 0x4e, 0x09, 0xfa, 0x3f, 0x96, 0xa1, 0x59, 0xf4, 0x15, 0xfa, 0x06, 0x96, 0xfd, 0x50, 0xc8, 0x42, + 0x10, 0xdb, 0xfb, 0xa0, 0xe8, 0x8e, 0xfc, 0xf9, 0x94, 0xd1, 0x89, 0x10, 0x7a, 0x02, 0x55, 0xca, + 0x98, 0xcf, 0x66, 0xaf, 0x54, 0x9e, 0x36, 0xdd, 0xaf, 0x17, 0x81, 0xfa, 0x0b, 0x38, 0x46, 0xa3, + 0xdf, 0x40, 0x9d, 0x44, 0x07, 0x32, 0xe2, 0x53, 0x40, 0x64, 0xab, 0x52, 0x0d, 0x92, 0xd1, 0x95, + 0x07, 0x7a, 0x0e, 0x8d, 0x18, 0x96, 0x26, 0xdc, 0xea, 0xfc, 0xc8, 0xc9, 0x79, 0xa7, 0xbf, 0x80, + 0xd7, 0x48, 0xce, 0x5d, 0xdf, 0x42, 0x3d, 0x36, 0xd8, 0x90, 0x4a, 0xd6, 0x6e, 0x76, 0x33, 0x10, + 0xcb, 0xec, 0x47, 0x1a, 0x9e, 0xc3, 0xba, 0xe9, 0xbb, 0x41, 0x28, 0xa8, 0x65, 0xa8, 0xc2, 0xb9, + 0x78, 0x03, 0x2d, 0xb8, 0x91, 0x48, 0x0d, 0xa4, 0x10, 0xfa, 0x1a, 0xaa, 0xc1, 0x84, 0xf0, 0xb8, + 0x9a, 0x35, 0x76, 0x7f, 0x7b, 0x5d, 0x02, 0xb5, 0x5e, 0x44, 0x68, 0x1c, 0x0b, 0x45, 0xf1, 0xcb, + 0x05, 0x61, 0x91, 0x11, 0x44, 0xa8, 0xca, 0xbd, 0xdd, 0x8a, 0xdb, 0x4f, 0x2b, 0x69, 0x3f, 0xad, + 0xd3, 0xa4, 0x3f, 0xe1, 0x15, 0x85, 0xee, 0x08, 0xf4, 0x04, 0x6a, 0x49, 0x5f, 0xd3, 0x96, 0x94, + 0xe5, 0x45, 0xc1, 0x7d, 0x05, 0xc0, 0x29, 0x34, 0xda, 0xd1, 0x94, 0x45, 0x4a, 0xee, 0xb8, 0x7c, + 0xfd, 0x8e, 0x0a, 0xdd, 0x91, 0xc9, 0x16, 0x06, 0x56, 0x22, 0x5a, 0xbb, 0x5e, 0x54, 0xa1, 0x3b, + 0x02, 0xed, 0xc1, 0x9a, 0xe7, 0x47, 0x75, 0xc3, 0x24, 0x71, 0xaa, 0xae, 0xc8, 0x54, 0xbd, 0x5f, + 0xbc, 0xf6, 0xa3, 0x0c, 0x08, 0xe7, 0x45, 0xd0, 0x53, 0xa8, 0x5f, 0x2a, 0x6f, 0x1a, 0xb6, 0xa5, + 0xd5, 0xe7, 0xde, 0x56, 0xa6, 0x3e, 0x41, 0x82, 0x1e, 0x58, 0xe8, 0x17, 0xd8, 0xe4, 0x82, 0x44, + 0x9d, 0x67, 0x42, 0xbc, 0x31, 0x35, 0x2c, 0x2a, 0x88, 0xed, 0x70, 0xad, 0x21, 0x95, 0x7c, 0x76, + 0x75, 0xdd, 0x8a, 0x84, 0xba, 0x52, 0x66, 0x3f, 0x16, 0xc1, 0x88, 0xcf, 0xd0, 0xf6, 0xd6, 0x61, + 0x4d, 0x85, 0x23, 0xa3, 0x3c, 0x74, 0x84, 0xfe, 0x33, 0x34, 0x4e, 0xde, 0x70, 0x41, 0xdd, 0x34, + 0x62, 0x3f, 0x83, 0x3b, 0x69, 0xf1, 0x31, 0xd4, 0x40, 0xa6, 0x92, 0xbd, 0x49, 0xa7, 0x49, 0x2c, + 0xe9, 0x51, 0xde, 0x47, 0x9d, 0x89, 0x07, 0xc4, 0x4c, 0x5a, 0xd5, 0x94, 0xa0, 0xff, 0xaf, 0x02, + 0x77, 0x66, 0x1a, 0x12, 0xea, 0x42, 0xc5, 0xf5, 0xad, 0xb8, 0x80, 0x34, 0x76, 0xdb, 0xd7, 0x76, + 0xb0, 0x0c, 0xc5, 0xb7, 0x28, 0x96, 0xc2, 0x6f, 0x2f, 0x38, 0xd1, 0x70, 0xe3, 0x51, 0x2e, 0x6c, + 0x6f, 0x2c, 0x73, 0x65, 0x0d, 0x27, 0x4b, 0xf4, 0x0c, 0x56, 0xb9, 0x39, 0xa1, 0x56, 0xe8, 0xc4, + 0xc1, 0x51, 0xb9, 0x36, 0x38, 0xea, 0x29, 0xbe, 0x23, 0xd0, 0x4f, 0xf0, 0x41, 0x40, 0x18, 0xf5, + 0x84, 0xe1, 0xf9, 0x16, 0x35, 0x52, 0x7f, 0xa8, 0x8c, 0x28, 0x26, 0xd5, 0x91, 0x6f, 0xd1, 0x79, + 0x1d, 0x69, 0x23, 0x56, 0x92, 0x63, 0xa3, 0x9f, 0x61, 0x83, 0xd1, 0x11, 0x65, 0xd4, 0x33, 0xb3, + 0x9a, 0x9b, 0xef, 0xdc, 0xef, 0x50, 0xaa, 0x66, 0xaa, 0xfc, 0x3b, 0x58, 0xe7, 0xf2, 0x9e, 0xa7, + 0x05, 0xed, 0xce, 0xfc, 0xaa, 0x9b, 0x0f, 0x07, 0xdc, 0xe0, 0xf9, 0xf0, 0xf8, 0x1a, 0x56, 0x33, + 0x33, 0x32, 0xd7, 0x50, 0xb1, 0x95, 0x49, 0xf3, 0x3a, 0x0a, 0x32, 0xd8, 0xc7, 0xf5, 0x04, 0x3e, + 0xb0, 0xb8, 0x3e, 0xce, 0xf4, 0xc5, 0xe8, 0x36, 0x11, 0xc0, 0xd2, 0x61, 0xe7, 0xe8, 0xac, 0x73, + 0xd0, 0x5c, 0x40, 0x6b, 0xb0, 0x72, 0xd2, 0xed, 0xf7, 0xf6, 0xcf, 0x0e, 0x7a, 0xfb, 0xcd, 0x52, + 0xc4, 0x3a, 0xf9, 0xf1, 0xe4, 0xb4, 0x77, 0xd8, 0x2c, 0xa3, 0x55, 0xa8, 0xe1, 0xde, 0x41, 0xe7, + 0xec, 0xa8, 0xdb, 0x6f, 0x2e, 0x22, 0x04, 0x8d, 0x6e, 0x7f, 0x70, 0xb0, 0x6f, 0xbc, 0x3c, 0xc6, + 0x7f, 0x7c, 0x7e, 0x70, 0xfc, 0xb2, 0x59, 0x89, 0x84, 0x71, 0xaf, 0x7b, 0x7c, 0xde, 0xc3, 0xbd, + 0xfd, 0x66, 0x55, 0x3f, 0x87, 0x66, 0x36, 0x45, 0x65, 0x0f, 0x9e, 0xc9, 0xed, 0xd2, 0x3b, 0xe7, + 0xb6, 0xfe, 0xf7, 0x5a, 0xe6, 0x04, 0x27, 0xf1, 0x98, 0x50, 0x8f, 0x07, 0x52, 0x23, 0x70, 0x88, + 0x77, 0x45, 0xef, 0xcd, 0x66, 0x7b, 0x8c, 0x7e, 0xe1, 0x10, 0x0f, 0x3d, 0x49, 0x67, 0xe1, 0xf2, + 0x4d, 0x4a, 0xba, 0x02, 0xbf, 0xe7, 0x1c, 0x88, 0xfa, 0x45, 0x3f, 0x54, 0xe7, 0x8f, 0x37, 0x45, + 0x07, 0x46, 0xdd, 0x2d, 0x5f, 0xe9, 0x3e, 0x86, 0xba, 0x65, 0x73, 0x32, 0x74, 0xa8, 0x41, 0x1c, + 0x47, 0x56, 0xf7, 0x5a, 0xd4, 0xbe, 0x14, 0xb1, 0xe3, 0x38, 0xa8, 0x05, 0x4b, 0x0e, 0x19, 0x52, + 0x87, 0xab, 0x12, 0xbe, 0x35, 0xd3, 0xe5, 0x25, 0x17, 0x2b, 0x14, 0x7a, 0x06, 0x75, 0xe2, 0x79, + 0xbe, 0x50, 0xa6, 0xc5, 0xc5, 0xfb, 0xde, 0x4c, 0xd7, 0x9d, 0x42, 0x70, 0x16, 0x8f, 0x06, 0xd0, + 0x4c, 0x1e, 0x59, 0x86, 0xe9, 0x7b, 0x82, 0xbe, 0x16, 0xb2, 0xc7, 0xe7, 0x02, 0x5d, 0xfa, 0xf6, + 0x44, 0xc1, 0xba, 0x31, 0x0a, 0xaf, 0xf3, 0x3c, 0x01, 0x7d, 0x09, 0x2b, 0x24, 0x14, 0x13, 0x83, + 0xf9, 0x0e, 0x55, 0x59, 0xa8, 0xcd, 0xd8, 0x11, 0x8a, 0x09, 0xf6, 0x1d, 0x2a, 0xaf, 0xa7, 0x46, + 0xd4, 0x0a, 0x1d, 0x02, 0x7a, 0x15, 0x12, 0x27, 0x32, 0xc2, 0x1f, 0x19, 0x9c, 0xb2, 0x0b, 0xdb, + 0xa4, 0x2a, 0xe1, 0x1e, 0x16, 0xec, 0xf8, 0x53, 0x0c, 0x3c, 0x1e, 0x9d, 0xc4, 0x30, 0xdc, 0x7c, + 0x55, 0xa0, 0x44, 0x4f, 0x12, 0x97, 0xbc, 0x36, 0x02, 0xc2, 0x88, 0xe3, 0x50, 0xc7, 0xe6, 0xae, + 0x86, 0x76, 0x4a, 0x8f, 0xab, 0xb8, 0xe1, 0x92, 0xd7, 0x2f, 0xa6, 0x54, 0xf4, 0x03, 0x6c, 0x31, + 0x72, 0x69, 0x64, 0x26, 0x8e, 0xc8, 0x09, 0x23, 0x7b, 0xac, 0x6d, 0xc8, 0xbd, 0x3f, 0x29, 0xda, + 0x8f, 0xc9, 0xe5, 0x71, 0x3a, 0x6a, 0x74, 0x25, 0x14, 0x6f, 0xb0, 0x59, 0x22, 0x7a, 0x01, 0x68, + 0xf6, 0x71, 0xae, 0x6d, 0xce, 0x0f, 0x3e, 0xd5, 0x1d, 0x3a, 0x29, 0x10, 0xdf, 0x31, 0x8b, 0x24, + 0xf4, 0x2d, 0xac, 0xd9, 0x9e, 0xa0, 0x8c, 0x85, 0x81, 0xb0, 0x87, 0x0e, 0xd5, 0x3e, 0xb8, 0xa2, + 0x14, 0xef, 0xf9, 0xbe, 0x73, 0x1e, 0x4d, 0xaa, 0x38, 0x2f, 0x30, 0xef, 0xa5, 0xb6, 0x35, 0xef, + 0xa5, 0x86, 0x1e, 0x43, 0x85, 0x7a, 0x17, 0x5c, 0xfb, 0x50, 0xee, 0xb0, 0x39, 0x93, 0x2b, 0xde, + 0x05, 0xc7, 0x12, 0x11, 0xbd, 0xba, 0x04, 0x19, 0x73, 0x4d, 0xdb, 0x59, 0x8c, 0x5e, 0x5d, 0xd1, + 0xf7, 0x9e, 0x06, 0x5b, 0xd9, 0xa8, 0x37, 0x22, 0xe5, 0xcc, 0xb6, 0x28, 0xff, 0xbe, 0x52, 0xab, + 0x34, 0xab, 0xba, 0x0b, 0x77, 0xd3, 0x6c, 0x3b, 0xa5, 0xcc, 0xb5, 0xbd, 0xcc, 0x33, 0xfb, 0x7d, + 0xde, 0x2c, 0xe9, 0xa8, 0x5d, 0xce, 0x8c, 0xda, 0xfa, 0x7d, 0xd8, 0x9e, 0xb7, 0x5d, 0xfc, 0x90, + 0xd3, 0x7f, 0x81, 0x87, 0xf3, 0x1e, 0x63, 0xd1, 0x4d, 0xde, 0xc6, 0x83, 0xec, 0xaf, 0x65, 0xd8, + 0xb9, 0x5a, 0xbf, 0x7a, 0x4c, 0x3e, 0x29, 0x4e, 0xf6, 0x1f, 0x16, 0x3d, 0x7e, 0xc6, 0x9c, 0x64, + 0xa4, 0x9f, 0x0e, 0xf4, 0x5f, 0x14, 0x8a, 0xe1, 0x5b, 0xa5, 0x92, 0x52, 0xf8, 0x14, 0xea, 0xa3, + 0xd0, 0x71, 0x6e, 0x3a, 0x19, 0x63, 0x88, 0xd0, 0xe9, 0x44, 0xbc, 0x2a, 0x65, 0x13, 0x63, 0x2b, + 0xd7, 0x09, 0xcb, 0xad, 0xe2, 0xd4, 0xe0, 0xfa, 0xdf, 0xb2, 0xff, 0x56, 0xce, 0xe4, 0x00, 0x79, + 0x1b, 0x97, 0xfe, 0x7b, 0xa8, 0xca, 0xb9, 0x4d, 0x3a, 0xa1, 0x31, 0xdb, 0x9e, 0xf3, 0x13, 0x1f, + 0x8e, 0xc1, 0xfa, 0xbf, 0x4b, 0x70, 0xef, 0x2d, 0xb3, 0xe0, 0x54, 0x6b, 0xe9, 0x1d, 0xb4, 0xa2, + 0xaf, 0xa0, 0xee, 0x9b, 0x66, 0xc8, 0x58, 0x3c, 0x2b, 0x95, 0xaf, 0x9d, 0x95, 0x20, 0x81, 0x77, + 0x44, 0x7e, 0x42, 0x5b, 0x2c, 0x3e, 0x09, 0xef, 0x66, 0xfe, 0x45, 0x24, 0xce, 0x53, 0x21, 0x7c, + 0x01, 0xfa, 0xbc, 0x10, 0x3b, 0x8c, 0x7f, 0xac, 0xdd, 0x52, 0x62, 0x59, 0x34, 0x10, 0x13, 0x79, + 0xa2, 0x2a, 0x8e, 0x17, 0xfa, 0x11, 0x7c, 0xf2, 0xd6, 0x7d, 0x55, 0x74, 0x3f, 0x82, 0x0a, 0x0f, + 0xd2, 0x46, 0xbf, 0x51, 0xec, 0x2a, 0x01, 0xf1, 0xb0, 0x04, 0x7c, 0xfa, 0x0d, 0x34, 0xf2, 0x6e, + 0x45, 0x9b, 0xd0, 0xec, 0xfd, 0xd0, 0xeb, 0x9e, 0x9d, 0x0e, 0x8e, 0x8f, 0x8c, 0x4e, 0xf7, 0x74, + 0x70, 0xde, 0x6b, 0x2e, 0xa0, 0x2d, 0x40, 0x19, 0x2a, 0xee, 0xf6, 0x07, 0xe7, 0xd1, 0xfc, 0xb3, + 0xf7, 0xec, 0xa7, 0xaf, 0xc6, 0xb6, 0x98, 0x84, 0xc3, 0x96, 0xe9, 0xbb, 0x6d, 0xb9, 0x8d, 0xcf, + 0xc6, 0xf1, 0x47, 0x3b, 0xfd, 0xaf, 0x38, 0xa6, 0x5e, 0x3b, 0x18, 0xfe, 0x6e, 0xec, 0xb7, 0xf3, + 0xbf, 0x48, 0x87, 0x4b, 0xf2, 0x7e, 0xbe, 0xf8, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xae, 0xc9, + 0xe4, 0xb3, 0x94, 0x15, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go index 6ca7ee0f43..1473435d45 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go @@ -1117,6 +1117,21 @@ func (m *ExecutionMetadata) Validate() error { } } + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ExecutionMetadataValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + return nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go index 2b1826ae11..5e7b95f8ca 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go @@ -7,6 +7,7 @@ import ( fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" timestamp "github.com/golang/protobuf/ptypes/timestamp" wrappers "github.com/golang/protobuf/ptypes/wrappers" math "math" @@ -575,10 +576,12 @@ type LaunchPlanMetadata struct { // Schedule to execute the Launch Plan Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` // List of notifications based on Execution status transitions - Notifications []*Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Notifications []*Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` + // Additional metadata for how to launch the launch plan + LaunchConditions *any.Any `protobuf:"bytes,3,opt,name=launch_conditions,json=launchConditions,proto3" json:"launch_conditions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *LaunchPlanMetadata) Reset() { *m = LaunchPlanMetadata{} } @@ -620,6 +623,13 @@ func (m *LaunchPlanMetadata) GetNotifications() []*Notification { return nil } +func (m *LaunchPlanMetadata) GetLaunchConditions() *any.Any { + if m != nil { + return m.LaunchConditions + } + return nil +} + // Request to set the referenced launch plan state to the configured value. // See :ref:`ref_flyteidl.admin.LaunchPlan` for more details type LaunchPlanUpdateRequest struct { @@ -850,77 +860,79 @@ func init() { func init() { proto.RegisterFile("flyteidl/admin/launch_plan.proto", fileDescriptor_368a863574f5e699) } var fileDescriptor_368a863574f5e699 = []byte{ - // 1152 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdb, 0x6e, 0xdb, 0x46, - 0x13, 0xfe, 0xa5, 0xc8, 0xa7, 0x71, 0x2c, 0x3b, 0x9b, 0xfc, 0x0e, 0xab, 0xa4, 0x89, 0xab, 0xa2, - 0xa8, 0xdb, 0x26, 0x12, 0x90, 0x36, 0x17, 0x39, 0x01, 0x95, 0x1d, 0x5f, 0x08, 0xcd, 0xc1, 0x5d, - 0xa7, 0x41, 0xd1, 0x1b, 0x62, 0x45, 0x8e, 0xa4, 0x6d, 0x96, 0x5c, 0x66, 0x77, 0x69, 0xcb, 0xe8, - 0x3b, 0xf4, 0x39, 0x8a, 0xbe, 0x43, 0x1f, 0xa1, 0xef, 0x54, 0x70, 0xb9, 0xa4, 0x24, 0xd2, 0x46, - 0xda, 0x02, 0xbd, 0x12, 0x67, 0xe7, 0xfb, 0x66, 0x67, 0x66, 0xe7, 0x20, 0xd8, 0x1b, 0x8b, 0x73, - 0x83, 0x3c, 0x14, 0x7d, 0x16, 0x46, 0x3c, 0xee, 0x0b, 0x96, 0xc6, 0xc1, 0xd4, 0x4f, 0x04, 0x8b, - 0x7b, 0x89, 0x92, 0x46, 0x92, 0x76, 0x81, 0xe8, 0x59, 0x44, 0xe7, 0xe3, 0x92, 0x11, 0x48, 0x85, - 0x7d, 0x9c, 0x61, 0x90, 0x1a, 0x2e, 0x1d, 0xbc, 0x73, 0x7b, 0x59, 0x2d, 0xb8, 0x41, 0xc5, 0x84, - 0x76, 0xda, 0x3b, 0xcb, 0x5a, 0x1e, 0x62, 0x6c, 0xf8, 0x98, 0xa3, 0x72, 0xfa, 0x8a, 0x71, 0x1e, - 0x1b, 0x54, 0x63, 0x16, 0xe0, 0xc5, 0xc6, 0x35, 0x06, 0xa9, 0xe2, 0xe6, 0xbc, 0x46, 0xce, 0x63, - 0xd1, 0xc1, 0x14, 0xc3, 0x54, 0x14, 0xe4, 0x5b, 0x15, 0x75, 0x20, 0xa3, 0xa8, 0x74, 0xfb, 0xee, - 0x44, 0xca, 0x89, 0xc0, 0xbe, 0x95, 0x46, 0xe9, 0xb8, 0x6f, 0x78, 0x84, 0xda, 0xb0, 0x28, 0x29, - 0x3c, 0xaf, 0x02, 0xce, 0x14, 0x4b, 0x12, 0x54, 0x2e, 0xb2, 0xee, 0x0c, 0x6e, 0xbe, 0xb0, 0xb9, - 0x3b, 0x16, 0x2c, 0x3e, 0x54, 0xc8, 0x0c, 0x52, 0x7c, 0x9f, 0xa2, 0x36, 0xe4, 0x0b, 0x68, 0xf2, - 0xd0, 0x6b, 0xec, 0x35, 0xf6, 0x37, 0x1f, 0x7c, 0xd4, 0x2b, 0xd3, 0x99, 0x85, 0xd0, 0x1b, 0x96, - 0x19, 0xa0, 0x4d, 0x1e, 0x92, 0x07, 0xd0, 0xd2, 0x09, 0x06, 0x5e, 0xd3, 0x82, 0xef, 0xf4, 0x96, - 0x73, 0xdf, 0x9b, 0xdf, 0x70, 0x92, 0x60, 0x40, 0x2d, 0xb6, 0xdb, 0x01, 0xaf, 0x7e, 0xb3, 0x4e, - 0x64, 0xac, 0xb1, 0xfb, 0x5b, 0x03, 0x60, 0xae, 0xfc, 0x8f, 0x3d, 0x21, 0x4f, 0x60, 0x2d, 0x10, - 0x52, 0xa7, 0x0a, 0xbd, 0x2b, 0x96, 0xf6, 0xc9, 0xe5, 0xb4, 0xc3, 0x1c, 0x48, 0x0b, 0x46, 0x17, - 0xa1, 0x3d, 0xd7, 0xbe, 0xe0, 0xda, 0x90, 0x67, 0x70, 0x75, 0xa1, 0x1c, 0xb5, 0xd7, 0xd8, 0xbb, - 0xb2, 0xbf, 0xf9, 0xa0, 0x73, 0xb9, 0x4d, 0xba, 0x29, 0xca, 0x6f, 0x4d, 0x6e, 0xc0, 0x8a, 0x91, - 0xef, 0x30, 0xb6, 0x21, 0x6c, 0xd0, 0x5c, 0xe8, 0x9e, 0x42, 0x6b, 0x90, 0x9a, 0x29, 0xb9, 0x07, - 0x84, 0x69, 0x9d, 0x46, 0x6c, 0x24, 0xd0, 0xe7, 0x2c, 0xf2, 0x95, 0x14, 0x68, 0x53, 0xb3, 0x41, - 0x77, 0x4a, 0xcd, 0x90, 0x45, 0x54, 0x0a, 0x24, 0x4f, 0xa1, 0xf3, 0x2e, 0x1d, 0xa1, 0x8a, 0xd1, - 0xa0, 0xf6, 0x35, 0xaa, 0x53, 0x1e, 0xa0, 0xcf, 0x82, 0x40, 0xa6, 0xb1, 0x71, 0x17, 0x78, 0x73, - 0xc4, 0x49, 0x0e, 0x18, 0xe4, 0xfa, 0xc7, 0x4d, 0xaf, 0xd1, 0xfd, 0x63, 0x6d, 0x31, 0xbe, 0x2c, - 0x69, 0xe4, 0x31, 0x6c, 0x9e, 0x49, 0xf5, 0x6e, 0x2c, 0xe4, 0x99, 0xff, 0x77, 0x9e, 0x05, 0x0a, - 0xf4, 0x30, 0x24, 0xdf, 0xc1, 0x76, 0x76, 0x6e, 0xce, 0xfd, 0x08, 0x0d, 0x0b, 0x99, 0x61, 0xee, - 0xa5, 0xba, 0x97, 0xa7, 0xe7, 0xa5, 0x43, 0xd2, 0x76, 0x4e, 0x2d, 0x64, 0x72, 0x00, 0xed, 0x10, - 0xc7, 0x2c, 0x15, 0xc6, 0xe7, 0x71, 0x92, 0x1a, 0xed, 0x9e, 0xef, 0x56, 0xc5, 0x97, 0x63, 0xa6, - 0x58, 0x84, 0x06, 0xd5, 0x4b, 0x96, 0xd0, 0x2d, 0x47, 0x19, 0x5a, 0x06, 0x79, 0x0a, 0x57, 0xc7, - 0x7c, 0x86, 0x61, 0x61, 0xa1, 0x75, 0x61, 0x34, 0x2f, 0xf2, 0x71, 0x90, 0xf1, 0x37, 0x2d, 0xdc, - 0xb1, 0x77, 0xa1, 0x65, 0xf3, 0xbf, 0x92, 0x65, 0xf2, 0xa0, 0xe9, 0x35, 0xa8, 0x95, 0x49, 0x0f, - 0x56, 0x05, 0x1b, 0xa1, 0xd0, 0xde, 0xaa, 0xb5, 0xb7, 0x5b, 0x8f, 0x2e, 0xd3, 0x52, 0x87, 0x22, - 0xcf, 0x60, 0x93, 0xc5, 0xb1, 0x34, 0x2c, 0x9b, 0x48, 0xda, 0x5b, 0xab, 0x86, 0x91, 0x93, 0x06, - 0x73, 0x08, 0x5d, 0xc4, 0x93, 0x7b, 0xd0, 0x62, 0xa9, 0x99, 0x7a, 0xeb, 0x96, 0x77, 0xa3, 0xc6, - 0x4b, 0xcd, 0x34, 0x77, 0x2e, 0x43, 0x91, 0x47, 0xb0, 0x91, 0xfd, 0xe6, 0x95, 0xb3, 0x61, 0x29, - 0xde, 0x45, 0x94, 0xac, 0x82, 0x2c, 0x6d, 0x9d, 0x39, 0x89, 0x0c, 0x61, 0xa7, 0x18, 0x5e, 0x7e, - 0x20, 0x63, 0x83, 0x33, 0xe3, 0x41, 0xb5, 0xd3, 0x6c, 0xc6, 0x4e, 0x1c, 0xec, 0x30, 0x47, 0xd1, - 0x6d, 0xbd, 0x7c, 0x40, 0x5e, 0x02, 0x79, 0x9f, 0x32, 0x91, 0x59, 0x92, 0xe3, 0xa2, 0x34, 0xbd, - 0x1d, 0x6b, 0xec, 0x6e, 0xc5, 0xd8, 0xf7, 0x39, 0xf0, 0xf5, 0xd8, 0x15, 0x28, 0xdd, 0x79, 0x5f, - 0x39, 0x21, 0x3f, 0xc2, 0xae, 0x62, 0x67, 0xbe, 0x4c, 0x4d, 0x92, 0x1a, 0x3f, 0x2b, 0x8f, 0xcc, - 0xc1, 0x31, 0x9f, 0x78, 0xd7, 0xac, 0xc9, 0x4f, 0xab, 0x11, 0x52, 0x76, 0xf6, 0xda, 0x82, 0x9f, - 0x33, 0xc3, 0x0e, 0x2d, 0x94, 0x5e, 0x57, 0xf5, 0x43, 0xf2, 0x39, 0x6c, 0x47, 0x6c, 0xe6, 0x27, - 0x4c, 0x31, 0x21, 0x50, 0x70, 0x1d, 0x79, 0x64, 0xaf, 0xb1, 0xbf, 0x42, 0xdb, 0x11, 0x9b, 0x1d, - 0xcf, 0x4f, 0xc9, 0xb7, 0xb0, 0x65, 0x07, 0xbf, 0x4a, 0x13, 0xc3, 0x47, 0x02, 0xbd, 0xeb, 0xf6, - 0xe6, 0x4e, 0x2f, 0x1f, 0xc1, 0xbd, 0x62, 0x04, 0xf7, 0x0e, 0xa4, 0x14, 0x6f, 0x99, 0x48, 0x91, - 0x2e, 0x13, 0xb2, 0xab, 0xe4, 0x29, 0xaa, 0x33, 0xc5, 0x0d, 0xfa, 0x01, 0x0b, 0xa6, 0xe8, 0xdd, - 0xd8, 0x6b, 0xec, 0xaf, 0xd3, 0x76, 0x79, 0x7c, 0x98, 0x9d, 0x92, 0x7d, 0x68, 0x61, 0x7c, 0xaa, - 0xbd, 0xff, 0x5f, 0xfc, 0xe0, 0x47, 0xf1, 0xa9, 0xa6, 0x16, 0xd1, 0xfd, 0xb3, 0x09, 0xd7, 0x6a, - 0xd3, 0x8b, 0x3c, 0x84, 0x15, 0x6d, 0x98, 0xc9, 0x07, 0x47, 0x7b, 0x31, 0xdf, 0xb5, 0x31, 0x99, - 0xc1, 0x68, 0x8e, 0x26, 0xcf, 0x61, 0x1b, 0x67, 0x09, 0x06, 0x66, 0xde, 0x2f, 0xcd, 0x0f, 0x77, - 0x5c, 0xbb, 0xe0, 0xb8, 0xa6, 0x39, 0x82, 0x9d, 0xd2, 0x4a, 0xfe, 0x5e, 0x45, 0xe3, 0x76, 0x2a, - 0x66, 0xde, 0x32, 0xc5, 0xb3, 0x71, 0x96, 0x59, 0x29, 0x6f, 0xce, 0x1f, 0x48, 0x93, 0x47, 0x00, - 0x81, 0xdd, 0x1a, 0xa1, 0xcf, 0x8c, 0xeb, 0xdb, 0x7a, 0xae, 0xdf, 0x14, 0xfb, 0x90, 0x6e, 0x38, - 0xf4, 0xc0, 0x64, 0xd4, 0x34, 0x09, 0x0b, 0xea, 0xca, 0x87, 0xa9, 0x0e, 0x3d, 0x30, 0xdd, 0x5f, - 0x1b, 0x40, 0xea, 0xa3, 0x89, 0x7c, 0x03, 0xeb, 0xc5, 0xda, 0x76, 0x03, 0xb1, 0xd6, 0x52, 0x27, - 0x4e, 0x4f, 0x4b, 0x24, 0x39, 0x80, 0xad, 0x58, 0x66, 0x53, 0x32, 0x70, 0x8d, 0xdf, 0xb4, 0xab, - 0xe2, 0x76, 0x95, 0xfa, 0x6a, 0x01, 0x44, 0x97, 0x29, 0xdd, 0x5f, 0x16, 0x17, 0xf8, 0x0f, 0xd6, - 0xcf, 0x7f, 0xb1, 0xc0, 0xcb, 0x82, 0x68, 0xfe, 0x93, 0x82, 0x58, 0xde, 0xe1, 0xc5, 0xe5, 0x6e, - 0x87, 0x1f, 0xc3, 0xcd, 0x41, 0x60, 0xf8, 0x29, 0x2e, 0x2c, 0x3a, 0xe7, 0xd8, 0xc3, 0x05, 0xc7, - 0x3e, 0xab, 0x05, 0xcb, 0x22, 0x0c, 0x8f, 0xec, 0xa4, 0x5f, 0x76, 0xb2, 0xfb, 0x7b, 0x03, 0x6e, - 0x55, 0x4d, 0x66, 0x1b, 0xb7, 0x30, 0xeb, 0xc1, 0x5a, 0xa2, 0xe4, 0xcf, 0x18, 0x18, 0xb7, 0x10, - 0x0b, 0x91, 0xec, 0xc2, 0x6a, 0x28, 0x23, 0xc6, 0x8b, 0xa5, 0xea, 0xa4, 0x6c, 0xd7, 0x0a, 0x1e, - 0x71, 0x63, 0xeb, 0x6f, 0x8b, 0xe6, 0xc2, 0x7c, 0x03, 0xb7, 0x16, 0x36, 0x30, 0xb9, 0x0f, 0x6b, - 0x5a, 0x2a, 0xe3, 0x8f, 0xce, 0x5d, 0xc5, 0xd4, 0xda, 0xee, 0x44, 0x2a, 0x43, 0x57, 0x33, 0xd0, - 0xc1, 0xf9, 0x97, 0x5f, 0xc1, 0x76, 0x25, 0x69, 0xe4, 0x2a, 0xac, 0x0f, 0x5f, 0x0d, 0x0e, 0xdf, - 0x0c, 0xdf, 0x1e, 0xed, 0xfc, 0x8f, 0x00, 0xac, 0xba, 0xef, 0xc6, 0xc1, 0xb3, 0x9f, 0x9e, 0x4c, - 0xb8, 0x99, 0xa6, 0xa3, 0x5e, 0x20, 0xa3, 0xbe, 0x35, 0x2b, 0xd5, 0x24, 0xff, 0xe8, 0x97, 0xff, - 0xff, 0x26, 0x18, 0xf7, 0x93, 0xd1, 0xfd, 0x89, 0xec, 0x2f, 0xff, 0x25, 0x1c, 0xad, 0xda, 0x9a, - 0xfd, 0xfa, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xc1, 0x72, 0x27, 0x16, 0x0b, 0x00, 0x00, + // 1183 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x8e, 0x1b, 0x35, + 0x14, 0x26, 0x69, 0xf6, 0xef, 0x6c, 0x37, 0x9b, 0xba, 0x65, 0x3b, 0x4d, 0x4b, 0xbb, 0x04, 0x21, + 0x16, 0x68, 0x13, 0xa9, 0xd0, 0x8b, 0xfe, 0x49, 0x64, 0xd3, 0xbd, 0x88, 0xe8, 0xcf, 0xe2, 0x2d, + 0x15, 0xe2, 0x66, 0xe4, 0xcc, 0x9c, 0x24, 0xa6, 0x9e, 0xf1, 0xd4, 0xf6, 0xec, 0x66, 0xc5, 0x0b, + 0x21, 0xde, 0x81, 0x47, 0xe0, 0x82, 0x37, 0x42, 0xe3, 0xf1, 0x4c, 0x92, 0xc9, 0x56, 0x05, 0x24, + 0xae, 0x66, 0xec, 0xf3, 0x7d, 0x9f, 0x7d, 0x8e, 0x8f, 0xcf, 0x31, 0xec, 0x8f, 0xc5, 0xb9, 0x41, + 0x1e, 0x8a, 0x1e, 0x0b, 0x23, 0x1e, 0xf7, 0x04, 0x4b, 0xe3, 0x60, 0xea, 0x27, 0x82, 0xc5, 0xdd, + 0x44, 0x49, 0x23, 0x49, 0xb3, 0x40, 0x74, 0x2d, 0xa2, 0xfd, 0x49, 0xc9, 0x08, 0xa4, 0xc2, 0x1e, + 0xce, 0x30, 0x48, 0x0d, 0x97, 0x0e, 0xde, 0xbe, 0xb5, 0x6c, 0x16, 0xdc, 0xa0, 0x62, 0x42, 0x3b, + 0xeb, 0xed, 0x65, 0x2b, 0x0f, 0x31, 0x36, 0x7c, 0xcc, 0x51, 0x39, 0x7b, 0x45, 0x9c, 0xc7, 0x06, + 0xd5, 0x98, 0x05, 0x78, 0xb1, 0xb8, 0xc6, 0x20, 0x55, 0xdc, 0x9c, 0xaf, 0x90, 0x73, 0x5f, 0x74, + 0x30, 0xc5, 0x30, 0x15, 0x05, 0xf9, 0x66, 0xc5, 0x1c, 0xc8, 0x28, 0x2a, 0xb7, 0x7d, 0x63, 0x22, + 0xe5, 0x44, 0x60, 0xcf, 0x8e, 0x46, 0xe9, 0xb8, 0xc7, 0xe2, 0x42, 0xf6, 0x4e, 0xd5, 0x64, 0x78, + 0x84, 0xda, 0xb0, 0x28, 0x29, 0x9c, 0xaa, 0x02, 0xce, 0x14, 0x4b, 0x12, 0x54, 0xce, 0xe9, 0xce, + 0x0c, 0xae, 0x3f, 0xb7, 0x61, 0x3d, 0x16, 0x2c, 0x1e, 0x28, 0x64, 0x06, 0x29, 0xbe, 0x4b, 0x51, + 0x1b, 0xf2, 0x25, 0xd4, 0x79, 0xe8, 0xd5, 0xf6, 0x6b, 0x07, 0xdb, 0xf7, 0x6f, 0x74, 0xcb, 0x48, + 0x67, 0xde, 0x75, 0x87, 0x65, 0x70, 0x68, 0x9d, 0x87, 0xe4, 0x3e, 0x34, 0x74, 0x82, 0x81, 0x57, + 0xb7, 0xe0, 0xdb, 0xdd, 0xe5, 0x63, 0xe9, 0xce, 0x57, 0x38, 0x49, 0x30, 0xa0, 0x16, 0xdb, 0x69, + 0x83, 0xb7, 0xba, 0xb2, 0x4e, 0x64, 0xac, 0xb1, 0xf3, 0x5b, 0x0d, 0x60, 0x6e, 0xfc, 0x9f, 0x77, + 0x42, 0x1e, 0xc3, 0x46, 0x20, 0xa4, 0x4e, 0x15, 0x7a, 0x97, 0x2c, 0xed, 0xd3, 0xf7, 0xd3, 0x06, + 0x39, 0x90, 0x16, 0x8c, 0x0e, 0x42, 0x73, 0x6e, 0x7d, 0xce, 0xb5, 0x21, 0x4f, 0xe1, 0xf2, 0x42, + 0xa6, 0x6a, 0xaf, 0xb6, 0x7f, 0xe9, 0x60, 0xfb, 0x7e, 0xfb, 0xfd, 0x9a, 0x74, 0x5b, 0x94, 0xff, + 0x9a, 0x5c, 0x83, 0x35, 0x23, 0xdf, 0x62, 0x6c, 0x5d, 0xd8, 0xa2, 0xf9, 0xa0, 0x73, 0x0a, 0x8d, + 0x7e, 0x6a, 0xa6, 0xe4, 0x2e, 0x10, 0xa6, 0x75, 0x1a, 0xb1, 0x91, 0x40, 0x9f, 0xb3, 0xc8, 0x57, + 0x52, 0xa0, 0x0d, 0xcd, 0x16, 0x6d, 0x95, 0x96, 0x21, 0x8b, 0xa8, 0x14, 0x48, 0x9e, 0x40, 0xfb, + 0x6d, 0x3a, 0x42, 0x15, 0xa3, 0x41, 0xed, 0x6b, 0x54, 0xa7, 0x3c, 0x40, 0x9f, 0x05, 0x81, 0x4c, + 0x63, 0xe3, 0x16, 0xf0, 0xe6, 0x88, 0x93, 0x1c, 0xd0, 0xcf, 0xed, 0x8f, 0xea, 0x5e, 0xad, 0xf3, + 0xc7, 0xc6, 0xa2, 0x7f, 0x59, 0xd0, 0xc8, 0x23, 0xd8, 0x3e, 0x93, 0xea, 0xed, 0x58, 0xc8, 0x33, + 0xff, 0x9f, 0x1c, 0x0b, 0x14, 0xe8, 0x61, 0x48, 0xbe, 0x87, 0xdd, 0x6c, 0xde, 0x9c, 0xfb, 0x11, + 0x1a, 0x16, 0x32, 0xc3, 0xdc, 0x49, 0x75, 0xde, 0x1f, 0x9e, 0x17, 0x0e, 0x49, 0x9b, 0x39, 0xb5, + 0x18, 0x93, 0x43, 0x68, 0x86, 0x38, 0x66, 0xa9, 0x30, 0x3e, 0x8f, 0x93, 0xd4, 0x68, 0x77, 0x7c, + 0x37, 0x2b, 0x7b, 0x39, 0x66, 0x8a, 0x45, 0x68, 0x50, 0xbd, 0x60, 0x09, 0xdd, 0x71, 0x94, 0xa1, + 0x65, 0x90, 0x27, 0x70, 0x79, 0xcc, 0x67, 0x18, 0x16, 0x0a, 0x8d, 0x0b, 0xbd, 0x79, 0x9e, 0x57, + 0x8a, 0x8c, 0xbf, 0x6d, 0xe1, 0x8e, 0xbd, 0x07, 0x0d, 0x1b, 0xff, 0xb5, 0x2c, 0x92, 0x87, 0x75, + 0xaf, 0x46, 0xed, 0x98, 0x74, 0x61, 0x5d, 0xb0, 0x11, 0x0a, 0xed, 0xad, 0x5b, 0xbd, 0xbd, 0x55, + 0xef, 0x32, 0x2b, 0x75, 0x28, 0xf2, 0x14, 0xb6, 0x59, 0x1c, 0x4b, 0xc3, 0xb2, 0x62, 0xa5, 0xbd, + 0x8d, 0xaa, 0x1b, 0x39, 0xa9, 0x3f, 0x87, 0xd0, 0x45, 0x3c, 0xb9, 0x0b, 0x0d, 0x96, 0x9a, 0xa9, + 0xb7, 0x69, 0x79, 0xd7, 0x56, 0x78, 0xa9, 0x99, 0xe6, 0x9b, 0xcb, 0x50, 0xe4, 0x21, 0x6c, 0x65, + 0xdf, 0x3c, 0x73, 0xb6, 0x2c, 0xc5, 0xbb, 0x88, 0x92, 0x65, 0x90, 0xa5, 0x6d, 0x32, 0x37, 0x22, + 0x43, 0x68, 0x15, 0x75, 0xcd, 0x0f, 0x64, 0x6c, 0x70, 0x66, 0x3c, 0xa8, 0xde, 0x34, 0x1b, 0xb1, + 0x13, 0x07, 0x1b, 0xe4, 0x28, 0xba, 0xab, 0x97, 0x27, 0xc8, 0x0b, 0x20, 0xef, 0x52, 0x26, 0x32, + 0x25, 0x39, 0x2e, 0x52, 0xd3, 0x6b, 0x59, 0xb1, 0x3b, 0x15, 0xb1, 0x1f, 0x72, 0xe0, 0xab, 0xb1, + 0x4b, 0x50, 0xda, 0x7a, 0x57, 0x99, 0x21, 0x3f, 0xc1, 0x9e, 0x62, 0x67, 0xbe, 0x4c, 0x4d, 0x92, + 0x1a, 0x3f, 0x4b, 0x8f, 0x6c, 0x83, 0x63, 0x3e, 0xf1, 0xae, 0x58, 0xc9, 0xcf, 0xaa, 0x1e, 0x52, + 0x76, 0xf6, 0xca, 0x82, 0x9f, 0x31, 0xc3, 0x06, 0x16, 0x4a, 0xaf, 0xaa, 0xd5, 0x49, 0xf2, 0x05, + 0xec, 0x46, 0x6c, 0xe6, 0x27, 0x4c, 0x31, 0x21, 0x50, 0x70, 0x1d, 0x79, 0x64, 0xbf, 0x76, 0xb0, + 0x46, 0x9b, 0x11, 0x9b, 0x1d, 0xcf, 0x67, 0xc9, 0x77, 0xb0, 0x63, 0x7b, 0x82, 0x4a, 0x13, 0xc3, + 0x47, 0x02, 0xbd, 0xab, 0x76, 0xe5, 0x76, 0x37, 0x2f, 0xc1, 0xdd, 0xa2, 0x04, 0x77, 0x0f, 0xa5, + 0x14, 0x6f, 0x98, 0x48, 0x91, 0x2e, 0x13, 0xb2, 0xa5, 0xe4, 0x29, 0xaa, 0x33, 0xc5, 0x0d, 0xfa, + 0x01, 0x0b, 0xa6, 0xe8, 0x5d, 0xdb, 0xaf, 0x1d, 0x6c, 0xd2, 0x66, 0x39, 0x3d, 0xc8, 0x66, 0xc9, + 0x01, 0x34, 0x30, 0x3e, 0xd5, 0xde, 0xc7, 0x17, 0x1f, 0xf8, 0x51, 0x7c, 0xaa, 0xa9, 0x45, 0x74, + 0xfe, 0xac, 0xc3, 0x95, 0x95, 0xea, 0x45, 0x1e, 0xc0, 0x9a, 0x36, 0xcc, 0xe4, 0x85, 0xa3, 0xb9, + 0x18, 0xef, 0x95, 0x32, 0x99, 0xc1, 0x68, 0x8e, 0x26, 0xcf, 0x60, 0x17, 0x67, 0x09, 0x06, 0x66, + 0x7e, 0x5f, 0xea, 0x1f, 0xbe, 0x71, 0xcd, 0x82, 0xe3, 0x2e, 0xcd, 0x11, 0xb4, 0x4a, 0x95, 0xfc, + 0xbc, 0x8a, 0x8b, 0xdb, 0xae, 0xc8, 0xbc, 0x61, 0x8a, 0x67, 0xe5, 0x2c, 0x53, 0x29, 0x57, 0xce, + 0x0f, 0x48, 0x93, 0x87, 0x00, 0x81, 0xed, 0x1a, 0xa1, 0xcf, 0x8c, 0xbb, 0xb7, 0xab, 0xb1, 0x7e, + 0x5d, 0xf4, 0x43, 0xba, 0xe5, 0xd0, 0x7d, 0x93, 0x51, 0xd3, 0x24, 0x2c, 0xa8, 0x6b, 0x1f, 0xa6, + 0x3a, 0x74, 0xdf, 0x74, 0xfe, 0xaa, 0x01, 0x59, 0x2d, 0x4d, 0xe4, 0x5b, 0xd8, 0x2c, 0x3a, 0xba, + 0x2b, 0x88, 0x2b, 0x57, 0xea, 0xc4, 0xd9, 0x69, 0x89, 0x24, 0x87, 0xb0, 0x13, 0xcb, 0xac, 0x4a, + 0x06, 0xee, 0xe2, 0xd7, 0x6d, 0xab, 0xb8, 0x55, 0xa5, 0xbe, 0x5c, 0x00, 0xd1, 0x65, 0x0a, 0xe9, + 0xc3, 0x15, 0xd7, 0x6d, 0x02, 0x19, 0x87, 0x3c, 0xd7, 0xb9, 0xe4, 0xf2, 0xa2, 0xea, 0x52, 0x3f, + 0x3e, 0xa7, 0xad, 0x1c, 0x3e, 0x28, 0xd1, 0x9d, 0x5f, 0x17, 0xdf, 0x00, 0x3f, 0x5a, 0x57, 0xff, + 0xc3, 0x1b, 0xa0, 0xcc, 0xa9, 0xfa, 0xbf, 0xc9, 0xa9, 0xe5, 0x67, 0x40, 0xb1, 0xb8, 0x7b, 0x06, + 0x1c, 0xc3, 0xf5, 0x7e, 0x60, 0xf8, 0x29, 0x2e, 0xf4, 0x4a, 0xb7, 0xb1, 0x07, 0x0b, 0x1b, 0xfb, + 0x7c, 0x25, 0x5e, 0x2c, 0xc2, 0xf0, 0xc8, 0x36, 0x8b, 0xe5, 0x4d, 0x76, 0x7e, 0xaf, 0xc1, 0xcd, + 0xaa, 0x64, 0xd6, 0xb4, 0x0b, 0x59, 0x0f, 0x36, 0x12, 0x25, 0x7f, 0xc1, 0xc0, 0xb8, 0x9e, 0x5a, + 0x0c, 0xc9, 0x1e, 0xac, 0x87, 0x32, 0x62, 0xbc, 0xe8, 0xcb, 0x6e, 0x94, 0xb5, 0x6b, 0xc1, 0x23, + 0x6e, 0x6c, 0xcc, 0x77, 0x68, 0x3e, 0x98, 0x37, 0xf1, 0xc6, 0x42, 0x13, 0x27, 0xf7, 0x60, 0x43, + 0x4b, 0x65, 0xfc, 0xd1, 0xb9, 0x4b, 0xba, 0x95, 0x9b, 0x7b, 0x22, 0x95, 0xa1, 0xeb, 0x19, 0xe8, + 0xf0, 0xfc, 0xab, 0xaf, 0x61, 0xb7, 0x12, 0x34, 0x72, 0x19, 0x36, 0x87, 0x2f, 0xfb, 0x83, 0xd7, + 0xc3, 0x37, 0x47, 0xad, 0x8f, 0x08, 0xc0, 0xba, 0xfb, 0xaf, 0x1d, 0x3e, 0xfd, 0xf9, 0xf1, 0x84, + 0x9b, 0x69, 0x3a, 0xea, 0x06, 0x32, 0xea, 0x59, 0x59, 0xa9, 0x26, 0xf9, 0x4f, 0xaf, 0x7c, 0x5d, + 0x4e, 0x30, 0xee, 0x25, 0xa3, 0x7b, 0x13, 0xd9, 0x5b, 0x7e, 0x70, 0x8e, 0xd6, 0x6d, 0x8e, 0x7c, + 0xf3, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xba, 0x5e, 0x97, 0x74, 0x0b, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go index 21c16360fe..d882416786 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go @@ -777,6 +777,16 @@ func (m *LaunchPlanMetadata) Validate() error { } + if v, ok := interface{}(m.GetLaunchConditions()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LaunchPlanMetadataValidationError{ + field: "LaunchConditions", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go new file mode 100644 index 0000000000..334303ff0b --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go @@ -0,0 +1,1391 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/artifact/artifacts.proto + +package artifact + +import ( + context "context" + fmt "fmt" + admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type Artifact struct { + ArtifactId *core.ArtifactID `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + Spec *ArtifactSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // references the tag field in ArtifactTag + Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Artifact) Reset() { *m = Artifact{} } +func (m *Artifact) String() string { return proto.CompactTextString(m) } +func (*Artifact) ProtoMessage() {} +func (*Artifact) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{0} +} + +func (m *Artifact) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Artifact.Unmarshal(m, b) +} +func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Artifact.Marshal(b, m, deterministic) +} +func (m *Artifact) XXX_Merge(src proto.Message) { + xxx_messageInfo_Artifact.Merge(m, src) +} +func (m *Artifact) XXX_Size() int { + return xxx_messageInfo_Artifact.Size(m) +} +func (m *Artifact) XXX_DiscardUnknown() { + xxx_messageInfo_Artifact.DiscardUnknown(m) +} + +var xxx_messageInfo_Artifact proto.InternalMessageInfo + +func (m *Artifact) GetArtifactId() *core.ArtifactID { + if m != nil { + return m.ArtifactId + } + return nil +} + +func (m *Artifact) GetSpec() *ArtifactSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *Artifact) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +type CreateArtifactRequest struct { + // Specify just project/domain on creation + ArtifactKey *core.ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Spec *ArtifactSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Partitions map[string]string `protobuf:"bytes,4,rep,name=partitions,proto3" json:"partitions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateArtifactRequest) Reset() { *m = CreateArtifactRequest{} } +func (m *CreateArtifactRequest) String() string { return proto.CompactTextString(m) } +func (*CreateArtifactRequest) ProtoMessage() {} +func (*CreateArtifactRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{1} +} + +func (m *CreateArtifactRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateArtifactRequest.Unmarshal(m, b) +} +func (m *CreateArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateArtifactRequest.Marshal(b, m, deterministic) +} +func (m *CreateArtifactRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateArtifactRequest.Merge(m, src) +} +func (m *CreateArtifactRequest) XXX_Size() int { + return xxx_messageInfo_CreateArtifactRequest.Size(m) +} +func (m *CreateArtifactRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateArtifactRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateArtifactRequest proto.InternalMessageInfo + +func (m *CreateArtifactRequest) GetArtifactKey() *core.ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +func (m *CreateArtifactRequest) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *CreateArtifactRequest) GetSpec() *ArtifactSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *CreateArtifactRequest) GetPartitions() map[string]string { + if m != nil { + return m.Partitions + } + return nil +} + +func (m *CreateArtifactRequest) GetTag() string { + if m != nil { + return m.Tag + } + return "" +} + +type ArtifactSpec struct { + Value *core.Literal `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but + // forgets to change the name, that is okay. And the reason why this is a separate field is because adding the + // type to all Literals is a lot of work. + Type *core.LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + // Outputs of tasks will have this. + TaskExecution *core.TaskExecutionIdentifier `protobuf:"bytes,5,opt,name=task_execution,json=taskExecution,proto3" json:"task_execution,omitempty"` + // Workflow outputs will have this. + Execution *core.WorkflowExecutionIdentifier `protobuf:"bytes,6,opt,name=execution,proto3" json:"execution,omitempty"` + // Uploads, either from the UI or from the CLI, or FlyteRemote, will have this. + Principal string `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"` + ShortDescription string `protobuf:"bytes,8,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` + LongDescription string `protobuf:"bytes,9,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` + // Additional user metadata + UserMetadata *any.Any `protobuf:"bytes,10,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` + MetadataType string `protobuf:"bytes,11,opt,name=metadata_type,json=metadataType,proto3" json:"metadata_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactSpec) Reset() { *m = ArtifactSpec{} } +func (m *ArtifactSpec) String() string { return proto.CompactTextString(m) } +func (*ArtifactSpec) ProtoMessage() {} +func (*ArtifactSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{2} +} + +func (m *ArtifactSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactSpec.Unmarshal(m, b) +} +func (m *ArtifactSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactSpec.Marshal(b, m, deterministic) +} +func (m *ArtifactSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactSpec.Merge(m, src) +} +func (m *ArtifactSpec) XXX_Size() int { + return xxx_messageInfo_ArtifactSpec.Size(m) +} +func (m *ArtifactSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactSpec proto.InternalMessageInfo + +func (m *ArtifactSpec) GetValue() *core.Literal { + if m != nil { + return m.Value + } + return nil +} + +func (m *ArtifactSpec) GetType() *core.LiteralType { + if m != nil { + return m.Type + } + return nil +} + +func (m *ArtifactSpec) GetTaskExecution() *core.TaskExecutionIdentifier { + if m != nil { + return m.TaskExecution + } + return nil +} + +func (m *ArtifactSpec) GetExecution() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.Execution + } + return nil +} + +func (m *ArtifactSpec) GetPrincipal() string { + if m != nil { + return m.Principal + } + return "" +} + +func (m *ArtifactSpec) GetShortDescription() string { + if m != nil { + return m.ShortDescription + } + return "" +} + +func (m *ArtifactSpec) GetLongDescription() string { + if m != nil { + return m.LongDescription + } + return "" +} + +func (m *ArtifactSpec) GetUserMetadata() *any.Any { + if m != nil { + return m.UserMetadata + } + return nil +} + +func (m *ArtifactSpec) GetMetadataType() string { + if m != nil { + return m.MetadataType + } + return "" +} + +type CreateArtifactResponse struct { + Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateArtifactResponse) Reset() { *m = CreateArtifactResponse{} } +func (m *CreateArtifactResponse) String() string { return proto.CompactTextString(m) } +func (*CreateArtifactResponse) ProtoMessage() {} +func (*CreateArtifactResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{3} +} + +func (m *CreateArtifactResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateArtifactResponse.Unmarshal(m, b) +} +func (m *CreateArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateArtifactResponse.Marshal(b, m, deterministic) +} +func (m *CreateArtifactResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateArtifactResponse.Merge(m, src) +} +func (m *CreateArtifactResponse) XXX_Size() int { + return xxx_messageInfo_CreateArtifactResponse.Size(m) +} +func (m *CreateArtifactResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateArtifactResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateArtifactResponse proto.InternalMessageInfo + +func (m *CreateArtifactResponse) GetArtifact() *Artifact { + if m != nil { + return m.Artifact + } + return nil +} + +type GetArtifactRequest struct { + Query *core.ArtifactQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + // If false, then long_description is not returned. + Details bool `protobuf:"varint,2,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetArtifactRequest) Reset() { *m = GetArtifactRequest{} } +func (m *GetArtifactRequest) String() string { return proto.CompactTextString(m) } +func (*GetArtifactRequest) ProtoMessage() {} +func (*GetArtifactRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{4} +} + +func (m *GetArtifactRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetArtifactRequest.Unmarshal(m, b) +} +func (m *GetArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetArtifactRequest.Marshal(b, m, deterministic) +} +func (m *GetArtifactRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetArtifactRequest.Merge(m, src) +} +func (m *GetArtifactRequest) XXX_Size() int { + return xxx_messageInfo_GetArtifactRequest.Size(m) +} +func (m *GetArtifactRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetArtifactRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetArtifactRequest proto.InternalMessageInfo + +func (m *GetArtifactRequest) GetQuery() *core.ArtifactQuery { + if m != nil { + return m.Query + } + return nil +} + +func (m *GetArtifactRequest) GetDetails() bool { + if m != nil { + return m.Details + } + return false +} + +type GetArtifactResponse struct { + Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetArtifactResponse) Reset() { *m = GetArtifactResponse{} } +func (m *GetArtifactResponse) String() string { return proto.CompactTextString(m) } +func (*GetArtifactResponse) ProtoMessage() {} +func (*GetArtifactResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{5} +} + +func (m *GetArtifactResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetArtifactResponse.Unmarshal(m, b) +} +func (m *GetArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetArtifactResponse.Marshal(b, m, deterministic) +} +func (m *GetArtifactResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetArtifactResponse.Merge(m, src) +} +func (m *GetArtifactResponse) XXX_Size() int { + return xxx_messageInfo_GetArtifactResponse.Size(m) +} +func (m *GetArtifactResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetArtifactResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetArtifactResponse proto.InternalMessageInfo + +func (m *GetArtifactResponse) GetArtifact() *Artifact { + if m != nil { + return m.Artifact + } + return nil +} + +type ListArtifactNamesRequest struct { + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListArtifactNamesRequest) Reset() { *m = ListArtifactNamesRequest{} } +func (m *ListArtifactNamesRequest) String() string { return proto.CompactTextString(m) } +func (*ListArtifactNamesRequest) ProtoMessage() {} +func (*ListArtifactNamesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{6} +} + +func (m *ListArtifactNamesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListArtifactNamesRequest.Unmarshal(m, b) +} +func (m *ListArtifactNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListArtifactNamesRequest.Marshal(b, m, deterministic) +} +func (m *ListArtifactNamesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListArtifactNamesRequest.Merge(m, src) +} +func (m *ListArtifactNamesRequest) XXX_Size() int { + return xxx_messageInfo_ListArtifactNamesRequest.Size(m) +} +func (m *ListArtifactNamesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListArtifactNamesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListArtifactNamesRequest proto.InternalMessageInfo + +func (m *ListArtifactNamesRequest) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *ListArtifactNamesRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +type ListArtifactNamesResponse struct { + ArtifactKeys []*core.ArtifactKey `protobuf:"bytes,1,rep,name=artifact_keys,json=artifactKeys,proto3" json:"artifact_keys,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListArtifactNamesResponse) Reset() { *m = ListArtifactNamesResponse{} } +func (m *ListArtifactNamesResponse) String() string { return proto.CompactTextString(m) } +func (*ListArtifactNamesResponse) ProtoMessage() {} +func (*ListArtifactNamesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{7} +} + +func (m *ListArtifactNamesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListArtifactNamesResponse.Unmarshal(m, b) +} +func (m *ListArtifactNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListArtifactNamesResponse.Marshal(b, m, deterministic) +} +func (m *ListArtifactNamesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListArtifactNamesResponse.Merge(m, src) +} +func (m *ListArtifactNamesResponse) XXX_Size() int { + return xxx_messageInfo_ListArtifactNamesResponse.Size(m) +} +func (m *ListArtifactNamesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListArtifactNamesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListArtifactNamesResponse proto.InternalMessageInfo + +func (m *ListArtifactNamesResponse) GetArtifactKeys() []*core.ArtifactKey { + if m != nil { + return m.ArtifactKeys + } + return nil +} + +type ListArtifactsRequest struct { + ArtifactKey *core.ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListArtifactsRequest) Reset() { *m = ListArtifactsRequest{} } +func (m *ListArtifactsRequest) String() string { return proto.CompactTextString(m) } +func (*ListArtifactsRequest) ProtoMessage() {} +func (*ListArtifactsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{8} +} + +func (m *ListArtifactsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListArtifactsRequest.Unmarshal(m, b) +} +func (m *ListArtifactsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListArtifactsRequest.Marshal(b, m, deterministic) +} +func (m *ListArtifactsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListArtifactsRequest.Merge(m, src) +} +func (m *ListArtifactsRequest) XXX_Size() int { + return xxx_messageInfo_ListArtifactsRequest.Size(m) +} +func (m *ListArtifactsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListArtifactsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListArtifactsRequest proto.InternalMessageInfo + +func (m *ListArtifactsRequest) GetArtifactKey() *core.ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +type ListArtifactsResponse struct { + Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListArtifactsResponse) Reset() { *m = ListArtifactsResponse{} } +func (m *ListArtifactsResponse) String() string { return proto.CompactTextString(m) } +func (*ListArtifactsResponse) ProtoMessage() {} +func (*ListArtifactsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{9} +} + +func (m *ListArtifactsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListArtifactsResponse.Unmarshal(m, b) +} +func (m *ListArtifactsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListArtifactsResponse.Marshal(b, m, deterministic) +} +func (m *ListArtifactsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListArtifactsResponse.Merge(m, src) +} +func (m *ListArtifactsResponse) XXX_Size() int { + return xxx_messageInfo_ListArtifactsResponse.Size(m) +} +func (m *ListArtifactsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListArtifactsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListArtifactsResponse proto.InternalMessageInfo + +func (m *ListArtifactsResponse) GetArtifacts() []*Artifact { + if m != nil { + return m.Artifacts + } + return nil +} + +// Aliases identify a particular version of an artifact. They are different than tags in that they +// have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind, +// at most one version can have any given value at any point. +type AddTagRequest struct { + ArtifactId *core.ArtifactID `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // If true, and another version already has the specified kind/value, set this version instead + Overwrite bool `protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddTagRequest) Reset() { *m = AddTagRequest{} } +func (m *AddTagRequest) String() string { return proto.CompactTextString(m) } +func (*AddTagRequest) ProtoMessage() {} +func (*AddTagRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{10} +} + +func (m *AddTagRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTagRequest.Unmarshal(m, b) +} +func (m *AddTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTagRequest.Marshal(b, m, deterministic) +} +func (m *AddTagRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTagRequest.Merge(m, src) +} +func (m *AddTagRequest) XXX_Size() int { + return xxx_messageInfo_AddTagRequest.Size(m) +} +func (m *AddTagRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddTagRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTagRequest proto.InternalMessageInfo + +func (m *AddTagRequest) GetArtifactId() *core.ArtifactID { + if m != nil { + return m.ArtifactId + } + return nil +} + +func (m *AddTagRequest) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +func (m *AddTagRequest) GetOverwrite() bool { + if m != nil { + return m.Overwrite + } + return false +} + +type AddTagResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddTagResponse) Reset() { *m = AddTagResponse{} } +func (m *AddTagResponse) String() string { return proto.CompactTextString(m) } +func (*AddTagResponse) ProtoMessage() {} +func (*AddTagResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{11} +} + +func (m *AddTagResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTagResponse.Unmarshal(m, b) +} +func (m *AddTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTagResponse.Marshal(b, m, deterministic) +} +func (m *AddTagResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTagResponse.Merge(m, src) +} +func (m *AddTagResponse) XXX_Size() int { + return xxx_messageInfo_AddTagResponse.Size(m) +} +func (m *AddTagResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddTagResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTagResponse proto.InternalMessageInfo + +type CreateTriggerRequest struct { + TriggerLaunchPlan *admin.LaunchPlan `protobuf:"bytes,1,opt,name=trigger_launch_plan,json=triggerLaunchPlan,proto3" json:"trigger_launch_plan,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateTriggerRequest) Reset() { *m = CreateTriggerRequest{} } +func (m *CreateTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*CreateTriggerRequest) ProtoMessage() {} +func (*CreateTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{12} +} + +func (m *CreateTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateTriggerRequest.Unmarshal(m, b) +} +func (m *CreateTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateTriggerRequest.Marshal(b, m, deterministic) +} +func (m *CreateTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTriggerRequest.Merge(m, src) +} +func (m *CreateTriggerRequest) XXX_Size() int { + return xxx_messageInfo_CreateTriggerRequest.Size(m) +} +func (m *CreateTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateTriggerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateTriggerRequest proto.InternalMessageInfo + +func (m *CreateTriggerRequest) GetTriggerLaunchPlan() *admin.LaunchPlan { + if m != nil { + return m.TriggerLaunchPlan + } + return nil +} + +type CreateTriggerResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateTriggerResponse) Reset() { *m = CreateTriggerResponse{} } +func (m *CreateTriggerResponse) String() string { return proto.CompactTextString(m) } +func (*CreateTriggerResponse) ProtoMessage() {} +func (*CreateTriggerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{13} +} + +func (m *CreateTriggerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateTriggerResponse.Unmarshal(m, b) +} +func (m *CreateTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateTriggerResponse.Marshal(b, m, deterministic) +} +func (m *CreateTriggerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTriggerResponse.Merge(m, src) +} +func (m *CreateTriggerResponse) XXX_Size() int { + return xxx_messageInfo_CreateTriggerResponse.Size(m) +} +func (m *CreateTriggerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateTriggerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateTriggerResponse proto.InternalMessageInfo + +type DeleteTriggerRequest struct { + TriggerId *core.Identifier `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteTriggerRequest) Reset() { *m = DeleteTriggerRequest{} } +func (m *DeleteTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteTriggerRequest) ProtoMessage() {} +func (*DeleteTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{14} +} + +func (m *DeleteTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteTriggerRequest.Unmarshal(m, b) +} +func (m *DeleteTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteTriggerRequest.Marshal(b, m, deterministic) +} +func (m *DeleteTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteTriggerRequest.Merge(m, src) +} +func (m *DeleteTriggerRequest) XXX_Size() int { + return xxx_messageInfo_DeleteTriggerRequest.Size(m) +} +func (m *DeleteTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteTriggerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteTriggerRequest proto.InternalMessageInfo + +func (m *DeleteTriggerRequest) GetTriggerId() *core.Identifier { + if m != nil { + return m.TriggerId + } + return nil +} + +type DeleteTriggerResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteTriggerResponse) Reset() { *m = DeleteTriggerResponse{} } +func (m *DeleteTriggerResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteTriggerResponse) ProtoMessage() {} +func (*DeleteTriggerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{15} +} + +func (m *DeleteTriggerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteTriggerResponse.Unmarshal(m, b) +} +func (m *DeleteTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteTriggerResponse.Marshal(b, m, deterministic) +} +func (m *DeleteTriggerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteTriggerResponse.Merge(m, src) +} +func (m *DeleteTriggerResponse) XXX_Size() int { + return xxx_messageInfo_DeleteTriggerResponse.Size(m) +} +func (m *DeleteTriggerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteTriggerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteTriggerResponse proto.InternalMessageInfo + +type ArtifactProducer struct { + // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in + // Admin's domain. + EntityId *core.Identifier `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Outputs *core.VariableMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactProducer) Reset() { *m = ArtifactProducer{} } +func (m *ArtifactProducer) String() string { return proto.CompactTextString(m) } +func (*ArtifactProducer) ProtoMessage() {} +func (*ArtifactProducer) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{16} +} + +func (m *ArtifactProducer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactProducer.Unmarshal(m, b) +} +func (m *ArtifactProducer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactProducer.Marshal(b, m, deterministic) +} +func (m *ArtifactProducer) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactProducer.Merge(m, src) +} +func (m *ArtifactProducer) XXX_Size() int { + return xxx_messageInfo_ArtifactProducer.Size(m) +} +func (m *ArtifactProducer) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactProducer.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactProducer proto.InternalMessageInfo + +func (m *ArtifactProducer) GetEntityId() *core.Identifier { + if m != nil { + return m.EntityId + } + return nil +} + +func (m *ArtifactProducer) GetOutputs() *core.VariableMap { + if m != nil { + return m.Outputs + } + return nil +} + +type RegisterProducerRequest struct { + Producers []*ArtifactProducer `protobuf:"bytes,1,rep,name=producers,proto3" json:"producers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterProducerRequest) Reset() { *m = RegisterProducerRequest{} } +func (m *RegisterProducerRequest) String() string { return proto.CompactTextString(m) } +func (*RegisterProducerRequest) ProtoMessage() {} +func (*RegisterProducerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{17} +} + +func (m *RegisterProducerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterProducerRequest.Unmarshal(m, b) +} +func (m *RegisterProducerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterProducerRequest.Marshal(b, m, deterministic) +} +func (m *RegisterProducerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterProducerRequest.Merge(m, src) +} +func (m *RegisterProducerRequest) XXX_Size() int { + return xxx_messageInfo_RegisterProducerRequest.Size(m) +} +func (m *RegisterProducerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterProducerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterProducerRequest proto.InternalMessageInfo + +func (m *RegisterProducerRequest) GetProducers() []*ArtifactProducer { + if m != nil { + return m.Producers + } + return nil +} + +type ArtifactConsumer struct { + // These should all be launch plan IDs + EntityId *core.Identifier `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Inputs *core.ParameterMap `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactConsumer) Reset() { *m = ArtifactConsumer{} } +func (m *ArtifactConsumer) String() string { return proto.CompactTextString(m) } +func (*ArtifactConsumer) ProtoMessage() {} +func (*ArtifactConsumer) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{18} +} + +func (m *ArtifactConsumer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactConsumer.Unmarshal(m, b) +} +func (m *ArtifactConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactConsumer.Marshal(b, m, deterministic) +} +func (m *ArtifactConsumer) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactConsumer.Merge(m, src) +} +func (m *ArtifactConsumer) XXX_Size() int { + return xxx_messageInfo_ArtifactConsumer.Size(m) +} +func (m *ArtifactConsumer) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactConsumer.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactConsumer proto.InternalMessageInfo + +func (m *ArtifactConsumer) GetEntityId() *core.Identifier { + if m != nil { + return m.EntityId + } + return nil +} + +func (m *ArtifactConsumer) GetInputs() *core.ParameterMap { + if m != nil { + return m.Inputs + } + return nil +} + +type RegisterConsumerRequest struct { + Consumers []*ArtifactConsumer `protobuf:"bytes,1,rep,name=consumers,proto3" json:"consumers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterConsumerRequest) Reset() { *m = RegisterConsumerRequest{} } +func (m *RegisterConsumerRequest) String() string { return proto.CompactTextString(m) } +func (*RegisterConsumerRequest) ProtoMessage() {} +func (*RegisterConsumerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{19} +} + +func (m *RegisterConsumerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterConsumerRequest.Unmarshal(m, b) +} +func (m *RegisterConsumerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterConsumerRequest.Marshal(b, m, deterministic) +} +func (m *RegisterConsumerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterConsumerRequest.Merge(m, src) +} +func (m *RegisterConsumerRequest) XXX_Size() int { + return xxx_messageInfo_RegisterConsumerRequest.Size(m) +} +func (m *RegisterConsumerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterConsumerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterConsumerRequest proto.InternalMessageInfo + +func (m *RegisterConsumerRequest) GetConsumers() []*ArtifactConsumer { + if m != nil { + return m.Consumers + } + return nil +} + +type RegisterResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterResponse) Reset() { *m = RegisterResponse{} } +func (m *RegisterResponse) String() string { return proto.CompactTextString(m) } +func (*RegisterResponse) ProtoMessage() {} +func (*RegisterResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{20} +} + +func (m *RegisterResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterResponse.Unmarshal(m, b) +} +func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterResponse.Marshal(b, m, deterministic) +} +func (m *RegisterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterResponse.Merge(m, src) +} +func (m *RegisterResponse) XXX_Size() int { + return xxx_messageInfo_RegisterResponse.Size(m) +} +func (m *RegisterResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*Artifact)(nil), "flyteidl.artifact.Artifact") + proto.RegisterType((*CreateArtifactRequest)(nil), "flyteidl.artifact.CreateArtifactRequest") + proto.RegisterMapType((map[string]string)(nil), "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry") + proto.RegisterType((*ArtifactSpec)(nil), "flyteidl.artifact.ArtifactSpec") + proto.RegisterType((*CreateArtifactResponse)(nil), "flyteidl.artifact.CreateArtifactResponse") + proto.RegisterType((*GetArtifactRequest)(nil), "flyteidl.artifact.GetArtifactRequest") + proto.RegisterType((*GetArtifactResponse)(nil), "flyteidl.artifact.GetArtifactResponse") + proto.RegisterType((*ListArtifactNamesRequest)(nil), "flyteidl.artifact.ListArtifactNamesRequest") + proto.RegisterType((*ListArtifactNamesResponse)(nil), "flyteidl.artifact.ListArtifactNamesResponse") + proto.RegisterType((*ListArtifactsRequest)(nil), "flyteidl.artifact.ListArtifactsRequest") + proto.RegisterType((*ListArtifactsResponse)(nil), "flyteidl.artifact.ListArtifactsResponse") + proto.RegisterType((*AddTagRequest)(nil), "flyteidl.artifact.AddTagRequest") + proto.RegisterType((*AddTagResponse)(nil), "flyteidl.artifact.AddTagResponse") + proto.RegisterType((*CreateTriggerRequest)(nil), "flyteidl.artifact.CreateTriggerRequest") + proto.RegisterType((*CreateTriggerResponse)(nil), "flyteidl.artifact.CreateTriggerResponse") + proto.RegisterType((*DeleteTriggerRequest)(nil), "flyteidl.artifact.DeleteTriggerRequest") + proto.RegisterType((*DeleteTriggerResponse)(nil), "flyteidl.artifact.DeleteTriggerResponse") + proto.RegisterType((*ArtifactProducer)(nil), "flyteidl.artifact.ArtifactProducer") + proto.RegisterType((*RegisterProducerRequest)(nil), "flyteidl.artifact.RegisterProducerRequest") + proto.RegisterType((*ArtifactConsumer)(nil), "flyteidl.artifact.ArtifactConsumer") + proto.RegisterType((*RegisterConsumerRequest)(nil), "flyteidl.artifact.RegisterConsumerRequest") + proto.RegisterType((*RegisterResponse)(nil), "flyteidl.artifact.RegisterResponse") +} + +func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } + +var fileDescriptor_804518da5936dedb = []byte{ + // 1138 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x5d, 0x73, 0xdb, 0x44, + 0x17, 0xae, 0xeb, 0x7c, 0xd8, 0xc7, 0x71, 0xeb, 0x6e, 0xd3, 0x54, 0x71, 0xf3, 0xbe, 0x75, 0x95, + 0xa1, 0xb8, 0x05, 0xe4, 0x99, 0x84, 0x81, 0xb4, 0x33, 0x05, 0x42, 0xd3, 0x81, 0xd0, 0xa4, 0xa4, + 0x22, 0x7c, 0x0c, 0xd3, 0xc1, 0xb3, 0x96, 0x8e, 0x15, 0x11, 0x59, 0x52, 0x57, 0xab, 0x14, 0x5f, + 0x95, 0x7f, 0xc0, 0xbf, 0xe2, 0x9a, 0x7b, 0xfe, 0x0c, 0xa3, 0xd5, 0xae, 0x24, 0x3b, 0xb2, 0x9b, + 0x21, 0xdc, 0x49, 0x7b, 0x9e, 0xe7, 0x39, 0x1f, 0x3a, 0xe7, 0xac, 0x0d, 0xf7, 0x86, 0xde, 0x98, + 0xa3, 0x6b, 0x7b, 0x3d, 0xca, 0xb8, 0x3b, 0xa4, 0x16, 0xcf, 0x1e, 0x22, 0x23, 0x64, 0x01, 0x0f, + 0xc8, 0x0d, 0x05, 0x31, 0x94, 0xa5, 0xbd, 0xee, 0x04, 0x81, 0xe3, 0x61, 0x4f, 0x00, 0x06, 0xf1, + 0xb0, 0x47, 0xfd, 0x71, 0x8a, 0x6e, 0x77, 0x72, 0x41, 0x7b, 0xe4, 0xfa, 0x3d, 0x8f, 0xc6, 0xbe, + 0x75, 0xd2, 0x0f, 0x3d, 0xea, 0x4b, 0xc4, 0x46, 0x86, 0xb0, 0x02, 0x86, 0x3d, 0xcf, 0xe5, 0xc8, + 0xa8, 0x27, 0xbd, 0xb5, 0xd7, 0x27, 0xad, 0x7c, 0x1c, 0xa2, 0x32, 0xfd, 0x7f, 0xd2, 0xe4, 0xda, + 0xe8, 0x73, 0x77, 0xe8, 0x22, 0x93, 0xf6, 0xbb, 0x93, 0x76, 0x15, 0x6d, 0xdf, 0xb5, 0x25, 0xe0, + 0x7f, 0x53, 0x02, 0x3e, 0x47, 0x36, 0xa4, 0x16, 0xa6, 0x66, 0xfd, 0x8f, 0x0a, 0xd4, 0x76, 0x25, + 0x89, 0x3c, 0x86, 0x46, 0x41, 0x40, 0xab, 0x74, 0x2a, 0xdd, 0xc6, 0xd6, 0xba, 0x91, 0xd5, 0x22, + 0x51, 0x30, 0x14, 0x7a, 0x7f, 0xcf, 0x04, 0x85, 0xde, 0xb7, 0xc9, 0x36, 0x2c, 0x44, 0x21, 0x5a, + 0xda, 0x55, 0x41, 0xba, 0x6b, 0x9c, 0x2b, 0x60, 0x46, 0xfc, 0x2e, 0x44, 0xcb, 0x14, 0x60, 0x42, + 0x60, 0x81, 0x53, 0x27, 0xd2, 0xaa, 0x9d, 0x6a, 0xb7, 0x6e, 0x8a, 0x67, 0xfd, 0xaf, 0xab, 0x70, + 0xeb, 0x29, 0x43, 0xca, 0x51, 0x11, 0x4c, 0x7c, 0x1d, 0x63, 0xc4, 0xc9, 0x13, 0x58, 0xc9, 0xc2, + 0x3b, 0xc5, 0xb1, 0x8c, 0xaf, 0x3d, 0x23, 0xbe, 0xe7, 0x38, 0x36, 0xb3, 0x74, 0x9e, 0xe3, 0x98, + 0x68, 0xb0, 0x7c, 0x86, 0x2c, 0x72, 0x03, 0x5f, 0xab, 0x76, 0x2a, 0xdd, 0xba, 0xa9, 0x5e, 0xff, + 0x5d, 0xec, 0x3f, 0x01, 0x84, 0x89, 0x9d, 0xbb, 0x81, 0x1f, 0x69, 0x0b, 0x9d, 0x6a, 0xb7, 0xb1, + 0xb5, 0x53, 0x42, 0x2d, 0xcd, 0xc5, 0x38, 0xca, 0xa8, 0xcf, 0x7c, 0xce, 0xc6, 0x66, 0x41, 0x8b, + 0xb4, 0xa0, 0xca, 0xa9, 0xa3, 0x2d, 0x8a, 0x20, 0x93, 0xc7, 0xf6, 0x13, 0xb8, 0x3e, 0x45, 0x48, + 0x40, 0xaa, 0x06, 0x75, 0x33, 0x79, 0x24, 0xab, 0xb0, 0x78, 0x46, 0xbd, 0x18, 0x45, 0x1a, 0x75, + 0x33, 0x7d, 0x79, 0x7c, 0x75, 0xa7, 0xa2, 0xff, 0x5d, 0x85, 0x95, 0x62, 0x06, 0xe4, 0x43, 0x05, + 0x4d, 0x4b, 0xb8, 0x36, 0x55, 0xc2, 0x83, 0xb4, 0x3d, 0xa5, 0x04, 0x31, 0x60, 0x21, 0x69, 0x49, + 0x59, 0x9e, 0x76, 0x39, 0xf8, 0x78, 0x1c, 0xa2, 0x29, 0x70, 0xe4, 0x10, 0xae, 0x71, 0x1a, 0x9d, + 0xf6, 0xf1, 0x37, 0xb4, 0xe2, 0x24, 0x64, 0x91, 0x4a, 0x63, 0xeb, 0xfe, 0x14, 0xf3, 0x98, 0x46, + 0xa7, 0xcf, 0x14, 0x66, 0x3f, 0xeb, 0x6c, 0xb3, 0xc9, 0x8b, 0x06, 0xf2, 0x35, 0xd4, 0x73, 0xa5, + 0x25, 0xa1, 0xf4, 0x70, 0x4a, 0xe9, 0xc7, 0x80, 0x9d, 0x0e, 0xbd, 0xe0, 0x4d, 0x99, 0x5a, 0x4e, + 0x26, 0x1b, 0x50, 0x0f, 0x99, 0xeb, 0x5b, 0x6e, 0x48, 0x3d, 0x6d, 0x59, 0x54, 0x29, 0x3f, 0x20, + 0x1f, 0xc0, 0x8d, 0xe8, 0x24, 0x60, 0xbc, 0x6f, 0x63, 0x64, 0x31, 0x37, 0x14, 0xfe, 0x6a, 0x02, + 0xd5, 0x12, 0x86, 0xbd, 0xfc, 0x9c, 0x3c, 0x80, 0x96, 0x17, 0xf8, 0xce, 0x04, 0xb6, 0x2e, 0xb0, + 0xd7, 0x93, 0xf3, 0x22, 0xf4, 0x11, 0x34, 0xe3, 0x08, 0x59, 0x7f, 0x84, 0x9c, 0xda, 0x94, 0x53, + 0x0d, 0x44, 0x0e, 0xab, 0x46, 0xba, 0x50, 0x0c, 0xb5, 0x50, 0x8c, 0x5d, 0x7f, 0x6c, 0xae, 0x24, + 0xd0, 0x43, 0x89, 0x24, 0x9b, 0xd0, 0x54, 0xac, 0xbe, 0xf8, 0x04, 0x0d, 0xe1, 0x62, 0x45, 0x1d, + 0x26, 0x45, 0xd7, 0x5f, 0xc2, 0xda, 0x74, 0x8f, 0x45, 0x61, 0xe0, 0x47, 0x48, 0x3e, 0x85, 0x9a, + 0x6a, 0x43, 0xf9, 0xa5, 0xef, 0xcc, 0xe9, 0x6d, 0x33, 0x03, 0xeb, 0x03, 0x20, 0x5f, 0x21, 0x9f, + 0x9e, 0xbf, 0x2d, 0x58, 0x7c, 0x1d, 0x23, 0x53, 0x83, 0xb7, 0x31, 0x63, 0xf0, 0x5e, 0x26, 0x18, + 0x33, 0x85, 0x26, 0x43, 0x67, 0x23, 0xa7, 0xae, 0x17, 0x89, 0xf6, 0xa9, 0x99, 0xea, 0x55, 0x7f, + 0x01, 0x37, 0x27, 0x7c, 0x5c, 0x36, 0xe6, 0x03, 0xd0, 0x0e, 0xdc, 0x28, 0x13, 0x7c, 0x41, 0x47, + 0x18, 0xa9, 0xc8, 0x35, 0x58, 0x0e, 0x59, 0xf0, 0x2b, 0x4a, 0xcd, 0xba, 0xa9, 0x5e, 0xc9, 0x1a, + 0x2c, 0xd9, 0xc1, 0x88, 0xba, 0xbe, 0x9c, 0x1a, 0xf9, 0xa6, 0xbf, 0x82, 0xf5, 0x12, 0x35, 0x19, + 0xe3, 0xe7, 0xd0, 0x2c, 0x2e, 0xa2, 0x48, 0xab, 0x88, 0xe9, 0x9f, 0xb7, 0x89, 0x56, 0x0a, 0x9b, + 0x28, 0xd2, 0xbf, 0x87, 0xd5, 0xa2, 0x7a, 0xf4, 0xdf, 0x6c, 0x38, 0xdd, 0x84, 0x5b, 0x53, 0xb2, + 0x32, 0xe0, 0x47, 0x50, 0xcf, 0x6e, 0x38, 0x19, 0xec, 0xdc, 0xaa, 0xe6, 0x68, 0xfd, 0x2d, 0x34, + 0x77, 0x6d, 0xfb, 0x98, 0x3a, 0x2a, 0xc6, 0xcb, 0x5c, 0x12, 0xa5, 0x2b, 0x2a, 0x19, 0xcb, 0xe0, + 0x0c, 0xd9, 0x1b, 0xe6, 0x72, 0x14, 0xab, 0xb9, 0x66, 0xe6, 0x07, 0x7a, 0x0b, 0xae, 0xa9, 0x00, + 0xd2, 0x6c, 0xf4, 0x01, 0xac, 0xa6, 0x0d, 0x7f, 0xcc, 0x5c, 0xc7, 0x41, 0xa6, 0x22, 0xfb, 0x06, + 0x6e, 0xf2, 0xf4, 0xa4, 0x5f, 0xb8, 0x81, 0xcf, 0x17, 0x51, 0x5c, 0xd2, 0xc6, 0x81, 0x80, 0x1c, + 0x79, 0xd4, 0x37, 0x6f, 0x48, 0x5a, 0x7e, 0xa4, 0xdf, 0x56, 0x97, 0x50, 0xe6, 0x43, 0x3a, 0x3f, + 0x82, 0xd5, 0x3d, 0xf4, 0xf0, 0x9c, 0xf3, 0x1d, 0x00, 0xe5, 0x7c, 0x66, 0x55, 0x8a, 0x5b, 0x49, + 0x82, 0xf7, 0xed, 0xc4, 0xd5, 0x94, 0xa2, 0x74, 0xf5, 0x7b, 0x05, 0x5a, 0xaa, 0x90, 0x47, 0x2c, + 0xb0, 0x63, 0x0b, 0x19, 0xf9, 0x04, 0xea, 0x89, 0x08, 0x1f, 0x5f, 0xc8, 0x4d, 0x2d, 0xc5, 0xee, + 0xdb, 0xe4, 0x63, 0x58, 0x0e, 0x62, 0x1e, 0xc6, 0x3c, 0x9a, 0xb1, 0xc7, 0x7f, 0xa0, 0xcc, 0xa5, + 0x03, 0x0f, 0x0f, 0x69, 0x68, 0x2a, 0xa8, 0xfe, 0x0a, 0x6e, 0x9b, 0xe8, 0xb8, 0x11, 0x47, 0xa6, + 0x22, 0x50, 0x09, 0xef, 0x26, 0xcb, 0x34, 0x3d, 0x52, 0x3d, 0xb5, 0x39, 0xa7, 0xa7, 0x32, 0x7a, + 0xce, 0xd2, 0xdf, 0xe6, 0xf9, 0x3d, 0x0d, 0xfc, 0x28, 0x1e, 0x5d, 0x22, 0xbf, 0x6d, 0x58, 0x72, + 0xfd, 0x42, 0x7a, 0x77, 0xa6, 0x48, 0x47, 0x94, 0xd1, 0x11, 0x72, 0x64, 0x49, 0x7e, 0x12, 0x5a, + 0x4c, 0x4f, 0x05, 0x50, 0x48, 0xcf, 0x92, 0x47, 0x17, 0x49, 0x2f, 0xa3, 0xe7, 0x2c, 0x9d, 0x40, + 0x4b, 0xa9, 0xab, 0x6f, 0xba, 0xf5, 0xe7, 0x62, 0x9e, 0x73, 0x6a, 0x64, 0x63, 0xe2, 0xc0, 0xb5, + 0xc9, 0x0d, 0x4e, 0xba, 0x17, 0xfd, 0x21, 0xd1, 0x7e, 0x70, 0x01, 0xa4, 0xec, 0xa7, 0x2b, 0xe4, + 0x17, 0x68, 0x14, 0x76, 0x2e, 0x79, 0xaf, 0x84, 0x7b, 0x7e, 0xef, 0xb7, 0xef, 0xbf, 0x0b, 0x96, + 0xe9, 0xdb, 0xd0, 0x9c, 0x98, 0x1a, 0xf2, 0xfe, 0xcc, 0xe8, 0x26, 0xc7, 0xa7, 0xdd, 0x7d, 0x37, + 0xb0, 0xe8, 0x65, 0x62, 0x60, 0x4a, 0xbd, 0x94, 0x0d, 0x69, 0xa9, 0x97, 0xf2, 0xd9, 0xbb, 0x42, + 0xbe, 0x85, 0xa5, 0x74, 0xef, 0x90, 0x4e, 0xd9, 0x77, 0x2f, 0xee, 0xc4, 0xf6, 0xbd, 0x39, 0x88, + 0x4c, 0x10, 0xf3, 0x76, 0xc8, 0xa6, 0xf9, 0x61, 0x09, 0x71, 0xc6, 0xc0, 0xb5, 0x37, 0xe7, 0x60, + 0xcb, 0xdd, 0x64, 0x43, 0x35, 0xcf, 0xcd, 0x54, 0xe3, 0x5f, 0xd0, 0xcd, 0x97, 0x5f, 0xfc, 0xfc, + 0x99, 0xe3, 0xf2, 0x93, 0x78, 0x60, 0x58, 0xc1, 0xa8, 0x27, 0x28, 0x01, 0x73, 0xd2, 0x87, 0x5e, + 0xf6, 0x9f, 0xc3, 0x41, 0xbf, 0x17, 0x0e, 0x3e, 0x72, 0x82, 0xde, 0xb9, 0xff, 0x5c, 0x83, 0x25, + 0xf1, 0xc3, 0x67, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0x25, 0x8b, 0xe7, 0x8f, 0x0d, + 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ArtifactRegistryClient is the client API for ArtifactRegistry service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ArtifactRegistryClient interface { + CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) + GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) + CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*CreateTriggerResponse, error) + DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) + AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) + RegisterProducer(ctx context.Context, in *RegisterProducerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) + RegisterConsumer(ctx context.Context, in *RegisterConsumerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) +} + +type artifactRegistryClient struct { + cc *grpc.ClientConn +} + +func NewArtifactRegistryClient(cc *grpc.ClientConn) ArtifactRegistryClient { + return &artifactRegistryClient{cc} +} + +func (c *artifactRegistryClient) CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) { + out := new(CreateArtifactResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/CreateArtifact", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) { + out := new(GetArtifactResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/GetArtifact", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*CreateTriggerResponse, error) { + out := new(CreateTriggerResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) { + out := new(DeleteTriggerResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) { + out := new(AddTagResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/AddTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) RegisterProducer(ctx context.Context, in *RegisterProducerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) { + out := new(RegisterResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) RegisterConsumer(ctx context.Context, in *RegisterConsumerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) { + out := new(RegisterResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ArtifactRegistryServer is the server API for ArtifactRegistry service. +type ArtifactRegistryServer interface { + CreateArtifact(context.Context, *CreateArtifactRequest) (*CreateArtifactResponse, error) + GetArtifact(context.Context, *GetArtifactRequest) (*GetArtifactResponse, error) + CreateTrigger(context.Context, *CreateTriggerRequest) (*CreateTriggerResponse, error) + DeleteTrigger(context.Context, *DeleteTriggerRequest) (*DeleteTriggerResponse, error) + AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) + RegisterProducer(context.Context, *RegisterProducerRequest) (*RegisterResponse, error) + RegisterConsumer(context.Context, *RegisterConsumerRequest) (*RegisterResponse, error) +} + +// UnimplementedArtifactRegistryServer can be embedded to have forward compatible implementations. +type UnimplementedArtifactRegistryServer struct { +} + +func (*UnimplementedArtifactRegistryServer) CreateArtifact(ctx context.Context, req *CreateArtifactRequest) (*CreateArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateArtifact not implemented") +} +func (*UnimplementedArtifactRegistryServer) GetArtifact(ctx context.Context, req *GetArtifactRequest) (*GetArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetArtifact not implemented") +} +func (*UnimplementedArtifactRegistryServer) CreateTrigger(ctx context.Context, req *CreateTriggerRequest) (*CreateTriggerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTrigger not implemented") +} +func (*UnimplementedArtifactRegistryServer) DeleteTrigger(ctx context.Context, req *DeleteTriggerRequest) (*DeleteTriggerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteTrigger not implemented") +} +func (*UnimplementedArtifactRegistryServer) AddTag(ctx context.Context, req *AddTagRequest) (*AddTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddTag not implemented") +} +func (*UnimplementedArtifactRegistryServer) RegisterProducer(ctx context.Context, req *RegisterProducerRequest) (*RegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterProducer not implemented") +} +func (*UnimplementedArtifactRegistryServer) RegisterConsumer(ctx context.Context, req *RegisterConsumerRequest) (*RegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterConsumer not implemented") +} + +func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer) { + s.RegisterService(&_ArtifactRegistry_serviceDesc, srv) +} + +func _ArtifactRegistry_CreateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateArtifactRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).CreateArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/CreateArtifact", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).CreateArtifact(ctx, req.(*CreateArtifactRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_GetArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetArtifactRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).GetArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/GetArtifact", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).GetArtifact(ctx, req.(*GetArtifactRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_CreateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTriggerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).CreateTrigger(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).CreateTrigger(ctx, req.(*CreateTriggerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_DeleteTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteTriggerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, req.(*DeleteTriggerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_AddTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).AddTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/AddTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).AddTag(ctx, req.(*AddTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_RegisterProducer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterProducerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).RegisterProducer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).RegisterProducer(ctx, req.(*RegisterProducerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_RegisterConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterConsumerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).RegisterConsumer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).RegisterConsumer(ctx, req.(*RegisterConsumerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ArtifactRegistry_serviceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.artifact.ArtifactRegistry", + HandlerType: (*ArtifactRegistryServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateArtifact", + Handler: _ArtifactRegistry_CreateArtifact_Handler, + }, + { + MethodName: "GetArtifact", + Handler: _ArtifactRegistry_GetArtifact_Handler, + }, + { + MethodName: "CreateTrigger", + Handler: _ArtifactRegistry_CreateTrigger_Handler, + }, + { + MethodName: "DeleteTrigger", + Handler: _ArtifactRegistry_DeleteTrigger_Handler, + }, + { + MethodName: "AddTag", + Handler: _ArtifactRegistry_AddTag_Handler, + }, + { + MethodName: "RegisterProducer", + Handler: _ArtifactRegistry_RegisterProducer_Handler, + }, + { + MethodName: "RegisterConsumer", + Handler: _ArtifactRegistry_RegisterConsumer_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/artifact/artifacts.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go new file mode 100644 index 0000000000..1c7b6d40b3 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go @@ -0,0 +1,1713 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/artifact/artifacts.proto + +package artifact + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _artifacts_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on Artifact with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Artifact) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactValidationError{ + field: "Spec", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactValidationError is the validation error returned by +// Artifact.Validate if the designated constraints aren't met. +type ArtifactValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactValidationError) ErrorName() string { return "ArtifactValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifact.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactValidationError{} + +// Validate checks the field values on CreateArtifactRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateArtifactRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateArtifactRequestValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Version + + if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateArtifactRequestValidationError{ + field: "Spec", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Partitions + + // no validation rules for Tag + + return nil +} + +// CreateArtifactRequestValidationError is the validation error returned by +// CreateArtifactRequest.Validate if the designated constraints aren't met. +type CreateArtifactRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateArtifactRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateArtifactRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateArtifactRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateArtifactRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateArtifactRequestValidationError) ErrorName() string { + return "CreateArtifactRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateArtifactRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateArtifactRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateArtifactRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateArtifactRequestValidationError{} + +// Validate checks the field values on ArtifactSpec with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactSpec) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "Value", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "Type", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetTaskExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "TaskExecution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "Execution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Principal + + // no validation rules for ShortDescription + + // no validation rules for LongDescription + + if v, ok := interface{}(m.GetUserMetadata()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "UserMetadata", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for MetadataType + + return nil +} + +// ArtifactSpecValidationError is the validation error returned by +// ArtifactSpec.Validate if the designated constraints aren't met. +type ArtifactSpecValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactSpecValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactSpecValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactSpecValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactSpecValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactSpecValidationError) ErrorName() string { return "ArtifactSpecValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactSpecValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactSpec.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactSpecValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactSpecValidationError{} + +// Validate checks the field values on CreateArtifactResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateArtifactResponse) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateArtifactResponseValidationError{ + field: "Artifact", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CreateArtifactResponseValidationError is the validation error returned by +// CreateArtifactResponse.Validate if the designated constraints aren't met. +type CreateArtifactResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateArtifactResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateArtifactResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateArtifactResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateArtifactResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateArtifactResponseValidationError) ErrorName() string { + return "CreateArtifactResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateArtifactResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateArtifactResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateArtifactResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateArtifactResponseValidationError{} + +// Validate checks the field values on GetArtifactRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *GetArtifactRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetQuery()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return GetArtifactRequestValidationError{ + field: "Query", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Details + + return nil +} + +// GetArtifactRequestValidationError is the validation error returned by +// GetArtifactRequest.Validate if the designated constraints aren't met. +type GetArtifactRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e GetArtifactRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e GetArtifactRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e GetArtifactRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e GetArtifactRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e GetArtifactRequestValidationError) ErrorName() string { + return "GetArtifactRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e GetArtifactRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sGetArtifactRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = GetArtifactRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = GetArtifactRequestValidationError{} + +// Validate checks the field values on GetArtifactResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *GetArtifactResponse) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return GetArtifactResponseValidationError{ + field: "Artifact", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// GetArtifactResponseValidationError is the validation error returned by +// GetArtifactResponse.Validate if the designated constraints aren't met. +type GetArtifactResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e GetArtifactResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e GetArtifactResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e GetArtifactResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e GetArtifactResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e GetArtifactResponseValidationError) ErrorName() string { + return "GetArtifactResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e GetArtifactResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sGetArtifactResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = GetArtifactResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = GetArtifactResponseValidationError{} + +// Validate checks the field values on ListArtifactNamesRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ListArtifactNamesRequest) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + // no validation rules for Domain + + return nil +} + +// ListArtifactNamesRequestValidationError is the validation error returned by +// ListArtifactNamesRequest.Validate if the designated constraints aren't met. +type ListArtifactNamesRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListArtifactNamesRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListArtifactNamesRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListArtifactNamesRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListArtifactNamesRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListArtifactNamesRequestValidationError) ErrorName() string { + return "ListArtifactNamesRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e ListArtifactNamesRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListArtifactNamesRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListArtifactNamesRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListArtifactNamesRequestValidationError{} + +// Validate checks the field values on ListArtifactNamesResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ListArtifactNamesResponse) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetArtifactKeys() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ListArtifactNamesResponseValidationError{ + field: fmt.Sprintf("ArtifactKeys[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ListArtifactNamesResponseValidationError is the validation error returned by +// ListArtifactNamesResponse.Validate if the designated constraints aren't met. +type ListArtifactNamesResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListArtifactNamesResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListArtifactNamesResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListArtifactNamesResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListArtifactNamesResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListArtifactNamesResponseValidationError) ErrorName() string { + return "ListArtifactNamesResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e ListArtifactNamesResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListArtifactNamesResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListArtifactNamesResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListArtifactNamesResponseValidationError{} + +// Validate checks the field values on ListArtifactsRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ListArtifactsRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ListArtifactsRequestValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ListArtifactsRequestValidationError is the validation error returned by +// ListArtifactsRequest.Validate if the designated constraints aren't met. +type ListArtifactsRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListArtifactsRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListArtifactsRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListArtifactsRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListArtifactsRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListArtifactsRequestValidationError) ErrorName() string { + return "ListArtifactsRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e ListArtifactsRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListArtifactsRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListArtifactsRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListArtifactsRequestValidationError{} + +// Validate checks the field values on ListArtifactsResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ListArtifactsResponse) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetArtifacts() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ListArtifactsResponseValidationError{ + field: fmt.Sprintf("Artifacts[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ListArtifactsResponseValidationError is the validation error returned by +// ListArtifactsResponse.Validate if the designated constraints aren't met. +type ListArtifactsResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListArtifactsResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListArtifactsResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListArtifactsResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListArtifactsResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListArtifactsResponseValidationError) ErrorName() string { + return "ListArtifactsResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e ListArtifactsResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListArtifactsResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListArtifactsResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListArtifactsResponseValidationError{} + +// Validate checks the field values on AddTagRequest with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *AddTagRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return AddTagRequestValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Value + + // no validation rules for Overwrite + + return nil +} + +// AddTagRequestValidationError is the validation error returned by +// AddTagRequest.Validate if the designated constraints aren't met. +type AddTagRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e AddTagRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e AddTagRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e AddTagRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e AddTagRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e AddTagRequestValidationError) ErrorName() string { return "AddTagRequestValidationError" } + +// Error satisfies the builtin error interface +func (e AddTagRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sAddTagRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = AddTagRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = AddTagRequestValidationError{} + +// Validate checks the field values on AddTagResponse with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *AddTagResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// AddTagResponseValidationError is the validation error returned by +// AddTagResponse.Validate if the designated constraints aren't met. +type AddTagResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e AddTagResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e AddTagResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e AddTagResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e AddTagResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e AddTagResponseValidationError) ErrorName() string { return "AddTagResponseValidationError" } + +// Error satisfies the builtin error interface +func (e AddTagResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sAddTagResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = AddTagResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = AddTagResponseValidationError{} + +// Validate checks the field values on CreateTriggerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateTriggerRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetTriggerLaunchPlan()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateTriggerRequestValidationError{ + field: "TriggerLaunchPlan", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CreateTriggerRequestValidationError is the validation error returned by +// CreateTriggerRequest.Validate if the designated constraints aren't met. +type CreateTriggerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateTriggerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateTriggerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateTriggerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateTriggerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateTriggerRequestValidationError) ErrorName() string { + return "CreateTriggerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateTriggerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateTriggerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateTriggerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateTriggerRequestValidationError{} + +// Validate checks the field values on CreateTriggerResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateTriggerResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// CreateTriggerResponseValidationError is the validation error returned by +// CreateTriggerResponse.Validate if the designated constraints aren't met. +type CreateTriggerResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateTriggerResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateTriggerResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateTriggerResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateTriggerResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateTriggerResponseValidationError) ErrorName() string { + return "CreateTriggerResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateTriggerResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateTriggerResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateTriggerResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateTriggerResponseValidationError{} + +// Validate checks the field values on DeleteTriggerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DeleteTriggerRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetTriggerId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DeleteTriggerRequestValidationError{ + field: "TriggerId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// DeleteTriggerRequestValidationError is the validation error returned by +// DeleteTriggerRequest.Validate if the designated constraints aren't met. +type DeleteTriggerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DeleteTriggerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DeleteTriggerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DeleteTriggerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DeleteTriggerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DeleteTriggerRequestValidationError) ErrorName() string { + return "DeleteTriggerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e DeleteTriggerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDeleteTriggerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DeleteTriggerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DeleteTriggerRequestValidationError{} + +// Validate checks the field values on DeleteTriggerResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DeleteTriggerResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// DeleteTriggerResponseValidationError is the validation error returned by +// DeleteTriggerResponse.Validate if the designated constraints aren't met. +type DeleteTriggerResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DeleteTriggerResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DeleteTriggerResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DeleteTriggerResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DeleteTriggerResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DeleteTriggerResponseValidationError) ErrorName() string { + return "DeleteTriggerResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e DeleteTriggerResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDeleteTriggerResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DeleteTriggerResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DeleteTriggerResponseValidationError{} + +// Validate checks the field values on ArtifactProducer with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *ArtifactProducer) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetEntityId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactProducerValidationError{ + field: "EntityId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactProducerValidationError{ + field: "Outputs", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactProducerValidationError is the validation error returned by +// ArtifactProducer.Validate if the designated constraints aren't met. +type ArtifactProducerValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactProducerValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactProducerValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactProducerValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactProducerValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactProducerValidationError) ErrorName() string { return "ArtifactProducerValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactProducerValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactProducer.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactProducerValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactProducerValidationError{} + +// Validate checks the field values on RegisterProducerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *RegisterProducerRequest) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetProducers() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return RegisterProducerRequestValidationError{ + field: fmt.Sprintf("Producers[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// RegisterProducerRequestValidationError is the validation error returned by +// RegisterProducerRequest.Validate if the designated constraints aren't met. +type RegisterProducerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RegisterProducerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RegisterProducerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RegisterProducerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RegisterProducerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RegisterProducerRequestValidationError) ErrorName() string { + return "RegisterProducerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e RegisterProducerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRegisterProducerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RegisterProducerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RegisterProducerRequestValidationError{} + +// Validate checks the field values on ArtifactConsumer with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *ArtifactConsumer) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetEntityId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactConsumerValidationError{ + field: "EntityId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactConsumerValidationError{ + field: "Inputs", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactConsumerValidationError is the validation error returned by +// ArtifactConsumer.Validate if the designated constraints aren't met. +type ArtifactConsumerValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactConsumerValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactConsumerValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactConsumerValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactConsumerValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactConsumerValidationError) ErrorName() string { return "ArtifactConsumerValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactConsumerValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactConsumer.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactConsumerValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactConsumerValidationError{} + +// Validate checks the field values on RegisterConsumerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *RegisterConsumerRequest) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetConsumers() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return RegisterConsumerRequestValidationError{ + field: fmt.Sprintf("Consumers[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// RegisterConsumerRequestValidationError is the validation error returned by +// RegisterConsumerRequest.Validate if the designated constraints aren't met. +type RegisterConsumerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RegisterConsumerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RegisterConsumerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RegisterConsumerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RegisterConsumerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RegisterConsumerRequestValidationError) ErrorName() string { + return "RegisterConsumerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e RegisterConsumerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRegisterConsumerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RegisterConsumerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RegisterConsumerRequestValidationError{} + +// Validate checks the field values on RegisterResponse with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *RegisterResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// RegisterResponseValidationError is the validation error returned by +// RegisterResponse.Validate if the designated constraints aren't met. +type RegisterResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RegisterResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RegisterResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RegisterResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RegisterResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RegisterResponseValidationError) ErrorName() string { return "RegisterResponseValidationError" } + +// Error satisfies the builtin error interface +func (e RegisterResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRegisterResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RegisterResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RegisterResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json new file mode 100644 index 0000000000..99a3cafb52 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -0,0 +1,1425 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/artifact/artifacts.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "OAuth2TokenRequestType": { + "type": "string", + "enum": [ + "CLIENT_CREDENTIALS" + ], + "default": "CLIENT_CREDENTIALS", + "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." + }, + "QualityOfServiceTier": { + "type": "string", + "enum": [ + "UNDEFINED", + "HIGH", + "MEDIUM", + "LOW" + ], + "default": "UNDEFINED", + "description": " - UNDEFINED: Default: no quality of service specified." + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "SecretMountType": { + "type": "string", + "enum": [ + "ANY", + "ENV_VAR", + "FILE" + ], + "default": "ANY", + "description": " - ANY: Default case, indicates the client can tolerate either mounting options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable.\n - FILE: FILE indicates the secret needs to be mounted as a file." + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "adminAnnotations": { + "type": "object", + "properties": { + "values": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of custom annotations to be applied to the execution resource." + } + }, + "description": "Annotation values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge annotations defined at registration and execution time." + }, + "adminAuth": { + "type": "object", + "properties": { + "assumable_iam_role": { + "type": "string", + "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + }, + "kubernetes_service_account": { + "type": "string", + "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + } + }, + "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." + }, + "adminAuthRole": { + "type": "object", + "properties": { + "assumable_iam_role": { + "type": "string", + "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + }, + "kubernetes_service_account": { + "type": "string", + "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + } + }, + "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." + }, + "adminCronSchedule": { + "type": "object", + "properties": { + "schedule": { + "type": "string", + "title": "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;\nAlso supports nonstandard predefined scheduling definitions\nas described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\nexcept @reboot" + }, + "offset": { + "type": "string", + "title": "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" + } + }, + "description": "Options for schedules to run according to a cron expression." + }, + "adminEmailNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of email addresses recipients for this notification.\n+required" + } + }, + "description": "Defines an email notification specification." + }, + "adminEnvs": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/coreKeyValuePair" + }, + "description": "Map of custom environment variables to be applied to the execution resource." + } + }, + "description": "Environment variable values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge environment variables defined at registration and execution time." + }, + "adminFixedRate": { + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int64" + }, + "unit": { + "$ref": "#/definitions/adminFixedRateUnit" + } + }, + "description": "Option for schedules run at a certain frequency e.g. every 2 minutes." + }, + "adminFixedRateUnit": { + "type": "string", + "enum": [ + "MINUTE", + "HOUR", + "DAY" + ], + "default": "MINUTE", + "description": "Represents a frequency at which to run a schedule." + }, + "adminLabels": { + "type": "object", + "properties": { + "values": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of custom labels to be applied to the execution resource." + } + }, + "description": "Label values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge labels defined at registration and execution time." + }, + "adminLaunchPlan": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Uniquely identifies a launch plan entity." + }, + "spec": { + "$ref": "#/definitions/adminLaunchPlanSpec", + "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." + }, + "closure": { + "$ref": "#/definitions/adminLaunchPlanClosure", + "description": "Values computed by the flyte platform after launch plan registration." + } + }, + "description": "A LaunchPlan provides the capability to templatize workflow executions.\nLaunch plans simplify associating one or more schedules, inputs and notifications with your workflows.\nLaunch plans can be shared and used to trigger executions with predefined inputs even when a workflow\ndefinition doesn't necessarily have a default value for said input." + }, + "adminLaunchPlanClosure": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/adminLaunchPlanState", + "description": "Indicate the Launch plan state." + }, + "expected_inputs": { + "$ref": "#/definitions/coreParameterMap", + "title": "Indicates the set of inputs expected when creating an execution with the Launch plan" + }, + "expected_outputs": { + "$ref": "#/definitions/coreVariableMap", + "title": "Indicates the set of outputs expected to be produced by creating an execution with the Launch plan" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the launch plan was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the launch plan was last updated." + } + }, + "description": "Values computed by the flyte platform after launch plan registration.\nThese include expected_inputs required to be present in a CreateExecutionRequest\nto launch the reference workflow as well timestamp values associated with the launch plan." + }, + "adminLaunchPlanMetadata": { + "type": "object", + "properties": { + "schedule": { + "$ref": "#/definitions/adminSchedule", + "title": "Schedule to execute the Launch Plan" + }, + "notifications": { + "type": "array", + "items": { + "$ref": "#/definitions/adminNotification" + }, + "title": "List of notifications based on Execution status transitions" + }, + "launch_conditions": { + "$ref": "#/definitions/protobufAny", + "title": "Additional metadata for how to launch the launch plan" + } + }, + "description": "Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch\nthe reference workflow." + }, + "adminLaunchPlanSpec": { + "type": "object", + "properties": { + "workflow_id": { + "$ref": "#/definitions/coreIdentifier", + "title": "Reference to the Workflow template that the launch plan references" + }, + "entity_metadata": { + "$ref": "#/definitions/adminLaunchPlanMetadata", + "title": "Metadata for the Launch Plan" + }, + "default_inputs": { + "$ref": "#/definitions/coreParameterMap", + "description": "Input values to be passed for the execution.\nThese can be overridden when an execution is created with this launch plan." + }, + "fixed_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Fixed, non-overridable inputs for the Launch Plan.\nThese can not be overridden when an execution is created with this launch plan." + }, + "role": { + "type": "string", + "title": "String to indicate the role to use to execute the workflow underneath" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Custom labels to be applied to the execution resource." + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations", + "description": "Custom annotations to be applied to the execution resource." + }, + "auth": { + "$ref": "#/definitions/adminAuth", + "description": "Indicates the permission associated with workflow executions triggered with this launch plan." + }, + "auth_role": { + "$ref": "#/definitions/adminAuthRole" + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "title": "Indicates security context for permissions triggered with this launch plan" + }, + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService", + "description": "Indicates the runtime priority of the execution." + }, + "raw_output_data_config": { + "$ref": "#/definitions/adminRawOutputDataConfig", + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." + }, + "max_parallelism": { + "type": "integer", + "format": "int32", + "description": "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.\nThis is useful to achieve fairness. Note: MapTasks are regarded as one unit,\nand parallelism/concurrency of MapTasks is independent from this." + }, + "interruptible": { + "type": "boolean", + "format": "boolean", + "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." + }, + "overwrite_cache": { + "type": "boolean", + "format": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." + } + }, + "description": "User-provided launch plan definition and configuration values." + }, + "adminLaunchPlanState": { + "type": "string", + "enum": [ + "INACTIVE", + "ACTIVE" + ], + "default": "INACTIVE", + "description": "By default any launch plan regardless of state can be used to launch a workflow execution.\nHowever, at most one version of a launch plan\n(e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be\nactive at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier\ngroup will be observed and trigger executions at a defined cadence." + }, + "adminNotification": { + "type": "object", + "properties": { + "phases": { + "type": "array", + "items": { + "$ref": "#/definitions/coreWorkflowExecutionPhase" + }, + "title": "A list of phases to which users can associate the notifications to.\n+required" + }, + "email": { + "$ref": "#/definitions/adminEmailNotification" + }, + "pager_duty": { + "$ref": "#/definitions/adminPagerDutyNotification" + }, + "slack": { + "$ref": "#/definitions/adminSlackNotification" + } + }, + "description": "Represents a structure for notifications based on execution status.\nThe notification content is configured within flyte admin but can be templatized.\nFuture iterations could expose configuring notifications with custom content." + }, + "adminPagerDutyNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Currently, PagerDuty notifications leverage email to trigger a notification.\n+required" + } + }, + "description": "Defines a pager duty notification specification." + }, + "adminRawOutputDataConfig": { + "type": "object", + "properties": { + "output_location_prefix": { + "type": "string", + "title": "Prefix for where offloaded data from user workflows will be written\ne.g. s3://bucket/key or s3://bucket/" + } + }, + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211 for more background information." + }, + "adminSchedule": { + "type": "object", + "properties": { + "cron_expression": { + "type": "string", + "title": "Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year\ne.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" + }, + "rate": { + "$ref": "#/definitions/adminFixedRate" + }, + "cron_schedule": { + "$ref": "#/definitions/adminCronSchedule" + }, + "kickoff_time_input_arg": { + "type": "string", + "description": "Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off." + } + }, + "description": "Defines complete set of information required to trigger an execution on a schedule." + }, + "adminSlackNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Currently, Slack notifications leverage email to trigger a notification.\n+required" + } + }, + "description": "Defines a slack notification specification." + }, + "artifactAddTagResponse": { + "type": "object" + }, + "artifactArtifact": { + "type": "object", + "properties": { + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + }, + "spec": { + "$ref": "#/definitions/artifactArtifactSpec" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "title": "references the tag field in ArtifactTag" + } + } + }, + "artifactArtifactConsumer": { + "type": "object", + "properties": { + "entity_id": { + "$ref": "#/definitions/coreIdentifier", + "title": "These should all be launch plan IDs" + }, + "inputs": { + "$ref": "#/definitions/coreParameterMap" + } + } + }, + "artifactArtifactProducer": { + "type": "object", + "properties": { + "entity_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in\nAdmin's domain." + }, + "outputs": { + "$ref": "#/definitions/coreVariableMap" + } + } + }, + "artifactArtifactSpec": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but\nforgets to change the name, that is okay. And the reason why this is a separate field is because adding the\ntype to all Literals is a lot of work." + }, + "task_execution": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "Outputs of tasks will have this." + }, + "execution": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Workflow outputs will have this." + }, + "principal": { + "type": "string", + "description": "Uploads, either from the UI or from the CLI, or FlyteRemote, will have this." + }, + "short_description": { + "type": "string" + }, + "long_description": { + "type": "string" + }, + "user_metadata": { + "$ref": "#/definitions/protobufAny", + "title": "Additional user metadata" + }, + "metadata_type": { + "type": "string" + } + } + }, + "artifactCreateArtifactResponse": { + "type": "object", + "properties": { + "artifact": { + "$ref": "#/definitions/artifactArtifact" + } + } + }, + "artifactCreateTriggerResponse": { + "type": "object" + }, + "artifactDeleteTriggerResponse": { + "type": "object" + }, + "artifactGetArtifactResponse": { + "type": "object", + "properties": { + "artifact": { + "$ref": "#/definitions/artifactArtifact" + } + } + }, + "artifactRegisterResponse": { + "type": "object" + }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "coreArtifactQuery": { + "type": "object", + "properties": { + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + }, + "uri": { + "type": "string" + }, + "binding": { + "$ref": "#/definitions/coreArtifactBindingData", + "description": "This is used in the trigger case, where a user specifies a value for an input that is one of the triggering\nartifacts, or a partition value derived from a triggering artifact." + } + }, + "title": "Uniqueness constraints for Artifacts\n - project, domain, name, version, partitions\nOption 2 (tags are standalone, point to an individual artifact id):\n - project, domain, name, alias (points to one partition if partitioned)\n - project, domain, name, partition key, partition value" + }, + "coreArtifactTag": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreIdentifier": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Identifies the specific type of resource that this identifier corresponds to." + }, + "project": { + "type": "string", + "description": "Name of the project the resource belongs to." + }, + "domain": { + "type": "string", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project." + }, + "name": { + "type": "string", + "description": "User provided value for the resource." + }, + "version": { + "type": "string", + "description": "Specific version of the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "coreIdentity": { + "type": "object", + "properties": { + "iam_role": { + "type": "string", + "description": "iam_role references the fully qualified name of Identity \u0026 Access Management role to impersonate." + }, + "k8s_service_account": { + "type": "string", + "description": "k8s_service_account references a kubernetes service account to impersonate." + }, + "oauth2_client": { + "$ref": "#/definitions/coreOAuth2Client", + "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." + }, + "execution_identity": { + "type": "string", + "title": "execution_identity references the subject who makes the execution" + } + }, + "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." + }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, + "coreKeyValuePair": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "required." + }, + "value": { + "type": "string", + "description": "+optional." + } + }, + "description": "A generic key value pair." + }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/coreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "$ref": "#/definitions/protobufStruct", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, + "coreNodeExecutionIdentifier": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "description": "Encapsulation of fields that identify a Flyte node execution entity." + }, + "coreOAuth2Client": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the\nsecret requested matches the client_id indicated here.\n+required" + }, + "client_secret": { + "$ref": "#/definitions/coreSecret", + "title": "client_secret is a reference to the secret used to authenticate the OAuth2 client.\n+required" + } + }, + "description": "OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task." + }, + "coreOAuth2TokenRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for\nenvironment variables and as a filename for mounting tokens as files.\n+required" + }, + "type": { + "$ref": "#/definitions/OAuth2TokenRequestType", + "title": "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n+required" + }, + "client": { + "$ref": "#/definitions/coreOAuth2Client", + "title": "client references the client_id/secret to use to request the OAuth2 token.\n+required" + }, + "idp_discovery_endpoint": { + "type": "string", + "title": "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related\ninformation.\n+optional" + }, + "token_endpoint": { + "type": "string", + "title": "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is\nmandatory.\n+optional" + } + }, + "description": "OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\ntokens are passed through environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens\nare passed through file mounts." + }, + "coreParameter": { + "type": "object", + "properties": { + "var": { + "$ref": "#/definitions/coreVariable", + "description": "+required Variable. Defines the type of the variable backing this parameter." + }, + "default": { + "$ref": "#/definitions/coreLiteral", + "description": "Defines a default value that has to match the variable type defined." + }, + "required": { + "type": "boolean", + "format": "boolean", + "description": "+optional, is this value required to be filled." + }, + "artifact_query": { + "$ref": "#/definitions/coreArtifactQuery", + "description": "This is an execution time search basically that should result in exactly one Artifact with a Type that\nmatches the type of the variable." + }, + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + } + }, + "description": "A parameter is used as input to a launch plan and has\nthe special ability to have a default value or mark itself as required." + }, + "coreParameterMap": { + "type": "object", + "properties": { + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreParameter" + }, + "description": "Defines a map of parameter names to parameters." + } + }, + "description": "A map of Parameters." + }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean", + "format": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "coreQualityOfService": { + "type": "object", + "properties": { + "tier": { + "$ref": "#/definitions/QualityOfServiceTier" + }, + "spec": { + "$ref": "#/definitions/coreQualityOfServiceSpec" + } + }, + "description": "Indicates the priority of an execution." + }, + "coreQualityOfServiceSpec": { + "type": "object", + "properties": { + "queueing_budget": { + "type": "string", + "description": "Indicates how much queueing delay an execution can tolerate." + } + }, + "description": "Represents customized execution run-time attributes." + }, + "coreResourceType": { + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ], + "default": "UNSPECIFIED", + "description": "Indicates a resource type within Flyte.\n\n - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects.\nEventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects \nin a similar manner to other Flyte objects" + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/coreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "$ref": "#/definitions/protobufStruct" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSecret": { + "type": "object", + "properties": { + "group": { + "type": "string", + "title": "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of\nthe v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.\nFor AWS Secret Manager, this should be the name of the secret.\n+required" + }, + "group_version": { + "type": "string", + "title": "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones\nthat do not support it.\n+optional" + }, + "key": { + "type": "string", + "title": "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation\nof the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should\nmatch one of the keys inside the secret. For AWS Secret Manager, it's ignored.\n+optional" + }, + "mount_requirement": { + "$ref": "#/definitions/SecretMountType", + "title": "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail\nif the underlying key management system cannot satisfy that requirement. If not provided, the default location\nwill depend on the key management system.\n+optional" + } + }, + "description": "Secret encapsulates information about the secret a task needs to proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\nsecrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets\nare passed through file mounts." + }, + "coreSecurityContext": { + "type": "object", + "properties": { + "run_as": { + "$ref": "#/definitions/coreIdentity", + "description": "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the\nbackend plugin to choose the appropriate identity for the execution engine the task will run on." + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/definitions/coreSecret" + }, + "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/definitions/coreOAuth2TokenRequest" + }, + "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + } + }, + "description": "SecurityContext holds security attributes that apply to tasks." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "coreTaskExecutionIdentifier": { + "type": "object", + "properties": { + "task_id": { + "$ref": "#/definitions/coreIdentifier" + }, + "node_execution_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier" + }, + "retry_attempt": { + "type": "integer", + "format": "int64" + } + }, + "description": "Encapsulation of fields that identify a Flyte task execution entity." + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "$ref": "#/definitions/protobufStruct", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVariable": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Variable literal type." + }, + "description": { + "type": "string", + "title": "+optional string describing input variable" + }, + "artifact_partial_id": { + "$ref": "#/definitions/coreArtifactID", + "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + } + }, + "description": "Defines a strongly typed variable." + }, + "coreVariableMap": { + "type": "object", + "properties": { + "variables": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreVariable" + }, + "description": "Defines a map of variable names to variables." + } + }, + "title": "A map of Variables" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, + "coreWorkflowExecutionIdentifier": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Name of the project the resource belongs to." + }, + "domain": { + "type": "string", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project." + }, + "name": { + "type": "string", + "description": "User or system provided value for the resource." + } + }, + "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" + }, + "coreWorkflowExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDING", + "SUCCEEDED", + "FAILING", + "FAILED", + "ABORTED", + "TIMED_OUT", + "ABORTING" + ], + "default": "UNDEFINED" + }, + "protobufAny": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufListValue": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufValue" + }, + "description": "Repeated field of dynamically typed values." + } + }, + "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + }, + "protobufStruct": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/protobufValue" + }, + "description": "Unordered map of dynamically typed values." + } + }, + "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." + }, + "protobufValue": { + "type": "object", + "properties": { + "null_value": { + "$ref": "#/definitions/protobufNullValue", + "description": "Represents a null value." + }, + "number_value": { + "type": "number", + "format": "double", + "description": "Represents a double value." + }, + "string_value": { + "type": "string", + "description": "Represents a string value." + }, + "bool_value": { + "type": "boolean", + "format": "boolean", + "description": "Represents a boolean value." + }, + "struct_value": { + "$ref": "#/definitions/protobufStruct", + "description": "Represents a structured value." + }, + "list_value": { + "$ref": "#/definitions/protobufListValue", + "description": "Represents a repeated `Value`." + } + }, + "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." + } + } +} diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go new file mode 100644 index 0000000000..bf7ba4679f --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go @@ -0,0 +1,665 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/core/artifact_id.proto + +package core + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ArtifactKey struct { + // Project and domain and suffix needs to be unique across a given artifact store. + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactKey) Reset() { *m = ArtifactKey{} } +func (m *ArtifactKey) String() string { return proto.CompactTextString(m) } +func (*ArtifactKey) ProtoMessage() {} +func (*ArtifactKey) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{0} +} + +func (m *ArtifactKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactKey.Unmarshal(m, b) +} +func (m *ArtifactKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactKey.Marshal(b, m, deterministic) +} +func (m *ArtifactKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactKey.Merge(m, src) +} +func (m *ArtifactKey) XXX_Size() int { + return xxx_messageInfo_ArtifactKey.Size(m) +} +func (m *ArtifactKey) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactKey.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactKey proto.InternalMessageInfo + +func (m *ArtifactKey) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *ArtifactKey) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ArtifactKey) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Only valid for triggers +type ArtifactBindingData struct { + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + // These two fields are only relevant in the partition value case + PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"` + Transform string `protobuf:"bytes,3,opt,name=transform,proto3" json:"transform,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactBindingData) Reset() { *m = ArtifactBindingData{} } +func (m *ArtifactBindingData) String() string { return proto.CompactTextString(m) } +func (*ArtifactBindingData) ProtoMessage() {} +func (*ArtifactBindingData) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{1} +} + +func (m *ArtifactBindingData) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactBindingData.Unmarshal(m, b) +} +func (m *ArtifactBindingData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactBindingData.Marshal(b, m, deterministic) +} +func (m *ArtifactBindingData) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactBindingData.Merge(m, src) +} +func (m *ArtifactBindingData) XXX_Size() int { + return xxx_messageInfo_ArtifactBindingData.Size(m) +} +func (m *ArtifactBindingData) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactBindingData.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactBindingData proto.InternalMessageInfo + +func (m *ArtifactBindingData) GetIndex() uint32 { + if m != nil { + return m.Index + } + return 0 +} + +func (m *ArtifactBindingData) GetPartitionKey() string { + if m != nil { + return m.PartitionKey + } + return "" +} + +func (m *ArtifactBindingData) GetTransform() string { + if m != nil { + return m.Transform + } + return "" +} + +type InputBindingData struct { + Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InputBindingData) Reset() { *m = InputBindingData{} } +func (m *InputBindingData) String() string { return proto.CompactTextString(m) } +func (*InputBindingData) ProtoMessage() {} +func (*InputBindingData) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{2} +} + +func (m *InputBindingData) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InputBindingData.Unmarshal(m, b) +} +func (m *InputBindingData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InputBindingData.Marshal(b, m, deterministic) +} +func (m *InputBindingData) XXX_Merge(src proto.Message) { + xxx_messageInfo_InputBindingData.Merge(m, src) +} +func (m *InputBindingData) XXX_Size() int { + return xxx_messageInfo_InputBindingData.Size(m) +} +func (m *InputBindingData) XXX_DiscardUnknown() { + xxx_messageInfo_InputBindingData.DiscardUnknown(m) +} + +var xxx_messageInfo_InputBindingData proto.InternalMessageInfo + +func (m *InputBindingData) GetVar() string { + if m != nil { + return m.Var + } + return "" +} + +type LabelValue struct { + // Types that are valid to be assigned to Value: + // *LabelValue_StaticValue + // *LabelValue_TriggeredBinding + // *LabelValue_InputBinding + Value isLabelValue_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LabelValue) Reset() { *m = LabelValue{} } +func (m *LabelValue) String() string { return proto.CompactTextString(m) } +func (*LabelValue) ProtoMessage() {} +func (*LabelValue) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{3} +} + +func (m *LabelValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabelValue.Unmarshal(m, b) +} +func (m *LabelValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabelValue.Marshal(b, m, deterministic) +} +func (m *LabelValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelValue.Merge(m, src) +} +func (m *LabelValue) XXX_Size() int { + return xxx_messageInfo_LabelValue.Size(m) +} +func (m *LabelValue) XXX_DiscardUnknown() { + xxx_messageInfo_LabelValue.DiscardUnknown(m) +} + +var xxx_messageInfo_LabelValue proto.InternalMessageInfo + +type isLabelValue_Value interface { + isLabelValue_Value() +} + +type LabelValue_StaticValue struct { + StaticValue string `protobuf:"bytes,1,opt,name=static_value,json=staticValue,proto3,oneof"` +} + +type LabelValue_TriggeredBinding struct { + TriggeredBinding *ArtifactBindingData `protobuf:"bytes,2,opt,name=triggered_binding,json=triggeredBinding,proto3,oneof"` +} + +type LabelValue_InputBinding struct { + InputBinding *InputBindingData `protobuf:"bytes,3,opt,name=input_binding,json=inputBinding,proto3,oneof"` +} + +func (*LabelValue_StaticValue) isLabelValue_Value() {} + +func (*LabelValue_TriggeredBinding) isLabelValue_Value() {} + +func (*LabelValue_InputBinding) isLabelValue_Value() {} + +func (m *LabelValue) GetValue() isLabelValue_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *LabelValue) GetStaticValue() string { + if x, ok := m.GetValue().(*LabelValue_StaticValue); ok { + return x.StaticValue + } + return "" +} + +func (m *LabelValue) GetTriggeredBinding() *ArtifactBindingData { + if x, ok := m.GetValue().(*LabelValue_TriggeredBinding); ok { + return x.TriggeredBinding + } + return nil +} + +func (m *LabelValue) GetInputBinding() *InputBindingData { + if x, ok := m.GetValue().(*LabelValue_InputBinding); ok { + return x.InputBinding + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*LabelValue) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*LabelValue_StaticValue)(nil), + (*LabelValue_TriggeredBinding)(nil), + (*LabelValue_InputBinding)(nil), + } +} + +type Partitions struct { + Value map[string]*LabelValue `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Partitions) Reset() { *m = Partitions{} } +func (m *Partitions) String() string { return proto.CompactTextString(m) } +func (*Partitions) ProtoMessage() {} +func (*Partitions) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{4} +} + +func (m *Partitions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Partitions.Unmarshal(m, b) +} +func (m *Partitions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Partitions.Marshal(b, m, deterministic) +} +func (m *Partitions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Partitions.Merge(m, src) +} +func (m *Partitions) XXX_Size() int { + return xxx_messageInfo_Partitions.Size(m) +} +func (m *Partitions) XXX_DiscardUnknown() { + xxx_messageInfo_Partitions.DiscardUnknown(m) +} + +var xxx_messageInfo_Partitions proto.InternalMessageInfo + +func (m *Partitions) GetValue() map[string]*LabelValue { + if m != nil { + return m.Value + } + return nil +} + +type ArtifactID struct { + ArtifactKey *ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + // Think of a partition as a tag on an Artifact, except it's a key-value pair. + // Different partitions naturally have different versions (execution ids). + // This is a oneof because of partition querying... we need a way to distinguish between + // a user not-specifying partitions when searching, and specifically searching for an Artifact + // that is not partitioned (this can happen if an Artifact goes from partitioned to non- + // partitioned across executions). + // + // Types that are valid to be assigned to Dimensions: + // *ArtifactID_Partitions + Dimensions isArtifactID_Dimensions `protobuf_oneof:"dimensions"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactID) Reset() { *m = ArtifactID{} } +func (m *ArtifactID) String() string { return proto.CompactTextString(m) } +func (*ArtifactID) ProtoMessage() {} +func (*ArtifactID) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{5} +} + +func (m *ArtifactID) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactID.Unmarshal(m, b) +} +func (m *ArtifactID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactID.Marshal(b, m, deterministic) +} +func (m *ArtifactID) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactID.Merge(m, src) +} +func (m *ArtifactID) XXX_Size() int { + return xxx_messageInfo_ArtifactID.Size(m) +} +func (m *ArtifactID) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactID.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactID proto.InternalMessageInfo + +func (m *ArtifactID) GetArtifactKey() *ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +func (m *ArtifactID) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +type isArtifactID_Dimensions interface { + isArtifactID_Dimensions() +} + +type ArtifactID_Partitions struct { + Partitions *Partitions `protobuf:"bytes,3,opt,name=partitions,proto3,oneof"` +} + +func (*ArtifactID_Partitions) isArtifactID_Dimensions() {} + +func (m *ArtifactID) GetDimensions() isArtifactID_Dimensions { + if m != nil { + return m.Dimensions + } + return nil +} + +func (m *ArtifactID) GetPartitions() *Partitions { + if x, ok := m.GetDimensions().(*ArtifactID_Partitions); ok { + return x.Partitions + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ArtifactID) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ArtifactID_Partitions)(nil), + } +} + +type ArtifactTag struct { + ArtifactKey *ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` + Value *LabelValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactTag) Reset() { *m = ArtifactTag{} } +func (m *ArtifactTag) String() string { return proto.CompactTextString(m) } +func (*ArtifactTag) ProtoMessage() {} +func (*ArtifactTag) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{6} +} + +func (m *ArtifactTag) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactTag.Unmarshal(m, b) +} +func (m *ArtifactTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactTag.Marshal(b, m, deterministic) +} +func (m *ArtifactTag) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactTag.Merge(m, src) +} +func (m *ArtifactTag) XXX_Size() int { + return xxx_messageInfo_ArtifactTag.Size(m) +} +func (m *ArtifactTag) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactTag.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactTag proto.InternalMessageInfo + +func (m *ArtifactTag) GetArtifactKey() *ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +func (m *ArtifactTag) GetValue() *LabelValue { + if m != nil { + return m.Value + } + return nil +} + +// Uniqueness constraints for Artifacts +// - project, domain, name, version, partitions +// Option 2 (tags are standalone, point to an individual artifact id): +// - project, domain, name, alias (points to one partition if partitioned) +// - project, domain, name, partition key, partition value +type ArtifactQuery struct { + // Types that are valid to be assigned to Identifier: + // *ArtifactQuery_ArtifactId + // *ArtifactQuery_ArtifactTag + // *ArtifactQuery_Uri + // *ArtifactQuery_Binding + Identifier isArtifactQuery_Identifier `protobuf_oneof:"identifier"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactQuery) Reset() { *m = ArtifactQuery{} } +func (m *ArtifactQuery) String() string { return proto.CompactTextString(m) } +func (*ArtifactQuery) ProtoMessage() {} +func (*ArtifactQuery) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{7} +} + +func (m *ArtifactQuery) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactQuery.Unmarshal(m, b) +} +func (m *ArtifactQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactQuery.Marshal(b, m, deterministic) +} +func (m *ArtifactQuery) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactQuery.Merge(m, src) +} +func (m *ArtifactQuery) XXX_Size() int { + return xxx_messageInfo_ArtifactQuery.Size(m) +} +func (m *ArtifactQuery) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactQuery.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactQuery proto.InternalMessageInfo + +type isArtifactQuery_Identifier interface { + isArtifactQuery_Identifier() +} + +type ArtifactQuery_ArtifactId struct { + ArtifactId *ArtifactID `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + +type ArtifactQuery_ArtifactTag struct { + ArtifactTag *ArtifactTag `protobuf:"bytes,2,opt,name=artifact_tag,json=artifactTag,proto3,oneof"` +} + +type ArtifactQuery_Uri struct { + Uri string `protobuf:"bytes,3,opt,name=uri,proto3,oneof"` +} + +type ArtifactQuery_Binding struct { + Binding *ArtifactBindingData `protobuf:"bytes,4,opt,name=binding,proto3,oneof"` +} + +func (*ArtifactQuery_ArtifactId) isArtifactQuery_Identifier() {} + +func (*ArtifactQuery_ArtifactTag) isArtifactQuery_Identifier() {} + +func (*ArtifactQuery_Uri) isArtifactQuery_Identifier() {} + +func (*ArtifactQuery_Binding) isArtifactQuery_Identifier() {} + +func (m *ArtifactQuery) GetIdentifier() isArtifactQuery_Identifier { + if m != nil { + return m.Identifier + } + return nil +} + +func (m *ArtifactQuery) GetArtifactId() *ArtifactID { + if x, ok := m.GetIdentifier().(*ArtifactQuery_ArtifactId); ok { + return x.ArtifactId + } + return nil +} + +func (m *ArtifactQuery) GetArtifactTag() *ArtifactTag { + if x, ok := m.GetIdentifier().(*ArtifactQuery_ArtifactTag); ok { + return x.ArtifactTag + } + return nil +} + +func (m *ArtifactQuery) GetUri() string { + if x, ok := m.GetIdentifier().(*ArtifactQuery_Uri); ok { + return x.Uri + } + return "" +} + +func (m *ArtifactQuery) GetBinding() *ArtifactBindingData { + if x, ok := m.GetIdentifier().(*ArtifactQuery_Binding); ok { + return x.Binding + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ArtifactQuery) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ArtifactQuery_ArtifactId)(nil), + (*ArtifactQuery_ArtifactTag)(nil), + (*ArtifactQuery_Uri)(nil), + (*ArtifactQuery_Binding)(nil), + } +} + +type Trigger struct { + // This will be set to a launch plan type, but note that this is different than the actual launch plan type. + TriggerId *Identifier `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` + // These are partial artifact IDs that will be triggered on + // Consider making these ArtifactQuery instead. + Triggers []*ArtifactID `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Trigger) Reset() { *m = Trigger{} } +func (m *Trigger) String() string { return proto.CompactTextString(m) } +func (*Trigger) ProtoMessage() {} +func (*Trigger) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{8} +} + +func (m *Trigger) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Trigger.Unmarshal(m, b) +} +func (m *Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Trigger.Marshal(b, m, deterministic) +} +func (m *Trigger) XXX_Merge(src proto.Message) { + xxx_messageInfo_Trigger.Merge(m, src) +} +func (m *Trigger) XXX_Size() int { + return xxx_messageInfo_Trigger.Size(m) +} +func (m *Trigger) XXX_DiscardUnknown() { + xxx_messageInfo_Trigger.DiscardUnknown(m) +} + +var xxx_messageInfo_Trigger proto.InternalMessageInfo + +func (m *Trigger) GetTriggerId() *Identifier { + if m != nil { + return m.TriggerId + } + return nil +} + +func (m *Trigger) GetTriggers() []*ArtifactID { + if m != nil { + return m.Triggers + } + return nil +} + +func init() { + proto.RegisterType((*ArtifactKey)(nil), "flyteidl.core.ArtifactKey") + proto.RegisterType((*ArtifactBindingData)(nil), "flyteidl.core.ArtifactBindingData") + proto.RegisterType((*InputBindingData)(nil), "flyteidl.core.InputBindingData") + proto.RegisterType((*LabelValue)(nil), "flyteidl.core.LabelValue") + proto.RegisterType((*Partitions)(nil), "flyteidl.core.Partitions") + proto.RegisterMapType((map[string]*LabelValue)(nil), "flyteidl.core.Partitions.ValueEntry") + proto.RegisterType((*ArtifactID)(nil), "flyteidl.core.ArtifactID") + proto.RegisterType((*ArtifactTag)(nil), "flyteidl.core.ArtifactTag") + proto.RegisterType((*ArtifactQuery)(nil), "flyteidl.core.ArtifactQuery") + proto.RegisterType((*Trigger)(nil), "flyteidl.core.Trigger") +} + +func init() { proto.RegisterFile("flyteidl/core/artifact_id.proto", fileDescriptor_1079b0707e23f978) } + +var fileDescriptor_1079b0707e23f978 = []byte{ + // 612 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xc1, 0x6e, 0xd3, 0x4c, + 0x10, 0x8e, 0x9b, 0xb6, 0xf9, 0x3b, 0x4e, 0xa4, 0xfe, 0x0b, 0x42, 0x4e, 0x84, 0x68, 0xe5, 0xf6, + 0xd0, 0x0b, 0xb6, 0x14, 0x84, 0x54, 0x85, 0x02, 0x22, 0x0a, 0x28, 0x56, 0x39, 0x50, 0x37, 0xe2, + 0xc0, 0x25, 0xda, 0xc4, 0x1b, 0xb3, 0x34, 0x59, 0x47, 0xeb, 0x4d, 0x84, 0x91, 0x78, 0x14, 0xde, + 0x81, 0x97, 0xe1, 0x3d, 0x78, 0x04, 0xb4, 0xeb, 0x5d, 0x3b, 0x89, 0xf0, 0xa1, 0xe2, 0xb6, 0x33, + 0xf9, 0xe6, 0xf3, 0x37, 0x5f, 0x66, 0x06, 0x4e, 0x66, 0xf3, 0x4c, 0x10, 0x1a, 0xcd, 0xfd, 0x69, + 0xc2, 0x89, 0x8f, 0xb9, 0xa0, 0x33, 0x3c, 0x15, 0x63, 0x1a, 0x79, 0x4b, 0x9e, 0x88, 0x04, 0xb5, + 0x0c, 0xc0, 0x93, 0x80, 0xce, 0x93, 0x6d, 0x3c, 0x8d, 0x08, 0x13, 0x74, 0x46, 0x09, 0xcf, 0xe1, + 0xee, 0x2d, 0xd8, 0x6f, 0x34, 0xc7, 0x35, 0xc9, 0x90, 0x03, 0x8d, 0x25, 0x4f, 0xbe, 0x90, 0xa9, + 0x70, 0xac, 0x53, 0xeb, 0xe2, 0x28, 0x34, 0x21, 0x7a, 0x04, 0x87, 0x51, 0xb2, 0xc0, 0x94, 0x39, + 0x7b, 0xea, 0x07, 0x1d, 0x21, 0x04, 0xfb, 0x0c, 0x2f, 0x88, 0x53, 0x57, 0x59, 0xf5, 0x76, 0x19, + 0x3c, 0x30, 0xa4, 0x7d, 0xca, 0x22, 0xca, 0xe2, 0x01, 0x16, 0x18, 0x3d, 0x84, 0x03, 0xca, 0x22, + 0xf2, 0x55, 0x51, 0xb7, 0xc2, 0x3c, 0x40, 0x67, 0xd0, 0x5a, 0xca, 0x36, 0x04, 0x4d, 0xd8, 0xf8, + 0x8e, 0x64, 0x9a, 0xbf, 0x59, 0x24, 0xa5, 0xae, 0xc7, 0x70, 0x24, 0x38, 0x66, 0xe9, 0x2c, 0xe1, + 0x0b, 0xfd, 0xa9, 0x32, 0xe1, 0x9e, 0xc3, 0x71, 0xc0, 0x96, 0xab, 0xad, 0x8f, 0x1d, 0x43, 0x7d, + 0x8d, 0xb9, 0xee, 0x42, 0x3e, 0xdd, 0x5f, 0x16, 0xc0, 0x7b, 0x3c, 0x21, 0xf3, 0x8f, 0x78, 0xbe, + 0x22, 0xe8, 0x0c, 0x9a, 0xa9, 0xc0, 0x82, 0x4e, 0xc7, 0x6b, 0x19, 0xe7, 0xc8, 0x61, 0x2d, 0xb4, + 0xf3, 0x6c, 0x0e, 0xba, 0x81, 0xff, 0x05, 0xa7, 0x71, 0x4c, 0x38, 0x89, 0xc6, 0x93, 0x9c, 0x5e, + 0x09, 0xb4, 0xbb, 0xae, 0xb7, 0xe5, 0xb4, 0xf7, 0x97, 0x8e, 0x87, 0xb5, 0xf0, 0xb8, 0x28, 0xd7, + 0x79, 0xf4, 0x0e, 0x5a, 0x54, 0x8a, 0x2d, 0xe8, 0xea, 0x8a, 0xee, 0x64, 0x87, 0x6e, 0xb7, 0xa1, + 0x61, 0x2d, 0x6c, 0xd2, 0x8d, 0x5c, 0xbf, 0x01, 0x07, 0x4a, 0xb8, 0xfb, 0xc3, 0x02, 0xf8, 0x60, + 0xcc, 0x4a, 0x51, 0x4f, 0xe7, 0x1d, 0xeb, 0xb4, 0x7e, 0x61, 0x77, 0xcf, 0x77, 0x78, 0x4b, 0xa4, + 0xa7, 0x5a, 0x7c, 0xcb, 0x04, 0xcf, 0xc2, 0xbc, 0xa4, 0x73, 0x0b, 0x50, 0x26, 0xa5, 0x85, 0xf2, + 0xff, 0xd0, 0x16, 0xde, 0x91, 0x0c, 0xf9, 0x86, 0x3b, 0xb7, 0xa0, 0xbd, 0xc3, 0x5d, 0xba, 0xab, + 0x09, 0x7b, 0x7b, 0x97, 0x96, 0xfb, 0xd3, 0x02, 0x30, 0xe6, 0x04, 0x03, 0xf4, 0x12, 0x9a, 0xc5, + 0xd4, 0x1a, 0x7a, 0xbb, 0xdb, 0xa9, 0x70, 0xf3, 0x9a, 0x64, 0xa1, 0x8d, 0xb7, 0x27, 0x74, 0x4d, + 0x78, 0x4a, 0x13, 0x33, 0x88, 0x26, 0x44, 0x2f, 0x00, 0x8a, 0x99, 0x49, 0xb5, 0xab, 0xed, 0xca, + 0xee, 0x87, 0xb5, 0x70, 0x03, 0xde, 0x6f, 0x02, 0x44, 0x74, 0x41, 0x98, 0x64, 0x4a, 0xdd, 0xef, + 0xe5, 0x56, 0x8c, 0x70, 0xfc, 0xaf, 0x92, 0xef, 0xeb, 0x9a, 0xfb, 0xdb, 0x82, 0x96, 0x61, 0xbb, + 0x59, 0x11, 0x9e, 0xa1, 0x2b, 0xb0, 0x37, 0x56, 0x5d, 0x0b, 0x68, 0x57, 0x08, 0x08, 0x06, 0xb2, + 0x39, 0x83, 0x0f, 0x22, 0xf4, 0x7a, 0x43, 0xbf, 0xc0, 0x66, 0x80, 0xab, 0xf4, 0x8f, 0x70, 0x2c, + 0xd7, 0x00, 0x6f, 0x18, 0x80, 0xa0, 0xbe, 0xe2, 0x34, 0x5f, 0xbc, 0x61, 0x2d, 0x94, 0x01, 0x7a, + 0x05, 0x0d, 0x33, 0xc1, 0xfb, 0xf7, 0x58, 0x08, 0x53, 0x24, 0x1d, 0x2f, 0xaf, 0x91, 0xfb, 0x0d, + 0x1a, 0xa3, 0x7c, 0x53, 0xd0, 0x25, 0x80, 0x5e, 0x9a, 0xea, 0x56, 0x83, 0xa2, 0x52, 0xde, 0x01, + 0x05, 0x0e, 0x22, 0xf4, 0x1c, 0xfe, 0xd3, 0x41, 0xea, 0xec, 0xa9, 0xe9, 0xaf, 0xb6, 0x28, 0x2c, + 0xa0, 0xfd, 0xab, 0x4f, 0xbd, 0x98, 0x8a, 0xcf, 0xab, 0x89, 0x37, 0x4d, 0x16, 0xbe, 0x2a, 0x48, + 0x78, 0x9c, 0x3f, 0xfc, 0xe2, 0x7e, 0xc6, 0x84, 0xf9, 0xcb, 0xc9, 0xd3, 0x38, 0xf1, 0xb7, 0x4e, + 0xea, 0xe4, 0x50, 0x1d, 0xd2, 0x67, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x29, 0x9b, 0xf7, 0x47, + 0x9a, 0x05, 0x00, 0x00, +} diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go new file mode 100644 index 0000000000..4ae8664822 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go @@ -0,0 +1,798 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/core/artifact_id.proto + +package core + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _artifact_id_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on ArtifactKey with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactKey) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + // no validation rules for Domain + + // no validation rules for Name + + return nil +} + +// ArtifactKeyValidationError is the validation error returned by +// ArtifactKey.Validate if the designated constraints aren't met. +type ArtifactKeyValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactKeyValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactKeyValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactKeyValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactKeyValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactKeyValidationError) ErrorName() string { return "ArtifactKeyValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactKeyValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactKey.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactKeyValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactKeyValidationError{} + +// Validate checks the field values on ArtifactBindingData with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ArtifactBindingData) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Index + + // no validation rules for PartitionKey + + // no validation rules for Transform + + return nil +} + +// ArtifactBindingDataValidationError is the validation error returned by +// ArtifactBindingData.Validate if the designated constraints aren't met. +type ArtifactBindingDataValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactBindingDataValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactBindingDataValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactBindingDataValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactBindingDataValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactBindingDataValidationError) ErrorName() string { + return "ArtifactBindingDataValidationError" +} + +// Error satisfies the builtin error interface +func (e ArtifactBindingDataValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactBindingData.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactBindingDataValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactBindingDataValidationError{} + +// Validate checks the field values on InputBindingData with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *InputBindingData) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Var + + return nil +} + +// InputBindingDataValidationError is the validation error returned by +// InputBindingData.Validate if the designated constraints aren't met. +type InputBindingDataValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e InputBindingDataValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e InputBindingDataValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e InputBindingDataValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e InputBindingDataValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e InputBindingDataValidationError) ErrorName() string { return "InputBindingDataValidationError" } + +// Error satisfies the builtin error interface +func (e InputBindingDataValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sInputBindingData.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = InputBindingDataValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = InputBindingDataValidationError{} + +// Validate checks the field values on LabelValue with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *LabelValue) Validate() error { + if m == nil { + return nil + } + + switch m.Value.(type) { + + case *LabelValue_StaticValue: + // no validation rules for StaticValue + + case *LabelValue_TriggeredBinding: + + if v, ok := interface{}(m.GetTriggeredBinding()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LabelValueValidationError{ + field: "TriggeredBinding", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *LabelValue_InputBinding: + + if v, ok := interface{}(m.GetInputBinding()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LabelValueValidationError{ + field: "InputBinding", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// LabelValueValidationError is the validation error returned by +// LabelValue.Validate if the designated constraints aren't met. +type LabelValueValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e LabelValueValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e LabelValueValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e LabelValueValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e LabelValueValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e LabelValueValidationError) ErrorName() string { return "LabelValueValidationError" } + +// Error satisfies the builtin error interface +func (e LabelValueValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sLabelValue.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = LabelValueValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = LabelValueValidationError{} + +// Validate checks the field values on Partitions with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Partitions) Validate() error { + if m == nil { + return nil + } + + for key, val := range m.GetValue() { + _ = val + + // no validation rules for Value[key] + + if v, ok := interface{}(val).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return PartitionsValidationError{ + field: fmt.Sprintf("Value[%v]", key), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// PartitionsValidationError is the validation error returned by +// Partitions.Validate if the designated constraints aren't met. +type PartitionsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e PartitionsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e PartitionsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e PartitionsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e PartitionsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e PartitionsValidationError) ErrorName() string { return "PartitionsValidationError" } + +// Error satisfies the builtin error interface +func (e PartitionsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sPartitions.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = PartitionsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = PartitionsValidationError{} + +// Validate checks the field values on ArtifactID with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *ArtifactID) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactIDValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Version + + switch m.Dimensions.(type) { + + case *ArtifactID_Partitions: + + if v, ok := interface{}(m.GetPartitions()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactIDValidationError{ + field: "Partitions", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ArtifactIDValidationError is the validation error returned by +// ArtifactID.Validate if the designated constraints aren't met. +type ArtifactIDValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactIDValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactIDValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactIDValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactIDValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactIDValidationError) ErrorName() string { return "ArtifactIDValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactIDValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactID.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactIDValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactIDValidationError{} + +// Validate checks the field values on ArtifactTag with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactTag) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactTagValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactTagValidationError{ + field: "Value", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactTagValidationError is the validation error returned by +// ArtifactTag.Validate if the designated constraints aren't met. +type ArtifactTagValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactTagValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactTagValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactTagValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactTagValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactTagValidationError) ErrorName() string { return "ArtifactTagValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactTagValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactTag.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactTagValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactTagValidationError{} + +// Validate checks the field values on ArtifactQuery with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactQuery) Validate() error { + if m == nil { + return nil + } + + switch m.Identifier.(type) { + + case *ArtifactQuery_ArtifactId: + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactQueryValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *ArtifactQuery_ArtifactTag: + + if v, ok := interface{}(m.GetArtifactTag()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactQueryValidationError{ + field: "ArtifactTag", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *ArtifactQuery_Uri: + // no validation rules for Uri + + case *ArtifactQuery_Binding: + + if v, ok := interface{}(m.GetBinding()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactQueryValidationError{ + field: "Binding", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ArtifactQueryValidationError is the validation error returned by +// ArtifactQuery.Validate if the designated constraints aren't met. +type ArtifactQueryValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactQueryValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactQueryValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactQueryValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactQueryValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactQueryValidationError) ErrorName() string { return "ArtifactQueryValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactQueryValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactQuery.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactQueryValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactQueryValidationError{} + +// Validate checks the field values on Trigger with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Trigger) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetTriggerId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TriggerValidationError{ + field: "TriggerId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetTriggers() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TriggerValidationError{ + field: fmt.Sprintf("Triggers[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// TriggerValidationError is the validation error returned by Trigger.Validate +// if the designated constraints aren't met. +type TriggerValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e TriggerValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e TriggerValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e TriggerValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e TriggerValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e TriggerValidationError) ErrorName() string { return "TriggerValidationError" } + +// Error satisfies the builtin error interface +func (e TriggerValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sTrigger.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = TriggerValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = TriggerValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json new file mode 100644 index 0000000000..f668848aa5 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json @@ -0,0 +1,19 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/artifact_id.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": {} +} diff --git a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go index d3af1639f4..521b92942d 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go @@ -25,10 +25,14 @@ type Variable struct { // Variable literal type. Type *LiteralType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` //+optional string describing input variable - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + //+optional This object allows the user to specify how Artifacts are created. + // name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. + ArtifactPartialId *ArtifactID `protobuf:"bytes,3,opt,name=artifact_partial_id,json=artifactPartialId,proto3" json:"artifact_partial_id,omitempty"` + ArtifactTag *ArtifactTag `protobuf:"bytes,4,opt,name=artifact_tag,json=artifactTag,proto3" json:"artifact_tag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Variable) Reset() { *m = Variable{} } @@ -70,6 +74,20 @@ func (m *Variable) GetDescription() string { return "" } +func (m *Variable) GetArtifactPartialId() *ArtifactID { + if m != nil { + return m.ArtifactPartialId + } + return nil +} + +func (m *Variable) GetArtifactTag() *ArtifactTag { + if m != nil { + return m.ArtifactTag + } + return nil +} + // A map of Variables type VariableMap struct { // Defines a map of variable names to variables. @@ -169,6 +187,8 @@ type Parameter struct { // Types that are valid to be assigned to Behavior: // *Parameter_Default // *Parameter_Required + // *Parameter_ArtifactQuery + // *Parameter_ArtifactId Behavior isParameter_Behavior `protobuf_oneof:"behavior"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -219,10 +239,22 @@ type Parameter_Required struct { Required bool `protobuf:"varint,3,opt,name=required,proto3,oneof"` } +type Parameter_ArtifactQuery struct { + ArtifactQuery *ArtifactQuery `protobuf:"bytes,4,opt,name=artifact_query,json=artifactQuery,proto3,oneof"` +} + +type Parameter_ArtifactId struct { + ArtifactId *ArtifactID `protobuf:"bytes,5,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + func (*Parameter_Default) isParameter_Behavior() {} func (*Parameter_Required) isParameter_Behavior() {} +func (*Parameter_ArtifactQuery) isParameter_Behavior() {} + +func (*Parameter_ArtifactId) isParameter_Behavior() {} + func (m *Parameter) GetBehavior() isParameter_Behavior { if m != nil { return m.Behavior @@ -244,11 +276,27 @@ func (m *Parameter) GetRequired() bool { return false } +func (m *Parameter) GetArtifactQuery() *ArtifactQuery { + if x, ok := m.GetBehavior().(*Parameter_ArtifactQuery); ok { + return x.ArtifactQuery + } + return nil +} + +func (m *Parameter) GetArtifactId() *ArtifactID { + if x, ok := m.GetBehavior().(*Parameter_ArtifactId); ok { + return x.ArtifactId + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*Parameter) XXX_OneofWrappers() []interface{} { return []interface{}{ (*Parameter_Default)(nil), (*Parameter_Required)(nil), + (*Parameter_ArtifactQuery)(nil), + (*Parameter_ArtifactId)(nil), } } @@ -306,32 +354,39 @@ func init() { func init() { proto.RegisterFile("flyteidl/core/interface.proto", fileDescriptor_cd7be6cbe85c3def) } var fileDescriptor_cd7be6cbe85c3def = []byte{ - // 426 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x5d, 0x6b, 0xd4, 0x40, - 0x14, 0xed, 0xec, 0x6a, 0xbb, 0x7b, 0xa3, 0x55, 0xe6, 0x41, 0x63, 0xa8, 0x10, 0xf2, 0xb4, 0x45, - 0x9a, 0x40, 0xf4, 0x41, 0x8a, 0x4f, 0x05, 0xb1, 0xa2, 0x82, 0x0c, 0x7e, 0x80, 0xf8, 0x32, 0xd9, - 0xdc, 0x4d, 0x07, 0xd3, 0xcc, 0x38, 0x99, 0x04, 0xe2, 0xef, 0xf0, 0x6f, 0xf8, 0xe6, 0x0f, 0x94, - 0x7c, 0x36, 0x59, 0x1a, 0x7c, 0x9b, 0x3b, 0xe7, 0x9c, 0x9c, 0x93, 0x39, 0x5c, 0x78, 0xba, 0x4b, - 0x2b, 0x83, 0x22, 0x4e, 0x83, 0xad, 0xd4, 0x18, 0x88, 0xcc, 0xa0, 0xde, 0xf1, 0x2d, 0xfa, 0x4a, - 0x4b, 0x23, 0xe9, 0xfd, 0x1e, 0xf6, 0x6b, 0xd8, 0x79, 0x32, 0x65, 0x9b, 0x4a, 0x61, 0xde, 0x32, - 0x9d, 0x93, 0x29, 0x94, 0x0a, 0x83, 0x9a, 0xa7, 0x1d, 0xea, 0x7d, 0x87, 0xd5, 0x17, 0xae, 0x05, - 0x8f, 0x52, 0xa4, 0x3e, 0xdc, 0xa9, 0x85, 0x36, 0x71, 0xc9, 0xc6, 0x0a, 0x1d, 0x7f, 0x62, 0xe1, - 0xbf, 0x6f, 0x85, 0x9f, 0x2a, 0x85, 0xac, 0xe1, 0x51, 0x17, 0xac, 0x18, 0xf3, 0xad, 0x16, 0xca, - 0x08, 0x99, 0xd9, 0x0b, 0x97, 0x6c, 0xd6, 0x6c, 0x7c, 0xe5, 0xfd, 0x21, 0x60, 0xf5, 0x9f, 0xff, - 0xc0, 0x15, 0x7d, 0x03, 0xeb, 0xb2, 0x1b, 0x73, 0x9b, 0xb8, 0xcb, 0x8d, 0x15, 0x9e, 0xee, 0xd9, - 0x8c, 0xe8, 0xc3, 0x39, 0x7f, 0x9d, 0x19, 0x5d, 0xb1, 0x1b, 0xad, 0xf3, 0x19, 0x8e, 0xa7, 0x20, - 0x7d, 0x08, 0xcb, 0x1f, 0x58, 0x35, 0xd9, 0xd7, 0xac, 0x3e, 0xd2, 0x33, 0xb8, 0x5b, 0xf2, 0xb4, - 0xc0, 0x26, 0x98, 0x15, 0x3e, 0x9e, 0x31, 0x62, 0x2d, 0xeb, 0x7c, 0xf1, 0x92, 0x78, 0xbf, 0xe0, - 0xb8, 0xfe, 0xbf, 0xf8, 0x6d, 0xff, 0xda, 0x34, 0x84, 0x43, 0x91, 0xa9, 0xc2, 0xe4, 0x33, 0xaf, - 0x32, 0x8a, 0xcb, 0x3a, 0x26, 0x7d, 0x01, 0x47, 0xb2, 0x30, 0x8d, 0x68, 0xf1, 0x5f, 0x51, 0x4f, - 0xf5, 0x7e, 0x13, 0x58, 0x7f, 0xe4, 0x9a, 0x5f, 0xa3, 0x41, 0x4d, 0x4f, 0x61, 0x59, 0x72, 0xdd, - 0x99, 0xce, 0x46, 0xaf, 0x39, 0x34, 0x84, 0xa3, 0x18, 0x77, 0xbc, 0x48, 0x4d, 0x67, 0xf7, 0xe8, - 0xf6, 0xe6, 0x2e, 0x0f, 0x58, 0x4f, 0xa4, 0x27, 0xb0, 0xd2, 0xf8, 0xb3, 0x10, 0x1a, 0x63, 0x7b, - 0xe9, 0x92, 0xcd, 0xea, 0xf2, 0x80, 0x0d, 0x37, 0x17, 0x00, 0xab, 0x08, 0xaf, 0x78, 0x29, 0xa4, - 0xf6, 0xfe, 0x12, 0xb8, 0x37, 0xc4, 0xaa, 0x3b, 0x7c, 0x07, 0xa0, 0xfa, 0xb9, 0x2f, 0xf1, 0xd9, - 0x9e, 0xe3, 0x58, 0x70, 0x33, 0x74, 0x35, 0x8e, 0xe4, 0xce, 0x57, 0x78, 0xb0, 0x07, 0xdf, 0x52, - 0xa4, 0x3f, 0x2d, 0xd2, 0x9e, 0x33, 0x1b, 0x35, 0x79, 0xf1, 0xea, 0xdb, 0x79, 0x22, 0xcc, 0x55, - 0x11, 0xf9, 0x5b, 0x79, 0x1d, 0x34, 0x02, 0xa9, 0x93, 0xf6, 0x10, 0x0c, 0x1b, 0x91, 0x60, 0x16, - 0xa8, 0xe8, 0x2c, 0x91, 0xc1, 0x64, 0x49, 0xa2, 0xc3, 0x66, 0x39, 0x9e, 0xff, 0x0b, 0x00, 0x00, - 0xff, 0xff, 0x80, 0x20, 0x83, 0x61, 0x85, 0x03, 0x00, 0x00, + // 535 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xcd, 0x6e, 0xd3, 0x40, + 0x10, 0x8e, 0x93, 0xfe, 0x24, 0xe3, 0x36, 0xc0, 0x22, 0x81, 0x1b, 0x05, 0x11, 0xf9, 0x94, 0x0a, + 0xd5, 0x96, 0x0c, 0x07, 0x54, 0x95, 0x03, 0x15, 0x15, 0xb1, 0x00, 0xa9, 0xac, 0x0a, 0x48, 0x5c, + 0xaa, 0xb5, 0xbd, 0x71, 0x57, 0xb8, 0xb6, 0xbb, 0x5e, 0x47, 0x32, 0x6f, 0xc2, 0x43, 0x70, 0xe3, + 0x99, 0x78, 0x8e, 0xca, 0x3f, 0xeb, 0xd8, 0x51, 0xac, 0xde, 0x66, 0x3c, 0xdf, 0x37, 0xdf, 0x78, + 0xe6, 0xd3, 0xc2, 0x8b, 0x65, 0x90, 0x09, 0xca, 0xbc, 0xc0, 0x74, 0x23, 0x4e, 0x4d, 0x16, 0x0a, + 0xca, 0x97, 0xc4, 0xa5, 0x46, 0xcc, 0x23, 0x11, 0xa1, 0x43, 0x59, 0x36, 0xf2, 0xf2, 0xe4, 0xa8, + 0x8d, 0x16, 0x59, 0x4c, 0x93, 0x12, 0x39, 0x99, 0xb6, 0x4b, 0x01, 0x13, 0x94, 0x93, 0x40, 0x56, + 0x5f, 0xb6, 0xab, 0x84, 0x0b, 0xb6, 0x24, 0xae, 0xb8, 0x66, 0x5e, 0x09, 0xd0, 0xff, 0x2b, 0x30, + 0xfc, 0x4e, 0x38, 0x23, 0x4e, 0x40, 0x91, 0x01, 0x3b, 0x79, 0x6b, 0x4d, 0x99, 0x29, 0x73, 0xd5, + 0x9a, 0x18, 0xad, 0x21, 0x8c, 0xcf, 0x65, 0xeb, 0xab, 0x2c, 0xa6, 0xb8, 0xc0, 0xa1, 0x19, 0xa8, + 0x1e, 0x4d, 0x5c, 0xce, 0x62, 0xc1, 0xa2, 0x50, 0xeb, 0xcf, 0x94, 0xf9, 0x08, 0x37, 0x3f, 0x21, + 0x1b, 0x9e, 0xd6, 0x9a, 0x71, 0x1e, 0x91, 0xe0, 0x9a, 0x79, 0xda, 0xa0, 0x10, 0x38, 0xda, 0x10, + 0x78, 0x5f, 0x21, 0xed, 0x0f, 0xf8, 0x89, 0x64, 0x5d, 0x96, 0x24, 0xdb, 0x43, 0xef, 0xe0, 0xa0, + 0x6e, 0x25, 0x88, 0xaf, 0xed, 0x6c, 0x1d, 0x52, 0xf6, 0xb8, 0x22, 0x3e, 0x56, 0xc9, 0x3a, 0xd1, + 0xff, 0x2a, 0xa0, 0xca, 0x1f, 0xfd, 0x42, 0x62, 0xf4, 0x11, 0x46, 0xab, 0x2a, 0x4d, 0x34, 0x65, + 0x36, 0x98, 0xab, 0xd6, 0xf1, 0x46, 0xaf, 0x06, 0xbc, 0x8e, 0x93, 0x8b, 0x50, 0xf0, 0x0c, 0xaf, + 0xb9, 0x93, 0x6f, 0x30, 0x6e, 0x17, 0xd1, 0x63, 0x18, 0xfc, 0xa2, 0x59, 0xb1, 0xc5, 0x11, 0xce, + 0x43, 0x74, 0x02, 0xbb, 0x2b, 0x12, 0xa4, 0xb4, 0x58, 0x91, 0x6a, 0x3d, 0xef, 0x10, 0xc2, 0x25, + 0xea, 0xb4, 0xff, 0x56, 0xd1, 0x7f, 0xc3, 0x38, 0xdf, 0xb4, 0x67, 0x4b, 0x67, 0x20, 0x0b, 0xf6, + 0x58, 0x18, 0xa7, 0x22, 0xe9, 0xb8, 0x4f, 0x63, 0x5c, 0x5c, 0x21, 0xd1, 0x1b, 0xd8, 0x8f, 0x52, + 0x51, 0x90, 0xfa, 0x0f, 0x92, 0x24, 0x54, 0xff, 0xd3, 0x87, 0xd1, 0x25, 0xe1, 0xe4, 0x96, 0x0a, + 0xca, 0xd1, 0x31, 0x0c, 0x56, 0x84, 0x57, 0xa2, 0x9d, 0xa3, 0xe7, 0x18, 0x64, 0xc1, 0xbe, 0x47, + 0x97, 0x24, 0x0d, 0x44, 0x25, 0xf7, 0x6c, 0xbb, 0x87, 0x16, 0x3d, 0x2c, 0x81, 0x68, 0x0a, 0x43, + 0x4e, 0xef, 0x52, 0xc6, 0x69, 0xe9, 0x8b, 0xe1, 0xa2, 0x87, 0xeb, 0x2f, 0xe8, 0x02, 0xc6, 0xf5, + 0xd5, 0xef, 0x52, 0xca, 0xb3, 0xea, 0xee, 0xd3, 0x8e, 0xbb, 0x7f, 0xcd, 0x31, 0x8b, 0x1e, 0x3e, + 0x24, 0xcd, 0x0f, 0xe8, 0x0c, 0xd4, 0x86, 0xf7, 0xb5, 0xdd, 0x07, 0xfc, 0xb7, 0xe8, 0x61, 0x90, + 0x78, 0xdb, 0x3b, 0x07, 0x18, 0x3a, 0xf4, 0x86, 0xac, 0x58, 0xc4, 0xf5, 0x7f, 0x0a, 0x1c, 0xd4, + 0xbb, 0xc9, 0x8d, 0xf4, 0x09, 0x20, 0x96, 0xb9, 0x74, 0xd2, 0xab, 0x8d, 0xce, 0x4d, 0xc2, 0x3a, + 0xa9, 0xbc, 0xd4, 0xa0, 0x4f, 0x7e, 0xc0, 0xa3, 0x8d, 0xf2, 0x16, 0x37, 0x19, 0x6d, 0x37, 0x69, + 0x5d, 0x62, 0x0d, 0x3b, 0x9d, 0x9f, 0xfd, 0x3c, 0xf5, 0x99, 0xb8, 0x49, 0x1d, 0xc3, 0x8d, 0x6e, + 0xcd, 0x82, 0x10, 0x71, 0xbf, 0x0c, 0xcc, 0xfa, 0x91, 0xf0, 0x69, 0x68, 0xc6, 0xce, 0x89, 0x1f, + 0x99, 0xad, 0x77, 0xc3, 0xd9, 0x2b, 0x1e, 0x8b, 0xd7, 0xf7, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1d, + 0xd6, 0x76, 0x1a, 0xb6, 0x04, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go index 6e51a5e88f..91aaf0f6f8 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go @@ -55,6 +55,26 @@ func (m *Variable) Validate() error { // no validation rules for Description + if v, ok := interface{}(m.GetArtifactPartialId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return VariableValidationError{ + field: "ArtifactPartialId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetArtifactTag()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return VariableValidationError{ + field: "ArtifactTag", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } @@ -313,6 +333,30 @@ func (m *Parameter) Validate() error { case *Parameter_Required: // no validation rules for Required + case *Parameter_ArtifactQuery: + + if v, ok := interface{}(m.GetArtifactQuery()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ParameterValidationError{ + field: "ArtifactQuery", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *Parameter_ArtifactId: + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ParameterValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + } return nil diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go index 0103c73b52..cc53755642 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go @@ -723,10 +723,12 @@ type Literal struct { // A hash representing this literal. // This is used for caching purposes. For more details refer to RFC 1893 // (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md) - Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` + // Additional metadata for literals. + Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Literal) Reset() { *m = Literal{} } @@ -811,6 +813,13 @@ func (m *Literal) GetHash() string { return "" } +func (m *Literal) GetMetadata() map[string]string { + if m != nil { + return m.Metadata + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*Literal) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -1292,6 +1301,7 @@ func init() { proto.RegisterType((*StructuredDataset)(nil), "flyteidl.core.StructuredDataset") proto.RegisterType((*Scalar)(nil), "flyteidl.core.Scalar") proto.RegisterType((*Literal)(nil), "flyteidl.core.Literal") + proto.RegisterMapType((map[string]string)(nil), "flyteidl.core.Literal.MetadataEntry") proto.RegisterType((*LiteralCollection)(nil), "flyteidl.core.LiteralCollection") proto.RegisterType((*LiteralMap)(nil), "flyteidl.core.LiteralMap") proto.RegisterMapType((map[string]*Literal)(nil), "flyteidl.core.LiteralMap.LiteralsEntry") @@ -1308,72 +1318,74 @@ func init() { func init() { proto.RegisterFile("flyteidl/core/literals.proto", fileDescriptor_a1a523b10667cdfb) } var fileDescriptor_a1a523b10667cdfb = []byte{ - // 1069 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0x1b, 0xc5, - 0x17, 0xf7, 0xda, 0x8e, 0x3f, 0x8e, 0x93, 0xbf, 0xfe, 0x19, 0x12, 0xba, 0x31, 0xa5, 0x98, 0xa5, - 0x12, 0xae, 0x4a, 0xec, 0x92, 0xa2, 0x12, 0x05, 0xae, 0xdc, 0x94, 0xb8, 0x82, 0xaa, 0xcd, 0xa6, - 0x14, 0x09, 0x21, 0x45, 0x63, 0x7b, 0xb2, 0x19, 0x65, 0xbd, 0x63, 0xcd, 0x8e, 0x23, 0xed, 0x13, - 0xf0, 0x26, 0x5c, 0x72, 0xc1, 0x63, 0xf0, 0x34, 0x3c, 0x02, 0x9a, 0xaf, 0xf5, 0x7a, 0x77, 0x9d, - 0x96, 0xbb, 0xd9, 0x39, 0xbf, 0xf3, 0x7d, 0x7e, 0x67, 0x07, 0xee, 0x5f, 0x85, 0x89, 0x20, 0x74, - 0x16, 0x0e, 0xa7, 0x8c, 0x93, 0x61, 0x48, 0x05, 0xe1, 0x38, 0x8c, 0x07, 0x0b, 0xce, 0x04, 0x43, - 0x3b, 0x56, 0x3a, 0x90, 0xd2, 0xee, 0x67, 0x01, 0x63, 0x41, 0x48, 0x86, 0x4a, 0x38, 0x59, 0x5e, - 0x0d, 0x05, 0x9d, 0x93, 0x58, 0xe0, 0xf9, 0x42, 0xe3, 0xbb, 0x0f, 0xf2, 0x80, 0xd9, 0x92, 0x63, - 0x41, 0x59, 0x64, 0xe4, 0xf7, 0xf3, 0xf2, 0x58, 0xf0, 0xe5, 0x54, 0x18, 0xe9, 0xc1, 0x7a, 0x2c, - 0x22, 0x59, 0x10, 0x13, 0x88, 0xf7, 0x7b, 0x15, 0xda, 0x6f, 0x38, 0x9d, 0x53, 0x41, 0x6f, 0x09, - 0xea, 0x42, 0x93, 0x46, 0x82, 0x04, 0x84, 0xbb, 0x4e, 0xcf, 0xe9, 0xd7, 0xc6, 0x15, 0xdf, 0x5e, - 0xa0, 0xcf, 0xa1, 0x73, 0x15, 0x32, 0x2c, 0x2e, 0x6f, 0x71, 0xb8, 0x24, 0x6e, 0xb5, 0xe7, 0xf4, - 0x9d, 0x71, 0xc5, 0x07, 0x75, 0xf9, 0x4e, 0xde, 0xa1, 0x2f, 0x60, 0x3b, 0x16, 0x9c, 0x46, 0x81, - 0xc1, 0xd4, 0x7a, 0x4e, 0xbf, 0x3d, 0xae, 0xf8, 0x1d, 0x7d, 0xab, 0x41, 0x5d, 0x68, 0x4e, 0x18, - 0x0b, 0x09, 0x8e, 0xdc, 0x7a, 0xcf, 0xe9, 0xb7, 0xa4, 0x0f, 0x73, 0x81, 0x8e, 0xa1, 0x35, 0xc3, - 0x82, 0xc8, 0xec, 0xdd, 0xad, 0x9e, 0xd3, 0xef, 0x1c, 0x75, 0x07, 0x3a, 0xb3, 0x81, 0xcd, 0x6c, - 0xf0, 0xd6, 0x96, 0x66, 0x5c, 0xf1, 0x53, 0x34, 0xfa, 0x16, 0x5a, 0xb6, 0x24, 0x6e, 0x43, 0x69, - 0x1e, 0x14, 0x34, 0x4f, 0x0d, 0x40, 0x29, 0x9a, 0xf3, 0xa8, 0x09, 0x5b, 0x2a, 0x58, 0xaf, 0x01, - 0xf5, 0x77, 0x8c, 0xce, 0xbc, 0x73, 0xa8, 0x8f, 0x42, 0x36, 0x91, 0x16, 0xe7, 0x44, 0xe0, 0x19, - 0x16, 0x58, 0x15, 0xa3, 0x73, 0xf4, 0xc9, 0x60, 0xad, 0x6b, 0x03, 0x09, 0x7b, 0x65, 0x20, 0x7e, - 0x0a, 0x46, 0xff, 0x87, 0xda, 0x92, 0x53, 0x9d, 0xbc, 0x2f, 0x8f, 0xde, 0x77, 0xb0, 0x9d, 0xc5, - 0xa2, 0xc7, 0x50, 0x97, 0x3d, 0x30, 0x66, 0xef, 0x95, 0x98, 0x7d, 0x9b, 0x2c, 0x88, 0xaf, 0x40, - 0xde, 0x13, 0x68, 0x8c, 0x68, 0x84, 0x79, 0x82, 0xf6, 0x4c, 0xa8, 0x4a, 0x6f, 0xdb, 0xd7, 0x1f, - 0xd2, 0x9d, 0xc0, 0x81, 0xea, 0x47, 0xdb, 0x97, 0x47, 0xef, 0x25, 0x34, 0x2e, 0xa6, 0xd7, 0x64, - 0x9e, 0x86, 0xe2, 0xa4, 0xa1, 0xa0, 0x43, 0xe3, 0xba, 0x66, 0x6a, 0xb4, 0xee, 0x5a, 0xab, 0x65, - 0x9c, 0x13, 0xd8, 0xfa, 0x39, 0xa2, 0x2c, 0x42, 0x5f, 0x65, 0x7d, 0x77, 0x8e, 0x3e, 0xce, 0x29, - 0xfe, 0xa4, 0xc7, 0xdb, 0xc6, 0x34, 0x30, 0x5e, 0xaa, 0xa6, 0x87, 0xa5, 0xe0, 0x8c, 0x9b, 0x04, - 0x0e, 0x2e, 0xd4, 0xc0, 0x2e, 0x39, 0x99, 0x9d, 0x62, 0x81, 0x63, 0x22, 0xd2, 0x6a, 0xfd, 0x06, - 0xf7, 0xe2, 0x54, 0x78, 0x39, 0xd3, 0xd2, 0xcb, 0x4c, 0x01, 0x1f, 0xe6, 0xb3, 0xc8, 0x9b, 0x52, - 0x9e, 0xf6, 0xe3, 0xb2, 0x6b, 0xef, 0x06, 0x76, 0x0b, 0xf8, 0x92, 0xba, 0x9d, 0x66, 0xa6, 0x41, - 0x67, 0xd5, 0x7f, 0x9f, 0xd7, 0xe2, 0x68, 0x78, 0xff, 0xd4, 0x64, 0x6b, 0x70, 0x88, 0x39, 0x3a, - 0x86, 0xf6, 0xc2, 0xf2, 0xce, 0xe4, 0xe1, 0xe6, 0x2c, 0xa6, 0xbc, 0x1c, 0x57, 0xfc, 0x15, 0x18, - 0x3d, 0x82, 0xfa, 0x24, 0x64, 0x13, 0x13, 0xc6, 0x47, 0x25, 0xd3, 0x33, 0xae, 0xf8, 0x0a, 0x82, - 0x86, 0xd0, 0x98, 0xa8, 0xd9, 0x31, 0xfd, 0xde, 0xcf, 0x83, 0x95, 0x70, 0x5c, 0xf1, 0x0d, 0x4c, - 0x2a, 0xc4, 0x6a, 0x06, 0x14, 0x37, 0x8b, 0x0a, 0x7a, 0x40, 0xa4, 0x82, 0x86, 0xa1, 0x23, 0x68, - 0x47, 0x2c, 0x22, 0xba, 0x1d, 0x5b, 0xa5, 0x11, 0x49, 0x56, 0x49, 0xca, 0x49, 0x9c, 0x2c, 0xb9, - 0x9c, 0x25, 0xc2, 0x39, 0xe3, 0x86, 0xa8, 0x7b, 0x39, 0xfc, 0x0b, 0x29, 0x1b, 0x57, 0x7c, 0x0d, - 0x42, 0x4f, 0xa1, 0x19, 0x90, 0x88, 0x70, 0x3a, 0x75, 0x9b, 0x86, 0x2f, 0x79, 0x62, 0xeb, 0xd2, - 0xcb, 0x45, 0x62, 0x90, 0xe8, 0x1c, 0x50, 0x71, 0x66, 0xdc, 0x96, 0xd2, 0xef, 0xbd, 0xaf, 0x71, - 0xe3, 0x8a, 0xbf, 0x5b, 0x18, 0x16, 0x19, 0xf5, 0x52, 0x52, 0xc1, 0x6d, 0x97, 0x46, 0xad, 0x68, - 0x22, 0xa3, 0x56, 0xa0, 0xd5, 0x5a, 0xf9, 0xdb, 0x81, 0xa6, 0x19, 0x78, 0x5d, 0x5d, 0xd9, 0x7d, - 0xd3, 0xf0, 0x62, 0x75, 0xa5, 0x50, 0x57, 0x57, 0x0d, 0xc9, 0x08, 0x60, 0xca, 0xc2, 0x90, 0x4c, - 0xd5, 0x5e, 0xab, 0x96, 0x86, 0x6f, 0x8c, 0x3f, 0x4f, 0x71, 0x72, 0x29, 0xaf, 0xb4, 0xd0, 0x21, - 0xd4, 0xe6, 0x78, 0xb1, 0x81, 0xf0, 0x46, 0xf9, 0x15, 0x96, 0xdb, 0x54, 0xe2, 0x10, 0x82, 0xfa, - 0x35, 0x8e, 0xaf, 0x55, 0xff, 0xdb, 0xbe, 0x3a, 0xaf, 0x92, 0x39, 0x83, 0xdd, 0x82, 0x3b, 0x74, - 0x04, 0x2d, 0xfb, 0x77, 0x73, 0x9d, 0x5e, 0xed, 0x8e, 0xed, 0x90, 0xe2, 0xbc, 0x3f, 0x1c, 0x80, - 0x95, 0x6f, 0xf4, 0xbc, 0x60, 0xe2, 0xcb, 0x8d, 0x81, 0xda, 0x63, 0xfc, 0x22, 0x12, 0x3c, 0x59, - 0xd9, 0xec, 0x5e, 0xc0, 0xce, 0x9a, 0x48, 0xb2, 0xf8, 0x86, 0x24, 0x96, 0xc5, 0x37, 0x24, 0x59, - 0x6d, 0xb1, 0xea, 0x07, 0x6c, 0xb1, 0x93, 0xea, 0xb1, 0xe3, 0xbd, 0x86, 0xfd, 0x11, 0x8d, 0x66, - 0x34, 0x0a, 0xe4, 0x1c, 0x64, 0xb2, 0x7e, 0x06, 0xad, 0x89, 0x16, 0xd8, 0x90, 0xbb, 0x45, 0x72, - 0x59, 0x3d, 0x3f, 0xc5, 0x7a, 0x7f, 0x39, 0xf0, 0xbf, 0x8c, 0x44, 0x66, 0x7f, 0x56, 0x30, 0xf5, - 0x78, 0xb3, 0x29, 0x59, 0x01, 0xf3, 0x69, 0x2b, 0x60, 0x95, 0xbb, 0xbf, 0xc0, 0xce, 0x9a, 0xa8, - 0xa4, 0x02, 0x4f, 0xd6, 0x2b, 0x70, 0x57, 0xcc, 0x99, 0x2a, 0x9c, 0x41, 0x5b, 0xcd, 0xf7, 0xcb, - 0xe8, 0x8a, 0xa1, 0x13, 0x00, 0x81, 0x79, 0xa0, 0xf7, 0xa7, 0x99, 0xe4, 0xbb, 0x56, 0x7c, 0x06, - 0xed, 0xfd, 0x59, 0x85, 0x4e, 0xc6, 0xc7, 0x7f, 0x67, 0xc4, 0x0f, 0x25, 0x8c, 0x78, 0xb8, 0x39, - 0x89, 0x8d, 0xac, 0x38, 0x81, 0xe6, 0x82, 0xb3, 0x39, 0x8d, 0xed, 0xaf, 0xf0, 0x41, 0xce, 0xc8, - 0xeb, 0xa5, 0x58, 0x2c, 0x85, 0x4f, 0xae, 0x08, 0x27, 0xd1, 0x54, 0xae, 0x60, 0xab, 0x80, 0xbe, - 0xd6, 0x8c, 0xd2, 0x1b, 0xf2, 0xd3, 0x3b, 0x5b, 0x65, 0x59, 0x35, 0xb0, 0xcb, 0x63, 0xab, 0x74, - 0xd3, 0xa7, 0xc5, 0x2d, 0xac, 0x8f, 0x73, 0x68, 0x1a, 0x8b, 0xb2, 0x99, 0xb7, 0xa6, 0x50, 0x6d, - 0x5f, 0x1e, 0xd1, 0x37, 0xd0, 0x34, 0xbd, 0xff, 0x80, 0x76, 0x5a, 0xa8, 0xf7, 0x0c, 0xb6, 0x7f, - 0x24, 0x89, 0x7a, 0x8c, 0xbd, 0xc1, 0x94, 0x97, 0x0c, 0xc9, 0x5e, 0x76, 0x48, 0xda, 0x66, 0x10, - 0xbc, 0x47, 0xb0, 0xe3, 0x13, 0xc1, 0x93, 0x0b, 0xc1, 0xb1, 0x20, 0x41, 0x82, 0x5c, 0x68, 0x72, - 0x22, 0x38, 0x25, 0xb1, 0x4a, 0x6b, 0xc7, 0xb7, 0x9f, 0xa3, 0xef, 0x7f, 0x3d, 0x09, 0xa8, 0xb8, - 0x5e, 0x4e, 0x06, 0x53, 0x36, 0x1f, 0xaa, 0x98, 0x18, 0x0f, 0xf4, 0x61, 0x98, 0x3e, 0x46, 0x03, - 0x12, 0x0d, 0x17, 0x93, 0xc3, 0x80, 0x0d, 0xd7, 0xde, 0xa7, 0x93, 0x86, 0x5a, 0xec, 0x4f, 0xff, - 0x0d, 0x00, 0x00, 0xff, 0xff, 0x14, 0xe5, 0x95, 0x9d, 0x43, 0x0b, 0x00, 0x00, + // 1095 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xf6, 0xfa, 0xdf, 0xc7, 0x31, 0x22, 0x43, 0x43, 0x37, 0xa6, 0x14, 0xb3, 0x54, 0xc2, 0x55, + 0x9b, 0x75, 0x49, 0x51, 0x89, 0x52, 0x2e, 0x90, 0x9b, 0x12, 0x57, 0x50, 0xb5, 0xd9, 0x94, 0x22, + 0x21, 0xa4, 0x68, 0x6c, 0x8f, 0x37, 0xab, 0xac, 0x77, 0xac, 0xd9, 0x71, 0x24, 0x3f, 0x01, 0x6f, + 0xc2, 0x25, 0x17, 0xbc, 0x05, 0x6f, 0xc3, 0x23, 0xa0, 0xf9, 0x5b, 0xaf, 0x77, 0xd7, 0x49, 0xb9, + 0x9b, 0x9d, 0xf3, 0x9d, 0xff, 0xf3, 0x9d, 0x59, 0xb8, 0x37, 0x0b, 0x57, 0x9c, 0x04, 0xd3, 0x70, + 0x30, 0xa1, 0x8c, 0x0c, 0xc2, 0x80, 0x13, 0x86, 0xc3, 0xd8, 0x5d, 0x30, 0xca, 0x29, 0xea, 0x18, + 0xa9, 0x2b, 0xa4, 0xdd, 0x2f, 0x7c, 0x4a, 0xfd, 0x90, 0x0c, 0xa4, 0x70, 0xbc, 0x9c, 0x0d, 0x78, + 0x30, 0x27, 0x31, 0xc7, 0xf3, 0x85, 0xc2, 0x77, 0xef, 0x67, 0x01, 0xd3, 0x25, 0xc3, 0x3c, 0xa0, + 0x91, 0x96, 0xdf, 0xcb, 0xca, 0x63, 0xce, 0x96, 0x13, 0xae, 0xa5, 0xfb, 0x9b, 0xb1, 0xf0, 0xd5, + 0x82, 0xe8, 0x40, 0x9c, 0x3f, 0xca, 0xd0, 0x7a, 0xcb, 0x82, 0x79, 0xc0, 0x83, 0x6b, 0x82, 0xba, + 0xd0, 0x08, 0x22, 0x4e, 0x7c, 0xc2, 0x6c, 0xab, 0x67, 0xf5, 0x2b, 0xa3, 0x92, 0x67, 0x2e, 0xd0, + 0x97, 0xd0, 0x9e, 0x85, 0x14, 0xf3, 0x8b, 0x6b, 0x1c, 0x2e, 0x89, 0x5d, 0xee, 0x59, 0x7d, 0x6b, + 0x54, 0xf2, 0x40, 0x5e, 0xbe, 0x17, 0x77, 0xe8, 0x2b, 0xd8, 0x89, 0x39, 0x0b, 0x22, 0x5f, 0x63, + 0x2a, 0x3d, 0xab, 0xdf, 0x1a, 0x95, 0xbc, 0xb6, 0xba, 0x55, 0xa0, 0x2e, 0x34, 0xc6, 0x94, 0x86, + 0x04, 0x47, 0x76, 0xb5, 0x67, 0xf5, 0x9b, 0xc2, 0x87, 0xbe, 0x40, 0x47, 0xd0, 0x9c, 0x62, 0x4e, + 0x44, 0xf6, 0x76, 0xad, 0x67, 0xf5, 0xdb, 0x87, 0x5d, 0x57, 0x65, 0xe6, 0x9a, 0xcc, 0xdc, 0x77, + 0xa6, 0x34, 0xa3, 0x92, 0x97, 0xa0, 0xd1, 0x77, 0xd0, 0x34, 0x25, 0xb1, 0xeb, 0x52, 0x73, 0x3f, + 0xa7, 0x79, 0xa2, 0x01, 0x52, 0x51, 0x9f, 0x87, 0x0d, 0xa8, 0xc9, 0x60, 0x9d, 0x3a, 0x54, 0xdf, + 0xd3, 0x60, 0xea, 0x9c, 0x41, 0x75, 0x18, 0xd2, 0xb1, 0xb0, 0x38, 0x27, 0x1c, 0x4f, 0x31, 0xc7, + 0xb2, 0x18, 0xed, 0xc3, 0xcf, 0xdc, 0x8d, 0xae, 0xb9, 0x02, 0xf6, 0x5a, 0x43, 0xbc, 0x04, 0x8c, + 0x3e, 0x86, 0xca, 0x92, 0x05, 0x2a, 0x79, 0x4f, 0x1c, 0x9d, 0xe7, 0xb0, 0x93, 0xc6, 0xa2, 0x47, + 0x50, 0x15, 0x3d, 0xd0, 0x66, 0xef, 0x16, 0x98, 0x7d, 0xb7, 0x5a, 0x10, 0x4f, 0x82, 0x9c, 0x27, + 0x50, 0x1f, 0x06, 0x11, 0x66, 0x2b, 0x74, 0x47, 0x87, 0x2a, 0xf5, 0x76, 0x3c, 0xf5, 0x21, 0xdc, + 0x71, 0xec, 0xcb, 0x7e, 0xb4, 0x3c, 0x71, 0x74, 0x5e, 0x41, 0xfd, 0x7c, 0x72, 0x49, 0xe6, 0x49, + 0x28, 0x56, 0x12, 0x0a, 0x3a, 0xd0, 0xae, 0x2b, 0xba, 0x46, 0x9b, 0xae, 0x95, 0x5a, 0xca, 0x39, + 0x81, 0xda, 0x2f, 0x51, 0x40, 0x23, 0xf4, 0x38, 0xed, 0xbb, 0x7d, 0xf8, 0x69, 0x46, 0xf1, 0x67, + 0x35, 0xde, 0x26, 0x26, 0x57, 0x7b, 0x29, 0xeb, 0x1e, 0x16, 0x82, 0x53, 0x6e, 0x56, 0xb0, 0x7f, + 0x2e, 0x07, 0x76, 0xc9, 0xc8, 0xf4, 0x04, 0x73, 0x1c, 0x13, 0x9e, 0x54, 0xeb, 0x77, 0xb8, 0x1b, + 0x27, 0xc2, 0x8b, 0xa9, 0x92, 0x5e, 0xa4, 0x0a, 0xf8, 0x20, 0x9b, 0x45, 0xd6, 0x94, 0xf4, 0xb4, + 0x17, 0x17, 0x5d, 0x3b, 0x57, 0xb0, 0x9b, 0xc3, 0x17, 0xd4, 0xed, 0x24, 0x35, 0x0d, 0x2a, 0xab, + 0xfe, 0x6d, 0x5e, 0xf3, 0xa3, 0xe1, 0xfc, 0x5b, 0x11, 0xad, 0xc1, 0x21, 0x66, 0xe8, 0x08, 0x5a, + 0x0b, 0xc3, 0x3b, 0x9d, 0x87, 0x9d, 0xb1, 0x98, 0xf0, 0x72, 0x54, 0xf2, 0xd6, 0x60, 0xf4, 0x10, + 0xaa, 0xe3, 0x90, 0x8e, 0x75, 0x18, 0x9f, 0x14, 0x4c, 0xcf, 0xa8, 0xe4, 0x49, 0x08, 0x1a, 0x40, + 0x7d, 0x2c, 0x67, 0x47, 0xf7, 0x7b, 0x2f, 0x0b, 0x96, 0xc2, 0x51, 0xc9, 0xd3, 0x30, 0xa1, 0x10, + 0xcb, 0x19, 0x90, 0xdc, 0xcc, 0x2b, 0xa8, 0x01, 0x11, 0x0a, 0x0a, 0x86, 0x0e, 0xa1, 0x15, 0xd1, + 0x88, 0xa8, 0x76, 0xd4, 0x0a, 0x23, 0x12, 0xac, 0x12, 0x94, 0x13, 0x38, 0x51, 0x72, 0x31, 0x4b, + 0x84, 0x31, 0xca, 0x34, 0x51, 0xef, 0x64, 0xf0, 0x2f, 0x85, 0x6c, 0x54, 0xf2, 0x14, 0x08, 0x3d, + 0x85, 0x86, 0x4f, 0x22, 0xc2, 0x82, 0x89, 0xdd, 0xd0, 0x7c, 0xc9, 0x12, 0x5b, 0x95, 0x5e, 0x2c, + 0x12, 0x8d, 0x44, 0x67, 0x80, 0xf2, 0x33, 0x63, 0x37, 0xa5, 0x7e, 0xef, 0xb6, 0xc6, 0x8d, 0x4a, + 0xde, 0x6e, 0x6e, 0x58, 0x44, 0xd4, 0x4b, 0x41, 0x05, 0xbb, 0x55, 0x18, 0xb5, 0xa4, 0x89, 0x88, + 0x5a, 0x82, 0xd6, 0x6b, 0xe5, 0x9f, 0x32, 0x34, 0xf4, 0xc0, 0xab, 0xea, 0x8a, 0xee, 0xeb, 0x86, + 0xe7, 0xab, 0x2b, 0x84, 0xaa, 0xba, 0x72, 0x48, 0x86, 0x00, 0x13, 0x1a, 0x86, 0x64, 0x22, 0xf7, + 0x5a, 0xb9, 0x30, 0x7c, 0x6d, 0xfc, 0x45, 0x82, 0x13, 0x4b, 0x79, 0xad, 0x85, 0x0e, 0xa0, 0x32, + 0xc7, 0x8b, 0x2d, 0x84, 0xd7, 0xca, 0xaf, 0xb1, 0xd8, 0xa6, 0x02, 0x87, 0x10, 0x54, 0x2f, 0x71, + 0x7c, 0x29, 0xfb, 0xdf, 0xf2, 0xe4, 0x19, 0xfd, 0x90, 0x1a, 0xfe, 0x5a, 0xaf, 0x52, 0x40, 0x39, + 0x6d, 0xc7, 0x35, 0x33, 0xff, 0x32, 0xe2, 0x6c, 0xb5, 0x1e, 0xfc, 0xee, 0x73, 0xe8, 0x6c, 0x88, + 0x04, 0xc3, 0xae, 0xc8, 0xca, 0x30, 0xec, 0x8a, 0xa4, 0xb6, 0x9b, 0xda, 0x64, 0xea, 0xe3, 0xb8, + 0x7c, 0x64, 0xad, 0x6b, 0x79, 0x0a, 0xbb, 0xb9, 0x6c, 0xd1, 0x21, 0x34, 0xcd, 0xe3, 0x6a, 0x5b, + 0x32, 0xb8, 0x6d, 0xcb, 0x29, 0xc1, 0x39, 0x7f, 0x5a, 0x00, 0xeb, 0xd4, 0xd1, 0x8b, 0x9c, 0x89, + 0xaf, 0xb7, 0xd6, 0xc9, 0x1c, 0x63, 0x9d, 0xa2, 0x51, 0xec, 0x9e, 0x43, 0x67, 0x43, 0x54, 0x90, + 0xe2, 0xe3, 0x74, 0x8a, 0xb7, 0x2d, 0x51, 0x91, 0xba, 0xf3, 0x06, 0xf6, 0x86, 0x41, 0x34, 0x0d, + 0x22, 0x5f, 0x8c, 0x61, 0x2a, 0xeb, 0x67, 0xd0, 0x1c, 0x2b, 0x81, 0x09, 0xb9, 0x9b, 0xe7, 0xb6, + 0xd1, 0xf3, 0x12, 0xac, 0xf3, 0xb7, 0x05, 0x1f, 0xa5, 0x24, 0x22, 0xfb, 0xd3, 0x9c, 0xa9, 0x47, + 0xdb, 0x4d, 0x89, 0x0a, 0xe8, 0x4f, 0x53, 0x01, 0xa3, 0xdc, 0xfd, 0x15, 0x3a, 0x1b, 0xa2, 0x82, + 0x0a, 0x3c, 0xd9, 0xac, 0xc0, 0x4d, 0x31, 0xa7, 0xaa, 0x70, 0x0a, 0x2d, 0x49, 0xaf, 0x57, 0xd1, + 0x8c, 0xa2, 0x63, 0x00, 0x8e, 0x99, 0xaf, 0xd6, 0xb7, 0x26, 0xd2, 0x4d, 0x2f, 0x4c, 0x0a, 0xed, + 0xfc, 0x55, 0x86, 0x76, 0xca, 0xc7, 0xff, 0x27, 0xe4, 0x8f, 0x05, 0x84, 0x7c, 0xb0, 0x3d, 0x89, + 0xad, 0xa4, 0x3c, 0x86, 0xc6, 0x82, 0xd1, 0x79, 0x10, 0x9b, 0x97, 0xf8, 0x7e, 0xc6, 0xc8, 0x9b, + 0x25, 0x5f, 0x2c, 0xb9, 0x47, 0x66, 0x84, 0x91, 0x68, 0x22, 0x5e, 0x00, 0xa3, 0x80, 0xbe, 0x51, + 0x84, 0x56, 0x0b, 0xfa, 0xf3, 0x1b, 0x5b, 0x65, 0x48, 0xed, 0x9a, 0xdd, 0x55, 0x2b, 0x7c, 0x68, + 0x92, 0xe2, 0xe6, 0xb6, 0xd7, 0x19, 0x34, 0xb4, 0x45, 0xd1, 0xcc, 0x6b, 0x5d, 0xa8, 0x96, 0x27, + 0x8e, 0xe8, 0x5b, 0x68, 0xe8, 0xde, 0x7f, 0x40, 0x3b, 0x0d, 0xd4, 0x79, 0x06, 0x3b, 0x3f, 0x91, + 0x95, 0xfc, 0x17, 0x7c, 0x8b, 0x03, 0xf6, 0xa1, 0x9b, 0xc0, 0x79, 0x08, 0x1d, 0x8f, 0x70, 0xb6, + 0x3a, 0xe7, 0x0c, 0x73, 0xe2, 0xaf, 0x90, 0x0d, 0x0d, 0x46, 0x38, 0x0b, 0x48, 0x2c, 0xd3, 0xea, + 0x78, 0xe6, 0x73, 0xf8, 0xfd, 0x6f, 0xc7, 0x7e, 0xc0, 0x2f, 0x97, 0x63, 0x77, 0x42, 0xe7, 0x03, + 0x19, 0x13, 0x65, 0xbe, 0x3a, 0x0c, 0x92, 0x7f, 0x61, 0x9f, 0x44, 0x83, 0xc5, 0xf8, 0xc0, 0xa7, + 0x83, 0x8d, 0xdf, 0xe3, 0x71, 0x5d, 0xbe, 0x2b, 0x4f, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x3f, + 0xe5, 0x71, 0xce, 0xc2, 0x0b, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go index ce6446e643..5f720bc247 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go @@ -924,6 +924,8 @@ func (m *Literal) Validate() error { // no validation rules for Hash + // no validation rules for Metadata + switch m.Value.(type) { case *Literal_Scalar: diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go new file mode 100644 index 0000000000..9c7c10d618 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go @@ -0,0 +1,386 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/event/cloudevents.proto + +package event + +import ( + fmt "fmt" + core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional +// information that downstream consumers may find useful. +type CloudEventWorkflowExecution struct { + RawEvent *WorkflowExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` + OutputData *core.LiteralMap `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` + OutputInterface *core.TypedInterface `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` + InputData *core.LiteralMap `protobuf:"bytes,4,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + ScheduledAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` + ArtifactIds []*core.ArtifactID `protobuf:"bytes,6,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + ParentNodeExecution *core.NodeExecutionIdentifier `protobuf:"bytes,7,opt,name=parent_node_execution,json=parentNodeExecution,proto3" json:"parent_node_execution,omitempty"` + ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,8,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudEventWorkflowExecution) Reset() { *m = CloudEventWorkflowExecution{} } +func (m *CloudEventWorkflowExecution) String() string { return proto.CompactTextString(m) } +func (*CloudEventWorkflowExecution) ProtoMessage() {} +func (*CloudEventWorkflowExecution) Descriptor() ([]byte, []int) { + return fileDescriptor_f8af3ecc827e5d5e, []int{0} +} + +func (m *CloudEventWorkflowExecution) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudEventWorkflowExecution.Unmarshal(m, b) +} +func (m *CloudEventWorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudEventWorkflowExecution.Marshal(b, m, deterministic) +} +func (m *CloudEventWorkflowExecution) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudEventWorkflowExecution.Merge(m, src) +} +func (m *CloudEventWorkflowExecution) XXX_Size() int { + return xxx_messageInfo_CloudEventWorkflowExecution.Size(m) +} +func (m *CloudEventWorkflowExecution) XXX_DiscardUnknown() { + xxx_messageInfo_CloudEventWorkflowExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudEventWorkflowExecution proto.InternalMessageInfo + +func (m *CloudEventWorkflowExecution) GetRawEvent() *WorkflowExecutionEvent { + if m != nil { + return m.RawEvent + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetOutputData() *core.LiteralMap { + if m != nil { + return m.OutputData + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface { + if m != nil { + return m.OutputInterface + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetInputData() *core.LiteralMap { + if m != nil { + return m.InputData + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetScheduledAt() *timestamp.Timestamp { + if m != nil { + return m.ScheduledAt + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetParentNodeExecution() *core.NodeExecutionIdentifier { + if m != nil { + return m.ParentNodeExecution + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetReferenceExecution() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.ReferenceExecution + } + return nil +} + +type CloudEventNodeExecution struct { + RawEvent *NodeExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudEventNodeExecution) Reset() { *m = CloudEventNodeExecution{} } +func (m *CloudEventNodeExecution) String() string { return proto.CompactTextString(m) } +func (*CloudEventNodeExecution) ProtoMessage() {} +func (*CloudEventNodeExecution) Descriptor() ([]byte, []int) { + return fileDescriptor_f8af3ecc827e5d5e, []int{1} +} + +func (m *CloudEventNodeExecution) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudEventNodeExecution.Unmarshal(m, b) +} +func (m *CloudEventNodeExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudEventNodeExecution.Marshal(b, m, deterministic) +} +func (m *CloudEventNodeExecution) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudEventNodeExecution.Merge(m, src) +} +func (m *CloudEventNodeExecution) XXX_Size() int { + return xxx_messageInfo_CloudEventNodeExecution.Size(m) +} +func (m *CloudEventNodeExecution) XXX_DiscardUnknown() { + xxx_messageInfo_CloudEventNodeExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudEventNodeExecution proto.InternalMessageInfo + +func (m *CloudEventNodeExecution) GetRawEvent() *NodeExecutionEvent { + if m != nil { + return m.RawEvent + } + return nil +} + +type CloudEventTaskExecution struct { + RawEvent *TaskExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` + // Hydrated output + OutputData *core.LiteralMap `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` + // The typed interface for the task that produced the event. + OutputInterface *core.TypedInterface `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` + InputData *core.LiteralMap `protobuf:"bytes,4,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + ScheduledAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` + ArtifactIds []*core.ArtifactID `protobuf:"bytes,6,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + ParentNodeExecution *core.NodeExecutionIdentifier `protobuf:"bytes,7,opt,name=parent_node_execution,json=parentNodeExecution,proto3" json:"parent_node_execution,omitempty"` + ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,8,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudEventTaskExecution) Reset() { *m = CloudEventTaskExecution{} } +func (m *CloudEventTaskExecution) String() string { return proto.CompactTextString(m) } +func (*CloudEventTaskExecution) ProtoMessage() {} +func (*CloudEventTaskExecution) Descriptor() ([]byte, []int) { + return fileDescriptor_f8af3ecc827e5d5e, []int{2} +} + +func (m *CloudEventTaskExecution) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudEventTaskExecution.Unmarshal(m, b) +} +func (m *CloudEventTaskExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudEventTaskExecution.Marshal(b, m, deterministic) +} +func (m *CloudEventTaskExecution) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudEventTaskExecution.Merge(m, src) +} +func (m *CloudEventTaskExecution) XXX_Size() int { + return xxx_messageInfo_CloudEventTaskExecution.Size(m) +} +func (m *CloudEventTaskExecution) XXX_DiscardUnknown() { + xxx_messageInfo_CloudEventTaskExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudEventTaskExecution proto.InternalMessageInfo + +func (m *CloudEventTaskExecution) GetRawEvent() *TaskExecutionEvent { + if m != nil { + return m.RawEvent + } + return nil +} + +func (m *CloudEventTaskExecution) GetOutputData() *core.LiteralMap { + if m != nil { + return m.OutputData + } + return nil +} + +func (m *CloudEventTaskExecution) GetOutputInterface() *core.TypedInterface { + if m != nil { + return m.OutputInterface + } + return nil +} + +func (m *CloudEventTaskExecution) GetInputData() *core.LiteralMap { + if m != nil { + return m.InputData + } + return nil +} + +func (m *CloudEventTaskExecution) GetScheduledAt() *timestamp.Timestamp { + if m != nil { + return m.ScheduledAt + } + return nil +} + +func (m *CloudEventTaskExecution) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + +func (m *CloudEventTaskExecution) GetParentNodeExecution() *core.NodeExecutionIdentifier { + if m != nil { + return m.ParentNodeExecution + } + return nil +} + +func (m *CloudEventTaskExecution) GetReferenceExecution() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.ReferenceExecution + } + return nil +} + +// This event is to be sent by Admin after it creates an execution. +type CloudEventExecutionStart struct { + // The execution created. + ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` + // The launch plan used. + LaunchPlanId *core.Identifier `protobuf:"bytes,2,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` + WorkflowId *core.Identifier `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + // Artifact IDs found + ArtifactIds []*core.ArtifactID `protobuf:"bytes,4,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + // Artifact keys found. + ArtifactKeys []string `protobuf:"bytes,5,rep,name=artifact_keys,json=artifactKeys,proto3" json:"artifact_keys,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloudEventExecutionStart) Reset() { *m = CloudEventExecutionStart{} } +func (m *CloudEventExecutionStart) String() string { return proto.CompactTextString(m) } +func (*CloudEventExecutionStart) ProtoMessage() {} +func (*CloudEventExecutionStart) Descriptor() ([]byte, []int) { + return fileDescriptor_f8af3ecc827e5d5e, []int{3} +} + +func (m *CloudEventExecutionStart) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudEventExecutionStart.Unmarshal(m, b) +} +func (m *CloudEventExecutionStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloudEventExecutionStart.Marshal(b, m, deterministic) +} +func (m *CloudEventExecutionStart) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloudEventExecutionStart.Merge(m, src) +} +func (m *CloudEventExecutionStart) XXX_Size() int { + return xxx_messageInfo_CloudEventExecutionStart.Size(m) +} +func (m *CloudEventExecutionStart) XXX_DiscardUnknown() { + xxx_messageInfo_CloudEventExecutionStart.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudEventExecutionStart proto.InternalMessageInfo + +func (m *CloudEventExecutionStart) GetExecutionId() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.ExecutionId + } + return nil +} + +func (m *CloudEventExecutionStart) GetLaunchPlanId() *core.Identifier { + if m != nil { + return m.LaunchPlanId + } + return nil +} + +func (m *CloudEventExecutionStart) GetWorkflowId() *core.Identifier { + if m != nil { + return m.WorkflowId + } + return nil +} + +func (m *CloudEventExecutionStart) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + +func (m *CloudEventExecutionStart) GetArtifactKeys() []string { + if m != nil { + return m.ArtifactKeys + } + return nil +} + +func init() { + proto.RegisterType((*CloudEventWorkflowExecution)(nil), "flyteidl.event.CloudEventWorkflowExecution") + proto.RegisterType((*CloudEventNodeExecution)(nil), "flyteidl.event.CloudEventNodeExecution") + proto.RegisterType((*CloudEventTaskExecution)(nil), "flyteidl.event.CloudEventTaskExecution") + proto.RegisterType((*CloudEventExecutionStart)(nil), "flyteidl.event.CloudEventExecutionStart") +} + +func init() { proto.RegisterFile("flyteidl/event/cloudevents.proto", fileDescriptor_f8af3ecc827e5d5e) } + +var fileDescriptor_f8af3ecc827e5d5e = []byte{ + // 581 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0xe1, 0x6b, 0xd3, 0x40, + 0x18, 0xc6, 0xd9, 0xda, 0xcd, 0xf5, 0x52, 0xa7, 0x64, 0x88, 0xb1, 0x3a, 0x2d, 0x15, 0x64, 0x08, + 0x26, 0xa0, 0x5f, 0x64, 0x3a, 0xc6, 0xdc, 0x06, 0x16, 0x9d, 0x48, 0x2c, 0x08, 0xf5, 0x43, 0xb8, + 0xe6, 0xde, 0xa4, 0x47, 0xaf, 0x77, 0xe1, 0x72, 0xb1, 0xf6, 0x4f, 0xf4, 0x9b, 0x1f, 0xfd, 0x73, + 0x46, 0x2f, 0xc9, 0xb5, 0x49, 0x07, 0xa3, 0xdf, 0xf7, 0xa5, 0x5c, 0xef, 0x7d, 0x9e, 0xdf, 0xdd, + 0xbd, 0xef, 0x03, 0x41, 0xdd, 0x88, 0xcd, 0x15, 0x50, 0xc2, 0x3c, 0xf8, 0x0d, 0x5c, 0x79, 0x21, + 0x13, 0x19, 0xd1, 0xcb, 0xd4, 0x4d, 0xa4, 0x50, 0xc2, 0xde, 0x2f, 0x15, 0xae, 0xde, 0xee, 0x74, + 0x6a, 0x0e, 0xfd, 0x9b, 0x6b, 0x3b, 0xcf, 0x4c, 0x2d, 0x14, 0x12, 0x3c, 0x46, 0x15, 0x48, 0xcc, + 0x0a, 0x52, 0xe7, 0xb0, 0x5a, 0xa5, 0x5c, 0x81, 0x8c, 0x70, 0x08, 0x45, 0xf9, 0x45, 0xb5, 0x8c, + 0xa5, 0xa2, 0x11, 0x0e, 0x55, 0x40, 0x49, 0x21, 0x78, 0x5e, 0xf3, 0x13, 0xe0, 0x8a, 0x46, 0x14, + 0x64, 0x09, 0x88, 0x85, 0x88, 0x19, 0x78, 0xfa, 0xdf, 0x28, 0x8b, 0x3c, 0x45, 0xa7, 0x90, 0x2a, + 0x3c, 0x4d, 0x72, 0x41, 0xef, 0x7f, 0x13, 0x3d, 0x3d, 0x5f, 0x3c, 0xf0, 0x72, 0x71, 0xe7, 0x9f, + 0x42, 0x4e, 0x22, 0x26, 0x66, 0x97, 0x7f, 0x20, 0xcc, 0x14, 0x15, 0xdc, 0x3e, 0x47, 0x2d, 0x89, + 0x67, 0x81, 0x7e, 0x91, 0xb3, 0xd5, 0xdd, 0x3a, 0xb2, 0xde, 0xbe, 0x72, 0xab, 0xcf, 0x77, 0xd7, + 0x5c, 0x9a, 0xe5, 0xef, 0x49, 0x3c, 0xd3, 0x2b, 0xfb, 0x18, 0x59, 0x22, 0x53, 0x49, 0xa6, 0x02, + 0x82, 0x15, 0x76, 0xb6, 0x35, 0xe6, 0xc9, 0x12, 0xb3, 0xb8, 0xbb, 0xfb, 0x35, 0xef, 0xcc, 0x15, + 0x4e, 0x7c, 0x94, 0xab, 0x2f, 0xb0, 0xc2, 0xf6, 0x67, 0xf4, 0xb0, 0xf0, 0x9a, 0xe6, 0x38, 0x0d, + 0x0d, 0x38, 0xac, 0x01, 0x06, 0xf3, 0x04, 0x48, 0xbf, 0x14, 0xf9, 0x0f, 0x72, 0x9b, 0xd9, 0xb0, + 0xdf, 0x23, 0x44, 0xb9, 0xb9, 0x44, 0xf3, 0xb6, 0x4b, 0xb4, 0xb4, 0x58, 0xdf, 0xe1, 0x04, 0xb5, + 0xd3, 0x70, 0x0c, 0x24, 0x63, 0x40, 0x02, 0xac, 0x9c, 0x1d, 0xed, 0xed, 0xb8, 0x79, 0x73, 0xdd, + 0xb2, 0xb9, 0xee, 0xa0, 0x6c, 0xae, 0x6f, 0x19, 0xfd, 0x99, 0xb2, 0x3f, 0xa2, 0xf6, 0xca, 0xe4, + 0x52, 0x67, 0xb7, 0xdb, 0xb8, 0xe1, 0xe8, 0xb3, 0x42, 0xd2, 0xbf, 0xf0, 0xad, 0x52, 0xde, 0x27, + 0xa9, 0x3d, 0x44, 0x8f, 0x12, 0x2c, 0x81, 0xab, 0x80, 0x0b, 0x02, 0x01, 0x94, 0x4d, 0x76, 0xee, + 0xd5, 0xa7, 0xa1, 0x31, 0xdf, 0x04, 0x01, 0x33, 0x88, 0xbe, 0xc9, 0x83, 0x7f, 0x90, 0x43, 0x2a, + 0x65, 0xfb, 0x17, 0x3a, 0x90, 0x10, 0x81, 0x04, 0x1e, 0xae, 0x92, 0xf7, 0x34, 0xf9, 0x75, 0x8d, + 0xbc, 0x36, 0xe6, 0x15, 0xba, 0x6d, 0x30, 0xa6, 0xda, 0x1b, 0xa2, 0xc7, 0xcb, 0x64, 0x55, 0xcf, + 0x3d, 0x5d, 0x4f, 0x55, 0xaf, 0x9e, 0xaa, 0x8a, 0xa3, 0x96, 0xa8, 0xde, 0xbf, 0xe6, 0x2a, 0x7c, + 0x80, 0xd3, 0xc9, 0x66, 0xf0, 0x8a, 0xe3, 0x2e, 0xae, 0x77, 0x71, 0xe5, 0xbd, 0xbf, 0xdb, 0xc8, + 0x59, 0x46, 0xca, 0xec, 0xff, 0x50, 0x58, 0x2a, 0xfb, 0x0a, 0xb5, 0xcd, 0x79, 0x01, 0x25, 0x45, + 0xac, 0x36, 0x39, 0xd2, 0x82, 0xe5, 0xa6, 0x7d, 0x8a, 0xf6, 0x19, 0xce, 0x78, 0x38, 0x0e, 0x12, + 0x86, 0x35, 0xf0, 0xe6, 0x90, 0xad, 0xf8, 0xdb, 0xb9, 0xe1, 0x3b, 0xc3, 0x0b, 0xc0, 0x31, 0xb2, + 0x66, 0xc5, 0x61, 0x0b, 0x77, 0xe3, 0x36, 0x37, 0x2a, 0xd5, 0x7d, 0xb2, 0x36, 0xdf, 0xe6, 0x46, + 0xf3, 0x7d, 0x89, 0xee, 0x1b, 0xf7, 0x04, 0xe6, 0xa9, 0xb3, 0xd3, 0x6d, 0x1c, 0xb5, 0x7c, 0x83, + 0xfc, 0x02, 0xf3, 0xf4, 0xd3, 0xc9, 0xf0, 0x43, 0x4c, 0xd5, 0x38, 0x1b, 0xb9, 0xa1, 0x98, 0x7a, + 0x1a, 0x2c, 0x64, 0x9c, 0x2f, 0x3c, 0xf3, 0xc9, 0x8a, 0x81, 0x7b, 0xc9, 0xe8, 0x4d, 0x2c, 0xbc, + 0xea, 0xf7, 0x73, 0xb4, 0xab, 0x23, 0xfa, 0xee, 0x3a, 0x00, 0x00, 0xff, 0xff, 0x92, 0xc9, 0x62, + 0x56, 0x8a, 0x07, 0x00, 0x00, +} diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go new file mode 100644 index 0000000000..5440650bb9 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go @@ -0,0 +1,531 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/event/cloudevents.proto + +package event + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _cloudevents_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on CloudEventWorkflowExecution with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventWorkflowExecution) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "RawEvent", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "OutputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputInterface()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "OutputInterface", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "InputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetScheduledAt()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "ScheduledAt", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + if v, ok := interface{}(m.GetParentNodeExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "ParentNodeExecution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetReferenceExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "ReferenceExecution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CloudEventWorkflowExecutionValidationError is the validation error returned +// by CloudEventWorkflowExecution.Validate if the designated constraints +// aren't met. +type CloudEventWorkflowExecutionValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventWorkflowExecutionValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventWorkflowExecutionValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventWorkflowExecutionValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventWorkflowExecutionValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventWorkflowExecutionValidationError) ErrorName() string { + return "CloudEventWorkflowExecutionValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventWorkflowExecutionValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventWorkflowExecution.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventWorkflowExecutionValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventWorkflowExecutionValidationError{} + +// Validate checks the field values on CloudEventNodeExecution with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventNodeExecution) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: "RawEvent", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CloudEventNodeExecutionValidationError is the validation error returned by +// CloudEventNodeExecution.Validate if the designated constraints aren't met. +type CloudEventNodeExecutionValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventNodeExecutionValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventNodeExecutionValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventNodeExecutionValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventNodeExecutionValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventNodeExecutionValidationError) ErrorName() string { + return "CloudEventNodeExecutionValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventNodeExecutionValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventNodeExecution.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventNodeExecutionValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventNodeExecutionValidationError{} + +// Validate checks the field values on CloudEventTaskExecution with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventTaskExecution) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "RawEvent", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "OutputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputInterface()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "OutputInterface", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "InputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetScheduledAt()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "ScheduledAt", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + if v, ok := interface{}(m.GetParentNodeExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "ParentNodeExecution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetReferenceExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "ReferenceExecution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CloudEventTaskExecutionValidationError is the validation error returned by +// CloudEventTaskExecution.Validate if the designated constraints aren't met. +type CloudEventTaskExecutionValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventTaskExecutionValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventTaskExecutionValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventTaskExecutionValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventTaskExecutionValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventTaskExecutionValidationError) ErrorName() string { + return "CloudEventTaskExecutionValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventTaskExecutionValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventTaskExecution.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventTaskExecutionValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventTaskExecutionValidationError{} + +// Validate checks the field values on CloudEventExecutionStart with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventExecutionStart) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: "ExecutionId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetLaunchPlanId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: "LaunchPlanId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetWorkflowId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: "WorkflowId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// CloudEventExecutionStartValidationError is the validation error returned by +// CloudEventExecutionStart.Validate if the designated constraints aren't met. +type CloudEventExecutionStartValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventExecutionStartValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventExecutionStartValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventExecutionStartValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventExecutionStartValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventExecutionStartValidationError) ErrorName() string { + return "CloudEventExecutionStartValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventExecutionStartValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventExecutionStart.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventExecutionStartValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventExecutionStartValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json new file mode 100644 index 0000000000..c18a52a3ca --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json @@ -0,0 +1,19 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/event/cloudevents.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": {} +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json index 8c1ebc04d6..979796d42c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json @@ -3899,6 +3899,13 @@ "system_metadata": { "$ref": "#/definitions/adminSystemMetadata", "description": "Optional, platform-specific metadata about the execution.\nIn this the future this may be gated behind an ACL or some sort of authorization." + }, + "artifact_ids": { + "type": "array", + "items": { + "$ref": "#/definitions/coreArtifactID" + }, + "description": "Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping\nsince we don't have a structure to handle nested ones anyways." } }, "description": "Represents attributes about an execution which are not required to launch the execution but are useful to record.\nThese attributes are assigned at launch time and do not change." @@ -4246,6 +4253,10 @@ "$ref": "#/definitions/adminNotification" }, "title": "List of notifications based on Execution status transitions" + }, + "launch_conditions": { + "$ref": "#/definitions/protobufAny", + "title": "Additional metadata for how to launch the launch plan" } }, "description": "Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch\nthe reference workflow." @@ -5616,6 +5627,82 @@ }, "description": "ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input\nvalues. An ArrayNode can be executed with configurable parallelism (separate from the parent\nworkflow) and can be configured to succeed when a certain number of sub-nodes succeed." }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "coreArtifactQuery": { + "type": "object", + "properties": { + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + }, + "uri": { + "type": "string" + }, + "binding": { + "$ref": "#/definitions/coreArtifactBindingData", + "description": "This is used in the trigger case, where a user specifies a value for an input that is one of the triggering\nartifacts, or a partition value derived from a triggering artifact." + } + }, + "title": "Uniqueness constraints for Artifacts\n - project, domain, name, version, partitions\nOption 2 (tags are standalone, point to an individual artifact id):\n - project, domain, name, alias (points to one partition if partitioned)\n - project, domain, name, partition key, partition value" + }, + "coreArtifactTag": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, "coreBinary": { "type": "object", "properties": { @@ -6148,6 +6235,14 @@ }, "description": "Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute.\nIf no conditions were satisfied, the else_node or the error will execute." }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, "coreK8sObjectMetadata": { "type": "object", "properties": { @@ -6200,6 +6295,20 @@ }, "description": "A generic key value pair." }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, "coreLiteral": { "type": "object", "properties": { @@ -6218,6 +6327,13 @@ "hash": { "type": "string", "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." } }, "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." @@ -6503,6 +6619,13 @@ "type": "boolean", "format": "boolean", "description": "+optional, is this value required to be filled." + }, + "artifact_query": { + "$ref": "#/definitions/coreArtifactQuery", + "description": "This is an execution time search basically that should result in exactly one Artifact with a Type that\nmatches the type of the variable." + }, + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" } }, "description": "A parameter is used as input to a launch plan and has\nthe special ability to have a default value or mark itself as required." @@ -6520,6 +6643,17 @@ }, "description": "A map of Parameters." }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, "corePrimitive": { "type": "object", "properties": { @@ -7144,6 +7278,13 @@ "description": { "type": "string", "title": "+optional string describing input variable" + }, + "artifact_partial_id": { + "$ref": "#/definitions/coreArtifactID", + "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" } }, "description": "Defines a strongly typed variable." @@ -7781,6 +7922,21 @@ }, "title": "For Workflow Nodes we need to send information about the workflow that's launched" }, + "protobufAny": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, "protobufListValue": { "type": "object", "properties": { diff --git a/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json index 2d1d5ea07b..77bae2df07 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json @@ -204,6 +204,63 @@ } } }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "coreArtifactTag": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, "coreBinary": { "type": "object", "properties": { @@ -431,6 +488,14 @@ }, "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, "coreK8sObjectMetadata": { "type": "object", "properties": { @@ -483,6 +548,20 @@ }, "description": "A generic key value pair." }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, "coreLiteral": { "type": "object", "properties": { @@ -501,6 +580,13 @@ "hash": { "type": "string", "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." } }, "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." @@ -639,6 +725,17 @@ "default": "CLIENT_CREDENTIALS", "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, "corePrimitive": { "type": "object", "properties": { @@ -1097,6 +1194,13 @@ "description": { "type": "string", "title": "+optional string describing input variable" + }, + "artifact_partial_id": { + "$ref": "#/definitions/coreArtifactID", + "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" } }, "description": "Defines a strongly typed variable." diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go index 45f869e608..e35fa924fc 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go @@ -6,6 +6,7 @@ package service import ( context "context" fmt "fmt" + artifact "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" @@ -64,6 +65,7 @@ type CreateUploadLocationResponse struct { NativeUrl string `protobuf:"bytes,2,opt,name=native_url,json=nativeUrl,proto3" json:"native_url,omitempty"` // ExpiresAt defines when will the signed URL expires. ExpiresAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` + Artifact *artifact.Artifact `protobuf:"bytes,4,opt,name=artifact,proto3" json:"artifact,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -115,6 +117,13 @@ func (m *CreateUploadLocationResponse) GetExpiresAt() *timestamp.Timestamp { return nil } +func (m *CreateUploadLocationResponse) GetArtifact() *artifact.Artifact { + if m != nil { + return m.Artifact + } + return nil +} + // CreateUploadLocationRequest specified request for the CreateUploadLocation API. // The implementation in data proxy service will create the s3 location with some server side configured prefixes, // and then: @@ -142,10 +151,12 @@ type CreateUploadLocationRequest struct { // this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix // in data proxy config. This option is useful when uploading multiple files. // +optional - FilenameRoot string `protobuf:"bytes,6,opt,name=filename_root,json=filenameRoot,proto3" json:"filename_root,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FilenameRoot string `protobuf:"bytes,6,opt,name=filename_root,json=filenameRoot,proto3" json:"filename_root,omitempty"` + // If provided, the Artifact that the upload creates will contain the information specified here. + ArtifactSpec *artifact.ArtifactSpec `protobuf:"bytes,7,opt,name=artifact_spec,json=artifactSpec,proto3" json:"artifact_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CreateUploadLocationRequest) Reset() { *m = CreateUploadLocationRequest{} } @@ -215,6 +226,13 @@ func (m *CreateUploadLocationRequest) GetFilenameRoot() string { return "" } +func (m *CreateUploadLocationRequest) GetArtifactSpec() *artifact.ArtifactSpec { + if m != nil { + return m.ArtifactSpec + } + return nil +} + // CreateDownloadLocationRequest specified request for the CreateDownloadLocation API. // // Deprecated: Do not use. @@ -523,10 +541,14 @@ type GetDataRequest struct { // e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) // flyte://v1/proj/development/execid/n2/i (for node execution input) // flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node) - FlyteUrl string `protobuf:"bytes,1,opt,name=flyte_url,json=flyteUrl,proto3" json:"flyte_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // + // Types that are valid to be assigned to Query: + // *GetDataRequest_FlyteUrl + // *GetDataRequest_ArtifactId + Query isGetDataRequest_Query `protobuf_oneof:"query"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetDataRequest) Reset() { *m = GetDataRequest{} } @@ -554,18 +576,57 @@ func (m *GetDataRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetDataRequest proto.InternalMessageInfo -func (m *GetDataRequest) GetFlyteUrl() string { +type isGetDataRequest_Query interface { + isGetDataRequest_Query() +} + +type GetDataRequest_FlyteUrl struct { + FlyteUrl string `protobuf:"bytes,1,opt,name=flyte_url,json=flyteUrl,proto3,oneof"` +} + +type GetDataRequest_ArtifactId struct { + ArtifactId *core.ArtifactID `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + +func (*GetDataRequest_FlyteUrl) isGetDataRequest_Query() {} + +func (*GetDataRequest_ArtifactId) isGetDataRequest_Query() {} + +func (m *GetDataRequest) GetQuery() isGetDataRequest_Query { if m != nil { - return m.FlyteUrl + return m.Query + } + return nil +} + +func (m *GetDataRequest) GetFlyteUrl() string { + if x, ok := m.GetQuery().(*GetDataRequest_FlyteUrl); ok { + return x.FlyteUrl } return "" } +func (m *GetDataRequest) GetArtifactId() *core.ArtifactID { + if x, ok := m.GetQuery().(*GetDataRequest_ArtifactId); ok { + return x.ArtifactId + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*GetDataRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*GetDataRequest_FlyteUrl)(nil), + (*GetDataRequest_ArtifactId)(nil), + } +} + type GetDataResponse struct { // Types that are valid to be assigned to Data: // *GetDataResponse_LiteralMap // *GetDataResponse_PreSignedUrls // *GetDataResponse_Literal + // *GetDataResponse_Artifact Data isGetDataResponse_Data `protobuf_oneof:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -613,12 +674,18 @@ type GetDataResponse_Literal struct { Literal *core.Literal `protobuf:"bytes,3,opt,name=literal,proto3,oneof"` } +type GetDataResponse_Artifact struct { + Artifact *artifact.Artifact `protobuf:"bytes,4,opt,name=artifact,proto3,oneof"` +} + func (*GetDataResponse_LiteralMap) isGetDataResponse_Data() {} func (*GetDataResponse_PreSignedUrls) isGetDataResponse_Data() {} func (*GetDataResponse_Literal) isGetDataResponse_Data() {} +func (*GetDataResponse_Artifact) isGetDataResponse_Data() {} + func (m *GetDataResponse) GetData() isGetDataResponse_Data { if m != nil { return m.Data @@ -647,12 +714,20 @@ func (m *GetDataResponse) GetLiteral() *core.Literal { return nil } +func (m *GetDataResponse) GetArtifact() *artifact.Artifact { + if x, ok := m.GetData().(*GetDataResponse_Artifact); ok { + return x.Artifact + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*GetDataResponse) XXX_OneofWrappers() []interface{} { return []interface{}{ (*GetDataResponse_LiteralMap)(nil), (*GetDataResponse_PreSignedUrls)(nil), (*GetDataResponse_Literal)(nil), + (*GetDataResponse_Artifact)(nil), } } @@ -672,64 +747,70 @@ func init() { func init() { proto.RegisterFile("flyteidl/service/dataproxy.proto", fileDescriptor_bffb71366d75dab0) } var fileDescriptor_bffb71366d75dab0 = []byte{ - // 910 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0xef, 0xa4, 0x25, 0x6d, 0x5e, 0xd3, 0x3f, 0x8c, 0x56, 0x25, 0xeb, 0x76, 0xdb, 0xac, 0x17, - 0xa1, 0x52, 0xa8, 0x0d, 0x45, 0x2b, 0xc1, 0x8a, 0x15, 0x6a, 0x93, 0xec, 0x36, 0xa2, 0x5b, 0x55, - 0xde, 0xf4, 0x00, 0x17, 0x6b, 0x6a, 0x4f, 0xc2, 0xb0, 0xce, 0x8c, 0x19, 0x4f, 0x4a, 0x2b, 0x21, - 0x0e, 0x9c, 0xb8, 0x73, 0xe0, 0xc0, 0x85, 0x13, 0x5f, 0x85, 0x0f, 0x80, 0xc4, 0x07, 0x40, 0xdc, - 0xf8, 0x06, 0x9c, 0x90, 0xed, 0xb1, 0x13, 0x27, 0x69, 0x37, 0x8b, 0xf6, 0x96, 0x37, 0xef, 0xe7, - 0xf9, 0xfd, 0xde, 0x6f, 0xde, 0xbc, 0x09, 0xd4, 0xbb, 0xc1, 0xb5, 0xa2, 0xcc, 0x0f, 0xec, 0x88, - 0xca, 0x4b, 0xe6, 0x51, 0xdb, 0x27, 0x8a, 0x84, 0x52, 0x5c, 0x5d, 0x5b, 0xa1, 0x14, 0x4a, 0xe0, - 0xf5, 0x0c, 0x61, 0x69, 0x84, 0xb1, 0xd5, 0x13, 0xa2, 0x17, 0x50, 0x9b, 0x84, 0xcc, 0x26, 0x9c, - 0x0b, 0x45, 0x14, 0x13, 0x3c, 0x4a, 0xf1, 0xc6, 0xb6, 0xce, 0x26, 0xd1, 0xc5, 0xa0, 0x6b, 0xfb, - 0x03, 0x99, 0x00, 0x74, 0x7e, 0x67, 0x3c, 0xaf, 0x58, 0x9f, 0x46, 0x8a, 0xf4, 0xc3, 0x6c, 0x83, - 0x5c, 0x92, 0x27, 0x24, 0xb5, 0x99, 0x4f, 0xb9, 0x62, 0x5d, 0x46, 0xa5, 0xce, 0x6f, 0x15, 0xf3, - 0x01, 0x53, 0x54, 0x92, 0x40, 0xd3, 0x9b, 0x3f, 0x23, 0xd8, 0x6a, 0x48, 0x4a, 0x14, 0x3d, 0x0f, - 0x03, 0x41, 0xfc, 0x13, 0xe1, 0x25, 0xec, 0x0e, 0x8d, 0x42, 0xc1, 0x23, 0x8a, 0xef, 0x01, 0x44, - 0xac, 0xc7, 0xa9, 0xef, 0x0e, 0x64, 0x50, 0x43, 0x75, 0xb4, 0x5b, 0x71, 0x2a, 0xe9, 0xca, 0xb9, - 0x0c, 0xe2, 0x34, 0x27, 0x8a, 0x5d, 0xd2, 0x24, 0x5d, 0x4a, 0xd3, 0xe9, 0x4a, 0x9c, 0xfe, 0x04, - 0x80, 0x5e, 0x85, 0x4c, 0xd2, 0xc8, 0x25, 0xaa, 0x36, 0x5f, 0x47, 0xbb, 0xcb, 0x07, 0x86, 0x95, - 0x96, 0x64, 0x65, 0x25, 0x59, 0x9d, 0xac, 0x24, 0xa7, 0xa2, 0xd1, 0x87, 0xca, 0xfc, 0x07, 0xc1, - 0xe6, 0x74, 0x65, 0xdf, 0x0c, 0x68, 0xa4, 0x70, 0x0d, 0x16, 0x43, 0x29, 0xbe, 0xa6, 0x9e, 0xd2, - 0xaa, 0xb2, 0x10, 0x6f, 0x40, 0xd9, 0x17, 0x7d, 0xc2, 0xb8, 0xd6, 0xa3, 0x23, 0x6c, 0xc0, 0x52, - 0x97, 0x05, 0x94, 0x93, 0x3e, 0x4d, 0xa4, 0x54, 0x9c, 0x3c, 0xc6, 0x1f, 0x0f, 0x85, 0x32, 0x5e, - 0x5b, 0x48, 0x84, 0xde, 0x9d, 0x10, 0xda, 0xd4, 0x67, 0x93, 0xeb, 0x6c, 0x73, 0xbc, 0x03, 0xcb, - 0x9e, 0xe0, 0x8a, 0x72, 0xe5, 0xf6, 0xfd, 0x87, 0xb5, 0x37, 0xea, 0x68, 0xb7, 0xea, 0x80, 0x5e, - 0x7a, 0xe6, 0x3f, 0xc4, 0x0f, 0x60, 0x25, 0xa3, 0x71, 0xa5, 0x10, 0xaa, 0x56, 0x4e, 0xb8, 0xab, - 0xd9, 0xa2, 0x23, 0x84, 0x32, 0xbf, 0x83, 0x7b, 0x69, 0xb1, 0x4d, 0xf1, 0x2d, 0x9f, 0x56, 0x6e, - 0xd1, 0x68, 0x34, 0x6e, 0x74, 0x51, 0x7f, 0x69, 0x76, 0xfd, 0x8f, 0x4a, 0x35, 0x64, 0x7e, 0x0f, - 0xdb, 0x37, 0xb1, 0xcf, 0xd6, 0x06, 0xc5, 0x73, 0x2e, 0xbd, 0xc2, 0x39, 0x27, 0xfc, 0xff, 0x22, - 0xb8, 0x3b, 0x26, 0x80, 0xf1, 0x17, 0x59, 0xe9, 0x0d, 0x58, 0x21, 0x52, 0xb1, 0x2e, 0xf1, 0x94, - 0xab, 0xae, 0x43, 0x9a, 0xd0, 0xaf, 0x1e, 0x6c, 0x5b, 0xe3, 0x57, 0xcd, 0x3a, 0xd4, 0xb0, 0xce, - 0x75, 0x48, 0x9d, 0x2a, 0x19, 0x89, 0xfe, 0xbf, 0x41, 0xb8, 0x03, 0x6f, 0x72, 0xe1, 0x53, 0x97, - 0x5e, 0x51, 0x6f, 0x10, 0x27, 0x5d, 0xe6, 0xeb, 0x56, 0x7e, 0x67, 0x28, 0x21, 0xbe, 0x5c, 0xd6, - 0xa9, 0xf0, 0x69, 0x2b, 0x83, 0xb5, 0xf3, 0x9b, 0x78, 0x3c, 0xe7, 0xac, 0xf1, 0x62, 0xea, 0x68, - 0x09, 0xca, 0x91, 0x18, 0x48, 0x8f, 0x9a, 0xbf, 0x23, 0x30, 0xa6, 0x15, 0xaf, 0x9d, 0xbf, 0x3f, - 0xe6, 0xfc, 0xfc, 0x6e, 0xe5, 0xa8, 0x54, 0x43, 0xa3, 0xee, 0x3f, 0x7e, 0x35, 0xf7, 0xd3, 0xcf, - 0xf3, 0x13, 0xc0, 0x4f, 0x61, 0x2d, 0x94, 0xd4, 0x1d, 0xb2, 0x44, 0xba, 0xbc, 0x9d, 0x49, 0x87, - 0xcf, 0x24, 0x7d, 0x9e, 0xf2, 0x3a, 0x27, 0x91, 0xb3, 0x12, 0xe6, 0xa1, 0x0c, 0x22, 0x93, 0xc1, - 0x4a, 0x21, 0x3f, 0xd1, 0x35, 0xf3, 0xaf, 0xab, 0x6b, 0xcc, 0x7d, 0x58, 0x7d, 0x4a, 0x55, 0x93, - 0x28, 0x92, 0x75, 0xc9, 0x26, 0x54, 0x12, 0xb5, 0x23, 0x0d, 0xba, 0x94, 0x2c, 0x9c, 0xcb, 0xc0, - 0xfc, 0x13, 0xc1, 0x5a, 0x8e, 0xd7, 0xc6, 0x7e, 0x0a, 0xcb, 0x7a, 0x18, 0xba, 0x7d, 0x12, 0x26, - 0x9f, 0xc4, 0x2d, 0x51, 0x3c, 0xd1, 0x93, 0x14, 0xf1, 0x8c, 0x84, 0xc7, 0x73, 0x0e, 0x04, 0x79, - 0x84, 0xdb, 0x93, 0xa6, 0x95, 0x66, 0x32, 0xed, 0x78, 0x6e, 0xcc, 0x36, 0x7c, 0x00, 0x8b, 0x7a, - 0x63, 0xed, 0xfb, 0xc6, 0x74, 0x11, 0xc7, 0x73, 0x4e, 0x06, 0x3c, 0x2a, 0xc3, 0x42, 0xfc, 0xf2, - 0xec, 0x35, 0xa0, 0x3a, 0xda, 0xf4, 0x78, 0x13, 0xde, 0x3a, 0x74, 0x3a, 0xed, 0x27, 0x87, 0x8d, - 0x8e, 0xdb, 0xf9, 0xe2, 0xac, 0xe5, 0x9e, 0x9f, 0x36, 0x5b, 0x4f, 0xda, 0xa7, 0xad, 0xe6, 0xfa, - 0x1c, 0xde, 0x00, 0x5c, 0x4c, 0x36, 0x5b, 0x8d, 0xcf, 0xd7, 0xd1, 0xc1, 0x5f, 0x0b, 0xb0, 0x1e, - 0x5b, 0x73, 0x16, 0xbf, 0x63, 0xcf, 0x53, 0xd1, 0xf8, 0x57, 0x04, 0x77, 0xa6, 0xcd, 0x5f, 0xbc, - 0x3f, 0x59, 0xe0, 0x2d, 0x73, 0xda, 0xb0, 0x66, 0x85, 0xa7, 0xc7, 0x62, 0xbe, 0xfb, 0xc3, 0x1f, - 0x7f, 0xff, 0x54, 0x7a, 0x60, 0x6e, 0x27, 0x0f, 0xe6, 0xe5, 0x87, 0xc3, 0x17, 0xd6, 0xce, 0xa7, - 0xc0, 0x40, 0xf2, 0x47, 0x68, 0x0f, 0xff, 0x86, 0x60, 0x63, 0xfa, 0xdc, 0xc2, 0xf6, 0x4d, 0xac, - 0x37, 0xcc, 0x57, 0xe3, 0x83, 0xd9, 0x3f, 0x28, 0x08, 0xad, 0xe3, 0x97, 0x08, 0xfd, 0xb1, 0x84, - 0xf0, 0x2f, 0x08, 0xf0, 0xe4, 0x15, 0xc7, 0xef, 0xbd, 0x94, 0x73, 0x38, 0x05, 0x8d, 0xf7, 0x67, - 0x03, 0x6b, 0x71, 0x7b, 0x89, 0xb8, 0xb7, 0xcd, 0x9d, 0x5b, 0xc4, 0x05, 0x8c, 0xbf, 0x88, 0x6d, - 0xf4, 0x61, 0x51, 0xdf, 0x0d, 0x5c, 0x9f, 0x24, 0x29, 0x5e, 0x33, 0xe3, 0xfe, 0x2d, 0x08, 0xcd, - 0x7d, 0x27, 0xe1, 0x5e, 0xc5, 0xd5, 0x51, 0xee, 0xa3, 0xcf, 0xbe, 0x7c, 0xdc, 0x63, 0xea, 0xab, - 0xc1, 0x85, 0xe5, 0x89, 0xbe, 0x9d, 0x6c, 0x22, 0x64, 0x2f, 0xfd, 0x61, 0xe7, 0xff, 0x51, 0x7a, - 0x94, 0xdb, 0xe1, 0xc5, 0x7e, 0x4f, 0xd8, 0xe3, 0xff, 0xb4, 0x2e, 0xca, 0xc9, 0x44, 0xf8, 0xe8, - 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x5e, 0xc8, 0x56, 0x84, 0x09, 0x00, 0x00, + // 997 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe3, 0x44, + 0x14, 0x8e, 0xdd, 0x6e, 0xdb, 0xbc, 0xfe, 0x64, 0xb4, 0x2a, 0xd9, 0xb4, 0xdb, 0xa6, 0x5e, 0x84, + 0x4a, 0x61, 0x6d, 0x28, 0x5a, 0xc1, 0xae, 0x76, 0x85, 0xda, 0x26, 0xbb, 0x89, 0xe8, 0x56, 0x95, + 0x9b, 0x1e, 0xe0, 0x62, 0x4d, 0xed, 0x49, 0x18, 0xd6, 0x99, 0xf1, 0x8e, 0x27, 0xa5, 0x91, 0x10, + 0x07, 0x4e, 0x5c, 0x11, 0x47, 0x2e, 0x9c, 0xb8, 0xf3, 0x57, 0x70, 0x45, 0xe2, 0x3f, 0x40, 0xfc, + 0x15, 0x9c, 0x90, 0xed, 0xb1, 0x1d, 0x27, 0x69, 0x37, 0x45, 0xdc, 0xfc, 0xe6, 0xfb, 0xec, 0xef, + 0xbd, 0x6f, 0xde, 0x3c, 0x0f, 0xd4, 0x3a, 0xfe, 0x40, 0x12, 0xea, 0xf9, 0x56, 0x48, 0xc4, 0x25, + 0x75, 0x89, 0xe5, 0x61, 0x89, 0x03, 0xc1, 0xaf, 0x06, 0x66, 0x20, 0xb8, 0xe4, 0x68, 0x2d, 0x65, + 0x98, 0x8a, 0x51, 0xdd, 0xec, 0x72, 0xde, 0xf5, 0x89, 0x85, 0x03, 0x6a, 0x61, 0xc6, 0xb8, 0xc4, + 0x92, 0x72, 0x16, 0x26, 0xfc, 0xea, 0x96, 0x42, 0xe3, 0xe8, 0xa2, 0xdf, 0xb1, 0xbc, 0xbe, 0x88, + 0x09, 0x0a, 0xdf, 0x1e, 0xc5, 0x25, 0xed, 0x91, 0x50, 0xe2, 0x5e, 0x90, 0x12, 0xb2, 0x94, 0x5c, + 0x2e, 0x88, 0x85, 0x85, 0xa4, 0x1d, 0xec, 0x4a, 0x87, 0x7a, 0xa9, 0x42, 0x91, 0x40, 0x3d, 0xc2, + 0x24, 0xed, 0x50, 0x22, 0x14, 0xbe, 0x59, 0xc4, 0x7d, 0x2a, 0x89, 0xc0, 0x7e, 0x9a, 0xdf, 0x4e, + 0x86, 0xa6, 0x5f, 0xce, 0x1e, 0x14, 0xc5, 0xf8, 0x43, 0x83, 0xcd, 0x23, 0x41, 0xb0, 0x24, 0xe7, + 0x81, 0xcf, 0xb1, 0x77, 0xcc, 0xdd, 0xb8, 0x02, 0x9b, 0x84, 0x01, 0x67, 0x21, 0x41, 0xf7, 0x01, + 0x42, 0xda, 0x65, 0xc4, 0x73, 0xfa, 0xc2, 0xaf, 0x68, 0x35, 0x6d, 0xb7, 0x6c, 0x97, 0x93, 0x95, + 0x73, 0xe1, 0x47, 0x30, 0xc3, 0x92, 0x5e, 0x92, 0x18, 0xd6, 0x13, 0x38, 0x59, 0x89, 0xe0, 0xc7, + 0x00, 0xe4, 0x2a, 0xa0, 0x82, 0x84, 0x0e, 0x96, 0x95, 0x99, 0x9a, 0xb6, 0xbb, 0xb8, 0x5f, 0x35, + 0x13, 0x5b, 0xcc, 0xd4, 0x16, 0xb3, 0x9d, 0xda, 0x62, 0x97, 0x15, 0xfb, 0x40, 0xa2, 0x4f, 0x60, + 0x21, 0x4d, 0xb6, 0x32, 0x1b, 0xbf, 0xb8, 0x61, 0x66, 0xfb, 0x93, 0x22, 0xe6, 0x81, 0x7a, 0xb0, + 0x33, 0xb2, 0xf1, 0x9b, 0x0e, 0x1b, 0x93, 0x4b, 0x7a, 0xdd, 0x27, 0xa1, 0x44, 0x15, 0x98, 0x0f, + 0x04, 0xff, 0x9a, 0xb8, 0x52, 0x95, 0x93, 0x86, 0x68, 0x1d, 0xe6, 0x3c, 0xde, 0xc3, 0x94, 0xa9, + 0x42, 0x54, 0x84, 0xaa, 0xb0, 0xd0, 0xa1, 0x3e, 0x61, 0xb8, 0x47, 0xe2, 0x1a, 0xca, 0x76, 0x16, + 0xa3, 0x4f, 0xf3, 0x0a, 0x29, 0x53, 0x89, 0xde, 0x1b, 0xab, 0xb0, 0xae, 0x1a, 0x23, 0x2b, 0xb0, + 0xc5, 0xd0, 0x36, 0x2c, 0xba, 0x9c, 0x49, 0xc2, 0xa4, 0xd3, 0xf3, 0x1e, 0x55, 0xee, 0xd4, 0xb4, + 0xdd, 0x25, 0x1b, 0xd4, 0xd2, 0x4b, 0xef, 0x11, 0x7a, 0x00, 0xcb, 0xa9, 0x8c, 0x23, 0x38, 0x97, + 0x95, 0xb9, 0x58, 0x7b, 0x29, 0x5d, 0xb4, 0x39, 0x97, 0xa8, 0x0e, 0xcb, 0x59, 0xdb, 0x84, 0x01, + 0x71, 0x2b, 0xf3, 0x71, 0x0a, 0xdb, 0x37, 0x78, 0x75, 0x16, 0x10, 0xd7, 0x5e, 0xc2, 0x43, 0x91, + 0xf1, 0x2d, 0xdc, 0x4f, 0x2c, 0xab, 0xf3, 0x6f, 0xd8, 0x24, 0xd3, 0x8a, 0xfb, 0xac, 0x8d, 0xee, + 0x73, 0xd1, 0x05, 0x7d, 0x7a, 0x17, 0x9e, 0xe8, 0x15, 0xcd, 0xf8, 0x0e, 0xb6, 0xae, 0x53, 0x9f, + 0xae, 0x0b, 0x8b, 0x6d, 0xa6, 0xdf, 0xa2, 0xcd, 0x62, 0xfd, 0x7f, 0x34, 0xb8, 0x37, 0x92, 0x00, + 0x65, 0xaf, 0xd2, 0xd2, 0x8f, 0x86, 0x1c, 0x96, 0x83, 0x80, 0xc4, 0xf2, 0x2b, 0xfb, 0x5b, 0xe6, + 0xe8, 0xb4, 0xc8, 0x0c, 0x6e, 0x0f, 0x02, 0x92, 0x1b, 0x1c, 0x45, 0xff, 0xdd, 0x20, 0xd4, 0x86, + 0xb7, 0x18, 0xf7, 0x88, 0x43, 0xae, 0x88, 0xdb, 0x8f, 0x40, 0x87, 0x7a, 0xea, 0x24, 0xbd, 0x9b, + 0xa7, 0x10, 0x1d, 0x7f, 0xf3, 0x84, 0x7b, 0xa4, 0x91, 0xd2, 0x5a, 0xd9, 0xac, 0x68, 0x96, 0xec, + 0x55, 0x56, 0x84, 0x0e, 0x17, 0x60, 0x2e, 0xe4, 0x7d, 0xe1, 0x12, 0xe3, 0x77, 0x0d, 0xaa, 0x93, + 0x8a, 0x57, 0xce, 0xef, 0x8c, 0x38, 0x3f, 0xb3, 0x5b, 0x3e, 0xd4, 0x2b, 0xda, 0xb0, 0xfb, 0xcf, + 0x6e, 0xe7, 0x7e, 0xf2, 0x7a, 0x7e, 0xd0, 0x5f, 0xc0, 0x6a, 0x20, 0x88, 0x93, 0xab, 0x84, 0xaa, + 0xbc, 0xed, 0x71, 0x87, 0x4f, 0x05, 0x39, 0x4b, 0x74, 0xed, 0xe3, 0xd0, 0x5e, 0x0e, 0xb2, 0x50, + 0xf8, 0xa1, 0x41, 0x61, 0xb9, 0x80, 0x8f, 0x75, 0xcd, 0xcc, 0xff, 0xd5, 0x35, 0xc6, 0x25, 0xac, + 0xbc, 0x20, 0xb2, 0x8e, 0x25, 0xce, 0x0f, 0x48, 0x39, 0xce, 0x36, 0x6f, 0xd0, 0x66, 0xc9, 0x5e, + 0x88, 0x97, 0x22, 0xad, 0xa7, 0xb0, 0x38, 0x34, 0xdd, 0xb3, 0x06, 0x28, 0xee, 0x5f, 0xda, 0x3f, + 0xad, 0x7a, 0xb3, 0x64, 0x43, 0xca, 0x6f, 0x79, 0x87, 0xf3, 0x70, 0xe7, 0x75, 0x9f, 0x88, 0x81, + 0xf1, 0xa3, 0x0e, 0xab, 0x99, 0xb0, 0xda, 0xa1, 0xa7, 0xb0, 0xa8, 0xe6, 0xbe, 0xd3, 0xc3, 0x41, + 0xac, 0x3d, 0xfe, 0xe9, 0xe3, 0x84, 0xf1, 0x12, 0x07, 0xd1, 0xa7, 0xfd, 0x2c, 0x42, 0xad, 0x71, + 0xf7, 0xf5, 0xa9, 0xdc, 0x6f, 0x96, 0x46, 0xfc, 0x47, 0xfb, 0x30, 0xaf, 0x3e, 0xac, 0x36, 0x70, + 0x7d, 0x72, 0x12, 0xcd, 0x92, 0x9d, 0x12, 0xd1, 0xe3, 0x5b, 0x4d, 0xf9, 0xc8, 0xd2, 0x74, 0xf1, + 0x70, 0x0e, 0x66, 0xa3, 0x1f, 0xf8, 0xde, 0x11, 0x2c, 0x0d, 0x1f, 0x3c, 0xb4, 0x01, 0x6f, 0x1f, + 0xd8, 0xed, 0xd6, 0xf3, 0x83, 0xa3, 0xb6, 0xd3, 0xfe, 0xe2, 0xb4, 0xe1, 0x9c, 0x9f, 0xd4, 0x1b, + 0xcf, 0x5b, 0x27, 0x8d, 0xfa, 0x5a, 0x09, 0xad, 0x03, 0x2a, 0x82, 0xf5, 0xc6, 0xd1, 0xe7, 0x6b, + 0xda, 0xfe, 0x5f, 0xb3, 0xb0, 0x16, 0xb9, 0x7a, 0x1a, 0x5d, 0x07, 0xce, 0x92, 0x7a, 0xd1, 0x2f, + 0x1a, 0xdc, 0x9d, 0xf4, 0x27, 0x41, 0x0f, 0xc7, 0xbd, 0xb9, 0xe1, 0x8f, 0x53, 0x35, 0xa7, 0xa5, + 0x27, 0x3b, 0x6a, 0xbc, 0xf7, 0xfd, 0x9f, 0x7f, 0xff, 0xa4, 0x3f, 0x30, 0xb6, 0xe2, 0x7b, 0xc7, + 0xe5, 0x47, 0xf9, 0x45, 0x25, 0xbf, 0x22, 0xf4, 0x05, 0x7b, 0xa2, 0xed, 0xa1, 0x5f, 0x35, 0x58, + 0x9f, 0x3c, 0x3b, 0x91, 0x75, 0x9d, 0xea, 0x35, 0x33, 0xbe, 0xfa, 0xe1, 0xf4, 0x2f, 0x14, 0x12, + 0xad, 0xa1, 0x37, 0x24, 0xfa, 0x83, 0xae, 0xa1, 0x9f, 0x35, 0x40, 0xe3, 0x63, 0x06, 0xbd, 0xff, + 0x46, 0xcd, 0x7c, 0x12, 0x57, 0x3f, 0x98, 0x8e, 0xac, 0x92, 0xdb, 0x8b, 0x93, 0x7b, 0xc7, 0xd8, + 0xbe, 0x21, 0x39, 0x9f, 0xb2, 0x57, 0x91, 0x8d, 0x1e, 0xcc, 0xab, 0x63, 0x85, 0x6a, 0xe3, 0x22, + 0xc5, 0xa3, 0x5e, 0xdd, 0xb9, 0x81, 0xa1, 0xb4, 0xef, 0xc6, 0xda, 0x2b, 0x68, 0x69, 0x58, 0xfb, + 0xf0, 0xb3, 0x2f, 0x9f, 0x75, 0xa9, 0xfc, 0xaa, 0x7f, 0x61, 0xba, 0xbc, 0x67, 0xc5, 0x1f, 0xe1, + 0xa2, 0x9b, 0x3c, 0x58, 0xd9, 0x5d, 0xad, 0x4b, 0x98, 0x15, 0x5c, 0x3c, 0xec, 0x72, 0x6b, 0xf4, + 0xc2, 0x7a, 0x31, 0x17, 0x4f, 0xa5, 0x8f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x38, 0x4d, 0x0e, + 0x34, 0xcb, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json index 4534435f3d..37455d411b 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json @@ -29,7 +29,31 @@ "parameters": [ { "name": "flyte_url", - "description": "A unique identifier in the form of flyte://\u003csomething\u003e that uniquely, for a given Flyte\nbackend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).\ne.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)\n flyte://v1/proj/development/execid/n2/i (for node execution input)\n flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node).", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "artifact_id.artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "artifact_id.artifact_key.domain", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "artifact_id.artifact_key.name", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "artifact_id.version", "in": "query", "required": false, "type": "string" @@ -173,6 +197,107 @@ } } }, + "artifactArtifact": { + "type": "object", + "properties": { + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + }, + "spec": { + "$ref": "#/definitions/artifactArtifactSpec" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "title": "references the tag field in ArtifactTag" + } + } + }, + "artifactArtifactSpec": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but\nforgets to change the name, that is okay. And the reason why this is a separate field is because adding the\ntype to all Literals is a lot of work." + }, + "task_execution": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "Outputs of tasks will have this." + }, + "execution": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Workflow outputs will have this." + }, + "principal": { + "type": "string", + "description": "Uploads, either from the UI or from the CLI, or FlyteRemote, will have this." + }, + "short_description": { + "type": "string" + }, + "long_description": { + "type": "string" + }, + "user_metadata": { + "$ref": "#/definitions/protobufAny", + "title": "Additional user metadata" + }, + "metadata_type": { + "type": "string" + } + } + }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, "coreBinary": { "type": "object", "properties": { @@ -246,6 +371,54 @@ }, "description": "Represents an error thrown from a node." }, + "coreIdentifier": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Identifies the specific type of resource that this identifier corresponds to." + }, + "project": { + "type": "string", + "description": "Name of the project the resource belongs to." + }, + "domain": { + "type": "string", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project." + }, + "name": { + "type": "string", + "description": "User provided value for the resource." + }, + "version": { + "type": "string", + "description": "Specific version of the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, "coreLiteral": { "type": "object", "properties": { @@ -264,6 +437,13 @@ "hash": { "type": "string", "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." } }, "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." @@ -354,6 +534,17 @@ }, "description": "Encapsulation of fields that identify a Flyte node execution entity." }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, "corePrimitive": { "type": "object", "properties": { @@ -382,6 +573,18 @@ }, "title": "Primitive Types" }, + "coreResourceType": { + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ], + "default": "UNSPECIFIED", + "description": "Indicates a resource type within Flyte.\n\n - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects.\nEventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects \nin a similar manner to other Flyte objects" + }, "coreScalar": { "type": "object", "properties": { @@ -502,6 +705,22 @@ } } }, + "coreTaskExecutionIdentifier": { + "type": "object", + "properties": { + "task_id": { + "$ref": "#/definitions/coreIdentifier" + }, + "node_execution_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier" + }, + "retry_attempt": { + "type": "integer", + "format": "int64" + } + }, + "description": "Encapsulation of fields that identify a Flyte task execution entity." + }, "coreTypeAnnotation": { "type": "object", "properties": { @@ -569,6 +788,21 @@ }, "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" }, + "protobufAny": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, "protobufListValue": { "type": "object", "properties": { @@ -726,6 +960,10 @@ "filename_root": { "type": "string", "title": "If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included\nthis makes the upload location deterministic. The native url will still be prefixed by the upload location prefix\nin data proxy config. This option is useful when uploading multiple files.\n+optional" + }, + "artifact_spec": { + "$ref": "#/definitions/artifactArtifactSpec", + "description": "If provided, the Artifact that the upload creates will contain the information specified here." } }, "description": "CreateUploadLocationRequest specified request for the CreateUploadLocation API.\nThe implementation in data proxy service will create the s3 location with some server side configured prefixes,\nand then:\n - project/domain/(a deterministic str representation of the content_md5)/filename (if present); OR\n - project/domain/filename_root (if present)/filename (if present)." @@ -745,6 +983,9 @@ "type": "string", "format": "date-time", "description": "ExpiresAt defines when will the signed URL expires." + }, + "artifact": { + "$ref": "#/definitions/artifactArtifact" } } }, @@ -762,6 +1003,9 @@ "literal": { "$ref": "#/definitions/coreLiteral", "description": "Single literal will be returned. This is returned when the user/url requests a specific output or input\nby name. See the o3 example above." + }, + "artifact": { + "$ref": "#/definitions/artifactArtifact" } } }, diff --git a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json index bb0e406339..f22fd6e556 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json @@ -163,6 +163,63 @@ } } }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "coreArtifactTag": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, "coreBinary": { "type": "object", "properties": { @@ -390,6 +447,14 @@ }, "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, "coreK8sObjectMetadata": { "type": "object", "properties": { @@ -442,6 +507,20 @@ }, "description": "A generic key value pair." }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, "coreLiteral": { "type": "object", "properties": { @@ -460,6 +539,13 @@ "hash": { "type": "string", "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." } }, "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." @@ -586,6 +672,17 @@ "default": "CLIENT_CREDENTIALS", "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, "corePrimitive": { "type": "object", "properties": { @@ -1028,6 +1125,13 @@ "description": { "type": "string", "title": "+optional string describing input variable" + }, + "artifact_partial_id": { + "$ref": "#/definitions/coreArtifactID", + "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" } }, "description": "Defines a strongly typed variable." diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md index 14173a7992..e01dc09db8 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md @@ -215,6 +215,11 @@ Class | Method | HTTP request | Description - [CoreAlias](docs/CoreAlias.md) - [CoreApproveCondition](docs/CoreApproveCondition.md) - [CoreArrayNode](docs/CoreArrayNode.md) + - [CoreArtifactBindingData](docs/CoreArtifactBindingData.md) + - [CoreArtifactId](docs/CoreArtifactId.md) + - [CoreArtifactKey](docs/CoreArtifactKey.md) + - [CoreArtifactQuery](docs/CoreArtifactQuery.md) + - [CoreArtifactTag](docs/CoreArtifactTag.md) - [CoreBinary](docs/CoreBinary.md) - [CoreBinding](docs/CoreBinding.md) - [CoreBindingData](docs/CoreBindingData.md) @@ -245,10 +250,12 @@ Class | Method | HTTP request | Description - [CoreIdentity](docs/CoreIdentity.md) - [CoreIfBlock](docs/CoreIfBlock.md) - [CoreIfElseBlock](docs/CoreIfElseBlock.md) + - [CoreInputBindingData](docs/CoreInputBindingData.md) - [CoreIoStrategy](docs/CoreIoStrategy.md) - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) - [CoreK8sPod](docs/CoreK8sPod.md) - [CoreKeyValuePair](docs/CoreKeyValuePair.md) + - [CoreLabelValue](docs/CoreLabelValue.md) - [CoreLiteral](docs/CoreLiteral.md) - [CoreLiteralCollection](docs/CoreLiteralCollection.md) - [CoreLiteralMap](docs/CoreLiteralMap.md) @@ -264,6 +271,7 @@ Class | Method | HTTP request | Description - [CoreOutputReference](docs/CoreOutputReference.md) - [CoreParameter](docs/CoreParameter.md) - [CoreParameterMap](docs/CoreParameterMap.md) + - [CorePartitions](docs/CorePartitions.md) - [CorePrimitive](docs/CorePrimitive.md) - [CorePromiseAttribute](docs/CorePromiseAttribute.md) - [CoreQualityOfService](docs/CoreQualityOfService.md) @@ -333,6 +341,7 @@ Class | Method | HTTP request | Description - [IoStrategyUploadMode](docs/IoStrategyUploadMode.md) - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) - [ProjectProjectState](docs/ProjectProjectState.md) + - [ProtobufAny](docs/ProtobufAny.md) - [ProtobufListValue](docs/ProtobufListValue.md) - [ProtobufNullValue](docs/ProtobufNullValue.md) - [ProtobufStruct](docs/ProtobufStruct.md) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml index d38070fe5f..eec3f773c4 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml @@ -3522,6 +3522,37 @@ definitions: domain: "domain" name: "name" project: "project" + artifact_ids: + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -3907,6 +3938,37 @@ definitions: domain: "domain" name: "name" project: "project" + artifact_ids: + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4108,6 +4170,37 @@ definitions: domain: "domain" name: "name" project: "project" + artifact_ids: + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4262,6 +4355,13 @@ definitions: description: "Optional, platform-specific metadata about the execution.\n\ In this the future this may be gated behind an ACL or some sort of authorization." $ref: "#/definitions/adminSystemMetadata" + artifact_ids: + type: "array" + description: "Save a list of the artifacts used in this execution for now.\ + \ This is a list only rather than a mapping\nsince we don't have a structure\ + \ to handle nested ones anyways." + items: + $ref: "#/definitions/coreArtifactID" description: "Represents attributes about an execution which are not required\ \ to launch the execution but are useful to record.\nThese attributes are assigned\ \ at launch time and do not change." @@ -4278,6 +4378,37 @@ definitions: domain: "domain" name: "name" project: "project" + artifact_ids: + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4423,6 +4554,37 @@ definitions: domain: "domain" name: "name" project: "project" + artifact_ids: + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4691,6 +4853,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -4742,6 +4920,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -4770,7 +4961,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -4851,6 +5042,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -4860,6 +5053,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -4911,6 +5120,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true spec: workflow_id: @@ -4935,6 +5208,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -5012,7 +5288,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5093,6 +5369,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5102,6 +5380,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5153,6 +5447,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -5232,6 +5590,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5283,6 +5657,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -5311,7 +5698,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5392,6 +5779,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5401,6 +5790,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5452,6 +5857,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true adminLaunchPlanCreateRequest: type: "object" @@ -5497,6 +5966,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5548,6 +6033,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -5576,7 +6074,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5657,6 +6155,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5666,6 +6166,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5717,6 +6233,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true spec: workflow_id: @@ -5741,6 +6321,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -5818,7 +6401,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5899,6 +6482,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5908,6 +6493,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5959,6 +6560,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -6018,6 +6683,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6069,6 +6750,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -6097,7 +6791,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -6178,6 +6872,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -6187,6 +6883,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6238,6 +6950,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true spec: workflow_id: @@ -6262,6 +7038,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -6339,7 +7118,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -6420,6 +7199,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -6429,6 +7210,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6480,6 +7277,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -6540,6 +7401,9 @@ definitions: title: "List of notifications based on Execution status transitions" items: $ref: "#/definitions/adminNotification" + launch_conditions: + title: "Additional metadata for how to launch the launch plan" + $ref: "#/definitions/protobufAny" description: "Additional launch plan attributes included in the LaunchPlanSpec\ \ not strictly required to launch\nthe reference workflow." example: @@ -6552,6 +7416,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -6675,6 +7542,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -6752,7 +7622,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -6833,6 +7703,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -6842,6 +7714,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6893,6 +7781,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -7801,7 +8753,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -7971,7 +8923,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8156,7 +9108,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8242,7 +9194,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -8267,7 +9219,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8353,7 +9305,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -8383,7 +9335,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8469,7 +9421,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -8494,7 +9446,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8580,7 +9532,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -8614,7 +9566,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8700,7 +9652,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -8725,7 +9677,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8811,7 +9763,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -8911,7 +9863,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9081,7 +10033,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9296,7 +10248,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9382,7 +10334,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -9407,7 +10359,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9493,7 +10445,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -9523,7 +10475,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9609,7 +10561,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -9634,7 +10586,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9720,7 +10672,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -9754,7 +10706,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9840,7 +10792,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -9865,7 +10817,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9951,7 +10903,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -10051,7 +11003,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10221,7 +11173,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10435,7 +11387,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10521,7 +11473,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -10546,7 +11498,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10632,7 +11584,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -10662,7 +11614,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10748,7 +11700,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -10773,7 +11725,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10859,7 +11811,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -10893,7 +11845,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10979,7 +11931,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -11004,7 +11956,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11090,7 +12042,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -11190,7 +12142,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11360,7 +12312,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11558,6 +12510,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -11609,10 +12577,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -11664,6 +12661,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -11700,7 +12710,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11870,7 +12880,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12055,7 +13065,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12141,7 +13151,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -12166,7 +13176,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12252,7 +13262,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -12282,7 +13292,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12368,7 +13378,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -12393,7 +13403,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12479,7 +13489,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -12513,7 +13523,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12599,7 +13609,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -12624,7 +13634,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12710,7 +13720,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -12810,7 +13820,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12980,7 +13990,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13195,7 +14205,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13281,7 +14291,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -13306,7 +14316,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13392,7 +14402,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -13422,7 +14432,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13508,7 +14518,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -13533,7 +14543,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13619,7 +14629,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -13653,7 +14663,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13739,7 +14749,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -13764,7 +14774,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13850,7 +14860,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -13950,7 +14960,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14120,7 +15130,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14334,7 +15344,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14420,7 +15430,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -14445,7 +15455,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14531,7 +15541,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -14561,7 +15571,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14647,7 +15657,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -14672,7 +15682,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14758,7 +15768,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -14792,7 +15802,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14878,7 +15888,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -14903,7 +15913,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14989,7 +15999,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -15089,7 +16099,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -15259,7 +16269,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -15457,6 +16467,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15508,10 +16534,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15563,6 +16618,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -15683,6 +16751,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15734,10 +16818,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15789,6 +16902,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -15946,6 +17072,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15997,10 +17139,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -16052,6 +17223,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -16127,7 +17311,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16297,7 +17481,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16482,7 +17666,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16568,7 +17752,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -16593,7 +17777,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16679,7 +17863,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -16709,7 +17893,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16795,7 +17979,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -16820,7 +18004,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16906,7 +18090,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -16940,7 +18124,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17026,7 +18210,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -17051,7 +18235,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17137,7 +18321,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -17237,7 +18421,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17407,7 +18591,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17622,7 +18806,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17708,7 +18892,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -17733,7 +18917,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17819,7 +19003,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -17849,7 +19033,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17935,7 +19119,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -17960,7 +19144,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18046,7 +19230,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -18080,7 +19264,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18166,7 +19350,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -18191,7 +19375,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18277,7 +19461,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -18377,7 +19561,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18547,7 +19731,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18761,7 +19945,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18847,7 +20031,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -18872,7 +20056,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18958,7 +20142,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -18988,7 +20172,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19074,7 +20258,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -19099,7 +20283,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19185,7 +20369,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -19219,7 +20403,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19305,7 +20489,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -19330,7 +20514,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19416,7 +20600,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -19516,7 +20700,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19686,7 +20870,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19884,6 +21068,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -19935,10 +21135,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -19990,6 +21219,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -21162,6 +22404,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21213,10 +22471,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21268,6 +22555,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -21441,6 +22741,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21492,10 +22808,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21547,6 +22892,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -22133,6 +23491,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22184,10 +23558,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22239,6 +23642,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -22406,6 +23822,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22457,10 +23889,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22512,6 +23973,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -22701,7 +24175,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -22871,7 +24345,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23056,7 +24530,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23142,7 +24616,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -23167,7 +24641,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23253,7 +24727,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -23283,7 +24757,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23369,7 +24843,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -23394,7 +24868,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23480,7 +24954,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -23514,7 +24988,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23600,7 +25074,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -23625,7 +25099,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23711,7 +25185,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -23811,7 +25285,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23981,7 +25455,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24196,7 +25670,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24282,7 +25756,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -24307,7 +25781,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24393,7 +25867,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -24423,7 +25897,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24509,7 +25983,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -24534,7 +26008,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24620,7 +26094,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -24654,7 +26128,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24740,7 +26214,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -24765,7 +26239,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24851,7 +26325,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -24951,7 +26425,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25121,7 +26595,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25335,7 +26809,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25421,7 +26895,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -25446,7 +26920,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25532,7 +27006,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -25562,7 +27036,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25648,7 +27122,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -25673,7 +27147,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25759,7 +27233,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -25793,7 +27267,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25879,7 +27353,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -25904,7 +27378,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25990,7 +27464,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -26090,7 +27564,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26260,7 +27734,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26458,6 +27932,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -26509,10 +27999,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -26564,6 +28083,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -26600,7 +28132,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26770,7 +28302,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26955,7 +28487,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27041,7 +28573,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -27066,7 +28598,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27152,7 +28684,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -27182,7 +28714,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27268,7 +28800,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -27293,7 +28825,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27379,7 +28911,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -27413,7 +28945,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27499,7 +29031,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -27524,7 +29056,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27610,7 +29142,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -27710,7 +29242,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27880,7 +29412,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28095,7 +29627,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28181,7 +29713,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -28206,7 +29738,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28292,7 +29824,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -28322,7 +29854,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28408,7 +29940,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -28433,7 +29965,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28519,7 +30051,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -28553,7 +30085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28639,7 +30171,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -28664,7 +30196,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28750,7 +30282,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -28850,7 +30382,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29020,7 +30552,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29234,7 +30766,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29320,7 +30852,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -29345,7 +30877,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29431,7 +30963,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -29461,7 +30993,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29547,7 +31079,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -29572,7 +31104,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29658,7 +31190,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -29692,7 +31224,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29778,7 +31310,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -29803,7 +31335,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29889,7 +31421,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -29989,7 +31521,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -30159,7 +31691,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -30357,6 +31889,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30408,10 +31956,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30463,6 +32040,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -30583,6 +32173,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30634,10 +32240,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30689,6 +32324,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -30846,6 +32494,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30897,10 +32561,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30952,6 +32645,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -31027,7 +32733,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31197,7 +32903,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31382,7 +33088,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31468,7 +33174,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -31493,7 +33199,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31579,7 +33285,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -31609,7 +33315,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31695,7 +33401,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -31720,7 +33426,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31806,7 +33512,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -31840,7 +33546,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31926,7 +33632,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -31951,7 +33657,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32037,7 +33743,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -32137,7 +33843,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32307,7 +34013,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32522,7 +34228,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32608,7 +34314,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -32633,7 +34339,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32719,7 +34425,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -32749,7 +34455,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32835,7 +34541,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -32860,7 +34566,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32946,7 +34652,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -32980,7 +34686,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33066,7 +34772,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -33091,7 +34797,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33177,7 +34883,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -33277,7 +34983,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33447,7 +35153,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33661,7 +35367,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33747,7 +35453,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -33772,7 +35478,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33858,7 +35564,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -33888,7 +35594,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33974,7 +35680,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -33999,7 +35705,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34085,7 +35791,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -34119,7 +35825,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34205,7 +35911,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -34230,7 +35936,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34316,7 +36022,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -34416,7 +36122,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34586,7 +36292,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34784,6 +36490,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -34835,10 +36557,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -34890,6 +36641,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -35211,7 +36975,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35381,7 +37145,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35566,7 +37330,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35652,7 +37416,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -35677,7 +37441,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35763,7 +37527,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -35793,7 +37557,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35879,7 +37643,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -35904,7 +37668,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35990,7 +37754,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -36024,7 +37788,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36110,7 +37874,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -36135,7 +37899,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36221,7 +37985,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -36321,7 +38085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36491,7 +38255,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36706,7 +38470,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36792,7 +38556,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -36817,7 +38581,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36903,7 +38667,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -36933,7 +38697,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37019,7 +38783,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -37044,7 +38808,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37130,7 +38894,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -37164,7 +38928,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37250,7 +39014,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -37275,7 +39039,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37361,7 +39125,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -37461,7 +39225,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37631,7 +39395,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37845,7 +39609,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37931,7 +39695,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -37956,7 +39720,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38042,7 +39806,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -38072,7 +39836,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38158,7 +39922,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -38183,7 +39947,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38269,7 +40033,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -38303,7 +40067,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38389,7 +40153,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -38414,7 +40178,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38500,7 +40264,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -38600,7 +40364,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38770,7 +40534,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38968,6 +40732,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -39019,10 +40799,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -39074,6 +40883,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -39110,7 +40932,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39280,7 +41102,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39465,7 +41287,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39551,7 +41373,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -39576,7 +41398,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39662,7 +41484,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -39692,7 +41514,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39778,7 +41600,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -39803,7 +41625,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39889,7 +41711,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -39923,7 +41745,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40009,7 +41831,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -40034,7 +41856,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40120,7 +41942,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -40220,7 +42042,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40390,7 +42212,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40605,7 +42427,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40691,7 +42513,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -40716,7 +42538,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40802,7 +42624,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -40832,7 +42654,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40918,7 +42740,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -40943,7 +42765,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41029,7 +42851,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -41063,7 +42885,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41149,7 +42971,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -41174,7 +42996,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41260,7 +43082,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -41360,7 +43182,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41530,7 +43352,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41744,7 +43566,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41830,7 +43652,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -41855,7 +43677,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41941,7 +43763,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -41971,7 +43793,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42057,7 +43879,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -42082,7 +43904,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42168,7 +43990,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -42202,7 +44024,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42288,7 +44110,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -42313,7 +44135,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42399,7 +44221,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -42499,7 +44321,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42669,7 +44491,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42867,6 +44689,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -42918,10 +44756,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -42973,6 +44840,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -43093,6 +44973,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43144,10 +45040,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43199,6 +45124,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -43356,6 +45294,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43407,10 +45361,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43462,6 +45445,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -43537,7 +45533,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -43707,7 +45703,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -43892,7 +45888,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -43978,7 +45974,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -44003,7 +45999,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44089,7 +46085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -44119,7 +46115,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44205,7 +46201,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -44230,7 +46226,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44316,7 +46312,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -44350,7 +46346,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44436,7 +46432,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -44461,7 +46457,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44547,7 +46543,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -44647,7 +46643,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44817,7 +46813,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45032,7 +47028,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45118,7 +47114,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -45143,7 +47139,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45229,7 +47225,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -45259,7 +47255,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45345,7 +47341,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -45370,7 +47366,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45456,7 +47452,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -45490,7 +47486,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45576,7 +47572,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -45601,7 +47597,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45687,7 +47683,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -45787,7 +47783,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45957,7 +47953,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46171,7 +48167,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46257,7 +48253,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -46282,7 +48278,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46368,7 +48364,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -46398,7 +48394,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46484,7 +48480,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -46509,7 +48505,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46595,7 +48591,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -46629,7 +48625,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46715,7 +48711,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -46740,7 +48736,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46826,7 +48822,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -46926,7 +48922,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47096,7 +49092,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47294,6 +49290,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -47345,10 +49357,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -47400,6 +49441,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -47668,7 +49722,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47838,7 +49892,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48023,7 +50077,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48109,7 +50163,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -48134,7 +50188,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48220,7 +50274,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -48250,7 +50304,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48336,7 +50390,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -48361,7 +50415,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48447,7 +50501,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -48481,7 +50535,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48567,7 +50621,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -48592,7 +50646,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48678,7 +50732,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -48778,7 +50832,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48948,7 +51002,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49163,7 +51217,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49249,7 +51303,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -49274,7 +51328,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49360,7 +51414,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -49390,7 +51444,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49476,7 +51530,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -49501,7 +51555,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49587,7 +51641,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -49621,7 +51675,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49707,7 +51761,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -49732,7 +51786,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49818,7 +51872,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -49918,7 +51972,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50088,7 +52142,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50302,7 +52356,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50388,7 +52442,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -50413,7 +52467,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50499,7 +52553,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -50529,7 +52583,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50615,7 +52669,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -50640,7 +52694,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50726,7 +52780,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -50760,7 +52814,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50846,7 +52900,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -50871,7 +52925,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50957,7 +53011,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -51057,7 +53111,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51227,7 +53281,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51425,6 +53479,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -51476,10 +53546,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -51531,6 +53630,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -51567,7 +53679,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51737,7 +53849,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51922,7 +54034,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52008,7 +54120,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -52033,7 +54145,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52119,7 +54231,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -52149,7 +54261,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52235,7 +54347,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -52260,7 +54372,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52346,7 +54458,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -52380,7 +54492,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52466,7 +54578,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -52491,7 +54603,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52577,7 +54689,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -52677,7 +54789,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52847,7 +54959,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53062,7 +55174,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53148,7 +55260,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -53173,7 +55285,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53259,7 +55371,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -53289,7 +55401,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53375,7 +55487,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -53400,7 +55512,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53486,7 +55598,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -53520,7 +55632,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53606,7 +55718,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -53631,7 +55743,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53717,7 +55829,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -53817,7 +55929,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53987,7 +56099,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54201,7 +56313,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54287,7 +56399,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -54312,7 +56424,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54398,7 +56510,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -54428,7 +56540,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54514,7 +56626,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -54539,7 +56651,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54625,7 +56737,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -54659,7 +56771,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54745,7 +56857,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -54770,7 +56882,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54856,7 +56968,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -54956,7 +57068,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55126,7 +57238,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55324,61 +57436,22 @@ definitions: variables: key: description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: + artifact_partial_id: + partitions: + value: key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - tag: "tag" - inputs: - variables: - key: - description: "description" + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -55430,6 +57503,103 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + inputs: + variables: + key: + description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + blob: + dimensionality: {} + format: "format" + enum_type: + values: + - "values" + - "values" + union_type: + variants: + - null + - null + simple: {} + structure: + tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -55550,6 +57720,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -55601,10 +57787,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -55656,6 +57871,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -55813,6 +58041,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -55864,10 +58108,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -55919,6 +58192,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -55994,7 +58280,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56164,7 +58450,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56349,7 +58635,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56435,7 +58721,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -56460,7 +58746,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56546,7 +58832,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -56576,7 +58862,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56662,7 +58948,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -56687,7 +58973,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56773,7 +59059,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -56807,7 +59093,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56893,7 +59179,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -56918,7 +59204,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57004,7 +59290,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -57104,7 +59390,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57274,7 +59560,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57489,7 +59775,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57575,7 +59861,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -57600,7 +59886,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57686,7 +59972,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -57716,7 +60002,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57802,7 +60088,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -57827,7 +60113,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57913,7 +60199,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -57947,7 +60233,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58033,7 +60319,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -58058,7 +60344,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58144,7 +60430,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -58244,7 +60530,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58414,7 +60700,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58628,7 +60914,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58714,7 +61000,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -58739,7 +61025,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58825,7 +61111,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -58855,7 +61141,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58941,7 +61227,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -58966,7 +61252,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59052,7 +61338,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -59086,7 +61372,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59172,7 +61458,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -59197,7 +61483,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59283,7 +61569,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -59383,7 +61669,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59553,7 +61839,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59751,6 +62037,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -59802,10 +62104,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -59857,6 +62188,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -59904,7 +62248,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60074,7 +62418,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60259,7 +62603,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60345,7 +62689,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -60370,7 +62714,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60456,7 +62800,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -60486,7 +62830,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60572,7 +62916,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -60597,7 +62941,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60683,7 +63027,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -60717,7 +63061,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60803,7 +63147,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -60828,7 +63172,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60914,7 +63258,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -61014,7 +63358,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61184,7 +63528,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61399,7 +63743,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61485,7 +63829,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -61510,7 +63854,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61596,7 +63940,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -61626,7 +63970,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61712,7 +64056,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -61737,7 +64081,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61823,7 +64167,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -61857,7 +64201,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61943,7 +64287,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -61968,7 +64312,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62054,7 +64398,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -62154,7 +64498,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62324,7 +64668,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62538,7 +64882,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62624,7 +64968,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -62649,7 +64993,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62735,7 +65079,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -62765,7 +65109,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62851,7 +65195,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -62876,7 +65220,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62962,7 +65306,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -62996,7 +65340,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63082,7 +65426,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -63107,7 +65451,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63193,7 +65537,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -63293,7 +65637,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63463,7 +65807,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63661,6 +66005,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -63712,10 +66072,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -63767,6 +66156,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -63803,7 +66205,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63973,7 +66375,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64158,7 +66560,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64244,7 +66646,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -64269,7 +66671,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64355,7 +66757,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -64385,7 +66787,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64471,7 +66873,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -64496,7 +66898,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64582,7 +66984,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -64616,7 +67018,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64702,7 +67104,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -64727,7 +67129,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64813,7 +67215,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -64913,7 +67315,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65083,7 +67485,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65298,7 +67700,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65384,7 +67786,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -65409,7 +67811,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65495,7 +67897,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -65525,7 +67927,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65611,7 +68013,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -65636,7 +68038,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65722,7 +68124,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -65756,7 +68158,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65842,7 +68244,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -65867,7 +68269,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65953,7 +68355,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -66053,7 +68455,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66223,7 +68625,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66437,7 +68839,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66523,7 +68925,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -66548,7 +68950,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66634,7 +69036,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -66664,7 +69066,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66750,7 +69152,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -66775,7 +69177,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66861,7 +69263,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -66895,7 +69297,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66981,7 +69383,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -67006,7 +69408,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67092,7 +69494,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -67192,7 +69594,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67362,7 +69764,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67560,6 +69962,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -67611,10 +70029,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -67666,6 +70113,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -67786,6 +70246,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -67837,10 +70313,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -67892,6 +70397,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -68049,6 +70567,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -68100,10 +70634,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -68155,6 +70718,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -68230,7 +70806,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -68400,7 +70976,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -68585,7 +71161,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -68671,7 +71247,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -68696,7 +71272,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -68782,7 +71358,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -68812,7 +71388,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -68898,7 +71474,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -68923,7 +71499,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69009,7 +71585,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -69043,7 +71619,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69129,7 +71705,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -69154,7 +71730,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69240,7 +71816,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -69340,7 +71916,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69510,7 +72086,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69725,7 +72301,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69811,7 +72387,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -69836,7 +72412,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69922,7 +72498,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -69952,7 +72528,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70038,7 +72614,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -70063,7 +72639,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70149,7 +72725,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -70183,7 +72759,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70269,7 +72845,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -70294,7 +72870,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70380,7 +72956,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -70480,7 +73056,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70650,7 +73226,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70864,7 +73440,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70950,7 +73526,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -70975,7 +73551,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71061,7 +73637,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -71091,7 +73667,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71177,7 +73753,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -71202,7 +73778,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71288,7 +73864,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -71322,7 +73898,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71408,7 +73984,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -71433,7 +74009,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71519,7 +74095,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -71619,7 +74195,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71789,7 +74365,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71987,6 +74563,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -72038,10 +74630,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -72093,6 +74714,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -72188,6 +74822,135 @@ definitions: min_successes: 5 parallelism: 1 min_success_ratio: 5.637377 + coreArtifactBindingData: + type: "object" + properties: + index: + type: "integer" + format: "int64" + partition_key: + type: "string" + title: "These two fields are only relevant in the partition value case" + transform: + type: "string" + title: "Only valid for triggers" + example: + transform: "transform" + partition_key: "partition_key" + index: 1 + coreArtifactID: + type: "object" + properties: + artifact_key: + $ref: "#/definitions/coreArtifactKey" + version: + type: "string" + partitions: + $ref: "#/definitions/corePartitions" + example: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + coreArtifactKey: + type: "object" + properties: + project: + type: "string" + description: "Project and domain and suffix needs to be unique across a given\ + \ artifact store." + domain: + type: "string" + name: + type: "string" + example: + domain: "domain" + name: "name" + project: "project" + coreArtifactQuery: + type: "object" + properties: + artifact_id: + $ref: "#/definitions/coreArtifactID" + artifact_tag: + $ref: "#/definitions/coreArtifactTag" + uri: + type: "string" + binding: + description: "This is used in the trigger case, where a user specifies a value\ + \ for an input that is one of the triggering\nartifacts, or a partition\ + \ value derived from a triggering artifact." + $ref: "#/definitions/coreArtifactBindingData" + title: "Uniqueness constraints for Artifacts\n - project, domain, name, version,\ + \ partitions\nOption 2 (tags are standalone, point to an individual artifact\ + \ id):\n - project, domain, name, alias (points to one partition if partitioned)\n\ + \ - project, domain, name, partition key, partition value" + example: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + coreArtifactTag: + type: "object" + properties: + artifact_key: + $ref: "#/definitions/coreArtifactKey" + value: + $ref: "#/definitions/coreLabelValue" + example: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 coreBinary: type: "object" properties: @@ -72239,7 +75002,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72427,7 +75190,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72671,7 +75434,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72757,7 +75520,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -72782,7 +75545,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72868,7 +75631,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -72910,7 +75673,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72996,7 +75759,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -73021,7 +75784,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73107,7 +75870,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -73137,7 +75900,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73223,7 +75986,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -73248,7 +76011,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73334,7 +76097,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -73368,7 +76131,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73454,7 +76217,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -73479,7 +76242,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73565,7 +76328,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -73676,7 +76439,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73762,7 +76525,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -73787,7 +76550,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73873,7 +76636,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -73994,6 +76757,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -74045,10 +76824,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -74100,6 +76908,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -74187,7 +77008,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74357,7 +77178,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74542,7 +77363,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74628,7 +77449,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -74653,7 +77474,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74739,7 +77560,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -74769,7 +77590,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74855,7 +77676,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -74880,7 +77701,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74966,7 +77787,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -75000,7 +77821,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75086,7 +77907,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -75111,7 +77932,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75197,7 +78018,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -75297,7 +78118,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75467,7 +78288,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75682,7 +78503,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75768,7 +78589,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -75793,7 +78614,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75879,7 +78700,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -75909,7 +78730,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75995,7 +78816,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -76020,7 +78841,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76106,7 +78927,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -76140,7 +78961,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76226,7 +79047,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -76251,7 +79072,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76337,7 +79158,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -76437,7 +79258,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76607,7 +79428,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76821,7 +79642,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76907,7 +79728,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -76932,7 +79753,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77018,7 +79839,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -77048,7 +79869,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77134,7 +79955,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -77159,7 +79980,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77245,7 +80066,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -77279,7 +80100,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77365,7 +80186,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -77390,7 +80211,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77476,7 +80297,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -77576,7 +80397,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77746,7 +80567,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77944,6 +80765,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -77995,10 +80832,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -78050,6 +80916,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -78113,7 +80992,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78283,7 +81162,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78468,7 +81347,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78554,7 +81433,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -78579,7 +81458,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78665,7 +81544,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -78695,7 +81574,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78781,7 +81660,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -78806,7 +81685,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78892,7 +81771,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -78926,7 +81805,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79012,7 +81891,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -79037,7 +81916,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79123,7 +82002,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -79223,7 +82102,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79393,7 +82272,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79608,7 +82487,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79694,7 +82573,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -79719,7 +82598,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79805,7 +82684,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -79835,7 +82714,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79921,7 +82800,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -79946,7 +82825,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80032,7 +82911,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -80066,7 +82945,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80152,7 +83031,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -80177,7 +83056,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80263,7 +83142,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -80363,7 +83242,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80533,7 +83412,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80747,7 +83626,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80833,7 +83712,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -80858,7 +83737,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80944,7 +83823,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -80974,7 +83853,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81060,7 +83939,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -81085,7 +83964,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81171,7 +84050,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -81205,7 +84084,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81291,7 +84170,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -81316,7 +84195,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81402,7 +84281,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -81502,7 +84381,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81672,7 +84551,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81870,6 +84749,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -81921,10 +84816,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -81976,6 +84900,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -82012,7 +84949,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82182,7 +85119,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82367,7 +85304,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82453,7 +85390,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -82478,7 +85415,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82564,7 +85501,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -82594,7 +85531,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82680,7 +85617,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -82705,7 +85642,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82791,7 +85728,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -82825,7 +85762,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82911,7 +85848,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -82936,7 +85873,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83022,7 +85959,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -83122,7 +86059,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83292,7 +86229,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83507,7 +86444,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83593,7 +86530,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -83618,7 +86555,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83704,7 +86641,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -83734,7 +86671,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83820,7 +86757,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -83845,7 +86782,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83931,7 +86868,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -83965,7 +86902,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84051,7 +86988,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -84076,7 +87013,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84162,7 +87099,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -84262,7 +87199,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84432,7 +87369,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84646,7 +87583,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84732,7 +87669,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -84757,7 +87694,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84843,7 +87780,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -84873,7 +87810,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84959,7 +87896,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -84984,7 +87921,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85070,7 +88007,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -85104,7 +88041,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85190,7 +88127,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -85215,7 +88152,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85301,7 +88238,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -85401,7 +88338,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85571,7 +88508,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85769,6 +88706,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -85820,10 +88773,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -85875,6 +88857,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -85995,6 +88990,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -86046,10 +89057,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -86101,6 +89141,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -86258,6 +89311,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -86309,10 +89378,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -86364,6 +89462,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -86439,7 +89550,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86609,7 +89720,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86794,7 +89905,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86880,7 +89991,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -86905,7 +90016,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86991,7 +90102,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -87021,7 +90132,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87107,7 +90218,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -87132,7 +90243,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87218,7 +90329,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -87252,7 +90363,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87338,7 +90449,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -87363,7 +90474,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87449,7 +90560,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -87549,7 +90660,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87719,7 +90830,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87934,7 +91045,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88020,7 +91131,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -88045,7 +91156,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88131,7 +91242,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -88161,7 +91272,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88247,7 +91358,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -88272,7 +91383,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88358,7 +91469,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -88392,7 +91503,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88478,7 +91589,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -88503,7 +91614,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88589,7 +91700,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -88689,7 +91800,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88859,7 +91970,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89073,7 +92184,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89159,7 +92270,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -89184,7 +92295,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89270,7 +92381,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -89300,7 +92411,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89386,7 +92497,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -89411,7 +92522,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89497,7 +92608,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -89531,7 +92642,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89617,7 +92728,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -89642,7 +92753,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89728,7 +92839,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -89828,7 +92939,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89998,7 +93109,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90196,6 +93307,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -90247,10 +93374,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -90302,6 +93458,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -90738,7 +93907,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90824,7 +93993,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -90849,7 +94018,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90935,7 +94104,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -90987,7 +94156,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91073,7 +94242,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -91098,7 +94267,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91184,7 +94353,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -91214,7 +94383,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91300,7 +94469,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -91325,7 +94494,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91411,7 +94580,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -91445,7 +94614,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91531,7 +94700,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -91556,7 +94725,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91642,10 +94811,17 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} + coreInputBindingData: + type: "object" + properties: + var: + type: "string" + example: + var: "var" coreK8sObjectMetadata: type: "object" properties: @@ -91728,6 +94904,23 @@ definitions: example: value: "value" key: "key" + coreLabelValue: + type: "object" + properties: + static_value: + type: "string" + triggered_binding: + $ref: "#/definitions/coreArtifactBindingData" + input_binding: + $ref: "#/definitions/coreInputBindingData" + example: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 coreLiteral: type: "object" properties: @@ -91744,6 +94937,11 @@ definitions: type: "string" title: "A hash representing this literal.\nThis is used for caching purposes.\ \ For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + metadata: + type: "object" + description: "Additional metadata for literals." + additionalProperties: + type: "string" description: "A simple value. This supports any level of nesting (e.g. array of\ \ array of array of Blobs) as well as simple primitives." example: @@ -91768,7 +94966,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91849,6 +95047,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -92056,7 +95256,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92142,7 +95342,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -92167,7 +95367,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92253,7 +95453,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -92283,7 +95483,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92369,7 +95569,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -92394,7 +95594,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92480,7 +95680,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -92514,7 +95714,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92600,7 +95800,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -92625,7 +95825,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92711,7 +95911,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -92811,7 +96011,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92981,7 +96181,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93322,7 +96522,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93408,7 +96608,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" coreOutputReference: @@ -93449,6 +96649,12 @@ definitions: type: "boolean" format: "boolean" description: "+optional, is this value required to be filled." + artifact_query: + description: "This is an execution time search basically that should result\ + \ in exactly one Artifact with a Type that\nmatches the type of the variable." + $ref: "#/definitions/coreArtifactQuery" + artifact_id: + $ref: "#/definitions/coreArtifactID" description: "A parameter is used as input to a launch plan and has\nthe special\ \ ability to have a default value or mark itself as required." example: @@ -93474,7 +96680,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93555,6 +96761,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -93564,6 +96772,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -93615,6 +96839,70 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true coreParameterMap: type: "object" @@ -93650,7 +96938,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93731,6 +97019,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -93740,6 +97030,22 @@ definitions: hash: "hash" var: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -93791,7 +97097,88 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + uri: "uri" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true + corePartitions: + type: "object" + properties: + value: + type: "object" + additionalProperties: + $ref: "#/definitions/coreLabelValue" + example: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 corePrimitive: type: "object" properties: @@ -93817,7 +97204,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" corePromiseAttribute: type: "object" @@ -93968,7 +97355,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -94772,6 +98159,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -94823,10 +98226,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -94878,6 +98310,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -94971,6 +98416,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -95022,10 +98483,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -95077,6 +98567,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 coreUnion: type: "object" properties: @@ -95225,9 +98728,32 @@ definitions: description: type: "string" title: "+optional string describing input variable" + artifact_partial_id: + description: "+optional This object allows the user to specify how Artifacts\ + \ are created.\nname, tag, partitions can be specified. The other fields\ + \ (version and project/domain) are ignored." + $ref: "#/definitions/coreArtifactID" + artifact_tag: + $ref: "#/definitions/coreArtifactTag" description: "Defines a strongly typed variable." example: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -95279,6 +98805,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 coreVariableMap: type: "object" properties: @@ -95292,6 +98831,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -95343,6 +98898,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 coreVoid: type: "object" description: "Used to denote a nil/null/None assignment to a scalar value. The\ @@ -95516,7 +99084,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -95686,7 +99254,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -95871,7 +99439,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -95957,7 +99525,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -95982,7 +99550,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -96068,7 +99636,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -96098,7 +99666,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -96184,7 +99752,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -96209,7 +99777,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -96295,7 +99863,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -96329,7 +99897,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -96415,7 +99983,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -96440,7 +100008,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -96526,7 +100094,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -96626,7 +100194,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -96796,7 +100364,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97011,7 +100579,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97097,7 +100665,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -97122,7 +100690,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97208,7 +100776,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -97238,7 +100806,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97324,7 +100892,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -97349,7 +100917,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97435,7 +101003,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -97469,7 +101037,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97555,7 +101123,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -97580,7 +101148,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97666,7 +101234,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -97766,7 +101334,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97936,7 +101504,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98150,7 +101718,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98236,7 +101804,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -98261,7 +101829,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98347,7 +101915,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -98377,7 +101945,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98463,7 +102031,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -98488,7 +102056,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98574,7 +102142,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -98608,7 +102176,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98694,7 +102262,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -98719,7 +102287,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98805,7 +102373,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -98905,7 +102473,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99075,7 +102643,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99273,6 +102841,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -99324,10 +102908,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -99379,6 +102992,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 eventEventReason: type: "object" properties: @@ -99715,7 +103341,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99885,7 +103511,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100070,7 +103696,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100156,7 +103782,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -100181,7 +103807,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100267,7 +103893,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -100297,7 +103923,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100383,7 +104009,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -100408,7 +104034,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100494,7 +104120,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -100528,7 +104154,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100614,7 +104240,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -100639,7 +104265,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100725,7 +104351,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -100825,7 +104451,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100995,7 +104621,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101210,7 +104836,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101296,7 +104922,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -101321,7 +104947,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101407,7 +105033,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -101437,7 +105063,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101523,7 +105149,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -101548,7 +105174,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101634,7 +105260,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -101668,7 +105294,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101754,7 +105380,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -101779,7 +105405,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101865,7 +105491,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -101965,7 +105591,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102135,7 +105761,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102349,7 +105975,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102435,7 +106061,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -102460,7 +106086,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102546,7 +106172,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -102576,7 +106202,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102662,7 +106288,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -102687,7 +106313,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102773,7 +106399,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -102807,7 +106433,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102893,7 +106519,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -102918,7 +106544,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103004,7 +106630,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -103104,7 +106730,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103274,7 +106900,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103472,6 +107098,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -103523,10 +107165,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -103578,6 +107249,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -103614,7 +107298,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103784,7 +107468,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103969,7 +107653,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104055,7 +107739,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -104080,7 +107764,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104166,7 +107850,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -104196,7 +107880,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104282,7 +107966,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -104307,7 +107991,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104393,7 +108077,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -104427,7 +108111,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104513,7 +108197,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -104538,7 +108222,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104624,7 +108308,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -104724,7 +108408,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104894,7 +108578,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105109,7 +108793,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105195,7 +108879,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -105220,7 +108904,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105306,7 +108990,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -105336,7 +109020,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105422,7 +109106,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -105447,7 +109131,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105533,7 +109217,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -105567,7 +109251,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105653,7 +109337,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -105678,7 +109362,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105764,7 +109448,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -105864,7 +109548,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106034,7 +109718,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106248,7 +109932,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106334,7 +110018,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -106359,7 +110043,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106445,7 +110129,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -106475,7 +110159,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106561,7 +110245,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -106586,7 +110270,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106672,7 +110356,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -106706,7 +110390,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106792,7 +110476,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -106817,7 +110501,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106903,7 +110587,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -107003,7 +110687,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107173,7 +110857,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107371,6 +111055,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -107422,10 +111122,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -107477,6 +111206,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -107597,6 +111339,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -107648,10 +111406,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -107703,6 +111490,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -107860,6 +111660,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -107911,10 +111727,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -107966,6 +111811,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 config: key: "config" security_context: @@ -108041,7 +111899,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108211,7 +112069,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108396,7 +112254,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108482,7 +112340,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -108507,7 +112365,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108593,7 +112451,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -108623,7 +112481,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108709,7 +112567,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -108734,7 +112592,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108820,7 +112678,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -108854,7 +112712,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108940,7 +112798,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -108965,7 +112823,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109051,7 +112909,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -109151,7 +113009,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109321,7 +113179,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109536,7 +113394,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109622,7 +113480,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -109647,7 +113505,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109733,7 +113591,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -109763,7 +113621,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109849,7 +113707,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -109874,7 +113732,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109960,7 +113818,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -109994,7 +113852,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110080,7 +113938,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -110105,7 +113963,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110191,7 +114049,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -110291,7 +114149,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110461,7 +114319,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110675,7 +114533,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110761,7 +114619,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -110786,7 +114644,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110872,7 +114730,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -110902,7 +114760,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110988,7 +114846,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -111013,7 +114871,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111099,7 +114957,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -111133,7 +114991,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111219,7 +115077,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -111244,7 +115102,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111330,7 +115188,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -111430,7 +115288,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111600,7 +115458,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111798,6 +115656,22 @@ definitions: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -111849,10 +115723,39 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 inputs: variables: key: description: "description" + artifact_partial_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -111904,6 +115807,19 @@ definitions: simple: {} structure: tag: "tag" + artifact_tag: + artifact_key: + domain: "domain" + name: "name" + project: "project" + value: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 connections: upstream: key: @@ -112293,6 +116209,67 @@ definitions: $ref: "#/definitions/coreWorkflowExecutionIdentifier" title: "For Workflow Nodes we need to send information about the workflow that's\ \ launched" + protobufAny: + type: "object" + properties: + type_url: + type: "string" + description: "A URL/resource name that uniquely identifies the type of the\ + \ serialized\nprotocol buffer message. This string must contain at least\n\ + one \"/\" character. The last segment of the URL's path must represent\n\ + the fully qualified name of the type (as in\n`path/google.protobuf.Duration`).\ + \ The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\ + \nIn practice, teams usually precompile into the binary all types that they\n\ + expect it to use in the context of Any. However, for URLs which use the\n\ + scheme `http`, `https`, or no scheme, one can optionally set up a type\n\ + server that maps type URLs to message definitions as follows:\n\n* If no\ + \ scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must\ + \ yield a [google.protobuf.Type][]\n value in binary format, or produce\ + \ an error.\n* Applications are allowed to cache lookup results based on\ + \ the\n URL, or have them precompiled into a binary to avoid any\n lookup.\ + \ Therefore, binary compatibility needs to be preserved\n on changes to\ + \ types. (Use versioned type names to manage\n breaking changes.)\n\nNote:\ + \ this functionality is not currently available in the official\nprotobuf\ + \ release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\ + \nSchemes other than `http`, `https` (or the empty scheme) might be\nused\ + \ with implementation specific semantics." + value: + type: "string" + format: "byte" + description: "Must be a valid serialized protocol buffer of the above specified\ + \ type." + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" + description: "`Any` contains an arbitrary serialized protocol buffer message along\ + \ with a\nURL that describes the type of the serialized message.\n\nProtobuf\ + \ library provides support to pack/unpack Any values in the form\nof utility\ + \ functions or additional generated methods of the Any type.\n\nExample 1: Pack\ + \ and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n\ + \ ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack\ + \ and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n\ + \ ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n\ + \ }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n\ + \ any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n\ + \ any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in\ + \ Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n\ + \ ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo);\ + \ err != nil {\n ...\n }\n\nThe pack methods provided by protobuf\ + \ library will by default use\n'type.googleapis.com/full.type.name' as the type\ + \ URL and the unpack\nmethods only use the fully qualified type name after the\ + \ last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n\ + name \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses\ + \ the regular\nrepresentation of the deserialized, embedded message, with an\n\ + additional field `@type` which contains the type URL. Example:\n\n package\ + \ google.profile;\n message Person {\n string first_name = 1;\n \ + \ string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\"\ + ,\n \"firstName\": ,\n \"lastName\": \n }\n\nIf\ + \ the embedded message type is well-known and has a custom JSON\nrepresentation,\ + \ that representation will be embedded adding a field\n`value` which holds the\ + \ custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\ + \n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n\ + \ \"value\": \"1.212s\"\n }" + example: + value: "value" + type_url: "type_url" protobufListValue: type: "object" properties: diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go index 9db8ddfd7f..a309aa0be5 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go @@ -27,4 +27,6 @@ type AdminExecutionMetadata struct { ReferenceExecution *CoreWorkflowExecutionIdentifier `json:"reference_execution,omitempty"` // Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. SystemMetadata *AdminSystemMetadata `json:"system_metadata,omitempty"` + // Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping since we don't have a structure to handle nested ones anyways. + ArtifactIds []CoreArtifactId `json:"artifact_ids,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go index f368501cd8..655ac325c2 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go @@ -13,4 +13,5 @@ package flyteadmin type AdminLaunchPlanMetadata struct { Schedule *AdminSchedule `json:"schedule,omitempty"` Notifications []AdminNotification `json:"notifications,omitempty"` + LaunchConditions *ProtobufAny `json:"launch_conditions,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go new file mode 100644 index 0000000000..fe0083167e --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreArtifactBindingData struct { + Index int64 `json:"index,omitempty"` + PartitionKey string `json:"partition_key,omitempty"` + Transform string `json:"transform,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go new file mode 100644 index 0000000000..13c054e25a --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreArtifactId struct { + ArtifactKey *CoreArtifactKey `json:"artifact_key,omitempty"` + Version string `json:"version,omitempty"` + Partitions *CorePartitions `json:"partitions,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go new file mode 100644 index 0000000000..6aad4528b0 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreArtifactKey struct { + // Project and domain and suffix needs to be unique across a given artifact store. + Project string `json:"project,omitempty"` + Domain string `json:"domain,omitempty"` + Name string `json:"name,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go new file mode 100644 index 0000000000..0425ac9bb8 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreArtifactQuery struct { + ArtifactId *CoreArtifactId `json:"artifact_id,omitempty"` + ArtifactTag *CoreArtifactTag `json:"artifact_tag,omitempty"` + Uri string `json:"uri,omitempty"` + // This is used in the trigger case, where a user specifies a value for an input that is one of the triggering artifacts, or a partition value derived from a triggering artifact. + Binding *CoreArtifactBindingData `json:"binding,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go new file mode 100644 index 0000000000..54b3bcb6e3 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreArtifactTag struct { + ArtifactKey *CoreArtifactKey `json:"artifact_key,omitempty"` + Value *CoreLabelValue `json:"value,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go new file mode 100644 index 0000000000..1a66e6cf49 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreInputBindingData struct { + Var_ string `json:"var,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go new file mode 100644 index 0000000000..772c27188e --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreLabelValue struct { + StaticValue string `json:"static_value,omitempty"` + TriggeredBinding *CoreArtifactBindingData `json:"triggered_binding,omitempty"` + InputBinding *CoreInputBindingData `json:"input_binding,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go index 03ee493617..32592b12a6 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go @@ -18,4 +18,6 @@ type CoreLiteral struct { // A map of strings to literals. Map_ *CoreLiteralMap `json:"map,omitempty"` Hash string `json:"hash,omitempty"` + // Additional metadata for literals. + Metadata map[string]string `json:"metadata,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go index 096c7efb0e..5e113d24c8 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go @@ -17,4 +17,7 @@ type CoreParameter struct { Default_ *CoreLiteral `json:"default,omitempty"` // +optional, is this value required to be filled. Required bool `json:"required,omitempty"` + // This is an execution time search basically that should result in exactly one Artifact with a Type that matches the type of the variable. + ArtifactQuery *CoreArtifactQuery `json:"artifact_query,omitempty"` + ArtifactId *CoreArtifactId `json:"artifact_id,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go new file mode 100644 index 0000000000..a4c70146cc --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CorePartitions struct { + Value map[string]CoreLabelValue `json:"value,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go index 40e43f0588..60655aff32 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go @@ -14,4 +14,7 @@ type CoreVariable struct { // Variable literal type. Type_ *CoreLiteralType `json:"type,omitempty"` Description string `json:"description,omitempty"` + // +optional This object allows the user to specify how Artifacts are created. name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. + ArtifactPartialId *CoreArtifactId `json:"artifact_partial_id,omitempty"` + ArtifactTag *CoreArtifactTag `json:"artifact_tag,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go new file mode 100644 index 0000000000..cc85641360 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": , \"lastName\": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" } +type ProtobufAny struct { + // A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. + TypeUrl string `json:"type_url,omitempty"` + // Must be a valid serialized protocol buffer of the above specified type. + Value string `json:"value,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/openapi.go b/flyteidl/gen/pb-go/flyteidl/service/openapi.go index 944147b453..8306cb63cf 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/openapi.go +++ b/flyteidl/gen/pb-go/flyteidl/service/openapi.go @@ -78,7 +78,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\xf9\x73\x2b\xb7\x95\x37\x8c\xff\x3e\x7f\x05\x9e\x3b\x4f\x95\xed\x44\x8b\x93\xcc\xe4\x9b\xd2\xd4\x53\xdf\x97\x96\x78\xaf\xf5\x58\x5b\xb4\xd8\xe3\x77\x98\xa2\xc1\x6e\x90\x44\xd4\x0d\x74\x00\xb4\x74\xe9\x54\xfe\xf7\xb7\x70\xb0\x34\x7a\x23\x9b\x8b\x24\xea\xba\x67\xaa\x62\x5d\x76\x37\xd6\x83\x83\xb3\x7e\xce\x3f\xff\x0d\xa1\x0f\xf2\x19\xcf\x66\x44\x7c\x38\x41\x1f\xfe\x78\xf4\xed\x87\x03\xfd\x1b\x65\x53\xfe\xe1\x04\xe9\xe7\x08\x7d\x50\x54\x25\x44\x3f\x9f\x26\x0b\x45\x68\x9c\x1c\x4b\x22\x9e\x68\x44\x8e\x71\x9c\x52\x76\x94\x09\xae\x38\x7c\x88\xd0\x87\x27\x22\x24\xe5\x4c\xbf\x6e\xff\x44\x8c\x2b\x24\x89\xfa\xf0\x6f\x08\xfd\x0b\x9a\x97\xd1\x9c\xa4\x44\x7e\x38\x41\xff\x63\x3e\x9a\x2b\x95\xb9\x06\xf4\xdf\x52\xbf\xfb\x37\x78\x37\xe2\x4c\xe6\xa5\x97\x71\x96\x25\x34\xc2\x8a\x72\x76\xfc\x77\xc9\x59\xf1\x6e\x26\x78\x9c\x47\x1d\xdf\xc5\x6a\x2e\x8b\x39\x1e\xe3\x8c\x1e\x3f\xfd\xe1\x18\x47\x8a\x3e\x91\x71\x82\x73\x16\xcd\xc7\x59\x82\x99\x3c\xfe\x27\x8d\xf5\x1c\xff\x4e\x22\xf5\x2f\xf8\x47\xcc\x53\x4c\x99\xf9\x9b\xe1\x94\xfc\xcb\xb7\x83\xd0\x87\x19\x51\xc1\x3f\xf5\x6c\xf3\x34\xc5\x62\xa1\x57\xe4\x23\x51\xd1\x1c\xa9\x39\x41\xa6\x1f\xe4\x96\x88\x4f\x11\x46\x27\x82\x4c\x4f\x7e\x11\x64\x3a\x76\x0b\x7d\x64\x16\xf8\x02\x46\x73\x93\x60\xf6\xcb\x91\x5d\x26\x68\x99\x67\x44\xc0\xdc\xce\x63\xdd\xfa\x27\xa2\x06\xd0\x6c\xf1\x7e\xf8\xb6\x20\x32\xe3\x4c\x12\x59\x1a\x1e\x42\x1f\xfe\xf8\xed\xb7\x95\x9f\x10\xfa\x10\x13\x19\x09\x9a\x29\xbb\x97\x03\x24\xf3\x28\x22\x52\x4e\xf3\x04\xb9\x96\xc2\xc1\x98\xa9\xea\x8d\xc5\xb5\xc6\x10\xfa\xf0\xbf\x05\x99\xea\x76\xfe\xfd\x38\x26\x53\xca\xa8\x6e\x57\x1a\xfa\x09\x46\x5b\xfa\xea\x5f\xff\xd6\xf4\xf7\xbf\x82\x19\x65\x58\xe0\x94\x28\x22\x8a\x1d\x37\xff\x57\x99\x8b\xde\x23\xdd\x79\xb1\x8f\xd5\x81\x57\x66\x7b\x85\x53\xa2\xf7\x44\xef\x94\xfd\x02\xfe\x16\x44\xf2\x5c\x44\x04\x4d\x48\xc2\xd9\x4c\x22\xc5\x6b\x6b\x40\xa1\x05\x4d\x5e\xd5\x27\x82\xfc\x23\xa7\x82\xe8\xbd\x52\x22\x27\x95\xa7\x6a\x91\xc1\x20\xa5\x12\x94\xcd\xc2\xa5\xf8\xd7\x41\xa7\xa9\x19\xaa\x5c\x63\x66\xe6\x83\xd6\x89\x8d\xd8\xc0\xbd\x12\x61\x86\x26\x04\xe9\xb3\x48\x63\x22\x48\x8c\xb0\x44\x18\xc9\x7c\x22\x89\x42\xcf\x54\xcd\x29\xd3\xff\xce\x48\x44\xa7\x34\x72\x6b\xb6\x3f\x6b\x03\x7f\x2e\x5f\x99\x07\x49\x84\x1e\xf8\x13\x8d\x49\x8c\x9e\x70\x92\x13\x34\xe5\xa2\xb4\x3c\x47\x23\x76\x3f\xd7\xeb\x90\x4e\x28\x83\x93\xa7\xd7\xd2\x51\xc8\xef\xdd\x72\xfd\x1e\xe9\xfe\x50\xce\xe8\x3f\x72\x92\x2c\x10\x8d\x09\x53\x74\x4a\x89\xac\xb6\xf6\x7b\x0e\xfd\xe3\x04\x1d\x22\xbd\xce\x44\x28\x58\x6f\xce\x14\xf9\xac\x24\x3a\x44\x09\x7d\x24\xe8\xab\x0b\x2a\x15\x1a\xdc\x9c\x7f\x75\x80\xbe\x32\xe7\x05\x01\x6f\xfa\xea\x15\x56\xd8\xff\xfd\xb7\xe0\xe8\x29\x3c\xab\x1e\xba\x0f\x03\x7d\x9a\xef\xcc\xd5\x50\xb4\xf0\xb7\x7f\x0b\xdb\xb1\xfb\xb5\x9c\xdf\x16\xcc\xd6\x72\xda\xae\xfc\x15\x96\xa9\xcc\x5a\xa5\xde\xa1\x6d\x39\xab\x6e\xb7\xca\x5a\xe5\xfb\xe2\xad\x7a\x0a\x2f\xcd\x5f\xb7\x61\xae\x58\x01\xd5\x63\xca\xcc\x21\xf1\x67\x46\x48\x7d\x4e\x1c\xf5\xee\x09\x4b\xd9\x86\xd7\x06\x33\x0b\xd8\xad\xe3\xa2\xc1\xaa\xec\xe1\xbc\x13\x9a\xd2\x55\xfb\x7b\xce\x62\x2d\x72\x59\x66\xc7\xf2\x74\x42\x84\x5e\x06\xc7\xf6\x60\xb6\x13\xcd\x06\x55\x2e\x18\x89\x3b\x4c\xf3\x1f\x39\x11\x8b\x25\xf3\x9c\xe2\x44\xb6\x4d\x94\x32\x45\xb4\x7c\x5b\x79\x3c\xe5\x22\xc5\xca\xbe\xf0\xe7\xff\x58\x77\x21\x14\x7f\x24\xab\xf6\xff\xdc\xec\x66\x84\x25\x90\x41\x9a\x27\x8a\x66\x09\x41\x19\x9e\x11\x69\x57\x24\x4f\x94\x3c\x80\xd7\xb4\x4c\x4d\xc4\xa1\xbf\x81\xa0\x07\x77\xf3\xe6\x12\x7e\x41\x53\x2f\x40\x32\xf2\x59\x41\x4b\x23\x06\x77\x2f\x2c\x51\x78\xa3\xbc\xc0\x52\x6e\x46\x33\x92\x0b\x35\x9e\x2c\x8e\x1e\x49\xad\xdf\x56\xca\xc1\x0c\x61\xa5\x04\x9d\xe4\x8a\xe8\x79\xeb\x36\xdc\xdd\x09\xec\xd1\x5c\xd0\x5d\x58\xc3\xdb\x4d\x38\xa6\x82\x44\x30\xb7\x75\x0e\x8c\xff\x4a\xcf\x5b\xeb\x2f\x0b\x33\xfb\x47\xb2\x00\x79\xa4\x61\x05\xfc\x96\x8f\xd8\x88\xa1\x43\x74\x36\xbc\x3b\x1d\x5e\x9d\x9d\x5f\x7d\x3a\x41\xdf\x2d\x50\x4c\xa6\x38\x4f\xd4\x01\x9a\x52\x92\xc4\x12\x61\x41\xa0\x49\x12\x6b\x99\x43\x0f\x86\xb0\x98\xb2\x19\xe2\x22\x26\xe2\xe5\x96\xb1\xf2\x94\xb0\x3c\xad\xdc\x2b\xf0\x7b\x31\xfa\xca\x17\x5a\xc4\xf0\x8f\x4a\x4f\xfe\x56\x5b\x60\x98\xb1\xee\x3b\x68\xed\xd5\x84\x9a\x68\x4e\x93\x58\x10\x76\xac\xb0\x7c\x1c\x93\xcf\x24\xca\xcd\x9d\xfc\xcf\xf2\x0f\x63\x2d\x99\xf2\x98\x94\x7f\x29\xfd\xa3\x10\x85\xd6\xfe\xd4\x6b\xa9\x6b\x7f\x09\x3a\x6d\xb7\xef\xe0\x17\x1a\x37\xbe\x0d\xbf\xac\x98\x83\x7b\x67\xc9\x60\xdd\x2b\xad\xa3\x72\x2f\x58\x89\xaf\xf1\x1d\x41\x94\x58\x8c\xb1\x52\x24\xcd\xd4\x9a\xfa\x3a\x46\x89\x96\x2b\x97\xc9\x91\x57\x3c\x26\x43\xd7\xdf\x2f\xc8\x88\xb3\x24\x46\x93\x85\xe5\x5a\x53\x22\x08\x8b\x48\x7b\x0b\xf7\x58\x3e\x16\x2d\xac\x12\x46\x4b\xfd\xc9\x8f\x5c\xe8\xcf\xdf\x83\x40\x5a\x1a\xf8\x6b\xc8\xa4\x9b\x9e\xb8\x2f\xce\x42\xb0\x21\xff\xe8\xed\x09\xdb\xaf\x64\x57\xeb\x03\x17\x48\x2e\xa4\x22\xe9\x4a\x3b\xc4\xfb\x59\x08\x7b\x41\xec\xeb\x80\x2b\x77\xd4\x6f\xe0\xd4\x97\x6f\xdc\xfe\x78\xaf\xb1\x64\xbb\xb2\x22\xee\xfb\x3c\x9d\x0f\x67\xf9\x54\xef\xdc\xf6\x05\x4e\x8c\x77\x31\xcd\x92\x2c\xb8\xeb\x41\xbe\x90\xb9\xa1\x75\xaf\xdc\x6a\x8f\x61\x00\x2b\x14\xcd\xb2\x1d\xda\x9f\x3f\xfd\x69\x68\xa1\x31\xe6\x38\x35\xa7\x32\x30\x56\xa1\x88\x0b\x23\x0b\xc6\xf6\xbc\x1b\x5d\x73\x70\x3f\xb8\x1b\xde\x9f\xa0\x01\x8a\xb1\xc2\xfa\x80\x0b\x92\x09\x22\x09\x53\xa0\xc7\xeb\xef\xd5\x02\xa5\x3c\x26\x89\xd1\x38\x3f\x6a\xc9\x17\x9d\x61\x85\x4f\xb1\xc2\x09\x9f\x1d\xa1\x01\xfc\x53\x7f\x4c\x25\xc2\x89\xe4\x08\x3b\xb2\x22\xb1\x6b\x02\xb3\xd8\xb1\x16\x8c\x22\x9e\x66\x34\xf1\x36\x78\x6f\x5c\xa1\x2c\xa6\x4f\x34\xce\x71\x82\xf8\x44\x73\x15\xad\x21\x0f\x9f\x08\x53\x39\x4e\x92\x05\xc2\x49\x82\x6c\xb7\xee\x05\x24\xe7\x3c\x4f\x62\xdd\xae\x1b\xa5\xa4\x29\x4d\xb0\xd0\x2a\xb8\x19\xed\xb5\x6d\x0b\xdd\xcf\x89\x1f\x2b\x8c\x4b\xaf\x66\x8a\x1f\x89\x44\x54\xa1\x8c\x4b\x49\x27\x49\x71\xe6\x1f\xce\x11\x8c\xfb\xf4\xe2\x1c\xf4\xf9\x48\x21\x6e\x78\xa8\xeb\xdc\xda\x6f\x5c\x8f\x29\x66\x8c\x40\xc7\x5c\xcd\x89\xb0\xdd\xdb\x97\xdf\x5a\x35\x7f\xb8\xba\xbb\x19\x9e\x9e\x7f\x3c\x1f\x9e\xd5\x75\xf3\xfb\xc1\xdd\x0f\xf5\x5f\x7f\xba\xbe\xfd\xe1\xe3\xc5\xf5\x4f\xf5\x27\x17\x83\x87\xab\xd3\xef\xc7\x37\x17\x83\xab\xfa\x43\x4b\x56\x9d\xd5\xfc\x70\x64\x6b\x9e\xad\xde\xa6\xf9\x52\x36\xcd\x83\x2f\xd7\xa8\x39\xa5\x09\xe8\xa0\x9d\x0d\x9a\xde\x86\x60\xbf\x44\x19\x96\xd2\x48\x46\x66\x04\x47\x23\x76\xc9\x85\x66\x60\x53\xae\x79\x84\x96\x9e\x94\xc8\x23\x45\xd9\xcc\x7f\x74\x82\x46\xf9\xb7\xdf\xfe\x29\xba\xa0\xec\x11\xfe\x22\xfb\xb8\x38\xbd\xc5\xb7\xb7\xf8\xfe\xb6\x2c\xbe\x5a\xf4\x39\x0e\x0d\xbd\xbb\x0d\x19\xd2\xc2\x05\xcb\x72\x05\xa2\x04\xcf\x95\xfe\x53\x77\x09\xe4\xb1\x24\x70\xa8\x9b\x41\xf1\x13\x51\xfe\x45\x2d\xda\xbc\x07\x3b\xe2\x4f\x5c\x3c\x4e\x13\xfe\xec\x07\xfe\x89\x28\x3d\xf6\x5b\xdb\x4b\x1f\x4a\xd4\x87\x12\xbd\x6d\x28\xd1\x5e\x19\xf3\x5e\x9e\xf9\x95\x2d\x7f\x86\x03\xb6\x78\xb2\x5a\x1d\x55\x2d\x7e\xa8\xc0\xcd\xf4\x2a\x5c\xb3\xec\xcc\x59\xc1\x39\x4b\x2f\xbf\x17\xee\x59\x1a\xf4\xeb\x73\xce\xdf\x84\xbf\xa5\x77\xa7\x6c\xb8\x50\xef\x92\xc1\x76\xbc\x3b\x5e\xcd\x19\xf2\xf2\x0c\xbf\x16\xdb\xb0\x4e\x30\xc3\x1a\xd1\x0b\x9d\xc3\x15\x56\xc4\x27\x34\x06\x24\x34\x45\x20\xd4\x43\x0e\x1a\x63\x0c\xb6\x0b\x2a\xd8\xf4\x6e\xea\x1e\x26\xf0\x89\xa8\xd2\xcb\xef\xe5\x6e\x2a\x0d\xfa\xf5\xef\xa6\xdf\x68\x74\x40\x1f\x0e\xf0\x82\x4b\xf7\xa5\xdf\x68\xfb\xeb\xf0\xff\x0d\x78\xf8\x7b\x97\xfe\x5a\x6b\xf4\x65\xf9\xf0\xbf\x54\xa7\xfd\xfb\xf4\xd2\xf7\x6e\xf9\xde\x2d\xff\x16\xfe\x93\xf7\xe7\x96\x7f\x59\xf5\xb4\x38\x5e\x63\x47\x0b\x56\x5f\x0b\x0e\xe5\xbf\x3a\x38\x69\xe0\x2f\xa7\xf2\xad\x1b\x34\xde\xaa\xc3\x9d\x15\xe3\x1b\xc2\x11\xfa\xc5\x12\xd2\x0a\x75\xae\xf6\xdd\x7b\x50\xe7\xea\x83\x7e\x79\x1d\xee\xcd\x98\xef\x0b\x5d\x9e\xef\x84\x0d\xac\x7f\x5b\x7e\xc1\x32\x79\x2f\x8b\xbf\x7c\x36\xfe\xde\x4c\xe8\xfd\xc8\xde\x6f\x70\xf1\x76\xbc\x75\x77\x9e\x93\xd5\x70\xcd\x06\xb7\xd3\xaa\x0c\xab\xea\xd7\x94\xc8\x3f\xbe\xcb\xfb\xf6\x35\x92\xac\xfa\x0b\xb7\xbf\x70\x6d\x53\xfd\x85\xfb\x05\x5f\xb8\x7b\x07\x7f\xb3\x37\x11\xa0\x7d\x10\x79\x0f\x8c\xd1\xc7\x90\xef\x70\x71\xfa\x18\xf2\x3e\x86\xfc\x37\x16\x43\xbe\x8d\xf6\xb4\x29\x16\xe5\x5b\xe8\x51\xbd\x1a\xd5\xab\x51\xe1\xef\xbd\x1a\xd5\xab\x51\xbd\x1a\xf5\x85\xa3\x88\xf6\x3a\x54\xf7\x85\xe8\x75\xa8\xce\x4b\xd5\xeb\x50\x4b\x16\xa7\xd7\xa1\x7a\x1d\xea\xb7\xa5\x43\x91\x27\xc2\x94\x84\x64\xb4\x50\xa3\xf8\x90\x71\xd9\xae\x09\x85\xdc\xa1\x41\x0b\x82\x36\xcb\x49\x61\x10\xb8\xf4\x0b\x9a\x63\x89\x78\x14\xe5\xa2\x72\x06\xaa\x7a\xd0\xa9\x20\x58\x11\x68\x41\x7f\xf8\x1e\xf4\x9f\xfa\x74\x5f\x2b\x06\x7f\xc2\xe3\x1a\xb5\x9b\x83\xd0\xf4\x64\xb9\x3c\xb2\xb3\xa9\xff\x23\x27\xdd\xd4\xbf\x17\x24\x6a\x85\xe5\xe3\x8e\x89\xba\x94\x6b\xb1\x11\x51\x43\x0b\xef\x85\xa8\xeb\xd3\xfd\xcd\x10\x75\xd3\xd4\xf7\x81\xa8\x9f\x6d\x1e\xff\x8e\x09\xbb\x06\x0f\xb0\x11\x71\xfb\x56\xde\x0b\x81\x37\x4f\xfb\x37\x43\xe4\x6d\xd3\x7f\x5b\x42\xf7\x29\x92\x9d\x49\xfc\x5e\xd0\xd9\x4c\xab\x19\xa0\xe1\x69\x52\x5c\x5d\x23\xa8\x48\x0a\x5c\x49\xd6\xfe\xd5\xf7\x40\xd2\x7e\xb0\x66\xec\xbf\x19\x5a\xae\xcd\x7b\x4f\x88\xf8\x58\x90\x88\x3f\x41\xbd\xb0\x6e\xc4\x7c\x4b\x80\x82\x81\x5f\x67\x82\x3c\x51\x9e\xcb\x64\x71\x28\x72\x86\x1c\xf3\x47\xbe\x79\x63\xad\x7e\xa6\x49\x82\x38\xd3\xfa\x97\xc2\x42\xb9\xc7\x5a\xff\x16\x3c\x85\x53\x91\x60\xa9\xd0\x23\xe3\xcf\x0c\x4d\x31\x4d\x72\x41\x50\xc6\x29\x53\x47\x23\x76\xce\xd0\xad\x19\x23\xe4\x0d\x1c\xa0\x5c\xea\xb3\x14\x61\xc6\xb8\x42\xd1\x1c\xb3\x19\x41\x98\x2d\x6c\x02\x6e\x41\x19\x88\x0b\x94\x67\x31\xd6\x8a\xef\x9c\x54\xa3\xf4\xfc\x18\xc1\x7c\x47\x25\xa2\x12\x91\xcf\x4a\x90\x94\x24\x0b\xdd\x87\xa6\x7d\xc5\x91\x5d\x1f\x33\x54\x9b\xce\x47\x84\xe0\x42\x42\xc6\xc1\x64\xf1\x2b\x66\x8a\x32\x82\x40\x51\x92\xc6\x34\x77\x88\x2e\xb8\x04\xb3\xcd\x0f\x7f\x91\x28\x4a\x72\xa9\x88\x38\x40\x93\x7c\x26\xb5\xa6\x98\x25\x58\x4d\xb9\x48\xf5\x08\x29\x93\x0a\x4f\x68\x42\xd5\xe2\x00\xa5\x38\x9a\x9b\xb6\x60\x0d\xe4\xc1\x88\xc5\xfc\x99\x49\x25\x08\xf6\xbd\xbb\x87\xe8\xeb\xf0\x99\x21\x00\xf9\xcd\x01\xa4\x1d\xd2\x54\xab\xbb\xc1\xf0\x8b\x1d\x37\x7b\xa2\x1b\x21\x31\x9a\x90\x08\xe7\xd2\x7a\x18\x94\x58\x20\xf2\x79\x8e\x73\x09\x7b\xa7\xa7\x67\x73\x36\x22\x9e\x66\x09\x51\x04\xd1\x29\x52\x82\x92\x18\xe1\x19\xa6\x7a\xe9\xee\xc8\x12\x10\x74\x4f\xf4\x76\x03\x2d\xd5\xff\x02\xea\x77\xca\x05\x41\x31\x51\x98\x26\x4b\xbd\x4e\xf6\xdb\x9e\xcb\xbd\x27\x2e\x57\xde\xf0\xbd\x60\x73\x06\xc4\x7f\x07\x97\x36\xb3\xa6\xfb\x08\x27\x5b\xde\xdf\xb7\x76\x50\x3d\x6d\xbf\x2f\xda\x36\xbb\xb6\x3f\xc4\xfd\x6a\x31\xd8\xdd\x2b\x5a\x14\xd5\x2c\xde\x15\x4d\xbf\x46\x58\x40\xef\x70\xee\x1d\xce\xad\x2b\xf3\x3e\x1d\xce\x7b\xe3\x31\xea\x7d\xce\x2f\xe4\x73\xa6\xb2\x77\x3a\xf7\x4e\xe7\xae\x0b\xd4\x3b\x9d\x7b\xa7\xf3\xfb\x75\x3a\xbf\x24\xee\xf3\x4e\xd1\x9d\xdf\x95\x68\xdd\x8b\xd5\xbd\x58\xdd\x43\x38\xfb\xa9\xed\x8a\x85\xb9\xaf\x3f\xc4\x24\x21\x8a\xb4\xdb\xb3\x88\x48\xb5\xb6\x60\xae\x67\xca\xb4\x1c\x37\x13\x44\xca\x6d\x19\x92\x6f\xf8\x7d\xb2\x25\x3f\xfc\x1e\x6a\xbe\xe7\x53\x3d\x9f\xda\x64\x6a\xfb\x63\x9a\x0d\x0e\xf3\x6b\xd9\x66\x3d\xff\xcd\xf2\x76\xe9\xef\xc1\xb8\x21\x0b\xbf\xa8\xa1\x70\x2d\xb5\x2b\xee\x0f\xb7\xa5\xf3\x2d\xf9\xb1\xe9\xeb\x7d\x32\x63\x33\xf6\x9e\x13\xf7\x9c\xb8\xe7\xc4\xef\x9b\x13\xbb\x93\xfc\xa6\x2e\x32\xe3\xa7\x1b\x67\x09\x66\x63\x1a\xcb\xe3\x7f\x16\xba\xfc\x4b\x79\xc8\xf4\x81\x8a\x4d\x8a\xa9\x4f\xe9\x14\xbf\xe8\x4f\x92\xc2\x60\xee\x31\x33\x57\x38\xd1\x8c\x8d\xfd\x26\xc1\xec\x3c\x7e\x17\x7e\xb4\xc6\xd9\xbf\x86\x4f\x6d\x1b\x3e\x8e\x15\x78\x3a\x30\x65\xc6\x84\x57\xe4\xd5\x96\x0c\x94\xfb\x71\xc2\xb7\xe1\xea\xc1\xc4\x02\xc6\xee\xf8\x75\xb0\x28\xfb\x37\xed\xde\xaf\xd3\xe7\x12\xf6\x9e\x8b\x8e\x13\xee\x3d\x17\xfb\xeb\xb9\x78\x2b\x77\xe4\x2b\x1f\xcf\xd7\x12\xeb\xba\x07\xe1\x9b\x68\x35\x08\x6a\xcd\xb3\x84\xe3\x78\x99\x2b\xa6\x10\xbc\x42\x70\x94\x95\x91\xf8\xc5\x67\xef\x41\x58\x2b\x46\xfb\x1b\x8b\xe4\xab\x4f\x7c\x5f\xb4\x94\x57\x0c\xe5\x6b\x26\xf1\x35\x54\x92\xf7\x81\x9f\x5a\x8c\xb7\x0f\xed\xeb\x2d\x4a\x6f\x6f\x51\xea\x43\xfb\x7a\x15\x70\xcf\x54\xc0\x3e\xb4\xaf\x0f\xed\xeb\x15\xe4\xe5\xd3\xee\x15\xe4\x2f\x22\xb4\xaf\x93\xa8\xfd\x82\xd8\x9b\xdb\x0b\xdd\xbd\xcc\xed\xde\xeb\x65\xee\x5e\xe6\xfe\x42\x65\xee\xfd\x58\xe1\x5e\xe0\xee\x05\xee\x5e\xe0\xee\x05\xee\x5e\xe0\xde\xf9\x32\xf6\x02\xf7\x6b\x16\xe8\x6c\x96\xba\x57\x24\xd9\xbc\x57\x5f\x4e\x2f\x6e\xf7\xe2\xf6\x7e\x8b\xdb\x7b\x33\xa1\xf7\x53\xe6\xb1\xdb\x7c\xfa\x22\xe5\x7d\x91\xf2\xbe\x48\xf9\x8b\x17\x29\x77\x5f\x77\xc8\xf8\xb0\x87\x4b\x61\x95\x4b\x03\xf8\x28\xc8\x8c\x4a\x05\xec\xbf\x8b\xbc\xb2\x3a\xd1\xe3\xbd\xca\x29\x7d\xaa\x87\x7f\xda\x4b\x2d\xbd\xd4\xf2\x1b\x95\x5a\xf6\x28\x16\x6c\x2f\x32\x56\x52\xac\xa2\x39\x9e\x24\x64\xec\x8d\x3e\xb2\xab\x1e\x7c\x41\xa5\x92\x28\xca\xa5\xe2\x69\xfb\xe5\x72\xe9\x7a\x18\xf8\x0e\x4e\x39\x9b\xd2\x59\x6e\xee\x16\x03\xce\x19\x9c\xe8\x42\x12\x5c\x64\x64\x95\xa7\xaa\xa1\xf5\x77\x71\x2d\x35\x0f\xfd\xb5\x6e\xa7\x75\x04\xf7\xc2\xc8\x67\xa5\x6e\x2d\x6b\x8d\x6f\x87\x77\xd7\x0f\xb7\xa7\xc3\x13\x34\xc8\xb2\x84\x1a\xbb\xbb\x21\x05\xfa\xab\x9e\x14\x52\x58\x3e\x16\x7b\x29\x0c\x99\x1b\x0c\x5b\x30\xf4\x6b\xd9\x18\x1d\xa2\xd3\x8b\x87\xbb\xfb\xe1\x6d\x4b\x83\x96\x50\x20\x6f\x95\xa4\x59\x82\x15\x89\xd1\x63\x3e\x21\x82\x11\x2d\xed\x58\xa4\xdb\xc2\xfc\x6f\x1a\x1d\xfe\xf7\xf0\xf4\xe1\xfe\xfc\xfa\x6a\xfc\xd7\x87\xe1\xc3\xf0\x04\x39\x8a\xd3\xcd\xea\x71\xe9\x51\xc4\x0b\x86\x53\xad\x81\xe8\x1f\x8a\x4c\xd9\x7f\xe4\x24\x27\x08\x4b\x49\x67\x2c\x25\x80\x08\x5c\x6a\xd1\x0d\xf8\x62\xf0\xdd\xf0\xa2\xdc\xf2\x9c\x84\xf0\xbb\x28\xc1\x13\x92\x58\x7f\x04\x98\xd8\x35\xa1\x07\x50\xc5\xc6\x51\x91\x9b\x55\xfd\xeb\xc3\xe0\xe2\xfc\xfe\xe7\xf1\xf5\xc7\xf1\xdd\xf0\xf6\xc7\xf3\xd3\xe1\xd8\x4a\x95\xa7\x03\xdd\x6f\xa9\x27\x2b\x7c\xa2\x7f\xe4\x38\xd1\xda\x09\x9f\x3a\x3c\x5e\xf4\x3c\x27\x0c\xe5\x0c\x28\xce\xa8\x3c\x5a\x0f\xf2\x9d\xea\x53\x66\x66\x74\x73\xf1\xf0\xe9\xfc\x6a\x7c\xfd\xe3\xf0\xf6\xf6\xfc\x6c\x78\x82\xee\x48\x02\x4a\x81\x5b\x74\xd8\xc5\x2c\xc9\x67\x94\x21\x9a\x66\x09\xd1\xab\x81\x6d\x36\xf1\x1c\x3f\x51\x2e\xec\xd1\x9d\xd1\x27\xc2\xcc\x3a\xc2\x99\x85\xf6\x9d\xf0\x3d\x0e\x96\xee\xfa\xea\xe3\xf9\xa7\x13\x34\x88\x63\x3f\x07\x09\x6d\x94\x28\xc7\xc1\x3a\x1f\x96\x87\xad\x99\x03\x74\x6f\x88\x88\x3f\x11\x21\x68\x4c\x2a\x74\x34\xb8\xbb\x3b\xff\x74\x75\x39\xbc\xba\x87\x15\x53\x82\x27\x12\xcd\xf9\x33\x98\xb2\x61\x86\x60\xe1\x7e\xc2\x34\x81\xce\xdc\x66\x71\x86\x9e\xe7\x14\xdc\x1f\x00\xcc\xec\x7b\x36\xfa\x99\xc8\xd9\x9b\x5b\x67\x4b\x07\xaf\xae\xb6\x54\x4f\x52\xfd\x8d\xca\xb1\x58\xf6\x42\x89\xca\xeb\x2f\xae\xa2\xd6\xfa\x17\x15\x72\x6b\x57\xd6\x6a\xf4\xd2\x3e\xd3\x62\xaf\x3b\xeb\x6a\xe5\x35\x7c\xbd\x6b\x96\x28\x41\x23\xf9\xb2\x50\x4f\x22\x67\x8a\xa6\x04\xd9\xce\xec\xe1\xdc\x21\xfc\xd3\xa5\x69\xf8\x3d\x5c\xb0\xb5\x52\x0e\x9f\x88\xb2\xc3\xef\x55\xc0\x5e\x05\xdc\x0f\x15\xf0\xbd\x65\xfb\xc7\x24\xab\x77\x58\x99\x18\xbc\x63\xbc\x5e\xb5\x20\x0d\x63\x4f\xb4\x16\xd5\x84\x3c\x91\x04\xa4\x3c\x25\xb0\x56\x1a\xad\xec\x32\x11\x04\x3f\x6a\x81\x2f\xe6\xcf\xa1\xe4\xd2\x80\xdc\x8f\x76\x73\x0b\x77\x09\xe2\xf8\xd3\x1f\x5f\xef\xb2\xd0\xcb\x1d\xbf\x46\x09\xef\x5b\x08\x92\x59\x8a\x11\x18\x24\xd8\xff\x62\x2d\xc1\x2b\x6e\x8b\xe0\x8b\xf7\x70\x51\x84\xc3\xdd\x23\xad\xeb\x36\x54\x82\x1d\x0b\x4d\x89\xc2\x31\x56\x58\x1f\x9a\x19\x51\x47\xe8\x9a\xc1\xb3\x7b\x2c\x1f\x0f\x90\xbb\xf2\x34\x5b\x29\xac\x0c\xaf\x90\x5a\xff\x4e\x0c\xf8\xeb\xf3\xf1\xfe\xfa\xee\xaf\xef\xe6\x95\xe9\xc3\x3c\x5b\x56\x78\x57\x17\xe3\x5a\x3e\xaf\xdd\xdd\x5f\xa6\xc5\xf7\x7b\x85\xbd\xae\x93\x6b\xa7\x17\x9a\xa9\x9c\xd5\xdf\x56\xe6\xff\xfa\xdb\xaa\xbf\xad\xfa\xdb\x6a\x0f\x56\xf8\xcd\x1d\x86\x0d\xdc\xfd\x4d\x3d\x86\xab\xb4\xd3\x8d\x21\xef\x0a\x6d\x74\x1d\xd0\xbb\x5f\xba\x62\xdb\x15\xdf\xd0\xf7\xe1\x23\x0c\x26\xf9\x1a\x69\x6d\x3b\xbd\xcc\x4d\xbe\x48\xaf\x9f\xbe\xe0\x8d\xdf\x23\x10\xee\x14\x81\x70\x3f\xe6\xfa\x22\x29\x70\x6f\x63\x31\x7d\xfb\xb4\xb7\x1e\x6a\xb0\x4f\xec\xea\x13\xbb\xe0\xf7\x1e\x6a\x70\x77\xd4\xfa\xb2\xd2\x35\x8f\xc9\xb8\x12\x25\xe0\xff\x39\xae\x7a\x7e\x4a\x4f\x42\x37\x50\xe9\x41\x91\xe9\x06\xad\xd3\x78\x97\x45\xa4\xae\x78\x4c\x3a\x47\x12\x94\x5e\xde\x73\x19\xdc\xcd\xd3\xc8\xe2\xa5\x81\xbf\xb0\x24\xde\xb2\xe5\x5f\xa2\x61\xa7\x81\x80\x7b\x2b\xcf\xca\x85\xfa\x52\xe3\x0b\x0a\x0e\xf5\x8e\x3c\x15\xdd\xd8\xb8\x8b\x69\x1c\xb7\x30\xf3\xe6\xe7\x9e\xa5\x37\x3f\x7e\x19\xcc\xa0\xee\x1c\x1d\xcc\x2a\xe1\xdb\xef\xc3\xae\x12\x8e\xf8\x35\x2c\x2b\x4b\xf7\xfe\x8b\xe3\xea\xcb\x28\xb9\xe7\xed\x1d\x97\xeb\x4b\xe5\xf0\x3d\xc4\xcf\x32\x5b\x47\x8f\xa1\xd3\x9b\x5a\xf6\x67\xc2\xbd\xa9\xe5\x5d\x9b\x5a\x8c\x8b\x76\x9c\x61\x41\x98\x6a\x10\xa9\xab\xd7\x09\xbc\x1e\x62\x2e\x38\xa9\x03\x1a\x40\x5a\xa2\x45\xf6\x42\xf6\x57\xd5\x97\x65\x7b\xb1\x82\x41\x90\x09\x79\xfc\xcf\xe2\x6f\x2f\xac\x97\x2a\x40\x2c\x89\x4e\x32\x58\xff\x52\xdf\xd1\xb9\x0d\x54\xda\x3e\x57\x12\xab\x92\x28\x08\x41\xd4\x2b\xe3\x99\x6e\xcc\xdb\xef\x2b\x45\xb2\x36\xe8\xd7\x8d\x6d\xaa\x6f\x7c\xb7\x03\xe4\x76\x86\x9a\x74\xbf\x20\xa7\x4c\x4b\xa3\x7c\x5a\x5c\x0c\x12\x3d\xd3\x24\x01\x44\x11\xc8\x78\x6c\xbb\x01\x7e\x73\x11\x0f\xad\x3b\xff\xa6\x71\x0f\x4d\xdc\xa1\x89\x25\x74\xb1\xa7\xee\x2a\x67\xda\x11\x1b\xa4\xb3\x82\x36\xb4\xc2\x00\xfb\x65\x70\x82\x4f\x44\xbd\x16\x1b\xd8\xf4\xec\x2f\x3d\xf7\x82\x4c\x89\x20\x2c\x22\x7b\xe8\x6d\x5f\x27\x0c\xe4\x27\x33\x49\x1b\x03\xe2\xa1\x04\xc2\xa9\x2a\x6e\xf5\xb4\x92\xa8\xdb\x67\x92\xf7\x99\xe4\x7d\x26\x79\xf5\xa8\xf7\x99\xe4\x7d\x26\x79\x63\x0e\x44\x4c\x12\xa2\x48\xab\x54\x71\x06\x8f\xdf\x4a\xaa\x30\xbd\x7f\x19\x82\x85\x99\x4b\x2f\x5b\xfc\x66\x34\x0b\xb7\xe1\x7b\xa1\x59\x98\xb3\xb6\xca\xfc\x50\xfa\xb1\x21\xc4\xfa\xd5\x4d\x12\x9b\x30\x8d\x92\x5d\xe2\x0c\x5e\x7f\x97\xac\xa3\x3a\xf4\xde\x46\x81\x82\xad\x7b\x39\x4e\x52\x3b\x02\xdd\x26\x6e\x3d\x86\xef\x77\xde\xfb\xc2\x41\xdb\xe8\x7e\x5f\xf9\xe8\xc6\x49\x29\xfb\x62\xb1\xf9\x82\x78\x64\x6f\xbd\x79\xe3\x5c\x89\x1a\x33\x7c\xb7\xd3\xed\x8d\x55\xbd\xb1\xaa\x37\x56\xf5\xc6\xaa\xde\x58\x85\x7a\x63\xd5\xda\xc6\xaa\x2f\x48\xa6\xea\x0d\x57\xbd\x58\xb5\xbb\xe9\xee\xab\x96\xb9\x4f\xd6\xba\xce\x28\xe9\x45\x0e\xd5\xca\xc8\x7b\x3b\xed\x5f\x56\x84\xdc\xdf\xb8\x11\xbc\x1f\x7e\x25\x5f\x9a\x25\x6d\x13\x58\xec\x76\xf4\x8b\x8d\x2b\xee\x4b\x87\x36\xae\x55\x1f\xf6\xbc\x64\x71\xfa\xb0\xe7\x3e\xec\x79\xef\xc2\x9e\x77\xae\xac\x64\x5c\x2e\x03\x24\x32\xa5\xb3\x96\xe6\x3f\xbb\x3b\x1b\x12\x8d\x80\x14\x0c\xca\x71\x4c\xb2\x84\x2f\xc0\x92\xb2\xe4\x3a\x77\x5d\xdc\xd4\x24\xea\x7d\xbf\xd1\xdd\xc8\x5f\x4b\xe7\xd8\x17\x99\xb4\x98\xf7\x5e\x48\xa1\xc7\xff\xac\xa4\xf3\x77\xc2\xcb\x64\x88\x7c\xa6\x12\x6e\xa5\xd5\x84\x3d\x62\xcd\x4f\x82\xd2\x85\xf6\x1e\x9c\xe4\x2a\xc8\xdd\x93\x5a\xb0\xca\x88\x50\x8b\xe0\x4d\x92\x66\x6a\xf1\x5f\x23\x46\x95\xf7\xb0\xd1\x19\xe3\xc2\x70\x35\xfd\xf1\x1c\xb3\x38\x21\x42\x5f\xaa\xae\x9d\x08\x33\xc6\x15\x88\x1b\x30\x83\x18\x3d\x51\x6c\x84\x93\xc1\xcd\x79\x67\x3f\xf3\x3b\x3a\x5d\xaf\x5d\xac\x6e\xc5\x5d\xf7\x29\xe1\x13\xa8\x60\x99\x97\x75\x7a\xdd\x40\xef\x19\x2d\xed\xdc\x5b\x31\x04\x85\xe5\x63\x15\x38\xa4\x9c\x85\x3e\x5e\x0a\x25\xb2\xe2\xdd\x12\xc6\xfc\xf2\x57\x2b\x70\x23\xe5\x67\x16\x80\x04\x1e\xc3\x90\xab\xe3\x70\x3f\x86\x1d\xba\xdf\x8a\x96\xdd\x2f\xae\x74\x37\xfc\x28\x88\x12\x8b\x31\x56\x4a\x33\x99\x5d\x62\x9c\xdc\x63\xf9\xd8\x19\xe3\xa4\xf4\xf2\x9e\xb3\x9c\x12\xc6\x49\x79\xe0\x2f\xce\x72\x3a\x52\xe7\x0a\xce\xf4\xfe\xf2\xe3\xbb\x9e\xb5\x35\x26\xfe\x5b\xc9\x95\xef\xc6\x7b\x56\x99\x69\xdf\x63\xde\xfc\x32\x66\xba\x37\x23\xac\xf0\xf3\x2f\xf1\xe4\x96\x6f\xa7\xfe\x88\x2e\x5b\xa3\x2f\xae\x10\x6e\x45\xe8\x58\x31\xb7\x77\x52\x10\xb7\x2a\x37\xed\x7a\x54\x2f\x63\xe6\x0e\x76\x63\x9d\x18\xa0\xf3\x32\x5a\xb9\x3f\x43\x2e\x2a\xa8\x28\x3d\x3b\x87\x44\x6b\x2a\xc3\x84\xf8\x88\x0b\x23\x79\xc5\xf6\xcc\x1a\xb3\x9d\x01\xf3\x3d\x41\x03\x14\xdb\xda\xfc\x82\x64\x82\x48\xc2\x94\x51\xb5\x4d\xbd\x2b\x57\xde\x9f\x32\x6b\x21\x3a\xc3\x0a\x9f\x62\x85\x13\x3e\x3b\x42\x03\x5f\xd8\x9f\x4a\x84\x13\xc9\x11\x76\x84\x43\x62\xd7\x04\x66\xb1\x63\x0f\x18\x45\x3c\xcd\x68\xe2\x91\xda\xbd\x15\x9f\xb2\x98\x3e\xd1\x38\xc7\x89\x47\xc6\x1e\xb1\xe1\x13\x61\x2a\x07\x15\x0e\x27\x09\xb2\xdd\xba\x17\x02\xfd\xdc\x8d\x52\xd2\x94\x26\x58\x20\xc5\xed\x68\xaf\x6d\x5b\xe8\x7e\x4e\xfc\x58\x1d\x0a\x38\x4a\xf1\x23\x91\x88\x2a\x94\x71\x29\xe9\x24\x29\x8e\xf1\xc3\x39\x82\x71\x9f\x5e\x9c\x83\x69\x34\x52\x88\x1b\x3e\xe8\x3a\xb7\x7e\x02\xd7\x63\x8a\x19\x23\xd0\x31\x57\x73\x22\x6c\xf7\xf6\xe5\xb7\xb6\x72\xbe\x35\x46\x74\xbb\xc5\x34\x1c\xd9\xdb\x29\x9d\x9d\x35\xce\xae\xea\x66\x37\x5d\xb3\x5d\xd1\x7c\x01\x2f\x6d\x77\x6d\xf0\x82\xca\xb2\x3a\xf8\x2e\x5c\xb6\xa5\x11\xbf\x06\x3e\xda\x6f\x54\x11\xec\xb5\xc0\x17\x59\xb7\x2f\x55\x05\xdc\x73\xfd\xaf\x47\x76\xeb\x51\xec\xfb\x00\x8c\x1d\x2e\x4e\x1f\x80\xd1\x07\x60\x7c\xb1\x01\x18\xed\xda\x04\x8d\xb7\x4e\xd7\x5b\xb3\x82\x94\x37\x0a\x88\x5f\x40\x94\xc2\xf2\xb1\x6b\x4d\x29\x2d\x2a\x9f\xc7\xef\x42\xaa\x6f\x9c\xf0\x6b\x48\xf7\x7d\x9d\xa2\x9d\xd6\x29\xda\xbb\x69\xf7\x82\x5f\x2f\xf8\xf5\xb2\x4d\xc7\x09\xf7\xb2\xcd\xfe\xca\x36\x6f\xa5\xb0\x7c\x49\x10\xba\x5a\x78\x2a\x65\xc6\x2c\x0d\xb0\x35\x70\x34\xe0\x1e\xc8\xb3\x84\xe3\x78\x55\x10\xce\x2f\xa8\x90\x6b\x96\x88\x66\xa6\x5d\xfd\xc1\x9e\x4b\x66\xb5\xf8\x1b\x33\xf2\xdf\x42\x4c\x6d\xeb\xd4\xdf\x34\xac\x16\xe8\x17\x82\xc9\x4a\x41\x69\x2f\xa5\x85\x54\x69\xba\x93\xc2\x21\xff\xb8\xe7\x54\xed\xb7\xf4\x35\xd4\x8b\x2f\xd8\x41\xd0\x3b\x01\x7e\x9b\x85\xcf\xf7\x46\x6a\xed\x55\xbb\x3e\xab\xb2\x37\xea\xf7\x8a\x6f\xaf\xf8\xee\x7c\x19\xf7\x49\xf1\x7d\x43\x89\xda\xa4\x89\xbc\x48\x19\xc3\xcd\x64\xeb\x5e\xb4\xee\x45\xeb\x5e\xb4\xfe\x62\x45\xeb\xfd\x58\xe1\x5e\xae\xee\xe5\xea\x5e\xae\xee\xe5\xea\x5e\xae\xde\xf9\x32\xf6\x72\x75\x45\xae\x86\xbf\x5c\x9a\xf4\xba\x42\x76\x67\xe1\xba\x43\x4e\xf4\x7b\x91\xac\x7b\xa9\xba\x97\xaa\xf7\x5b\xaa\xde\x9b\x09\x7d\x79\x89\x90\x7d\x2a\x61\x9f\x4a\xd8\xa7\x12\xbe\x45\x2a\xa1\xe3\x25\xcb\x24\x94\xba\x60\xf1\x63\x8d\x03\xed\xad\x6c\x51\x8c\x76\xd3\xf0\x8e\x5d\x2d\xb5\x03\x9a\xdf\xa4\xd2\x54\xe9\x37\xd7\xd0\x1e\xd5\x9f\x3a\x70\xd2\x82\x66\x14\x6e\x7c\xab\x11\xc2\x7e\xb2\x6f\xbe\x2f\x30\xf0\xfa\xa8\xfb\xfa\x53\x28\xd8\xb5\xbe\xfe\xd4\x0b\xce\xdb\x1d\xae\x15\x33\x77\x34\x6a\x6c\xbc\xef\x74\xda\x6f\x0e\x2e\xd7\x7e\xd2\xdf\x34\x5c\xae\xf1\x26\xa9\x25\xef\x1c\xff\xb3\xf1\xa2\x78\x83\xb2\x5b\x6b\xdf\x0e\x9f\x88\xfa\x52\xae\x86\xbe\xec\x56\x5f\x1f\x62\x47\xd3\xdd\x88\xf5\xbf\xdb\xd9\xf6\x45\xc6\xfa\x22\x63\x7d\x91\xb1\xbe\xc8\x58\x5f\x64\x0c\xfd\xc6\x8b\x8c\xad\x2d\x3e\x9a\x71\x7c\x29\x12\x64\x5f\x64\xac\x17\x22\x77\x37\xdd\xdf\x96\x10\xb9\x87\x16\x84\xbd\xa8\xa6\xe6\x2d\x08\x6f\x8e\xfb\xe1\x46\xd2\x15\xfb\xc3\x2d\x68\x8f\xff\x61\xff\xaf\xc7\xff\xe8\xf1\x3f\x5a\x66\xdd\x07\xb3\xf6\xf8\x1f\xa8\x0f\xd7\xec\xc3\x35\xf7\x39\x5c\xb3\xc3\x36\xf6\xf8\x1f\x1d\xc5\xb9\x17\xc2\x00\x71\x32\xd7\x5a\x38\x20\x3f\xd5\x15\x8d\xbd\x95\xd2\xdc\x58\x7f\x3b\x38\x20\x8d\xd3\xde\x0b\x95\xe4\x15\x71\x40\x9a\xe8\xba\xb3\x02\xf2\x3e\xf0\x40\xdc\x68\xfb\xc4\xc5\x3e\xc4\x7a\xff\x43\xac\xf7\x2e\x71\x71\x6f\x24\xd9\x5e\xdd\xeb\x73\x17\xfb\xdc\xc5\x5e\x19\xee\x95\xe1\x9d\x2f\xe3\x3e\x29\xc3\x6f\x2c\x61\xbf\x20\x2e\xc8\x76\xb2\x76\x2f\x6a\x9b\xf7\x7a\x51\xbb\x17\xb5\xbf\x50\x51\x7b\x3f\x56\xb8\x97\xb3\x7b\x39\xbb\x97\xb3\x7b\x39\xbb\x97\xb3\x77\xbe\x8c\xbd\x9c\xfd\x6a\x38\x21\x4d\xc2\x76\xc7\x7c\x9b\xf7\x24\x69\xf7\x52\x76\x2f\x65\xef\xb7\x94\xbd\x37\x13\xea\x31\x43\x7a\xcc\x90\x1e\x33\xa4\xc7\x0c\xd9\x48\xbe\xf9\x37\x7b\x2c\x3f\x04\x37\xb1\xbf\xb2\x3f\x7c\x97\xf0\xc9\xfd\x22\x23\xfa\xbf\x67\x34\x25\x4c\x82\x34\x4a\xd5\x22\x94\x67\x5a\x56\xbe\xbe\xe6\x1f\xee\xce\xaf\x3e\x5d\x84\xd9\x34\x1f\x2e\x1f\x2e\xee\xcf\x6f\x06\xb7\x7e\x5d\xfc\xac\xc2\xb5\xb0\xdf\x95\x44\x32\x4b\xf2\xb7\x44\xeb\x9e\x70\x6a\xee\x14\x56\xb9\xdc\x6c\x64\xb7\xc3\xbb\xe1\xed\x8f\x90\x0d\x34\x3e\x3b\xbf\x1b\x7c\x77\x51\x22\x88\xd2\xf3\xc1\xe9\x5f\x1f\xce\x6f\xdb\x9f\x0f\xff\xfb\xfc\xee\xfe\xae\xed\xe9\xed\xf0\x62\x38\xb8\x6b\xff\xfa\xe3\xe0\xfc\xe2\xe1\x76\xb8\x74\x3d\x96\x8e\x76\xb9\x12\x22\x61\x91\x20\xce\x1f\x45\x96\x6b\x88\x62\x0d\x91\x17\x1f\x1d\x3b\x6c\xea\xeb\x04\x3d\x58\x9d\x9e\xda\xc6\x0d\x83\x0d\x1a\x32\xca\x48\x4c\x25\x9e\x24\x24\xae\xb5\xe4\xd6\xb0\xad\x25\x5c\x1a\xd4\xb3\xd6\x9e\xbd\xc8\xa9\x79\x5e\x64\x78\x01\x82\x1c\x45\x45\x58\xdc\xd0\x87\xd9\x87\xd6\x1e\x98\xe6\x5d\xf4\x89\x94\x7a\x8a\x72\x21\x08\x53\xc9\x02\x91\xcf\x54\x2a\x59\x6b\xd4\x6d\x5f\x5b\xb3\xf6\x4e\xf5\x0d\xce\xb1\x44\x13\x42\x58\x79\xfc\x82\x24\x04\xcb\x86\x31\xdb\xdd\xef\xb6\x2c\x7e\xaf\xac\x35\xc6\x5c\x46\x53\x4c\x93\x5c\x90\xca\x69\xe1\x69\x86\x05\x95\x9c\x0d\x3f\xeb\xbb\x4c\x1f\xe4\x6b\xf8\x9c\x8b\xcd\x4e\xcc\xf0\xaf\x21\x05\x5f\x95\xff\xf9\xe9\xbe\xfc\xaf\xd2\x99\xbf\xb8\x2f\xff\x6b\x39\xad\x07\x0d\x57\x29\xfb\x10\x7d\xba\x3f\x41\x9f\x20\xc4\x49\xa0\xfb\x39\x36\x14\x7b\x71\x7f\x82\x2e\x88\x94\xf0\x4b\xf1\xb1\xa2\x2a\x81\xb9\x7d\x47\x19\x16\x0b\xe4\xa6\x6f\x12\x5d\x71\x34\x47\xc4\x2f\x4d\x75\xf1\xd8\xdf\x73\x06\xaa\x7b\xb1\x7a\x17\x7c\x46\x23\x9c\x6c\xb7\x88\x83\xab\x12\x1f\xb8\xbe\x5d\xba\x14\xe1\xdb\xf5\xb5\x18\x5c\x9d\x41\x12\xa9\x1b\x6a\xc3\xcc\xaf\x88\xd4\x44\x12\x71\x16\x5b\x2f\x8d\xbe\xfd\x17\x81\x50\xff\x77\x0e\x89\xb8\xb9\xa4\x6c\xa6\x5b\x44\xc7\xe8\xfa\x76\xc4\xae\x45\x6c\x0c\xa1\x44\x4b\xc3\x86\xe6\xa8\x44\x8c\x2b\x44\xd3\x8c\x0b\x85\x99\xd2\x8a\x00\x88\x01\x76\x45\x0c\x07\x38\xe5\x69\x9a\x2b\xac\x0f\x5a\x6d\x51\x99\x31\x87\xdc\x11\x75\x1e\x83\x6b\xa5\x61\x0d\x8d\x9c\x50\xcc\x25\x13\xba\x7d\x2d\xa3\x94\x75\x68\x1a\xd7\x54\x59\xd7\x04\x16\x02\x97\xa5\x89\x0f\x54\x91\xb4\xfa\x7e\xc7\x20\xcf\x7f\x35\x1a\x08\x4e\x4d\x52\x05\x11\x03\x11\xcd\xa9\x22\x91\xd2\x47\x70\x23\x9a\x78\xb8\xfa\xe1\xea\xfa\xa7\x50\x82\xf8\x30\xb8\x3c\xfb\xf3\x7f\x94\x7e\xb8\xbd\xac\xfd\x30\xfe\xf1\xcf\xb5\x5f\xfe\x7f\x4b\xe9\xa9\xda\x53\x4d\xcf\x0f\xe6\x72\x08\x22\x35\xd8\x84\xdd\x54\x11\x4d\xf1\x8c\x20\x99\x67\x9a\x02\xe4\x51\x79\x7f\xb5\x48\x79\xc1\x71\x4c\xd9\xcc\x64\x80\x5e\x50\x45\x04\x4e\x2e\x71\xf6\xd1\xd9\xaf\x37\x58\x9d\xff\x7b\x57\xca\xd7\xfd\xf0\xf3\xe0\x32\xcc\xf8\xfd\x70\x73\x7b\x7d\x7f\xbd\x74\xd6\xa5\x16\xea\xc7\x48\x3f\x3e\x81\xff\x45\xc7\x48\xb7\xee\x25\xdf\x94\x28\xac\x35\x02\xf4\xb5\x49\x9a\xf3\x89\x34\x94\x25\x70\x6a\x32\x41\x53\x0a\x57\x8a\xb1\xe0\x7d\x63\x84\x6b\xaf\x3d\xf8\x73\x63\x3e\x00\x6d\xd9\x5d\xca\x2c\xc6\x22\x46\x7f\x97\xd5\xf4\x71\x30\x1c\x9b\x1f\x48\x8c\x0e\xd1\x5c\xa9\x4c\x9e\x1c\x1f\x3f\x3f\x3f\x1f\xe9\xb7\x8f\xb8\x98\x1d\xeb\x3f\x0e\x09\x3b\x9a\xab\x34\x31\xe9\xf2\x7a\x15\x4e\xd0\x8d\xe0\xfa\x0a\x01\x05\x9d\x08\x8a\x13\xfa\x2b\x89\xd1\xc4\xf0\x3f\x3e\x45\xbf\x44\x5c\x90\xa3\x62\x63\xac\x51\xc9\xde\x23\xd6\xf0\x74\xac\x5f\x6a\x60\x26\xd5\xfd\x44\x31\x89\x68\x6c\xc5\x0c\xc2\x22\x0e\x96\x47\xe3\xab\xd0\xed\xb9\x4c\x43\xad\xd1\x64\xb9\x2a\x96\x33\x50\x56\x70\x4c\x82\x6c\x77\xc5\xcb\x04\xa7\x15\x9f\x73\xa3\xb6\xe6\x5a\x45\xd7\x77\x2b\x86\x5b\xd5\xbd\x9a\xe9\x09\x47\x3c\x41\x93\x7c\x3a\x25\x22\x74\x48\x1f\x68\x6d\x86\x4a\x24\x48\xc4\xd3\x14\x24\x06\xfd\x55\x2e\x0d\x55\xc3\x8a\xd9\xd1\x1e\x8d\x18\xec\xbf\x56\x73\x80\x02\x62\x0e\xac\x8e\x11\x12\x23\xcc\x16\xa6\x9b\x49\x3e\x0d\xdb\x37\x30\x14\x38\x46\x54\x8d\xd8\x20\x49\x90\x20\x29\x57\x24\xc8\xa1\x04\xe7\x59\x79\xc1\x81\x45\x0a\x92\x25\x38\x22\xb1\xa1\x87\x84\x47\x38\x41\x53\x9a\x10\xb9\x90\x8a\xa4\x61\x03\x5f\x83\xad\x46\xaf\x19\x95\x28\xe6\xcf\x2c\xe1\xd8\xce\xa3\xfa\xd9\x37\xe5\xd3\x38\x74\x10\x01\x43\x21\xb8\x80\xff\xf9\x81\xb2\x78\x67\x1c\xea\xe1\x6e\x78\x1b\xfe\xfb\xee\xe7\xbb\xfb\xe1\xe5\x7a\xdc\xc7\x53\x16\x0c\x0f\x74\xf8\x13\x74\x67\x16\x81\x0b\x2d\x11\x89\x96\x49\x5d\x5a\x52\x2a\x7e\xe0\xf1\x86\xdc\xf7\x72\x70\xf5\x30\x28\x71\x94\xbb\xd3\xef\x87\x67\x0f\x15\x7d\xc0\xce\xaf\x24\xc3\x1b\xf5\x2f\xfc\xed\xf4\xfb\xf3\x8b\xb3\x71\x83\xc2\xf8\xe1\x76\x78\x7a\xfd\xe3\xf0\xb6\xd0\xed\x1a\x97\xa8\x32\x98\x2a\xb3\xba\x37\x4c\x69\xce\x63\x34\x59\x34\x03\x42\x68\xc9\x39\x01\x5f\x6c\x01\x89\x62\x5a\x3d\x01\xde\xe4\xb0\x39\x8a\x2f\x52\x1e\x93\x03\xfb\x0e\x20\x69\x18\xe3\x8a\x91\x98\x9b\x1b\xd6\xbd\x63\x16\x18\x2a\x0c\xc8\x85\x5f\xb8\x13\x34\x40\x52\xbf\x98\xeb\x43\x2d\xe8\x6c\x06\x86\xc3\xca\x50\x4d\x6b\xf6\x53\x58\x5e\xf8\xce\xec\x7f\x26\x38\x9c\x73\xdd\xad\xb5\x38\x7b\xab\x84\xf9\x10\x50\x57\xca\x2d\x0a\x0c\x06\x87\x86\xa1\xb9\xcd\xd2\x8b\xd0\xba\x5e\xe6\x3c\x1a\x7b\x91\x3e\x5c\xc0\xb6\xa4\xb1\x77\x66\x82\x3c\x51\x9e\x07\x9f\x5a\x60\x8f\xd2\x8e\x37\x36\x5f\x2c\x00\x2c\x9b\x31\x8a\x54\x9a\xf1\xe4\xd1\xd8\x82\x66\x61\x4f\xd0\xc2\x54\xf0\xb4\xa1\x8d\xf2\x31\x39\xbf\xbe\x53\x02\x2b\x32\x5b\x9c\x59\x96\xb1\xf9\xf1\x38\xbb\xfe\xe9\xea\xe2\x7a\x70\x36\x1e\x0e\x3e\x95\x4f\xbc\x7f\x72\x77\x7f\x3b\x1c\x5c\x96\x1f\x8d\xaf\xae\xef\xc7\xee\x8d\xa5\x24\xdf\xd2\x41\xfd\x9e\x2e\xbf\x78\x82\x34\xcb\x05\xd6\xe8\x00\xef\x02\xfe\x38\x21\x53\x2e\x0c\x9f\x4f\x5d\xe8\x82\x15\x61\xdc\xda\x5a\x5d\xac\x32\x8b\x13\xb0\x8c\x35\x35\x69\xac\xde\x4a\x10\x9c\xc2\x3d\x81\x19\x1a\xb2\xf8\xf0\x7a\x7a\x78\x67\x7e\x4c\xb1\x78\x24\xc2\x7f\xfa\x2c\xa8\x52\x84\x95\x54\x3a\xec\x86\xec\x95\xc4\xa2\x83\x23\x74\xab\xf9\xbe\x7e\xdf\x5f\x6a\x9a\xd8\x63\xa2\x30\x4d\xa4\x1d\x6c\x69\x5d\x4f\xd0\x05\x16\xb3\xc2\x0e\xf7\x35\x9f\x4e\x4d\x63\xdf\x98\x61\xe8\x3b\xac\x34\x8b\x06\xde\xab\x49\xc3\xdd\x8b\xd0\x9f\x7d\xd9\xcb\xc3\x75\xaa\x7a\xc8\xb6\xa3\xa9\x87\x1b\x58\x71\xa3\xb1\x97\x74\x43\xfb\xa4\x81\xd6\x60\xe2\xe6\xf1\xf2\x4b\xa6\xb9\xed\x3a\x39\x95\x5f\x6c\x20\x27\x93\x4b\xa5\x77\x7e\xaa\xb5\xcd\x06\x5a\x22\x9f\xa9\x35\x18\x84\xe3\xae\x90\x50\xd1\x0c\x98\x57\x71\x96\x11\x2c\x64\xd3\x6e\x97\xc5\xc0\x96\xbd\x37\x3d\x85\x7d\xd8\x4d\x76\xfd\x1c\x20\xce\xc0\xe0\xe0\x85\x88\x0a\x45\x76\xa0\x01\xd3\x56\x8d\x02\x6e\x00\x6d\xe9\xda\x22\x1b\x5d\x52\xa9\x95\x46\xf3\xe3\x77\x16\x72\x69\x33\x82\xf8\x38\x38\xbf\xa8\x08\x17\xe3\xb3\xe1\xc7\xc1\xc3\xc5\x72\x33\x61\xe9\xbb\xea\x16\xa3\x43\xa4\x9f\x97\xfd\xe6\x74\x6a\xee\x0c\x07\x1c\x65\x54\x5a\xc2\xc0\x68\x65\xa1\x6a\x8c\xbd\x3a\x26\x59\xc2\x17\x29\x61\x60\xe2\x29\xdd\x84\x7a\x3d\xa7\x98\xda\xab\x25\x18\x2c\x58\x71\xac\xd9\x0d\xae\xb1\x43\x87\x56\x45\x62\x7f\xf3\x96\xc1\xaa\x2a\xac\xfb\xc6\x78\xcf\xec\x7f\xee\x14\x56\x1b\x9e\xb1\xc1\xe9\xfd\xf9\x8f\xc3\xb2\x7e\x78\xfa\xfd\xf9\x8f\x4d\x52\xcd\xf8\xd3\xf0\x6a\x78\x3b\xb8\x5f\x21\x9c\x54\x9a\x6c\x12\x4e\xa4\x1e\x70\xd5\x7b\x4a\xa5\x8f\x08\x8a\x0c\xe4\x15\xa2\x4a\xa2\x27\x2a\xe9\x84\x02\x40\x98\xf5\x44\x3e\x9c\x03\x67\x7d\xc2\x09\x8d\xa9\x5a\x38\xf1\xc5\xf4\x5b\xde\x47\xcd\x49\x6d\xfb\xc6\xec\x10\xfa\x27\xc1\xca\x67\x36\xc7\x4d\xfa\x04\x81\x6e\xfb\x04\x4a\x5b\xf0\x19\xd3\x82\x34\x9b\x11\x61\x86\x03\xde\x97\x70\x2c\xc1\x73\x3d\xaa\x50\x58\x29\x56\xcd\x0b\xad\x33\xc2\x88\x00\x10\x38\xdf\x89\x11\xa4\x04\x61\x5f\x69\x99\x2b\x4b\x68\x44\x55\xb2\x40\x11\xd8\xb0\xc0\x9c\x99\x62\x86\x67\x56\x38\x00\x35\xa7\x42\x12\x7f\x35\x28\x6a\xd7\x53\x6b\xda\xbf\xa7\x64\xc3\x63\xf6\x70\x75\x36\xfc\x78\x7e\x55\x26\x81\xef\xcf\x3f\x95\x44\xd8\xcb\xe1\xd9\xf9\x43\xe9\x36\xd7\x92\xec\x72\xb9\xbe\xda\x6c\xc3\x51\xf4\x2f\x9d\xa0\x33\xf3\xe9\x89\x5e\xdc\x06\x88\x38\xaf\xfc\x56\xd6\xe1\xd6\x85\xe4\xb9\x3f\x86\x4c\x89\x46\xbf\x44\x57\x13\x92\xf5\x41\x96\x6c\x48\xcd\xa1\x0a\xb5\xbe\xaf\xaa\x4e\xe5\xea\x94\xdd\x8b\x10\x74\x79\x54\x58\x96\xc2\x18\x06\x30\x1a\xb4\x19\xb1\x1a\xdc\x5a\x05\xc3\xfe\x11\x5c\xd4\x69\x2e\x95\x71\x25\x02\x71\xa2\xc7\xbf\x48\xbd\xa0\xe0\x6a\x3c\x42\x77\x84\x8c\x98\xb3\x1e\xcc\xa8\x9a\xe7\x93\xa3\x88\xa7\xc7\x05\x3e\xe1\x31\xce\x68\x8a\xb5\x24\x4d\xc4\xe2\x78\x92\xf0\xc9\x71\x8a\xa5\x22\xe2\x38\x7b\x9c\x41\x04\x8c\x73\xa7\x1e\xfb\x66\x67\xfc\xdf\x2f\xfe\xf4\xed\xe1\xc5\x5f\xbe\xfd\x50\xb7\x90\xb5\xed\xff\x90\x45\x38\x93\x79\x62\x23\xe6\x44\xb8\x36\xee\xc8\xe7\x64\xd5\x7e\x5f\x95\xb7\x6b\x3b\xfd\xf5\xf4\xe6\xa1\x64\xb1\x2e\xff\xf3\x72\x78\x79\x7d\xfb\x73\x89\x53\xde\x5f\xdf\x0e\x3e\x95\x18\xea\xf0\xe6\xfb\xe1\xe5\xf0\x76\x70\x31\x76\x0f\xb7\xb1\xbd\xfd\xc0\xf8\x33\x2b\x2f\x8d\x74\x1c\xb0\xd6\xd3\x09\xfa\xc8\x05\xfa\xc1\xef\xe4\xe1\x04\x4b\xb8\x62\xdc\x9d\x25\x0f\x50\xc6\x63\x60\xbc\x88\x64\x73\x92\x12\x81\x13\x6b\x33\x90\x8a\x0b\x3c\x33\x37\xbd\x8c\x04\x56\xd1\x1c\xc9\x0c\x47\xe4\x00\x45\x40\x0d\xb3\x03\xd8\x14\x50\xb5\xf8\xac\x6a\xe7\xbb\xcd\x99\xa2\x29\x71\x2a\xb8\xfd\xe7\xbd\xd9\x8c\x0d\x36\xe7\xfa\xfe\xfb\xb2\xb0\xf7\xf1\xe2\xe7\xfb\xe1\xf8\xee\xec\x87\xa5\xeb\x69\x3e\x2b\x8d\xec\x0e\x02\x90\x4e\x79\x92\xa7\x2c\xfc\x7b\xf3\xb1\x9d\x5f\xdd\x0f\x3f\x55\x47\x77\x3d\xb8\x2f\x53\xc6\x6d\x39\xc0\xed\xc3\x77\xd7\xd7\x17\xc3\x92\x4b\xf8\xc3\xd9\xe0\x7e\x78\x7f\x7e\x59\xa2\x9f\xb3\x87\x5b\x83\x46\xb8\x6c\x9a\x6e\x04\x0d\x13\xd5\xd3\x0a\xa7\xb9\x6b\x56\xd8\x89\x13\x0d\x6c\x40\xb9\x39\xcb\x87\x01\xdc\x8e\x09\x07\x03\xab\xce\xa1\x37\xa9\x46\x66\xa4\x8d\xec\x50\x95\xb7\x09\xb5\xb3\xe3\xa5\x1b\xbd\x8c\x2b\xdf\xfb\x21\x18\x28\x50\xa3\x6c\xe3\x24\xe1\xcf\x26\x94\x37\xa5\xfa\x56\xb6\xc0\x68\xfa\x15\x59\x78\x08\x8f\x1a\x38\x5e\x79\x5b\x48\x24\x88\xba\xe4\x39\x53\x9b\x93\xdc\xe0\xaa\xc4\x77\x86\x57\x3f\x8e\x7f\x1c\x94\x29\xf0\xfc\x62\x39\xab\x09\x9b\x68\xb8\x8a\x07\x57\x3f\xfb\x4b\x18\x02\xbe\x0f\xbc\x86\x6a\x64\xd7\x28\xa1\x5a\xec\x8d\xb0\xd6\x5e\x13\x90\x68\x10\xa1\x60\x72\x48\xf5\xe4\x20\xc0\x34\x33\xfe\x24\xc3\x9f\xcc\x20\x4f\xdc\x1f\x95\xf6\x24\xac\x0b\x58\x53\x5d\x3c\x3d\xb4\x63\xb5\x6a\x86\x08\x7b\xa2\x82\x03\x9e\x2d\x7a\xc2\x82\x6a\x69\xdc\xb4\xac\xe7\x7a\x02\xff\xbb\x5e\x9b\x60\x18\xad\x30\xae\x3b\x2e\xd4\x99\x0f\xe4\xdd\xcc\x1a\xd2\x14\xd0\x5a\x0f\x65\x6d\x36\x74\xd4\xbf\x6d\xd8\x9c\x2d\x03\x7e\xcb\x13\xfe\x47\x72\x46\x71\xa2\x19\xc0\xee\xe4\xc5\xc1\xd5\xdd\x79\x59\x7e\x2c\xab\x19\x01\x5f\xde\x58\x5e\x04\x43\xa5\x19\xb9\x53\x26\xee\xfe\x7a\x61\xb4\x0b\x00\x3d\x36\xe7\x36\x50\x2c\x40\x00\x72\x28\x28\x19\x16\xb2\xf2\x85\x44\x00\x84\x56\x04\x5c\xe9\x3b\x0b\xc2\x99\x9e\x38\x8d\x47\x8c\x7c\xce\x08\x93\x10\x1c\x60\xee\xb3\xc2\xd7\x2e\x8f\xd0\xf9\x14\x58\x82\x7e\x9d\xa1\x9c\x59\x07\x98\xbe\x70\xcd\x20\x0f\xb4\x28\x6b\x87\xe0\x35\x44\x30\xbc\x30\xe2\x82\xa5\x8a\xc1\x8f\xd8\x4f\xde\x89\x06\x8f\xa6\x5c\x33\x20\xbd\x8b\xb6\xbd\x13\x84\x99\xa4\x07\x48\x2b\x2c\xd5\x3d\x85\xd4\x01\xad\x50\xda\x10\x2e\xcd\x69\xec\x9f\xaf\x7f\x0d\xd4\xe2\x84\xc3\xcb\xa0\xf9\x2e\xa8\x5c\x05\x2d\xa2\x71\x62\x3c\x26\xe3\xee\x77\x42\xc4\x05\xb1\x7e\x96\xb5\xaf\x81\x55\x8c\xfd\x1e\xcb\xc7\x9a\xef\xe1\x9c\x49\x85\x59\x44\x4e\x13\x2c\x37\x0c\x42\x72\x36\x8e\x83\xb2\xc4\x71\x7b\xfb\x70\x73\x7f\xfe\xdd\x0a\x2e\x5f\xfd\xb8\x1e\x06\x14\x25\xb9\x73\xcf\x4d\x04\xc7\x31\xd2\xec\x73\xc6\x8d\x2b\xd0\x0a\xfe\x05\xf4\xb7\xc9\xeb\xf1\x01\x95\x25\xd8\xf1\x22\x1d\xc1\xda\x39\x42\x57\x02\xb5\x0b\x81\x22\xbd\x12\x28\x30\x79\xb8\xad\x06\xcf\xa2\x29\x48\x62\xad\x5b\x59\x82\xd5\x94\x8b\xd4\x70\xf9\xd2\xa4\x4d\xe3\xcb\x1b\xa5\x4c\x11\x21\xf2\x4c\x51\x87\xe5\x5e\x95\x52\xa1\xc2\x3b\x9f\x5d\x12\x29\xf1\x8c\x6c\xe3\x80\x6e\x52\x1e\xee\x7e\x0c\xff\x09\x0e\xe6\x2e\xb2\x7f\x69\x84\x2e\xf2\xdd\xd1\xd3\x35\xfb\x68\x02\x79\x6e\x78\x42\xa3\x0d\x03\xee\x3e\x0e\xce\x2f\xc6\xe7\x97\x5a\x89\x1f\xdc\x0f\x2f\x4a\xa2\x04\x3c\x1b\x7c\xbc\x1f\xde\x5a\x10\xeb\xc1\x77\x17\xc3\xf1\xd5\xf5\xd9\xf0\x6e\x7c\x7a\x7d\x79\x73\x31\x5c\x11\x99\xd3\xda\x78\xdd\xba\x5a\x7d\xf5\xa4\xf6\x0b\xec\xb0\xe6\x65\xa1\xbd\x0c\xb2\xc6\x30\x4d\xc0\x09\xce\x8d\x33\x1c\x23\xc6\x63\x02\x3f\x4b\x67\x9d\xf1\xc8\xd1\xe8\x5c\x7d\x95\x24\x08\xe7\x8a\xa7\x18\xbc\x36\xc9\x62\xc4\xf0\x44\xb3\x56\x9c\x24\x41\x78\x97\xc8\x19\xd3\x2c\x56\x37\x66\x20\xda\xa3\x84\x68\x76\x9e\x05\xc9\x7e\xd6\x6f\x30\xa5\x0c\x22\x6d\x53\x2c\x1e\x8d\x9b\xa9\xe8\xb2\x38\x14\x12\x61\x39\x62\x7a\x5c\xc4\x1a\x86\xba\xac\xf0\x49\xa7\xb7\x5a\x57\x27\xc5\x8f\x44\xaf\x4a\x9a\x47\x73\x94\x09\x3e\x13\x44\x4a\x6b\x5b\x8e\x30\x33\x01\x08\xf6\x75\x7d\x0d\x8d\x18\xe3\x7a\x29\x9c\x09\x3b\x26\x19\x61\x31\x61\x11\x35\x69\x7d\xe0\xbb\xf7\xa6\xcd\x99\xc0\xd9\x1c\x49\x0e\x4e\x6f\x58\x76\xb0\x5f\x99\x8f\xdc\x4d\x66\x66\x6c\x1e\x87\x16\x68\x91\x6b\x3e\x71\x0d\x72\xa2\x59\x65\xf8\xd8\x5d\x86\xce\xed\x62\xec\x80\x69\x96\x10\x65\xc0\xfa\x61\xc9\x61\x33\xf4\x5a\x97\xf6\x43\x6f\x53\xd3\x26\xe8\x0b\xdb\x8d\x19\x4b\x3b\xa2\xa3\x06\xcb\xb6\x3d\x52\xe8\x7b\xcc\xe2\x44\xb7\xe2\x7c\x18\xe5\xb3\x08\xa9\x28\x03\x4d\x35\xee\x34\x6e\x73\x8b\x46\x38\x97\xdb\x5c\xa3\x95\x5c\x4c\x63\x15\x3c\x2c\x82\x42\x80\xbc\x6d\x22\x26\xac\x6e\xa6\x59\x24\x4e\xb8\x5d\x25\xf3\x7a\x6e\xea\x3f\x21\x18\x4d\xcb\x35\x9b\x09\xca\x22\x9a\xe1\x64\x23\xdd\xaf\x12\x8c\x6f\x63\xdc\xbf\xa6\x53\x4d\x3e\xdf\xd4\xdc\xb6\x8a\x88\x14\x12\x94\xed\x30\xfd\x16\xae\x61\x49\xb2\x59\x0d\x44\x16\xd1\x24\x58\xf0\xdc\xf8\xe3\x60\x5d\x48\xdc\x70\x54\x8f\x9a\xb6\x5b\x9f\x0c\x5c\x0e\x80\xde\x60\xb3\x4d\xe4\x4f\xdb\xfa\x55\x5a\xb1\xbd\x9b\x60\x3c\x9c\xdc\x34\xb7\xd9\xb4\x03\xc1\xc3\x7f\x2d\xa3\x9d\x4b\x9c\x69\x9a\xb1\xb0\xfd\xb8\x98\xa3\x55\x92\x6c\x55\x30\x17\x3f\x13\xf8\xce\x7d\x5e\x48\xf7\xdd\x28\x96\xd0\x06\x40\xd5\x3b\x29\xc5\x10\x04\x39\xe6\x96\xc6\xa7\xb9\x96\x65\x11\x86\x28\x04\xf4\x35\x39\x9a\x1d\x21\x57\x84\xe1\x00\x0d\x6e\x6e\x86\x57\x67\x07\x88\xa8\xe8\x1b\x17\xb3\x68\x03\x96\x46\x4c\x71\x2b\xad\x2c\x5c\x01\x8d\x94\x88\x19\x29\xcd\xd9\x45\x37\x41\xa8\xf2\x8c\x4a\x65\xc3\x67\x35\x5f\x09\x4a\x9d\xd0\xb4\x2a\x66\x1b\x0a\xc9\xd5\x7c\x1b\xd2\xc0\x52\xe6\xa9\xd6\x65\xc7\x14\xa7\x63\xc1\x93\x6d\x98\xc2\x19\x4c\x05\xd4\x65\x9f\x9e\x4f\x71\x8a\x74\xb3\x36\x14\xc4\xbb\x1c\xbd\x48\xa7\x05\x23\xcd\x97\xf5\xbd\x19\xdc\x5b\xce\xfb\x60\xe3\xd1\xa8\x0b\x81\x80\xf4\xfd\x16\x56\x51\x98\x8d\xc7\xd6\x52\x3f\xc6\x51\xa4\x55\xee\x1d\x4f\x2a\xa8\x9f\xe3\x5c\x02\xb6\xa3\x17\x9b\xe6\x2a\x3a\x77\xc3\xcc\x34\x07\x83\x60\x60\x7d\xe5\x4a\x1e\xd1\xa2\xfd\x86\x7e\x27\x8b\x5a\xaf\xae\xc2\xcd\x83\xf4\x26\x15\x73\x09\x4b\x02\x3b\x29\x4d\x85\x1c\x35\x27\x0b\x34\xc7\x4f\xa4\xd4\xa5\x4b\x88\xd1\x0d\x2f\x78\x2e\x9a\x18\xdd\x88\x9d\x91\x4c\x10\x2d\xe9\x57\x1d\x28\x9e\xa6\x6f\xcb\x94\xd8\xd3\x75\x4f\xd7\xef\x9e\xae\x4f\x4d\xa1\xa4\x81\x2f\x8c\xb5\x95\x00\x67\x1a\x1b\x67\x9c\x27\xe3\x0e\x36\x91\xee\x2b\x5e\xf2\x84\x55\xca\x46\x01\x24\x00\xcf\x41\x3e\x2a\x5d\x9b\x5c\xdf\x75\x41\x8a\xad\x1d\xde\x92\x65\x70\x2e\xb3\xa0\x5e\xce\x36\xe7\xbd\xa9\x95\x65\x2d\xa1\x17\x17\x73\x4e\x8d\x7c\xe3\xdd\x65\x61\xfd\xd3\xd2\x61\x72\xa2\x08\x65\xb5\x6a\x6c\x86\x9e\xf5\x02\x1b\xb9\xe3\x1f\x39\x57\x58\x7e\x73\x34\x62\x5a\x88\x7a\x24\x0b\x63\x6e\xd5\x62\xca\xef\xb4\x2c\x7e\x28\x09\x93\x10\xee\xfd\x3b\xe3\x9e\xd3\x24\xee\xcc\xd5\x46\x35\x35\x45\xe0\x20\xe8\xda\xf7\x02\x21\xba\xb6\x51\x2b\x25\x15\x01\xd0\x20\xe7\x9b\xb9\xd8\x67\x66\xf8\x33\xa2\x20\xc5\x5a\x51\x05\x3a\x53\x6c\xaa\xcc\xd5\x86\xbe\xd2\x74\x65\xa8\x42\x70\xf0\x93\xc4\xf9\x76\x8c\x5f\xd6\xdb\x58\xc9\x19\xbd\xb6\x70\x67\x63\xde\x8f\x9d\xdd\x28\x12\xbc\x56\xba\x0d\x4b\x64\x76\x7a\x62\xd8\x81\xf3\x5f\x13\x76\xf4\x4c\x1f\x69\x46\x62\x8a\x21\x02\x5e\xff\xeb\x58\xcf\xeb\xdf\x4f\x6f\xaf\xaf\xc6\x45\x26\xcf\x7f\x8d\xd8\x20\x91\xdc\x67\x29\x20\xc6\x99\x0f\xb7\xcf\x04\x71\x22\xa1\x9d\x0b\x58\x5d\x0b\x33\xe2\x88\xb5\x8d\x20\xe6\x91\x3c\xc2\xcf\xf2\x08\xa7\xf8\x57\xce\xc0\x95\x3e\x80\x3f\x4f\x13\x9e\xc7\x3f\x61\x15\xcd\x8f\xe1\x5c\xab\x63\xf2\x44\x98\x32\x6e\x2a\xbd\x5c\x31\x24\xef\x4a\x88\xd6\xff\x77\x3d\xe6\x22\xa9\x48\x6a\x4d\x36\x22\x99\x42\xff\x8f\x20\x13\xce\x55\xf3\x25\xc5\xa7\x53\x49\xd6\xba\x90\x0a\x25\xed\xee\x1a\xfd\xe5\xcf\xdf\xfe\x41\x93\xd0\x26\x6b\x7c\x7e\x77\x3d\xd6\xdf\xff\xfb\x99\xfd\x5e\xae\xc1\xee\xae\xb3\x82\xb5\x39\xe2\x31\x81\xf3\x39\x83\xdb\x4f\x80\xf3\x02\xd8\x1b\x90\x43\xb1\x8f\x4d\xdc\xed\xac\xd4\xfa\x76\x2a\xdb\x46\x8b\x09\x2a\x76\x30\x47\x74\x88\x18\x47\xa9\x89\x35\xc5\x0c\xfd\xc7\x0f\xdf\x35\x6f\x60\x2e\xe8\x46\x1d\x52\x0b\xd7\x10\x74\x29\xe9\xaf\x44\x22\x4d\x35\x9a\x8a\x79\xaa\xbb\x16\x44\xce\x79\x12\xa3\x67\x02\x6a\x92\x8d\x03\xf5\x5a\xb9\x20\x23\x16\x36\x01\x21\x87\x08\x27\x8a\xcf\x08\xdc\xd5\x4e\x51\x53\x44\x68\x51\xc5\x64\x69\x28\x2e\xc8\x81\x81\xfa\xba\xfb\x93\x8b\xad\x86\x69\xc2\x23\x97\xd4\x62\x4d\x72\xf1\xa4\x79\xe6\xd3\xaa\xe9\x15\xb5\xdb\xf0\xab\x9b\x6c\xcd\xb6\xcd\x4b\x63\x93\x50\xac\x0d\xab\xba\x33\xcd\x83\xa1\x11\x67\xe3\x84\xb2\xc7\x8d\x36\xe3\xda\x89\x72\xba\x05\xbb\x66\xba\x45\x6f\xe7\x36\x16\x90\x35\xce\xc7\xc7\x3c\x49\x4c\x6a\x4b\xb8\x3d\x20\x77\x99\x75\x03\x61\x20\x33\x39\xa0\x24\xb6\x7e\x2f\xab\x09\x0b\xc2\x20\xe0\x6d\xc4\x26\x0b\xeb\xb3\x95\x07\x48\xe6\xd1\xdc\x65\xe6\x45\x9c\x49\x2d\x46\x73\x81\x22\x9e\xa6\xa6\xb8\x29\x23\x48\x71\x9e\x48\x1b\xed\xce\x0e\x15\x8e\xd4\x88\x15\xfd\xad\x38\x79\xa6\x02\xd2\x76\xa9\x7b\xdd\x5d\x3a\x45\xa5\xa5\xa5\x02\x37\x8d\x43\xcc\x06\x30\x82\x19\x4f\x54\x80\xfe\xc0\xeb\x67\xc9\x6c\x58\x8b\x66\x20\xe7\x5c\xa8\x71\xdc\xc8\x73\x56\x12\x4d\x95\x11\x32\x72\x98\x40\xd0\x30\x7f\xd2\xc2\x3f\x79\xf6\xc6\xd7\x65\x43\xd0\x54\xbd\x6c\x04\xdd\x8e\xd1\xd2\x91\xad\x4b\x82\x2d\x6b\x65\x10\x3c\xa2\x72\x4c\xf8\xaa\x31\xde\xc1\x57\xa7\xfa\xa3\xa5\x8b\x57\x3d\x77\x4e\x08\xe2\x71\x01\x36\x67\xee\x75\x9b\x11\xb2\x6c\x4d\x2d\x74\xc2\xcb\x65\x8e\x2e\x9b\xca\x43\xd9\x92\xab\xc7\x02\x26\x7b\x49\x40\xd6\xc4\x62\x42\x95\xc0\xa2\x84\x14\xe2\xf5\x41\x49\xb0\x80\xf8\xac\x11\x33\xb8\x71\x46\x53\x88\x51\x4c\x25\x24\x88\xc0\x5d\x1a\x38\xc3\x50\x37\x25\xb0\x72\xb4\x8b\x3c\x47\x13\x7f\x0e\x81\x65\x05\x69\x38\x66\xa7\x3b\xf2\xf8\x58\x5a\x3f\xe3\x51\x5e\x08\x72\x11\x48\xb8\x16\x53\x07\x51\x26\xe9\x6c\xae\x10\x65\xd6\xee\x88\x93\x19\x17\x54\xcd\x53\x79\x80\x26\xb9\xd4\x5a\xa8\x09\x56\x33\xf1\x28\x44\x45\x9d\xb8\xd0\xb6\x49\xc4\x71\xa5\xc1\xba\x8a\xb2\x01\x69\x74\x3b\x94\xc3\xca\x5d\xb1\x82\x70\x06\x1e\x67\xb0\xda\x06\x85\xba\x8d\x06\x9e\x12\x99\x38\x40\xee\x90\x9d\xa0\x0a\x48\xdb\x39\x00\x54\xc8\x9d\x79\x29\x5e\xa3\x10\x17\x32\xc9\xa0\x82\xb8\xd8\x6d\x90\xbc\xca\xc8\x94\x06\xbd\xc9\x3b\x9d\xd2\x4c\x35\x06\x6e\xd5\x5d\x45\xb7\x01\xe6\x4f\xb7\xc5\x86\x64\x2c\xa0\x66\x40\x6a\x1b\xb1\x3b\x42\xda\x81\xdc\x6a\x7b\x6f\x4a\xe3\xc2\x14\x6c\xa2\xc7\x72\x92\xdf\xc6\x89\x7d\x36\xbc\x3b\xbd\x3d\xbf\x31\x90\x13\xd7\xb7\x97\x83\xfb\x71\x83\x5f\xbb\xe1\xad\xcb\xc1\xed\x0f\x67\xab\x5f\xfb\xfe\xbe\x9c\x95\xdd\xf0\xca\xed\xdd\xf2\x64\x8e\x0e\x43\x6c\x48\x0a\x6b\xec\xe7\x04\x65\x0b\x35\xe7\xcc\x87\x28\xc4\x25\xde\x74\x88\x4c\x46\xb0\x82\x10\x22\x21\x55\x83\xe3\xf0\x1e\xe2\x72\x56\x4b\x98\xe5\xcd\x32\x30\x6c\x3b\x15\x8d\xd6\x38\x91\x9f\x12\x3e\x01\xbf\x75\x5e\x2a\x71\xbb\x24\x02\x7d\xcb\x78\x9f\x33\x2a\xb3\x04\x2f\x6a\x3d\xac\xba\x72\xae\x70\x4a\x20\xe2\xb8\xc0\x8f\x73\xc9\x22\x7a\x67\x20\x81\xc9\xdf\xeb\x74\x0a\x99\x4c\x8a\x62\x45\xd0\x84\xa8\x67\xc8\x9b\x73\xbf\x7a\x5b\xaa\x0b\x18\x91\x47\x23\x06\xe6\x9c\x91\x5e\xe4\x38\x87\x68\xbf\xd1\x87\x03\x34\xfa\x10\x93\x27\x92\xf0\x4c\xef\xbc\xfe\xa1\xe5\x92\x19\xa6\x98\x26\x57\x5c\x79\xcb\xdc\x36\xfb\x29\x48\x44\x33\x90\xcc\xc7\x44\xb7\xfb\x7a\x82\x47\x89\x92\x1d\x3b\x83\x31\x20\x1c\xc7\x5a\xc9\x06\x56\xe6\x86\x57\x84\x00\xb1\x60\xea\xa5\x5a\x99\xeb\x88\x14\xde\xfc\x6d\x7a\x0c\xdb\x2c\x9b\x3d\x1b\x77\x80\x3d\xbd\xa0\x4b\x76\xdb\x8b\x5c\x6b\x25\x3f\x90\x05\xa4\x60\xdc\x60\x2a\x36\x74\xcd\x36\xc5\xbc\xbe\x88\x93\x76\xd8\xd0\xd1\x1e\xb9\x6b\x9b\xd7\x61\x3b\xc7\xad\x8f\xd5\x7b\x2d\x2d\xd5\xc5\x72\xf9\x8e\x3b\xaa\xad\x0f\x6d\x4a\x6a\x6b\x08\x03\xaa\x2a\x5e\x19\x89\xd6\xd0\xb8\xfc\x00\xef\xf4\x77\x2b\x35\x15\x2f\xae\x45\x61\x4d\x7f\xd8\x05\x9b\x1c\x5f\xcd\xc7\x27\x2b\x47\x1c\x25\x5c\x96\xb1\x72\x3a\x0f\xfa\xd4\x7e\xba\x6c\xdc\xc3\x90\x7c\xb5\x5c\xb8\x56\x40\x43\xc3\xc2\x57\xc0\x20\xcd\x3d\xa3\xac\x87\xcc\xbe\x7d\x80\x28\x44\x5b\x82\x42\x96\x14\xc8\x01\x2c\x46\x85\x1b\x64\xc4\x8a\x98\x15\x89\x9e\x49\x02\x61\x6e\x11\x4f\x33\x30\xf1\xdb\xe1\xda\x96\x48\x6c\x22\x86\x0f\x10\xcf\x95\x6e\xcc\xe4\xe4\x38\x23\xae\x4d\xf8\x29\xdc\x1e\xc6\xf7\x66\x83\xdf\x3d\xb0\xb4\xa1\x75\x73\x97\x52\x86\x3e\x11\x05\xad\x00\x70\x7f\x38\x41\xd0\x13\xaa\x21\x94\xcd\x6b\xbf\xc5\x89\xb2\x33\x59\x63\xe7\x0b\xe0\x94\xef\x12\x3e\x59\x6e\x24\x80\xc6\xd1\xc3\xed\xb9\xb3\x48\x16\xf1\x53\x01\x7a\x71\xc9\xa3\x38\xbc\xb9\x1d\x9e\x0e\xee\x87\x67\x47\xe8\x41\x12\xbd\x3c\x7e\xba\x90\x5f\xed\x55\x12\x33\x72\x8b\xc4\xc2\xa4\x22\xb8\xcd\x10\x42\x84\x28\x65\x41\xaf\x60\x1c\x65\x98\x96\xe5\x84\x0d\x20\x29\xd4\x1a\xea\x00\x58\xa8\x3a\x4f\x1b\x99\xb7\xea\x04\x42\x9c\xd4\xf8\xfd\x44\xa9\x99\xf1\xa6\xf5\xc8\xbc\x55\xe4\x53\x8e\xe8\x7b\xe9\xc9\xc0\xd1\x52\x73\x42\x05\xea\x34\x2d\x43\x54\xe3\xee\x73\x0a\x42\xdc\x2f\x71\xb6\x3c\xfd\x14\x3f\x97\x88\xd6\x88\xc2\x81\xef\xfe\xa5\xcf\x81\x63\x6b\x63\xc3\x0a\xb7\x9f\x60\xe1\xd0\x32\xbc\xd5\xf3\x4d\x93\xf1\x21\x9d\x91\x2c\x9c\x58\x65\x10\x36\x8e\x55\x22\x38\x3b\xf0\x0b\x65\xa8\x74\x25\x1e\xa0\x29\xfd\x6c\x1b\x2d\xe2\xdb\xdd\xab\x41\xc0\x43\x4b\x3c\xe5\x1c\xd7\xcf\xd4\x1a\x62\xc3\x0d\x7c\xbf\x54\x88\xe4\x52\x8b\x44\x91\x16\x97\x04\x89\xb8\xd0\x37\x05\x74\x5b\x78\x21\x56\x89\x0c\x0a\x0b\xbd\x28\x75\xaf\xcc\xb2\xd3\x5f\xd4\x20\x89\xb1\x22\x87\x5a\xf4\x5a\x91\x00\x6d\x73\x64\x20\x9b\x06\xab\x00\x0e\xac\xb8\x79\x26\x64\x86\x99\x0b\xcd\x6e\x19\xae\xbb\xf2\xb6\x60\x55\x5a\x05\xc2\x90\x1e\x06\xf2\x15\xa4\xfe\x94\xc6\x21\x33\x58\xcf\xa5\xe3\xb0\xd1\x2f\xfb\xb0\x6c\xcf\xd8\x07\xe3\xb4\x0c\x36\xcf\xe2\x7d\x1a\x6c\x82\xa5\x42\x76\x4c\x6d\xa6\x88\x40\x45\x7c\x59\x23\x6c\x49\xb7\xef\xaa\xbc\x69\x12\x2a\x6b\xb1\x04\x3c\x23\xd2\xe1\xa6\x18\x94\x18\xad\xd3\x38\x41\xd8\x94\x62\xf6\x67\xdb\xd6\x64\x76\xb7\x44\xc8\x4c\x20\x48\xbf\xde\xf4\x11\x1a\xb0\x1a\x5e\x96\x8b\xcb\x2a\xad\x97\xb9\x93\x70\xf2\x8c\x17\x12\x65\xc2\x40\xcb\x98\xc8\x7d\x37\x79\xd0\xc0\xca\x1f\xf9\x50\x08\xe5\x52\x27\x10\xd8\x62\x56\x07\xcd\x39\xb9\x77\xfc\x02\xae\xbc\x4a\x54\xb9\x17\xc8\x8b\xe6\x0a\x5b\x45\x07\x56\xa7\xc8\x38\x9a\x63\x36\x23\x63\x67\x64\xdd\x44\x5b\xd2\xed\x9c\x42\x33\x67\xb6\x95\xe6\xcb\xe9\xc6\x28\x4c\xb6\xfe\x8b\x79\xd5\x1b\x10\xf5\x21\x90\x0a\xcf\x08\x32\x23\xea\x64\x96\x2e\x45\x8c\x59\xb0\x61\xd0\x13\x6c\xab\xc3\x72\x14\x7d\x9b\xf0\x0e\xa1\x4f\x17\x78\x42\x92\xb7\x89\x9c\x80\xae\xad\x71\x1e\xbc\x75\x26\x1b\x80\xa0\x67\xb0\xe7\x57\x58\x86\xb5\xde\x8b\xbc\x29\x37\x60\xd9\x3c\x4b\xd5\xcf\xb7\x98\xa8\xab\x15\xb2\xc9\x54\xdb\x2a\x88\x84\xd7\x5e\x50\x69\xa3\xc9\xc0\x16\x5e\x7f\x55\x9b\xf2\x66\x03\x09\x0a\x7e\xb4\x8c\x63\xeb\x8a\x1f\x2b\xa7\xb2\x31\xc8\x40\xc7\x2a\x78\xe7\x53\xc4\x38\x23\x88\xca\xe2\x65\x55\x4e\x87\xf2\x10\x3d\x5a\xc4\x37\xc6\x17\x5f\xa5\xcb\x17\x5f\x7a\x69\x4b\x4b\x01\x9e\xe0\x6d\x03\x2e\xbf\x9b\x11\xad\xa8\x62\xb1\x00\x88\x4f\xc3\x87\xcb\x32\xdd\xca\x71\xee\x5c\xe0\xbe\x77\x08\xae\x41\xa4\xae\xe2\x08\xc4\xc8\xca\xe0\x90\xc1\x41\xb5\x2f\xd9\x8f\x2c\x4c\xcd\x88\x79\xcb\x06\x10\x22\x95\x28\xc5\x19\xf8\xf4\x18\x57\xc5\x57\x06\x76\x49\xf9\x2d\x3c\x70\x82\xb8\x34\x35\xb4\x5a\x56\x60\x95\x69\xc7\x5d\xbf\xc5\xba\x96\xe1\x2d\x1d\x34\xef\x8c\x3e\x11\xe6\x68\xfa\xc0\x9d\x09\x3d\x28\xd7\x69\xb2\x38\xc4\x10\x66\x4c\xe2\xd0\xf3\xb1\x9c\x23\x19\x83\xcc\x3e\xd8\x23\xbb\x2f\xd9\x7d\x63\x18\x8d\x01\x49\x2b\xa1\xdb\xbb\xc0\xf0\x90\x4a\x2d\x6e\xaf\xc9\x04\xc7\x12\xfd\x8e\x71\xf5\xbb\x00\xd9\xd8\x19\x2f\xe0\x53\x67\x82\x3a\xa8\x95\x6c\x81\x43\x6b\x09\x07\xe1\x00\x61\x6b\xe5\xca\x6f\x1b\x1b\x50\x04\xbe\xbf\xa8\x34\x3a\xac\x67\xc1\xb5\xd5\xbc\xea\x3d\xf6\xa8\x7a\x2d\x54\x0d\x9e\xa6\xac\x5e\x71\xd2\x4b\x86\x4e\xb9\xca\x45\xef\xf7\xa2\x93\x6b\xbe\x86\x08\xb0\x0d\xb5\xa5\x9d\x23\xa7\x56\x80\x20\x37\xdb\x25\x36\xc9\xf3\x6c\x93\xcb\x45\x39\x74\xcd\x96\xc1\x68\x41\xf9\x3d\x1a\xb1\x8f\x5c\xd8\x2b\x58\xda\x3a\x03\x13\x1c\x3d\x1e\x12\x16\x23\x9c\xab\xb9\x41\xdb\xb5\x7e\x85\x85\xa5\x06\x2d\x69\x00\xd9\x78\x28\x0d\x2a\x23\x2c\x62\x57\xf1\xe2\x89\xbb\x51\x8c\x58\xd0\x08\x54\x32\x80\x42\x4f\x50\xaa\xb6\x4d\xd5\x24\x52\xeb\x57\x6d\x6b\xd1\x54\x84\xb5\x56\x82\x75\xf9\x39\x2b\x15\x95\x85\x1a\x0c\x10\xe0\xc4\xa7\xf5\xd5\x39\x77\xd6\x46\xa7\xdf\x69\x7a\xae\x7b\x21\x0e\xac\x46\x61\x4c\x52\x76\x06\x5a\xd2\xf9\xd6\xf1\xda\x12\x6a\xf0\x34\x17\x10\xae\xdb\xd4\xe6\xd7\xd1\x9c\x26\x85\xef\xe2\x9b\x03\x3f\x4c\xdd\x64\x42\x9e\x48\x62\x30\xeb\x23\x01\x91\xf9\xc6\x6a\xf8\x2d\xfa\x3f\xa6\x30\x29\xfa\xc3\x88\x7d\x02\x36\x9c\x24\x0b\x40\xd4\xf4\x2d\x63\x55\x69\xe6\xb1\x71\x00\xca\xa6\x02\xa1\xf2\x40\xcc\x5e\xcf\xf1\x13\x19\x31\xd7\xcc\xff\x41\x8f\xe8\xf7\xe8\x0f\x6d\xea\x9d\x0b\xb0\x7f\x61\x3b\xc7\xc7\x20\x7c\x3d\xb8\xe5\x2c\xa3\xb4\xfc\xc6\x99\x41\x4a\x46\xc8\x06\x64\x0d\x0f\x8c\x4d\xd9\x13\x8f\x6a\x59\x1c\xe1\xa9\xc5\x82\x30\x35\x66\x3c\x26\x63\xd2\xe0\xd2\x5c\xc2\x24\xb4\x10\x70\xc5\x63\xb2\xd2\x21\xe9\x99\xe9\x4f\x60\xba\x91\xf9\xc4\x6f\x07\x24\xf8\xfb\x6c\x6e\x6f\x7d\x28\x53\x5a\xf3\xc8\x3d\xfa\xec\x26\xe3\xde\xd4\x99\xea\xc2\x44\x0f\xe0\x42\xb0\x03\x68\x76\xe8\x25\x58\x39\xf7\x7a\xf5\x38\x56\x1d\x01\xfa\x65\x3d\x73\x7b\x59\x05\xb8\xba\x50\xfb\x44\xd0\x19\xd5\xf2\x7b\x77\x87\x2d\x70\xc2\x4d\xbc\x19\x06\x64\xb4\x93\x3b\xa3\x58\x0a\x07\xb4\x72\xe8\xe9\xaf\x70\x42\x4e\x78\x5e\x15\xe0\xed\x02\x50\x19\xba\xfb\xad\xac\xbe\xd0\x7c\x78\x66\x32\x00\xc9\x9c\x9a\x9c\xfb\xc1\xe9\x05\xd2\xa7\x83\xa7\x06\x98\x0a\x16\x2d\x57\x73\x2e\xe8\xaf\xad\x19\x4a\xed\x32\x7a\xe1\x69\x2d\x12\xba\xcc\x38\xcb\xd2\x3a\x10\xab\x11\x29\x54\x49\x2b\x69\xd2\x99\xd0\x24\x07\x0c\x56\xcd\x66\xa7\x79\x62\x0a\x37\x44\x5c\xc4\xa6\x72\xba\x2c\xa5\x8f\x41\x18\xae\x13\xef\xb1\xf2\x0d\x52\x0b\x55\x69\x4b\x43\x18\x0b\xce\x52\x01\xf4\xaf\x39\xc9\x77\x94\x81\xf7\xa6\x31\xcb\xf7\x78\x26\x8b\x20\x64\xb3\x36\x9a\x37\x17\xeb\xfb\x0f\x3d\x53\x19\xe4\xac\x3a\xcb\xa2\x87\x80\x32\x2a\xb9\x29\x0c\xba\x96\x45\xe7\xd6\x40\xdf\xef\xc0\xa4\xf3\x1a\xf1\x1c\x75\x19\xa9\x81\xfd\x58\xf2\x7b\xf2\x19\x9c\x55\x16\xf1\x42\x76\x12\x57\x43\xa0\x22\x7d\xbc\xa0\xc9\x64\x03\x26\x57\x17\xaa\x97\x46\x45\x17\x06\x14\xcf\xd6\x1a\x92\xa9\x15\x87\xb4\x8b\x67\x41\x01\x21\x6e\x51\xbc\xec\x6b\xe0\xba\xeb\x22\xe4\x31\x5a\x4a\x31\x62\x2d\xc4\x75\xb8\x25\x5c\x34\xf3\xf8\x35\x0c\x10\xb6\xa1\x72\xd7\x75\xbf\x7d\xdb\x89\x30\x2c\x69\x5f\x8f\x44\x1d\x1e\x66\xe5\x61\xf0\x95\x40\xde\xc6\x80\xe8\x45\x9b\xd7\x3b\x19\x9e\x1c\xc7\x11\x8e\xe6\xad\x93\x9a\x70\x9e\x10\xcc\xda\xa4\xd7\xc6\xc7\xd5\x23\x62\xc0\x4d\x81\x75\x27\x09\x20\xfc\xba\x25\xb0\x55\x21\x0b\xf1\x9d\xc5\x80\xcc\x6e\x78\xb8\x89\x0d\x74\x03\x55\x84\x39\xcb\x0f\x65\xb3\x84\x54\xd7\xca\x42\xe8\x1f\xd8\x4e\x92\x28\x4f\x82\xb2\x90\x19\x11\x7a\xd4\x7a\x89\x9f\x08\xd3\x3a\x83\x1d\x87\x73\x66\x3c\xbb\x84\x68\x5f\x0c\xea\xc0\x77\xed\xfc\x69\x90\x75\x18\x8f\x18\x1c\x5c\x5e\x3e\xac\x9a\x56\xa5\x56\x33\x42\xbb\xd4\xc6\xa7\x33\x10\x22\xd6\x3e\x9e\x77\x65\x33\xf1\xda\x67\xd2\xf4\x3d\x86\x18\x83\xad\x5d\x6b\x81\xfb\xa5\x80\x6a\x30\x1b\xeb\xe0\xb8\x5e\xc9\x88\x0c\x51\x1b\xe5\xb0\xd3\x20\x68\xa3\x0d\x0e\xea\x45\xef\x92\xa2\xfc\x85\xbb\x0d\x3a\x0e\x65\xa9\xab\xba\xa3\xe3\x19\xac\x93\xcb\xce\xed\x85\x0d\xd9\x2e\xbb\x6c\x7d\x7e\x4f\x11\xe6\x68\x0b\xbc\x2a\x81\x01\x9d\x00\x72\xca\x7f\x32\x1a\x36\x95\xc6\x02\xe6\xca\x5c\xa4\x99\x5a\xd8\xaa\x68\x70\x2f\x86\x39\xbd\x06\xf1\xad\xc9\x3d\x5c\xbd\x23\xe3\x92\x83\xb8\xa9\x33\xe8\xc8\x9a\x15\x1a\x9b\x74\x0b\x1d\x22\x88\x54\x10\x1b\xda\xa2\x41\x4c\x81\xd9\x31\x4e\x5a\x6d\x59\x3b\x60\x9a\x90\x66\x5b\xa0\x34\x58\xf0\x57\x25\x72\xa2\x79\x17\x4e\x92\xca\xbc\x30\xa4\x43\x2b\x5f\x64\x6e\x52\x54\xc2\xed\xee\xac\x4e\xf0\x84\xac\xe5\x9e\xbe\x30\x1f\x2c\xa5\x22\x78\x05\x22\xbb\xb3\x2c\x59\x74\x8b\x28\x0f\x43\xef\x1a\x41\xd2\x56\x0d\x2c\x84\x56\x5b\x7a\x37\x95\xe1\xc9\x36\x1b\xa2\x24\x51\x2e\xa8\x5a\x8c\xad\xd1\xaf\x3b\xd3\xba\xb3\x5f\x9e\xda\x0f\xbb\x68\xd4\x27\xc8\xf5\xe7\x8c\x8c\x70\x4f\x09\x6a\x2a\xe8\xd8\x29\x74\xd9\x6e\xad\x25\x37\x82\x27\x2d\x5b\x58\x87\xde\xd4\x6d\xa8\xba\x8b\x4d\x87\x67\x2b\x73\x8c\xf9\xd4\xe1\x22\x75\x5f\xd8\x6a\xc9\x92\x35\xac\xa5\x0e\x7e\x39\x13\x94\x0b\x5b\x19\xa4\x4b\x50\x5b\x8a\x3f\x8f\x33\x2c\x70\x92\x90\x84\xca\x74\x73\xdb\xee\x9f\xfe\xb8\x74\xb4\xa7\xa6\x82\x8d\xb4\xf5\xa0\x3e\xd3\x34\x4f\x11\xcb\xd3\x89\x95\x72\xb1\x7c\x0c\xc1\x2f\x5d\xaa\xbe\xc1\x70\x72\x03\x2c\x01\x06\x88\x00\xce\x74\xc4\x02\x60\x6b\x6b\xaa\xc0\xd1\x9c\x92\x27\x80\xdd\x14\x8c\x48\x79\x84\xae\xb8\x22\x27\xe8\x12\x67\xf7\x20\xa8\x99\x92\x92\x33\x63\x1d\xc7\x12\x69\xa9\x35\x67\x54\x1d\x8c\x98\x45\xc3\x76\xab\x72\x1c\x71\x66\x10\x51\x23\x58\x58\xdf\x04\x98\x7b\x1d\x34\xa8\x72\x89\x8d\x54\xb6\x2c\xb6\xc0\xcf\xe3\x20\x7a\x75\x6c\xb2\x03\xd6\xa0\xe3\x5b\xfc\x6c\xe2\xb5\xcf\xb0\xc2\xa6\x5a\xec\x32\xc9\xdd\x06\x44\xd9\x0a\x42\x06\x08\xd8\x05\x8e\x70\x8b\x46\xe1\x6b\x9f\x99\xe8\xd4\xaf\xe9\x11\x39\x42\xdf\x25\x7c\x22\x0f\x90\xf4\xa0\xd9\xf0\x50\x12\x25\x0f\x8c\x83\x0a\xfe\x6d\x52\xc1\xbe\x71\xab\x5f\xf0\x7d\x28\xfb\x37\xa5\x9f\x0d\x08\x86\xfc\xd3\xc9\xf1\x71\xba\x38\x9c\xe4\xd1\x23\x51\xfa\x2f\x90\x29\x1a\x57\xc8\x21\x48\xe1\x26\x3c\xaa\x55\xab\x53\xc7\xb2\xea\x44\x91\x36\xad\x46\x12\xc0\x4d\xd7\x57\xba\x2f\xac\xea\xa0\x8f\x38\x6b\xae\x1a\x69\xa7\x2c\xf2\xb6\xe3\x55\x02\x5c\x7e\x1d\x6d\xc5\x14\x8e\x0d\x71\x9e\xa7\x09\x9e\x55\x54\x96\x35\x94\x94\xeb\x94\x5a\x2a\xd2\x73\x87\x78\x0b\x7d\xca\xca\x51\x66\x5f\x39\x77\x24\xb8\x15\xad\xbb\xe5\x68\xc4\x06\x12\x3d\x13\x53\x0f\x16\x72\x12\xc1\x3b\x91\x53\x39\xf7\x19\x89\x60\x2f\x85\x46\x0d\x1c\xae\x41\x4d\xb0\x8a\xa3\xd3\xac\x9c\xff\xc6\x6a\xa0\x38\x91\xe4\x40\x37\x0c\x90\x68\x2e\x90\x10\x3d\x0b\x9c\x65\x44\x8c\x98\x85\x36\x05\x00\x6f\xce\x6d\x90\x48\x5b\x34\x79\xaf\x51\xbe\xae\x46\x19\x26\x7d\x94\x13\x16\x57\x9d\x6f\xc8\x6f\x5c\x9a\xea\xb1\x24\x37\x50\xcb\xa2\x5d\x23\xbd\xdf\xde\x6c\xdc\x71\xcc\xab\xb4\xf3\x41\x25\x4c\x1f\xca\x4d\xa7\xa0\x40\xca\xa2\xaa\xa6\xb3\xf5\x79\xf5\xbd\x24\xe6\x00\x32\x36\x7c\x1c\x73\x22\x03\x23\x3e\xf2\xb6\xb8\x84\x4e\x89\x96\x3e\x46\x4c\x93\x71\xe8\x70\x30\x00\xdb\x0e\x6f\x5b\x77\x1a\x09\x2e\xa5\x8d\xbc\x37\xed\x2c\xcf\x9f\xda\xa2\x96\x9f\x41\x09\x3f\xbf\xbe\x1a\xd7\xab\xfa\x05\xcf\x5c\x7d\x3f\xfb\xb0\x31\xc9\xbe\xb5\xa9\x95\xd5\xfc\x8a\xb5\x58\xa3\x9e\xdf\xf1\xe9\xc5\xb9\x2f\x62\x55\xe9\xba\x5e\xd0\x2f\x44\x56\x6f\x2f\xe9\x57\x9f\x71\x50\xdc\xaf\xd2\xc4\x92\xf2\x7e\xab\x37\xab\x1c\xef\xbb\x0d\x6c\x5e\x65\xeb\x57\xf2\x87\x32\xcd\xac\x0a\x4b\xdf\xd1\x36\xb5\x5c\x2b\x11\x08\x8c\x2f\xed\x61\x07\xc1\x4b\xbf\x25\x15\x4e\xb3\x30\xe5\xd2\xe1\x86\xda\x69\x9a\xa3\xd6\x76\x09\xbe\x2a\x9e\x79\x84\x4d\x34\x4b\x75\x70\xb5\xad\x58\xcf\xe3\x75\x6f\x61\xd2\x77\x11\xc6\xfc\x7a\x39\xcc\xc9\xa2\x88\xda\x93\x56\x76\x73\x25\xb8\x5b\xec\xfe\x13\xe2\x21\xe1\x5b\x37\x74\xdb\x24\x45\x0f\x1d\x25\x08\x96\x36\x1c\x03\x72\xf9\x2a\x79\x3e\x6b\x98\x87\xfd\x98\x4d\x36\xf0\xa1\x2f\xc2\x10\x5c\x35\xb6\xae\x58\xe4\x0e\x22\x15\x82\x3c\x11\x01\xb4\x63\x63\x7e\x58\xf9\xa8\xe2\x44\x10\x1c\x2f\x82\x15\xf1\x01\x07\xa6\x67\x30\x8f\x49\x9a\x6a\x05\x1e\x54\x13\xc6\x0f\x79\xe6\x74\x96\xd2\x5b\x50\x41\x83\x4e\xf5\x8d\x15\x84\x2b\xe8\x2f\xd8\x21\xf9\x4c\xa5\xd2\x72\x45\x43\xac\xa6\x6b\x04\x24\x1e\xa8\xab\x35\x27\xf6\x86\x1b\x7d\x18\x7c\x77\x7d\x7b\x3f\x3c\x1b\x7d\x28\xa2\xf3\x5d\xfa\x99\x47\x84\x72\x00\xff\x9c\x8d\x98\x0f\xa8\xf5\x00\xc8\xb0\x97\x08\xc7\x71\x81\x6c\x60\x95\x48\x23\xb3\x2d\xe5\xc8\xc1\xa9\x58\x19\x4a\xbb\xa4\x99\x07\xc8\x41\xda\xd7\x93\xb5\xc4\x75\x56\x3a\x39\x26\x93\x6a\x49\xca\xcb\x8e\x2e\x9b\x10\xbb\x55\x19\x5d\x9b\x28\x07\x2e\xc8\xc8\xb3\xd3\x95\xe0\x76\x3e\xc6\xe6\x12\x5e\x8f\xdb\xb9\x0d\xd9\x60\x53\x3f\xd2\xcf\x24\xbe\x6d\x91\xaa\x76\x92\xd1\xd2\x29\x12\xb0\x71\x17\x72\x46\xd7\xd1\xf8\xfd\x54\x1e\xf4\x77\xdd\xd9\xd2\x75\x01\xc9\x56\xc0\xab\x02\xb6\xaa\x42\x18\x45\x44\x28\x4c\x19\x9a\xc2\xc1\x66\xd1\x02\x01\x60\x07\x01\x1f\xf6\x1f\x51\x4a\x19\x20\x07\x2c\x5b\xda\x87\xf2\x3c\xd6\x10\x5a\x2f\xcf\xaf\x1e\xee\x4b\xa2\xea\xf7\xd7\x0f\xe5\xa2\xee\x83\x9f\x97\xca\xaa\x95\x16\x96\x05\x0b\x05\x53\x2c\xb2\x10\x2d\xca\xac\x5f\x99\xc6\x89\x26\x0b\x45\x1e\x6e\x2f\xb6\x92\xef\x9a\x9d\x65\xad\x18\xe1\xa1\x74\xd5\x8c\x88\xd0\xe5\xd3\x98\x44\xab\x50\x4c\xbb\xd3\x91\x89\x82\xd2\xeb\x60\xad\x89\x16\xe1\x0c\x4b\x94\x61\x61\xfd\x50\xb1\x09\x80\x2a\x57\x06\x33\x9a\xd7\x32\x04\x89\x4f\x44\xfd\xa8\xaf\x3e\xce\x76\x91\x05\x61\x45\x59\xf0\x8f\x92\xf1\x93\x69\x78\x8d\x93\x66\x87\xb2\x24\xd5\xc5\x09\xcb\xd0\x03\xb2\x3d\x84\xb8\x0b\x47\xa6\x42\xfc\x40\x37\x07\x2b\xe2\xe2\x09\xb5\x4a\xca\x99\xa6\x48\x03\xa7\xea\x30\x58\x83\xe6\xf8\xd4\x7c\xdc\x11\x91\x2e\x88\x6a\xd7\x6d\x15\x4b\x89\x06\x37\xe7\x0d\x6b\x7d\x51\x75\x21\x7d\x59\xe5\x6c\x12\xef\xcd\xda\x35\x48\x52\x90\x9e\xb8\x17\xa8\x48\x76\xa6\xdb\xc1\x20\x19\xa7\xff\x4d\x39\x92\x60\x1f\xd0\x7a\x9b\x54\x86\x52\xda\xf1\x0a\x60\xde\xf5\x32\xf1\x8a\x65\x58\x13\xf4\x28\x1c\x90\x4d\x03\x09\x81\x7e\xea\x31\xc6\x07\x21\xf0\x0f\x37\x05\x73\x6d\x6c\xc1\xce\xc0\x90\x8a\xd9\x74\x41\x43\xfa\xd1\x50\xb4\x07\xcb\x00\xf8\x0f\x57\x90\xd1\xc5\x06\xdb\xdc\xf5\x70\xba\x21\xb5\xad\x07\xa0\x54\x8c\xcf\x99\xbf\x2d\x16\x35\xce\xb0\xb5\x3b\x80\x12\xe5\x2a\x25\x34\x15\xd6\x3b\x1a\xb1\x20\x60\x45\x1a\xb5\x47\x9f\x11\x57\x9c\x04\x2a\xde\x32\x00\xb6\x86\x24\x1d\x2f\xfc\x94\x76\xa0\x9a\x22\xaf\xe6\xe5\xf2\x22\xb5\x7e\xec\xe9\x94\x73\xec\x12\x11\x9d\x05\xc5\xc6\x01\x86\xf6\x25\x68\x2f\x28\x28\x60\x3b\x06\x73\x34\x18\x2d\x70\x50\xae\x2e\x48\x5e\x8f\x39\x91\xec\x2b\xe5\x53\x3d\x69\x62\x4b\xa2\xe0\xaa\x7b\x40\x4b\x75\x98\xda\x96\x97\x1f\xf0\x1d\xa0\x33\xad\xab\x38\x04\xc7\x6a\xa5\x99\xca\xf9\x78\x81\x12\xc2\x58\x24\xe8\xb4\xcd\xaa\xfe\x39\x23\xd1\x26\x10\x32\x37\x58\xe0\x94\x28\x22\x96\x85\x23\x95\x8b\x49\x83\x88\xe3\x76\xd0\xf6\x6b\x76\xd1\x54\xda\xa8\x96\x64\xf1\xda\xed\xc5\x2a\x48\x18\x3f\x8b\xb5\xd0\xaf\xf4\x34\x7e\xb4\x96\xff\x35\x67\x61\xfb\x29\xa6\x61\xa3\xad\x02\x04\xa0\x6d\xe7\xf4\x3a\x50\x28\xf7\x35\x50\x91\x52\xb8\xd0\x9e\x60\xa0\xac\x1e\x65\x1b\xf8\xc9\x2a\x5e\xba\x13\xde\xed\x32\x1c\x5c\x0a\x6d\xe5\x50\x95\x72\x27\x80\x4a\x40\xa5\x32\x38\x20\xcd\x00\x26\x20\xb4\x34\x45\x48\x06\x6e\x3f\x0b\x6f\x57\x18\x74\xad\x64\x55\x2d\x2e\x55\x59\xae\x15\x3c\x6e\x57\xe0\x0e\xbd\x44\xb3\x6b\x89\x66\x15\x29\x97\xa2\x6b\x35\x75\x12\x51\xc1\x99\xb1\x45\x9f\x2d\x40\x40\x79\x82\x90\x7b\x64\xaf\x48\x5b\x39\x16\xae\x7e\xca\xfc\xbf\xca\x1c\xdc\x11\x75\x48\xaa\x4d\x49\x95\x47\x81\x0b\x0a\x3c\x50\x49\x28\x0d\xd8\xb8\x1a\x18\xad\x09\x83\x34\x56\xfe\xf3\x2b\xe3\xc0\x82\xe4\xe6\x05\xcf\xd1\x33\x95\x73\xa4\xf8\x88\x41\x9c\xa0\xf7\x06\x28\x8e\xcc\x8b\x07\xf0\x16\xc0\x20\xc8\x7c\x92\x52\x85\x70\x30\xc3\x92\x49\xf2\xc0\x9e\x67\xfd\x01\xcc\xb8\x31\xcf\xbe\x09\xa2\x67\xc5\xa1\xd9\xc0\xbe\x56\x34\xb2\x6d\x2a\x7d\x10\xd3\xfc\xb2\xc9\xf4\x81\xc6\x13\x6a\x98\x8d\x67\xae\xcf\xa6\x47\xcd\xd6\x06\x0b\x1a\x0a\xc8\xae\x54\xaa\xca\xdd\x62\x0d\x3d\x2b\x32\xe9\x8b\x8d\xe8\x94\x4a\x5f\xbc\xbe\x8b\x5c\xfa\xb6\x32\x65\xcb\x72\x2b\xdd\x27\x2d\xf6\x6f\x97\xb3\xab\xb8\x0b\x9c\x0f\x25\xa5\x9b\x56\x49\x69\xdf\x50\xcd\x8a\x84\x80\xcd\xc3\xcb\xd7\x51\x07\x8b\xfc\xac\x90\x8a\x82\x74\xcb\x32\x26\x0c\xa9\x72\x7e\xc6\x15\xe4\xd4\x44\x50\xc2\xbd\x96\xe7\x39\x62\xcd\x12\xc8\x72\x9e\xb8\x6d\x8a\xc6\x4e\xd1\xcf\x82\xf3\xe7\x66\x61\x2d\x5a\x3f\xf9\x20\x37\xa3\x2c\xdb\x62\xec\x55\x11\xb3\x70\xf1\xb5\x05\x27\x69\xc1\x63\x93\x84\xe3\x86\x53\xd9\x3c\xf4\x5a\x02\xc5\xca\x73\x61\x2f\xdd\x1d\xaa\x76\x35\xee\xdc\x39\xdf\xc4\xcb\xc8\x96\x1b\xdb\x80\xe9\xd8\xeb\xf1\x15\x57\xed\x26\x55\x66\x01\x55\x74\x67\x58\xa8\x55\x78\x02\xdd\xf8\x01\xb8\x77\xed\xd8\xb1\x09\x75\xf1\x08\xdd\x95\x3d\x29\xcd\xd8\x56\xef\x7f\x89\x59\xaf\x5b\x1a\x38\xf0\x37\x0a\x1b\xef\x4b\x43\xcb\x01\xd4\x04\xb6\x61\x92\x15\x4e\xec\x85\xbb\x9c\xc5\x44\x30\x82\xd5\xfc\xf5\xb2\x2c\x4e\xb7\x35\x4f\x07\xe3\x7b\xd9\x8c\x8b\xd3\x9d\xd4\x85\x0f\x87\x5b\xae\x91\xbe\x72\x9c\xfa\xf5\x2e\x96\x22\x1b\x7c\xe0\xab\x04\xd7\x54\xc7\x06\xb3\x61\x00\x42\xb3\x0e\x95\x6e\x95\x88\xd1\xac\xce\xbd\x4c\x4a\x4a\x83\xdd\xa7\x96\x8c\xa2\x4f\x7b\x58\x5b\x79\xc5\x92\x7c\x11\xb9\x1f\x2f\x9f\x8e\xb0\xac\x8a\x73\x1e\x64\x28\x40\x29\x6d\x85\x29\xb3\xdc\x6b\x59\x52\x82\x96\x29\x53\xdc\x94\x87\xb0\xf7\x19\x2e\x5f\x7c\x82\x4b\x9f\xee\xd0\xa7\x3b\x34\xec\x51\x9f\xee\x80\xd0\xbe\xa5\x3b\xac\x52\x41\x97\x19\x40\xbd\x4f\x0e\xaa\x6d\x96\x4a\xdc\x98\xfd\x5d\xa1\x47\x6e\x1e\xd2\xef\x6c\x88\x61\x3c\x94\xfd\xc5\xfe\xd0\x18\x12\x55\xfb\xac\x3a\xdb\xd0\x9e\xc9\x16\x55\xb7\x00\x16\x71\x62\x71\xe8\x6c\xc0\x72\xd9\xfe\xb4\xcc\x54\x3a\x62\xdf\xf3\x67\xf2\x44\xc4\x01\xc2\x0a\xa5\x5c\x2a\xe0\xc3\x2e\x3e\x06\x0e\x42\x09\xd2\xdc\xc4\x41\x60\x74\x85\x53\x12\x9b\x8a\x87\x41\x58\xa3\x35\xd8\x5a\x57\x6b\x13\xdc\x2a\x20\x87\x9a\x6d\x70\x71\x13\x23\x66\x42\x0d\x4d\x78\x1b\xc8\x0a\xd4\x4d\x0c\x08\xe6\x77\xde\x11\xfc\xbb\x23\x74\xaf\xef\x27\x2a\xcb\xe3\x0d\xd0\xd7\xda\xc6\x36\x62\x33\xc1\xf3\xcc\xdb\xd0\xf8\xc4\x94\xbe\x35\xd1\x4f\x75\x47\x30\x0c\xc6\x79\x81\x23\x1c\x6b\x5d\x7c\x39\xe1\xbc\x49\x14\xea\x46\x10\x46\x21\x01\xe9\x63\xe8\x43\xeb\x6c\xa8\xbb\xf1\xdf\x06\xc0\x2d\xcb\x80\xd8\x5f\xc8\xb9\x7c\x46\x24\x58\x85\xbc\xd5\xbd\x94\x47\x5e\xc6\x2a\x68\x1c\xe7\x32\x9b\xa8\xf7\x5b\x38\xdb\x7e\x33\x0c\x42\xd1\xb9\x8d\xf9\x32\x49\xaa\xf6\x9e\x78\x31\x6b\x69\xe7\xe8\xd9\x36\x7e\x71\x93\x8b\x8c\x83\x24\x96\x2c\x1c\x6c\x83\x45\x7a\xcb\x78\x96\x9b\xb8\x36\x1a\x86\x39\x35\x52\x36\x95\xea\x12\xab\x68\xae\x39\x77\x81\x78\xb6\xa3\x78\xbf\x82\x2b\xbf\xac\x05\xb5\x61\x06\xa7\x61\xef\x2d\x2e\x85\x0e\x16\x75\x73\xef\xbb\xf0\x7a\x27\x49\xa4\xba\x3f\xe3\x76\xb3\x05\xad\x03\xbb\xa8\xfb\xc4\x3e\xd1\x13\x5d\x45\x45\xab\xc6\xdf\x8d\xb6\xca\x15\xb7\x76\x1e\x49\xb8\x05\x84\xcc\x99\x05\xec\x2a\x5e\xb4\x15\x5a\x5b\xdc\xff\x82\x6e\x96\x05\x64\x51\xf2\x9f\xb4\x38\xe2\x2d\xae\x29\xce\xb4\x12\xa1\xb8\xbe\x25\xc5\xcc\xc8\xb1\x26\x4e\x16\x61\x94\x0b\xea\xce\x7e\x25\x27\xbc\x9d\x3a\xc0\x42\x79\x1c\x56\x54\x8a\x70\x50\x6c\xce\x38\xfc\x71\xa4\x72\xec\x03\x13\x81\x26\x5c\x11\x74\x93\xff\xee\x1c\xeb\xc2\x89\x77\x0d\x7b\xba\x92\xb0\xb7\xd8\x65\xdc\x84\x6f\xd8\xe9\xa4\x51\x36\x0b\xc0\x11\x9b\xad\xc4\x5d\x6a\x1f\x34\x7e\xd9\xad\x7e\x43\xe3\xa7\x4e\xf6\xd9\xe4\xdb\x25\xe0\x4d\x1b\xc7\x66\x97\xe2\xdc\x6d\x20\xac\x95\x9e\x42\xd8\x4a\x6b\xbf\x03\xf4\x59\x0a\x8e\x7a\x6c\xa5\xa9\xff\xf2\x7f\x99\x5a\x59\x66\x69\xfe\x0b\x71\x31\x62\xe6\xf7\x03\x5f\xa7\x42\xbf\x50\x00\xc0\xe2\x94\x14\x10\x99\xa2\x0c\xa6\x07\x90\x22\x16\x0c\xcd\x80\xfd\x7a\x98\x7e\x3d\x86\xc7\x7c\x42\x04\x23\x7a\x68\x0e\x7c\xc0\x33\xb3\x14\x33\x3c\x03\x68\xe1\x03\x88\x8c\x03\x71\xb5\x50\x45\x0c\x49\x9b\x7a\x87\xc0\xad\x34\xb3\xb4\xf9\xb6\x45\xdd\x5f\xe8\xd3\x88\xb2\x16\xd9\xb4\x08\xaf\x68\xa6\xfe\x5b\xdb\xff\x66\x12\xfb\xfd\xe0\xee\x87\xf1\xed\xf0\xee\xfa\xe1\xf6\xb4\x24\xb6\x9f\x5e\x3c\xdc\xdd\x0f\x6f\x1b\x9f\x15\xb9\xaa\x7f\x7d\x18\x3e\xb4\x3c\x72\x0d\x5c\x0c\xbe\x1b\x96\x8a\x68\xff\xf5\x61\x70\x71\x7e\xff\xf3\xf8\xfa\xe3\xf8\x6e\x78\xfb\xe3\xf9\xe9\x70\x7c\x77\x33\x3c\x3d\xff\x78\x7e\x3a\xd0\x5f\x86\xef\xde\x5c\x3c\x7c\x3a\xbf\x1a\xbb\xb0\xe3\xf0\xd1\x4f\xd7\xb7\x3f\x7c\xbc\xb8\xfe\x69\x1c\x74\x79\x7d\xf5\xf1\xfc\x53\xd3\x2c\x06\x77\x77\xe7\x9f\xae\x2e\x87\x57\xcb\x8b\x75\x37\xaf\x46\x6b\x1d\xe0\xe0\x22\x0b\x8c\x46\x81\x98\x34\x59\x58\xd2\xa6\xbf\x82\xef\xe2\xc6\xd0\xe3\xe1\x81\xfb\xcb\x94\xd6\x3e\xd4\x2c\xd0\xf9\xc5\x0a\xee\x31\x62\xde\x71\xe9\x2f\x55\x85\x67\xd2\xa5\x1e\x97\x46\x7b\x82\x06\x70\x56\x40\x61\x28\x75\x0a\x99\x0d\x7e\xa4\xce\xd5\x0d\x74\x98\xd0\x94\x82\xd7\x1b\x1d\xa2\xea\x86\x97\x1b\xb4\x73\x82\x21\x58\xbf\x5d\xbc\xec\x34\xc8\x6a\x56\x33\x50\xca\x09\x72\x1c\x9a\x18\x73\x82\xc1\x9e\x5d\x30\x9c\xd2\xa8\x9a\x82\x01\xf0\xab\xa8\x80\x1a\xa9\xb6\x58\x22\xb0\x72\xcb\x73\x82\x7e\xf8\x4b\x31\x28\xf0\x60\x58\xcd\x3b\xaf\x55\xd4\xb3\x0f\x44\x6e\x56\x75\x15\x79\x96\x7a\x72\xc7\xdc\x9a\x96\xe1\xdc\xda\xca\xdd\xe0\x6e\xca\x59\x00\x37\x56\xf2\x3d\xe9\xe3\x6d\x66\x54\xa1\xf1\x13\x74\x07\x50\x27\xb2\x50\xdd\xf5\x2e\x66\x49\x3e\xa3\x0c\xd1\x34\x4b\x48\x51\xf3\x7d\x42\xe6\xf8\x89\x72\x57\xbe\xc2\x54\xf9\x80\x75\xb4\xa2\x15\x3a\x44\xad\x07\xe5\x04\x0d\xe2\x58\x96\x19\x5c\x89\x72\x1c\xcb\x3c\x2c\x0f\x3b\x44\x08\x63\xb1\x67\x9b\x15\x3a\x2a\x8e\x1c\xac\xd8\xee\xc1\x5c\xea\xec\xb0\x7c\xf7\x6e\x71\xfd\xeb\x15\x1c\x3b\x52\x1e\x6f\x24\x0c\xdc\x63\xf9\xe8\x58\xf3\x2a\x81\xc0\xc1\xea\x6c\xd7\xa3\xc5\xd7\xe9\xda\xa9\x5f\xd9\x31\x1c\xb4\xcd\xfa\x6c\x45\x85\x5e\xd1\xa5\x9b\x71\x52\x29\xdd\xd5\xb9\xbf\x52\xe9\xaf\xc6\xce\x76\xea\xed\x69\x96\xc6\xe0\x48\x8e\x3d\xfd\xaf\x31\x8f\x1b\xf8\xf4\xda\x7f\xb9\x54\x64\x1b\x07\xeb\xb6\xae\x0f\xa8\x96\xa4\x6b\xfd\x40\x4b\xe9\x70\x47\xf0\x4e\xdd\x85\x41\x28\xbc\x40\x23\x70\xf7\x61\xca\x6c\x39\x1e\xe2\xfd\x51\xae\x00\xb5\x3e\xc7\xbe\x44\x1c\x9e\xf0\xa7\x92\x72\x99\x12\x29\x71\x0b\x60\x49\x60\x12\xdb\x86\x31\xf8\x13\x6a\x3f\xec\x48\x4f\xee\x4c\xde\xeb\xaf\x96\x19\x7d\x6e\x43\xcd\xd8\x4d\x54\x0b\xac\xb1\x8b\xb4\x45\xd7\x26\xdf\x4e\xf3\x97\x83\x22\x98\x86\x8b\x20\xc6\xa8\xcd\xfd\xd3\xd1\xac\x56\x5d\xb0\xc6\x2a\x4b\xa1\x0b\x6f\xfd\x18\x9c\xa0\xf5\x8d\x11\xb1\xad\x5f\x05\x97\xd7\x67\x0d\xaa\x2b\xf9\x3b\xc3\x0a\xd4\x11\x4f\x53\x23\x17\x94\x6c\xa9\x07\x08\x9b\x34\xc7\x42\x9a\x92\x79\x34\x37\x5e\x26\x7d\x65\x1c\x8c\xd8\x73\xb0\x21\xa5\x40\xe0\x41\xd8\x12\xa0\x89\x7e\xd6\xc7\x8d\x3e\x95\xc2\xab\x41\x64\xa4\x10\xeb\x1b\x10\x82\x71\x08\x16\xe5\xa3\x56\x10\x78\xb0\x5f\x5b\x90\xfa\x06\xb5\x02\x2b\xeb\xdb\x56\x31\xd0\xcf\x2d\x28\xd4\xb7\x85\xa6\xdc\x75\x08\x41\xad\xc0\xa6\x11\xec\xa0\x54\xe0\xab\xc2\x7b\xfb\x74\x4d\x93\xdd\x9b\x4e\x2c\x46\x85\x9e\xae\x5b\xed\xdf\xbb\x19\xfd\xde\xf8\x1d\xf2\x16\x50\x93\xa0\x35\x8f\xf0\x8d\x0e\xb5\xcc\xea\x92\xed\x6d\x20\x86\x44\x87\x06\x35\xf0\x2b\x88\xb4\x1c\xdc\x9c\x7f\x75\x80\xbe\x0a\xb3\xcd\xbe\xda\xe8\x00\xda\x71\xdb\x72\x81\xa0\x4d\x95\x52\x0e\xca\xc7\x0e\xf6\xaa\x72\x12\xed\x9e\xd9\x83\x88\xda\xce\xa1\xfe\xb2\xf4\x0d\x38\xa7\xa1\xfc\x9d\xf1\xdf\xfa\x80\x67\xeb\x02\x32\x32\x2e\x95\x0d\x6b\x17\x8f\xd8\x64\x51\x75\xf2\x1c\x78\x2f\x4f\xe7\x53\xba\x75\x49\x37\xdd\x5e\x3d\x3d\x79\xc7\x81\xb8\xcb\xef\x83\x15\x09\xcf\x03\x13\x73\xcd\xa7\x01\x17\x6b\x8b\x52\xe8\x23\xd8\x9b\x66\x55\xb2\x97\xb9\xc5\x6c\xdc\x94\x55\xf2\xcf\x7b\x23\xb7\x0e\x61\xdf\x83\xa6\x15\xb1\x11\xff\x2d\xc2\x75\x4f\x65\x2f\x4b\x65\xbb\xc8\x78\x28\x0f\x6e\xfd\x0b\xf4\xd4\xc8\x71\x41\x33\xce\xe0\xaa\x95\x09\xcf\xe0\x4b\x75\xff\x56\x17\xcc\x5d\xd3\xe7\x1b\xac\xc9\x6a\xa7\xef\x9d\x09\x1c\x30\x6e\xd7\xfa\x58\xab\x43\x1d\x28\x5b\x84\x88\x53\x93\xdd\xa8\x68\x4a\x0e\x10\x67\xc9\x22\x08\x76\xb0\xe7\x15\xc8\xcd\xc4\x28\xcd\x09\x15\xae\x13\x8b\x31\xb8\x56\x3a\xfc\x9a\xd2\x78\x1b\x8d\x6c\x11\x69\x72\x35\xb8\x1c\x9e\x8d\x87\x57\xf7\xe7\xf7\x3f\x37\xe0\x47\x96\x1f\x3b\x08\xc9\xe0\x85\xbb\x9f\xef\xee\x87\x97\xe3\x4f\xc3\xab\xe1\xed\xe0\x7e\x05\xbc\xe4\xb2\xce\xda\xa0\x0b\x73\xd9\xa4\xbe\xad\x03\x5f\xe8\xcc\xbc\x0d\xbd\xd7\x41\x26\x83\x4e\x28\x69\x01\x9a\x34\xa9\xff\x2c\x26\x02\xc5\xe4\x89\x24\x3c\x2b\xcc\xaa\x8d\x0b\x16\x20\x50\x36\xb4\xbf\x0c\x85\x12\xda\xac\xae\xf1\x09\x32\xb5\xde\x82\x72\xb7\xbe\x41\x10\xf9\xb0\x20\xec\x2b\x85\xc8\xe7\x2c\xa1\x11\x55\x41\x6a\x20\x17\xd6\xbd\x62\xdc\x87\x10\x9d\xba\x82\xb8\x76\x16\x8d\xb2\x73\x9d\x3f\xf4\xa4\xd7\xb5\x7d\x7f\xa2\x3c\x22\xda\xca\x02\x42\x3b\x50\xec\x5b\x9c\xc6\x35\xc0\xb6\x0d\x46\xf7\x12\xe6\x81\x7a\x8e\x8e\x4d\xef\x6b\x01\x73\x6b\x1e\xe4\xea\xdb\x70\x59\x9c\x4c\xe9\x5c\x2f\x0f\x94\xe9\x46\xa9\x6f\x1c\xee\x52\x2a\xac\xb9\x03\xe4\x0d\x1b\xbb\xbe\x66\xc0\x42\xad\x5e\x0c\x33\x31\xa7\x18\x09\x92\x72\xa5\x15\x30\x13\x11\x70\xa0\x85\x2a\x8a\x13\xfa\x2b\x60\x54\x09\x72\x14\x44\x50\x38\x64\xaf\xc2\x7d\x60\xf1\x23\x8e\x46\xec\x6c\x78\x73\x3b\x3c\xd5\x0c\xe9\x08\x3d\x48\x80\x9f\x2a\x4d\xfd\xcc\x92\xb7\x11\xc7\xc2\x48\x06\xca\xa4\x22\xb8\x2d\x18\x8c\x08\xc1\x45\x77\xfe\xe0\xfb\x1b\xc2\x77\xcd\xe4\x0d\xcf\x4a\xb6\x29\x67\x00\xb8\x6a\xad\x8a\x1c\xe4\x0c\xec\x3c\x27\xeb\x16\x3f\x97\x56\x24\x84\xdf\x00\x49\xa4\xbc\xea\x2f\xb8\xda\x00\xe0\xd9\x7d\x7e\xa5\x3e\x6f\xe0\xdb\x65\xf3\xbc\x87\x10\x3b\xa9\x0a\x34\x50\x03\x18\xea\xab\xde\x54\xe6\xd9\x2a\x2a\x8a\xb7\x80\xea\xa8\x90\xfe\x84\xcc\x30\x43\x22\x67\xac\x02\x0f\x1b\x5a\xda\xea\x41\x33\xeb\x1e\x55\xbd\x66\x38\xe5\x39\x03\xa5\x01\xc2\x58\x1b\x06\x23\x33\xc2\xd4\x8a\xc1\xbc\x15\x10\x4b\x65\xa8\xfb\x8b\xc5\xd2\x30\xd0\x36\x38\x96\x26\x7f\x12\x94\x5e\x5e\xef\x5a\x76\x41\x79\x25\xa7\x92\x3e\x54\xfe\x7e\x6e\xd6\xb2\xb1\x7c\xdc\xba\xbb\x7b\x2c\x1f\x57\x77\x15\x93\xe8\x71\xdd\xcb\xa6\x9a\x99\x99\xd8\xca\xd5\x35\x63\xdf\x42\x3f\xb5\xa5\x59\xa0\x60\x79\xf4\x88\xbe\xbf\xbf\xbc\x40\x53\xaa\xe5\x5e\x7d\xad\x5c\x61\x2d\x63\x3f\x88\xc4\xd9\x85\xad\x6d\x35\x17\x89\xbf\x7b\x61\xe3\x9d\x28\x15\x48\x09\xfa\x46\xc3\x33\xe2\x8c\xbd\xc2\xa2\xed\x55\x4a\xb3\x08\xcc\x62\x9e\x9a\x79\x1c\xcb\x7c\x3a\xa5\x9f\x8f\x14\x16\xdf\xb4\xac\x87\x89\xaa\x18\xff\x9d\x4f\xc6\x7a\x44\x5b\x5e\xc4\x4d\xcd\x21\x5b\x50\xd9\x2f\x9b\x9d\xd9\x99\x79\xf7\xff\xf2\x09\x64\xbb\x67\x82\x03\x02\x20\x78\xe7\x6c\xa4\x82\x7d\xc5\x51\xd2\x11\x72\x09\x54\x25\x90\x93\x88\x0b\x41\x6c\x92\xbc\xa9\x2d\x9a\x61\xa1\x28\x58\x6b\x1d\x48\x4a\x09\x1d\xbf\xd8\xa2\xb0\xe4\xf7\x1c\x17\x48\xd4\x13\x42\xc0\xc1\x93\xd1\x64\x3d\xa5\xf7\xb4\xe4\x9b\xac\x9c\x40\x1b\x79\x6a\x71\x33\xc1\x20\xb3\x52\xc4\x1a\x3e\x11\xa6\x76\xa2\x9f\x40\x13\x0d\x69\xfb\xdd\xbc\x0c\xa6\xc4\xe7\xf9\x59\x71\xb9\xb9\x90\xde\x30\xaa\x49\x09\x0c\xf7\xbc\x4d\x94\xb2\x2e\xf5\x36\x47\xff\x53\x67\xdf\x31\xbc\x5a\x5f\x97\x15\xa1\xf1\x76\xb5\x8b\x52\xdf\x45\x58\xab\x83\xf6\xdf\x10\xc8\x47\x12\x63\xc5\x08\x00\x24\xac\x72\x5a\xdd\x73\xd3\xa7\xa6\xad\x4a\x97\x2b\xb7\x7c\x03\xd4\x9a\x52\x33\x9f\x08\xa4\x74\xee\x22\x10\x7d\x9d\xdc\x7d\x18\xc8\x83\x48\x20\x84\x7a\xa9\x15\xcb\x94\x19\xd7\x9c\xcf\x4b\x76\xb8\x83\x8c\x6e\x06\xa3\x85\x46\x92\x09\x12\xe9\xab\xec\x04\xdd\x24\x44\x4b\x5e\xb9\x96\xbe\xf2\x24\x71\x08\x5f\xcb\xa5\xc3\xb5\x50\xe9\x5e\x7c\x5e\x81\xee\xb1\x64\x62\x0e\xe1\x6e\xf9\xcc\x82\x35\xd8\x3d\xe2\x42\xb0\xbe\x60\x42\x06\x43\x62\x59\x8b\x04\x0e\xbf\x30\x71\xb3\x60\x4a\xc2\xa5\x8b\x8c\xfe\xaa\xd9\xaf\x20\x72\xce\x5b\x93\x1c\xc3\xd9\xbe\xcc\x1c\xdc\x52\xbe\xe0\x24\xdc\x7d\xd8\x16\x57\xdd\x41\xae\xa9\xdc\x81\x25\x11\x67\xd9\x14\x7d\xf5\x07\x1f\xfd\x61\xf1\x56\xed\xdd\x6a\x87\x06\xb7\x64\x61\x6a\x0b\xb1\xcf\x0a\xd7\x45\xa1\xcc\x2c\x8c\xef\xd5\x7f\x5e\x18\x90\x8b\x94\x00\xaa\x64\x51\x75\x0e\xe9\xbb\xb6\x6d\x8b\xf5\x3c\xc7\xb9\x58\x0b\x92\xa2\x40\x2d\x5f\x87\x73\xdb\x64\x94\x62\x58\x7a\x11\x9a\xd9\xa5\x2d\x26\x01\x62\xb4\x0d\x35\x92\x25\x24\x38\x4b\x36\x66\x19\x1b\x55\xbc\x76\xa6\xbc\xad\x5b\x0d\xa4\xe4\x42\x94\x79\x29\xef\x5a\x89\x02\x4b\x13\xe8\xb1\xc5\xd6\xc7\x16\xb3\x95\x45\x3c\xed\x01\x12\xa0\x12\x90\xf8\x5f\x38\xd0\xaa\x82\x83\x35\x7a\xaf\xca\x7c\x2a\xed\x4e\xa7\x34\xa7\xd2\x17\x9a\x97\x9c\x6d\xe9\x81\xd3\x93\x59\x8c\x21\x71\x74\x9b\x28\x9c\xd2\xfc\x8d\xf7\x00\xda\x24\x31\x32\xe8\x05\x06\xf9\xd8\xae\x9d\xf7\x9c\x64\x58\x10\xa6\x46\xec\x56\x8f\xc2\x7c\x51\x44\x62\xb8\x38\x1c\x87\x46\x0f\x35\x6b\xa7\x08\xdb\xaf\x60\xd1\xdb\x02\xe1\xe4\xd8\xbc\x04\xaa\xe9\x0b\x26\xd9\x7f\x67\xde\x31\x98\x07\x16\xf3\x47\x4f\x95\x4e\x0b\x35\x5e\x0b\x90\xd1\x9c\x02\xe4\x40\x4c\xa4\xbd\x90\xa8\xb2\x98\x12\x5e\xfc\xce\x89\xc3\x5f\x86\xcf\x3c\xff\x6a\x62\xd8\xce\x50\xc0\x9c\x81\x4e\x8e\x58\xd0\xc7\x12\xb8\x4e\xa3\xac\x6f\xa8\x4a\xc0\x3e\xd3\xd8\x3b\xbe\xe0\x9f\x66\x87\xb8\xa0\x33\xca\x82\xa2\x49\x76\x7a\x29\xce\xc0\xbc\x6b\xce\x20\x9f\xfa\x3b\xed\xde\x66\x19\x1c\xc1\x88\xff\xe7\xbf\xff\x76\x44\xdb\xbc\x1f\x72\x6c\x57\x60\x1f\x76\x72\xbd\x6d\x09\x77\x3e\x40\x11\x69\x41\xa7\x08\x74\x5a\x59\xca\x9c\x28\x7e\xb5\x97\x9b\x26\x1a\xae\xe6\xc6\xdd\x5b\x26\x77\xf0\x8d\x88\x7c\xc9\xd9\x30\x57\xcc\xdb\xae\x25\x95\x90\x1d\xa0\x47\x62\x4e\xb2\x37\x10\x84\x05\xc9\x6b\x66\x9a\x11\x2b\x3e\x91\x06\x0f\xc5\xc0\xbb\x9a\x1f\x8a\xd5\xe9\xb8\x30\xcb\x78\x7f\x11\x29\x51\xb8\xc3\x83\x68\x64\x57\x3e\xc3\x44\x91\xea\xf6\x2b\x37\x6d\x85\x73\x07\x38\x87\xdb\x44\x6d\xce\xb1\x7c\xb9\xd0\x9c\xc6\xb2\x4f\xc6\x9a\x1e\x0a\x0f\xab\x82\x74\xcc\x20\x4d\xb6\xa7\xde\x90\x5c\x12\x61\x38\x9d\x87\xc3\xb2\x94\x10\xa2\x38\x42\x8c\xe6\x0a\x5f\x23\x49\x31\x5d\x2b\x9f\x40\xbf\xdf\x8c\x31\x59\x72\x36\xe0\x19\x11\xe3\x38\x57\xb5\x63\xb1\x2c\xc6\x5f\x7f\x74\x96\xab\xc5\xea\xf6\x65\x82\xeb\x65\x6f\x96\xe1\x7a\xea\xf7\x5b\x9a\x5d\x2d\x31\x07\x21\x3e\x65\xa9\xb9\x05\x35\x93\x54\x50\x33\x6d\xcc\x69\xc9\x44\x02\x37\x30\x53\x00\xa9\x57\x68\x52\xf6\x8a\x36\xd8\xde\x30\x72\x34\xc9\x0b\x93\x92\xaf\x96\x10\x1f\x8d\xd8\x47\x53\x6e\x04\xb4\x3c\x33\x80\x08\x12\x7e\xc8\xe7\x8c\x4b\x52\xca\x40\x6b\xa8\x80\x60\x33\x48\xed\x30\x9a\x85\xf5\xe2\xa3\xed\x65\xf5\x37\xc7\x3f\xad\x6f\x78\x7d\xca\xcd\x14\xb8\x95\x38\x18\xd1\x8c\x6a\xda\x19\x37\x9e\xb4\x97\xab\xc2\x5b\xc4\x74\x01\x0e\x96\x4a\x16\x07\xc8\x4f\xaf\x42\x10\x09\x79\x22\x60\x4e\x87\x31\x86\x75\x2e\xca\x76\xbd\x16\x76\xb2\xea\x00\x15\xe9\x9f\xc0\x16\x50\x5c\x1d\x41\x39\x49\xae\x89\x16\xcb\xe9\x3f\x5b\x67\xaa\x35\x05\xa6\xac\x21\x9e\x0f\xc2\x7a\x1f\x0b\xa2\x10\xf9\xac\x88\xad\x08\x7a\xef\x72\x09\xeb\xe9\x07\xa8\x39\x1d\xaa\x5d\x76\x7c\xf1\xda\xcc\x03\x97\x41\xee\x92\x25\x63\x77\xe5\xdb\xe4\xc1\x39\x66\xb1\xcd\x88\xb5\x4a\x86\x16\xb6\x60\x76\xc6\xe8\xe6\x73\x05\x6c\x5e\x67\x00\x94\x6e\xda\x34\x88\xee\x70\x91\x39\x85\x51\xab\x2c\x10\x5e\xc1\x85\x96\xdc\x73\xa6\x68\xa2\x89\xc3\x8e\x41\xa2\x29\x44\xc6\x59\xa0\x42\x88\x6c\x6f\xc3\xc2\xa3\x52\x52\x36\x1b\xdb\x95\x74\xc9\x9d\xdd\x2e\x86\x32\x4d\x5d\x9a\xa6\xcc\x8f\xdf\xb9\x86\x96\x1b\xd5\x0d\x59\x03\x4e\x99\x4b\x2b\x05\x8d\x83\x71\x37\x19\x0b\x30\xe7\xb2\x51\xc7\x34\x36\x4b\x41\x4d\xe1\x69\x98\xe8\x3a\x76\x77\x90\xe9\xea\x38\x0e\xc5\x15\x22\x6d\xaa\xa8\x49\x00\x83\x48\x7d\xd5\x92\x0b\x2b\x5b\x73\x60\xcf\x99\x17\xd1\x6c\xd9\x2b\x9f\xe9\x5f\x49\xa7\xc5\xae\x3b\x9b\x8e\x80\x93\x64\x82\xa3\x47\xaf\x85\x79\x5b\x04\x17\xae\x6c\x80\x96\x2b\xa1\x2e\x9a\x21\x2e\x3d\xd0\x08\xa4\x9b\xd0\x5b\x68\x90\x7c\xec\xb0\x8b\xce\xcd\xaa\x59\x88\x34\x03\xdd\x64\x46\x6f\x72\x1b\x62\x92\x25\x7c\x91\xb6\xdc\x67\xd5\x14\xc2\x6d\x22\x75\xda\x32\x18\x77\x7a\x95\x55\x98\xde\xda\x97\x59\x2d\x1f\x69\x07\xb8\x52\x6b\x70\xc9\x4f\x09\x9f\x80\x49\xd5\x9a\x1f\x5c\x8e\x4d\x90\xea\x51\x3d\xcf\xeb\x66\xfe\x54\x4f\x24\x95\x59\xa2\x95\x99\xf6\x1e\x4c\xce\xc9\xcb\xee\x9b\xc1\x28\x58\x6d\x1d\xec\x1e\xad\xdd\xf8\xf9\x4b\x20\x18\x5f\x38\x49\xc0\xbc\x6b\xf8\x57\xc5\xca\x66\x92\xfd\x8e\x8c\x93\x5a\xf1\x11\x53\x78\xe6\x36\xd7\x0a\x97\xfc\x99\x11\x21\xe7\x34\x2b\xd5\x4b\xdc\x3a\x3c\xdc\x52\xb4\xfd\x8f\x09\x86\x5e\x83\x77\xf2\xec\xd0\x20\x94\x68\xfa\x90\x19\x8e\x0a\xab\x68\x94\x60\x29\xe9\x74\x11\x00\x8b\xf8\x48\x5b\x48\xdf\x2a\x9b\x11\x82\x12\x65\x4d\x8c\xc6\x8c\x6f\x37\x99\xf5\xdb\x67\x15\x3e\x94\x8f\x1f\x8d\x43\x04\x37\x7d\x9f\xd4\x51\x64\xdc\x4d\x6d\xd1\x64\x5a\x91\x68\x0d\x84\xc0\x66\x99\xf0\x4b\xc1\x7f\xda\xcd\x08\x85\x30\x69\x87\x6d\x15\x19\x0f\xf8\x11\x82\xe1\xa8\x52\x2a\x25\x6c\xbe\x56\x9c\x9c\x5d\x58\x13\xa7\x07\x0b\x01\x4c\x85\xe2\xe3\x03\x24\xb7\x02\xd9\xea\x42\x17\x67\x24\x21\x3b\x89\xb8\xde\x80\x48\xaa\xe1\x0c\x01\x79\x2c\x25\x8d\xa2\xcc\xc0\x6a\xe3\xc2\x06\x81\xe0\x2d\x50\x3d\xcd\x43\xff\xc9\x0c\xd4\xc6\x82\x37\xed\x22\x18\x06\x61\x95\xbb\xea\x2e\x4d\x98\x7f\xa6\x05\x4b\x72\x45\x37\x25\xba\x2a\x3a\xf5\xf2\xca\x3e\x92\xda\x1b\x87\x4c\xd7\xc6\xf5\x89\x74\x09\xef\x58\x79\x00\x36\xe2\x40\x75\x3e\xdd\x8d\x2e\xac\x03\x55\x71\x34\x23\xca\x54\xff\x8f\xe9\x13\x8d\x73\x9c\xbc\x2b\x9a\xd8\x59\xc2\xc7\x8e\x56\xbf\xf9\x90\xaf\x77\x6a\xef\x88\x92\xee\x4a\xa8\xc1\x28\xda\xcd\xd9\xc3\x2d\xd8\x8f\x63\x69\x04\xd7\x2f\x5e\x6e\xd9\x1a\x24\xc1\x8e\xcc\x42\x05\xfc\x86\x04\x2a\x33\xc7\xd8\x7e\xe1\x61\x01\x4a\x80\x58\xb8\x04\x22\x68\xd6\xe8\xed\xb9\x5e\x95\xb4\xbf\x74\xd1\x6b\x7d\x1a\xaf\x8e\xaa\xa0\xee\x5e\x1e\x5c\x4f\x1e\x74\x20\x9b\x7b\x78\xf9\xb7\x1d\x83\xfd\xbc\x7f\xf6\x40\x38\xac\x5d\x89\xbb\x13\x11\xdf\x11\x99\xec\x85\xa4\x58\xdb\x8a\xd7\x92\x17\x0f\x1d\xca\x51\x81\x19\xb4\xbf\x5b\xb4\x1f\x27\xf9\xd6\xba\x81\x5e\xee\x82\x5d\x4d\x2f\x3b\xa1\x0f\x00\xfc\xc4\x90\x17\x9d\xdb\x0a\x22\x70\x78\x83\x58\xba\x9a\xef\x61\x45\x94\xa2\x1d\x5e\xa7\xf8\xc4\xda\x72\xbe\xc4\xf6\xda\x24\xb8\xce\x9b\xfb\x92\xa4\xb6\xee\x58\x76\xa1\xa3\xbc\xb0\x17\xc7\x52\x63\xf0\x41\x1f\x2c\xdc\xed\x16\x6d\x80\xd6\x71\x5b\xb6\xcb\x43\xd6\x54\xf6\x6d\xfb\x34\x7e\x97\xe3\x37\xce\x04\x99\xd2\xcf\x1b\x89\xe2\x37\xf0\xa9\x55\x2f\xf5\x32\x57\x0a\xc9\x81\x7b\x06\x0a\xcf\x05\x01\x8d\x76\xa5\x6d\xb1\xa9\x11\x2b\x32\x23\x6d\x5a\xe4\x23\x59\x20\x2e\x4a\x3f\x6d\x0a\x02\xb9\xfb\xa2\x77\x66\x5f\xe7\x4a\x65\xf2\xe4\xf8\x78\x46\xd5\x3c\x9f\x1c\x45\x3c\x35\x71\xf8\x5c\xcc\xcc\x1f\xc7\x54\xca\x9c\xc8\xe3\x3f\xfe\xe1\x0f\xc5\x16\x4f\x70\xf4\x38\x33\xb0\x3a\x75\xbf\x53\x79\xcb\x09\x96\xdb\x45\xf6\xb8\x14\xb6\x17\x4e\x65\x0e\xba\x71\xc9\xa3\xfa\x1b\xa9\x70\x9a\x85\xa1\xa0\xa6\x6c\x9c\x54\xb8\x28\x56\x01\x79\x89\x7a\x9a\x68\x8e\xb3\x8c\xb0\x76\xb3\x83\x49\x34\xdd\x82\xf5\xb8\x54\x55\x3b\x42\xf2\x39\x4b\x30\x2b\xc3\x2f\x40\xe5\x25\x41\x22\xc2\x94\x85\x06\x28\x4a\x49\x03\x35\x1a\x08\x20\xc3\xff\xd7\x4b\x45\x84\x39\x52\x59\x94\x54\x73\xc3\xb1\xe5\x4d\x5d\xd1\x4b\x1c\x2c\x5d\xb5\xa4\x6c\xb1\x76\xc4\xad\xda\xb2\x24\xc5\xbb\x7a\x69\xf1\xf5\x4b\xda\x08\xce\xc6\xe4\xb3\x66\x72\x72\x53\xc0\xae\x07\x49\x24\x1a\xfc\x74\x87\xe4\x82\x29\xfc\xf9\x04\x5d\x52\x06\x02\xec\xf7\x3c\x17\x12\x9d\xe1\xc5\x21\x9f\x1e\xa6\x9c\xa9\x39\xba\x84\xff\xb5\x3f\x3d\x13\xf2\x88\x7e\x26\x58\x58\xfe\x60\x4b\xd2\xf9\xfa\xe6\x9a\x84\x44\xce\x24\x22\x4f\xfa\x84\xfe\xe1\x3f\x51\x6a\x5a\x3e\x41\xdf\x1e\xff\xe1\x3f\xd1\xef\xe0\xff\xff\xff\xe8\x77\x2d\x9a\xfe\x7a\x90\x5f\x50\xb9\xf8\xb6\xec\xce\x3d\xa8\xac\xd4\x06\xd5\xdc\x4f\x05\x2f\x76\xaa\xb1\xe5\x47\x1a\x3d\xf2\xe9\x74\xac\x09\xc3\x24\xf2\x8d\xb1\xa8\xc1\x45\x6f\x88\x9f\x4a\x6d\xed\x69\x53\xc9\xae\xa8\x21\x63\x3b\x35\x88\x0f\x8e\x5d\xcb\xbc\xa8\xbc\x0b\x41\x44\xa5\x6a\xc6\x54\xc2\x57\x24\xd6\x5c\x75\x9d\xd3\xe1\xac\x7b\x2e\xf9\xdb\x59\x70\x42\x84\x94\xb0\x9e\xba\x0f\xfc\x0b\xa3\x58\x4d\xa0\x8f\x5d\xc8\xc6\xe3\x50\x0b\xaf\xfd\x62\x62\x26\x61\x6a\x6f\x15\x2f\x29\x6b\x9d\xaf\x0e\x95\xbc\xe3\x62\x2b\x7d\xeb\x91\xb4\xa6\x32\xac\xa8\x97\xe4\x6a\xf8\x86\x95\xfd\x21\x43\x9c\x0b\x8f\x63\x6c\xec\x22\xb6\xaa\xe2\x6a\x2b\x26\x15\x26\xb8\xac\xdb\xa1\xd7\x53\x3f\xf3\x9f\xac\x1a\x26\x44\x9a\xb9\xb7\x8b\x7a\x71\x30\x5a\x2d\x22\x69\x96\xd8\x30\xe2\x06\xb0\xc3\x55\x1b\x7a\xe7\xf1\x2d\xa0\x71\x08\x7b\x84\xfc\x0d\xe6\x24\x5b\x0b\x20\xd0\xbc\x9f\xb9\x88\xc8\x29\xdf\x2e\xec\x35\xa1\xac\x16\x2f\xdf\xbd\x14\x91\x5f\xbd\x0b\x5b\x74\xca\xe1\x01\xf3\xb8\x50\x16\x8c\x5b\xc0\x56\xa1\x08\x80\x48\xcb\xb3\x01\x40\xbb\x5d\x60\x5d\xd6\x6a\x23\x6c\xc1\xb5\x8d\xe1\xb8\x60\x78\xae\xb4\x46\xa5\xa2\x86\xc0\x9a\x17\x2e\x89\x5d\x83\xa0\xa2\xad\xc7\x11\x54\x89\x29\x22\x95\x2a\xd5\xd8\xb1\x29\x95\x22\x36\xc4\x2a\x35\x05\x9b\x0e\x90\xc0\x10\x94\xa9\xe6\xba\x3d\x49\xc4\xe1\x14\x47\x94\xcd\x0e\x02\x98\x4a\x80\x8c\x08\xaf\x83\x26\x22\xbd\xc7\xf2\x71\xb7\x81\x86\x5b\x17\xb0\xa4\x71\x51\x44\xcd\x02\xcb\x18\xc7\x06\xad\x61\xf4\x29\x2c\x1f\xdb\x90\x95\x6a\xb0\x6e\x4b\x46\xe7\x97\xc2\x81\xc1\x2d\x1b\x9f\x4b\x41\x27\xa1\x3e\x05\x35\x1b\x5c\x49\x65\x0b\xf2\xe8\x32\xfe\xb0\x47\x61\xa9\xa2\x9b\x2e\x19\xbf\x9c\x73\xa1\xc6\x1b\xe2\xc2\x56\xd3\xe8\x19\x39\x4c\x00\xd0\x85\x3f\x11\xf1\x44\xc9\x73\x19\x5e\x75\x1d\x5a\x34\x46\xb3\x20\xaa\x0e\xf0\x37\xd3\x8c\x43\x0a\xcd\x14\xa5\x98\x2d\x0c\xa3\xd4\xcc\x05\xcb\x47\xe9\x0b\xb9\x22\x99\xe2\x24\x39\x40\x82\xe4\xd2\x14\x38\x96\x24\x99\x1e\xba\x52\x18\x31\x4a\xf8\x8c\x46\x38\x41\x93\x84\x47\x8f\xd2\x64\xb8\xb1\x99\x61\x52\x99\xe0\x11\x91\x32\x90\xac\x8a\x6c\x76\x9b\x63\x08\x55\x5c\x15\x11\x29\x65\x54\x2a\x1a\x39\x91\xa9\x00\xa5\x30\xb5\xc4\x23\x0c\x26\x61\xc8\xd8\x84\xe1\x6a\x49\x8f\x18\x70\xce\x9c\xd9\xa2\x49\x70\x5d\x5b\xcc\x3d\x17\x24\xde\x76\x80\x76\x00\x21\xe8\x28\x64\xac\xca\x07\x72\xc5\x91\x3a\xb5\x9f\xc1\x31\x5e\x46\x02\xb7\xe5\x13\xe5\x09\xd2\x9f\xb4\x12\xac\x11\xc4\x94\xfb\x10\xf8\x92\xe4\xe2\x23\xc3\xf7\x0c\xd1\x0c\x86\xdc\x82\x63\xb6\x8a\xa6\xf5\x2a\x82\xc8\x03\x75\xba\xaa\x5e\x73\xca\xa2\x24\x8f\x7d\xa5\x46\x2d\x02\x3c\x69\x22\x71\xcb\xa3\xd7\x5e\x0b\x0a\x07\x08\x4b\xf4\x4c\x92\x44\xff\xd7\x44\xc0\x1f\xfa\xc2\x09\x9a\x25\x9b\xe2\x16\xd0\x89\xe3\xd2\x6d\x14\xb5\x77\xe8\x94\x37\x58\xcd\x4d\xce\x7f\xca\x95\x29\x92\x69\xd0\x29\x9d\x7d\xcb\xc0\x19\x4e\x12\x3e\x81\x93\x0e\xc0\x95\x2e\xcf\x35\x48\xab\xcb\xa3\x88\x90\x98\xc4\xe8\xeb\xe0\xe0\x7a\x3c\x8a\x6f\x9a\x61\x14\x4b\x2b\xb2\x07\xa0\x95\x55\xc3\x5a\x2b\x74\x65\xb9\xce\xdb\x11\xba\xa9\x00\xb3\x84\xf5\xdb\x71\x15\xa6\xeb\xa0\xb6\x85\x6f\x03\x74\x59\x99\xc4\xcb\xed\xd0\x9a\x40\x97\xa5\x3e\x77\x00\x74\x59\x99\x67\x4b\xec\x3e\x9f\xbd\x68\xce\xb1\x9e\xd4\x05\xef\x9e\x08\x66\x00\xc2\xcc\xdd\x59\x22\x41\x77\x20\x17\x4d\x84\xb8\x5f\x20\x9e\x95\x6a\x88\x6f\x0b\xe2\x59\x19\xcc\x3e\x83\x78\x56\x86\xba\xbf\x20\x9e\x0d\x03\xed\x00\xe2\x69\x9c\xfb\x63\x4d\xd4\xdd\x98\x02\x24\xb6\x4c\xf2\xe9\x1d\xa4\x7a\x2f\x1d\xe3\xa9\x09\x1c\x30\xd7\x98\xbb\xa3\x2d\xa6\x35\x8c\xd6\xe6\x40\xb6\x85\x43\x55\x9c\x10\xeb\xd2\x9e\xf7\xbe\x19\xf0\x87\x75\xcd\xee\x07\xa1\xb5\x1b\xec\x90\x11\xce\x6c\x4e\x79\x5b\xa9\x99\xfd\xc9\x9e\xdd\x0c\x1f\x15\x30\x08\x4b\x2c\xbf\x13\x82\xd8\x65\xa5\x6a\xc3\x9c\x3f\xdb\xca\x49\x40\x86\x86\x28\x5b\x49\x10\x3a\x1d\x5b\xa5\xad\x6d\xe5\x28\x53\x64\x56\xd5\x69\x8b\x43\x43\x99\xfa\xd3\x1f\x57\x72\x22\x03\xb1\xe8\xd4\xc3\xa0\x76\x82\x77\x76\xd8\x67\x24\x46\xd1\x5c\x6b\x45\x52\xab\x2f\x7a\x3a\xe6\x66\x95\x28\xc5\xd4\x29\x52\xb9\x34\xae\x25\x2a\x47\xac\x84\x49\x7a\x84\x3e\x42\x41\x58\x9c\x66\x5a\xff\xf2\xf3\xa3\x9a\x92\x46\xf9\xb7\xdf\xfe\x89\xa0\x6f\x51\x4a\x30\x2b\xe9\xb0\xa0\x36\xe9\xab\x0f\x30\xfc\xd4\x9c\x8c\x58\xe3\x56\xa0\xe1\x67\x53\x63\xca\xc5\xfb\x9d\xb3\x29\x77\x3a\x31\x14\x3a\xc4\xd1\x1c\xc9\x7c\x62\x2a\xf5\x06\x36\x0c\x27\x48\x5f\xf0\x19\x38\xaa\xe1\x46\x76\x83\x5e\x76\x0a\x5f\x36\x06\xc0\xba\x1b\xbb\xde\xc6\x03\xb8\x47\x0e\x25\x29\x61\x3b\x35\x38\xcd\x0c\xe7\x0b\x0f\xbe\x34\xb8\x2f\x07\xc6\x87\xa0\xf5\x33\x6c\x2d\xfb\x5a\x96\x86\x70\x5e\xf0\x92\xe5\x09\x16\xf6\xe8\x8f\x98\x56\x34\x04\x79\xa2\x3c\x97\xc9\x02\xc5\x9c\x91\x03\xa0\x84\x3c\x9a\x1b\xc7\xaa\xd6\x59\xb0\x2d\x58\xf1\x44\x65\xae\x15\x5a\x68\xcb\xd5\xc7\x90\x0a\x1b\x4c\xaa\x39\x85\x7e\xb4\xfa\x4d\xe0\xab\x30\x4b\x0e\x75\xd3\xa2\x42\xd8\xd8\x0a\xcf\xef\x08\x1b\x5b\xa2\xaa\x1e\x36\xd6\xc3\xc6\xd6\xd7\x65\x1f\x61\x63\x2b\x7b\xde\x0d\x36\xb6\x69\xcb\x37\x80\x8d\x2d\x35\xf3\xc5\xc0\xc6\x56\x56\xf4\x8b\x81\x8d\xad\xcc\xab\x87\x8d\xfd\xf2\x60\x63\xb7\x04\x46\x6d\xe6\xc5\x06\x5f\x49\x51\xb6\x58\x9b\xc8\xbe\x92\xe8\xfc\x5a\x13\x58\xf4\x58\x0e\x6a\xf3\xd7\xd5\xf6\x60\xac\xcd\x4c\x68\x3d\x30\xd6\x46\x55\xbd\x9d\xd5\x6d\x0b\xf0\x04\x8a\xc1\x2b\x83\xb1\x96\x26\xd0\xc7\x57\xae\x1f\x5f\xd9\x48\x7c\xb6\x6f\x3d\x3c\x17\x74\x59\xbd\x90\x3b\xc2\xb1\x96\xf6\xa7\x53\x24\x26\x88\xee\x3b\xa0\xc4\x97\x95\xe6\xef\x4b\x87\x7c\xa5\x2c\x1f\xae\xa2\xb4\xc0\xd0\x5a\xc2\x73\x68\x71\x46\x09\x0f\xfd\xff\x3d\xe5\x6e\x10\x19\x5c\x59\x5e\xef\x57\x31\xb4\xd8\x81\x54\x3b\x53\xa8\xd3\x4a\x77\x93\x28\xeb\x92\x27\xd7\x74\x31\xbb\x41\xdc\x65\x24\x6a\xb1\x31\xd3\x94\xee\xaa\xd9\x55\x17\x99\xc7\xc2\x02\x85\xbc\x96\x17\xaa\xaf\x27\x33\x1c\x23\xe3\x57\xd2\x61\x01\xa8\xc3\x7c\x39\xa3\x52\x89\xd6\xd8\xa6\xda\x08\xb7\x71\x95\x66\x79\xe7\x80\x98\x60\x55\x67\x9b\x7d\x96\x92\x94\x8b\x55\x81\x55\x8d\x5f\xda\x52\x37\x9b\x7c\x4a\xb2\x39\x49\xb5\x24\x33\x5e\xb7\x91\xae\xfb\xed\x93\x86\x6d\xee\x9a\x09\x74\x2c\x11\x41\xe0\x08\xd5\xef\xc6\x06\x91\xb2\xf3\x76\x6f\xbb\xcd\x16\x33\x73\x4d\x87\x90\x03\x53\x5e\x6e\x70\xb3\x2f\x95\xdc\xdd\x40\xdf\x8d\x31\x1d\x3e\xa4\x66\x75\xd4\xc6\x92\x78\x8d\x65\xb8\x53\xc5\x57\xb6\x10\xf4\x1a\xae\xfc\xb2\x77\x5e\x73\xc2\xb0\x0a\xf0\xfa\x01\x1e\x2d\xa8\xa9\xf5\xe5\x81\xc8\x1c\x49\xc4\x61\xa8\x19\x94\x06\x53\x5f\xaf\x12\x95\x38\x8d\x72\x0b\x22\xc9\x45\x6b\x94\x69\x17\x83\x76\xa4\x72\x9c\x80\x26\x11\x56\xaf\xac\x6e\xea\x64\xd1\x90\xf6\xd8\xcd\x63\x42\x99\xfa\xf3\x7f\xac\xb5\x9b\x5a\xb5\xb2\xeb\x06\x15\xb7\x70\x14\x11\x69\x6c\xec\x36\x0a\x19\x4f\xf8\x13\x14\xdb\xda\x66\x57\xf5\x51\xd6\xf3\xd6\x0c\xde\x43\x11\xc7\x05\xa9\x1b\x71\x61\x2e\x78\x3e\x9b\x3b\x1b\x92\x3e\x33\x7a\x6a\x4d\x7b\xf9\x63\xcd\x46\xbe\xf6\x5e\x7e\x97\xd3\x64\x33\x0b\xdd\x5d\xa9\x0c\xd9\xa7\xf3\x7b\x24\xe7\xfe\xb4\x4e\xa0\xd9\xc6\x8d\xad\x0f\xba\x7b\x9f\xf6\x5b\xef\xaf\x81\x6e\x0e\x1c\xfc\xe6\x94\x27\x09\x78\x1a\x24\x49\x9f\x88\x68\xee\x1e\x26\x7c\x4f\xd7\x43\xce\xf3\x03\x80\xaf\x8b\xc4\x88\x4e\xf2\xd7\x8d\x11\x0d\x25\x72\xa3\xaf\x06\x2d\x98\x50\x35\xce\x08\x6b\xb2\xb1\xfd\x54\xaf\x00\xf3\xce\x02\x06\x5d\xf4\xd8\xce\x82\x06\xdd\x92\xbc\x72\xe0\xe0\x8a\x79\xec\x6b\xf0\x60\x85\xd9\xf9\x58\xbe\xe2\x9a\x71\x81\x43\x46\xf1\x19\xe8\x25\x1e\xb1\x41\x29\x9f\xc2\x55\xca\x9e\x2c\x8a\x80\x6c\xa3\x43\x84\xcc\x0c\xea\x6c\x58\xc3\x0a\xb8\xd1\xf4\x5f\xa0\xe9\x18\xf0\x5a\x13\x52\xe8\xc2\x06\x21\x9a\x9c\xc4\x87\x38\x5a\x44\x09\x8d\x02\x9d\x79\x26\x70\x36\x6f\xe2\x78\x6e\xe7\x7b\xd4\x9d\xb7\x42\xdd\x69\x2b\x48\xb5\x4e\xdc\xb6\xa3\x2b\x86\x53\xd2\xa3\x01\x35\xa1\x01\x1d\x78\xbc\x0b\x56\x94\xd6\x7a\x43\x18\x85\xfa\xb9\xeb\x21\x81\xde\x00\x12\x68\x93\xc3\x57\xe0\xfd\x94\x8e\x5d\x0f\x53\xf4\xa1\x13\x4c\x91\xbf\x04\xf7\x0a\x79\xa6\xfd\x3c\xbe\x31\xa2\x49\x7d\x60\x6f\x09\x4b\xd4\x20\x2e\xac\x23\x37\x2d\xc3\x25\x5a\x46\x17\x9d\xd6\xe5\x6d\x51\x82\xd6\x5b\x99\xb5\x00\x80\x1a\xef\xae\x3d\x81\x03\x6a\xdf\x86\x3d\x39\x37\xbb\xcc\x6a\x59\xaf\x76\x68\x98\xd9\xb2\x8e\x82\xb5\x5e\x92\x8b\xa7\x87\xf7\x95\xe8\x52\x14\x59\xdb\x2c\xd9\x65\xe0\x7c\xd0\x44\xa0\x39\x4f\x62\x07\x42\xe1\x57\xcb\x77\xe0\x33\x01\xfc\x02\xb9\xcd\x80\x62\xe7\xa0\x6d\x15\x05\xc1\x96\xa5\xb4\xf8\x4d\x84\xe1\xee\x80\xd1\xec\xc2\x8a\xe0\x39\xc9\x26\xf6\x83\x95\xb2\x88\x2c\x9b\xbf\x97\x8c\xb1\xb4\x42\x60\x35\x6f\x1e\xe6\x4a\xbb\xef\x8a\xc1\x2d\x13\x3d\x02\xe3\xa0\x68\x2a\xf5\x69\xe8\x0c\x9e\x3e\x51\x67\x88\xc0\x61\x8f\x4b\xbd\x74\x6e\x76\x9d\x3c\x75\x55\x62\xd9\x20\x18\xac\x56\xb9\x6d\x7b\x70\xa0\x14\x7f\x1e\x67\x58\xe0\x24\x21\x09\x95\xe9\x8b\x05\x03\x9f\x96\xdd\xb5\xfa\xac\x0a\x6e\x4c\x44\x2c\x4f\x27\x86\x14\xdd\x40\x6c\xb1\x3f\xc5\x91\xc8\x59\x08\x6d\xe6\x37\xc6\x17\x13\xcc\xe1\x5e\x00\xab\x52\x34\x87\xaa\xad\x53\x4c\x05\x23\xb2\xb5\x46\x26\x89\x72\x41\xd5\x62\x6c\x4b\x8e\x76\x3f\x70\x77\xf6\xcb\x53\xfb\xe1\x72\x0f\xb7\xcb\xea\x77\xfd\xf9\x12\xa7\x19\x11\x50\x26\xc8\x15\xbc\x09\xca\xaa\x5a\xd4\x06\xe2\x6b\x0d\x41\xf8\x73\xed\xda\x6e\x0b\x1c\xc6\xcf\xe3\x20\xa3\x6a\x1c\x55\x89\x63\xd5\x61\x6d\xc2\x9d\x5a\x36\xc9\x17\x46\x5e\x6a\xf1\x22\xbf\x40\x95\x11\x9b\x36\x61\x9a\xd6\x03\x0e\x5c\xc1\x60\xaf\x2c\x36\x26\x48\x79\xb7\x4a\x55\xcb\x38\x2d\xd6\x4f\x53\xf0\xd1\x92\xc1\x0e\x82\xaf\x3a\x8c\x38\xe8\x64\x47\xc3\xd6\x07\x5d\x88\x3c\x53\x74\x52\x87\xb6\x51\xbb\x2b\x21\x3a\x48\x20\xcd\xda\xb9\x19\x4a\xdd\x9a\xba\xa2\x25\x4e\x6c\x67\xa7\xe5\x7f\x8b\x23\xe6\x10\x82\x0c\xc2\x52\x98\xc7\x77\x9d\x52\xa5\x5c\xa2\x80\x31\x40\x6b\xea\x2c\xdb\x66\xbf\x72\xe1\x1e\x18\x2a\xbd\x1a\x13\xd1\xd1\x88\x0d\x24\x7a\x26\x88\x11\x0b\x21\xd1\x50\xc3\xd5\x5b\xb5\xa1\xf6\xd3\x84\xe8\x9e\x7c\x6c\x8a\x16\x1e\xa8\x92\xbe\xfc\x98\xe9\x63\x8a\x13\x49\x0e\x74\xc3\x50\xb5\x54\x71\x08\xfe\xc4\xe8\x59\xe0\x2c\x23\x62\xc4\x6c\x16\x07\x38\x5c\x38\x4f\x4c\xfb\x6d\x21\xae\x76\x0d\xc8\x38\xc2\xd1\xfc\x95\xf6\x08\x43\x32\x4e\x34\x27\xb1\xcb\x17\x2e\x6f\x8f\x9b\xb7\x31\x58\xaf\xb1\x59\xe7\x53\x57\x3e\xeb\xc0\x76\x92\x44\x9a\xa3\xf8\x32\xd3\x19\x11\x7a\xd4\x9a\x86\x9f\x08\x43\x74\xea\xc6\x61\x63\x77\xd0\x33\x78\xa6\x34\xe9\x3f\x61\x9a\x98\x04\x7c\xd7\xb5\x13\x02\x8d\xf9\x7d\xc4\x8c\xbb\x9b\x45\xa5\x0c\x55\xca\xa8\x9c\x6b\x4e\x9d\x83\x4f\x12\xd4\x8c\xb6\xc4\x19\xf6\xb4\xce\x69\x1e\xea\xd7\x97\x73\xd0\x27\x2a\x38\x4b\x21\x49\xc6\xe2\x32\xb9\xe5\x93\x44\xf9\xe3\xd1\x98\xe2\xb8\x52\x22\x8e\x63\x59\x36\x7e\x1a\xb5\x92\xfe\x5a\x32\xbb\x1c\x96\xb2\x02\xa3\x00\x56\x08\x82\x38\x5d\x65\xb1\x65\xf2\x6f\x9f\xda\x50\x4f\x6d\x68\x5e\x9b\x7d\x4c\x6f\xf0\x87\x78\xdd\x14\x87\xb6\xed\xdf\x85\x64\xbb\xc3\x54\x87\x37\xce\x09\x78\x99\x74\x80\xb7\xcd\xdf\x78\x89\xd4\x8d\x3e\xc1\xe1\x0d\x13\x1c\x3a\x5b\x6a\xcb\xb1\xd9\xed\xc7\x76\xad\xe4\x80\x15\x60\x4e\x4d\xbd\x5c\x12\x25\x68\x24\x77\xc1\x1f\x64\x86\x3b\x46\xb5\x81\x16\x98\xad\x90\x9a\xf4\x0b\xde\x09\x09\x71\x62\xbe\xce\xdf\x44\x10\xfc\x18\xf3\xe7\x9a\xad\x4e\x86\x68\x1a\x97\x5c\x8b\x3d\x82\x44\x54\x92\x52\x24\x0b\x95\x88\x11\x69\x8d\x9d\x78\xc4\xe6\x94\x08\x2c\xa2\x39\x64\x37\x16\x1b\x63\xb2\x64\x0d\xa0\x91\x89\x65\x08\xbd\x4d\x6b\x6c\x7a\x87\x75\xaf\x5a\x98\x3c\x3e\x9d\xdd\x73\x3d\x92\xd4\x7c\xe2\x85\x19\x2b\x65\x84\x26\xb9\x4e\xdb\xbf\x6d\x20\xbe\x5f\xec\x17\x0d\xc6\xf7\xc1\x44\xc1\x17\x1d\x03\xf2\x0b\x6a\xe8\x83\xf2\x5f\x28\x28\xbf\x61\x89\xd7\x0b\xcc\xdf\xc8\xe4\xf7\xfa\x31\xc3\xae\xe7\xd7\x88\x1b\x5e\x15\xb4\x95\x4f\xc6\x2f\x7e\xf4\x1a\xe7\xdc\xf5\x04\xfe\xe4\x89\xc2\x48\xc4\x42\xd3\xd9\x84\xc4\x31\x70\x5a\xc5\x6d\xa5\xe8\x82\x76\x9c\x79\x40\xdf\xbd\x58\x6a\x62\xc7\x09\x67\x33\x49\x63\x03\xb6\x92\x61\xa8\xd8\x1a\x1a\x2f\x00\x5c\x00\xf6\x37\x49\x88\x70\x5e\x09\x81\xbe\x96\x94\x59\x34\x45\xff\x5b\xcc\x89\x64\x5f\x29\x63\x2c\xc0\x6c\x81\x1e\x19\x7f\x4e\x48\x3c\x83\x1d\xaa\x0e\xe6\x10\x51\x72\x80\xa8\xf2\x9f\x09\x40\x23\xe0\xb9\x1a\xe9\xb1\x43\xac\x99\xd1\x00\x88\xfd\x36\xa8\x89\xee\x9b\xf9\xe6\x08\xa1\x73\x86\xa6\x38\x52\x07\x48\xe6\x93\xa2\xfd\x98\x9b\x22\xd7\x5a\xfb\x0e\x26\x5e\x34\xd2\xc7\x8c\x37\x74\xde\x7c\x36\x1c\x77\xd0\xe4\x3a\x48\x28\xde\x2a\xb6\xee\x09\x6f\x03\x31\x7a\x99\x4b\x1b\x84\x81\x38\xf3\x47\xdf\xc2\x2b\x79\x8c\x68\xc0\xfb\x34\x78\xcb\x8c\xc7\xad\xb6\xce\xca\x54\xd6\x1d\x4b\x11\x08\x69\x05\x25\xeb\xa8\x82\x76\xcd\x72\x6b\xa9\x49\x2a\x41\x70\x6a\x9d\x03\xfa\xaa\x01\xb1\xc6\x84\x41\xea\xd1\x53\x61\x24\xcc\x75\xb6\xf8\x82\xb2\x47\xbd\xbb\x05\x2a\x36\xd4\x97\x87\x9e\x9b\x36\x2d\xd3\x37\x1e\x39\xe5\xcc\x38\x08\xb7\x92\x3b\xe9\x8c\xe1\x64\x4d\x1b\x47\x6d\xe5\xea\x3e\x3d\x27\x67\x59\x71\x41\x4b\x11\xc6\xd8\x87\x4c\x8f\x6b\xd9\x90\x2a\xf3\x0d\xe5\x3d\x8c\x62\x92\x11\x16\x13\x16\x2d\x80\x44\x18\x20\xe7\x08\x86\x13\x84\xe1\x3b\x9c\x1c\xa1\x33\x93\x5f\xe3\x25\x3c\x7b\xad\xc3\x85\x9e\x62\x46\xa7\x5a\x4f\x00\x23\xac\x1d\xe5\x88\x99\x61\x3a\x1f\x48\x50\xb4\xdf\xaf\x58\xd3\xce\xe8\x1b\xe4\x6a\x4b\x54\x62\x56\xfe\x1e\x2d\xbf\x70\xa0\xb7\x65\xbb\xa3\x9b\x73\x35\x08\x64\x3e\x39\x84\x7f\x97\x12\xce\x1c\x50\x4f\x81\x22\x43\x12\x02\xe6\x40\xeb\xf1\x82\x8b\xb1\x0d\x58\x6e\x17\x7e\xbb\x15\x79\x1c\x41\x1f\x25\xa5\x26\xa5\x8c\xa6\x79\x1a\x38\xef\x4c\xc5\x82\xc8\xda\x2f\x4d\x26\x46\xa6\xf5\x80\xc8\x81\x97\x23\x7d\xb9\xb2\x05\x9a\xd1\x27\xc2\x46\x2c\xe3\x94\xa9\x23\x74\xc5\x15\x09\x4a\x44\x18\xe8\x28\x9e\x29\x9a\x1a\xb4\x53\x41\xf4\x39\x30\xa0\xd8\x00\x34\x39\xc7\xea\x00\xc5\x39\x1c\x55\x46\x94\x66\x1d\xfa\xc6\x55\xb0\x33\x10\x1f\x2d\x46\xcc\xdc\x74\x53\x4c\x93\x5c\x10\x2b\xb3\x62\x93\x17\x53\x0c\xb9\x18\x99\x45\x42\x0b\x26\x91\xd2\xd9\x5c\xe9\x2d\xd2\x32\x9e\xf5\x37\xce\x35\x37\xe2\x23\x36\x21\x08\xa3\x8c\x4b\xaa\xe8\x93\xf7\x5f\xd2\x29\xc2\x52\x82\x05\xe5\x08\x9d\x95\xec\xff\x54\x82\xea\xdd\x16\x57\x4b\xd9\xd8\xda\x9e\xdb\xf3\x71\xb6\xde\xc8\x52\x2f\x76\x95\xf1\x44\xf2\x24\x57\xa1\x0b\xb6\x79\x6f\x0b\xd3\xb8\x03\xee\x07\x03\x31\x9f\x8e\x98\xa3\x6b\x79\x84\x06\x12\x49\xae\x77\x49\x9a\xad\x8c\x04\x55\x44\x50\x83\xe2\x44\x94\xd9\x04\x7f\x4e\xfd\x19\x48\xb1\x78\xd4\x22\x54\x68\x81\x37\x98\xa2\x25\x6b\xc7\xc4\x48\x48\x00\x6b\x15\x6e\x07\x98\xfe\x11\xe3\xec\x90\x91\x19\x5e\xb5\x23\x23\x56\xda\x12\xf4\x35\x9d\x16\x0a\x69\x9b\xcf\x31\x58\xbb\x31\x44\x3e\xb5\xed\x92\xe9\xb8\x6d\x93\xa6\x09\xc7\x2b\xdc\xc6\xd3\xe2\xd0\xa3\xbf\xf3\x89\x19\xa3\xd6\xfb\xb9\x02\x29\x50\xab\x57\x53\x2e\xc8\x1c\xb3\xf8\xc0\x6d\x56\x79\x6c\x70\x33\x5a\x53\x9b\x53\xc6\x40\x12\x74\x20\xc2\xc4\x60\x31\x61\x16\xec\x85\x55\xdc\xec\x56\x14\xfb\xb0\xd6\x5d\xe1\x5b\x83\xda\x27\xc6\x00\x61\x58\xde\x22\xb3\x47\x5c\xd2\x34\x4b\x8a\x9c\xa6\xc0\x36\x3a\xd5\x22\x96\xe3\x91\xfc\x09\x4c\x57\x4e\x6b\x83\x5b\xdd\xee\x9c\xa6\xb3\x86\x91\x7b\x46\x0a\xb7\x86\xb3\x79\x99\x32\x98\x01\x0b\xfb\x5a\x12\xfd\x4f\x45\x0a\xb5\xcf\x08\xeb\x23\xe6\x44\x90\x6f\x80\xcb\xd8\x66\x03\xe3\x99\x16\xa1\x0d\xcc\xab\x5d\x3f\x14\x19\x27\x77\xe9\x9c\xd8\xc3\xe0\x5e\x6d\xb8\xa8\xbe\xa3\x0c\x97\x32\x6f\x37\x10\xfc\x92\x7c\xad\xe4\xaa\xc0\xed\xb7\x68\xab\x69\xa2\xf0\xaa\x32\x23\x6b\x50\x82\xd9\x67\x82\x74\x77\x96\x9a\x5d\xc5\x1b\x0c\x11\x01\x73\x92\x64\x28\xa6\x53\x30\x4b\x29\x60\xdf\x1e\x58\xcc\x60\xc1\xeb\xc3\x9e\xe6\xcc\x80\xc4\x19\x8f\xc8\xb3\xc5\xdb\xb6\x57\x63\xd1\xf8\xd1\x88\x9d\xab\xaf\xa4\x16\xd1\x39\x9b\xe9\x8b\x26\x7e\xa2\xb2\x28\x72\x12\x71\x26\xf3\x94\x08\xdb\x85\xbe\x91\x35\x45\xda\x02\x01\xd8\xc9\x50\x7a\x6c\x7a\xef\x9f\x70\x42\x63\x57\x88\x47\xff\x68\xce\x9c\x1e\xa5\x74\x1e\xc5\x86\x90\x30\xbb\xb9\xb1\x5e\xab\x37\x13\xeb\x7f\x0c\x25\x77\x94\x16\x42\x3e\xb6\xb6\xfa\xe3\xaa\x88\x6f\x57\x7d\x89\x78\x3f\xa9\x4d\x0a\x2d\x17\x8c\xec\x2a\x9c\xad\x42\x31\x74\x88\xba\xb9\x09\x01\xd6\xfd\x38\xa3\x8f\x19\xdc\x5a\xec\xa7\x32\x41\x3b\x6a\xc3\x59\x42\xf1\x9e\x50\x90\x0d\xa4\xc2\x5a\xbc\x30\xd7\x01\x17\x56\xc3\xb1\x77\x4e\xfb\xd6\x9e\x6d\x59\x26\x42\x46\x38\xa9\xef\xf0\x12\x7b\xb3\x79\x7f\xb9\x12\x60\x8f\x9b\x69\x7b\x69\xd2\x6f\xc4\x93\x64\x9d\x12\x26\x95\x99\x9f\x16\x9f\x2f\x1f\x51\xd1\x8f\xde\x00\xb7\x17\x70\x6a\xcc\xe5\x8d\x13\x6b\x4a\x91\xca\xee\x52\xf8\x92\x51\xc3\x16\x96\xb5\x8e\x18\x9f\x42\x91\x9b\xa4\x2d\xaa\x2b\x13\x3c\xa5\xeb\xa0\x2c\x9b\x40\xa7\x5b\x67\x17\x5f\x61\x65\x70\xd6\x73\x10\x4d\x0d\x79\xd9\x1e\x21\x5f\x0f\x5b\x71\x73\xc9\x19\x4a\x71\xb6\xd1\x82\xaf\xf2\x0a\x0d\x50\x6a\x5c\x72\x76\xf5\x00\x6f\x91\x40\xbd\x18\x58\xe4\x67\xbc\x28\x52\xa3\xdb\xf0\x73\xd9\x5a\xe4\xf0\xa0\x5f\x3f\x67\x53\xbe\xc6\xe1\x2c\x52\x99\xed\xe9\xc3\x8e\x66\x83\xf3\xe7\xbd\x14\x66\xf7\xcd\x9a\x76\x39\x8f\xa7\x4d\x44\xbd\xf6\xc9\x74\x2b\xf8\x92\x36\xca\x90\x89\x84\xe6\xc9\x75\xee\xd6\xf2\xd1\x0a\x5a\x44\x30\x9c\xe5\x4b\x75\x59\xa2\xc3\x9d\xaf\x51\xa5\x1d\x64\x4c\xe1\x2e\x98\xfa\xa6\xb9\xd5\x57\x58\x33\x7b\x48\x3a\x2d\xd6\x96\xd8\x0d\xeb\xe1\x00\xbb\x1e\x3d\xea\x6f\xf3\x09\x5d\x59\xe4\xa0\xfb\x62\x00\x37\x93\xd6\xce\x55\x44\x66\xda\x14\xb5\x29\x4d\xb4\x88\x7d\xde\x60\xe0\x74\x09\x62\x3e\xa0\xca\x84\xca\x3b\xe9\x29\x17\x34\x28\x0c\xea\x64\x24\x44\xa1\x40\x49\xe8\xe4\x09\x14\x7a\x30\x2d\xce\xf9\xb3\x89\x4e\x17\x54\xf3\x2c\x23\xac\x2a\x30\xf7\x68\x5e\x40\xad\xb5\xc4\x18\x9b\xfc\x07\xdc\xc4\x0c\x62\x5b\xfb\xb8\x18\x55\xcb\x96\xee\xa2\xc4\x53\xf7\xfc\x3b\xd7\xeb\xbd\xfe\xa2\xbe\x37\x8d\x23\xbc\x2f\xb7\xbe\xf6\xe8\xbc\x94\xbf\x7e\xc0\xd4\x47\xf8\xd4\x29\x3d\x18\x4d\x05\x01\x07\x7f\xea\x31\x35\x0c\xa8\x2e\xe7\x70\xdf\xdd\x9d\xfd\x70\xfc\x70\x8e\x88\x8a\x50\x42\x1f\xc9\x88\x45\xf2\xe9\x40\x8b\xc7\xff\xc8\x89\xd2\x3f\xb7\x78\x04\x68\x4a\x98\x04\x4e\x40\x55\x0d\x7b\xa8\x79\x21\xdd\xc2\xe8\xff\x9e\x95\xbf\x5f\x42\xf2\xb5\xf4\x61\xa0\x5d\x57\xef\x06\xc8\x14\x4a\x7a\x98\xa5\x95\x0d\x14\x63\x6c\x91\xc3\xa6\x6a\x98\x1b\xa4\x0b\xb1\xbf\xe7\x6c\x4d\xa1\xeb\xb4\xf8\x28\x18\x45\x8b\x4c\x97\x66\x18\xb0\xae\xd7\xcb\x43\x32\xdf\x34\xb6\xbe\x8a\x89\x14\x69\xd9\xce\xb6\x5c\x14\x0e\x45\x4a\x10\x02\x2c\xc4\xd3\x93\xbd\xeb\x2d\x12\x87\x9f\x58\xf0\xd1\xd1\x88\x5d\x3a\x8f\x73\xf1\xab\x2c\xf4\xf0\x74\x12\x40\x80\x97\x5b\x81\x66\x63\x2a\xfd\x0f\x50\xd0\x45\xe6\x89\x32\x15\xed\xa6\x94\xe1\xc4\x0f\xd4\x3c\x69\xe2\x12\x02\xb3\x68\xbe\xad\x09\x99\x4e\xc7\x24\x59\x47\x12\x3d\x9f\x0e\x13\xa9\xe9\x3b\x7a\x6c\x39\x9d\x9b\xd4\x6c\x2c\x26\x63\x2b\xd1\x9a\xba\x4f\xa8\x30\x41\xe3\xc4\x54\x94\x23\x08\x7c\x94\xd5\xec\x31\x03\x10\xa1\x77\xd1\x4a\xea\xc6\x45\x69\xd2\x36\x7c\x48\x36\xf4\x82\xb0\x1a\x31\x91\x33\x28\x36\xe1\x23\x16\x30\x2a\xf0\xc2\x23\xe7\x3f\xb0\xde\x9c\x99\x66\x13\x06\x8e\xdb\xbc\xac\xf5\x33\x9e\x4b\xb0\xd5\xa4\x44\xe9\x0b\xea\x6b\xa8\x03\x6b\x42\x86\x0e\x50\x26\x68\x0a\xe6\x56\xf9\x4d\xc3\xd6\x9d\x62\x85\x13\x3e\x1b\x08\x45\xa7\x38\x52\xf7\x78\x2b\x0d\x1c\xdb\x66\x36\x0d\x3f\x75\xc3\x40\xe7\x67\x7a\xf1\x67\x84\x11\x01\x13\xd5\x3a\x79\xf3\x11\x86\x27\x1b\x71\x6e\xb0\xb2\x59\xc3\xa8\xf4\x16\x0b\x9c\x2b\x9e\x6a\xfd\x16\x27\xc9\xe2\xc0\x58\x64\x09\x9a\x63\x39\x77\x1b\x6d\x8c\x69\x5d\xee\x26\xbb\xb8\xa7\x38\x9a\x93\x3b\xa8\x8a\xdc\xb4\xb8\x95\x51\x7e\x20\x2c\x4f\x3f\x9c\xa0\xff\x29\xe6\x78\x3a\x38\xfd\x7e\x38\x3e\x3b\xbf\x1b\x7c\x77\x31\x3c\x0b\xe6\x63\x9f\x5c\x9e\xdf\xdd\xd5\x7f\xfd\xfe\xfc\xbe\xfe\xe3\xcd\xf5\xcd\xc3\xc5\xe0\xbe\xa9\x95\x8b\xeb\xeb\x1f\x1e\x6e\xc6\x1f\x07\xe7\x17\x0f\xb7\xc3\x86\x4f\x1f\xee\xdb\x1f\xde\xfd\x70\x7e\x73\x33\x3c\x73\xab\xf2\xb7\xe0\x74\x81\xf5\x18\x52\x2f\x9a\xa7\x51\x3d\x80\x87\xa8\xfc\xe2\x09\x7a\xa8\x96\x3e\xb0\xb1\xc8\x06\xc7\xe2\x19\x4b\xcd\xc3\x20\x14\x7e\xc4\x90\xfb\x5c\x2f\x4a\xdb\xa7\x26\x5c\x27\x9a\x13\x94\x70\xfe\x98\x67\x96\xb5\x99\xf8\x30\xc6\x8d\xe1\x87\xc8\xa0\xb5\xef\xcf\xef\x4f\xea\x25\x18\x7c\x63\x01\x62\x96\x3b\x03\x30\x2e\xec\xd8\x29\xd8\x52\x1c\x34\x7f\x61\xbd\x0d\x7a\xf0\x3b\xb3\xac\x1f\xd3\x1a\x66\xaa\xd2\x4d\x1c\xdb\xa2\xbf\x6e\x62\x41\xc3\xe5\x7d\x5d\xb6\x9a\x7e\x39\x4c\xed\x29\x34\x21\x11\xce\x4d\x50\x93\xbe\xa7\x84\xe0\x22\x1c\x70\x41\x0f\xbb\x6b\xd4\xd2\x51\x63\x83\x95\x3d\xd3\x13\x97\x8f\x34\xcb\x48\xfc\xa1\x2e\xbf\x94\xab\xc3\xda\x9a\xe4\x7c\x8a\x82\x33\xa9\xf5\x7a\xd0\xf9\x5d\xe1\x94\xf9\xc2\x7b\xd2\x20\x70\xa3\x08\x65\x01\x20\x67\x7d\x27\xf8\xc2\x16\x14\x5c\x63\x58\xa1\x67\x02\x29\xd5\xb9\xad\x1c\x65\x74\x6f\x7d\xb6\xa1\x3b\x63\xd3\x76\x75\xe0\x4a\xa9\xd6\xad\xcc\x78\x17\x02\xb7\xfe\x5e\x92\x26\x46\xbc\x45\x5e\xec\x99\x69\x14\xb8\xb3\x8b\x79\x83\x11\xb7\x04\x37\xb8\xdb\xa0\xc1\x42\xbe\x44\xbe\xaa\xdf\x48\x2b\x2e\x0b\xcd\xb6\xbb\x8c\xc7\x61\x81\x94\x00\xae\xbb\x0f\xac\x04\x82\xbc\x72\xad\xee\x79\x8c\x17\x9a\x38\x20\xd6\x58\xe6\x59\xc6\x85\x42\x2d\x6d\x18\x37\xbe\x19\x1f\xdc\x39\x76\x1e\x9e\xc7\x41\x23\x5a\xc2\x90\x0d\xb5\x34\xba\xc1\x23\xd8\x75\x2d\x18\x47\x18\x20\x0b\x8a\xa0\xaf\x7b\x94\x96\x54\xea\x12\x85\x36\x09\xbf\xdb\x64\x18\x64\xfa\x82\xef\x5a\x86\xaf\xa9\xf7\x6b\xd7\x42\xe3\x96\x27\x64\xaa\xc6\x8d\x5e\x9f\x25\x06\x4e\xdd\x22\x6b\x43\x94\xa1\xb3\xf9\x0e\x5a\xec\xae\x25\xfc\xd1\x06\xf6\x68\xd5\x20\xb0\x10\x08\xce\x95\x91\x4f\x0b\x1d\x06\xb9\xd5\x04\xf3\x82\xed\xd4\xe6\x82\x79\x21\x50\xcb\xfc\xc6\x1f\xea\xd3\xa6\x8e\x46\x6c\x08\x01\x14\x85\x22\xe2\x52\xc4\x40\x0b\x58\x29\xff\x97\x8a\x8e\xbe\x6a\xb4\x66\x3b\xc2\x6b\x41\xf7\xb6\x5e\x7e\xb2\x40\x45\x61\xd9\xd2\x77\x5d\x4e\x8f\xb1\x7a\x3b\x11\xd0\x4c\xd8\x96\x71\x57\x24\xb3\x96\x79\x33\xcf\x22\xd2\x07\xe2\xc3\x74\x57\x47\xe8\x27\x67\xf9\x81\xc0\xd7\xa2\x26\xb3\x8d\xdd\x48\xf0\xc2\x81\x42\x36\x2d\xec\x2e\x70\x16\x77\x1d\x0a\xbb\x7c\x81\x3d\xa0\x53\xc3\x2a\x97\x14\x70\xc6\x8c\x45\x76\x8d\xb4\x8f\x53\xff\xd1\x1d\x59\x1e\x15\xf0\x11\xca\x70\xda\xc8\x2a\x10\x3a\x58\xb2\xf8\x5f\x66\xb3\x4c\x26\xaa\x2b\xac\x65\xcb\x22\x5a\x0f\xaa\x3e\x3f\xe0\x01\x34\x89\xaa\x68\x4a\x93\x04\xe4\x80\x23\x34\x80\xf2\xc0\x90\xc8\xa9\xaf\x42\x17\x60\x41\x67\x8c\xaf\xca\x31\x6b\x21\xa6\x28\x20\xa6\xbb\x76\x62\x92\x40\x4d\x45\x1e\xff\x6e\x28\x6a\x07\x98\x2e\x9a\xb7\xe0\x3a\x22\x76\x77\x24\x97\x35\x94\xf7\xb7\x88\x8e\xae\x0d\x37\xf8\xf0\x5f\xcd\x43\xff\x94\x63\x81\x99\x82\x98\x5f\x2b\xba\x0b\x12\xa4\x1e\x91\xcf\x10\x9f\xc1\x8c\x21\x18\x7e\x0a\x37\xd7\xb9\xfc\x21\xdc\x0b\xd1\xf8\x00\xd1\x23\x72\x04\xd5\xd9\x84\x96\x25\x26\xc5\x9b\x73\x2d\x39\x8c\x58\x2d\x96\xf1\x08\x0d\x12\xc9\xed\x17\x84\x45\x09\x94\xe3\x0e\xc2\x93\x3d\xe5\x5b\xb7\xd2\x64\x01\x0a\x0a\x6c\x65\xd1\x3c\xb7\x0f\x82\x0f\xa1\xc8\x18\xf8\xc4\x13\x38\xe9\xc5\xef\xbf\xe7\x99\xf1\x56\xb4\xc5\x49\xbc\x60\x39\x87\xda\x35\xf4\x62\x9b\x64\x4a\x05\x2e\xdb\x20\x78\x03\x36\xa6\x88\x31\x0d\x10\x58\xd0\xd7\x58\xa1\x84\x60\xa9\xd0\x1f\xbe\x59\x2b\x36\xc4\x4d\xb0\xe0\xae\xf6\xf8\x16\x89\x62\x2e\xd5\x20\x14\xee\x7c\xc7\x50\x3b\x0e\x0b\x85\x30\x62\xe4\x39\x8c\x2c\xe5\x10\x0c\xec\x0a\xc2\x91\x20\xb7\xd5\xc4\x93\x99\xcc\x7c\xc8\xd6\x30\x2a\x53\x0b\x1f\x71\x70\xc7\xd6\x7d\x6a\x87\xd5\x40\x59\x56\x79\xb2\x21\x9e\x00\xc9\x55\x04\xfd\xcf\xb1\x1a\x31\xcb\x59\x5d\xd8\x48\x90\xe6\x35\x48\x92\x72\xa0\x3d\x86\x5c\x12\xa6\x27\x0c\xf5\xd9\x8f\xfc\x02\x5d\x81\xfa\xe5\xa3\x9d\x4b\x76\xba\xe2\xb0\x98\x78\x3c\x8f\x77\x14\xb6\xdd\x28\xed\x34\xd9\x97\x5f\x51\x08\x6e\xe8\xfe\xc2\x14\xca\xef\x20\x0c\x93\xa6\x21\xaf\x38\x58\x75\x9b\xfe\x12\xd9\x78\xd7\x1d\x74\x17\x95\x9b\xed\xe3\x70\xcd\x3e\xf3\x06\x73\x7b\xcb\xe6\x06\xb2\xc5\x36\x0a\xb8\x0f\xbb\x7f\x2d\x8f\x6f\x69\xe8\xe7\x31\x24\xfd\xad\xe6\x82\x45\x12\x9d\x63\x1d\x26\xf6\x3a\x0e\x72\x7a\x82\x14\x02\x08\xfe\x73\x8c\xcf\xbe\xd9\xe2\x79\xcd\xde\xf7\xf4\x0f\x8a\xf9\xbb\xa9\xf8\x20\xb8\xfa\xc4\xdb\x85\xbd\x41\xfc\x77\x1c\x41\xa4\x3f\xf4\xe4\x72\x0c\xea\x80\x4c\x0e\xc6\x1a\x83\x31\xbf\x51\x3c\xcc\x04\x8f\x88\x94\x47\x68\x08\x17\x8d\xfd\x27\xc2\x53\xe7\x90\x08\x5e\x1e\x31\xad\x99\x38\xfc\x96\xa0\xfd\x32\x89\x37\x9d\x00\x03\x06\xb7\x95\x2f\x27\x5d\x5d\xa3\xa4\x4d\x9b\x70\x58\x74\xd0\x06\x94\x35\x40\xc3\xd9\x09\x8a\x79\xf4\x48\xc4\xb1\x20\x31\x95\x27\xe0\x5b\x57\xad\x4e\xbd\x54\x6b\xdb\x5b\x4b\x1a\x6d\x81\x02\x2b\x92\xe2\x4e\x4d\xff\x36\xc0\xda\x85\xd7\x1e\x20\x3a\x05\x75\xc2\xe5\x64\x98\x20\x64\x07\x77\x43\x98\x12\x0b\x88\xeb\xf7\xa6\xac\xca\x42\x38\x4d\x43\x0b\x6d\x6d\xd9\x44\x62\x17\x31\x38\x1b\x4e\xfb\x7e\x4e\x24\x71\x01\x07\x66\x52\x8a\xdb\x58\x66\xc3\x2e\x32\xac\xe6\x12\x52\x57\xcb\x6b\x60\x95\x2e\xf8\x54\xaf\x10\xce\x20\x5e\xc1\x58\x29\x8a\x8f\x7c\x82\xa5\x54\x34\x49\x46\x8c\x11\x12\x4b\x04\x59\xa6\x5f\x35\x66\xc8\xeb\x4f\x0f\x10\x8e\x63\xf4\xbf\xbf\xfe\x78\xf1\xf3\xfd\x70\x7c\x7e\x05\x46\xeb\xf3\x8b\xe1\x37\x07\xfe\xc7\xeb\x87\x7b\xff\xab\xb1\xb0\x3c\x11\x81\x52\xfc\x08\x2a\x1e\x93\xc4\x26\x4f\x90\x11\x0b\x47\xea\xb0\x03\xf4\x13\x49\x5c\xa4\xab\x15\x53\x3c\x84\xa2\xdd\xc3\xd6\x8a\xc5\xc6\xe6\xb7\x86\xf2\x7b\xeb\x3f\x59\x4e\x83\x8e\x78\x7c\x17\x4e\x0c\x84\x1c\x19\x2c\x83\x64\x72\xab\xfb\x16\x04\x47\xd8\x8c\xb2\xb6\x78\x3c\xc2\x9e\x5e\x52\x88\xff\x81\x2c\x7e\xd4\xea\xf5\x0d\xa6\xa2\x33\xed\x35\xa3\x01\xb9\x13\xa3\xf5\x74\x2c\xab\x87\x4a\x1a\x59\xd8\x64\xdb\xb4\xc6\x7c\x36\x01\xc1\xbd\xf9\x74\x2d\xbc\x14\xf9\xac\x84\x43\xa9\xf0\xf9\x1c\x0e\xca\xc9\x5f\x34\x05\x0d\x8e\xd8\xfd\xf5\xd9\xf5\x09\x22\x09\x9e\x70\x08\xe5\xb7\x21\x41\xae\x09\xbb\x60\x11\x4f\x83\x86\x4a\x08\x25\x07\x28\x2b\x10\x4a\x42\x23\xda\x91\x69\x63\x05\x52\x49\xc6\x45\x1d\xdf\x63\xb7\x2a\xa0\x9d\xec\x0d\x17\x5d\xae\x7f\xfd\x1a\x2c\x1d\xcf\xb4\x22\x57\xe1\xbc\xf6\x6e\x9e\x12\x6c\x6a\xe9\x1b\xb7\x90\xb5\xe5\xdb\x00\xd6\x24\x29\xd5\x53\xd4\x07\x47\x1e\x59\x17\x7c\xf1\x26\x67\xe8\x87\xbf\x48\x34\xc9\xd5\x88\x95\xdb\xe0\x0c\x0d\x7e\xba\x43\xdf\x61\x15\xcd\xbf\x19\xb1\x6b\xad\x66\xfe\xf0\x97\x16\x28\xa5\xb5\xd1\x09\xf5\x9a\x9c\x61\x85\x2f\x38\x8e\x29\x9b\x35\x41\x13\x16\xf5\x63\x86\xf7\x83\x13\x74\x6d\x75\xf8\x22\x13\xc4\xa7\x04\x07\x0d\x01\x43\x86\x89\x38\x2e\x02\xac\x9c\x95\xe1\xdb\x8c\x66\x06\x17\xd6\x88\xdd\x1b\x4c\x46\xcd\x55\xa9\x42\x19\xb7\x35\x8c\xb4\x56\x66\xd0\x2a\xb1\xcb\x90\x22\xc9\x02\xe9\xd5\x01\x32\xf6\x9b\x61\xe5\x31\x90\x67\xea\xcc\x7e\xc4\x40\x41\xf7\xb9\x29\x09\x8f\x70\x02\x31\x79\x87\x81\x4d\x4f\xab\xed\x3c\x87\xfc\x70\x53\xf4\x7c\x51\x0e\x9d\xf5\x90\x05\x5e\x28\x0b\x37\x0a\x0c\x00\xb0\x8f\xd6\x1b\x9b\x72\xcd\x71\x0c\x16\x1b\x18\xdf\x12\xb3\x3a\xfa\x43\x8f\xcd\x66\x96\x45\x3f\xf5\x69\x5b\x3c\x67\x0e\x8b\x24\x02\xf3\x3d\x5b\x40\xf8\x36\x14\x1d\xe1\x10\xfa\x51\x70\x67\x4b\x94\xb5\x5d\xf4\x77\x62\xf0\xd9\x88\x99\x48\xc1\xd2\xbe\x84\xe8\x3d\x41\xef\x9c\x41\x20\x63\x3d\x57\x2c\xcf\x6c\x60\xa3\x95\xf5\x33\x41\x0e\x7d\x06\x54\x5c\x5a\x53\x7d\xc3\x1e\xa1\xdb\x50\xbd\x8e\x79\x94\xa7\x0e\x59\x19\xb2\xa7\x8a\xb2\xf2\x25\x89\xc7\x5c\xec\xab\x28\x1e\x50\x5a\x14\x81\xf4\xf1\xce\xfa\xb1\x21\x98\x41\xf8\x69\x5d\x52\x6f\x17\x7c\x81\x77\x6c\x17\xb5\x66\x1a\x1a\x67\xe5\x96\x4a\xad\x6d\x9d\x97\x78\x55\xa0\xbf\x72\x01\xc2\x16\xf9\x9c\x71\x30\x72\x9b\xf4\x2c\x1e\x7f\x25\xd1\xf9\x8d\x96\x80\xb4\xc6\xeb\xcf\x60\x2e\x95\x09\x2e\x83\x74\x1d\xf3\xb5\x49\x17\x38\x40\xdf\xa2\x51\xfe\xed\xb7\x7f\x8a\xd0\x67\xf7\xc7\x9f\xff\xf3\x3f\xff\xf4\xe7\x75\xd2\x49\x9c\x42\x0e\xed\x16\x6b\xe4\xcb\x49\x95\x45\xa2\x70\x07\xea\x9c\x6a\x8b\x5d\xb0\x07\xb0\x6d\xf9\x37\x41\x79\x0c\x62\x87\xf0\xcc\x9e\x70\x19\x9e\x4c\x54\x3a\x9a\x45\x24\x81\x24\xea\xa0\xcc\x21\xbc\xb0\x6b\x25\xfa\xff\xb5\x04\xac\x6c\xac\x8f\xca\x66\x31\x4e\x34\xf1\xe2\xb5\x6e\x04\x7d\x6d\xed\x7f\x0a\x1c\x88\xdf\xb8\x0b\x8e\x27\x31\x11\x66\x4c\xde\x64\xe7\x0d\x89\xc0\x1c\xc8\xe7\x2c\xe1\xb1\x83\x47\x2d\x72\x01\x29\x08\x08\xc3\xcf\x58\x73\xee\x03\x0b\xa3\x65\x3e\x32\x9e\x97\x29\x8e\x0c\x2a\xa8\x44\x5f\x7f\x3e\xd1\xbf\x1d\xa0\xc5\x09\x04\x91\x1e\xa0\x5f\x4f\x2c\x5a\x0e\x16\x6a\xac\x7f\xfa\xc6\xc9\xda\xb6\x09\x18\x34\x95\xe8\xab\xe3\x27\x2c\x4c\xcd\xe8\x63\x33\xa2\xaf\x2c\x67\xf5\x75\xf1\x42\xd9\x3c\xe1\xfc\xd1\x06\xd8\xd6\x3e\x3c\x76\xc0\x6b\x40\xde\xde\x6f\x62\xb6\xde\x27\xe6\x2b\x74\x08\x2f\x10\x74\x94\x4d\xd0\xd1\xdf\x25\x67\xe8\x68\x81\xd3\xc4\xfe\xea\x9e\xda\xf8\x5f\x2c\x6d\x4e\x5c\xec\x83\x7c\x92\x85\xb1\x94\x7e\x97\xf0\x09\xcc\xea\xd2\xcd\xd4\x44\xd0\xc2\x40\x8b\xdb\xa7\xb8\xb0\xec\x44\x5c\x22\x2a\xe0\x07\xa5\x5c\x99\x57\x80\xc7\x35\xcd\xea\xb3\x1f\xd2\x7f\x1b\xbf\x30\x2c\x8a\x4b\xe2\x33\xc6\x61\x1f\xbd\xa6\x1b\xfd\x8c\xbe\xb6\x2c\xe8\x1b\x7d\xc7\xd8\x70\x65\xb3\x0c\x4d\x1d\x2c\x7c\x07\x3f\x07\x1d\x50\x86\x4c\x5a\xe6\x92\x2f\x7f\x3d\x3e\x3a\x3a\xf2\x5f\x43\xd6\xfa\xff\x8b\xa8\x92\x24\x99\x9a\x96\xdc\x0d\xb6\x18\xb1\x4b\x57\x78\xc1\x19\xaf\x0b\x48\xc7\x4c\x70\xc5\x23\x9e\xa0\xc3\xc2\xa0\x1b\xf3\x48\xa2\x7f\xd7\x62\x6d\xb0\x94\xf0\xa3\xd6\xe3\x5a\x60\x60\x0d\xd2\xf3\x2b\x1d\x2a\x6b\x10\xaf\x1e\xab\x10\xc5\xcd\x2b\xb6\x58\x86\x55\x3c\x80\x16\x34\xe5\x1c\x5b\xa4\x37\x21\xf4\xcb\xe4\xb3\x82\x47\x2d\x40\x7a\x8d\xa1\xec\xcd\x37\x65\x8d\xdd\x16\x78\x7a\x86\xac\x5b\x16\xc0\xe2\x5d\x59\xce\x60\xe6\x79\x10\xba\x4f\xf4\xe5\xc2\xc2\x52\x00\x32\x4f\x53\x2c\x16\xc7\xc5\x69\xab\x13\x67\x81\xb4\x06\x3c\x26\x71\x0b\x00\x2e\xdc\xc4\x1e\x2d\x1b\xc5\x60\xc5\x4b\x77\xa3\xf9\xb3\x1b\x41\x2d\xc3\x00\xb1\x80\xb0\x88\xc7\x96\xae\x8b\xec\xd3\xb2\xc4\xe2\xdf\xa9\xcb\x2a\x2e\x22\x46\x16\xc6\x38\xa6\x0c\x84\x87\x7d\xc3\x7d\xdc\xc2\xbe\xf9\x18\xaa\xe2\x92\xd9\x1a\xee\xd1\xf3\xeb\x3b\xf7\x4d\xf7\x4b\x17\xd6\xa1\x2c\xb2\xe3\x24\xc4\xc7\x63\x33\x24\xf0\x73\x71\xfd\x42\x6c\x87\xb1\xce\xe4\x3e\x37\xd7\xfc\xfb\x94\xdf\xd0\x44\xdf\x5a\x40\xe3\x47\x23\x56\xfa\xf9\x00\x91\x84\xa6\x94\xf9\xd8\x3a\xc3\xdc\xf9\xd4\x48\xcf\x8f\x54\xe9\x2d\x93\xf1\xa3\xe6\x60\x0e\xd7\x29\x50\xa9\x06\x6c\xe1\x48\xc7\x3b\xa6\xac\x05\x22\x97\x7a\x5c\x85\x8e\xae\x85\x59\xdd\xc4\xa1\x15\x48\x69\x40\x78\x70\x7e\x47\x4c\xb7\xe6\xce\x52\x11\x2e\x1c\xb4\x17\x34\x77\xe8\x00\xf1\x03\x0e\x00\x7d\x94\x62\x7e\xbd\xfc\xdb\x20\xa0\x0c\x59\x9e\x6e\x9b\x6c\x62\xc3\x87\xdf\xca\x4c\x77\x23\x88\xbb\xa9\x6c\xe2\x12\x61\x79\xea\x0e\xd4\x1a\x14\x37\xb4\xe2\x4f\x4c\xa2\x04\x1b\xa4\x1a\xdd\x10\x44\x3e\x1e\x18\x07\x69\x16\xf4\x65\xae\x17\xd3\x8d\xa9\xb1\x93\x10\xf6\xb5\xf9\xf7\x37\xc8\xde\x0d\xdf\x1e\xd8\xfb\x5c\x48\x8f\x00\x62\xf6\x1c\x6a\x34\x92\xd8\xd8\xd0\x01\x95\x78\x86\x45\x6c\xac\xe5\xa1\x56\x61\x32\x78\xb5\xfc\xb5\xe0\x39\x7a\xa6\x72\x3e\x62\xf7\xdc\x19\x1c\x11\xe3\x1e\xd7\xf9\x00\x94\xd1\x5a\x7f\x58\x02\x13\x80\x51\x37\x51\x80\x66\xc2\x5b\xe5\x1a\x41\x14\xec\x98\xf1\x98\x6c\x07\x60\x74\x5f\xf8\x2a\x9c\xff\x5a\x10\x93\x0f\x06\x37\x45\x5b\x3a\x2d\x91\x72\x4d\xdb\x7c\x75\xe3\xe1\x1e\xb2\xed\x40\x49\xe0\xe7\xb5\xd0\xb5\x43\x6c\x30\x7f\xab\x41\x2b\x4e\xe3\x0c\xb2\x81\x4b\x6b\xef\xd1\x92\xb7\xdd\x84\xa8\x01\xad\xa8\xd3\xdd\x6f\xe6\x1e\xc1\xb2\xfb\x00\x63\x8c\x66\x82\xe7\x99\x4f\x99\x77\xe9\x7e\x66\x1b\xac\x4c\x73\xce\xa6\xfc\xc4\xea\x54\x17\x94\x3d\x1a\x8a\x7f\xa9\x3d\x32\x80\xd8\x24\x2e\xc1\xb8\xb9\x2a\xad\x30\x87\x43\x44\x59\x94\xe4\x70\xf1\x49\x85\xa3\x47\x03\xea\xdd\x66\xf4\xd5\xdf\x8c\x57\x27\x53\xb6\x48\x4c\x79\x92\xd8\x6e\x8b\x0b\xb4\x28\x63\xfd\x44\x31\xc2\xe8\xe1\xf6\xbc\xb9\xef\x47\x5a\x77\xe6\x34\xdf\x9e\x65\x02\x81\xff\xf9\x81\xae\x15\x77\x59\x81\xc5\x23\x25\x52\xf7\xc6\xa5\x36\xd0\x55\x4d\xa4\x9f\xb0\x22\xdb\x66\x42\x19\x0c\xb0\x35\x22\xf5\x6a\xe0\x6a\x4b\xad\xc7\x5b\x22\x93\x15\xa8\x62\x10\x1a\xd4\x0e\x91\x16\x06\x6b\xc1\xc3\x35\xb0\x1b\xe0\xfd\x6e\xf3\xa9\xbc\xbb\x62\x3a\xcb\x87\x99\x10\xb2\x06\xda\xc0\x9d\x7e\xbd\xe3\x20\x4b\xaf\x2e\x1b\xe3\x33\x36\xd5\x17\xea\xa0\xbf\xb1\x95\xec\xd6\x61\xb6\x8e\x1c\x8d\x78\x2d\x7d\x8e\x88\x1f\x89\x0b\xc3\xf1\xb2\x98\xeb\x77\x06\xbe\x2d\x5e\x2a\xee\xe0\x2d\xb4\x0d\x84\x1f\x88\xad\x5b\x86\x4d\x68\xf1\x6b\x9c\x76\x06\x94\x2b\x3a\x3e\xb3\x1f\x5f\xd6\xe0\xe5\x3c\x2b\xba\x84\x2c\x3e\x0f\x9c\x92\x62\xa6\x4f\xb6\xeb\xf5\xff\x63\xef\xdb\x9a\xdb\x48\x92\x73\xdf\xf7\x57\x54\x84\x1f\x24\x9d\x03\x82\x3b\xb3\x61\xc7\x58\x11\x7e\x80\x28\x6a\x87\xbb\x12\xa9\xe5\x65\x66\x7d\x0c\x07\x54\xe8\x2e\x00\x6d\x36\xaa\x5a\x5d\xdd\xa4\x60\xaf\xff\xfb\x89\xca\xcc\xba\xf4\x15\xdd\x00\x29\xc9\xeb\x79\xb0\x77\x44\x00\x75\xbf\x64\x65\x7e\xf9\x7d\x1d\x4e\x48\xb4\x08\x0f\x6a\xd2\x5d\x76\x50\x83\xb0\xc6\x81\xba\x87\x54\x95\x2d\xe5\x11\xfd\xf0\x3c\x45\x3f\x53\xb1\x01\x17\x84\xd7\x0b\x32\x27\x5a\xd5\x15\x81\xda\x42\x29\xcf\xd7\xf8\x40\xd2\xa2\xd0\xaf\x5a\x66\xd8\xe7\x3c\x1c\x31\xc3\x07\x68\xb2\x86\x71\x4f\x30\xbf\xfb\x76\x9a\x6b\x65\x95\x5c\xd4\xdd\xca\x4e\xdd\x38\x60\xce\xf3\x89\x18\x91\xca\x91\x89\x3b\x36\x7b\xa5\x9b\x33\xe5\x48\x6d\xee\x4b\xbe\x75\x8c\x00\x56\x21\x98\xf2\xbb\xb0\x71\x4b\x01\xbc\xb8\xdd\x6d\x38\x5a\x84\x3b\x6c\x02\x89\x62\x76\xb5\x60\x2e\x67\xf6\x2b\x9e\xdd\xcb\x3c\xcc\x72\x34\xc0\x01\x1f\x8a\x68\x68\x78\x5f\x71\x3f\xea\xd4\xb9\x8e\x4e\x8c\x4d\xde\xac\xeb\x88\x9b\xf7\x9d\xbb\x8d\x48\x31\xc8\x71\x78\xf6\xaa\x35\x91\x7c\xfe\x11\x95\xdf\xd8\x2e\xd6\x94\xf8\xdb\x2a\xde\xff\x96\xb2\x8c\x11\x54\x50\x28\xfe\x8f\x18\xd2\x74\xe7\x97\xa9\x27\x89\xab\x55\xd6\xdc\xad\xc5\x51\xa7\x71\xc2\xb7\x8b\x5c\x75\xcb\x59\x0d\x18\x26\x5b\x44\xc5\xbf\xb3\x41\x79\x8b\x1d\xfb\x5c\xf2\x14\x2f\x37\x49\xcb\xd1\x36\x1b\x4c\xe5\x1f\xff\x89\xcd\xe0\xf6\x61\x1f\xe0\x5c\x84\x00\x3f\x94\x56\x28\x96\x6c\x33\x91\x6b\x25\x79\xa7\xae\xdb\xfd\x4f\x7a\x41\xda\x34\x0b\x1e\x45\xaa\x6c\xea\xd0\x8c\xe8\x49\x4b\x69\x61\xa7\x38\xbb\x2f\x97\x22\x97\x02\xb5\xeb\xe0\x7b\xcc\x7e\x6f\x50\x73\x15\x2f\x8b\xcd\x8f\x8b\x28\x4d\x06\x0b\xe6\x40\x76\xd1\xcc\xfc\xec\x0c\x7f\xd5\xd7\x81\x4a\xf9\x95\xa6\x4b\x86\x9f\x31\xfc\x6c\xca\xde\xf0\xe8\x5e\xc8\x98\x65\x69\xb9\x4e\x88\x4c\x00\x6e\x28\x38\x2e\x03\xf7\x6c\xb5\x63\x68\x5b\x60\xf9\xe6\x1a\x9a\xcb\x2d\xbf\x47\x12\x5b\x32\x22\x23\x9e\x76\x52\x51\x39\xb3\x7a\x91\x34\xd7\xee\xde\xd9\x72\xf7\x61\xb3\x98\xfa\xda\xd3\x25\xe6\x56\x3c\x6e\x14\x45\xa4\x2b\x56\xfd\x88\x8d\xeb\x56\x6b\x83\xf3\xc5\xe6\xe5\x3b\x15\x43\x6a\x0c\xee\x5e\x70\xf7\x02\x11\x73\x29\x19\x07\xda\x98\x17\x9a\x95\x99\xb5\xcf\xc0\x0f\x99\x42\x54\x18\xa7\xc0\x7c\x90\x25\xe6\x95\xb6\x11\x73\x09\x48\x5b\xe6\xba\xd7\x10\xbb\x62\xc2\x03\x62\xda\x8e\x86\x15\x92\x26\x1c\x17\xe3\x6c\xf0\x38\xef\x59\xa7\x03\x51\xc4\xc5\x46\xc8\xc5\x01\x74\xc2\xc3\x27\xad\x82\x18\x26\x33\xd8\xf9\x73\xdd\x10\x96\x32\x21\x01\x29\x72\xe1\x87\x5c\x99\xc9\xaa\x66\x46\x27\x9a\x69\x5e\x24\xda\x9c\x65\xad\x23\xee\xa9\x2a\x8e\x19\x75\x3e\x8e\x1f\xa3\x85\x1b\xa3\x36\x16\x2e\x2b\x61\xca\xde\x81\x17\x2c\x78\x19\x28\xc7\x34\xd1\x75\x60\x15\x1b\xd1\x49\xb9\xf8\x14\x70\x1e\xdb\x83\xe0\xfb\xbd\xce\x4d\x97\x81\x32\x65\x33\x1f\x7d\x40\xae\x0d\x8c\x2b\xec\xe9\x91\x48\xb5\x38\x64\xf1\x0d\x72\xd4\x41\x84\x1e\x16\x10\x03\x4b\x4a\x9b\xbf\x7b\x06\x79\xd7\xcc\x47\x48\xf2\xe4\xf7\x42\xf6\x79\x63\x86\xb7\x10\xdd\x65\xbd\x2e\x01\xe7\x87\x53\xe8\x8a\x3b\xa4\x81\xc3\xb7\x9d\xa7\x37\x49\x56\xa7\x66\xc8\xcd\x33\x24\xba\xa7\xd4\x12\xf4\xc6\x12\x41\xca\xe3\x46\xe9\x70\x9f\xd9\xf9\xc3\x97\x6c\x5e\x3a\x96\x70\x48\xcd\x71\x03\x8c\x98\x1c\xa9\x42\xfe\x14\x68\xb5\xdb\xa4\xe8\x69\x76\xf3\xcd\xec\x11\x0a\xc3\x00\x51\x2c\x5b\x54\x73\x37\xff\xf9\x27\x7d\x05\x3b\xf6\x29\x32\xf5\xdb\x65\x59\x8f\x47\xc9\x1f\x18\x1f\x70\xf8\x2f\xaf\xe9\xca\x63\xc7\x2d\x91\xa9\x98\xf9\xe5\x35\x5e\xc0\xf5\xdb\x77\xab\x26\xfc\x3a\xa8\x6f\xfb\x56\xf6\x87\x00\x44\xc0\x96\x65\x82\x1a\xea\x15\x83\x50\x59\x8b\x03\xf8\x8f\xe1\xfa\x4f\xb4\xbb\x4f\xda\xd7\xd8\x47\x15\x1f\xb3\xb0\xc6\xd3\xe9\x35\xd7\xf5\x00\x8c\xb1\x6e\xd3\x7c\xef\x19\x89\x4c\x75\xa3\x43\xe3\xc5\x70\x95\x74\x80\x03\x2c\xcb\xd5\x0d\xa8\x8b\x74\x31\x56\x04\xc4\xfb\x36\x05\xcd\xcc\xb3\xa9\xc6\x25\x44\x74\x4d\x0a\x45\x97\xfd\xf5\xcf\xd9\x9f\x6e\xae\x2e\x4f\xb6\x3c\xd7\x1b\x0e\x19\xc1\xb6\xac\x89\x15\x6c\xc3\xe7\xb1\x8d\x7a\x25\x72\x2e\x4f\xd8\x5a\x4d\x30\xc6\xfa\x9a\x6d\x8a\x22\xd3\xaf\x4f\x4f\xd7\x49\xb1\x29\x97\xd3\x48\x6d\x4f\xfd\xd0\x9c\xf2\x2c\x39\x5d\xa6\x6a\x79\x9a\x0b\x40\xd9\x9e\xfc\x30\xfd\xf1\x07\x98\x99\xd3\x87\x1f\x4e\x21\xb2\x36\x5d\xab\x7f\x78\xff\xe3\x3f\xff\xe1\x9f\x4c\xc1\xd9\xae\xd8\x28\xf9\x9a\x02\xb8\xbd\x65\x9f\xa0\x55\x7e\x8a\x3f\xa9\xd5\xf2\xcf\xd3\xdf\x87\xcd\xa0\xaf\x6e\x55\x2c\x52\x7d\xfa\xf0\xc3\xc2\x4e\xcc\x34\xdb\xfd\x86\x4b\xfd\x66\xb8\xd4\xfb\xa4\xf8\x0d\x97\xfa\x4d\x71\xa9\xc3\x2d\x1c\x77\xc6\x00\xd1\xa7\x3f\x1f\xcd\xdf\xdd\x19\x69\x5d\xef\xfb\xce\xa1\x96\xcb\x21\xcc\x1a\x38\xe2\x8a\xb8\x17\xa3\x9e\xd8\xb5\xee\xba\xa7\x43\x87\x8b\x6d\x2c\xd9\x7e\xa7\x31\x3f\x2a\x49\x1a\x50\x20\x49\x04\x44\xce\xe8\x12\xcc\x78\xd2\x86\x36\x25\xb4\xd3\x31\xe3\xf7\x9c\x94\xe4\x4f\xcd\x45\x4e\xdd\x3d\x90\x87\x3c\xc5\x5f\x5b\x6c\x96\x7a\xb4\xfc\xe3\x4f\xc1\xda\x3d\x50\xc7\xd5\x91\x11\xe3\xe2\x81\xb6\xd8\x76\x75\x34\x63\xc3\xf5\x61\x20\xbf\x19\x52\xfe\xb9\x38\x9d\x53\xc5\xa7\x0a\xed\xc5\x61\x59\x14\x40\x24\x9c\xc8\x9a\xb2\x32\xcf\x94\x16\x7a\xca\xde\xd5\x94\x0e\x3d\x70\xf1\xfa\xdd\x19\xfb\xe1\xa7\x7f\xfe\xc3\x5c\xbe\x6c\xb9\xb7\xe1\xbc\x57\xf9\x9a\x70\x94\x70\x5b\x6f\xb9\x2e\x44\x7e\x9a\xaf\xa2\x53\x3c\xe5\x4e\xcd\xef\x4f\xa8\xd2\x13\xb5\x3a\x71\x94\xc4\x27\xc4\xce\x3a\xdd\xc6\xe3\x08\x06\x2a\x4b\x0f\xef\x1a\xba\x68\x34\x5c\x4a\x48\x45\xa4\x56\x8e\x7c\x1e\xf3\x5c\x50\xa7\x42\xad\x5a\xfe\xe3\x4d\xaa\x96\xfa\x95\x23\x40\xe3\xda\xd6\xe1\x19\x89\xba\xb7\xe6\xd3\xb0\x93\xdb\x25\xf2\x9c\x8e\x0a\x7b\x96\x84\xcf\x91\x31\x03\xdf\xbe\xd9\xfc\x75\x8f\x7c\x0c\x3c\x57\xa5\xb4\xec\xce\x4a\x0a\xb5\x02\x14\x1f\x58\xc2\x16\xa5\x00\xbe\x5a\x73\xd3\x7a\xee\x85\x5c\x64\x78\xc1\x40\x54\xa1\x7b\xb8\x8f\x64\x38\xdf\x37\xce\xcf\xc1\x70\x7e\xec\xb8\xd3\x81\xf2\x8d\x06\xfc\x58\x28\x21\x6e\xa5\x31\xa8\x0a\xf3\xfd\xbd\x11\x54\x77\x0e\x78\xf5\x21\x4f\x26\x9c\xf1\x1c\x8c\x34\x71\x52\xa8\x13\x20\xad\x01\x2a\x14\xd4\x1c\xe8\x82\x55\x40\xe4\x79\xcc\x35\x69\xbe\x3f\xa0\x9d\x68\x98\x7f\x09\x1a\x4a\x36\x89\x46\x0a\x4f\x82\x64\x25\x52\x8a\x9c\x62\x6a\x7b\x6f\xd4\x91\x71\xe9\x70\x2a\xfb\x11\x59\x81\xae\x75\xc0\x07\xef\xf0\xf8\x3c\x38\x04\xa6\x0c\xac\xcf\x8d\xda\x2a\x63\xce\xa8\x52\x07\x1f\xe2\xeb\x05\x2e\xe1\x4e\xdb\x6b\xcb\x33\x24\xa9\xfb\x76\xbd\x31\x5b\xcb\x7c\x84\x4e\xbd\xf0\x4b\xa3\x24\x36\x96\x55\x51\x81\x3d\xed\x77\x6c\xf0\xfd\xeb\x06\x50\x0f\xa8\x53\x07\x52\xb1\xc4\xf1\x9c\xfc\xa7\x79\xd7\x98\x25\xe5\x5e\x0a\xee\xe6\x46\x90\x0e\x72\x31\x86\x74\xaf\xd6\x9a\xef\xcc\x96\x2e\xb7\x23\xe7\xc0\x81\x8c\x87\x4c\x00\x97\x08\xbb\xb5\x78\xdb\x93\x56\xc0\x6d\xd7\xbe\xb4\xc2\xac\xf1\xc2\xf2\x85\x8e\x6b\xea\x8d\x2b\x80\xa8\x41\x9b\xed\xf6\x74\x4b\x80\xce\xc6\x31\xc6\x03\xc1\xda\x16\x1d\xa0\x1b\x39\x7e\x33\x82\xc0\xca\x98\xb1\x83\x4a\x70\x71\x36\x46\x30\xd8\x0b\x5d\x03\x38\xce\xc5\xd6\xe7\xb1\x6a\x83\xf3\x23\x43\x9d\xcf\xde\x31\xad\x6c\x3c\x1e\xdd\x0f\x1f\xbc\x0a\xf5\x2e\x13\x13\xb6\x2c\xe1\xf3\xcb\xab\xdb\x10\xad\x91\x60\x6f\x4f\xa2\x8d\x88\xee\xc1\x61\x82\x57\x9e\x13\x6d\x24\x36\xbc\xb9\xf4\xd2\x5f\x85\xb2\xd0\x83\x9d\x63\x43\x77\x8a\x00\x2a\x67\x71\xa2\xb3\x94\xef\x20\xc8\x2b\x11\xa7\xef\x03\xc4\x2e\xc1\xc5\x1c\x05\xfb\xfc\xc5\xc3\x67\xda\xcc\xca\xcc\xff\x6e\xec\x58\xf2\x7c\x99\x14\x39\xcf\x77\xcc\x0f\x66\xf3\x3c\x60\x5a\x6c\xb9\x2c\x92\x68\x2e\xb7\x82\xcb\x10\x95\x47\x41\x6e\x33\xc8\xb1\x12\xc4\x17\xbc\x5a\x89\xa8\xf0\x84\x83\x60\xbc\xbb\x91\xda\xb7\x07\xc7\xf5\xdd\xed\xbc\xde\xae\xff\x9c\x48\x4c\x6f\x4f\xb6\x80\xf9\xa4\x35\x44\x57\xe3\x81\xc1\x1b\x90\x8a\xa3\x2b\xd7\x3e\x06\xe1\x5f\x76\x4d\xb1\xa5\x28\x1e\x05\xe4\xd3\x53\x02\x60\x9b\x8d\x7f\xb4\x5c\xc0\x71\xea\xbf\xed\xba\xc9\x01\x12\x0c\x37\x58\x08\x26\x73\xc4\x3f\xb2\xc6\xe0\xf3\x82\x52\x12\xc1\xdb\xf3\x82\xfc\x56\x2f\xe0\x9a\x36\xaf\xc7\xfc\x41\xc4\x73\x59\xa5\x55\x22\x9b\xd1\x6f\x38\xe6\x85\xb0\x9e\xe6\xb4\xb1\x63\x3c\xc8\x97\x7f\x0e\x54\x12\x9e\x44\xd2\x25\xdd\xf5\x08\x73\x61\xa7\x9f\xf3\x55\x65\x35\x01\x43\xeb\x7e\x00\x24\x4b\x68\x2b\x74\x43\xba\x78\x15\x3c\x85\x5b\x94\x8e\x34\x06\x19\xe5\x1c\x00\x96\xfc\x92\x0d\x4f\x67\x5b\x19\x73\x69\xb3\xa9\x57\x65\x8a\x2c\xa1\x5d\x52\x61\xc4\x21\x65\x33\x3f\xbe\x5d\x06\x90\xf3\xab\xb1\x40\x5b\xcc\xc1\x1e\x02\x30\x32\x9e\x75\x76\xd5\x0b\xa9\x51\x90\xda\xca\x0a\x81\xe3\x79\x2d\x0a\xb8\xcd\xe3\x32\xc5\xe4\x60\xf0\x98\x03\x1f\x15\x4f\x53\x96\x14\x7a\x2e\x1d\x7d\x16\x92\xa1\xc3\x09\x6b\x5d\xea\x56\x91\x56\x3a\x5d\x5b\xd2\xee\x07\x3b\x2c\x89\x92\xa2\x01\xe1\xde\x85\x52\x1c\x59\x26\x38\xe6\xb2\xe1\xb4\xcd\x65\xf8\xe6\xaa\x4f\x02\x25\x7e\x81\x46\xf9\x53\xe4\x60\xf5\x20\xf2\x41\xd8\x7d\xf4\x94\x4c\xd9\x0c\x7b\x67\x1e\x5c\x56\x65\x13\x5b\x4b\xf9\xf3\x84\xb4\x34\xaf\x9a\x42\x5b\x1f\xb9\x7f\xb7\x82\x9c\x73\x54\xa6\x3c\x4f\x81\x93\x7e\x55\xa6\x2c\x59\x05\x82\xa1\x30\x07\x48\x9e\x64\xa6\x2b\x52\x70\x57\x5b\x2f\xb9\xe6\x5b\x11\xe4\x6d\x93\x7b\x27\x0d\x30\x14\xc8\x08\x8d\xc1\x79\x53\xd6\xab\x29\x7b\x5b\x57\x98\x87\x3d\x11\x90\x2e\x26\x1a\x8f\x3f\xd7\xde\x20\xe5\x10\x95\xea\x93\x95\x79\x52\xbe\x08\x76\x5d\xc7\x0c\x02\x79\xfb\x38\x80\x86\xa5\xee\xef\x47\x0d\xb7\xa6\x1c\x9b\x9f\xd6\x60\x1b\x6e\x43\x74\x34\xd0\xde\x0a\x23\x1b\x19\x12\x56\x1e\xd0\x50\x47\x08\xda\xd2\xd8\x6d\x8f\x3e\x29\xcc\xe3\xc8\xa6\x06\x6a\x3f\xe3\x1b\x1a\xac\x9c\x10\x8e\x33\x64\x64\xd7\xbc\x18\x8b\xcd\x71\xc9\x38\xe3\x1b\xda\x8a\x83\x1a\xd2\x4c\x38\x3d\x46\xb6\xd3\x4b\xf0\x8f\x6f\xa8\x93\x7e\xf6\x7a\x00\x5e\x13\xbf\x92\x43\x69\x99\x0e\x5d\x0f\xf4\x5c\xd2\x65\x37\x3e\xfd\x73\xe6\xd7\x1c\x08\x1e\x31\xd3\xfc\x29\xbb\x92\x02\x91\x73\x6a\x15\x5c\x2a\xd4\x00\x52\x46\x02\xb2\x79\x19\x48\x50\xa7\x89\xbc\xb7\xd4\x12\x66\xcb\x4d\x18\xf7\xa5\xc3\xa9\x87\xcb\x06\x4f\x91\x0e\x5b\xb2\x4d\x9a\xe1\x08\xf3\x72\x58\x82\x66\xfb\x9b\x3f\x00\xa0\x8e\x3f\x01\xda\xfa\x31\x7c\x5a\x7a\x91\xe4\xee\x15\x57\xd1\x18\x0f\x51\xa3\x45\x52\xec\xf6\x8d\xef\xc7\x4d\x15\x85\x38\x42\xc8\xe8\xee\xf2\xed\xf9\xbb\x8b\xcb\xaa\xfa\xd0\x5f\xee\xce\xef\xaa\x7f\xb9\xbe\xbb\xbc\xbc\xb8\xfc\x63\xf8\xa7\x9b\xbb\xb3\xb3\xf3\xf3\xb7\xd5\xef\xbd\x9b\x5d\xbc\xaf\x7d\xcf\xfc\xa9\xfa\xa5\xd9\x9b\xab\xeb\x9a\xde\x91\x15\x2b\x0a\xfe\x74\x7b\xf1\xe1\xfc\xed\xe2\xea\xae\x22\x99\xf4\xf6\x5f\x2f\x67\x1f\x2e\xce\x16\x2d\xed\xb9\x3e\x3f\xbb\xfa\xe5\xfc\x7a\x8f\xe2\x91\xef\x6f\xeb\x90\x3e\x05\x7c\xec\x60\xfd\xab\x19\x5b\xe5\x89\x90\x71\xba\x43\xec\xbd\x7d\xd9\xd6\xc0\xb4\xe1\xdd\x9b\x6c\x85\x2a\x8f\x81\xd0\xdf\x6e\x50\xa1\x1e\x58\x30\xb0\x34\x4a\x99\xe5\xfa\xbe\x93\x23\xb1\xc8\x9b\x51\x81\xde\x4c\xa1\x22\xdf\xb9\x5c\xb4\xbe\xe6\x78\x06\x25\xaa\x84\x65\x22\xef\x6b\x0b\x58\x46\x79\x99\x15\xc9\xb2\x3b\x29\x62\x20\xb3\xd0\xf8\xb7\x37\xf2\xfd\xb5\x93\xa3\x5c\xb6\x1f\x8c\x95\xdc\x80\x63\x80\xc7\x50\xc2\xa1\xb2\x6e\xee\xd7\x16\xac\x99\x95\xcb\x34\x89\x58\x12\xd7\xfd\x29\x98\xc2\x86\x2e\xe3\x3a\x2d\x68\x26\x72\x30\x55\xcd\x0b\x20\xcb\xc5\x09\x2f\x8b\x8d\x55\x9c\x77\x99\x8c\x48\xd3\x29\xa2\x5c\x60\x2c\x40\x68\x70\xd2\xa2\x9e\x57\x50\x13\x34\x86\x32\xb8\x63\x20\x8b\x99\x06\x14\xed\x1d\x31\x02\xfc\x25\x96\x3e\xc2\x49\x8a\xdf\xef\x1d\x1a\x6a\x71\xa2\xeb\x62\xce\x70\xc3\xe3\x87\x56\x15\xcc\xf4\xdb\x9c\xd4\x4e\x15\x0b\x27\xd9\xe6\x6e\xb4\x77\x63\xdf\x1a\x0b\x17\x4a\x35\x99\x81\x4a\xa7\x8f\xce\x72\x01\x97\x08\x41\x01\xac\xff\x02\xa0\x2b\x94\xeb\x01\x29\x1e\xe6\xa9\xb6\x14\x1b\x9e\xae\xd0\xe2\x30\x53\xe3\xf7\x55\x73\x89\xde\xaa\x7b\x21\xaf\x71\xc2\xbe\xc9\x71\x28\xf1\xe5\xe3\x73\xfa\x9d\x47\xc8\xbb\x30\x4d\x1b\xed\xaa\xb2\xb9\x6e\x60\x4c\x15\xf8\x4e\x08\x3e\xc6\x94\x0e\xcf\xd8\x6b\xd3\xe4\x56\xab\xe4\x8b\x29\x70\x2e\x45\x2b\x67\x29\xe0\x85\x2c\xbb\x92\x3b\x97\x01\x1b\x85\x14\x35\xf7\x42\x82\x9e\x18\xca\x0d\xef\x5d\xb3\xe3\xfc\xe7\xcd\xb9\xe8\x71\xe8\x83\xcf\x2f\xa9\xc8\xac\x85\x51\x1e\x3b\x4e\x05\xe6\xd8\x4c\xd9\x5b\x22\xde\x30\x7f\x39\x7b\x7f\x71\x7e\x79\xbb\x38\xbb\x3e\x7f\x7b\x7e\x79\x7b\x31\x7b\x7f\x33\x74\xfb\x3d\x45\x5e\x54\x6d\xf7\xd5\xd3\x83\xdc\x09\x71\x4a\x3b\xcf\xa7\xe7\xba\x4e\xf9\x6d\x07\x53\xb2\xbf\xf5\x49\x9c\x2d\xe2\x44\x47\xe6\xfa\xdb\x2d\x84\x8c\x81\xec\xf9\xa0\xa5\xda\x5e\x54\xbd\x17\xee\x1b\xcc\x7d\xc3\x9e\x20\x78\xdb\x3d\xd8\x15\xed\x3e\x07\xd4\x1d\xb8\x21\x73\x61\x36\x7f\x6c\xde\x07\xee\xb6\x99\xee\x57\xf8\x30\xc5\x1d\xd7\xb7\x6a\x11\xf5\x3e\x61\x7b\x13\xad\x4b\x6e\xce\x47\xfb\x35\x80\x1c\x76\x8c\x0a\x31\xf0\x85\x8c\xd3\x49\xa0\x96\xca\x12\x3d\x97\x5b\x2e\x63\x5e\xa8\x7c\xd7\xd1\xc5\x61\x87\x67\xb8\x6d\xaa\x47\x68\x78\x65\x4b\x21\x62\x3b\x0b\xf8\x55\x2e\xeb\x4b\x09\x79\xa9\x6f\xaf\xfe\x7c\x7e\x79\xb3\x38\xbf\xfc\x65\xf1\xf1\xfa\xfc\xdd\xc5\x5f\x1d\x12\x32\xe3\xba\x4d\x1d\x31\xcb\x85\x39\x5d\x2c\xcd\x47\xeb\xf9\x82\x92\x85\xb6\x1c\x92\xa9\x4a\x56\x73\x69\x4f\x96\xdc\x17\xbf\xc9\x55\xb9\xde\xb4\x17\x54\x6f\xe5\xc7\xd9\xed\xcf\x07\x35\x13\x48\x98\x50\xd7\x0c\x77\x5b\x13\x11\x9a\xac\xe8\xdc\x43\x18\x69\xad\x79\x40\x25\x06\x5f\x6d\x8b\x32\x74\x9c\x68\x07\xbd\x5e\x9a\x87\x56\xaf\xf1\xdf\xf2\xf5\xae\x05\x74\x1b\x9c\x9b\x95\x6b\x04\x10\xca\x28\x8f\xd9\x28\xed\x75\xcb\xdf\x2a\x37\xd8\x8f\x27\xa9\x58\xaf\x45\x8c\xcb\xab\x5e\x30\xf9\xe0\xe8\x08\x8c\xfc\xbd\xde\x36\x8a\x24\x60\x77\xc4\xc5\xec\xf0\x5e\xc3\x0f\xf0\x8f\xee\x27\xed\x67\xc5\x99\x15\xc9\x8e\x94\xd4\x05\x97\x1d\x81\xe4\x87\x26\x42\x73\xd0\x51\x74\x95\x33\x97\xfc\x44\x0e\x13\x1b\x32\xf0\xfb\xa0\x0b\xf0\x72\x3c\x2e\xd4\xb5\xe3\x5a\x64\x29\x8f\x84\xcb\x61\x40\x06\x3c\x78\xd7\x1f\x12\xc0\x23\x99\x40\x49\xfe\x96\x40\x3e\x30\xd0\x14\x6f\x59\x02\xe0\xb9\xbd\xb6\xe7\xf1\xf3\xbb\x56\x7a\x1f\x6e\xc4\x7b\x05\x8e\x66\xd4\x69\x22\xe8\x3b\xfa\xa2\x40\xfc\xac\x13\x96\x3c\x6a\x39\xd4\x6a\xfe\x85\x26\x1e\xdf\xcc\x55\x47\x37\xb7\xcc\x72\x6e\x79\x38\xd3\xb1\xcf\x5f\x58\x14\x79\x2f\x19\xe5\x53\x84\x23\x3e\xe6\x6a\x9b\x68\x31\x2b\x8a\x3c\x59\x96\xa1\x1a\xdf\x48\xc0\x5c\xe5\x71\xe2\x3b\x9c\xe5\x2a\x2e\x23\x4b\x09\x04\xbd\xf5\xb0\x1f\xf2\xf2\x59\xab\x23\x66\x27\x66\xf5\xd1\xcb\x4d\xc4\x27\x00\xe8\x9f\xcb\xae\x18\x9b\x3d\x18\x3b\x7c\x7f\x1f\xed\x55\x7e\xcc\x92\x6c\x59\x14\xdd\x83\x69\xd7\xc0\xb0\xc4\x5a\x66\xbf\x0e\x16\x70\x07\x6a\x8a\x96\xcb\x92\x63\x00\xbd\x6a\xa3\x74\x31\x80\xb8\xab\x66\x1c\xb8\x6b\x18\x36\xa6\x9a\x31\x83\x76\xc3\x86\x6b\x34\xe7\x8b\x68\x53\x6d\x38\xf4\xa6\xca\x9a\x57\x6f\xae\x33\x8f\x8f\x73\x9b\x0c\x0a\xa3\x4d\xd0\xd1\x90\x90\x63\xbb\xa2\x80\xe6\xe4\x1c\xc7\x79\xbb\x43\x8b\xd1\xbd\xe8\xf0\x32\x80\x73\x34\xe5\xa5\x8c\x36\x2c\x4b\x39\x26\x93\x6f\xb8\xc6\x25\x6d\xb1\x24\x7c\x99\xa4\x49\x01\x2c\x3d\x18\xe2\xac\x8d\xb0\x79\xe6\xf1\xfc\xde\x12\xe3\x72\x4f\xc9\xd4\xb7\xe8\x8f\xc4\xec\xba\x5e\x7d\x55\xd4\xae\xdf\xb2\xe1\x31\x34\x6c\x59\x12\x62\xd7\x4f\x87\x39\x88\x61\x59\xfa\xbe\x8c\x9b\x59\x2a\xf1\x63\xfd\xe7\x95\xf1\x6e\xb1\x5e\xc6\x23\x56\x88\xf1\x7d\xc4\xed\x53\xe7\x83\x6f\xdd\x59\xab\x54\xf1\x0e\x4d\x62\x5b\x36\xd2\xbb\x77\x95\x1d\xab\x72\xd9\x45\x28\x8c\xad\xea\x2f\xbd\x2f\x18\x62\xf7\xed\x53\x39\x4b\xc3\x03\x90\x17\xa2\x48\xc6\xf9\x7b\x82\x4e\xf3\x42\x9c\xc0\xcf\xdb\x0b\xa7\x0c\xc3\xc1\x7d\x6e\x2c\x34\x2f\x32\xe2\x8c\x36\xc0\x12\xb6\xad\xae\xda\xed\x7c\x0c\x26\xfc\xc8\xf9\x4a\xe4\x9e\xa5\xb4\x5f\xb7\xe0\x0f\x3f\xb6\x0c\x4b\xa3\xd3\x7f\x29\xb9\x39\x0f\xaf\x56\x37\xc8\x95\x73\x4c\xa7\x8b\xa4\xb9\xad\xda\x8f\x9f\x7a\xad\xb7\xd5\xf0\x5a\xb8\xf0\x07\x67\x22\xb7\xf5\xe6\xc6\xfc\x7a\xf8\x29\x74\x51\x71\xa3\x65\x79\xa2\x80\x33\x46\xad\x90\x81\xb1\x9b\x6e\xb2\xb5\xde\x23\x46\xf2\x73\x29\x4a\x61\x16\xd0\xb2\x8c\xd7\x4d\x2f\xf7\x08\x4b\xd9\x77\x69\xa3\x1e\xd9\xb6\x8c\x36\xcc\x16\xce\x62\x91\xf2\x5d\xa5\x6b\x60\x24\x16\x2a\x05\x02\xe7\x03\xd9\x64\xa3\x52\x17\x6a\x0b\x00\x63\x5f\x6e\x5e\x4a\xd8\xe5\x8c\xdb\xdd\xd5\x76\xbe\x57\xd8\xe5\x0e\x0c\x6d\xde\x7c\x3c\x3f\xbb\x78\x77\x51\x8b\x2b\xce\x6e\xfe\x1c\xfe\xfb\xd7\xab\xeb\x3f\xbf\x7b\x7f\xf5\x6b\xf8\xb7\xf7\xb3\xbb\xcb\xb3\x9f\x17\x1f\xdf\xcf\x2e\x2b\xd1\xc7\xd9\xed\xec\xe6\xfc\x76\x4f\x80\xb1\x59\x6b\xf7\x44\xf0\x80\xfc\xce\x42\x9e\x2d\x0b\xb8\xf5\x33\x50\xad\xaf\xd9\xcc\x52\x01\x56\xc8\x2a\x6d\x90\x18\x50\x25\xa8\x89\x4d\xb1\xe4\xb7\xbc\xe0\x67\xbc\xe0\xa9\x5a\x4f\xd9\x8c\x11\x20\x1c\x81\xfe\xda\x58\x48\xc4\x93\x66\x66\x07\x8b\x30\x66\x52\xe4\xdf\xf0\x5e\xe6\x50\xad\x88\xa1\x30\x15\x21\x21\xbe\xcd\x6a\x9b\xcb\xf3\x07\x21\x8b\x12\xd8\xba\x79\x9a\x32\xaa\xd6\x7e\x21\xc8\xd8\xb7\xad\xd4\xc9\x36\x49\x79\xee\x15\xe9\xae\xa8\x2c\x78\xa5\xd8\xb6\x3a\x82\xa6\x66\x3a\xb8\x7d\xc8\xdd\x5d\x30\x68\xf7\xd9\xfb\x0b\xb0\xfb\xa2\xc2\xca\xad\xd8\xca\xe7\x12\x19\xf0\xa8\xc6\x2d\x87\xe4\x93\x42\x91\x67\x15\xab\xa7\x2f\x77\x2f\x44\x7d\xcc\x26\xb6\x31\x88\xe7\x7a\x51\xba\x46\xda\xff\x38\x97\x45\xbe\x1b\x6c\xcc\xdd\x42\xb6\xb5\x06\x83\x9c\xb0\x6c\x55\x95\x3a\x74\x7c\x31\x5b\xfa\x25\x58\x78\x16\x68\x49\x71\x19\x17\x7e\x41\x5c\x4b\xc7\xa3\x23\x35\x37\xef\xf7\x3a\x0e\x21\x21\x0e\x8c\xc2\x52\x95\x32\xd6\x84\xba\xdb\x26\xf2\x74\xcb\xbf\xbc\xb2\x3d\x45\x82\x09\xa7\x15\x01\xe4\x61\x22\x35\xcf\xaf\x9d\x39\xe4\xfa\x87\x6b\x2e\x7b\xc6\x6b\xbf\x89\x6c\x4f\x56\x78\xeb\xf9\x87\x39\xe2\x07\x1f\xc4\xae\x6d\xfe\x1a\x7a\x3f\x88\x51\xa4\x0d\x0f\x85\x64\xb9\x30\x5f\x74\xe0\xc4\x14\x31\xa7\xee\xdf\x90\x84\x50\xd1\x24\x6c\x3f\xbb\xc3\x78\xff\x51\xdb\xa6\x15\x69\xf0\x0c\x82\x4d\x54\x93\x99\x33\xc4\x1d\x58\x97\x37\x25\x5d\x50\x40\xd5\x4c\xd6\x7f\xa8\x25\x5b\x41\x06\x12\x69\x8e\xe7\x02\x42\x1c\x30\x15\x96\x61\x1c\x28\xa6\x1a\x60\x06\xbb\x04\x52\xa1\xc1\xf1\x2f\xcd\x1b\x53\x7c\x2e\x29\x76\xfb\xc3\xef\xc7\xdd\xb3\x45\xbe\x63\x56\xcd\x22\xcc\x80\xa2\x04\x40\xba\x73\xa1\x5d\xa5\x4c\xda\x78\xe7\xae\x4b\x69\xae\xe2\xa7\x80\xbd\x0c\x8f\x6b\xd6\x2a\xa5\x7f\xee\x4d\x12\xb2\x2e\xf9\x1c\xbf\xff\x6c\x34\xa2\xbf\xd4\xd8\x43\xa9\x3a\x80\xa4\x53\xe9\xe1\x85\xb6\xe4\xd1\xfd\x23\xcf\x63\xf4\xdb\x02\x0e\x65\xca\x7e\x56\x8f\xe2\x41\xe4\x13\x16\x89\xbc\xe0\x44\xdd\xa5\x21\x10\x0f\x1b\x8a\xca\x99\x4b\xc8\xd0\x40\x1e\x34\x09\x72\xed\x45\xb2\xde\x98\x47\x74\x00\xa3\x50\xb9\x39\x8e\x0a\x64\x6d\xcc\x44\x44\x64\x49\x1d\x03\xb0\x4a\xf9\x43\x93\x8b\xec\x10\x96\x07\x76\xe1\xd2\x4c\x6d\x9c\xd2\xaa\x36\xf4\x01\x5f\x68\xc0\xe8\xd0\x44\x7a\x9b\x09\x5b\xab\x94\xcb\xf5\x74\x3a\x65\xa2\x88\xa6\xaf\x46\x2d\x74\x2a\x30\x8c\x7c\x3a\x78\x75\xaa\x94\x16\xe9\xce\x11\xfc\xb8\x04\x18\x40\x5c\x7e\x29\x84\xd4\x09\xfa\x79\x5a\x96\xff\x4d\x3d\x2a\xf0\x75\x83\x28\xed\xcf\xf3\xd1\xe9\x95\x1d\xe5\x80\x08\xd4\x88\x92\xf0\xfb\xed\x2f\xaf\x83\xd2\x85\xdb\xcb\x92\x4a\x8e\xcd\x81\xfd\x45\x75\x49\x9a\x1f\xc4\xbb\xd7\x5a\x12\x91\x94\x1c\x94\x37\xd8\x3e\x66\x8d\x54\xce\x23\xb2\x38\x7b\x12\x32\x47\xe6\x62\x0e\x71\x04\xdc\xd4\xa7\x7b\xf4\xb6\xd8\xaf\x4b\xd1\xda\xa1\x91\xb9\xae\x3e\x29\x7d\x8c\xe9\x84\xe9\x72\xe9\x0e\x5e\x5c\x2e\xf3\x15\xdc\xe9\x71\x10\x0e\xa8\x44\x3b\x20\x07\xcb\x87\x4b\x1c\x79\x54\x10\x1d\xd1\x85\xca\xf9\x5a\xb0\xad\x88\x93\x72\xdb\x7a\xd8\xb8\xe6\x1e\x83\xfb\x53\x69\xb9\xed\xa6\xf1\x3b\xd6\x80\xf6\x8d\xc4\xff\x3a\x83\xea\x06\x1b\xd0\x5e\xbc\xdf\xca\x03\x51\x7b\xd1\xf7\x4f\x63\x6d\x6e\xca\x3c\xd1\x40\x38\x79\x48\xca\xa3\x2b\x06\x8b\x86\xc8\xe9\x2e\x43\x9f\x73\x65\x76\x4f\x6c\x48\x8b\x7e\xa2\x71\x56\x21\xdc\xda\x7d\x29\xd4\xd1\x84\xa3\xe7\x08\xc4\x67\x0e\x8a\x70\x83\xd9\x18\xd0\xc0\x13\xdc\x09\x0a\x24\x4c\x46\xa1\xd8\xca\x26\xd1\xdd\x8b\x80\x96\x2c\x06\x82\xf8\x47\xe4\xb8\xf9\xf3\x4f\xda\xa2\x37\x08\x60\xe3\x2d\x96\xc2\x57\x82\x01\x91\x87\x1f\x2c\xae\x0a\x7b\x88\x45\x00\x79\x58\xcc\x65\xd1\x5a\x80\x87\x1d\x42\x59\xf8\x93\x5f\x78\x99\xb6\x7f\x9d\xca\x87\xaf\xa2\xd8\xd4\xec\xd7\x1b\x86\x43\x4d\x54\xe2\x79\x5f\x43\x83\x42\xf6\x23\xbb\x60\xb8\x16\x07\x58\x82\x95\x79\xc0\x41\xb7\x5c\xf2\x66\xd8\x45\x11\x6d\xbc\xe5\x51\x55\x8d\x26\x25\x41\xea\xe7\xd6\x93\xa3\x23\x68\x36\x44\x1f\x26\x6b\xa9\x42\x5d\x0f\x25\x05\x44\xa6\xcc\x01\xa4\xc2\x62\x59\x52\xec\x87\x78\x8d\x64\x0c\xdb\xb7\xd4\x0a\x85\xd0\x1d\xea\x67\x25\xc0\x08\x4f\x8a\x04\x79\x86\x2c\x3e\x16\xdf\x44\x24\x4c\x57\x27\xcd\xae\x32\x37\xcc\x65\xb5\xaa\xc6\x20\x59\x0c\x56\x92\x0b\xe4\xba\xd5\xc6\x7a\x2b\x92\x07\xb3\x51\x9b\xcb\xda\x2d\x50\x38\x01\x9a\x6b\x6f\x2e\xb1\xd9\x01\x61\xee\xbd\xd8\xe9\x50\x05\x8f\x56\x14\xeb\x5a\x90\x89\xe9\x0f\xcd\xd7\xfe\xa9\x80\x81\x5b\x04\xaa\xfe\xc3\xee\x32\xac\xf4\x83\xf9\x71\x0f\xb8\xb3\x51\xb8\x59\x83\x3e\x4b\xd1\xfb\x14\xe9\x98\xf0\xe3\x4c\x73\xe8\xf1\x5b\x80\xce\x0b\xf1\x77\x61\xca\x09\x3c\x7c\xcd\xfb\x76\x2e\x89\x53\x3b\xb8\xe4\xcc\x81\xd3\x9c\x36\x4a\x9d\x46\x26\xdf\x5d\x85\xf6\x05\x68\x0f\x2d\x05\x64\xb5\x4a\x1b\x6c\xb5\x22\xaa\x73\x09\x55\x63\x72\xa9\xf5\xe1\xb5\x56\x78\x20\x28\x90\x26\xb7\x13\x08\x18\x64\x70\xe1\x37\x89\xf9\x0f\xe5\x14\xf1\xf5\x13\x09\x33\x7c\x33\xd9\x8a\xc1\xb3\x08\xbc\x9b\xf3\xb3\xeb\xf3\xdb\xaf\x06\x14\xb4\x28\xbd\xd1\x48\x41\xdb\xce\xb7\xe7\xef\x66\x77\xef\x6f\x17\x6f\x2f\xae\x9f\x03\x2a\x48\x1f\x1d\x80\x15\xbc\x21\xaa\xfe\x33\x25\x0b\xf1\xe5\xa8\x3b\x39\x2f\xe5\x82\x8f\xc8\x59\x71\x62\x1d\x7d\xe6\x0e\x16\xda\x94\x1a\x70\x3a\x00\xc4\x3b\x89\x37\x9a\x53\x16\x58\x79\xa7\xe1\x2a\x49\x53\x48\xe1\x75\xee\x75\x4a\x0f\x33\x83\x0a\xe7\x8f\xa5\xda\xa4\x33\x75\x2e\x97\x15\x25\x08\x70\xf9\x6d\xcc\x23\x18\x93\x77\x33\x33\x00\x79\x02\xa9\x91\x7d\x6a\x04\xeb\x44\x0a\xdf\x0c\x94\x3e\x2e\x25\xeb\xa4\x90\xa6\x49\x7c\x4e\x48\x14\x19\x5e\x43\x6d\x4d\xbb\xe2\x2a\xeb\xd3\x9a\x9f\xf6\x43\xd7\x43\xdc\xc4\x89\x44\xc3\xb4\xb2\x9b\x6f\xda\x97\xee\xa9\xdf\x02\x30\xee\x66\x26\x39\xc4\x20\x40\x5d\xd8\x4f\x24\x4d\x04\xaa\x14\xf9\xe0\xc4\x7d\x82\xd0\x21\xb5\xaa\x8d\xb3\x39\x0a\xcd\x58\x27\x10\xa9\xe0\xc4\x4a\x12\xa5\xa5\x2e\x44\x4e\x6e\x93\xd9\xaf\x37\x73\xf9\xc6\x5c\x5f\xaf\xe8\x16\x22\x25\x1b\xac\x02\x81\x2b\xaa\x52\xbf\xb5\x50\xc2\x13\xec\x25\xfa\xa8\xb7\x82\x4b\x8d\xca\xef\x69\x2a\x72\xbf\x32\xb0\x3d\x42\xc4\xa4\xfe\x07\x34\xac\xfe\xf7\x24\xfe\xad\x60\xd7\x9a\xf6\xd2\xa7\x24\x7f\x5d\x5f\x4f\x5d\x19\xe2\x00\x15\x7e\xce\x95\xd3\x92\xb1\x32\x74\x15\x11\xca\xba\x75\x11\x55\xf3\x47\x06\xad\xa5\x5b\x2c\xee\xb7\xa5\xf4\x84\x4b\x69\xc0\xbd\x1e\xde\x12\x6c\xa3\xcc\x01\xea\x64\x5e\x7c\x98\xd9\x31\x54\xa4\x00\xfa\x32\xc3\xd8\x7a\xeb\xd4\xa4\x0e\x8f\xc1\x7e\x40\x51\xc7\x41\x6b\x67\x2d\x54\x38\x5e\x53\xcb\xc6\x76\x7a\x55\x14\x9f\x87\x72\x6e\x66\x41\x86\x52\x15\x96\x3c\xc2\xe1\xfa\x08\xa4\x68\xbe\xe0\x58\x4b\x7a\xdb\x48\x4c\x20\xd6\x4a\x59\x1c\xa9\x44\x76\x1b\x82\x21\x2b\xe9\xb4\xd8\x8a\x30\x11\xdf\x26\xdf\x3b\xf2\x8e\x31\x8b\xef\x70\xad\xcb\xea\x9a\x73\x44\x90\x07\x81\x1d\x2e\xaf\x2e\xcf\x43\xa8\xc2\xc5\xe5\xed\xf9\x1f\xcf\xaf\x2b\x89\xd8\xef\xaf\x66\x95\x64\xea\x9b\xdb\xeb\x5a\x0e\xf5\x9b\xab\xab\xf7\xe7\x0d\xcc\xc3\xf9\xed\xc5\x87\x4a\xe1\x6f\xef\xae\x67\xb7\x17\x57\x95\xef\xbd\xb9\xb8\x9c\x5d\xff\x6b\xf8\x97\xf3\xeb\xeb\xab\xeb\x5a\x7d\x77\x67\xfd\xe8\x89\x4a\x37\xda\xdd\x3f\x3e\x38\x1b\x70\x62\xb6\x6e\xe3\xaa\x16\xe8\x11\xbb\x78\x20\xf2\x6c\xdf\x72\xb4\x79\xd6\x71\x48\x95\x8f\x1b\xc3\x34\x75\xd4\xaa\x7b\x7a\xf1\xd2\xca\xd0\x65\xfc\xb8\x63\xcf\xdc\x6a\x8b\xa7\x40\x02\xf6\x1a\x80\xae\x96\x9a\xe3\x56\x17\x90\x8c\x86\x43\x9b\x41\x04\x6b\xcd\x3b\xa5\x7b\x64\xfc\xec\x2d\xb5\x75\xec\x6b\xa7\xe7\x60\xda\x43\x65\xf3\x54\x34\x16\x7d\x8d\x0e\x2a\xb3\x59\xe2\x49\x6c\x0d\x05\xfb\x61\x70\x71\x43\x37\xcc\xca\x09\x96\x63\x97\xca\x64\x7b\xbe\x49\x3f\x6d\xda\xd8\xf6\x53\x25\xcd\xb6\xd7\x38\x36\x46\xb4\x1b\xb8\x8e\xc6\xb4\xfb\x96\xeb\xfb\xb1\xed\xa6\x4a\x9a\xed\x06\xb3\xef\xa0\x76\x83\xc3\xbb\x68\xe7\x3f\x19\x71\x88\x85\xc5\x54\x9b\xe7\x92\xb3\xdd\x57\x02\x31\xd7\x61\x6d\x34\x1b\xe0\x79\x9f\x97\x19\x1f\x1e\xc8\x80\xd6\xb8\xed\xca\x6b\x74\xe0\x37\xf0\x29\xf4\x70\x99\x0b\x7e\x1f\xab\x47\x9a\x8f\x3a\x32\x94\x0d\x3a\xcd\xab\x03\x64\xce\x70\x7b\x45\x80\x04\xbc\xa9\x12\x51\x6a\xbe\x78\x80\xc9\x25\x44\x68\x8d\x36\x58\xa0\x42\x5a\x67\x90\x01\xce\x1e\xe9\x67\x67\x2e\xd1\x9a\x6f\x53\x32\x35\xb3\x6a\x5a\x44\x9c\x0f\xd0\x55\x67\x43\x63\x70\x5d\x07\x13\x4b\x09\x1c\x65\x0e\x60\xba\x65\x0e\x6f\x26\x18\x90\x44\x82\x33\x39\x37\x0f\x9e\x5c\x44\x89\x16\x81\x9a\x53\xeb\x8d\xfd\xf9\x38\xed\x87\x82\x17\xad\x6e\xd7\xc1\xfe\x70\x1e\x15\x25\x4f\xd9\xe7\x52\xe4\x3b\xa2\xce\x43\x5f\x25\xfe\x25\xe2\x12\x33\x45\x0a\xb1\xcd\x20\x1d\x3b\x4c\x71\x98\xcb\x5f\x01\x28\x81\x53\xf0\x42\xb3\x3f\x02\xe4\xc1\x7e\x99\x2e\xe1\x2d\x2f\xe0\x2e\xfe\x0b\xd6\xe1\x3e\x9b\xce\x65\x45\x1d\x25\xf8\x55\x45\x28\x65\x3a\x97\x56\x9e\x20\x56\x91\x9e\xc2\x8b\x6f\xaa\xf2\xf5\x29\x09\xfb\x9a\xc5\xae\xee\x97\x4a\xdd\x9f\x0a\x79\x0a\x3e\xa9\xe2\x94\x97\x85\x3a\x05\xb8\x14\xce\xbf\x3e\xb5\xfa\x9f\x56\x40\x55\x9f\x6e\x92\x07\x01\xff\x6f\xba\x29\xb6\xe9\x3f\xe8\x6c\xf3\xe5\x64\x9d\xe6\x27\xe6\xb7\x27\xe1\x6f\x4f\xec\x6f\x4f\xec\x6f\x4f\xcc\xcf\xf0\xff\x65\x3b\x0c\xef\x88\x2f\xdc\xdc\x65\x93\xb9\x4c\xa4\x16\x79\x01\xd6\xcf\x63\x9e\x14\x5e\x86\x66\xc7\x5e\xfc\xd7\x7f\xb1\x69\xce\x1f\x31\x95\xf1\x2d\x2f\xf8\x47\xf4\x2f\xfe\xf7\x7f\xbf\x80\x80\x2a\x26\xf5\x64\x3c\xff\x5c\x8a\x62\x2e\xb5\x30\x9b\x90\xfd\x9f\xb9\x84\x08\xec\x76\xb7\x28\xd0\xef\x8a\x3e\xc8\x58\xb3\x7f\xc1\x32\x2f\x90\x46\x32\xd6\xa6\xa4\x8e\x74\x82\x84\xa7\x2d\x92\xd1\x1d\x2e\xfa\xcf\xe9\x5b\xfa\xfe\x88\x6d\xfd\x39\xad\xee\x6a\x2b\x84\xa2\x3f\xa7\x70\x81\xa6\x8a\x5b\xb0\x16\x73\x8b\x17\xde\xc9\xd4\xb8\xb6\x3d\xd2\x80\x06\x3c\x6b\x98\xbe\x7d\xaf\xdc\x20\x95\xb5\xf5\xdc\x37\x8e\x11\x88\x15\xf8\x38\x04\x44\xcf\x13\xb3\x43\x6e\xd0\x13\x0a\x96\x1b\xf6\x1c\x6c\x52\x0a\x9d\xbb\xf2\xd0\x71\xa1\xff\xf0\xfa\xf4\x74\xc2\xd6\x1a\xfe\x67\xf9\x19\xfe\x07\xd0\x43\x4f\xc5\xc6\xda\x18\x4c\x07\x84\x6b\xce\xf2\xfe\x99\x78\x0a\x14\xdd\xd7\x20\x00\xaf\x2d\xd3\x37\xa5\x8c\x53\xe1\x53\x20\x2b\x21\x91\x54\x59\xc9\x7a\x74\x8c\xd5\xa5\x56\x60\x8e\x97\x22\xe2\xe6\xe0\x6b\xd4\x8d\xe0\x52\xb5\x2a\x84\x44\x6f\x58\xee\x95\xd8\x38\x7a\xae\xc0\x2c\x06\x28\x24\x2f\x08\x72\x2e\xe0\x8f\x50\x09\x30\x6a\x4f\xea\x1f\xb1\x9d\x2a\x89\x1c\x1a\x28\x4f\x63\x11\xa5\xc0\xc0\x6f\x69\x5f\x58\x2e\x8a\x32\x97\x8c\xb3\x8c\xcb\x98\x6b\x58\x81\xab\x1c\xa2\x9d\x39\xe3\xcd\x86\x4e\x10\x8e\xab\xca\x02\xc8\x8c\x10\x59\x10\x8e\x04\xb2\x77\x07\x6d\x9e\x04\x8d\xc0\x3b\x01\x48\x84\x1b\x3f\x9c\xce\xa5\xd5\x0a\x23\x2c\x1c\x7a\xca\x22\x95\xed\x88\xaa\xa6\x3e\xe8\x89\xf5\x9c\xd1\x70\x4f\x3c\xde\xa4\xfe\xdd\x09\x4b\xaa\xa1\x35\x20\x0a\x2f\x02\xb5\x63\xab\x17\xfd\x52\xc8\x48\xc5\x22\xd7\xaf\xcc\x36\x4c\xdc\xbb\x03\xed\x87\x44\xfb\xc9\x80\x53\xca\x5c\x6e\xe4\x2d\x34\xc5\x3b\x45\x1d\x33\x3a\x15\x6a\xe9\x36\x3b\x67\xff\x56\xf9\xde\x51\x30\x6d\xed\xa5\xff\xfc\xaa\x88\x98\x10\xd7\x69\xdf\x9c\x87\xbb\x20\x70\xcb\x86\x27\x2e\x16\x8a\x36\x0e\x19\x27\x56\x5a\x36\x29\x40\xbd\x2e\x17\xba\x98\x4b\xba\x81\x27\x6c\x25\xb8\xb1\xf3\x26\x2c\xd2\x0f\x78\x18\xe3\x75\x5f\x3c\x2a\x8f\xc1\xb1\xba\x24\x00\x86\xad\x14\xee\x9d\xc4\xf8\x35\x40\x14\xf0\xa8\x40\x80\x41\xa7\x0a\xb9\x35\x55\x60\xb0\x5a\x0f\xc4\x03\xc6\xc1\xca\x5c\xd4\x25\xa5\x42\x95\x15\x18\x89\x1d\x06\x8a\x59\xbd\x1d\xf8\x81\x39\x78\xb0\x77\x08\x03\x09\x0e\x47\xb0\xb8\x09\x4b\x8b\xfb\xcc\xc7\x70\x43\xae\x71\xf0\xcd\x74\x6d\xaa\x9e\x81\x80\x06\x1c\xe6\xb7\x30\x3f\xdd\xeb\xb0\xd2\x22\xb7\x1a\x1c\xd8\x57\x64\x06\xdc\x24\x79\x7c\x92\xf1\xbc\xd8\xd9\xe5\x9b\x26\x4b\xa0\xee\x4f\x93\x7b\xc1\x66\x79\xae\x1e\x9f\x7a\x14\x3a\x8f\x96\xae\x17\xf6\x31\x48\xf6\xb1\xaf\xfc\x56\x5e\xd0\xba\xbb\xe3\x30\x0e\xd2\x2e\xc7\x47\x6b\x3d\xb9\x28\xf2\xdd\xc2\x2c\xc4\x6d\xd6\x79\x52\x0c\x4a\x9a\x18\x6e\xe4\x8e\xa3\x37\xad\xb9\x30\x3a\xe9\x4d\x2b\xb3\xfa\xfd\xd0\x9b\xb6\x30\x97\x36\xe9\x4d\x2f\x2e\x2f\x6e\x2f\x66\xef\x2f\xfe\x5f\xad\xc4\x5f\x67\x17\xb7\x17\x97\x7f\x5c\xbc\xbb\xba\x5e\x5c\x9f\xdf\x5c\xdd\x5d\x9f\x9d\xf7\xf3\x15\x35\x5b\xef\x4d\xf0\x13\x16\xd6\xf3\x9a\xdd\x06\x40\x0d\x4c\x36\x20\xfb\x9b\xb4\x2b\x61\x55\x99\xcd\x9c\xc8\xf5\x04\x36\xea\x6b\x76\x9e\xe7\x17\x5b\xbe\x16\x1f\xcb\x34\x05\x38\x15\x66\xf6\x9c\xe5\x02\x1e\x9e\x13\xf6\x51\xc5\x17\xc1\xef\x20\x1d\xb1\xb5\x1b\x50\x3f\x8f\xe3\x5c\x68\x8d\xd5\x4f\xa8\xfe\x00\x3c\xe4\x52\x1d\x09\x3c\xc7\x1f\x78\x92\x9a\xf7\xdb\x6b\xf6\x86\x47\xf7\x6a\xb5\xc2\xf4\x99\x89\x4b\x9c\x62\x9f\x4b\x55\x70\x26\xbe\x44\xc0\xd1\xd5\xbe\x4e\xde\xab\xf5\x37\x80\x2a\x0f\x08\x4f\x75\x3c\x52\x40\xa3\x6c\xd1\x7e\x9d\xb7\x1f\x04\xd4\xcb\x0f\xf8\xd3\x77\xf8\xcb\x76\x07\x65\x91\x3e\x41\x7a\xfc\x7b\xb5\x6e\x57\x8c\x01\xeb\x9a\x64\x6e\x28\x90\x10\x11\xd9\x86\x5a\x33\x9d\xc8\xfb\xb9\xfc\x75\x23\x24\x53\x65\x8e\x7f\x82\x67\xbe\x31\x33\xd3\x52\x6f\x04\x48\xc8\x4e\xd8\xa3\x60\x5b\xbe\x43\xb3\x19\xde\x04\x4e\xe6\x02\x96\x0c\xdc\x22\xe6\xd7\x69\x22\xcd\x69\x91\x25\x36\x2f\xa1\x3e\xf5\x4f\xf1\xe2\xb2\x0c\x75\xfc\x78\x02\xd9\xbe\xfb\xb4\x82\xcf\x03\x57\x99\xc7\x4d\x5a\x80\x10\x9d\xdc\xa0\xa2\xa9\xd4\x7d\x99\x79\x2e\xcb\x17\x36\x38\x09\xc3\xfd\xa0\x92\x98\xc5\x65\x96\x26\x91\x3b\x77\x1f\x55\xde\x49\xd8\x8b\x09\x34\xc3\x6f\x9d\x7a\x5a\x58\x5f\xc7\x5a\xb2\x73\x02\x24\x5d\x0f\x75\xef\x33\x93\x17\xb3\x44\x46\x69\x09\xfa\x60\xa5\x16\xf9\x49\x91\x27\xeb\x35\x18\xe0\x36\xd7\xef\xfb\x67\x37\xf6\xec\x89\xc7\xa7\xb5\x85\x49\xe7\xa9\x5a\x27\x11\x4f\x43\x70\xb3\x47\x45\x38\xfa\x54\xbb\xed\x49\x3d\x15\xf2\x20\x6c\x83\x3a\x19\x90\xb2\x5c\x00\x83\xef\x02\x8e\xf2\x05\x1d\x77\xc7\xb4\x7b\xc5\xcc\x03\x1d\xdb\x15\x92\x9b\xda\xf0\x82\xbd\xe1\x7c\xdd\x56\x42\x0b\x4c\x4c\x94\xd7\x66\xea\x51\x8a\x1c\x2c\x58\x80\x7d\x98\x9e\x4a\x05\xb6\x89\x93\xd5\x72\xf8\x64\x2b\x2b\xb7\x72\x40\x6c\xcc\x9c\x5d\x27\x0f\x42\x7e\x7d\x36\xea\xa0\x82\x88\x47\x1b\xb1\xb0\x76\xf9\x53\x1f\x59\xee\x02\x18\x79\x58\x59\x7d\x8b\xf0\x28\x75\xe1\x4d\x78\x3a\x61\x8b\x9b\x67\x17\x06\x12\x7b\x32\xb2\x4c\x23\x16\xb1\x88\xee\xbf\xfa\xd1\xec\x41\x56\xb6\x21\x8c\xb3\xb7\x22\xba\x67\x77\xd7\x17\x98\x0d\x9c\x14\xcc\x1c\x05\x7a\xe3\xf5\x7a\x3a\xdf\x6e\x05\x5f\x3f\x03\xa3\xd3\x50\xc1\x21\xcf\x31\xef\x64\xd6\x4c\x83\x08\x10\x05\xf9\x92\xe6\x90\xa4\x5c\x1a\x00\x82\xf1\xc2\xca\xd0\x80\x23\x9e\xe9\x2d\xa8\xce\x94\x45\x20\xd5\x96\xf2\xa5\x48\x3b\x18\x17\x33\x15\x2f\x6c\x9c\xe4\x58\x30\x4f\xa3\x2c\xeb\xc7\xa0\xa8\xa3\xcd\x63\xe0\xc6\x62\xbd\xa5\x2f\xb2\xfb\x9f\x74\x40\xaf\xa1\x42\xe2\x67\x78\xd7\x73\x0d\xe9\xdd\xab\x64\x6d\xa3\x6d\xc9\x8a\xb4\x71\x30\xa1\x1f\x54\xe0\xcd\x79\x69\x4a\xfa\xa8\x62\x82\xe9\x39\x12\x33\x63\x05\x09\xf2\x9e\x78\x5c\x45\xd8\x04\xa7\x94\xaf\xc1\x37\xa0\x0b\xc1\x63\xa6\x56\xe4\x4d\xcc\xb2\x34\x01\x4a\xdf\x18\xd9\xc3\x81\x3d\x43\x57\xd1\xf1\x61\x69\xb6\xb1\x01\xc9\xc7\x47\x0b\xc4\xeb\x8d\x37\xfa\x20\x97\xe9\x57\xd5\xc9\x5d\xb7\xa9\x8e\x55\x81\x73\xf9\x48\x87\x3e\xa1\xfb\xbd\x69\xeb\x54\x2d\x61\xa0\xba\x41\x71\x3d\x07\xb4\x39\x9d\xf2\x24\x1e\x73\xbd\xdb\x31\xb9\x72\x3f\xed\x6b\xe0\x95\xf5\x74\xb8\x9a\xec\x34\x33\x22\x5c\x0f\x23\xf8\xb5\x34\xf6\x7d\x6f\x6d\x08\x10\x6a\x17\x21\x74\xd6\x78\x41\x72\x03\xb0\x2b\xdc\x71\xdc\xf1\xac\xae\xf6\xe5\xa8\x89\x6e\x12\xa3\xec\x19\x4b\xcf\xa5\xd2\x3f\xc9\x47\xb0\x5b\xe0\xce\x75\x14\x17\x63\x38\xa3\xed\xd4\x21\xc6\xd7\x8c\xa7\x9f\xc4\x4a\xf2\xc5\xa0\x19\xad\x8f\xbb\xdd\xc5\xc7\x0c\xf9\x73\xec\xa8\xb2\x50\xde\xe5\x0f\xfd\xb9\x00\xd2\xd0\x30\xad\x0b\x8e\x8d\x8b\xb8\x03\x2e\x60\x6d\x30\xbb\x35\x47\x80\x50\x47\xc1\x60\xb3\x5c\xd8\xe0\xd1\x4e\x14\x2e\xb9\x3f\xb5\xaa\x60\x10\x1b\x71\xbd\xae\xb2\x9b\x58\x02\x03\xc7\x48\x05\x91\x0c\xb2\xf7\x22\xb5\xcd\x94\x04\x6c\x0a\xa6\x2a\xcd\x25\x15\x6e\xb5\x9d\x5d\x78\xa5\x92\xef\x36\x21\xaf\x16\x66\x4f\x08\xad\xd2\x07\x8a\xa3\x05\x12\x04\xa0\x0a\x67\x1a\x78\x66\x1e\x08\xe6\x39\x0c\x01\x5e\x3a\xde\x01\x0e\x5e\x13\x38\xce\xc5\x3a\xd1\x85\x08\x53\x04\xc3\xdf\x3f\x99\x16\x65\xe5\x05\xdd\x37\xf4\x9d\x5a\x94\xfb\x4c\x61\xb3\x6b\x47\xb4\x67\x97\x89\xf8\xc2\xfd\xae\x7f\x31\xd4\xb2\xb8\xfd\x21\x51\xb9\x05\x70\x0d\xe0\x13\x40\x23\xdf\x93\x76\xe2\x01\x6e\x92\x88\x89\x87\x7b\x54\x9b\x99\xa2\x75\xc9\x73\x2e\x0b\x21\xf4\x5c\x52\xf4\x11\x79\xcb\x42\x6a\x8e\x1a\x1a\xce\x19\xb8\x91\xd2\x05\xd2\x00\xc1\x4f\x56\x3c\x49\xcb\xbc\xf3\xcd\x89\xab\xf2\x20\xee\x81\xbe\x51\x3a\x83\x62\x59\xdb\xa4\xb9\x2c\xd6\x60\x17\x39\xea\x8c\x7a\xec\xb0\x9a\xe4\xd9\xd1\x05\x7b\xe4\x0e\x9f\x6f\xe7\x70\xec\x48\x6c\xfd\x49\x2f\x32\x35\xe2\xc4\xfb\xf3\x4f\xfa\xa3\xea\x48\x09\xd6\x9f\x1b\x8e\xb1\x9e\x18\xfa\xe7\x2e\x39\x05\xae\xef\x21\xfc\xb4\xef\x3d\x3e\x88\x92\x71\x6f\x90\xaa\xf3\xec\x82\x55\xbb\xe1\x32\x4e\xcd\x3b\x95\x17\xb5\x1b\xc8\x83\x7d\x8d\x5d\x5c\xd8\xc3\xb1\x3b\xb3\x0b\x12\x25\x16\x51\x23\xcb\x6e\xdf\x38\xd5\xd2\xf3\x7a\x01\x75\xb5\x5a\xaa\x49\x73\x6d\xc9\x1a\xfe\x66\x27\x11\x53\xb7\x61\xbb\x97\xe0\x2a\x59\x7f\x07\x8f\xac\x0f\xcd\x93\x32\xa2\xad\x48\xf7\x97\x43\x7e\x1f\xb9\x19\x21\xc9\xc6\x1c\x66\x21\x39\xf1\x5c\x92\xc6\x31\x46\x5e\x21\xe4\x86\x5c\x54\x9a\xfd\xe0\x32\x2f\x7f\xf8\x47\xcb\x44\xb4\x63\x2b\x18\x6b\xa0\xfb\x52\x51\x54\xe6\x10\x16\x25\xd7\x0d\x13\x78\x37\xe9\x51\x24\x1b\x70\x23\x3b\x30\x0b\x9a\x4f\x6d\xd6\x83\xf3\xd5\x55\x3a\x75\x0b\x2e\x1a\x54\x6b\x76\x77\x21\x89\xf0\xe4\xba\x60\xba\x10\x59\xeb\xa9\x54\x31\xba\xaa\x82\xe4\x47\x98\x5d\x5e\x0e\x7d\xa0\xad\x3b\xe2\x8c\x9e\x05\xcf\xe9\x3f\xdd\x5c\x5d\xb2\x8c\xef\x00\x17\x56\x28\x52\x92\x07\x32\xc6\xfa\xfe\xdd\x37\x03\xd5\xce\x57\x37\x1b\x8e\xa9\x05\x98\xb6\xfb\x6e\xa9\xc6\xa6\x0d\x05\x6b\x86\x96\xa4\xd9\xca\xb9\x4a\x4f\xb2\x94\xcb\x00\xfa\xab\xa7\xac\x56\x7d\x18\xeb\x75\x51\x1f\x42\xd3\x40\x03\xc0\x9d\x42\x6b\x21\x2f\x5b\xc1\xa1\x55\x8d\xf5\xa3\xc2\xbb\x9d\x67\x44\x2f\xe8\xed\x03\x4a\x1b\xf0\xc8\x6c\x13\x64\x16\xb0\x21\x6b\x87\x7a\xe0\x1a\x00\x89\x23\x26\xaa\x5f\x10\x7e\x2e\xad\xde\xaf\x7a\xd4\x2c\x46\xee\x85\x32\xd1\x1b\xf0\x4f\x62\x40\x00\xc0\x41\x74\xbe\x20\x72\x21\xe7\x52\x9b\x09\x05\x9f\xa6\x78\x10\xe4\xd8\xa8\x04\xe3\x2e\xde\xbe\x77\xf1\x7d\x9c\x24\x92\x64\xeb\x18\xfa\xc0\x30\x3b\xe6\x01\xd3\xaa\x50\xbe\x9f\xd8\xff\x03\xcf\xfa\xb2\xc6\x8e\x2e\x71\xdf\x2c\x39\xe6\x99\xba\xd5\x09\x5a\xad\xa0\xd2\x54\x49\x1d\x0b\x47\xef\x4e\x1e\x79\xfc\xb4\x92\x3f\xef\x17\x15\x18\xfc\x08\x1b\x96\x09\x38\xe2\xec\x09\x48\xe0\x1c\xb6\xc6\xd9\xcb\x66\x97\x83\x06\x0e\xb0\x57\xa1\x27\x6d\xca\x6e\x84\x60\x9f\x60\xa4\x4c\x65\x9f\x48\x63\x0d\xe0\x82\x05\x4f\x5a\x25\x70\xe0\xdb\x17\x72\xa5\x8e\x3b\x0c\xf2\x75\x03\x8e\x76\xd4\xa8\xb4\xb7\xf3\x58\xc0\x1b\xa4\x32\xca\xe7\xcd\xbf\x6f\xed\xd7\x1e\x78\xdb\x47\xff\x26\xa7\xac\x3c\xdb\x52\x73\x3f\xc3\x14\x1f\xc2\xf0\x54\x5b\x24\xa6\x97\x13\x64\x2d\xbe\x97\xea\x51\xa2\x2d\x40\x35\xb1\x97\x66\xff\xc1\x05\x86\x0e\x54\x34\x0b\x4a\x3c\x0d\x5f\x01\x8d\xf2\xcc\xfd\x9b\xdd\x60\xac\x08\xdb\x0c\xe2\x28\x1a\x8c\x1f\x92\x35\x81\xd3\xfc\xe5\x6c\xc2\xde\x4c\xd8\xd9\x84\x4d\xa7\xd3\x57\x13\x54\x6e\xa6\x16\xe1\x4f\x10\x39\x56\xf0\xb5\x29\x9b\xe4\x22\x56\x41\x05\x20\x80\x64\x2e\x2b\xcb\x16\xc6\xfd\xb7\x02\xcf\x83\xed\x02\xe6\x30\x52\xc2\x05\xc5\xd5\xa3\x8d\x4a\x7c\xa3\x00\xa2\x29\x22\x95\x5b\x90\xa7\x2e\x54\x6e\x01\x6b\x0f\x3c\xe7\x89\x84\xd4\x6e\xde\x84\xeb\x52\xcd\x01\xb9\xb3\xf8\xc2\xb7\xd0\xff\x44\x3a\x7e\x4b\x33\x4c\xb7\xae\xfd\xc5\x2e\x23\x87\xf4\x63\x9e\x14\x85\xb9\x9d\xf5\x5c\xde\xb0\xd7\xff\xc2\x66\x59\x96\x0a\x36\x63\x7f\x63\x6f\xb8\xe4\x92\xb3\x37\xec\x6f\xec\x8c\xcb\x82\xa7\xaa\xcc\x04\x3b\x63\x7f\x33\xc3\x66\xca\xbb\x54\xe6\x3a\xdc\x4d\x18\x67\xb2\x4c\xf1\xd6\x7f\x69\xc1\x60\xaf\x5c\xbf\xb8\x9f\x9d\xa5\x28\x1e\x85\x90\x4c\xab\x2d\x5d\x85\x7f\x75\x31\x09\x9d\xc8\x75\x2a\x0a\x5a\x0f\x55\xd8\x1e\x56\x70\x02\x3d\x7d\x3d\x97\xce\x97\xf7\x57\xd3\xe2\xbf\xb2\xbf\xb1\xcb\x32\x4d\x4d\x93\xcc\x41\x63\x16\xd2\x6b\x66\xd3\x28\x84\x9c\x3e\x26\xf7\x49\x26\xe2\x84\x43\x22\x85\xf9\xd7\xe9\x2d\xcc\xf6\xa2\xf4\x9c\x79\xe1\x9e\x76\x82\x33\xc7\x1c\x3d\xcf\x92\x94\xed\xe4\x90\xec\xe4\xf7\xbc\xfc\xaa\x3f\x1d\x6f\x11\x79\xa6\x50\xda\x0f\x64\xb0\xa2\x58\x50\x28\xbb\x74\xd0\x11\x50\xbb\x6c\x6d\x59\x2d\x57\x41\x78\xa9\x1f\x7b\xc8\x82\x86\xd8\x93\xbf\x21\x07\x68\x17\x0d\x3d\x72\x1b\xca\x2b\x95\x34\x77\xb0\x25\x3d\xd5\xcf\xa0\xa8\x90\x53\x5c\xf9\xa5\x2a\xa2\x56\x19\x62\x95\x0c\x52\x9b\xab\x35\xf6\x8e\x7c\x17\x98\xa0\x66\xb6\x69\x92\x9e\x9a\xad\x7a\x7a\xa9\xa4\x79\xb6\xea\x64\x8d\xf4\x44\x00\x23\x42\x99\x36\x6b\x14\xdc\x56\x4d\xd6\x60\x0b\x80\x7d\x60\x9a\x84\xd0\xb6\xc2\x9c\x02\x66\x0a\xd2\xdd\x5c\x9a\x5f\xd0\x8d\x04\x30\xf7\xc4\xb1\xd8\x62\x6d\x56\xd7\x9e\xea\xa2\x03\x39\x28\xbc\x65\x81\xf5\xe5\xd0\x1e\xb1\xe0\x28\x65\xeb\x08\xaf\xf8\x65\xc0\xe0\x46\xa5\x59\x7a\x0f\x8c\x7b\x2e\x45\xaa\xe4\xda\xac\x8a\xae\x43\x40\x6d\x79\x72\x0c\xb0\x24\x6c\x02\x16\xd6\xd9\x02\x73\x59\xd2\x57\x68\x4a\xcc\x3d\x99\xc4\xfe\x7d\xaf\xcb\xa5\xb1\x23\x9c\x47\xd6\xdd\x86\xd4\xb9\xae\x84\xe2\xe3\xe2\xcb\x77\x5a\xe4\x40\xb3\x8c\x08\x07\xe7\xed\xc7\x8b\xd3\x93\x6d\x60\x8f\x86\x6d\xaa\x5e\x60\x6c\xbb\x2b\x84\xa2\x09\x8d\xd4\xea\x01\xeb\xf1\x5b\x62\x64\x87\x20\x67\xdf\xcd\x2e\xde\xd7\xbe\xd7\x44\xce\xb6\xc0\x6b\x6f\x2f\x3e\x9c\xbf\x5d\x5c\xdd\xdd\x36\xbe\x67\x4a\xa3\x3f\x8d\x55\xfa\xb7\xa3\xf7\x14\xf0\xc1\xcf\x28\xf7\xb2\x50\x2b\x9b\x49\x39\xfc\x4e\x6f\x08\xee\x0c\x43\xa9\x84\x24\xdb\xa1\x30\x4d\x73\xe1\x74\xe6\x83\xcb\x05\x45\x24\x86\x35\xb6\x3e\x60\x57\xf2\x1d\xfe\xfc\xa3\x4a\x93\xa8\x1f\xf4\x66\xaf\xab\x8d\x7a\x6c\x41\x11\x2d\x05\xa0\x40\xc9\xff\x43\x8d\x42\x0b\xbd\x10\x51\xe1\x23\x6e\xcd\xce\xfd\xaf\x06\xda\xec\x7f\x83\xa3\x47\xd9\x0d\x1b\x08\x70\xba\x18\x1e\xdc\xad\x40\xb0\x09\xbc\xf2\xe8\x6b\x85\x5c\x3a\x88\x6d\x47\x9c\x5c\xd0\x95\x91\x87\x03\xfa\x71\xa3\x52\xf3\x16\x93\x31\x91\x95\xce\x65\x26\xf2\x48\x01\x40\x05\xf3\xe0\x15\x8b\x36\x49\x1a\x7b\xf1\x96\x97\x80\xe8\x05\xdc\xdd\x2b\x92\xe5\x13\x2e\xc6\x6c\x8b\xef\xb9\x75\xed\xb2\xb3\x7a\xe5\xc7\x79\xa0\x9e\x0e\xa2\xd7\xb7\xec\x7f\x25\x28\x19\x0e\x05\xd1\x0b\xd5\xa2\x85\x66\xd0\x2b\xed\x19\xe5\xe1\x05\x45\xf1\x95\x15\xff\xb4\x0f\xa7\xa2\x36\xaf\xb4\xcc\xea\x43\x09\xa4\xb3\x88\xa2\x42\x00\x89\x16\xd0\x9c\xad\xe0\x68\x8b\x79\x0a\x48\x9a\xd4\xb9\xf4\xf1\xd1\x17\x3a\xb4\xcb\x5a\xe7\x19\x39\x55\x2d\x08\x70\xc2\x5e\x54\x3a\xfa\x02\x48\x49\xa5\x82\xfa\x28\x86\x55\x19\x1a\x58\xae\x13\x96\x14\x73\x99\x68\x5c\x99\xb9\x48\xc5\x83\x69\x5d\xe8\x2c\x26\xac\x8b\x7d\x3b\xdb\x6e\x03\x8e\x9c\xdb\xf4\x63\x27\x73\x0f\x9b\x30\x0f\xc9\x2d\x39\x38\xa6\x63\xa1\x8d\xdd\x08\xb2\x1c\xe2\x8b\xd9\x00\x09\xc4\x42\x10\xfe\x11\x0b\x69\xdb\x07\xa8\x10\xd4\xb2\x9d\xcb\x8b\x15\xe4\x80\x42\xe6\x69\x1c\xe3\x2b\xd4\x0a\x35\x38\xa6\xb1\x84\x9c\xc3\x8a\xde\xe4\x76\x22\x48\x55\x12\x77\x92\x78\x10\xf9\xae\x00\xa7\x2e\x8c\xab\x14\xbc\xd8\xb0\xa4\x98\x00\x45\x9c\x3d\x29\xe7\x92\xc7\xa4\x54\x4e\xc5\x99\xa1\x81\x75\xdf\x33\xcf\xf4\xf9\x52\x3d\xf4\x19\xb6\xc7\xa2\xbe\x70\x57\x67\x29\x97\x0b\xbc\x41\xbe\x01\xee\x2b\x10\xfc\xec\x0a\x75\x96\xcb\x85\xa3\xb5\x79\x92\x76\x06\x9a\xd0\xa1\x0c\xaf\xb1\x63\x6d\x45\x13\x5c\x0c\x9e\xd6\xda\x3e\x4f\x9c\x9f\x86\xd0\x05\x39\xb3\x11\xd8\xe1\xa7\x80\x87\x84\xf1\x1a\x12\xc1\xae\xd6\x7d\x98\x30\xbb\x02\xbe\x57\x7c\xd2\x90\x99\xaf\xdd\x21\xf5\x69\x1f\x0f\x8d\x69\x58\x88\x07\xc1\x63\xf6\x34\xeb\x79\x21\x32\x9d\x7e\x94\x26\x54\xc6\xf6\x36\x08\xf7\x61\xf2\x84\x40\x3f\x9c\x73\xf3\xb4\x0b\xba\x86\xef\x30\xd5\x82\xad\x7c\x4a\x1f\x35\x9c\x53\x43\x3d\x25\x3e\xf7\x1a\xda\x35\x65\x17\x92\x59\x73\x6f\xc2\x5e\xe0\xc2\xd2\x2f\xc8\x05\x49\xaa\xc0\x14\x3b\x8f\x69\xf7\x50\xb6\x6a\x1d\x8a\x81\x39\x03\x7e\xbb\x61\x24\xa8\x97\xda\xf0\x59\xc7\xe5\x4d\x02\x39\x0b\x87\xa4\xa5\x63\x14\x71\x89\x05\xd0\x25\x89\xcf\xee\x1d\x1a\xed\xca\x7b\xb3\x7d\x87\x6d\xbc\x8b\xbd\xb1\x3f\x34\x43\x94\x95\x74\x9f\xda\xcf\x99\xca\xe7\xd2\x96\x46\x2e\x49\x8d\x5a\x4a\xf5\xa2\x02\x08\x35\xd9\xfc\xc1\x4a\x05\x10\x83\x95\xcf\x02\x55\x36\xcf\xbf\x5a\x3f\x05\x00\x14\xb1\x14\x5e\xcf\x7c\xca\x66\xbe\x36\x63\x78\x98\x05\xbe\xc5\x6b\xbe\xce\xd1\x98\xa6\x66\x50\x92\xc2\x52\x42\x06\xe9\x0d\xba\x04\x62\xd3\x55\x69\x0e\xa3\x80\xfd\x75\x2e\xcd\xe0\xb1\x55\x02\xb8\x5f\x1a\x97\xb9\xfc\xa0\xb4\xcd\xa6\xd7\x7e\x3c\x2c\x86\x94\x86\xed\x85\x53\x11\xa3\x3f\xbc\x85\x4b\x9b\x7c\xfe\x35\x89\x7f\xc8\x6b\x21\x4a\x8c\x9d\x2a\x73\xdf\xa9\x88\xcb\xb9\xfc\x0f\x33\x3c\xa8\x64\xed\x64\xe0\xd5\x0a\xb7\x30\xcc\x20\x04\x4b\x3e\x61\xa1\x2f\xff\xf1\xd5\xa7\x57\x88\x43\x2f\x35\x08\x37\x4e\xaa\x17\x88\x23\x02\x2f\xd3\x14\x22\xd1\xb6\x07\x8e\x8c\xc2\x57\xc1\xfb\x60\x39\xf4\xa8\x5b\xc8\xaa\x89\x31\x64\xa3\xf7\xad\x60\xef\x7c\x9e\xb1\x88\x17\xd1\xe6\xc4\xda\x72\x74\x8c\xd9\xdb\x8f\xa6\x0f\x15\xdc\x8c\xa5\xd5\xce\x85\x6d\x1e\x9c\xf9\xd6\xb1\xf3\x55\xd6\x8b\xe9\x02\x00\x6b\x6e\xeb\xc2\x30\x8e\x3c\x14\x17\xa7\x17\x62\xf7\x76\x9e\xfb\xba\x95\x65\xf3\x2f\x4e\xf2\x92\x4b\xbe\x15\x31\x7b\x01\x19\x53\x2f\xec\xe4\xcf\x65\xb6\x9c\xa6\xbb\x55\x41\x14\x4f\x66\x50\xa6\x20\x60\xb4\xe7\x96\x5b\xc4\xcd\x67\xd2\x9e\xc1\xee\x7c\x68\xb5\xdb\x3a\x6e\x6c\x5c\x4d\xc3\x0d\x16\xf4\x71\xb9\xd1\xb9\xa9\x42\x84\xaa\x4c\xea\x5c\xdf\x4f\xd8\x32\xe7\x12\xb4\x27\xe2\xd0\xa8\xf2\xbb\x13\x1e\xcf\xc8\x9f\x64\x53\x28\x24\x4f\x77\x80\x1d\x9f\xcc\x25\x92\x4d\x01\x2b\xf1\x2e\x4a\x93\x88\xad\x73\x9e\x6d\x6a\x76\x90\x78\x10\xb2\x00\x09\xd3\x6b\xc1\xf5\x71\xd1\xfa\xbc\x5e\x02\x1b\x1c\x4f\x99\x49\x78\x7d\x70\x59\xa3\x07\x85\xe6\x75\x5c\x2d\x00\xd7\x12\xf1\x62\x1c\x35\xc8\x5e\x02\xcb\x0a\x2d\x1a\x71\xf4\x40\x04\xd2\x74\x8e\xd9\x5a\xf7\x85\xbf\x71\x5c\x89\xb5\xc2\x82\xff\x8f\x0d\xd9\x3b\x16\x8c\xa3\xb8\x0c\x2f\xaa\x56\x24\xf7\xf4\x1e\xde\x73\x8d\x09\x40\xe4\xa9\xb0\x60\x61\x77\x70\x4c\x48\x62\x0e\x78\xce\xd8\x5f\xca\xa5\x4a\x2d\x51\xdc\xc5\x5b\xa6\x72\xd0\x68\x28\x14\xfd\x29\x89\xbb\xac\x83\x44\xc6\xe2\xcb\x51\x6c\x0d\xfd\x17\xbd\x35\x9b\x4d\x35\x81\x14\x40\xbd\xb3\x70\x3a\xe5\xc2\x5c\xc2\x85\x7d\x19\x37\xbe\xa5\xeb\xc8\xc5\x59\x5a\x6c\x00\x4e\x88\x40\x76\x3f\xa8\x5b\xbe\x63\xd1\x86\xcb\x75\xe0\x9a\x00\x74\x97\xc8\x54\x8e\x5a\x86\x0f\x40\x8b\xa6\x72\x9b\x0d\x4b\x39\x9e\x84\xa6\x77\x81\x04\x04\xb1\x2a\x9b\xc8\xc9\xd7\xeb\x5c\xac\x81\xa0\x60\x2e\x2b\x59\xea\x40\x09\x67\x65\x14\xb0\x9e\xbe\x24\xdf\xa7\x61\xca\xe8\x7a\x0d\x16\xf9\xce\xa5\x48\x92\x10\xa8\xdf\xcf\xf5\x61\x9d\xb0\x44\x4c\x27\xec\x47\x0f\xdc\x15\x91\x92\x2e\xc7\xb2\x23\xc1\xae\xe6\xf2\x67\x7b\x9e\x0e\x4d\x4a\x8d\xf6\xb6\xc3\x67\x0d\x39\xd1\xd6\x45\xd3\x9b\xa4\x5a\xf0\xa2\x1c\x71\x07\x91\x64\xf4\x99\xf9\xf1\x0d\xfe\xb6\x17\xdb\xce\x33\x73\x6d\x58\x3a\x23\xf3\x7d\x73\x73\x9a\xba\x3d\xdd\x71\xdb\x58\xef\x75\x20\xa7\xaa\xdb\x81\xfc\x14\xa6\xba\xe5\xac\xd8\xef\x43\x4e\x3b\x78\x18\x7a\xfa\x34\xd6\x45\x6c\x41\xbe\x04\xdf\xd7\xf5\x67\x6c\xcb\x09\x90\xe5\x2a\x2e\x23\x11\x9b\x9d\x0b\xef\x21\x44\xc4\x38\x3a\x88\xca\x21\xd9\x76\xd1\x56\x38\x6d\xe0\xd6\xfd\x5a\x3e\x87\x41\x34\xc2\x6e\xf8\xef\x3a\xfc\x0d\xd6\xe2\x6b\x1b\xf4\x70\x7f\xe2\x38\xe5\x23\xef\x29\x57\x7d\x95\xfc\x57\xe5\xc9\x3a\x91\xbc\x50\x39\x7b\xe9\x92\x3e\x5f\x39\xc5\xa0\x6e\x0b\x61\xe4\x31\x51\x19\x22\x3c\x26\xbe\xaa\xe1\xd1\xb6\x48\xcd\xb7\x74\xc1\xb7\x59\x48\xa7\xe9\xf4\x98\x69\x64\x52\x1c\x04\x67\x9b\x80\xef\x34\xd1\x3e\xb7\x6d\x2e\x29\xe2\x80\xf3\xa6\xf2\x90\x0f\xba\xf3\x6e\xce\xca\x62\x71\x20\x45\x0c\xfe\x78\x9c\xe3\x89\x60\x08\x1f\x78\xd6\x4f\xba\xc1\xc9\xe5\x80\xc9\x3d\x4e\xa4\xda\x5a\x2a\xd5\xf5\xd9\xaf\xb8\x30\x92\x04\xb4\x1e\x3a\xbf\x7e\x6f\x03\x45\xfe\x3d\x58\x79\x60\xc1\x44\x20\xfb\xa0\x06\xab\x02\x9f\xf6\xee\x58\x33\xb7\xb8\x65\xea\x38\x4b\x55\x19\x33\x3a\xd4\x28\x0c\x9f\x4f\xf1\x76\x04\x3a\xd0\xe9\xb4\x8b\x1b\x6d\xa4\x12\xac\x3b\x7f\xe0\x77\xed\x3b\x10\x3e\xeb\x38\x81\x7b\xb7\x3e\x8d\xec\xb3\x4d\x3d\x8d\x34\xcc\xbd\x3b\x8e\x47\xcd\xbd\xf3\x82\x03\x37\xd9\x38\x07\x29\xbc\x47\x93\x38\x85\xfd\x16\x06\x10\x5a\xd8\x53\x2b\x81\x59\x7d\x7f\x74\x75\x36\x83\xb9\xbf\xaa\x8c\xe7\x42\x16\x0b\xa8\x71\x5c\x65\x50\xc9\x47\xf8\x79\xc5\x60\x1a\xe4\x08\xfe\xb7\x5b\x85\xfe\x7d\x4b\x44\xf2\xef\xec\x86\x7c\x5a\xe6\xbc\x4a\x00\x44\xaa\xef\xd9\xcb\x04\x30\x47\x41\x2c\xd4\x4d\x5c\xc7\x74\x51\x87\x0e\x18\xbd\xa0\x43\x95\xa3\x7d\x50\x87\x7c\xeb\x21\x54\x0d\xa5\x90\x7b\x8f\x32\x67\xcd\x51\x6b\xff\x16\x90\x93\x5f\x56\xfe\x0d\x44\x92\x66\xfe\x52\xf6\x9f\x22\x57\x3e\x1d\x04\x9d\x55\x61\xc1\xbd\xf6\xfa\xe1\xba\xaa\x68\x8f\xa3\xa2\x67\x28\x69\x07\x7f\x21\xae\x17\xf4\x28\x2c\x77\xf6\x39\xd2\x45\x53\x2f\xa2\x45\x87\x7e\xc1\xa0\xa6\x04\x0f\xcf\x50\x8f\x20\xa9\x5d\x66\x76\x83\x9e\x82\xbf\x82\xd8\x14\xb7\x3c\x23\x7c\x1f\x41\x89\xeb\xc1\x9b\x29\x74\xe2\xdf\xfe\xfa\xef\xd3\x2e\xc5\x6c\x68\xfa\x58\xb8\x94\x6b\xfc\xbb\x3c\x11\x32\x86\x60\x2c\x8f\x9b\xd2\x3a\xb2\xe2\x9d\xaf\x1c\xcf\x66\x19\x3e\x49\xd6\x64\xfb\x55\xab\x17\xb8\x88\xbe\x42\x44\xdf\x1f\xb2\x6e\xfb\x56\xe2\x7d\x5d\xa6\x84\x5e\xc4\x3b\xc9\xb7\x4d\x8d\xf1\x67\x6d\xe3\x2e\x11\x69\x0c\x4d\xa4\xda\xf7\x45\xa5\x62\x11\xdd\x8f\xb5\x09\x0e\x26\x06\x17\xd1\x3d\xfb\xf9\xf6\xc3\x7b\xd4\x81\x4c\xf4\x5c\x5e\xf2\x22\x79\x10\x77\x79\xea\xc2\x01\xc4\xf4\x92\xa7\x76\x8f\x54\x89\x6a\x03\x52\x14\xcb\x6a\x6b\x0d\x87\x90\x47\x7c\xbb\x3b\x59\x96\xd1\xbd\x28\x4e\x73\x2e\x63\xb5\xc5\x6e\x9c\xea\x72\xb5\x4a\xbe\x4c\x0b\x9e\x77\x90\x8a\xa3\x1f\xe1\x1b\xda\xb9\x5e\x2a\xa6\xf0\x36\x2f\x9a\xba\x8f\x90\xf5\x49\x02\xc4\x15\xe3\x16\x9e\xc0\x39\xdf\x0a\x60\x85\x63\x55\x42\x7e\x28\x05\x13\x29\x41\xb7\x4e\x6b\x42\xd0\x2b\x52\xc5\xfd\x14\x18\xf7\x9f\x82\x56\x55\x95\x99\x6d\xa3\xbc\x16\xdc\x96\xdf\xe3\xfb\x70\x9d\x0b\xad\x27\x4c\x2b\x68\xf1\x5c\x5a\x2c\xba\xcd\x97\x02\xdc\x0b\xf0\x4a\xa6\x3b\x16\xa9\x2c\x01\xe9\x3c\xd7\xaf\x8d\x7a\x04\x3f\x7d\x98\x36\x08\x6a\xa7\xa5\x2c\x92\x94\xf1\x55\x41\x4e\x7c\x20\xd1\xb6\xa2\x39\x7a\x3a\x97\x10\x8a\x8d\xa0\xfb\x00\x91\x70\xe1\x17\xd7\x09\xcd\x56\x3c\x4a\xd2\xa4\x20\x6a\x1f\x48\x32\xe2\xa6\xbf\xe6\x3e\x30\x63\x99\xf3\x1d\x4f\xfd\xc3\x8a\xa7\xa5\xcf\x94\x3c\xd1\xa2\x87\x3a\x2e\xd1\x0b\x74\x10\x7c\x0d\xae\xaa\x24\x0c\x3e\x20\xcd\xee\xcc\x54\x7e\x59\xbb\x45\x7f\x17\xfe\x6f\xe5\x1d\xde\x67\x15\x1c\xf1\x20\x3f\xe6\x72\x6c\x3e\xb9\x9d\xd2\xac\xb7\x33\x92\xd8\xe2\x83\x2b\xa6\xb8\x67\x1c\x76\xd7\x23\xc4\x4c\x3a\x1e\xfd\x53\xab\x0f\xd4\xac\x61\xc4\xe8\xb5\x1b\x89\x5f\xc9\x9d\xd1\xc5\x7d\x3c\xa4\xf9\xd6\x1b\xff\x51\xa9\xf4\x58\x8f\x3c\x4f\xed\x81\xbf\x00\xc9\xcc\x63\x9e\x93\xb8\x00\x9c\x63\xeb\xe2\xad\x8b\xb9\x3b\x32\xe1\xaa\xd0\x0e\xc1\xc1\xa8\x09\x70\x90\x41\x23\x7a\x90\xe2\x3a\x6b\x01\x5d\x8c\x44\xbc\x43\x19\x88\xd6\xb2\xa6\x7d\x33\x44\x10\x70\x18\x70\xdf\x46\x20\x5c\xac\xb5\x70\x94\xb3\x0e\x05\x2e\x6b\x55\x39\xc7\x5d\x48\xcc\xea\xc6\x31\xa8\xdb\x8e\x27\xca\x6a\x9b\xfb\x93\xac\xf8\xb9\x0c\x2c\x76\x64\x53\xb2\x29\x05\x6e\xd4\xda\xfc\x79\x95\x65\x78\xb4\x3f\xef\x18\xf6\xed\xde\x93\xf3\x6d\xa8\xa3\x05\x58\x90\x48\x6d\x97\x89\xb4\x29\xea\xe4\xe4\x86\xa7\xc6\xcc\x92\x1b\xba\x80\x84\x7d\x32\xa0\xba\x42\x6d\xec\x9d\x99\x13\xf2\x44\x86\x47\xd6\xbe\xe7\x78\xf8\xbe\x7b\x5a\xa2\xf0\x8e\x48\x63\xbd\x07\xe6\x02\x49\x1f\xf9\x4e\x83\xd6\xac\x30\xa7\xe2\x0a\x1d\xbb\xd5\xf6\x4f\x02\xf3\xc3\x12\x67\x92\x70\x7b\x49\x12\xd4\xd4\x97\x04\x79\x3b\x44\x6a\x55\x75\x3d\x1f\xd2\x0b\xdd\x3e\x38\xdf\x26\x56\x93\xf7\xc6\x6a\x30\x08\xfd\x3f\x23\x3c\xd3\xe3\x04\x3e\xd2\x17\x1d\x5c\x93\x68\x31\x12\x4c\x08\x12\xb7\x5c\x88\x7a\xc2\xb6\x3c\x91\xb4\x0d\x50\xb9\x2c\x16\xcb\x72\xbd\xee\x74\x91\x7e\xff\xb1\x96\xea\x3e\xf9\xbb\xf7\x85\xf7\x32\x7a\x3d\x85\xb7\xf8\xc2\xd6\x84\xee\x6b\xf3\xee\xfb\x3a\x0e\xe2\x6f\xe8\x8d\x6f\x0d\x89\x35\x16\xd1\xd3\x78\xe3\x2f\x86\x78\xe3\x2d\xb6\x0b\x52\xec\xe8\x39\x6d\xf1\x37\xbf\xb9\xe9\xbf\x8e\x9b\x7e\xd0\xa2\x40\x5a\x97\x45\x52\x35\xd0\x7b\x5a\x78\x20\x3b\x9c\xa3\x11\x85\x56\x91\x0a\xbc\x16\x32\xd6\x6c\xc9\xa3\x67\xa0\x8b\x83\xdb\xf1\x78\x7f\xe0\x1e\xf0\xcb\x8d\xda\x0a\x06\x55\x69\xd4\xbc\x60\x94\xc5\x38\x01\xb4\xaa\xe9\xa0\x47\x8c\x10\x1e\x05\xae\x53\x44\xae\xc4\xde\xa8\x7e\x29\xc5\x23\x33\xb7\xd5\x24\x84\xef\x05\xd3\x03\x62\x48\xaf\x8c\x75\x58\xc1\xfa\x3b\xca\x86\x5c\xac\x79\x1e\x43\x86\x09\x6d\xc9\x94\x47\xf7\xe6\xbf\xa1\x7d\x54\x23\x41\x0c\x2d\x2f\x3b\xc2\x5e\x7d\x69\x89\x8c\x72\x20\xe3\x22\x34\xa3\x6f\x1f\xfe\x5c\x33\x1e\xe5\x4a\xa3\xd3\xc8\x69\x88\x42\x86\x33\x18\xb0\x0f\x49\x5c\xf2\x14\x6b\xec\xf4\xb4\x8f\x85\xaf\xd5\x01\x47\x81\xdc\x4f\x13\xcd\x46\xd3\x81\x1c\x45\x30\x8c\xd3\xb9\x7c\xeb\x02\x26\xaf\xd9\x9d\x16\x84\x32\xd3\x96\x30\xb9\xb7\xa5\xcf\x66\x3e\x34\x30\x81\x9d\x36\x44\xcf\x00\x58\x90\x75\x30\x10\xba\x7b\x24\xf6\x90\x0e\x1e\x33\x29\xa3\xc9\x53\x2f\x02\xcd\x61\x3f\x2c\xf8\x4e\xc8\x05\x8f\x77\x21\x35\x5b\x22\x19\x44\xe9\x18\x8f\xb7\x89\x34\x9b\xc0\xea\xda\xb9\x9b\xc6\x52\x5c\x23\xe4\x18\xe4\x5f\xd2\xb4\x76\x08\x6a\x26\x85\x31\x2e\x79\x9e\xa4\x3b\x78\x4f\x64\xb9\x38\x09\xea\x09\xe6\x87\x32\x9e\x80\xac\x9b\x68\x44\x4a\x2d\x56\x65\x8a\xaf\x0e\x78\x97\xbb\x0e\xd0\x89\x74\x77\x31\x31\x06\x47\x41\xa2\x0b\x41\xc5\x28\x65\xf6\x14\xd9\x23\x8d\x68\xe5\xb8\x88\x9b\xa7\x0e\xcc\x01\xe4\xbe\x51\x8f\x36\xd5\xed\x91\x7b\x2c\x73\xd7\xed\xfa\x64\x51\x96\x7e\x3b\xd4\xbe\x00\xed\x39\x85\x83\x1f\x57\x42\x6b\xf4\x99\x88\xdd\xd9\x94\x48\xe8\x0e\xa9\x81\x7a\xcf\x75\xa9\x31\x63\xce\xcc\x25\xdc\x5f\xd6\xd1\x51\x75\x5c\x33\xd7\xbb\x44\x2b\xc9\xe6\xe5\xef\x7f\xff\x07\xc1\x7e\x0f\x29\x84\xf4\x1e\xc1\xf8\x18\x90\x07\x62\xe9\x70\x64\xbb\x0a\x04\x32\x0b\x36\x66\x84\xb5\x41\x54\x6d\xbe\x3e\x80\x3c\x79\xb4\x61\xba\x5c\x22\x82\x91\x53\x88\x85\x4b\xc7\xcd\xfb\x5e\x01\x18\x11\x6f\x76\xdb\xfa\xff\x25\x01\x05\xe4\xc7\x9f\xcb\x4c\x21\x7d\x34\x40\x3f\x97\x82\x6d\x79\x7e\x0f\x72\x87\xa4\x69\xcf\x78\xc1\x5e\x26\x62\x5a\x0d\x2f\xbc\xaa\xb4\x87\x02\x3a\x48\x0b\xcb\xf2\x52\x4a\xab\xdf\xc2\x8c\x61\xea\x7d\xfd\x93\xb9\x5c\x96\xe1\xdb\xb3\x12\x2c\xf0\x4b\x0b\x02\x06\x70\xd8\x2a\xe0\x0a\xa1\x46\x71\x1d\x68\xed\xb3\x01\x51\x83\xb9\x7c\xe2\xb0\xc1\x3e\x87\xdf\x47\xb2\xc1\xac\x33\x2f\xc8\x57\x80\xee\x86\x12\xa3\x30\x1d\xb8\xec\xc1\xc8\xf9\x08\x3a\xa3\x13\xf6\x73\xf2\x20\x26\xec\x26\xe3\xf9\xfd\x84\xbd\xc5\xf0\xdf\x9f\xd4\xb2\xcd\x87\xd7\x20\x94\x38\xda\x8f\x77\x98\x1b\xab\x8f\x68\xa5\xdd\xfa\xff\xb5\x41\x0c\xc0\xba\x62\xdf\xff\x33\x11\x79\x1d\x5c\x1f\x7f\xef\x9e\x88\x3d\x61\xea\xdf\xc0\x6b\x7f\x97\xaf\xe2\x7e\x9a\x8f\xdf\x85\xff\x6b\xcf\x2f\x6b\x71\x81\xed\x49\xa7\x5c\x2b\x2a\xed\xfb\x4a\x6c\x4e\xe2\xfa\xa5\xdc\xcc\x6f\x1e\xb6\x15\x28\x7d\x3c\x76\xa9\xed\x23\x40\xf7\xf4\x53\x3b\x5e\x67\xa9\xd2\x65\xde\xbf\xf9\xaf\xab\xad\xb6\xb5\xb7\x50\x7d\xc2\x62\xdb\x2e\x05\xb0\x16\x0c\x85\x9f\xe0\xd7\x16\xff\xa1\x96\x0b\xc0\x5a\x1d\xb7\xc3\xdb\x8a\xb3\xe2\x41\x2e\x22\x46\x4d\xf5\x37\xe4\x4d\x26\x80\x71\xca\x9b\xa2\x3e\x20\x50\x5b\x61\xce\x35\x32\x97\x96\x80\x1b\x33\x66\xf3\x5c\x00\x53\x70\x2e\x40\x13\x8b\x65\x3c\x77\x80\x07\x6b\x11\x05\x2f\x1f\x0f\x8a\x09\xb3\xdc\x20\x59\x95\xde\x5b\x4b\x21\xa4\x1b\xed\x31\xa6\x84\xb1\x0e\xea\xa3\x4f\x68\xb7\x47\xc1\x22\x4c\xa4\xe8\xd0\xef\x6b\xfc\x2e\x78\x0b\x82\xc9\xbd\x16\x45\x70\x9a\xd7\x4c\x8b\xca\xd6\xac\x44\xa8\xbe\x2b\xc4\x7f\x6b\x0c\xba\x46\xce\x55\x71\xa0\x0c\x8a\xe9\x3d\x85\xbf\xfc\x23\x2f\x36\xf8\xa0\xdd\xaa\x42\xe0\x99\x89\x2c\x41\xb8\x5e\xd0\xeb\xbc\x4c\xd5\x12\xc4\xa8\xcc\x27\x5d\x6f\xc3\x88\xb6\xf6\xa0\xa1\x6b\x4e\xd8\x90\x93\xc1\x9c\x26\x90\x69\x9b\x0b\x0d\x84\x2b\xcd\x28\xd5\x50\x7c\xf2\xb8\x47\x77\xb3\xb9\xe6\xd0\x7f\xdb\x78\x6c\x37\x19\xfa\xcd\xb6\x06\xb0\xea\xf9\x01\x19\x34\xe7\x61\xb6\xaa\x31\x0e\x88\xac\x98\xc2\xc0\xc8\x57\x5a\xeb\xaf\xd5\x3c\x9e\xcb\x19\x7e\x12\x5c\x02\xdc\x2b\xd1\x38\x3c\x28\xc9\x5b\xba\xfd\x87\xe9\xab\x6c\x16\x22\x10\xc9\x43\x30\xf1\xbe\x4c\x78\x0c\x4c\x20\xab\x51\x16\x49\x2e\x98\x04\x14\xc2\x5c\xea\x72\x79\xe2\x89\x49\xcc\x2b\xee\x01\xc8\x74\xb4\xc8\x38\x3c\x65\x80\xaf\xe8\xa4\xe5\x1a\x46\xcf\xa4\x57\x94\xb0\x04\x7e\x3c\xa5\xc3\x1f\x72\x25\x31\x33\xde\xf5\xdd\x95\x63\x1e\x6b\xf0\x8a\xb6\x70\x25\xbc\xec\xfa\xce\x0b\xd0\xbc\x81\x0c\xcc\x6b\x44\x51\x7c\xeb\x0b\x3c\x8c\x86\x0e\xbd\xba\x21\x9e\x36\x97\xff\xd7\xde\x0d\xdd\xa0\xe2\x11\x2b\xdd\x8c\x8c\xb9\xa2\x3a\xc1\xce\x95\xb6\xd9\x27\x64\x60\x04\x76\x37\xaa\xb1\xe4\xdb\x4a\xe5\x16\xd7\x12\x2a\x3c\x28\x4a\x97\x85\x4f\x1f\x12\x1d\xd0\x7d\x43\x6d\x37\x42\xb0\xd7\xb9\x58\xbd\xfe\x94\x8b\xd5\xc2\xce\xf4\x14\x3a\x34\x35\x3d\x6a\x92\x7e\x0f\x5c\x1c\x3a\x53\xb2\x9d\xfc\x70\x0f\x39\x69\xad\x4b\x58\x4e\xd0\xa7\x64\xc5\xbc\x10\xa0\xe9\x0f\x30\x40\x88\xb8\xce\x46\xde\x68\xd9\x57\xbf\xe6\xba\x90\x60\x03\xa0\x56\x1d\x02\x7a\x7f\xff\xd7\x5b\x65\xcc\x86\x5c\x6f\xb7\x55\xc8\x8c\x3d\xec\xb9\x74\x17\x5e\x37\x2e\xf4\xeb\xa2\xd3\x61\x02\x75\xc6\x1f\x25\xf1\xd8\x8c\x72\x3d\x0d\xbb\xd6\xda\xa5\xfc\xcd\xb5\xd6\xc0\xc0\xf9\x5d\x26\xad\xa7\x2f\x71\x6a\x73\x93\x40\xa8\x99\xa7\x69\xa8\xa9\xe0\x23\x6d\x73\xe9\xf3\x52\x8d\xd5\x9a\xa6\xd6\x85\x57\xb1\x37\x88\xb5\x28\x86\x84\x60\x31\xb1\xa4\x2b\x44\x57\x48\xf1\xb0\x93\x25\x07\x15\x50\xa7\x34\xb4\x6f\x37\x3f\xd5\x23\xf2\x3b\xcb\x8b\xde\x13\x79\xc6\x6a\x17\xf7\xa2\x01\x67\xde\xdb\xd6\xf6\x48\x47\x40\x29\x01\x9b\xd9\x9e\xb2\x11\xcf\x73\x8b\xf2\xa7\x5a\x99\x79\x2b\xad\x78\x54\x71\x73\x76\xb4\x73\x23\xa2\xfb\x4c\x25\x72\xf4\x59\x54\xa1\xb8\x80\xc5\x5e\x30\x5f\x9a\x7b\x1d\x0e\xba\x1c\x2b\xf6\x24\x76\x44\x03\xbc\xc2\x42\x43\x3d\x19\x1b\x67\x4e\x65\xb5\x7b\xd9\x3d\xb5\xff\x42\xf8\xbb\xe1\x19\x7c\xb1\x2d\xf1\xa1\xda\xad\xc2\x5b\x1c\x3b\x15\x26\x50\xde\xc8\xfe\x1a\x38\xd8\x9c\x55\x28\x0c\x5b\x87\x14\x5c\x90\xbf\x79\x86\x7e\xf3\x0c\xfd\x0f\xf7\x0c\x7d\x4d\xb7\x10\x60\x63\x9e\xd3\x27\xd4\x13\x20\x3f\x62\x3b\xba\x5a\x8f\x95\x1c\x47\xeb\x78\x12\x48\xe3\x06\x99\x8e\x4d\xa0\xbf\x25\xc2\x28\x40\x58\x3c\xba\x17\xb2\x33\x46\x6f\xe9\x8b\x3a\xf5\x93\x9f\x16\xc1\xd2\xc6\xbe\x14\xfc\xba\x1f\xca\xe2\xa1\x4e\x44\x1a\xdc\x46\x08\x62\xf6\x09\xd8\x9e\xa6\xe3\x27\x00\x1a\x53\xb9\x23\xb6\xd6\x94\x85\x87\xc1\x48\xa4\x49\x42\xb0\x54\x8d\x0a\x7a\x28\x26\xce\x56\xbc\xc8\x94\x4a\x5b\xa1\x71\x4f\x3a\x80\x8d\x44\x99\xa1\x83\x77\x81\xc6\xa8\x0e\x01\x63\x76\x14\x7d\xd2\x85\x4f\xd1\xc0\x7c\x0c\xd0\xc2\x80\xd5\x14\x97\x90\x4b\xe9\x87\x63\xea\x33\x9c\xb8\x73\xb8\x10\x46\x6c\x29\x22\x0e\x3a\x90\x16\xbc\x17\x71\x97\x7d\x12\x92\x22\x35\xd2\x41\x74\xb3\x9e\x8e\xa8\x25\x94\xbb\x48\xda\x84\x2f\xc6\x6e\xae\x9a\x85\x60\xa1\xe5\xd8\x72\x8b\x24\xb1\xb4\x8b\xfb\x64\x3f\x2d\xc7\xf4\x22\x4a\xb9\x1e\x68\x58\xb7\x9e\x3b\x17\x54\xd0\x19\x94\x33\xfc\x20\xfd\x19\xd2\x71\xb6\x03\x91\x3b\x73\x39\x73\xb2\x97\x1e\xfb\xe5\x90\x7b\x18\x2e\x45\xcc\x62\x63\x6a\x90\xcb\xd1\xbf\x5c\x26\x4c\x97\xd1\x06\xd8\x2a\xab\xe7\x54\x78\x6e\x35\x77\xec\x64\x2e\xcd\x83\x08\x5c\x2d\x5b\x0e\x79\xf1\x8f\xc6\x58\xd5\xc9\x7f\x0a\x07\xcf\x22\xf2\xae\x10\x91\x85\x0f\x27\x25\x5b\xd1\x6b\x96\x38\x14\x01\x16\x1e\x53\x52\x66\x31\x2f\xc4\x74\xee\xd1\x36\x09\x7a\x3a\x2d\xca\x83\x4c\x66\x1d\x76\x2c\xc4\x31\xd6\x4e\xda\x34\x59\x89\x68\x17\x35\x74\x80\xfa\x69\x22\x7e\x7b\xb6\x7d\x5f\xcf\x36\x64\xd9\xc5\x9c\xc1\x31\x43\x4b\x4d\xbd\xf6\x3f\x3f\x6e\x70\x05\x0b\x5a\xa2\x47\x8c\xf3\x57\x7c\x76\xb6\xd8\xc0\xe3\xec\xf9\xc1\xef\xa0\xfe\xeb\xcc\x3f\x6c\xfd\x65\x1d\x50\x20\x34\xcc\xc2\x30\xb8\x58\x84\x4b\xc7\x18\xb4\x83\xc3\xfa\xdd\x2c\x33\xdf\x15\x38\x69\xc8\xc3\xd5\x58\xdc\x0e\xae\x74\x69\x2d\x6d\x29\xf0\xbe\xeb\xb1\xb8\x03\x56\x77\x5e\xbc\xd0\x6e\xd4\xab\x27\xa0\xc5\xfe\xbf\x4f\x74\xf1\x4b\x4d\x33\xf4\x30\xd1\xd1\x67\x33\x4d\x6d\x53\xb1\x99\x43\x2d\xaa\xeb\xaa\xcd\xa3\x56\x76\xcd\xc1\xe3\xc9\xaa\xc4\x99\x76\x8f\x79\x07\x7d\x72\xe3\xf5\x09\xaf\xa6\xc7\x9c\x67\x99\xc8\xed\x45\xde\xb0\xb5\x40\x72\x0d\x6a\x01\xcd\xc4\x8d\x40\xe1\xe6\xda\x2b\xd7\x1c\x25\xb5\xa2\xe1\x6b\x30\x74\xd3\xf6\x99\xbb\x2c\xd3\xb4\x73\xe6\xf6\x2b\x39\x5d\xde\xbd\x7f\xbf\xf8\x65\xf6\xfe\xee\xdc\x76\xbf\x55\x19\x29\xf8\x5a\xe7\x98\xb8\x96\xd0\x98\x78\xed\x45\x53\xad\xb0\xe2\xd1\xca\xf7\x1a\x9d\x5c\x65\x9a\x56\x55\xb3\xe6\xf2\x13\x95\x03\x30\x6d\x54\x04\x35\xe3\xc6\x7a\x07\xae\x5a\x3f\x7c\xed\x93\x29\xfc\x13\xfe\xf6\x84\xf9\x4e\xbc\x06\x6d\x47\xd2\x8c\x6b\x1f\x57\xca\x86\x39\x62\x3b\x20\x18\xb8\x6b\x3b\x3c\xb5\x2e\xe0\x61\xdb\xe3\x4e\x02\x23\xb9\x88\xad\x9c\xdf\x93\xec\x0e\x1c\xbb\x4f\xd5\x38\xb5\x3b\xcb\x63\x7c\xd2\x40\xb9\x13\x54\x73\x03\x8d\x6a\x2f\x78\x36\x97\xe8\x03\x35\x6d\x2a\x54\x77\x9b\xd8\x05\x99\xb7\x29\x97\xeb\x92\xaf\x8d\x75\x6b\x2b\x9f\xcb\x6d\xb2\xde\x20\x0f\x48\x99\x79\x7c\x32\x67\x12\xe8\x62\x6a\x4b\xa8\x86\x4f\x4e\xe4\x5c\x52\x9f\xe4\xda\x17\x8f\x58\xd9\x3f\xdd\xb8\xee\x10\x28\x1d\x0b\x22\x41\x3a\x39\x97\x38\xb9\xc8\x4f\x62\x23\x21\xf0\x62\xe1\x45\x7d\xe9\x72\x88\x5d\xa2\x68\xbb\x39\xd3\xd7\x10\x93\x99\x4b\x97\xa2\x8b\x9e\x23\xea\x43\x20\x5c\x82\x4d\xda\x7f\x9e\xd8\xc9\xb0\x7b\x82\xda\xd6\xbe\xea\x8f\xbe\x03\xcc\x86\x5b\x8c\x50\x9f\x6e\x1e\x63\x03\xbd\x85\x3c\x38\x38\xba\x78\x1b\x20\x2f\xbb\xbd\x35\xb6\x5f\xf8\x9d\x4e\x68\xab\x2a\x97\xe9\x88\x26\xe1\xf7\x7b\x1b\x85\x47\x72\x7f\xa3\x06\x3c\x87\xaf\x6b\x5b\xcb\x2c\xd3\xbe\x6a\x97\x4a\x75\xcc\xcb\x13\x06\x14\x2b\x8d\xa2\x1f\xec\x1b\x8c\x32\x2a\x0e\x59\x2f\x03\x92\x15\xeb\x43\x64\x4f\x9f\xbe\x06\xa5\x89\x3e\xa8\x39\xde\x7e\x1a\xdc\x22\x67\x21\xd0\x65\x37\xea\x84\xa5\x7b\xae\x72\xc0\x76\x1c\x93\x14\x4f\xb2\x32\xce\x09\x1e\x2f\x66\xf3\xa0\xc6\xb2\x59\xff\x13\xb7\x88\x26\x7e\xe6\x26\xd0\xc8\xa8\xcc\xb5\x39\x2e\xe9\xbc\xa3\x53\x5b\xe5\x8c\xcf\xa5\x4d\x55\xb3\xc7\xf1\xcc\x82\x73\x73\xf7\x57\x4c\x00\xcd\x90\x4f\x1f\x2c\xd6\x82\x29\x29\xec\x69\x38\x97\x56\xfb\x7b\xc2\xf8\x52\x5b\x49\x6d\x2e\x77\x4e\xe7\x3a\x71\xf4\x45\x5c\x32\x40\x3d\xef\x3f\xf3\x6a\x66\x40\xe5\x9e\xff\x9d\xf9\xbf\xff\xfe\xdd\xff\x0f\x00\x00\xff\xff\x7a\x2f\x54\xf3\xe3\xad\x04\x00") +var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\xeb\xb8\x95\x2f\x0c\xff\x3f\x9f\x02\x67\xcf\xa9\xea\xee\x44\xb6\x3b\xc9\x4c\xde\x94\xa7\x4e\xbd\x8f\xda\xd6\xde\xad\xd3\xbe\xc5\x97\xee\xe9\x67\x94\x52\x43\x24\x24\x21\x26\x01\x06\x00\xed\xad\x4e\xe5\xbb\x3f\x85\x85\x0b\x41\x8a\x94\xa8\x8b\x6d\x79\x37\x67\xaa\xd2\xde\x22\x89\xeb\xc2\xc2\xba\xfe\xd6\x3f\xff\x0d\xa1\x0f\xf2\x19\xcf\x66\x44\x7c\x38\x45\x1f\xfe\x78\xfc\xed\x87\x9e\xfe\x8d\xb2\x29\xff\x70\x8a\xf4\x73\x84\x3e\x28\xaa\x12\xa2\x9f\x4f\x93\x85\x22\x34\x4e\x4e\x24\x11\x4f\x34\x22\x27\x38\x4e\x29\x3b\xce\x04\x57\x1c\x3e\x44\xe8\xc3\x13\x11\x92\x72\xa6\x5f\xb7\x7f\x22\xc6\x15\x92\x44\x7d\xf8\x37\x84\xfe\x05\xcd\xcb\x68\x4e\x52\x22\x3f\x9c\xa2\xff\x31\x1f\xcd\x95\xca\x5c\x03\xfa\x6f\xa9\xdf\xfd\x1b\xbc\x1b\x71\x26\xf3\xd2\xcb\x38\xcb\x12\x1a\x61\x45\x39\x3b\xf9\xbb\xe4\xac\x78\x37\x13\x3c\xce\xa3\x96\xef\x62\x35\x97\xc5\x1c\x4f\x70\x46\x4f\x9e\xfe\x70\x82\x23\x45\x9f\xc8\x38\xc1\x39\x8b\xe6\xe3\x2c\xc1\x4c\x9e\xfc\x93\xc6\x7a\x8e\x7f\x27\x91\xfa\x17\xfc\x23\xe6\x29\xa6\xcc\xfc\xcd\x70\x4a\xfe\xe5\xdb\x41\xe8\xc3\x8c\xa8\xe0\x9f\x7a\xb6\x79\x9a\x62\xb1\xd0\x2b\xf2\x91\xa8\x68\x8e\xd4\x9c\x20\xd3\x0f\x72\x4b\xc4\xa7\x08\xa3\x53\x41\xa6\xa7\xbf\x08\x32\x1d\xbb\x85\x3e\x36\x0b\x7c\x01\xa3\xb9\x49\x30\xfb\xe5\xd8\x2e\x13\xb4\xcc\x33\x22\x60\x6e\xc3\x58\xb7\xfe\x89\xa8\x3e\x34\x5b\xbc\x1f\xbe\x2d\x88\xcc\x38\x93\x44\x96\x86\x87\xd0\x87\x3f\x7e\xfb\x6d\xe5\x27\x84\x3e\xc4\x44\x46\x82\x66\xca\xee\x65\x1f\xc9\x3c\x8a\x88\x94\xd3\x3c\x41\xae\xa5\x70\x30\x66\xaa\x7a\x63\xf1\x52\x63\x08\x7d\xf8\xdf\x82\x4c\x75\x3b\xff\x7e\x12\x93\x29\x65\x54\xb7\x2b\x0d\xfd\x04\xa3\x2d\x7d\xf5\xaf\x7f\xab\xfb\xfb\x5f\xc1\x8c\x32\x2c\x70\x4a\x14\x11\xc5\x8e\x9b\xff\xab\xcc\x45\xef\x91\xee\xbc\xd8\xc7\xea\xc0\x2b\xb3\xbd\xc2\x29\xd1\x7b\xa2\x77\xca\x7e\x01\x7f\x0b\x22\x79\x2e\x22\x82\x26\x24\xe1\x6c\x26\x91\xe2\x4b\x6b\x40\xa1\x05\x4d\x5e\xd5\x27\x82\xfc\x23\xa7\x82\xe8\xbd\x52\x22\x27\x95\xa7\x6a\x91\xc1\x20\xa5\x12\x94\xcd\xc2\xa5\xf8\x57\xaf\xd5\xd4\x0c\x55\x6e\x30\x33\xf3\x41\xe3\xc4\x46\xac\xef\x5e\x89\x30\x43\x13\x82\xf4\x59\xa4\x31\x11\x24\x46\x58\x22\x8c\x64\x3e\x91\x44\xa1\x67\xaa\xe6\x94\xe9\x7f\x67\x24\xa2\x53\x1a\xb9\x35\x3b\x9c\xb5\x81\x3f\x57\xaf\xcc\x83\x24\x42\x0f\xfc\x89\xc6\x24\x46\x4f\x38\xc9\x09\x9a\x72\x51\x5a\x9e\xe3\x11\xbb\x9f\xeb\x75\x48\x27\x94\xc1\xc9\xd3\x6b\xe9\x28\xe4\xf7\x6e\xb9\x7e\x8f\x74\x7f\x28\x67\xf4\x1f\x39\x49\x16\x88\xc6\x84\x29\x3a\xa5\x44\x56\x5b\xfb\x3d\x87\xfe\x71\x82\x8e\x90\x5e\x67\x22\x14\xac\x37\x67\x8a\x7c\x56\x12\x1d\xa1\x84\x3e\x12\xf4\xd5\x05\x95\x0a\xf5\x6f\x86\x5f\xf5\xd0\x57\xe6\xbc\x20\xe0\x4d\x5f\xbd\xc2\x0a\xfb\xbf\xff\x16\x1c\x3d\x85\x67\xd5\x43\xf7\xa1\xaf\x4f\xf3\x9d\xb9\x1a\x8a\x16\xfe\xf6\x6f\x61\x3b\x76\xbf\x56\xf3\xdb\x82\xd9\x5a\x4e\xdb\x96\xbf\xc2\x32\x95\x59\xab\xd4\x3b\xb4\x2b\x67\xd5\xed\x56\x59\xab\x7c\x5f\xbc\x55\x4f\xe1\xa5\xf9\xeb\x2e\xcc\x15\x2b\xa0\x7a\x4c\x99\x39\x24\xfe\xcc\x08\xa9\xcf\x89\xa3\xde\x03\x61\x29\xbb\xf0\xda\x60\x66\x01\xbb\x75\x5c\x34\x58\x95\x03\x9c\x77\x42\x53\xba\x6e\x7f\x87\x2c\xd6\x22\x97\x65\x76\x2c\x4f\x27\x44\xe8\x65\x70\x6c\x0f\x66\x3b\xd1\x6c\x50\xe5\x82\x91\xb8\xc5\x34\xff\x91\x13\xb1\x58\x31\xcf\x29\x4e\x64\xd3\x44\x29\x53\x44\xcb\xb7\x95\xc7\x53\x2e\x52\xac\xec\x0b\x7f\xfe\x8f\x4d\x17\x42\xf1\x47\xb2\x6e\xff\x87\x66\x37\x23\x2c\x81\x0c\xd2\x3c\x51\x34\x4b\x08\xca\xf0\x8c\x48\xbb\x22\x79\xa2\x64\x0f\x5e\xd3\x32\x35\x11\x47\xfe\x06\x82\x1e\xdc\xcd\x9b\x4b\xf8\x05\x4d\xbd\x00\xc9\xc8\x67\x05\x2d\x8d\x18\xdc\xbd\xb0\x44\xe1\x8d\xf2\x02\x4b\xb9\x1d\xcd\x48\x2e\xd4\x78\xb2\x38\x7e\x24\x4b\xfd\x36\x52\x0e\x66\x08\x2b\x25\xe8\x24\x57\x44\xcf\x5b\xb7\xe1\xee\x4e\x60\x8f\xe6\x82\x6e\xc3\x1a\xde\x6e\xc2\x31\x15\x24\x82\xb9\x6d\x72\x60\xfc\x57\x7a\xde\x5a\x7f\x59\x98\xd9\x3f\x92\x05\xc8\x23\x35\x2b\xe0\xb7\x7c\xc4\x46\x0c\x1d\xa1\xf3\xc1\xdd\xd9\xe0\xea\x7c\x78\xf5\xe9\x14\x7d\xb7\x40\x31\x99\xe2\x3c\x51\x3d\x34\xa5\x24\x89\x25\xc2\x82\x40\x93\x24\xd6\x32\x87\x1e\x0c\x61\x31\x65\x33\xc4\x45\x4c\xc4\xcb\x2d\x63\xe5\x29\x61\x79\x5a\xb9\x57\xe0\xf7\x62\xf4\x95\x2f\xb4\x88\xe1\x1f\x95\x9e\xfc\x6d\x69\x81\x61\xc6\xba\xef\xa0\xb5\x57\x13\x6a\xa2\x39\x4d\x62\x41\xd8\x89\xc2\xf2\x71\x4c\x3e\x93\x28\x37\x77\xf2\x3f\xcb\x3f\x8c\xb5\x64\xca\x63\x52\xfe\xa5\xf4\x8f\x42\x14\xda\xf8\x53\xaf\xa5\x6e\xfc\x25\xe8\xb4\xed\xbe\x83\x5f\x68\x5c\xfb\x36\xfc\xb2\x66\x0e\xee\x9d\x15\x83\x75\xaf\x34\x8e\xca\xbd\x60\x25\xbe\xda\x77\x04\x51\x62\x31\xc6\x4a\x91\x34\x53\x1b\xea\xeb\x18\x25\x5a\xae\x5c\x25\x47\x5e\xf1\x98\x0c\x5c\x7f\xbf\x20\x23\xce\x92\x18\x4d\x16\x96\x6b\x4d\x89\x20\x2c\x22\xcd\x2d\xdc\x63\xf9\x58\xb4\xb0\x4e\x18\x2d\xf5\x27\x3f\x72\xa1\x3f\x7f\x0f\x02\x69\x69\xe0\xaf\x21\x93\x6e\x7b\xe2\xbe\x38\x0b\xc1\x96\xfc\xa3\xb3\x27\xec\xbe\x92\x6d\xad\x0f\x5c\x20\xb9\x90\x8a\xa4\x6b\xed\x10\xef\x67\x21\xec\x05\x71\xa8\x03\xae\xdc\x51\xbf\x81\x53\x5f\xbe\x71\xbb\xe3\xbd\xc1\x92\xed\xcb\x8a\x78\xe8\xf3\x74\x3e\x9c\xd5\x53\xbd\x73\xdb\x17\x38\x31\xde\xc5\x34\x4b\xb2\xe0\xbe\x07\xf9\x42\xe6\x86\xc6\xbd\x72\xab\x3d\x86\x01\xac\x51\x34\xcb\x76\x68\x7f\xfe\xf4\xa7\xa1\x85\xc6\x98\xe3\xd4\x9c\xca\xc0\x58\x85\x22\x2e\x8c\x2c\x18\xdb\xf3\x6e\x74\xcd\xfe\x7d\xff\x6e\x70\x7f\x8a\xfa\x28\xc6\x0a\xeb\x03\x2e\x48\x26\x88\x24\x4c\x81\x1e\xaf\xbf\x57\x0b\x94\xf2\x98\x24\x46\xe3\xfc\xa8\x25\x5f\x74\x8e\x15\x3e\xc3\x0a\x27\x7c\x76\x8c\xfa\xf0\x4f\xfd\x31\x95\x08\x27\x92\x23\xec\xc8\x8a\xc4\xae\x09\xcc\x62\xc7\x5a\x30\x8a\x78\x9a\xd1\xc4\xdb\xe0\xbd\x71\x85\xb2\x98\x3e\xd1\x38\xc7\x09\xe2\x13\xcd\x55\xb4\x86\x3c\x78\x22\x4c\xe5\x38\x49\x16\x08\x27\x09\xb2\xdd\xba\x17\x90\x9c\xf3\x3c\x89\x75\xbb\x6e\x94\x92\xa6\x34\xc1\x42\xab\xe0\x66\xb4\xd7\xb6\x2d\x74\x3f\x27\x7e\xac\x30\x2e\xbd\x9a\x29\x7e\x24\x12\x51\x85\x32\x2e\x25\x9d\x24\xc5\x99\x7f\x18\x22\x18\xf7\xd9\xc5\x10\xf4\xf9\x48\x21\x6e\x78\xa8\xeb\xdc\xda\x6f\x5c\x8f\x29\x66\x8c\x40\xc7\x5c\xcd\x89\xb0\xdd\xdb\x97\xdf\x5a\x35\x7f\xb8\xba\xbb\x19\x9c\x0d\x3f\x0e\x07\xe7\xcb\xba\xf9\x7d\xff\xee\x87\xe5\x5f\x7f\xba\xbe\xfd\xe1\xe3\xc5\xf5\x4f\xcb\x4f\x2e\xfa\x0f\x57\x67\xdf\x8f\x6f\x2e\xfa\x57\xcb\x0f\x2d\x59\xb5\x56\xf3\xc3\x91\x6d\x78\xb6\x3a\x9b\xe6\x4b\xd9\x34\x7b\x5f\xae\x51\x73\x4a\x13\xd0\x41\x5b\x1b\x34\xbd\x0d\xc1\x7e\x89\x32\x2c\xa5\x91\x8c\xcc\x08\x8e\x47\xec\x92\x0b\xcd\xc0\xa6\x5c\xf3\x08\x2d\x3d\x29\x91\x47\x8a\xb2\x99\xff\xe8\x14\x8d\xf2\x6f\xbf\xfd\x53\x74\x41\xd9\x23\xfc\x45\x0e\x71\x71\x3a\x8b\x6f\x67\xf1\xfd\x6d\x59\x7c\xb5\xe8\x73\x12\x1a\x7a\xf7\x1b\x32\xa4\x85\x0b\x96\xe5\x0a\x44\x09\x9e\x2b\xfd\xa7\xee\x12\xc8\x63\x45\xe0\x50\x3b\x83\xe2\x27\xa2\xfc\x8b\x5a\xb4\x79\x0f\x76\xc4\x9f\xb8\x78\x9c\x26\xfc\xd9\x0f\xfc\x13\x51\x7a\xec\xb7\xb6\x97\x2e\x94\xa8\x0b\x25\x7a\xdb\x50\xa2\x83\x32\xe6\xbd\x3c\xf3\x2b\x5b\xfe\x0c\x07\x6c\xf0\x64\x35\x3a\xaa\x1a\xfc\x50\x81\x9b\xe9\x55\xb8\x66\xd9\x99\xb3\x86\x73\x96\x5e\x7e\x2f\xdc\xb3\x34\xe8\xd7\xe7\x9c\xbf\x09\x7f\x4b\xe7\x4e\xd9\x72\xa1\xde\x25\x83\x6d\x79\x77\xbc\x9a\x33\xe4\xe5\x19\xfe\x52\x6c\xc3\x26\xc1\x0c\x1b\x44\x2f\xb4\x0e\x57\x58\x13\x9f\x50\x1b\x90\x50\x17\x81\xb0\x1c\x72\x50\x1b\x63\xb0\x5b\x50\xc1\xb6\x77\x53\xfb\x30\x81\x4f\x44\x95\x5e\x7e\x2f\x77\x53\x69\xd0\xaf\x7f\x37\xfd\x46\xa3\x03\xba\x70\x80\x17\x5c\xba\x2f\xfd\x46\x3b\x5c\x87\xff\x6f\xc0\xc3\xdf\xb9\xf4\x37\x5a\xa3\x2f\xcb\x87\xff\xa5\x3a\xed\xdf\xa7\x97\xbe\x73\xcb\x77\x6e\xf9\xb7\xf0\x9f\xbc\x3f\xb7\xfc\xcb\xaa\xa7\xc5\xf1\x1a\x3b\x5a\xb0\xfa\x5a\x70\x28\xff\xd5\xc2\x49\x03\x7f\x39\x95\x6f\xd3\xa0\xf1\x46\x1d\xee\xbc\x18\xdf\x00\x8e\xd0\x2f\x96\x90\xd6\xa8\x73\x4b\xdf\xbd\x07\x75\x6e\x79\xd0\x2f\xaf\xc3\xbd\x19\xf3\x7d\xa1\xcb\xf3\x9d\xb0\x81\xcd\x6f\xcb\x2f\x58\x26\xef\x64\xf1\x97\xcf\xc6\x3f\x98\x09\xbd\x1f\xd9\xfb\x0d\x2e\xde\x96\xb7\xee\xde\x73\xb2\x6a\xae\xd9\xe0\x76\x5a\x97\x61\x55\xfd\x9a\x12\xf9\xc7\x77\x79\xdf\xbe\x46\x92\x55\x77\xe1\x76\x17\xae\x6d\xaa\xbb\x70\xbf\xe0\x0b\xf7\xe0\xe0\x6f\x0e\x26\x02\xb4\x0b\x22\xef\x80\x31\xba\x18\xf2\x3d\x2e\x4e\x17\x43\xde\xc5\x90\xff\xc6\x62\xc8\x77\xd1\x9e\xb6\xc5\xa2\x7c\x0b\x3d\xaa\x53\xa3\x3a\x35\x2a\xfc\xbd\x53\xa3\x3a\x35\xaa\x53\xa3\xbe\x70\x14\xd1\x4e\x87\x6a\xbf\x10\x9d\x0e\xd5\x7a\xa9\x3a\x1d\x6a\xc5\xe2\x74\x3a\x54\xa7\x43\xfd\xb6\x74\x28\xf2\x44\x98\x92\x90\x8c\x16\x6a\x14\x1f\x32\x2e\x9b\x35\xa1\x90\x3b\xd4\x68\x41\xd0\x66\x39\x29\x0c\x02\x97\x7e\x41\x73\x2c\x11\x8f\xa2\x5c\x54\xce\x40\x55\x0f\x3a\x13\x04\x2b\x02\x2d\xe8\x0f\xdf\x83\xfe\xb3\x3c\xdd\xd7\x8a\xc1\x9f\xf0\x78\x89\xda\xcd\x41\xa8\x7b\xb2\x5a\x1e\xd9\xdb\xd4\xff\x91\x93\x76\xea\xdf\x0b\x12\xb5\xc2\xf2\x71\xcf\x44\x5d\xca\xb5\xd8\x8a\xa8\xa1\x85\xf7\x42\xd4\xcb\xd3\xfd\xcd\x10\x75\xdd\xd4\x0f\x81\xa8\x9f\x6d\x1e\xff\x9e\x09\x7b\x09\x1e\x60\x2b\xe2\xf6\xad\xbc\x17\x02\xaf\x9f\xf6\x6f\x86\xc8\x9b\xa6\xff\xb6\x84\xee\x53\x24\x5b\x93\xf8\xbd\xa0\xb3\x99\x56\x33\x40\xc3\xd3\xa4\xb8\xbe\x46\x50\x91\x14\xb8\x96\xac\xfd\xab\xef\x81\xa4\xfd\x60\xcd\xd8\x7f\x33\xb4\xbc\x34\xef\x03\x21\xe2\x13\x41\x22\xfe\x04\xf5\xc2\xda\x11\xf3\x2d\x01\x0a\x06\x7e\x9d\x09\xf2\x44\x79\x2e\x93\xc5\x91\xc8\x19\x72\xcc\x1f\xf9\xe6\x8d\xb5\xfa\x99\x26\x09\xe2\x4c\xeb\x5f\x0a\x0b\xe5\x1e\x6b\xfd\x5b\xf0\x14\x4e\x45\x82\xa5\x42\x8f\x8c\x3f\x33\x34\xc5\x34\xc9\x05\x41\x19\xa7\x4c\x1d\x8f\xd8\x90\xa1\x5b\x33\x46\xc8\x1b\xe8\xa1\x5c\xea\xb3\x14\x61\xc6\xb8\x42\xd1\x1c\xb3\x19\x41\x98\x2d\x6c\x02\x6e\x41\x19\x88\x0b\x94\x67\x31\xd6\x8a\xef\x9c\x54\xa3\xf4\xfc\x18\xc1\x7c\x47\x25\xa2\x12\x91\xcf\x4a\x90\x94\x24\x0b\xdd\x87\xa6\x7d\xc5\x91\x5d\x1f\x33\x54\x9b\xce\x47\x84\xe0\x42\x42\xc6\xc1\x64\xf1\x2b\x66\x8a\x32\x82\x40\x51\x92\xc6\x34\x77\x84\x2e\xb8\x04\xb3\xcd\x0f\x7f\x91\x28\x4a\x72\xa9\x88\xe8\xa1\x49\x3e\x93\x5a\x53\xcc\x12\xac\xa6\x5c\xa4\x7a\x84\x94\x49\x85\x27\x34\xa1\x6a\xd1\x43\x29\x8e\xe6\xa6\x2d\x58\x03\xd9\x1b\xb1\x98\x3f\x33\xa9\x04\xc1\xbe\x77\xf7\x10\x7d\x1d\x3e\x33\x04\x20\xbf\xe9\x41\xda\x21\x4d\xb5\xba\x1b\x0c\xbf\xd8\x71\xb3\x27\xba\x11\x12\xa3\x09\x89\x70\x2e\xad\x87\x41\x89\x05\x22\x9f\xe7\x38\x97\xb0\x77\x7a\x7a\x36\x67\x23\xe2\x69\x96\x10\x45\x10\x9d\x22\x25\x28\x89\x11\x9e\x61\xaa\x97\xee\x8e\xac\x00\x41\xf7\x44\x6f\x37\xd0\x52\xfd\x2f\xa0\x7e\xa7\x5c\x10\x14\x13\x85\x69\xb2\xd2\xeb\x64\xbf\xed\xb8\xdc\x7b\xe2\x72\xe5\x0d\x3f\x08\x36\x67\x40\xfc\xf7\x70\x69\x33\x6b\xba\x8f\x70\xb2\xe3\xfd\x7d\x6b\x07\xd5\xd1\xf6\xfb\xa2\x6d\xb3\x6b\x87\x43\xdc\xaf\x16\x83\xdd\xbe\xa2\x45\x51\xcd\xe2\x5d\xd1\xf4\x6b\x84\x05\x74\x0e\xe7\xce\xe1\xdc\xb8\x32\xef\xd3\xe1\x7c\x30\x1e\xa3\xce\xe7\xfc\x42\x3e\x67\x2a\x3b\xa7\x73\xe7\x74\x6e\xbb\x40\x9d\xd3\xb9\x73\x3a\xbf\x5f\xa7\xf3\x4b\xe2\x3e\xef\x15\xdd\xf9\x5d\x89\xd6\x9d\x58\xdd\x89\xd5\x1d\x84\xb3\x9f\xda\xbe\x58\x98\xfb\xfa\x43\x4c\x12\xa2\x48\xb3\x3d\x8b\x88\x54\x6b\x0b\xe6\x7a\xa6\x4c\xcb\x71\x33\x41\xa4\xdc\x95\x21\xf9\x86\xdf\x27\x5b\xf2\xc3\xef\xa0\xe6\x3b\x3e\xd5\xf1\xa9\x6d\xa6\x76\x38\xa6\xd9\xe0\x30\xbf\x96\x6d\xd6\xf3\xdf\x2c\x6f\x96\xfe\x1e\x8c\x1b\xb2\xf0\x8b\x1a\x0a\xd7\x52\xbb\xe2\xfe\x70\x5b\x3a\xdf\x91\x1f\x9b\xbe\xde\x27\x33\x36\x63\xef\x38\x71\xc7\x89\x3b\x4e\xfc\xbe\x39\xb1\x3b\xc9\x6f\xea\x22\x33\x7e\xba\x71\x96\x60\x36\xa6\xb1\x3c\xf9\x67\xa1\xcb\xbf\x94\x87\x4c\x1f\xa8\xd8\xa4\x98\xfa\x94\x4e\xf1\x8b\xfe\x24\x29\x0c\xe6\x1e\x33\x73\x8d\x13\xcd\xd8\xd8\x6f\x12\xcc\x86\xf1\xbb\xf0\xa3\xd5\xce\xfe\x35\x7c\x6a\xbb\xf0\x71\xac\xc0\xd3\x81\x29\x33\x26\xbc\x22\xaf\xb6\x64\xa0\x3c\x8c\x13\xbe\x0b\x57\x0f\x26\x16\x30\x76\xc7\xaf\x83\x45\x39\xbc\x69\x77\x7e\x9d\x2e\x97\xb0\xf3\x5c\xb4\x9c\x70\xe7\xb9\x38\x5c\xcf\xc5\x5b\xb9\x23\x5f\xf9\x78\xbe\x96\x58\xd7\x3e\x08\xdf\x44\xab\x41\x50\x6b\x9e\x25\x1c\xc7\xab\x5c\x31\x85\xe0\x15\x82\xa3\xac\x8d\xc4\x2f\x3e\x7b\x0f\xc2\x5a\x31\xda\xdf\x58\x24\xdf\xf2\xc4\x0f\x45\x4b\x79\xc5\x50\xbe\x7a\x12\xdf\x40\x25\x79\x1f\xf8\xa9\xc5\x78\xbb\xd0\xbe\xce\xa2\xf4\xf6\x16\xa5\x2e\xb4\xaf\x53\x01\x0f\x4c\x05\xec\x42\xfb\xba\xd0\xbe\x4e\x41\x5e\x3d\xed\x4e\x41\xfe\x22\x42\xfb\x5a\x89\xda\x2f\x88\xbd\xb9\xbb\xd0\xdd\xc9\xdc\xee\xbd\x4e\xe6\xee\x64\xee\x2f\x54\xe6\x3e\x8c\x15\xee\x04\xee\x4e\xe0\xee\x04\xee\x4e\xe0\xee\x04\xee\xbd\x2f\x63\x27\x70\xbf\x66\x81\xce\x7a\xa9\x7b\x4d\x92\xcd\x7b\xf5\xe5\x74\xe2\x76\x27\x6e\x1f\xb6\xb8\x7d\x30\x13\x7a\x3f\x65\x1e\xdb\xcd\xa7\x2b\x52\xde\x15\x29\xef\x8a\x94\xbf\x78\x91\x72\xf7\x75\x8b\x8c\x0f\x7b\xb8\x14\x56\xb9\x34\x80\x8f\x82\xcc\xa8\x54\xc0\xfe\xdb\xc8\x2b\xeb\x13\x3d\xde\xab\x9c\xd2\xa5\x7a\xf8\xa7\x9d\xd4\xd2\x49\x2d\xbf\x51\xa9\xe5\x80\x62\xc1\x0e\x22\x63\x25\xc5\x2a\x9a\xe3\x49\x42\xc6\xde\xe8\x23\xdb\xea\xc1\x17\x54\x2a\x89\xa2\x5c\x2a\x9e\x36\x5f\x2e\x97\xae\x87\xbe\xef\xe0\x8c\xb3\x29\x9d\xe5\xe6\x6e\x31\xe0\x9c\xc1\x89\x2e\x24\xc1\x45\x46\xd6\x79\xaa\x6a\x5a\x7f\x17\xd7\x52\xfd\xd0\x5f\xeb\x76\xda\x44\x70\x2f\x8c\x7c\x56\xea\xd6\xb2\xd6\xf8\x76\x70\x77\xfd\x70\x7b\x36\x38\x45\xfd\x2c\x4b\xa8\xb1\xbb\x1b\x52\xa0\xbf\xea\x49\x21\x85\xe5\x63\xb1\x97\xc2\x90\xb9\xc1\xb0\x05\x43\xbf\x96\x8d\xd1\x11\x3a\xbb\x78\xb8\xbb\x1f\xdc\x36\x34\x68\x09\x05\xf2\x56\x49\x9a\x25\x58\x91\x18\x3d\xe6\x13\x22\x18\xd1\xd2\x8e\x45\xba\x2d\xcc\xff\xa6\xd1\xc1\x7f\x0f\xce\x1e\xee\x87\xd7\x57\xe3\xbf\x3e\x0c\x1e\x06\xa7\xc8\x51\x9c\x6e\x56\x8f\x4b\x8f\x22\x5e\x30\x9c\x6a\x0d\x44\xff\x50\x64\xca\xfe\x23\x27\x39\x41\x58\x4a\x3a\x63\x29\x01\x44\xe0\x52\x8b\x6e\xc0\x17\xfd\xef\x06\x17\xe5\x96\xe7\x24\x84\xdf\x45\x09\x9e\x90\xc4\xfa\x23\xc0\xc4\xae\x09\x3d\x80\x2a\x36\x8e\x8a\xdc\xac\xea\x5f\x1f\xfa\x17\xc3\xfb\x9f\xc7\xd7\x1f\xc7\x77\x83\xdb\x1f\x87\x67\x83\xb1\x95\x2a\xcf\xfa\xba\xdf\x52\x4f\x56\xf8\x44\xff\xc8\x71\xa2\xb5\x13\x3e\x75\x78\xbc\xe8\x79\x4e\x18\xca\x19\x50\x9c\x51\x79\xb4\x1e\xe4\x3b\xd5\xa7\xcc\xcc\xe8\xe6\xe2\xe1\xd3\xf0\x6a\x7c\xfd\xe3\xe0\xf6\x76\x78\x3e\x38\x45\x77\x24\x01\xa5\xc0\x2d\x3a\xec\x62\x96\xe4\x33\xca\x10\x4d\xb3\x84\xe8\xd5\xc0\x36\x9b\x78\x8e\x9f\x28\x17\xf6\xe8\xce\xe8\x13\x61\x66\x1d\xe1\xcc\x42\xfb\x4e\xf8\x1e\x07\x4b\x77\x7d\xf5\x71\xf8\xe9\x14\xf5\xe3\xd8\xcf\x41\x42\x1b\x25\xca\x71\xb0\xce\x47\xe5\x61\x6b\xe6\x00\xdd\x1b\x22\xe2\x4f\x44\x08\x1a\x93\x0a\x1d\xf5\xef\xee\x86\x9f\xae\x2e\x07\x57\xf7\xb0\x62\x4a\xf0\x44\xa2\x39\x7f\x06\x53\x36\xcc\x10\x2c\xdc\x4f\x98\x26\xd0\x99\xdb\x2c\xce\xd0\xf3\x9c\x82\xfb\x03\x80\x99\x7d\xcf\x46\x3f\x13\x39\x7b\x73\xeb\x6c\xe9\xe0\x2d\xab\x2d\xd5\x93\xb4\xfc\x46\xe5\x58\xac\x7a\xa1\x44\xe5\xcb\x2f\xae\xa3\xd6\xe5\x2f\x2a\xe4\xd6\xac\xac\x2d\xd1\x4b\xf3\x4c\x8b\xbd\x6e\xad\xab\x95\xd7\xf0\xf5\xae\x59\xa2\x04\x8d\xe4\xcb\x42\x3d\x89\x9c\x29\x9a\x12\x64\x3b\xb3\x87\x73\x8f\xf0\x4f\x97\xa6\xe1\xf7\x70\xc1\x2e\x95\x72\xf8\x44\x94\x1d\x7e\xa7\x02\x76\x2a\xe0\x61\xa8\x80\xef\x2d\xdb\x3f\x26\xd9\x72\x87\x95\x89\xc1\x3b\xc6\xeb\xb5\x14\xa4\x61\xec\x89\xd6\xa2\x9a\x90\x27\x92\x80\x94\xa7\x04\xd6\x4a\xa3\x95\x5d\x26\x82\xe0\x47\x2d\xf0\xc5\xfc\x39\x94\x5c\x6a\x90\xfb\xd1\x7e\x6e\xe1\x36\x41\x1c\x7f\xfa\xe3\xeb\x5d\x16\x7a\xb9\xe3\xd7\x28\xe1\x7d\x0b\x41\x32\x2b\x31\x02\x83\x04\xfb\x5f\xac\x25\x78\xcd\x6d\x11\x7c\xf1\x1e\x2e\x8a\x70\xb8\x07\xa4\x75\xdd\x86\x4a\xb0\x63\xa1\x29\x51\x38\xc6\x0a\xeb\x43\x33\x23\xea\x18\x5d\x33\x78\x76\x8f\xe5\x63\x0f\xb9\x2b\x4f\xb3\x95\xc2\xca\xf0\x0a\xa9\xf5\xef\xc4\x80\xbf\x39\x1f\xef\xae\xef\xee\xfa\xae\x5f\x99\x2e\xcc\xb3\x61\x85\xf7\x75\x31\x6e\xe4\xf3\xda\xdf\xfd\x65\x5a\x7c\xbf\x57\xd8\xeb\x3a\xb9\xf6\x7a\xa1\x99\xca\x59\xdd\x6d\x65\xfe\xaf\xbb\xad\xba\xdb\xaa\xbb\xad\x0e\x60\x85\xdf\xdc\x61\x58\xc3\xdd\xdf\xd4\x63\xb8\x4e\x3b\xdd\x1a\xf2\xae\xd0\x46\x37\x01\xbd\xfb\xa5\x2d\xb6\x5d\xf1\x0d\x7d\x1f\x3e\xc2\x60\x92\xaf\x91\xd6\xb6\xd7\xcb\xdc\xe4\x8b\x74\xfa\xe9\x0b\xde\xf8\x1d\x02\xe1\x5e\x11\x08\x0f\x63\xae\x2f\x92\x02\xf7\x36\x16\xd3\xb7\x4f\x7b\xeb\xa0\x06\xbb\xc4\xae\x2e\xb1\x0b\x7e\xef\xa0\x06\xf7\x47\xad\x2f\x2b\x5d\xf3\x98\x8c\x2b\x51\x02\xfe\x9f\xe3\xaa\xe7\xa7\xf4\x24\x74\x03\x95\x1e\x14\x99\x6e\xd0\x3a\x8d\xf7\x59\x44\xea\x8a\xc7\xa4\x75\x24\x41\xe9\xe5\x03\x97\xc1\xdd\x3c\x8d\x2c\x5e\x1a\xf8\x0b\x4b\xe2\x0d\x5b\xfe\x25\x1a\x76\x6a\x08\xb8\xb3\xf2\xac\x5d\xa8\x2f\x35\xbe\xa0\xe0\x50\xef\xc8\x53\xd1\x8e\x8d\xbb\x98\xc6\x71\x03\x33\xaf\x7f\xee\x59\x7a\xfd\xe3\x97\xc1\x0c\x6a\xcf\xd1\xc1\xac\x12\xbe\xfd\x3e\xec\x2a\xe1\x88\x5f\xc3\xb2\xb2\x72\xef\xbf\x38\xae\xbe\x8a\x92\x3b\xde\xde\x72\xb9\xbe\x54\x0e\xdf\x41\xfc\xac\xb2\x75\x74\x18\x3a\x9d\xa9\xe5\x70\x26\xdc\x99\x5a\xde\xb5\xa9\xc5\xb8\x68\xc7\x19\x16\x84\xa9\x1a\x91\xba\x7a\x9d\xc0\xeb\x21\xe6\x82\x93\x3a\xa0\x01\xa4\x25\x5a\x64\x2f\x64\x7f\x55\x7d\x59\xb6\x17\x2b\x18\x04\x99\x90\x27\xff\x2c\xfe\xf6\xc2\x7a\xa9\x02\xc4\x8a\xe8\x24\x83\xf5\x2f\xf5\x1d\x9d\xdb\x40\xa5\xdd\x73\x25\xb1\x2a\x89\x82\x10\x44\xbd\x36\x9e\xe9\xc6\xbc\xfd\xbe\x52\x24\x97\x06\xfd\xba\xb1\x4d\xcb\x1b\xdf\xee\x00\xb9\x9d\xa1\x26\xdd\x2f\xc8\x29\xd3\xd2\x28\x9f\x16\x17\x83\x44\xcf\x34\x49\x00\x51\x04\x32\x1e\x9b\x6e\x80\xdf\x5c\xc4\x43\xe3\xce\xbf\x69\xdc\x43\x1d\x77\xa8\x63\x09\x6d\xec\xa9\xfb\xca\x99\x76\xc4\x06\xe9\xac\xa0\x0d\xad\x31\xc0\x7e\x19\x9c\xe0\x13\x51\xaf\xc5\x06\xb6\x3d\xfb\x2b\xcf\xbd\x20\x53\x22\x08\x8b\xc8\x01\x7a\xdb\x37\x09\x03\xf9\xc9\x4c\xd2\xc6\x80\x78\x28\x81\x70\xaa\x8a\x5b\x3d\xad\x24\xea\x76\x99\xe4\x5d\x26\x79\x97\x49\x5e\x3d\xea\x5d\x26\x79\x97\x49\x5e\x9b\x03\x11\x93\x84\x28\xd2\x28\x55\x9c\xc3\xe3\xb7\x92\x2a\x4c\xef\x5f\x86\x60\x61\xe6\xd2\xc9\x16\xbf\x19\xcd\xc2\x6d\xf8\x41\x68\x16\xe6\xac\xad\x33\x3f\x94\x7e\xac\x09\xb1\x7e\x75\x93\xc4\x36\x4c\xa3\x64\x97\x38\x87\xd7\xdf\x25\xeb\xa8\x0e\xbd\xb3\x51\xa0\x60\xeb\x5e\x8e\x93\x2c\x1d\x81\x76\x13\xb7\x1e\xc3\xf7\x3b\xef\x43\xe1\xa0\x4d\x74\x7f\xa8\x7c\x74\xeb\xa4\x94\x43\xb1\xd8\x7c\x41\x3c\xb2\xb3\xde\xbc\x71\xae\xc4\x12\x33\x7c\xb7\xd3\xed\x8c\x55\x9d\xb1\xaa\x33\x56\x75\xc6\xaa\xce\x58\x85\x3a\x63\xd5\xc6\xc6\xaa\x2f\x48\xa6\xea\x0c\x57\x9d\x58\xb5\xbf\xe9\x1e\xaa\x96\x79\x48\xd6\xba\xd6\x28\xe9\x45\x0e\xd5\xda\xc8\x7b\x3b\xed\x5f\xd6\x84\xdc\xdf\xb8\x11\xbc\x1f\x7e\x25\x5f\x9a\x25\xed\x12\x58\xec\x76\xf4\x8b\x8d\x2b\xee\x4a\x87\xd6\xae\x55\x17\xf6\xbc\x62\x71\xba\xb0\xe7\x2e\xec\xf9\xe0\xc2\x9e\xf7\xae\xac\x64\x5c\xae\x02\x24\x32\xa5\xb3\x56\xe6\x3f\xbb\x3b\x1b\x12\x8d\x80\x14\x0c\xca\x71\x4c\xb2\x84\x2f\xc0\x92\xb2\xe2\x3a\x77\x5d\xdc\x2c\x49\xd4\x87\x7e\xa3\xbb\x91\xbf\x96\xce\x71\x28\x32\x69\x31\xef\x83\x90\x42\x4f\xfe\x59\x49\xe7\x6f\x85\x97\xc9\x10\xf9\x4c\x25\xdc\x4a\xeb\x09\x7b\xc4\xea\x9f\x04\xa5\x0b\xed\x3d\x38\xc9\x55\x90\xbb\x27\xb5\x60\x95\x11\xa1\x16\xc1\x9b\x24\xcd\xd4\xe2\xbf\x46\x8c\x2a\xef\x61\xa3\x33\xc6\x85\xe1\x6a\xfa\xe3\x39\x66\x71\x42\x84\xbe\x54\x5d\x3b\x11\x66\x8c\x2b\x10\x37\x60\x06\x31\x7a\xa2\xd8\x08\x27\xfd\x9b\x61\x6b\x3f\xf3\x3b\x3a\x5d\xaf\x5d\xac\x6e\xcd\x5d\xf7\x29\xe1\x13\xa8\x60\x99\x97\x75\x7a\xdd\x40\xe7\x19\x2d\xed\xdc\x5b\x31\x04\x85\xe5\x63\x15\x38\xa4\x9c\x85\x3e\x5e\x09\x25\xb2\xe6\xdd\x12\xc6\xfc\xea\x57\x2b\x70\x23\xe5\x67\x16\x80\x04\x1e\xc3\x90\xab\xe3\x70\x3f\x86\x1d\xba\xdf\x8a\x96\xdd\x2f\xae\x74\x37\xfc\x28\x88\x12\x8b\x31\x56\x4a\x33\x99\x7d\x62\x9c\xdc\x63\xf9\xd8\x1a\xe3\xa4\xf4\xf2\x81\xb3\x9c\x12\xc6\x49\x79\xe0\x2f\xce\x72\x5a\x52\xe7\x1a\xce\xf4\xfe\xf2\xe3\xdb\x9e\xb5\x0d\x26\xfe\x5b\xc9\x95\x6f\xc7\x7b\xd6\x99\x69\xdf\x63\xde\xfc\x2a\x66\x7a\x30\x23\xac\xf0\xf3\x2f\xf1\xe4\x96\x6f\xa7\xee\x88\xae\x5a\xa3\x2f\xae\x10\x6e\x45\xe8\x58\x33\xb7\x77\x52\x10\xb7\x2a\x37\xed\x7b\x54\x2f\x63\xe6\x0e\x76\x63\x93\x18\xa0\x61\x19\xad\xdc\x9f\x21\x17\x15\x54\x94\x9e\x9d\x43\xa2\x35\x95\x61\x42\x7c\xc4\x85\x91\xbc\x62\x7b\x66\x8d\xd9\xce\x80\xf9\x9e\xa2\x3e\x8a\x6d\x6d\x7e\x41\x32\x41\x24\x61\xca\xa8\xda\xa6\xde\x95\x2b\xef\x4f\x99\xb5\x10\x9d\x63\x85\xcf\xb0\xc2\x09\x9f\x1d\xa3\xbe\x2f\xec\x4f\x25\xc2\x89\xe4\x08\x3b\xc2\x21\xb1\x6b\x02\xb3\xd8\xb1\x07\x8c\x22\x9e\x66\x34\xf1\x48\xed\xde\x8a\x4f\x59\x4c\x9f\x68\x9c\xe3\xc4\x23\x63\x8f\xd8\xe0\x89\x30\x95\x83\x0a\x87\x93\x04\xd9\x6e\xdd\x0b\x81\x7e\xee\x46\x29\x69\x4a\x13\x2c\x90\xe2\x76\xb4\xd7\xb6\x2d\x74\x3f\x27\x7e\xac\x0e\x05\x1c\xa5\xf8\x91\x48\x44\x15\xca\xb8\x94\x74\x92\x14\xc7\xf8\x61\x88\x60\xdc\x67\x17\x43\x30\x8d\x46\x0a\x71\xc3\x07\x5d\xe7\xd6\x4f\xe0\x7a\x4c\x31\x63\x04\x3a\xe6\x6a\x4e\x84\xed\xde\xbe\xfc\xd6\x56\xce\xb7\xc6\x88\x6e\xb6\x98\x86\x23\x7b\x3b\xa5\xb3\xb5\xc6\xd9\x56\xdd\x6c\xa7\x6b\x36\x2b\x9a\x2f\xe0\xa5\x6d\xaf\x0d\x5e\x50\x59\x56\x07\xdf\x85\xcb\xb6\x34\xe2\xd7\xc0\x47\xfb\x8d\x2a\x82\x9d\x16\xf8\x22\xeb\xf6\xa5\xaa\x80\x07\xae\xff\x75\xc8\x6e\x1d\x8a\x7d\x17\x80\xb1\xc7\xc5\xe9\x02\x30\xba\x00\x8c\x2f\x36\x00\xa3\x59\x9b\xa0\xf1\xce\xe9\x7a\x1b\x56\x90\xf2\x46\x01\xf1\x0b\x88\x52\x58\x3e\xb6\xad\x29\xa5\x45\xe5\x61\xfc\x2e\xa4\xfa\xda\x09\xbf\x86\x74\xdf\xd5\x29\xda\x6b\x9d\xa2\x83\x9b\x76\x27\xf8\x75\x82\x5f\x27\xdb\xb4\x9c\x70\x27\xdb\x1c\xae\x6c\xf3\x56\x0a\xcb\x97\x04\xa1\xab\x85\xa7\x52\x66\xcc\xca\x00\x5b\x03\x47\x03\xee\x81\x3c\x4b\x38\x8e\xd7\x05\xe1\xfc\x82\x0a\xb9\x66\x85\x68\x66\xda\xd5\x1f\x1c\xb8\x64\xb6\x14\x7f\x63\x46\xfe\x5b\x88\xa9\x6d\x9c\xfa\x9b\x86\xd5\x02\xfd\x42\x30\x59\x29\x28\xed\xa5\xb4\x90\x2a\x4d\xb7\x52\x38\xe4\x1f\x0f\x9c\xaa\xfd\x96\xbe\x86\x7a\xf1\x05\x3b\x08\x3a\x27\xc0\x6f\xb3\xf0\xf9\xc1\x48\xad\x9d\x6a\xd7\x65\x55\x76\x46\xfd\x4e\xf1\xed\x14\xdf\xbd\x2f\xe3\x21\x29\xbe\x6f\x28\x51\x9b\x34\x91\x17\x29\x63\xb8\x9d\x6c\xdd\x89\xd6\x9d\x68\xdd\x89\xd6\x5f\xac\x68\x7d\x18\x2b\xdc\xc9\xd5\x9d\x5c\xdd\xc9\xd5\x9d\x5c\xdd\xc9\xd5\x7b\x5f\xc6\x4e\xae\xae\xc8\xd5\xf0\x97\x4b\x93\xde\x54\xc8\x6e\x2d\x5c\xb7\xc8\x89\x7e\x2f\x92\x75\x27\x55\x77\x52\xf5\x61\x4b\xd5\x07\x33\xa1\x2f\x2f\x11\xb2\x4b\x25\xec\x52\x09\xbb\x54\xc2\xb7\x48\x25\x74\xbc\x64\x95\x84\xb2\x2c\x58\xfc\xb8\xc4\x81\x0e\x56\xb6\x28\x46\xbb\x6d\x78\xc7\xbe\x96\xda\x01\xcd\x6f\x53\x69\xaa\xf4\x9b\x6b\xe8\x80\xea\x4f\xf5\x9c\xb4\xa0\x19\x85\x1b\xdf\x7a\x84\xb0\x9f\xec\x9b\xef\x0b\x0c\x7c\x79\xd4\x5d\xfd\x29\x14\xec\x5a\x57\x7f\xea\x05\xe7\xed\x0e\xd7\x9a\x99\x3b\x1a\x35\x36\xde\x77\x3a\xed\x37\x07\x97\x6b\x3e\xe9\x6f\x1a\x2e\x57\x7b\x93\x2c\x25\xef\x9c\xfc\xb3\xf6\xa2\x78\x83\xb2\x5b\x1b\xdf\x0e\x9f\x88\xfa\x52\xae\x86\xae\xec\x56\x57\x1f\x62\x4f\xd3\xdd\x8a\xf5\xbf\xdb\xd9\x76\x45\xc6\xba\x22\x63\x5d\x91\xb1\xae\xc8\x58\x57\x64\x0c\xfd\xc6\x8b\x8c\x6d\x2c\x3e\x9a\x71\x7c\x29\x12\x64\x57\x64\xac\x13\x22\xf7\x37\xdd\xdf\x96\x10\x79\x80\x16\x84\x83\xa8\xa6\xe6\x2d\x08\x6f\x8e\xfb\xe1\x46\xd2\x16\xfb\xc3\x2d\x68\x87\xff\x61\xff\xaf\xc3\xff\xe8\xf0\x3f\x1a\x66\xdd\x05\xb3\x76\xf8\x1f\xa8\x0b\xd7\xec\xc2\x35\x0f\x39\x5c\xb3\xc5\x36\x76\xf8\x1f\x2d\xc5\xb9\x17\xc2\x00\x71\x32\xd7\x46\x38\x20\x3f\x2d\x2b\x1a\x07\x2b\xa5\xb9\xb1\xfe\x76\x70\x40\x6a\xa7\x7d\x10\x2a\xc9\x2b\xe2\x80\xd4\xd1\x75\x6b\x05\xe4\x7d\xe0\x81\xb8\xd1\x76\x89\x8b\x5d\x88\xf5\xe1\x87\x58\x1f\x5c\xe2\xe2\xc1\x48\xb2\x9d\xba\xd7\xe5\x2e\x76\xb9\x8b\x9d\x32\xdc\x29\xc3\x7b\x5f\xc6\x43\x52\x86\xdf\x58\xc2\x7e\x41\x5c\x90\xdd\x64\xed\x4e\xd4\x36\xef\x75\xa2\x76\x27\x6a\x7f\xa1\xa2\xf6\x61\xac\x70\x27\x67\x77\x72\x76\x27\x67\x77\x72\x76\x27\x67\xef\x7d\x19\x3b\x39\xfb\xd5\x70\x42\xea\x84\xed\x96\xf9\x36\xef\x49\xd2\xee\xa4\xec\x4e\xca\x3e\x6c\x29\xfb\x60\x26\xd4\x61\x86\x74\x98\x21\x1d\x66\x48\x87\x19\xb2\x95\x7c\xf3\x6f\xf6\x58\x7e\x08\x6e\x62\x7f\x65\x7f\xf8\x2e\xe1\x93\xfb\x45\x46\xf4\x7f\xcf\x69\x4a\x98\x04\x69\x94\xaa\x45\x28\xcf\x34\xac\xfc\xf2\x9a\x7f\xb8\x1b\x5e\x7d\xba\x08\xb3\x69\x3e\x5c\x3e\x5c\xdc\x0f\x6f\xfa\xb7\x7e\x5d\xfc\xac\xc2\xb5\xb0\xdf\x95\x44\x32\x4b\xf2\xb7\x44\xeb\x9e\x70\x6a\xee\x14\x56\xb9\xdc\x6e\x64\xb7\x83\xbb\xc1\xed\x8f\x90\x0d\x34\x3e\x1f\xde\xf5\xbf\xbb\x28\x11\x44\xe9\x79\xff\xec\xaf\x0f\xc3\xdb\xe6\xe7\x83\xff\x1e\xde\xdd\xdf\x35\x3d\xbd\x1d\x5c\x0c\xfa\x77\xcd\x5f\x7f\xec\x0f\x2f\x1e\x6e\x07\x2b\xd7\x63\xe5\x68\x57\x2b\x21\x12\x16\x09\xe2\xfc\x51\x64\xb9\x86\x28\xd6\x10\x79\xf1\xd1\xb1\xc3\xba\xbe\x4e\xd1\x83\xd5\xe9\xa9\x6d\xdc\x30\xd8\xa0\x21\xa3\x8c\xc4\x54\xe2\x49\x42\xe2\xa5\x96\xdc\x1a\x36\xb5\x84\x4b\x83\x7a\xd6\xda\xb3\x17\x39\x35\xcf\x8b\x0c\x2f\x40\x90\xa3\xa8\x08\x8b\x6b\xfa\x30\xfb\xd0\xd8\x03\xd3\xbc\x8b\x3e\x91\x52\x4f\x51\x2e\x04\x61\x2a\x59\x20\xf2\x99\x4a\x25\x97\x1a\x75\xdb\xd7\xd4\xac\xbd\x53\x7d\x83\x73\x2c\xd1\x84\x10\x56\x1e\xbf\x20\x09\xc1\xb2\x66\xcc\x76\xf7\xdb\x2d\x8b\xdf\x2b\x6b\x8d\x31\x97\xd1\x14\xd3\x24\x17\xa4\x72\x5a\x78\x9a\x61\x41\x25\x67\x83\xcf\xfa\x2e\xd3\x07\xf9\x1a\x3e\xe7\x62\xbb\x13\x33\xf8\x6b\x48\xc1\x57\xe5\x7f\x7e\xba\x2f\xff\xab\x74\xe6\x2f\xee\xcb\xff\x5a\x4d\xeb\x41\xc3\x55\xca\x3e\x42\x9f\xee\x4f\xd1\x27\x08\x71\x12\xe8\x7e\x8e\x0d\xc5\x5e\xdc\x9f\xa2\x0b\x22\x25\xfc\x52\x7c\xac\xa8\x4a\x60\x6e\xdf\x51\x86\xc5\x02\xb9\xe9\x9b\x44\x57\x1c\xcd\x11\xf1\x4b\x53\x5d\x3c\xf6\xf7\x9c\x81\xea\x5e\xac\xde\x05\x9f\xd1\x08\x27\xbb\x2d\x62\xff\xaa\xc4\x07\xae\x6f\x57\x2e\x45\xf8\xf6\xf2\x5a\xf4\xaf\xce\x21\x89\xd4\x0d\xb5\x66\xe6\x57\x44\x6a\x22\x89\x38\x8b\xad\x97\x46\xdf\xfe\x8b\x40\xa8\xff\x3b\x87\x44\xdc\x5c\x52\x36\xd3\x2d\xa2\x13\x74\x7d\x3b\x62\xd7\x22\x36\x86\x50\xa2\xa5\x61\x43\x73\x54\x22\xc6\x15\xa2\x69\xc6\x85\xc2\x4c\x69\x45\x00\xc4\x00\xbb\x22\x86\x03\x9c\xf1\x34\xcd\x15\xd6\x07\x6d\x69\x51\x99\x31\x87\xdc\x11\x35\x8c\xc1\xb5\x52\xb3\x86\x46\x4e\x28\xe6\x92\x09\xdd\xbe\x96\x51\xca\x3a\x34\x8d\x97\x54\x59\xd7\x04\x16\x02\x97\xa5\x89\x0f\x54\x91\xb4\xfa\x7e\xcb\x20\xcf\x7f\xd5\x1a\x08\xce\x4c\x52\x05\x11\x7d\x11\xcd\xa9\x22\x91\xd2\x47\x70\x2b\x9a\x78\xb8\xfa\xe1\xea\xfa\xa7\x50\x82\xf8\xd0\xbf\x3c\xff\xf3\x7f\x94\x7e\xb8\xbd\x5c\xfa\x61\xfc\xe3\x9f\x97\x7e\xf9\xff\xad\xa4\xa7\x6a\x4f\x4b\x7a\x7e\x30\x97\x23\x10\xa9\xc1\x26\xec\xa6\x8a\x68\x8a\x67\x04\xc9\x3c\xd3\x14\x20\x8f\xcb\xfb\xab\x45\xca\x0b\x8e\x63\xca\x66\x26\x03\xf4\x82\x2a\x22\x70\x72\x89\xb3\x8f\xce\x7e\xbd\xc5\xea\xfc\xdf\xbb\x52\xbe\xee\x87\x9f\xfb\x97\x61\xc6\xef\x87\x9b\xdb\xeb\xfb\xeb\x95\xb3\x2e\xb5\xb0\x7c\x8c\xf4\xe3\x53\xf8\x5f\x74\x82\x74\xeb\x5e\xf2\x4d\x89\xc2\x5a\x23\x40\x5f\x9b\xa4\x39\x9f\x48\x43\x59\x02\xa7\x26\x13\x34\xa5\x70\xa5\x18\x0b\xde\x37\x46\xb8\xf6\xda\x83\x3f\x37\xe6\x03\xd0\x96\xdd\xa5\xcc\x62\x2c\x62\xf4\x77\x59\x4d\x1f\x07\xc3\xb1\xf9\x81\xc4\xe8\x08\xcd\x95\xca\xe4\xe9\xc9\xc9\xf3\xf3\xf3\xb1\x7e\xfb\x98\x8b\xd9\x89\xfe\xe3\x88\xb0\xe3\xb9\x4a\x13\x93\x2e\xaf\x57\xe1\x14\xdd\x08\xae\xaf\x10\x50\xd0\x89\xa0\x38\xa1\xbf\x92\x18\x4d\x0c\xff\xe3\x53\xf4\x4b\xc4\x05\x39\x2e\x36\xc6\x1a\x95\xec\x3d\x62\x0d\x4f\x27\xfa\xa5\x1a\x66\x52\xdd\x4f\x14\x93\x88\xc6\x56\xcc\x20\x2c\xe2\x60\x79\x34\xbe\x0a\xdd\x9e\xcb\x34\xd4\x1a\x4d\x96\xab\x62\x39\x03\x65\x05\xc7\x24\xc8\x76\x57\xbc\x4c\x70\x5a\xf1\x19\x1a\xb5\x35\xd7\x2a\xba\xbe\x5b\x31\xdc\xaa\xee\xd5\x4c\x4f\x38\xe2\x09\x9a\xe4\xd3\x29\x11\xa1\x43\xba\xa7\xb5\x19\x2a\x91\x20\x11\x4f\x53\x90\x18\xf4\x57\xb9\x34\x54\x0d\x2b\x66\x47\x7b\x3c\x62\xb0\xff\x5a\xcd\x01\x0a\x88\x39\xb0\x3a\x46\x48\x8c\x30\x5b\x98\x6e\x26\xf9\x34\x6c\xdf\xc0\x50\xe0\x18\x51\x35\x62\xfd\x24\x41\x82\xa4\x5c\x91\x20\x87\x12\x9c\x67\xe5\x05\x07\x16\x29\x48\x96\xe0\x88\xc4\x86\x1e\x12\x1e\xe1\x04\x4d\x69\x42\xe4\x42\x2a\x92\x86\x0d\x7c\x0d\xb6\x1a\xbd\x66\x54\xa2\x98\x3f\xb3\x84\x63\x3b\x8f\xea\x67\xdf\x94\x4f\xe3\xc0\x41\x04\x0c\x84\xe0\x02\xfe\xe7\x07\xca\xe2\xbd\x71\xa8\x87\xbb\xc1\x6d\xf8\xef\xbb\x9f\xef\xee\x07\x97\x9b\x71\x1f\x4f\x59\x30\x3c\xd0\xe1\x4f\xd1\x9d\x59\x04\x2e\xb4\x44\x24\x1a\x26\x75\x69\x49\xa9\xf8\x81\xc7\x5b\x72\xdf\xcb\xfe\xd5\x43\xbf\xc4\x51\xee\xce\xbe\x1f\x9c\x3f\x54\xf4\x01\x3b\xbf\x92\x0c\x6f\xd4\xbf\xf0\xb7\xb3\xef\x87\x17\xe7\xe3\x1a\x85\xf1\xc3\xed\xe0\xec\xfa\xc7\xc1\x6d\xa1\xdb\xd5\x2e\x51\x65\x30\x55\x66\x75\x6f\x98\xd2\x9c\xc7\x68\xb2\xa8\x07\x84\xd0\x92\x73\x02\xbe\xd8\x02\x12\xc5\xb4\x7a\x0a\xbc\xc9\x61\x73\x14\x5f\xa4\x3c\x26\x3d\xfb\x0e\x20\x69\x18\xe3\x8a\x91\x98\xeb\x1b\xd6\xbd\x63\x16\x18\x2a\x0c\xc8\x85\x5f\xb8\x53\xd4\x47\x52\xbf\x98\xeb\x43\x2d\xe8\x6c\x06\x86\xc3\xca\x50\x4d\x6b\xf6\x53\x58\x5e\xf8\xce\xec\x7f\x26\x38\x9c\x73\xdd\xad\xb5\x38\x7b\xab\x84\xf9\x10\x50\x57\xca\x2d\x0a\x0c\x06\x87\x9a\xa1\xb9\xcd\xd2\x8b\xd0\xb8\x5e\xe6\x3c\x1a\x7b\x91\x3e\x5c\xc0\xb6\xa4\xb1\x77\x66\x82\x3c\x51\x9e\x07\x9f\x5a\x60\x8f\xd2\x8e\xd7\x36\x5f\x2c\x00\x2c\x9b\x31\x8a\x54\x9a\xf1\xe4\x51\xdb\x82\x66\x61\x4f\xd0\xc2\x54\xf0\xb4\xa6\x8d\xf2\x31\x19\x5e\xdf\x29\x81\x15\x99\x2d\xce\x2d\xcb\xd8\xfe\x78\x9c\x5f\xff\x74\x75\x71\xdd\x3f\x1f\x0f\xfa\x9f\xca\x27\xde\x3f\xb9\xbb\xbf\x1d\xf4\x2f\xcb\x8f\xc6\x57\xd7\xf7\x63\xf7\xc6\x4a\x92\x6f\xe8\x60\xf9\x9e\x2e\xbf\x78\x8a\x34\xcb\x05\xd6\xe8\x00\xef\x02\xfe\x38\x21\x53\x2e\x0c\x9f\x4f\x5d\xe8\x82\x15\x61\xdc\xda\x5a\x5d\xac\x32\x8b\x53\xb0\x8c\xd5\x35\x69\xac\xde\x4a\x10\x9c\xc2\x3d\x81\x19\x1a\xb0\xf8\xe8\x7a\x7a\x74\x67\x7e\x4c\xb1\x78\x24\xc2\x7f\xfa\x2c\xa8\x52\x84\x95\x54\x3a\xec\x86\xec\x95\xc4\xa2\x83\x63\x74\xab\xf9\xbe\x7e\xdf\x5f\x6a\x9a\xd8\x63\xa2\x30\x4d\xa4\x1d\x6c\x69\x5d\x4f\xd1\x05\x16\xb3\xc2\x0e\xf7\x35\x9f\x4e\x4d\x63\xdf\x98\x61\xe8\x3b\xac\x34\x8b\x1a\xde\xab\x49\xc3\xdd\x8b\xd0\x9f\x7d\xd9\xcb\xc3\xcb\x54\xf5\x90\xed\x46\x53\x0f\x37\xb0\xe2\x46\x63\x2f\xe9\x86\xf6\x49\x0d\xad\xc1\xc4\xcd\xe3\xd5\x97\x4c\x7d\xdb\xcb\xe4\x54\x7e\xb1\x86\x9c\x4c\x2e\x95\xde\xf9\xa9\xd6\x36\x6b\x68\x89\x7c\xa6\xd6\x60\x10\x8e\xbb\x42\x42\x45\x33\x60\x5e\xc5\x59\x46\xb0\x90\x75\xbb\x5d\x16\x03\x1b\xf6\xde\xf4\x14\xf6\x61\x37\xd9\xf5\xd3\x43\x9c\x81\xc1\xc1\x0b\x11\x15\x8a\x6c\x41\x03\xa6\xad\x25\x0a\xb8\x01\xb4\xa5\x6b\x8b\x6c\x74\x49\xa5\x56\x1a\xcd\x8f\xdf\x59\xc8\xa5\xed\x08\xe2\x63\x7f\x78\x51\x11\x2e\xc6\xe7\x83\x8f\xfd\x87\x8b\xd5\x66\xc2\xd2\x77\xd5\x2d\x46\x47\x48\x3f\x2f\xfb\xcd\xe9\xd4\xdc\x19\x0e\x38\xca\xa8\xb4\x84\x81\xd1\xca\x42\xd5\x18\x7b\x75\x4c\xb2\x84\x2f\x52\xc2\xc0\xc4\x53\xba\x09\xf5\x7a\x4e\x31\xb5\x57\x4b\x30\x58\xb0\xe2\x58\xb3\x1b\x5c\x63\x47\x0e\xad\x8a\xc4\xfe\xe6\x2d\x83\x55\x55\x58\xf7\x8d\xf1\x9e\xd9\xff\xdc\x29\xac\xb6\x3c\x63\xfd\xb3\xfb\xe1\x8f\x83\xb2\x7e\x78\xf6\xfd\xf0\xc7\x3a\xa9\x66\xfc\x69\x70\x35\xb8\xed\xdf\xaf\x11\x4e\x2a\x4d\xd6\x09\x27\x52\x0f\xb8\xea\x3d\xa5\xd2\x47\x04\x45\x06\xf2\x0a\x51\x25\xd1\x13\x95\x74\x42\x01\x20\xcc\x7a\x22\x1f\x86\xc0\x59\x9f\x70\x42\x63\xaa\x16\x4e\x7c\x31\xfd\x96\xf7\x51\x73\x52\xdb\xbe\x31\x3b\x84\xfe\x49\xb0\xf2\x99\xcd\x71\x93\x3e\x45\xa0\xdb\x3e\x81\xd2\x16\x7c\xc6\xb4\x20\xcd\x66\x44\x98\xe1\x80\xf7\x25\x1c\x4b\xf0\x5c\x8f\x2a\x14\x56\x8a\x55\xf3\x42\xeb\x8c\x30\x22\x00\x04\xce\x77\x62\x04\x29\x41\xd8\x57\x5a\xe6\xca\x12\x1a\x51\x95\x2c\x50\x04\x36\x2c\x30\x67\xa6\x98\xe1\x99\x15\x0e\x40\xcd\xa9\x90\xc4\x5f\x0d\x8a\xda\xf5\xd4\x9a\xf6\xef\x29\xd9\xf2\x98\x3d\x5c\x9d\x0f\x3e\x0e\xaf\xca\x24\xf0\xfd\xf0\x53\x49\x84\xbd\x1c\x9c\x0f\x1f\x4a\xb7\xb9\x96\x64\x57\xcb\xf5\xd5\x66\x6b\x8e\xa2\x7f\xe9\x14\x9d\x9b\x4f\x4f\xf5\xe2\xd6\x40\xc4\x79\xe5\xb7\xb2\x0e\xb7\x2e\x24\xcf\xfd\x31\x60\x4a\xd4\xfa\x25\xda\x9a\x90\xac\x0f\xb2\x64\x43\xaa\x0f\x55\x58\xea\xfb\xaa\xea\x54\xae\x4e\xd9\xbd\x08\x41\x97\xc7\x85\x65\x29\x8c\x61\x00\xa3\x41\x93\x11\xab\xc6\xad\x55\x30\xec\x1f\xc1\x45\x9d\xe6\x52\x19\x57\x22\x10\x27\x7a\xfc\x8b\xd4\x0b\x0a\xae\xc6\x63\x74\x47\xc8\x88\x39\xeb\xc1\x8c\xaa\x79\x3e\x39\x8e\x78\x7a\x52\xe0\x13\x9e\xe0\x8c\xa6\x58\x4b\xd2\x44\x2c\x4e\x26\x09\x9f\x9c\xa4\x58\x2a\x22\x4e\xb2\xc7\x19\x44\xc0\x38\x77\xea\x89\x6f\x76\xc6\xff\xfd\xe2\x4f\xdf\x1e\x5d\xfc\xe5\xdb\x0f\xcb\x16\xb2\xa6\xfd\x1f\xb0\x08\x67\x32\x4f\x6c\xc4\x9c\x08\xd7\xc6\x1d\xf9\x9c\xac\xdb\xef\xab\xf2\x76\xed\xa6\xbf\x9e\xdd\x3c\x94\x2c\xd6\xe5\x7f\x5e\x0e\x2e\xaf\x6f\x7f\x2e\x71\xca\xfb\xeb\xdb\xfe\xa7\x12\x43\x1d\xdc\x7c\x3f\xb8\x1c\xdc\xf6\x2f\xc6\xee\xe1\x2e\xb6\xb7\x1f\x18\x7f\x66\xe5\xa5\x91\x8e\x03\x2e\xf5\x74\x8a\x3e\x72\x81\x7e\xf0\x3b\x79\x34\xc1\x12\xae\x18\x77\x67\xc9\x1e\xca\x78\x0c\x8c\x17\x91\x6c\x4e\x52\x22\x70\x62\x6d\x06\x52\x71\x81\x67\xe6\xa6\x97\x91\xc0\x2a\x9a\x23\x99\xe1\x88\xf4\x50\x04\xd4\x30\xeb\xc1\xa6\x80\xaa\xc5\x67\x55\x3b\xdf\x6d\xce\x14\x4d\x89\x53\xc1\xed\x3f\xef\xcd\x66\x6c\xb1\x39\xd7\xf7\xdf\x97\x85\xbd\x8f\x17\x3f\xdf\x0f\xc6\x77\xe7\x3f\xac\x5c\x4f\xf3\x59\x69\x64\x77\x10\x80\x74\xc6\x93\x3c\x65\xe1\xdf\xdb\x8f\x6d\x78\x75\x3f\xf8\x54\x1d\xdd\x75\xff\xbe\x4c\x19\xb7\xe5\x00\xb7\x0f\xdf\x5d\x5f\x5f\x0c\x4a\x2e\xe1\x0f\xe7\xfd\xfb\xc1\xfd\xf0\xb2\x44\x3f\xe7\x0f\xb7\x06\x8d\x70\xd5\x34\xdd\x08\x6a\x26\xaa\xa7\x15\x4e\x73\xdf\xac\xb0\x15\x27\xea\xdb\x80\x72\x73\x96\x8f\x02\xb8\x1d\x13\x0e\x06\x56\x9d\x23\x6f\x52\x8d\xcc\x48\x6b\xd9\xa1\x2a\x6f\x13\x6a\x66\xc7\x2b\x37\x7a\x15\x57\xbe\xf7\x43\x30\x50\xa0\x46\xd9\xc6\x49\xc2\x9f\x4d\x28\x6f\x4a\xf5\xad\x6c\x81\xd1\xf4\x2b\xb2\xf0\x10\x1e\xd7\x70\xbc\xf2\xb6\x90\x48\x10\x75\xc9\x73\xa6\xb6\x27\xb9\xfe\x55\x89\xef\x0c\xae\x7e\x1c\xff\xd8\x2f\x53\xe0\xf0\x62\x35\xab\x09\x9b\xa8\xb9\x8a\xfb\x57\x3f\xfb\x4b\x18\x02\xbe\x7b\x5e\x43\x35\xb2\x6b\x94\x50\x2d\xf6\x46\x58\x6b\xaf\x09\x48\x34\x88\x50\x30\x39\xa4\x7a\x72\x10\x60\x9a\x19\x7f\x92\xe1\x4f\x66\x90\xa7\xee\x8f\x4a\x7b\x12\xd6\x05\xac\xa9\x2e\x9e\x1e\xda\xb1\x5a\x35\x43\x84\x3d\x51\xc1\x01\xcf\x16\x3d\x61\x41\xb5\x34\x6e\x5a\xd6\x73\x3d\x85\xff\xdd\xac\x4d\x30\x8c\x56\x18\xd7\x1d\x17\xea\xdc\x07\xf2\x6e\x67\x0d\xa9\x0b\x68\x5d\x0e\x65\xad\x37\x74\x2c\x7f\x5b\xb3\x39\x3b\x06\xfc\x96\x27\xfc\x8f\xe4\x9c\xe2\x44\x33\x80\xfd\xc9\x8b\xfd\xab\xbb\x61\x59\x7e\x2c\xab\x19\x01\x5f\xde\x5a\x5e\x04\x43\xa5\x19\xb9\x53\x26\xee\xfe\x7a\x61\xb4\x0b\x00\x3d\x36\xe7\x36\x50\x2c\x40\x00\x72\x28\x28\x19\x16\xb2\xf2\x85\x44\x00\x84\x56\x04\x5c\xe9\x3b\x0b\xc2\x99\x9e\x38\x8d\x47\x8c\x7c\xce\x08\x93\x10\x1c\x60\xee\xb3\xc2\xd7\x2e\x8f\xd1\x70\x0a\x2c\x41\xbf\xce\x50\xce\xac\x03\x4c\x5f\xb8\x66\x90\x3d\x2d\xca\xda\x21\x78\x0d\x11\x0c\x2f\x8c\xb8\x60\xa9\x62\xf0\x23\xf6\x93\x77\xa2\xc1\xa3\x29\xd7\x0c\x48\xef\xa2\x6d\xef\x14\x61\x26\x69\x0f\x69\x85\xa5\xba\xa7\x90\x3a\xa0\x15\x4a\x1b\xc2\xa5\x39\x8d\xfd\xf3\xf5\xaf\x81\xa5\x38\xe1\xf0\x32\xa8\xbf\x0b\x2a\x57\x41\x83\x68\x9c\x18\x8f\xc9\xb8\xfd\x9d\x10\x71\x41\xac\x9f\x65\xe3\x6b\x60\x1d\x63\xbf\xc7\xf2\x71\xc9\xf7\x30\x64\x52\x61\x16\x91\xb3\x04\xcb\x2d\x83\x90\x9c\x8d\xa3\x57\x96\x38\x6e\x6f\x1f\x6e\xee\x87\xdf\xad\xe1\xf2\xd5\x8f\x97\xc3\x80\xa2\x24\x77\xee\xb9\x89\xe0\x38\x46\x9a\x7d\xce\xb8\x71\x05\x5a\xc1\xbf\x80\xfe\x36\x79\x3d\x3e\xa0\xb2\x04\x3b\x5e\xa4\x23\x58\x3b\x47\xe8\x4a\xa0\x76\x21\x50\xa4\x57\x02\x05\x26\x0f\xb7\xd5\xe0\x59\x34\x05\x49\xac\x75\x2b\x4b\xb0\x9a\x72\x91\x1a\x2e\x5f\x9a\xb4\x69\x7c\x75\xa3\x94\x29\x22\x44\x9e\x29\xea\xb0\xdc\xab\x52\x2a\x54\x78\xe7\xb3\x4b\x22\x25\x9e\x91\x5d\x1c\xd0\x75\xca\xc3\xdd\x8f\xe1\x3f\xc1\xc1\xdc\x46\xf6\x2f\x8d\xd0\x45\xbe\x3b\x7a\xba\x66\x1f\x4d\x20\xcf\x0d\x4f\x68\xb4\x65\xc0\xdd\xc7\xfe\xf0\x62\x3c\xbc\xd4\x4a\x7c\xff\x7e\x70\x51\x12\x25\xe0\x59\xff\xe3\xfd\xe0\xd6\x82\x58\xf7\xbf\xbb\x18\x8c\xaf\xae\xcf\x07\x77\xe3\xb3\xeb\xcb\x9b\x8b\xc1\x9a\xc8\x9c\xc6\xc6\x97\xad\xab\xd5\x57\x4f\x97\x7e\x81\x1d\xd6\xbc\x2c\xb4\x97\x41\xd6\x18\xa6\x09\x38\xc1\xb9\x71\x86\x63\xc4\x78\x4c\xe0\x67\xe9\xac\x33\x1e\x39\x1a\x0d\xd5\x57\x49\x82\x70\xae\x78\x8a\xc1\x6b\x93\x2c\x46\x0c\x4f\x34\x6b\xc5\x49\x12\x84\x77\x89\x9c\x31\xcd\x62\x75\x63\x06\xa2\x3d\x4a\x88\x66\xe7\x59\x90\xec\x67\xfd\x06\x53\xca\x20\xd2\x36\xc5\xe2\xd1\xb8\x99\x8a\x2e\x8b\x43\x21\x11\x96\x23\xa6\xc7\x45\xac\x61\xa8\xcd\x0a\x9f\xb6\x7a\xab\x71\x75\x52\xfc\x48\xf4\xaa\xa4\x79\x34\x47\x99\xe0\x33\x41\xa4\xb4\xb6\xe5\x08\x33\x13\x80\x60\x5f\xd7\xd7\xd0\x88\x31\xae\x97\xc2\x99\xb0\x63\x92\x11\x16\x13\x16\x51\x93\xd6\x07\xbe\x7b\x6f\xda\x9c\x09\x9c\xcd\x91\xe4\xe0\xf4\x86\x65\x07\xfb\x95\xf9\xc8\xdd\x64\x66\xc6\xe6\x71\x68\x81\x16\xb9\xe6\x13\xd7\x20\x27\x9a\x55\x86\x8f\xdd\x65\xe8\xdc\x2e\xc6\x0e\x98\x66\x09\x51\x06\xac\x1f\x96\x1c\x36\x43\xaf\x75\x69\x3f\xf4\x36\xd5\x6d\x82\xbe\xb0\xdd\x98\xb1\xb4\x23\x3a\xae\xb1\x6c\xdb\x23\x85\xbe\xc7\x2c\x4e\x74\x2b\xce\x87\x51\x3e\x8b\x90\x8a\xd2\xd7\x54\xe3\x4e\xe3\x2e\xb7\x68\x84\x73\xb9\xcb\x35\x5a\xc9\xc5\x34\x56\xc1\xa3\x22\x28\x04\xc8\xdb\x26\x62\xc2\xea\x66\x9a\x45\xe2\x84\xdb\x55\x32\xaf\xe7\xa6\xfe\x13\x82\xd1\x34\x5c\xb3\x99\xa0\x2c\xa2\x19\x4e\xb6\xd2\xfd\x2a\xc1\xf8\x36\xc6\xfd\x6b\x3a\xd5\xe4\xf3\xcd\x92\xdb\x56\x11\x91\x42\x82\xb2\x1d\xa6\xdf\xc2\x0d\x2c\x49\x36\xab\x81\xc8\x22\x9a\x04\x0b\x9e\x1b\x7f\x1c\xac\x0b\x89\x6b\x8e\xea\x71\xdd\x76\xeb\x93\x81\xcb\x01\xd0\x5b\x6c\xb6\x89\xfc\x69\x5a\xbf\x4a\x2b\xb6\x77\x13\x8c\x87\x93\x9b\xfa\x36\xeb\x76\x20\x78\xf8\xaf\x55\xb4\x73\x89\x33\x4d\x33\x16\xb6\x1f\x17\x73\xb4\x4a\x92\xad\x0a\xe6\xe2\x67\x02\xdf\xb9\xcf\x0b\x69\xbf\x1b\xc5\x12\xda\x00\xa8\xe5\x4e\x4a\x31\x04\x41\x8e\xb9\xa5\xf1\x69\xae\x65\x59\x84\x21\x0a\x01\x7d\x4d\x8e\x67\xc7\xc8\x15\x61\xe8\xa1\xfe\xcd\xcd\xe0\xea\xbc\x87\x88\x8a\xbe\x71\x31\x8b\x36\x60\x69\xc4\x14\xb7\xd2\xca\xc2\x15\xd0\x48\x89\x98\x91\xd2\x9c\x5d\x74\x13\x84\x2a\xcf\xa8\x54\x36\x7c\x56\xf3\x95\xa0\xd4\x09\x4d\xab\x62\xb6\xa1\x90\x5c\xcd\x77\x21\x0d\x2c\x65\x9e\x6a\x5d\x76\x4c\x71\x3a\x16\x3c\xd9\x85\x29\x9c\xc3\x54\x40\x5d\xf6\xe9\xf9\x14\xa7\x48\x37\x6b\x43\x41\xbc\xcb\xd1\x8b\x74\x5a\x30\xd2\x7c\x59\xdf\x9b\xc1\xbd\xe5\xbc\x0f\x36\x1e\x8d\xba\x10\x08\x48\xdf\x6f\x60\x15\x85\xd9\x78\x6c\x2d\xf5\x63\x1c\x45\x5a\xe5\xde\xf3\xa4\x82\xfa\x39\xce\x25\x60\x3b\x7a\xb1\x69\xae\xa3\x73\x37\xcc\x4c\x73\x30\x08\x06\xd6\x57\xae\xe4\x11\x2d\xda\xaf\xe9\x77\xb2\x58\xea\xd5\x55\xb8\x79\x90\xde\xa4\x62\x2e\x61\x49\x60\x27\xa5\xa9\x90\xa3\xe6\x64\x81\xe6\xf8\x89\x94\xba\x74\x09\x31\xba\xe1\x05\xcf\x45\x1d\xa3\x1b\xb1\x73\x92\x09\xa2\x25\xfd\xaa\x03\xc5\xd3\xf4\x6d\x99\x12\x3b\xba\xee\xe8\xfa\xdd\xd3\xf5\x99\x29\x94\xd4\xf7\x85\xb1\x76\x12\xe0\x4c\x63\xe3\x8c\xf3\x64\xdc\xc2\x26\xd2\x7e\xc5\x4b\x9e\xb0\x4a\xd9\x28\x80\x04\xe0\x39\xc8\x47\xa5\x6b\x93\xeb\xbb\x2e\x48\xb1\xb5\xc3\x5b\xb1\x0c\xce\x65\x16\xd4\xcb\xd9\xe5\xbc\xd7\xb5\xb2\xaa\x25\xf4\xe2\x62\xce\x99\x91\x6f\xbc\xbb\x2c\xac\x7f\x5a\x3a\x4c\x4e\x14\xa1\x6c\xa9\x1a\x9b\xa1\x67\xbd\xc0\x46\xee\xf8\x47\xce\x15\x96\xdf\x1c\x8f\x98\x16\xa2\x1e\xc9\xc2\x98\x5b\xb5\x98\xf2\x3b\x2d\x8b\x1f\x49\xc2\x24\x84\x7b\xff\xce\xb8\xe7\x34\x89\x3b\x73\xb5\x51\x4d\x4d\x11\x38\x08\xba\xf6\xbd\x40\x88\xae\x6d\xd4\x4a\x49\x45\x00\x34\xc8\xf9\x66\x2e\xf6\x99\x19\xfe\x8c\x28\x48\xb1\x56\x54\x81\xce\x14\x9b\x2a\x73\x4b\x43\x5f\x6b\xba\x32\x54\x21\x38\xf8\x49\xe2\x7c\x37\xc6\x2f\x97\xdb\x58\xcb\x19\xbd\xb6\x70\x67\x63\xde\x4f\x9c\xdd\x28\x12\x7c\xa9\x74\x1b\x96\xc8\xec\xf4\xc4\xb0\x03\xe7\xbf\x26\xec\xf8\x99\x3e\xd2\x8c\xc4\x14\x43\x04\xbc\xfe\xd7\x89\x9e\xd7\xbf\x9f\xdd\x5e\x5f\x8d\x8b\x4c\x9e\xff\x1a\xb1\x7e\x22\xb9\xcf\x52\x40\x8c\x33\x1f\x6e\x9f\x09\xe2\x44\x42\x3b\x17\xb0\xba\x16\x66\xc4\x11\x6b\x1a\x41\xcc\x23\x79\x8c\x9f\xe5\x31\x4e\xf1\xaf\x9c\x81\x2b\xbd\x0f\x7f\x9e\x25\x3c\x8f\x7f\xc2\x2a\x9a\x9f\xc0\xb9\x56\x27\xe4\x89\x30\x65\xdc\x54\x7a\xb9\x62\x48\xde\x95\x10\xad\xff\xef\x7a\xcc\x45\x52\x91\xd4\x9a\x6c\x44\x32\x85\xfe\x1f\x41\x26\x9c\xab\xfa\x4b\x8a\x4f\xa7\x92\x6c\x74\x21\x15\x4a\xda\xdd\x35\xfa\xcb\x9f\xbf\xfd\x83\x26\xa1\x6d\xd6\x78\x78\x77\x3d\xd6\xdf\xff\xfb\xb9\xfd\x5e\x6e\xc0\xee\xae\xb3\x82\xb5\x39\xe2\x31\x81\xf3\x39\x83\xdb\x4f\x80\xf3\x02\xd8\x1b\x90\x43\xb1\x8f\x75\xdc\xed\xbc\xd4\xfa\x6e\x2a\xdb\x56\x8b\x09\x2a\x76\x30\x47\x74\x84\x18\x47\xa9\x89\x35\xc5\x0c\xfd\xc7\x0f\xdf\xd5\x6f\x60\x2e\xe8\x56\x1d\x52\x0b\xd7\x10\x74\x29\xe9\xaf\x44\x22\x4d\x35\x9a\x8a\x79\xaa\xbb\x16\x44\xce\x79\x12\xa3\x67\x02\x6a\x92\x8d\x03\xf5\x5a\xb9\x20\x23\x16\x36\x01\x21\x87\x08\x27\x8a\xcf\x08\xdc\xd5\x4e\x51\x53\x44\x68\x51\xc5\x64\x69\x28\x2e\x48\xcf\x40\x7d\xdd\xfd\xc9\xc5\x56\xc3\x34\xe1\x91\x4b\x6a\xb1\x26\xb9\x78\x52\x3f\xf3\x69\xd5\xf4\x8a\x9a\x6d\xf8\xd5\x4d\xb6\x66\xdb\xfa\xa5\xb1\x49\x28\xd6\x86\x55\xdd\x99\xfa\xc1\xd0\x88\xb3\x71\x42\xd9\xe3\x56\x9b\x71\xed\x44\x39\xdd\x82\x5d\x33\xdd\xa2\xb7\x73\x1b\x0b\xc8\x06\xe7\xe3\x63\x9e\x24\x26\xb5\x25\xdc\x1e\x90\xbb\xcc\xba\x81\x30\x90\x99\x1c\x50\x12\x5b\xbf\x97\xd5\x84\x05\x61\x10\xf0\x36\x62\x93\x85\xf5\xd9\xca\x1e\x92\x79\x34\x77\x99\x79\x11\x67\x52\x8b\xd1\x5c\xa0\x88\xa7\xa9\x29\x6e\xca\x08\x52\x9c\x27\xd2\x46\xbb\xb3\x23\x85\x23\x35\x62\x45\x7f\x6b\x4e\x9e\xa9\x80\xb4\x5b\xea\x5e\x7b\x97\x4e\x51\x69\x69\xa5\xc0\x4d\xe3\x10\xb3\x01\x8c\x60\xc6\x13\x15\xa0\x3f\xf0\xe5\xb3\x64\x36\xac\x41\x33\x90\x73\x2e\xd4\x38\xae\xe5\x39\x6b\x89\xa6\xca\x08\x19\x39\x4a\x20\x68\x98\x3f\x69\xe1\x9f\x3c\x7b\xe3\xeb\xaa\x21\x68\xaa\x5e\x35\x82\x76\xc7\x68\xe5\xc8\x36\x25\xc1\x86\xb5\x32\x08\x1e\x51\x39\x26\x7c\xdd\x18\xef\xe0\xab\x33\xfd\xd1\xca\xc5\xab\x9e\x3b\x27\x04\xf1\xb8\x00\x9b\x33\xf7\xba\xcd\x08\x59\xb5\xa6\x16\x3a\xe1\xe5\x32\x47\x57\x4d\xe5\xa1\x6c\xc9\xd5\x63\x01\x93\xbd\x24\x20\x6b\x62\x31\xa1\x4a\x60\x51\x42\x0a\xf1\xfa\xa0\x24\x58\x40\x7c\xd6\x88\x19\xdc\x38\xa3\x29\xc4\x28\xa6\x12\x12\x44\xe0\x2e\x0d\x9c\x61\xa8\x9d\x12\x58\x39\xda\x45\x9e\xa3\x89\x3f\x87\xc0\xb2\x82\x34\x1c\xb3\xd3\x1d\x79\x7c\x2c\xad\x9f\xf1\x28\x2f\x04\xb9\x08\x24\x5c\x8b\xa9\x83\x28\x93\x74\x36\x57\x88\x32\x6b\x77\xc4\xc9\x8c\x0b\xaa\xe6\xa9\xec\xa1\x49\x2e\xb5\x16\x6a\x82\xd5\x4c\x3c\x0a\x51\x51\x2b\x2e\xb4\x6b\x12\x71\x5c\x69\x70\x59\x45\xd9\x82\x34\xda\x1d\xca\x41\xe5\xae\x58\x43\x38\x7d\x8f\x33\x58\x6d\x83\x42\xdd\x46\x03\x4f\x89\x4c\x1c\x20\x77\xc8\x4e\x50\x05\xa4\xe9\x1c\x00\x2a\xe4\xde\xbc\x14\xaf\x51\x88\x0b\x99\x64\x50\x41\x5c\xec\x36\x48\x5e\x65\x64\x4a\x83\xde\xe4\x9d\x4e\x69\xa6\x6a\x03\xb7\x96\x5d\x45\xb7\x01\xe6\x4f\xbb\xc5\x86\x64\x2c\xa0\x66\x40\x6a\x1b\xb1\x3b\x42\x9a\x81\xdc\x96\xf6\xde\x94\xc6\x85\x29\xd8\x44\x8f\xd5\x24\xbf\x8b\x13\xfb\x7c\x70\x77\x76\x3b\xbc\x31\x90\x13\xd7\xb7\x97\xfd\xfb\x71\x8d\x5f\xbb\xe6\xad\xcb\xfe\xed\x0f\xe7\xeb\x5f\xfb\xfe\xbe\x9c\x95\x5d\xf3\xca\xed\xdd\xea\x64\x8e\x16\x43\xac\x49\x0a\xab\xed\xe7\x14\x65\x0b\x35\xe7\xcc\x87\x28\xc4\x25\xde\x74\x84\x4c\x46\xb0\x82\x10\x22\x21\x55\x8d\xe3\xf0\x1e\xe2\x72\xd6\x4b\x98\xe5\xcd\x32\x30\x6c\x7b\x15\x8d\x36\x38\x91\x9f\x12\x3e\x01\xbf\x75\x5e\x2a\x71\xbb\x22\x02\x7d\xc7\x78\x9f\x73\x2a\xb3\x04\x2f\x96\x7a\x58\x77\xe5\x5c\xe1\x94\x40\xc4\x71\x81\x1f\xe7\x92\x45\xf4\xce\x40\x02\x93\xbf\xd7\xe9\x14\x32\x99\x14\xc5\x8a\xa0\x09\x51\xcf\x90\x37\xe7\x7e\xf5\xb6\x54\x17\x30\x22\x8f\x47\x0c\xcc\x39\x23\xbd\xc8\x71\x0e\xd1\x7e\xa3\x0f\x3d\x34\xfa\x10\x93\x27\x92\xf0\x4c\xef\xbc\xfe\xa1\xe1\x92\x19\xa4\x98\x26\x57\x5c\x79\xcb\xdc\x2e\xfb\x29\x48\x44\x33\x90\xcc\xc7\x44\xb7\xfb\x7a\x82\x47\x89\x92\x1d\x3b\x83\x31\x20\x1c\xc7\x5a\xc9\x06\x56\xe6\x86\x57\x84\x00\xb1\x60\xea\xa5\x5a\x99\x9b\x88\x14\xde\xfc\x6d\x7a\x0c\xdb\x2c\x9b\x3d\x6b\x77\x80\x3d\xbd\xa0\x4b\x76\xd7\x8b\x5c\x6b\x25\x3f\x90\x05\xa4\x60\xdc\x60\x2a\xb6\x74\xcd\xd6\xc5\xbc\xbe\x88\x93\x76\x50\xd3\xd1\x01\xb9\x6b\xeb\xd7\x61\x37\xc7\xad\x8f\xd5\x7b\x2d\x2d\xd5\xc5\x72\xf9\x8e\x5b\xaa\xad\x0f\x4d\x4a\x6a\x63\x08\x03\xaa\x2a\x5e\x19\x89\x36\xd0\xb8\xfc\x00\xef\xf4\x77\x6b\x35\x15\x2f\xae\x45\x61\x4d\x7f\xd8\x05\x9b\x1c\x5f\xcd\xc7\x27\x6b\x47\x1c\x25\x5c\x96\xb1\x72\x5a\x0f\xfa\xcc\x7e\xba\x6a\xdc\x83\x90\x7c\xb5\x5c\xb8\x51\x40\x43\xcd\xc2\x57\xc0\x20\xcd\x3d\xa3\xac\x87\xcc\xbe\xdd\x43\x14\xa2\x2d\x41\x21\x4b\x0a\xe4\x00\x16\xa3\xc2\x0d\x32\x62\x45\xcc\x8a\x44\xcf\x24\x81\x30\xb7\x88\xa7\x19\x98\xf8\xed\x70\x6d\x4b\x24\x36\x11\xc3\x3d\xc4\x73\xa5\x1b\x33\x39\x39\xce\x88\x6b\x13\x7e\x0a\xb7\x87\xf1\xbd\xd9\xe0\x77\x0f\x2c\x6d\x68\xdd\xdc\xa5\x94\xa1\x4f\x44\x41\x2b\x00\xdc\x1f\x4e\x10\xf4\x84\x6a\x08\x65\xfd\xda\xef\x70\xa2\xec\x4c\x36\xd8\xf9\x02\x38\xe5\xbb\x84\x4f\x56\x1b\x09\xa0\x71\xf4\x70\x3b\x74\x16\xc9\x22\x7e\x2a\x40\x2f\x2e\x79\x14\x07\x37\xb7\x83\xb3\xfe\xfd\xe0\xfc\x18\x3d\x48\xa2\x97\xc7\x4f\x17\xf2\xab\xbd\x4a\x62\x46\x6e\x91\x58\x98\x54\x04\x37\x19\x42\x88\x10\xa5\x2c\xe8\x35\x8c\xa3\x0c\xd3\xb2\x9a\xb0\x01\x24\x85\x5a\x43\x1d\x00\x0b\x55\xe7\x69\x23\xf3\xd6\x9d\x40\x88\x93\x1a\xbf\x9f\x28\x35\x33\xde\x74\x39\x32\x6f\x1d\xf9\x94\x23\xfa\x5e\x7a\x32\x70\xb4\xd4\x9c\x50\x81\x5a\x4d\xcb\x10\xd5\xb8\xfd\x9c\x82\x10\xf7\x4b\x9c\xad\x4e\x3f\xc5\xcf\x25\xa2\x35\xa2\x70\xe0\xbb\x7f\xe9\x73\xe0\xd8\xda\xd8\xb0\xc2\xdd\x27\x58\x38\xb4\x0c\x6f\xf5\x7c\xd3\x64\x7c\x48\x67\x24\x0b\x27\x56\x19\x84\x8d\x63\x95\x08\xce\x0e\xfc\x42\x19\x2a\x5d\x89\x3d\x34\xa5\x9f\x6d\xa3\x45\x7c\xbb\x7b\x35\x08\x78\x68\x88\xa7\x9c\xe3\xe5\x33\xb5\x81\xd8\x70\x03\xdf\xaf\x14\x22\xb9\xd4\x22\x51\xa4\xc5\x25\x41\x22\x2e\xf4\x4d\x01\xdd\x16\x5e\x88\x75\x22\x83\xc2\x42\x2f\xca\xb2\x57\x66\xd5\xe9\x2f\x6a\x90\xc4\x58\x91\x23\x2d\x7a\xad\x49\x80\xb6\x39\x32\x90\x4d\x83\x55\x00\x07\x56\xdc\x3c\x13\x32\xc3\xcc\x85\x66\x37\x0c\xd7\x5d\x79\x3b\xb0\x2a\xad\x02\x61\x48\x0f\x03\xf9\x0a\x52\x7f\x4a\xe3\x90\x19\xac\xe7\xca\x71\xd8\xe8\x97\x43\x58\xb6\x67\xec\x83\x71\x1a\x06\x9b\x67\xf1\x21\x0d\x36\xc1\x52\x21\x3b\xa6\x26\x53\x44\xa0\x22\xbe\xac\x11\xb6\xa4\xdb\xb7\x55\xde\x34\x09\x95\xb5\x58\x02\x9e\x11\xe9\x70\x53\x0c\x4a\x8c\xd6\x69\x9c\x20\x6c\x4a\x31\xfb\xb3\x6d\x6b\x32\xbb\x5b\x22\x64\x26\x10\xa4\xbf\xdc\xf4\x31\xea\xb3\x25\xbc\x2c\x17\x97\x55\x5a\x2f\x73\x27\xe1\xe4\x19\x2f\x24\xca\x84\x81\x96\x31\x91\xfb\x6e\xf2\xa0\x81\x95\x3f\xf2\xa1\x10\xca\xa5\x4e\x20\xb0\xc5\xac\x0f\x9a\x73\x72\xef\xf8\x05\x5c\x79\x95\xa8\x72\x2f\x90\x17\xcd\x15\xb6\x8a\x16\xac\x4e\x91\x71\x34\xc7\x6c\x46\xc6\xce\xc8\xba\x8d\xb6\xa4\xdb\x39\x83\x66\xce\x6d\x2b\xf5\x97\xd3\x8d\x51\x98\x6c\xfd\x17\xf3\xaa\x37\x20\xea\x43\x20\x15\x9e\x11\x64\x46\xd4\xca\x2c\x5d\x8a\x18\xb3\x60\xc3\xa0\x27\xd8\x56\x07\xe5\x28\xfa\x26\xe1\x1d\x42\x9f\x2e\xf0\x84\x24\x6f\x13\x39\x01\x5d\x5b\xe3\x3c\x78\xeb\x4c\x36\x00\x41\xcf\x60\xcf\xaf\xb0\x0c\x6b\xbd\x17\x79\x5d\x6e\xc0\xaa\x79\x96\xaa\x9f\xef\x30\x51\x57\x2b\x64\x9b\xa9\x36\x55\x10\x09\xaf\xbd\xa0\xd2\x46\x9d\x81\x2d\xbc\xfe\xaa\x36\xe5\xed\x06\x12\x14\xfc\x68\x18\xc7\xce\x15\x3f\xd6\x4e\x65\x6b\x90\x81\x96\x55\xf0\x86\x53\xc4\x38\x23\x88\xca\xe2\x65\x55\x4e\x87\xf2\x10\x3d\x5a\xc4\x37\xc6\x17\x5f\xa5\xcb\x17\x5f\x7a\x69\x4b\x4b\x01\x9e\xe0\x6d\x03\x2e\xbf\x9b\x11\xad\xa8\x62\xb1\x00\x88\x4f\xc3\x87\xcb\x32\xdd\xda\x71\xee\x5d\xe0\xbe\x77\x08\xae\x41\xa4\xae\xe2\x08\xc4\xc8\xca\xe0\x90\xc1\x41\xb5\x2f\xd9\x8f\x2c\x4c\xcd\x88\x79\xcb\x06\x10\x22\x95\x28\xc5\x19\xf8\xf4\x18\x57\xc5\x57\x06\x76\x49\xf9\x2d\xec\x39\x41\x5c\x9a\x1a\x5a\x0d\x2b\xb0\xce\xb4\xe3\xae\xdf\x62\x5d\xcb\xf0\x96\x0e\x9a\x77\x46\x9f\x08\x73\x34\xdd\x73\x67\x42\x0f\xca\x75\x9a\x2c\x8e\x30\x84\x19\x93\x38\xf4\x7c\xac\xe6\x48\xc6\x20\x73\x08\xf6\xc8\xf6\x4b\x76\x5f\x1b\x46\x63\x40\xd2\x4a\xe8\xf6\x2e\x30\x3c\xa4\x52\x8b\xdb\x6b\x32\xc1\xb1\x44\xbf\x63\x5c\xfd\x2e\x40\x36\x76\xc6\x0b\xf8\xd4\x99\xa0\x7a\x4b\x25\x5b\xe0\xd0\x5a\xc2\x41\x38\x40\xd8\x5a\xbb\xf2\xbb\xc6\x06\x14\x81\xef\x2f\x2a\x8d\x0e\x96\xb3\xe0\x9a\x6a\x5e\x75\x1e\x7b\x54\xbd\x16\xaa\x06\x4f\x53\x56\xaf\x38\xe9\x25\x43\xa7\x5c\xe7\xa2\xf7\x7b\xd1\xca\x35\xbf\x84\x08\xb0\x0b\xb5\xa5\xad\x23\xa7\xd6\x80\x20\xd7\xdb\x25\xb6\xc9\xf3\x6c\x92\xcb\x45\x39\x74\xcd\x96\xc1\x68\x40\xf9\x3d\x1e\xb1\x8f\x5c\xd8\x2b\x58\xda\x3a\x03\x13\x1c\x3d\x1e\x11\x16\x23\x9c\xab\xb9\x41\xdb\xb5\x7e\x85\x85\xa5\x06\x2d\x69\x00\xd9\x78\x28\x0d\x2a\x23\x2c\x62\x57\xf1\xe2\x89\xbb\x51\x8c\x58\xd0\x08\x54\x32\x80\x42\x4f\x50\xaa\xb6\x49\xd5\x24\x52\xeb\x57\x4d\x6b\x51\x57\x84\x75\xa9\x04\xeb\xea\x73\x56\x2a\x2a\x0b\x35\x18\x20\xc0\x89\x4f\x97\x57\x67\xe8\xac\x8d\x4e\xbf\xd3\xf4\xbc\xec\x85\xe8\x59\x8d\xc2\x98\xa4\xec\x0c\xb4\xa4\xf3\xad\xe3\xb5\x25\xd4\xe0\x69\x2e\x20\x5c\xb7\xae\xcd\xaf\xa3\x39\x4d\x0a\xdf\xc5\x37\x3d\x3f\x4c\xdd\x64\x42\x9e\x48\x62\x30\xeb\x23\x01\x91\xf9\xc6\x6a\xf8\x2d\xfa\x3f\xa6\x30\x29\xfa\xc3\x88\x7d\x02\x36\x9c\x24\x0b\x40\xd4\xf4\x2d\x63\x55\x69\xe6\xb1\x76\x00\xca\xa6\x02\xa1\xf2\x40\xcc\x5e\xcf\xf1\x13\x19\x31\xd7\xcc\xff\x41\x8f\xe8\xf7\xe8\x0f\x4d\xea\x9d\x0b\xb0\x7f\x61\x3b\xc7\xc7\x20\x7c\x3d\xb8\xe5\x2c\xa3\xb4\xfc\xc6\x99\x41\x4a\x46\xc8\x1a\x64\x0d\x0f\x8c\x4d\xd9\x13\x8f\x96\xb2\x38\xc2\x53\x8b\x05\x61\x6a\xcc\x78\x4c\xc6\xa4\xc6\xa5\xb9\x82\x49\x68\x21\xe0\x8a\xc7\x64\xad\x43\xd2\x33\xd3\x9f\xc0\x74\x23\xf3\x89\xdf\x0e\x48\xf0\xf7\xd9\xdc\xde\xfa\x50\xa6\xb4\xfa\x91\x7b\xf4\xd9\x6d\xc6\xbd\xad\x33\xd5\x85\x89\xf6\xe0\x42\xb0\x03\xa8\x77\xe8\x25\x58\x39\xf7\x7a\xf5\x38\x56\x1d\x01\xfa\x65\x3d\x73\x7b\x59\x05\xb8\xba\x50\xfb\x44\xd0\x19\xd5\xf2\x7b\x7b\x87\x2d\x70\xc2\x6d\xbc\x19\x06\x64\xb4\x95\x3b\xa3\x58\x0a\x07\xb4\x72\xe4\xe9\xaf\x70\x42\x4e\x78\x5e\x15\xe0\xed\x02\x50\x19\xba\xfb\xad\xac\xbe\xd0\x7c\x78\x66\x32\x00\xc9\x9c\x9a\x9c\xfb\xfe\xd9\x05\xd2\xa7\x83\xa7\x06\x98\x0a\x16\x2d\x57\x73\x2e\xe8\xaf\xab\x68\x1b\x0b\x45\xa7\x38\x52\xe3\xbd\xd4\x71\x69\x26\xa6\xbe\xed\x67\x78\xde\xda\xd4\x77\x87\x9f\x48\x10\x02\x08\x01\x7e\xb6\x15\xe9\x5d\xa9\x55\x7e\xcb\x05\x62\xfc\xb9\x00\xa6\x72\xdf\x03\x16\x73\x90\x3a\x81\xb5\xd2\x93\x41\x0c\xaf\xa4\x40\x9f\x00\x13\xf5\x95\x32\x69\x91\x00\x31\x6e\x00\x9e\x34\x79\xce\x31\x8b\x13\x77\x85\x20\x6e\x62\x6a\x16\xcf\x78\xb1\x91\x57\x3b\x8c\x6c\x2c\xf2\xe4\xcc\xf6\x97\x95\x20\xe0\x01\x46\x52\x53\x25\x65\xaf\x4e\x15\x45\x93\x1c\xa0\x6d\xf5\x9a\x4c\xf3\xc4\xd4\xc3\x88\xb8\x88\x4d\x41\x7a\x59\xca\xca\x83\xe8\x66\xa7\x35\x61\xe5\x1b\xa4\x16\x01\xd4\x56\xdc\x30\x86\xb1\x95\x72\xfd\x5f\x73\x92\xef\x29\xb1\xf1\x4d\x43\xc1\xef\xf1\x4c\x16\xb1\xdd\x66\x6d\xf4\x95\x57\xac\xef\x3f\xf4\x4c\x65\x90\x0a\xec\x0c\xb6\x1e\x59\xcb\x58\x3a\x4c\xbd\xd5\x8d\x0c\x65\xb7\xa6\xa2\xc0\x1e\x2c\x65\xaf\x11\x26\xb3\x2c\x7a\xd6\x70\x75\x4b\x7e\x4f\x3e\x31\x16\xbd\x8e\xf9\xc9\x95\x66\xa8\x08\x75\x2f\x68\x89\xda\xe2\xee\x58\xd6\x55\x56\x06\x9b\x17\x76\x29\x7f\x5b\xd4\xe4\xa8\x2b\x0e\xd9\x2c\xcf\x82\x02\xf0\xde\xa2\x78\xd9\x97\x16\x76\xb7\x70\xc8\x63\xb4\xf0\x67\xb4\x05\x08\x97\x71\x4b\xb8\xa8\xbf\x3a\x37\xb0\xeb\xd8\x86\xca\x5d\x2f\x87\x43\x34\x9d\x08\xc3\x92\x0e\xf5\x48\x2c\xa3\xee\xac\x3d\x0c\xbe\xc0\xca\xdb\xd8\x65\xbd\xc4\xf8\x7a\x27\xc3\x93\xe3\x38\xc2\xd1\xbc\x71\x52\x13\xce\x13\x82\x59\x93\x52\x50\xfb\xb8\x7a\x44\x0c\x66\x2c\xb0\xee\x24\x01\xe0\x64\xb7\x04\xb6\xd8\x66\xa1\x15\xb1\x18\x00\xef\x0d\x0f\x37\x21\x97\x6e\xa0\x8a\x30\x67\x50\xa3\x6c\x96\x90\xea\x5a\xd9\xca\x04\x3d\xdb\x49\x12\xe5\x49\x50\x6d\x33\x23\x42\x8f\x5a\x2f\xf1\x13\x61\x5a\x15\xb3\xe3\x70\x3e\xa2\x67\x97\x67\xee\x6b\x6c\xf5\x7c\xd7\xce\x4d\x09\xc9\x9c\xf1\x88\xc1\xc1\xe5\xe5\xc3\xaa\x69\x55\x6a\xed\x2d\x34\xf7\x6d\x7d\x3a\x03\x21\x62\xe3\xe3\x79\x57\xb6\xbe\x6f\x7c\x26\x4d\xdf\x63\x08\xdd\xd8\xd9\x63\x19\x78\xb5\x0a\x04\x0c\xb3\xb1\x0e\xe5\xec\x95\x6c\xf3\x10\x0c\x53\x8e\xe6\x0d\x62\x61\x9a\x50\xb6\x5e\xf4\x2e\x29\xaa\x8a\xb8\xdb\xa0\xe5\x50\x56\x46\x00\xb4\xf4\xe7\x83\xd1\x77\xd5\xb9\xbd\xb0\x52\x7d\xd9\x13\xee\xd3\xa6\x8a\xe8\x51\x5b\x37\x57\x09\x0c\xa0\x0f\x90\xaa\xff\x93\x31\x5c\x50\x69\x84\x7b\x57\x3d\x24\xcd\xd4\xc2\x16\x9b\x83\x7b\xb1\x24\xef\x03\x90\x5e\x9d\xd7\xbd\x7a\x47\xc6\x25\xbf\x7b\x5d\x67\xd0\x91\xb5\xd6\xd4\x36\xe9\x16\x3a\x04\x66\xa9\x00\x61\x34\x05\xd9\x98\xba\xbd\x63\x9c\x34\x9a\x08\xf7\xc0\x34\x41\x39\x2a\xc0\x2f\x2c\xa6\xae\x12\x39\xd1\xbc\x0b\x27\x49\x65\x5e\x18\xb2\xcc\x95\xaf\xdd\x37\x29\x0a\x0c\xb7\x8f\x01\x48\xf0\x84\x6c\xe4\xf5\xbf\x30\x1f\xac\xa4\x22\x78\x05\x02\xe6\xb3\x2c\x59\xb4\x0b\xd4\x0f\xb5\xdf\x5a\xec\xb9\x75\x03\x0b\x11\xeb\x56\xde\x4d\x65\xd4\xb7\xed\x86\x28\x49\x94\x0b\xaa\x16\x63\x6b\x4b\x6d\xcf\xb4\xee\xec\x97\x67\xf6\xc3\x36\x86\x8a\x53\xe4\xfa\x73\xb6\x5b\xb8\xa7\x04\x35\x85\x89\xec\x14\xda\x6c\x37\xce\xd5\xbc\x16\x93\x6a\xd5\xc2\x3a\x50\xac\x76\x43\xd5\x5d\x6c\x3b\x3c\x5b\xf0\x64\xcc\xa7\x0e\x6e\xaa\xfd\xc2\x56\x2b\xc1\x6c\x60\x84\x76\xa8\xd6\x99\xa0\x5c\xd8\x82\x2b\x6d\x62\x05\x53\xfc\x79\x9c\x61\x81\x93\x84\x24\x54\xa6\xdb\x9b\xcc\xff\xf4\xc7\x95\xa3\x3d\x33\x85\x81\xa4\x2d\xb3\xf5\x99\xa6\x79\x8a\x58\x9e\x4e\xac\x94\x8b\xe5\x63\x88\x29\xea\x10\x10\x0c\x34\x96\x1b\x60\x09\x87\x41\x04\x28\xb1\x23\x16\xe0\x85\x5b\x53\x05\x8e\xe6\x94\x3c\x01\x9a\xa9\x60\x44\xca\x63\x74\xc5\x15\x39\x45\x97\x38\xbb\x07\x41\xcd\x54\xea\x9c\x19\xa7\x03\x96\x48\x4b\xad\x39\xa3\xaa\x37\x62\x16\x64\xdc\xad\xca\x49\xc4\x99\x01\x9a\x8d\x60\x61\x7d\x13\x60\x45\x77\x88\xab\xca\xe5\x8b\x52\xd9\xb0\xd8\x02\x3f\x8f\x83\xa0\xe0\xb1\x49\xba\xd8\x80\x8e\x6f\xf1\xb3\x09\x83\x3f\xc7\x0a\x9b\x22\xbc\xab\x24\x77\x1b\x67\x66\x0b\x33\x19\x7c\x65\x17\x8f\xc3\x2d\xc8\x87\x2f\x29\x67\x82\x7e\xbf\xa6\xc7\xe4\x18\x7d\x97\xf0\x89\xec\x15\xa6\x2a\xf3\x50\x12\x25\x7b\xc6\xef\x07\xff\x36\x19\x76\xdf\xb8\xd5\x2f\xf8\x3e\x54\x53\x9c\xd2\xcf\x06\x5b\x44\xfe\xe9\xf4\xe4\x24\x5d\x1c\x4d\xf2\xe8\x91\x28\xfd\x17\xc8\x14\xb5\x2b\xe4\x80\xb9\x70\x1d\xcc\xd7\xba\xd5\x59\x86\x08\x6b\x45\x91\x36\x5b\x49\x12\x80\xa3\xd7\x57\xba\xaf\x57\xeb\x10\xa5\x38\xab\x2f\xc6\x69\xa7\x2c\xf2\xa6\xe3\x55\xc2\xb1\x7e\x1d\x6d\xc5\xd4\xe3\x0d\xe1\xb3\xa7\x09\x9e\x55\x54\x96\x0d\x94\x94\xeb\x94\x5a\x2a\xd2\x73\x87\x30\x16\x7d\xca\xca\xc1\x7b\x5f\x39\x2f\x2f\x78\x6b\xad\x17\xeb\x78\xc4\xfa\x12\x3d\x13\x53\x66\x17\x52\x3d\xc1\xe9\x93\x53\x39\xf7\x89\x9e\x60\x86\x86\x46\x0d\xca\xb0\x01\xa3\xb0\x8a\xa3\xd3\xac\x9c\x5b\xcc\x6a\xa0\x38\x91\xa4\xa7\x1b\x06\x93\xaa\x8b\xcf\x44\xcf\x02\x67\x19\x11\x23\x66\x11\x63\x01\x17\x9d\x73\x1b\x7b\xd3\x14\xa4\xdf\x69\x94\xaf\xab\x51\x06\x6b\x4f\xca\x79\xa0\xeb\xce\x37\xa4\x8d\xae\x5a\xe1\xba\x4c\x48\xb7\x7c\x5a\x16\x6d\x1b\x40\xff\xf6\x66\xe3\x96\x63\x5e\xa7\x9d\xf7\x2b\xd9\x0f\x50\xc5\x3b\x05\x05\x52\x16\xc5\x4a\x9d\xad\xcf\xab\xef\x25\x31\x07\x00\xc7\xe1\xe3\x98\x13\x19\x18\xf1\x91\xb7\xc5\x25\x74\x4a\xb4\xf4\x31\x62\x9a\x8c\x43\x87\x83\xc1\x2d\x77\x30\xe6\xba\xd3\x48\x70\x29\x6d\x42\x83\x69\x67\x75\x5a\xda\x0e\x25\x12\x0d\xf8\xfa\xf0\xfa\x6a\xbc\x5c\x2c\x31\x78\xe6\xca\x26\xda\x87\xb5\xd8\x05\x8d\x4d\xad\x2d\x92\x58\xac\xc5\x06\x65\x12\x4f\xce\x2e\x86\xbe\x36\x58\xa5\xeb\xe5\x3a\x89\x21\x60\x7d\x73\xa5\xc4\xe5\x19\x07\x35\x13\x2b\x4d\xac\xa8\x9a\xb8\x7e\xb3\xca\x61\xd4\xbb\xa0\x11\x56\xb6\x7e\x2d\x7f\x28\xd3\xcc\xba\x68\xff\x3d\x6d\x53\xc3\xb5\x12\x81\xc0\xf8\xd2\x81\x0b\x20\x78\xe9\xb7\xa4\xc2\x69\x16\x66\xb2\x3a\x38\x56\x3b\x4d\x73\xd4\x9a\x2e\xc1\x57\x85\x89\x8f\xb0\x09\x12\xaa\x0e\x6e\x69\x2b\x36\xf3\x78\xdd\x5b\xf4\xf9\x7d\x44\x87\xbf\x5e\x6a\x78\xb2\x28\x82\x21\xa5\x95\xdd\x5c\x65\xf3\x06\xbb\xff\x84\x78\xa4\xfd\xc6\x0d\xdd\x35\xf7\xd3\x23\x72\x09\x82\xa5\x75\x7f\x43\x8a\x64\x25\x7d\x6a\x03\xf3\xb0\x1f\xb3\x49\xb2\x3e\xf2\xb5\x2d\x82\xab\xc6\x96\x6b\x8b\xdc\x41\xa4\x42\x90\x27\x22\x80\x76\x6c\x28\x15\x2b\x1f\x55\x9c\x08\x82\xe3\x45\xb0\x22\x3e\x8e\xc3\xf4\x0c\xe6\x31\x49\x53\xad\xc0\x83\x6a\xc2\xf8\x11\xcf\x9c\xce\x52\x7a\x0b\x0a\x93\xd0\xa9\xbe\xb1\x82\x28\x10\xfd\x05\x3b\x22\x9f\xa9\x54\x5a\xae\xa8\x09\x81\x75\x8d\x80\xc4\x03\xe5\xca\xe6\xc4\xde\x70\xa3\x0f\xfd\xef\xae\x6f\xef\x07\xe7\xa3\x0f\x45\xd2\x83\xcb\xea\xf3\x40\x5b\xae\x6e\x02\x67\x23\xe6\xe3\x94\x3d\xae\x34\xec\x25\xc2\x71\x5c\x00\x46\x58\x25\xd2\xc8\x6c\x2b\x39\x72\x70\x2a\xd6\x46\x28\xaf\x68\xe6\x01\x52\xbb\x0e\xf5\x64\xad\x70\x9d\x95\x4e\x8e\x49\x50\x5b\x91\x49\xb4\xa7\xcb\x26\x84\xc4\x55\x46\xd7\x26\xca\x61\x36\x32\xf2\xec\x74\x25\xb8\x9d\x4f\xb0\xb9\x84\x37\xe3\x76\x6e\x43\xb6\xd8\xd4\x8f\xf4\x33\x89\x6f\x1b\xa4\xaa\xbd\x24\x0a\xb5\x0a\xb0\xac\xdd\x85\x9c\xd1\x4d\x34\x7e\x3f\x95\x07\xfd\x5d\x7b\xb6\x74\x5d\x20\xdd\x15\xa8\xb5\x00\x59\xab\x10\x46\x11\x11\x0a\x53\x86\xa6\x70\xb0\x59\xb4\x40\x80\x83\x42\xc0\x87\xfd\x47\x94\x52\x06\x80\x0c\xab\x96\xf6\xa1\x3c\x8f\x0d\x84\xd6\xcb\xe1\xd5\xc3\x7d\x49\x54\xfd\xfe\xfa\xa1\x5c\x2b\xbf\xff\xf3\x4a\x59\xb5\xd2\xc2\xaa\x60\xa1\x60\x8a\x45\x72\xa7\x05\xef\xf5\x2b\x53\x3b\xd1\x64\xa1\xc8\xc3\xed\xc5\x4e\xf2\x5d\xbd\xb3\xac\x11\x7a\x3d\x94\xae\xea\x81\x26\xda\x7c\x1a\x93\x68\x1d\x38\x6c\x7b\x3a\x32\x51\x50\x7a\x1d\xac\x35\xd1\x02\xc7\x61\x89\x32\x2c\xac\x1f\x2a\x36\x01\x50\xe5\x82\x6b\x46\xf3\x5a\x05\xcc\xf1\x89\xa8\x1f\xf5\xd5\xc7\xd9\x3e\x92\x4b\xac\x28\x0b\xfe\x51\x32\x7e\x32\x0d\x6f\x70\xd2\xec\x50\x56\x64\x10\x39\x61\x19\x7a\x40\xb6\x87\x10\xce\xe2\xd8\x14\xde\xef\xeb\xe6\x60\x45\x5c\x98\xa6\x56\x49\x39\xd3\x14\x69\x50\x6a\x1d\xb4\x6d\xd0\x1c\x9f\x9a\x8f\x5b\x02\xfd\x05\xc9\x02\xba\xad\x62\x29\x51\xff\x66\x58\xb3\xd6\x17\x55\x17\xd2\x97\x55\x25\x28\xf1\xde\xac\x7d\x63\x4f\x05\x59\x9f\x07\x01\x36\x65\x67\xba\x1b\xba\x94\x71\xfa\xdf\x94\x23\x09\x0e\x01\x04\xb9\x4e\x65\x28\x65\x73\xaf\xc1\x3b\xde\x2c\xc1\xb1\x58\x86\x0d\xb1\xa4\xc2\x01\xd9\xec\x9a\x10\x3f\x69\x39\x74\xbb\x17\xe2\x29\x71\x53\x87\xd8\xc6\x16\xec\x0d\x63\xaa\x98\x4d\x1b\x90\xa9\x1f\x0d\x45\x7b\x0c\x12\x40\x55\x71\x75\x2e\x5d\xc8\xb5\x85\x04\x08\xa7\x1b\x52\xdb\x66\xb8\x54\xc5\xf8\x9c\xf9\xdb\x42\x7c\xe3\x0c\x5b\xbb\x03\x28\x51\xae\x00\x45\x5d\xbd\xc2\xe3\x11\x0b\x02\x56\xa4\x51\x7b\xf4\x19\x71\x35\x5f\xa0\x90\x30\x03\xbc\x70\xc8\x7d\xf2\xc2\x4f\x69\x07\xaa\xc8\x03\x6a\x5e\xae\xda\xb2\xd4\x8f\x3d\x9d\x72\x8e\x5d\x7e\xa7\xb3\xa0\xd8\x38\xc0\xd0\xbe\x04\xed\x05\x75\x1a\x6c\xc7\x60\x8e\x06\xa3\x05\x0e\xaa\x00\x06\x98\x00\x31\x27\x92\x7d\xa5\x7c\x06\x2d\x4d\x16\x2e\xa4\xba\xe2\x1e\xd0\x52\x1d\xa6\xb6\xe5\xd5\x07\x7c\x0f\xa0\x57\x9b\x2a\x0e\xc1\xb1\x5a\x6b\xa6\x72\x3e\x5e\xa0\x84\x30\x16\x09\x3a\x6d\xb2\xaa\x7f\xce\x48\xb4\x0d\x32\xcf\x0d\x16\x38\x25\x8a\x88\x55\xe1\x48\xe5\x1a\xdd\x20\xe2\xb8\x1d\xb4\xfd\x9a\x5d\x34\x05\x4c\xaa\x95\x6e\xbc\x76\x7b\xb1\x0e\x69\xc7\xcf\x62\x23\x50\x31\x3d\x8d\x1f\xad\xe5\x7f\xc3\x59\xd8\x7e\x8a\x69\xd8\x68\xab\x00\x58\x69\xd7\x39\xbd\x0e\xc2\xcc\xfd\x12\x56\x4b\x29\x5c\xe8\x40\xa0\x65\xd6\x8f\xb2\x09\x53\x66\x1d\x2f\xdd\x0b\xef\x76\x19\x0e\x2e\x33\xb9\x72\xa8\x4a\xb9\x13\x40\x25\xa0\x52\x19\x78\x95\x7a\x5c\x18\x10\x5a\xea\x22\x24\x03\xb7\x9f\x45\x0d\x2c\x0c\xba\x56\xb2\xaa\xd6\xec\xaa\x2c\xd7\x1a\x1e\xb7\x2f\xcc\x8c\x4e\xa2\xd9\xb7\x44\xb3\x8e\x94\x4b\xd1\xb5\x9a\x3a\x89\xa8\xc0\xf7\xd8\x5a\xda\x16\x77\xa1\x3c\x41\x48\xe9\xb2\x57\xa4\x2d\xc8\x0b\x57\x3f\x65\xfe\x5f\x65\x0e\xee\x88\x3a\x24\xd5\xba\x5c\xd5\xe3\xc0\x05\x05\x1e\xa8\x24\x94\x06\x6c\x5c\x0d\x8c\xd6\x84\x41\x1a\x2b\xff\xf0\xca\x38\xb0\x20\x67\x7c\xc1\x73\xf4\x4c\xe5\x1c\x29\x3e\x62\x10\x27\xe8\xbd\x01\x8a\x23\xf3\x62\x0f\xde\x02\x74\x09\x99\x4f\x52\xaa\x10\x0e\x66\x58\x32\x49\xf6\xec\x79\xd6\x1f\xc0\x8c\x6b\xe1\x0b\xea\x90\x8f\xd6\x1c\x9a\x2d\xec\x6b\x45\x23\xbb\x22\x14\x04\x31\xcd\x2f\x8b\x51\x10\x68\x3c\xa1\x86\x59\x7b\xe6\x3a\x90\x02\x54\x6f\x6d\xb0\x58\xac\x00\x98\x4b\xa5\xaa\xdc\x2d\xd6\xd0\xb3\x06\xa0\xa0\xd8\x88\x56\x08\x05\xc5\xeb\xfb\x80\x28\x68\xaa\xfe\xb6\x2a\x65\xd5\x7d\xd2\x60\xff\x76\xa9\xd0\x8a\xbb\xc0\xf9\x50\x52\xba\x69\x94\x94\x0e\x0d\x2c\xae\x48\x08\xd8\x3e\xbc\xbc\x29\x7a\x19\xce\x78\xc4\x59\x4c\x37\x88\x17\x86\x0a\x5f\x93\x7c\xda\x67\x8b\xf5\xd8\x43\x69\x18\xa8\x6f\xed\x25\x81\x24\x52\x8f\x7a\xb9\x56\x65\x2d\xda\x0f\x29\x3d\x48\x09\x2d\xc3\x01\x91\xea\xed\xc4\xb8\x82\xbc\x9f\x08\xaa\xf7\x2f\xe5\xa2\x8e\x58\xbd\x94\xb4\x9a\x6f\xef\x9a\x46\xb2\x57\xe0\xbb\x80\x47\xb8\x59\x58\xab\xdb\x4f\x3e\x10\xcf\x28\xf4\xb6\x0e\x7f\x55\x0c\x2e\xdc\x90\x4d\x01\x54\x5a\x38\xda\x26\xd7\xbc\x86\x73\xd4\x0f\x7d\x29\xc9\x63\xed\xd9\xb5\x82\xc1\x1e\xd5\xcf\xa5\x1b\xa4\x75\x4e\x8c\x97\xe3\xed\x8d\x61\x83\xba\x63\x6f\x6b\xa8\xb8\x93\xb7\x29\x30\x0c\x80\xb2\x7b\x83\xc1\xad\x22\x53\xe8\xc6\x7b\xe0\x82\xb6\x63\xc7\x26\x1c\xc7\x83\xb3\x57\xf6\xa4\x34\x63\x13\x52\xf9\x22\xb3\xde\xb4\x2a\x74\xe0\x13\x15\x36\x26\x99\x86\xd6\x0d\x28\x07\x6d\x43\x39\x2b\xb7\x85\x17\x40\x73\x16\x13\xc1\x08\x56\xf3\xd7\xcb\x04\x39\xdb\xd5\x84\x1e\x8c\xef\x65\xb3\x42\xec\x48\x71\x39\x39\x64\x97\xe1\x96\xcb\xe3\xaf\x1d\xa7\x7e\xbd\x8d\x35\xcb\x06\x48\xf8\x02\xd1\x4b\xea\x6d\x8d\x69\x33\xc0\x1f\xda\x84\x4a\x77\x4a\x16\xa9\x57\x39\x5f\x26\x6d\xa6\xc6\x36\xb5\x94\x30\xa3\x4f\x7b\x58\x56\x7b\xcd\x92\x7c\x11\xf9\x29\x2f\x9f\x32\xb1\xaa\x80\x77\x1e\x64\x51\x40\x15\x75\x85\x29\xb3\xdc\x6b\x55\xe2\x84\x96\x7b\x53\x5c\x97\x2b\x71\xf0\x59\x38\x5f\x7c\x12\x4e\x97\x92\xd1\xa5\x64\xd4\xec\x51\x97\x92\x81\xd0\xa1\xa5\x64\xac\x53\x41\x57\x19\x69\xbd\xdf\x10\x0a\xad\x96\xaa\x1b\x99\xfd\x5d\xa3\x47\x6e\x9f\x76\xe0\xec\x9c\x61\xcc\x96\xfd\xc5\xfe\x50\x1b\xb6\xb5\xf4\x59\x75\xb6\xa1\xcd\x95\x2d\xaa\xae\x0b\x2c\xe2\xc4\x42\x10\xda\xa0\xea\xb2\x8d\x6c\x95\x39\x77\xc4\xbe\xe7\xcf\xe4\x89\x88\x1e\xc2\x0a\xa5\x1c\x70\xad\x8a\x18\x1e\x38\x08\x25\x34\x7b\x13\xab\x81\xd1\x15\x4e\x49\x6c\x8a\x5d\x06\xa1\x97\xd6\xa8\x6c\xdd\xc1\x75\x48\xbb\x00\x1a\x6b\xb6\xc1\xc5\x76\x8c\x98\x09\x87\x34\x21\x78\x20\x2b\x50\x37\x31\x20\x98\xdf\x79\x67\xf5\xef\x8e\xd1\xbd\xbe\x9f\xa8\x2c\x8f\x37\x00\xde\x6b\x1a\xdb\x88\xcd\x04\xcf\x33\x6f\xe7\xe3\x13\x53\xf5\xd8\x44\x68\x2d\x3b\xab\x61\x30\xce\x53\x1d\xe1\x58\xeb\xe2\xab\x09\xe7\x4d\x22\x65\xb7\x82\x59\x0a\x09\x48\x1f\x43\x1f\xfe\x67\xc3\xf1\x8d\x8f\x39\x00\x97\x59\x85\xc1\xff\x42\x0e\xf0\x73\x22\xc1\x2a\xe4\x3d\x03\xa5\x5c\xf7\x32\x9e\x42\xed\x38\x57\xd9\x6d\xbd\x6f\xc5\xf9\x1f\xea\xa1\x1a\x8a\xce\x6d\x5c\x9a\x49\xa4\xb5\xf7\xc4\x8b\x59\x74\x5b\x47\xf8\x36\xf1\x8b\x9b\x5c\x64\x1c\x24\xb1\x64\xe1\xa0\x25\x2c\xc8\x5f\xc6\xb3\xdc\xc4\xde\xd1\x30\x14\xab\x96\xb2\xa9\x54\x97\x58\x45\x73\xcd\xb9\x0b\x54\xb6\x3d\xc5\x24\x16\x5c\xf9\x65\xad\xbc\x35\x33\x38\x0b\x7b\x6f\x70\x7b\xac\xa2\x9e\x20\xc6\xd0\x07\x72\x7a\x49\x22\xd5\xfd\x19\xd7\xa0\xad\x65\x1e\xd8\x45\xdd\x27\xf6\x89\x9e\xe8\x3a\x2a\x5a\x37\xfe\x76\xb4\x55\x2e\xb6\xb6\xf7\x68\xc7\x1d\x60\x6e\xce\x2d\xa8\x58\xf1\xa2\x2d\xce\xdb\x10\xa2\x20\xe8\x76\x99\x4a\xb6\x40\xc2\x93\x16\x47\xbc\xc5\x35\xc5\x99\x56\x22\x14\xd7\xb7\xa4\x98\x19\x39\xd6\xc4\xf2\x22\x8c\x72\x41\xdd\xd9\xaf\xe4\xad\x37\x53\x07\x58\x28\x4f\xc2\x62\x5a\x11\x0e\xea\x0c\x9a\xa0\x04\x1c\xa9\x1c\xfb\xe0\x49\xa0\x09\x57\xff\xde\xe4\xe8\x3b\xe7\xbf\x70\xe2\x5d\xcd\x9e\xae\x25\xec\x1d\x76\x19\xd7\x61\x30\xb6\x3a\x69\x94\xcd\x02\x00\xc7\x7a\x2b\x71\x9b\xb2\x17\xb5\x5f\xb6\x2b\xdd\x51\xfb\xa9\x93\x7d\xb6\xf9\x76\x05\xc0\xd4\xd6\xf1\xe3\xa5\x58\x7c\x1b\xac\x6b\xa5\xa7\x10\x5a\xd3\xda\xef\x00\x78\x98\x42\x30\x01\xb6\xd2\xd4\x7f\xf9\xbf\x4c\x99\x34\xb3\x34\xff\x85\xb8\x18\x31\xf3\x7b\xcf\x97\x28\xd1\x2f\x14\xd8\xbf\x38\x25\x05\x8c\xa7\x28\x03\xfe\x01\xec\x89\x05\x6c\x33\x38\xcf\xbe\x42\x83\x1e\xc3\x63\x3e\x21\x82\x11\x3d\x34\x07\x90\xe0\x99\x59\x8a\x19\x9e\x01\xaa\x74\x0f\xa2\xf7\x40\x5c\x2d\x54\x11\x43\xd2\xa6\xd4\x25\x70\x2b\xcd\x2c\x6d\x4e\x70\x51\xf2\x19\xfa\x34\xa2\xac\x05\xb5\x2d\x42\x40\xea\xa9\xff\xd6\xf6\xbf\x9d\xc4\x7e\xdf\xbf\xfb\x61\x7c\x3b\xb8\xbb\x7e\xb8\x3d\x2b\x89\xed\x67\x17\x0f\x77\xf7\x83\xdb\xda\x67\x45\x3e\xed\x5f\x1f\x06\x0f\x0d\x8f\x5c\x03\x17\xfd\xef\x06\xa5\xfa\xe9\x7f\x7d\xe8\x5f\x0c\xef\x7f\x1e\x5f\x7f\x1c\xdf\x0d\x6e\x7f\x1c\x9e\x0d\xc6\x77\x37\x83\xb3\xe1\xc7\xe1\x59\x5f\x7f\x19\xbe\x7b\x73\xf1\xf0\x69\x78\x35\x76\xa1\xd1\xe1\xa3\x9f\xae\x6f\x7f\xf8\x78\x71\xfd\xd3\x38\xe8\xf2\xfa\xea\xe3\xf0\x53\xdd\x2c\xfa\x77\x77\xc3\x4f\x57\x97\x83\xab\xd5\x75\xda\xeb\x57\xa3\xb1\x04\x74\x70\x91\x05\x46\xa3\x40\x4c\x9a\x2c\x2c\x69\xd3\x5f\xc1\x77\x71\x63\xe8\xf1\xa8\xe7\xfe\x32\x55\xd5\x8f\x34\x0b\x74\x7e\xb1\x82\x7b\x8c\x98\x77\xae\xfa\x4b\x55\xe1\x99\x74\xe9\xd1\xa5\xd1\x9e\xa2\x3e\x9c\x15\x50\x18\x4a\x9d\x42\xf6\x85\x1f\xa9\x73\xc7\x03\x1d\x26\x34\xa5\xe0\x99\x47\x47\xa8\xba\xe1\xe5\x06\xed\x9c\x60\x08\xd6\x6f\x17\xaf\x3a\x0d\xb2\x9a\x79\x0d\x94\x72\x8a\x1c\x87\x26\xc6\x9c\x60\xf0\x71\x17\x0c\xa7\x34\xaa\xa6\x89\x00\x44\x2c\x2a\xe0\x50\xaa\x2d\x96\x08\xac\xdc\xf2\x9c\xa0\x1f\xfe\x52\x0c\x0a\x3c\x18\x56\xf3\xce\x97\x8a\x29\xda\x07\x22\x37\xab\xba\x8e\x3c\x4b\x3d\xb9\x63\x6e\x4d\xcb\x70\x6e\x6d\xd1\x76\x70\x37\xe5\x2c\x80\x44\x2b\xf9\x9e\xf4\xf1\x36\x33\xaa\xd0\xf8\x29\xba\x03\x38\x16\x59\xa8\xee\x7a\x17\xb3\x24\x9f\x51\x86\x68\x9a\x25\xc0\x63\x8c\x3e\x3f\x21\x73\xfc\x44\xb9\xab\x5c\x62\x0a\xbc\xc0\x3a\x5a\xd1\x0a\x1d\xa1\xc6\x83\x72\x8a\xfa\x71\x2c\xcb\x0c\xae\x44\x39\x8e\x65\x1e\x95\x87\x1d\xa2\x98\xb1\xd8\xb3\xcd\x0a\x1d\x15\x47\x0e\x56\x6c\xff\x80\x33\xcb\xec\xb0\x7c\xf7\xee\x70\xfd\xeb\x15\x1c\x3b\x52\x1e\x6f\x25\x0c\xdc\x63\xf9\xe8\x58\xf3\x3a\x81\xc0\x41\xff\xec\xd6\xa3\xc5\x00\x6a\xdb\xa9\x5f\xd9\x31\x1c\xb4\xed\xfa\x6c\x44\xae\x5e\xd3\xa5\x9b\x71\x52\xa9\xda\xd6\xba\xbf\x52\xd5\xb7\xda\xce\xf6\xea\xed\xa9\x97\xc6\xe0\x48\x8e\x3d\xfd\x6f\x30\x8f\x1b\xf8\xf4\xda\x7f\xb9\x52\x64\x1b\x07\xeb\xb6\xa9\x0f\x68\x29\x91\xd8\xfa\x81\x56\xd2\xe1\x9e\x20\xa8\xda\x0b\x83\x50\x73\x83\x46\xe0\xee\xc3\x94\xd9\x4a\x4c\xc4\xfb\xa3\x5c\xed\x71\x7d\x8e\x7d\x75\x40\x3c\xe1\x4f\x25\xe5\x32\x25\x52\xe2\x06\x50\x95\xc0\x24\xb6\x0b\x63\xf0\x27\xd4\x7e\xd8\x92\x9e\xdc\x99\xbc\xd7\x5f\xad\x32\xfa\xdc\x86\x9a\xb1\x9b\xa8\x16\x58\x63\x17\x0d\x8c\xae\x4d\x4e\xa0\xe6\x2f\xbd\x22\x98\x86\x8b\x20\xc6\xa8\xc9\xfd\xd3\xd2\xac\x56\x5d\xb0\xda\x02\x5b\xa1\x0b\x6f\xf3\x18\x9c\xa0\xf5\xad\x51\xbb\xad\x5f\x05\x97\xd7\x67\x03\xaa\x2b\xf9\x3b\xc3\xe2\xe3\x11\x4f\x53\x23\x17\x94\x6c\xa9\x3d\x84\x4d\x2a\x66\x21\x4d\xc9\x3c\x9a\x1b\x2f\x93\xbe\x32\x7a\x23\xf6\x1c\x6c\x48\x29\x58\xb9\x1f\xb6\x04\x88\xa7\x9f\xf5\x71\xa3\x4f\xa5\x10\x70\x10\x19\x29\xc4\x23\x07\x84\x60\x1c\x82\x45\xe5\xb0\x35\x04\x1e\xec\xd7\x0e\xa4\xbe\x45\x99\xc8\xca\xfa\x36\x15\x8b\xf4\x73\x0b\x6a\x34\xee\xa0\x29\xb7\x1d\x42\x50\x26\xb2\x6e\x04\x7b\xa8\x12\xf9\xaa\x10\xe4\x3e\xa5\xd4\x64\x20\xa7\x13\x8b\xa3\xa1\xa7\xeb\x56\xfb\xf7\x6e\x46\xbf\x37\x7e\x87\xbc\x01\x78\x25\x68\xcd\xa3\x90\xa3\x23\x2d\xb3\x3a\x40\x00\x1b\x88\x21\xd1\x91\x41\x36\xfc\x0a\xa2\x41\xfb\x37\xc3\xaf\x7a\xe8\xab\x30\x23\xee\xab\xad\x0e\xa0\x1d\xb7\xad\x14\x09\xda\x54\x29\x2d\xa2\x7c\xec\x60\xaf\x2a\x27\xd1\xee\x99\x3d\x88\xa8\xe9\x1c\xea\x2f\x4b\xdf\x80\x73\x1a\x2a\x1f\x1a\xff\xad\x0f\xca\xb6\x2e\x20\x23\xe3\x52\x59\xb3\x76\xf1\x88\x4d\x16\x55\x27\x4f\xcf\x7b\x79\x5a\x9f\xd2\x9d\xab\xf9\xe9\xf6\x96\x53\xa8\xf7\x1c\x2c\xbc\xfa\x3e\x58\x93\x94\xdd\xf7\x25\x67\x0a\x2e\xd6\x14\xa5\xd0\x45\xd9\xd7\xcd\xaa\x64\x2f\x73\x8b\x59\xbb\x29\xeb\xe4\x9f\xf7\x46\x6e\x2d\x42\xd3\xfb\x75\x2b\x62\xb3\x12\x1a\x84\xeb\x8e\xca\x5e\x96\xca\xf6\x91\x95\x51\x1e\xdc\xe6\x17\xe8\x99\x91\xe3\x82\x66\x9c\xc1\x55\x2b\x13\x9e\xc1\x97\x4a\x3e\xae\xaf\x95\xbc\xa1\xcf\x37\x58\x93\xf5\x4e\xdf\x3b\x13\x38\x60\xdc\xae\xcb\x63\xad\x0e\xb5\xaf\x6c\xa1\x24\x4e\x4d\x06\xa6\xa2\x29\xe9\x99\xca\x5c\x45\xb0\x83\x3d\xaf\x40\x6e\x26\x46\x69\x4e\xa8\x70\x9d\x58\x1c\xc4\x8d\x52\xf6\x37\x94\xc6\x9b\x68\x64\x87\x48\x93\xab\xfe\xe5\xe0\x7c\x3c\xb8\xba\x1f\xde\xff\x5c\x83\x71\x59\x7e\xec\x60\x2e\x83\x17\xee\x7e\xbe\xbb\x1f\x5c\x8e\x3f\x0d\xae\x06\xb7\xfd\xfb\x35\x10\x98\xab\x3a\x6b\x82\x57\xcc\x65\x9d\xfa\xb6\x09\xc4\xa2\x33\xf3\xd6\xf4\xbe\x0c\x84\x19\x74\x42\x49\x03\x18\xa6\x81\x27\x60\x31\x11\x28\x26\x4f\x24\xe1\x59\x61\x56\xad\x5d\xb0\x00\x25\xb3\xa6\xfd\x55\x48\x99\xd0\x66\x75\x8d\x4f\x91\x29\xf3\x17\x54\x3a\xf6\x0d\x82\xc8\x87\x05\x61\x5f\x29\x44\x3e\x67\x09\x8d\xa8\x0a\xd2\x17\xb9\xb0\xee\x15\xe3\x3e\x84\xe8\xd4\x35\xc4\xb5\xb7\x68\x94\xbd\xeb\xfc\xa1\x27\x7d\x59\xdb\xf7\x27\xca\xa3\xb6\xad\x2d\x72\xb4\x07\xc5\xbe\xc1\x69\xbc\x04\x2a\xb7\xc5\xe8\x5e\xc2\x3c\xb0\x9c\xa3\x63\x53\x10\x1b\x00\xe7\xea\x07\xb9\xfe\x36\x5c\x15\x27\x53\x3a\xd7\xab\x03\x65\xda\x51\xea\x1b\x87\xbb\x94\x6a\xaa\xee\x01\x1d\xc4\xc6\xae\x6f\x18\xb0\xb0\x54\xd3\x86\x99\x98\x53\x8c\x04\x49\xb9\xd2\x0a\x98\x89\x08\xe8\x69\xa1\x8a\xe2\x84\xfe\x0a\x38\x5a\x82\x1c\x07\x11\x14\x0e\x7d\xac\x70\x1f\x58\x8c\x8b\xe3\x11\x3b\x1f\xdc\xdc\x0e\xce\x34\x43\x3a\x46\x0f\x12\x20\xb2\x4a\x53\x3f\xb7\xe4\x6d\xc4\xb1\x30\x92\x81\x32\xa9\x08\x6e\x0a\x06\x23\x42\x70\xd1\x9e\x3f\xf8\xfe\x06\xf0\x5d\x3d\x79\xc3\xb3\x92\x6d\xca\x19\x00\xae\x1a\x0b\x62\x07\x39\x03\x7b\xcf\xc9\xba\xc5\xcf\xa5\x15\x09\x21\x42\x40\x12\x29\xaf\xfa\x0b\xae\x36\x80\x8c\xb6\x9f\x5f\xa9\xcf\x1b\xf8\x76\xd5\x3c\xef\x21\xc4\x4e\xaa\x02\xb1\xd4\x80\x9a\xfa\xca\x3c\x95\x79\x36\x8a\x8a\xe2\x2d\xe0\x44\x2a\xa4\x3f\x21\x33\xcc\x90\xc8\x19\xab\x40\xd8\x86\x96\xb6\xe5\xa0\x99\x4d\x8f\xaa\x5e\x33\x9c\xf2\x9c\x99\xd2\xb2\x7a\x54\x35\x83\x91\x19\x61\x6a\xcd\x60\xde\x0a\x2c\xa6\x32\xd4\xc3\xc5\x8b\xa9\x19\x68\x13\x64\x4c\x9d\x3f\x09\xaa\x6e\x6f\x76\x2d\xbb\xa0\xbc\x92\x53\x49\x1f\x2a\x7f\x3f\xd7\x6b\xd9\x58\x3e\xee\xdc\xdd\x3d\x96\x8f\xeb\xbb\x8a\x49\xf4\xb8\xe9\x65\x53\xcd\xcc\x4c\x6c\xd1\xf2\x25\x63\xdf\x42\x3f\xb5\xe5\x63\xa0\x56\x7d\xf4\x88\xbe\xbf\xbf\xbc\x40\x53\xaa\xe5\x5e\x7d\xad\x5c\x61\x2d\x63\x3f\x88\xc4\xd9\x85\xad\x6d\x35\x17\x89\xbf\x7b\x61\xe3\x9d\x28\x15\x48\x09\xfa\x46\xc3\x33\xe2\x8c\xbd\xc2\x22\x02\x56\xca\xc7\x08\xcc\x62\x9e\x9a\x79\x9c\xc8\x7c\x3a\xa5\x9f\x8f\x15\x16\xdf\x34\xac\x87\x89\xaa\x18\xff\x9d\x4f\xc6\x7a\x44\x3b\x5e\xc4\x75\xcd\x21\x5b\x4b\xdb\x2f\x9b\x9d\xd9\xb9\x79\xf7\xff\xf2\x09\x64\xbb\x43\xc2\xbe\xf3\xce\xd9\x48\x05\xfb\x8a\xa3\xa4\xa2\xb8\x74\x09\x88\x25\xe2\x42\x10\x9b\x24\x6f\xea\x9f\x66\x58\x28\x0a\xd6\x5a\x07\xe4\x52\x42\xf0\x2f\xb6\x28\xac\xf6\x3e\xc7\x05\x5a\xf6\x84\x10\x70\xf0\x64\x34\xd9\x4c\xe9\x3d\x2b\xf9\x26\x2b\x27\xd0\x46\x9e\x5a\x6c\x4f\x30\xc8\xac\x15\xb1\x06\x4f\x84\xa9\xbd\xe8\x27\xd0\x44\x4d\xda\x7e\x3b\x2f\x83\x29\x43\x3a\x3c\x2f\x2e\x37\x17\xd2\x1b\x46\x35\x29\x81\xe1\x9e\xb7\x89\x52\xd6\xa5\xde\xe4\xe8\x7f\x6a\xed\x3b\x86\x57\x97\xd7\x65\x4d\x68\xbc\x5d\xed\xa2\xca\x7b\x11\xd6\xea\xca\x0f\x6c\x09\x36\x24\x89\xb1\x62\x04\x20\x17\x56\x39\xad\xee\xb9\xe9\x53\xd3\x56\xa5\xcb\xb5\x5b\xbe\x05\xb2\x4e\xa9\x99\x4f\x04\x52\x3a\xf7\x11\x88\xbe\x49\xee\x3e\x0c\xe4\x41\x24\x10\x42\xbd\xd2\x8a\x65\x4a\xa1\x6b\xce\xe7\x25\x3b\xdc\x42\x46\x37\x83\xd1\x42\x23\xc9\x04\x89\xf4\x55\x76\x8a\x6e\x12\xa2\x25\xaf\x5c\x4b\x5f\x79\x92\x38\x14\xb2\xd5\xd2\xe1\x46\xc8\x79\x2f\x3e\xaf\x40\xf7\x58\x31\x31\x87\xc2\xb7\x7a\x66\xc1\x1a\xec\x1f\x71\x21\x58\x5f\x30\x21\x83\x21\xb1\xac\x45\x02\x87\x5f\x98\xb8\x59\x30\x25\xe1\xd2\x45\x46\x7f\xd5\xec\x57\x10\x39\xe7\x8d\x49\x8e\xe1\x6c\x5f\x66\x0e\x6e\x29\x5f\x70\x12\xee\x3e\x6c\x8a\xab\x6e\x21\xd7\x54\xee\xc0\x92\x88\xb3\x6a\x8a\xbe\x42\x85\x8f\xfe\xb0\x98\xb0\xf6\x6e\xb5\x43\x83\x5b\xb2\x30\xb5\x85\xf8\x6c\x85\xeb\xa2\x50\x66\x16\xc6\xf7\xea\x3f\x2f\x0c\xc8\x45\x4a\x00\x55\xb2\xa8\x8c\x87\xf4\x5d\xdb\xb4\xc5\x7a\x9e\xe3\x5c\x6c\x04\x49\x51\x20\xab\x6f\xc2\xb9\x6d\x32\x4a\x31\x2c\xbd\x08\xf5\xec\xd2\x16\xbc\x00\x31\xda\x86\x1a\xc9\x12\x5a\x9d\x25\x1b\xb3\x8c\xb5\x2a\x5e\x33\x53\xde\xd5\xad\x06\x52\x72\x21\xca\xbc\x94\x77\xad\x44\x81\xa5\x09\x74\xf8\x67\x9b\xe3\x9f\xd9\xea\x27\x9e\xf6\x00\xad\x50\x09\x48\xfc\x2f\x1c\x68\x55\xc1\xc1\x1a\xbd\xd7\x65\x3e\x95\x76\xa7\x55\x9a\x53\xe9\x0b\xcd\x4b\xce\x77\xf4\xc0\xe9\xc9\x2c\xc6\x90\x38\xba\x4b\x14\x4e\x69\xfe\xc6\x7b\x00\x6d\x92\x18\x19\xf4\x02\x83\xce\x6c\xd7\xce\x7b\x4e\x32\x2c\x08\x53\x23\x76\xab\x47\x61\xbe\x28\x22\x31\x5c\x1c\x8e\x43\xcc\x87\xba\xba\x53\x84\xed\x57\xb0\xe8\x4d\x81\x70\x72\x6c\x5e\x02\xd5\xf4\x05\x93\xec\xbf\x33\xef\x18\xcc\x03\x8b\xf9\xa3\xa7\x4a\xa7\x85\x1a\xaf\x05\xc8\x68\x4e\x01\x72\x20\x26\xd2\x5e\x48\x54\x59\x4c\x09\x2f\x7e\xe7\xc4\x61\x44\xc3\x67\x9e\x7f\xd5\x31\x6c\x67\x28\x60\xce\x40\x27\x47\x2c\xe8\x63\x05\xa4\xa8\x51\xd6\xb7\x54\x25\x60\x9f\x69\xec\x1d\x5f\xf0\x4f\xb3\x43\x5c\xd0\x19\x65\x41\x61\x27\x3b\xbd\x14\x67\x60\xde\x35\x67\x90\x4f\xfd\x9d\x76\x6f\xb3\x0c\x8e\x61\xc4\xff\xf3\xdf\x7f\x3b\xa6\x4d\xde\x0f\x39\xb6\x2b\x70\x08\x3b\xb9\xd9\xb6\x84\x3b\x1f\xa0\x88\x34\xa0\x53\x04\x3a\xad\x2c\x65\x4e\x14\xbf\xda\xcb\x4d\x13\x0d\x57\x73\xe3\xee\x2d\x93\x3b\xf8\x46\x44\xbe\xe2\x6c\x98\x2b\xe6\x6d\xd7\x92\x4a\xc8\x0e\xd0\x23\x31\x27\xd9\x1b\x08\xc2\xa2\xe9\x4b\x66\x9a\x11\x2b\x3e\x91\x06\x0f\xc5\x40\xd0\x9a\x1f\x8a\xd5\x69\xb9\x30\xab\x78\x7f\x11\x29\x51\xb8\xc3\x83\x68\x64\x57\xe2\xc3\x44\x91\xea\xf6\x2b\x37\x6d\x85\x73\x07\x58\x8c\xbb\x44\x6d\xce\xb1\x7c\xb9\xd0\x9c\xda\xd2\x54\xc6\x9a\x1e\x0a\x0f\xeb\x82\x74\xcc\x20\x4d\xb6\xa7\xde\x90\x5c\x12\x61\x38\x9d\x87\xc3\xb2\x94\x10\x22\x4d\x42\x8c\xe6\x1a\x5f\x23\x49\x31\xdd\x28\x9f\x40\xbf\x5f\x8f\x83\x59\x72\x36\xe0\x19\x11\xe3\x38\x57\x4b\xc7\x62\x55\x8c\xbf\xfe\xe8\x3c\x57\x8b\xf5\xed\xcb\x04\x2f\x97\xe6\x59\x85\x3d\xaa\xdf\x6f\x68\x76\xbd\xc4\x1c\x84\xf8\x94\xa5\xe6\x06\x64\x4f\x52\x41\xf6\xb4\x31\xa7\x25\x13\x09\xdc\xc0\x4c\x01\xa4\x5e\xa1\x49\xd9\x2b\xda\xe0\x8f\xc3\xc8\xd1\x24\x2f\x4c\x4a\xbe\xa2\x43\x7c\x3c\x62\x1f\x4d\x49\x14\xd0\xf2\xcc\x00\x22\x48\xf8\x21\x9f\x33\x2e\x49\x29\x03\xad\xa6\x4a\x83\xcd\x20\xb5\xc3\xa8\x17\xd6\x8b\x8f\x76\x97\xd5\xdf\x1c\xa3\x75\x79\xc3\x97\xa7\x5c\x4f\x81\x3b\x89\x83\x11\xcd\xa8\xa6\x9d\x71\xed\x49\x7b\xb9\x4a\xc1\x45\x4c\x17\xe0\x60\xa9\x64\xd1\x43\x7e\x7a\x15\x82\x48\xc8\x13\x01\x73\x3a\x8c\x31\xac\xc5\x51\xb6\xeb\x35\xb0\x93\x75\x07\xa8\x48\xff\x04\xb6\x80\xe2\xea\x08\xca\x49\x72\x75\xb4\x58\x4e\xff\xd9\x39\x53\xad\x2e\x30\x65\x03\xf1\xbc\x1f\xd6\x24\x59\x10\x85\xc8\x67\x45\x6c\xd5\xd2\x7b\x97\x4b\xb8\x9c\x7e\x80\xea\xd3\xa1\x9a\x65\xc7\x17\xaf\x1f\xdd\x77\x19\xe4\x2e\x59\x32\x76\x57\xbe\x4d\x1e\x9c\x63\x16\xdb\x8c\x58\xab\x64\x68\x61\x0b\x66\x67\x8c\x6e\x3e\x57\xc0\xe6\x75\x06\x60\xee\xa6\x4d\x83\x3a\x0f\x17\x99\x53\x18\xb5\xca\x02\xe1\x15\x5c\x68\xc9\x3d\x67\x8a\x26\x9a\x38\xec\x18\x24\x9a\x42\x64\x9c\x05\x2a\x84\xc8\xf6\x26\x2c\x3c\x2a\x25\x65\xb3\xb1\x5d\x49\x97\xdc\xd9\xee\x62\x28\xd3\xd4\xa5\x69\xca\xfc\xf8\x9d\x6b\x68\xb5\x51\xdd\x90\x35\xe0\x94\xb9\xb4\x52\xd0\x38\x18\x77\x93\xb1\x00\x73\x2e\x1b\x75\x4c\x63\xb3\x14\xd4\x14\xc7\x86\x89\x6e\x62\x77\x07\x99\x6e\x19\xc7\xa1\xb8\x42\xa4\x4d\x15\x35\x09\x60\x10\xa9\xaf\x1a\x72\x61\x65\x63\x0e\xec\x90\x79\x11\xcd\x96\xe6\xf2\x99\xfe\x95\x74\x5a\xec\xba\xb3\xe9\x08\x38\x49\x26\x38\x7a\xf4\x5a\x98\xb7\x45\x70\xe1\x4a\x1b\x68\xb9\x12\x6a\xb7\x19\xe2\xd2\x03\x8d\x40\xba\x09\xbd\x85\x06\xc9\xc7\x0e\xbb\xe8\xdc\xac\x9a\x85\x48\x33\xd0\x4d\x66\xf4\x26\xb7\x21\x26\x59\xc2\x17\x69\xc3\x7d\x56\x4d\x21\xdc\x25\x52\xa7\x29\x83\x71\xaf\x57\x59\x85\xe9\x6d\x7c\x99\x2d\xe5\x23\xed\x01\x57\x6a\x03\x2e\xf9\x29\xe1\x13\x30\xa9\x5a\xf3\x83\xcb\xb1\x09\x52\x3d\xaa\xe7\x79\xd3\xcc\x9f\xea\x89\xa4\x32\x4b\xb4\x32\xd3\xdc\x83\xc9\x39\x79\xd9\x7d\x33\x18\x05\xeb\xad\x83\xed\xa3\xb5\x6b\x3f\x7f\x09\x04\xe3\x0b\x27\x09\x98\x77\x0d\xff\xaa\x58\xd9\x4c\xb2\xdf\xb1\x71\x52\x2b\x3e\x62\x0a\xcf\xdc\xe6\x5a\xe1\x92\x3f\x33\x22\xe4\x9c\x66\xa5\x9a\x8e\x3b\x87\x87\x5b\x8a\xb6\xff\x31\xc1\xd0\x1b\xf0\x4e\x9e\x1d\x19\x84\x12\x4d\x1f\x32\xc3\x51\x61\x15\x8d\x12\x2c\x25\x9d\x2e\x02\x60\x11\x1f\x69\x0b\xe9\x5b\x65\x33\x42\x50\x46\xad\x8e\xd1\x98\xf1\xed\x27\xb3\x7e\xf7\xac\xc2\x87\xf2\xf1\xa3\x71\x88\xe0\xa6\xef\x93\x65\x14\x19\x77\x53\x5b\x34\x99\x46\x24\x5a\x03\x21\xb0\x5d\x26\xfc\x4a\xf0\x9f\x66\x33\x42\x21\x4c\xda\x61\x5b\x45\xc6\x03\x7e\x84\x60\x38\xaa\x94\x4a\x09\x9b\xaf\x15\x27\x67\x17\xd6\xc4\xe9\xc1\x42\x00\x53\xa1\xf8\xb8\x87\xe4\x4e\x20\x5b\x6d\xe8\xe2\x9c\x24\x64\x2f\x11\xd7\x5b\x10\x49\x35\x9c\x21\x20\x8f\x95\xa4\x51\x94\x19\x58\x6f\x5c\xd8\x22\x10\xbc\x01\xaa\xa7\x7e\xe8\x3f\x99\x81\xda\x58\xf0\xba\x5d\x04\xc3\x20\xac\x72\x5b\xdd\xa5\x0e\xf3\xcf\xb4\x60\x49\xae\xe8\xa6\x44\x57\x45\xa7\x5e\x5e\x39\x44\x52\x7b\xe3\x90\xe9\xa5\x71\x7d\x22\x6d\xc2\x3b\xd6\x1e\x80\xad\x38\xd0\x32\x9f\x6e\x47\x17\xd6\x81\xaa\x38\x9a\x11\xc0\x64\xa1\x2c\xa6\x4f\x34\xce\x71\xf2\xae\x68\x62\x6f\x09\x1f\x7b\x5a\xfd\xfa\x43\xbe\xd9\xa9\xbd\x23\x4a\xba\x2b\x61\x09\x46\xd1\x6e\xce\x01\x6e\xc1\x61\x1c\x4b\x23\xb8\x7e\xf1\x72\xcb\xce\x20\x09\x76\x64\x16\x2a\xe0\x37\x24\x50\x99\x39\xc6\xf6\x0b\x0f\x0b\x50\x02\xc4\xc2\x25\x10\x41\xb3\x46\x6f\xcf\xf5\xaa\xa4\xfd\xa5\x8b\x5e\x9b\xd3\x78\x75\x54\x05\x75\x77\xf2\xe0\x66\xf2\xa0\x03\xd9\x3c\xc0\xcb\xbf\xe9\x18\x1c\xe6\xfd\x73\x00\xc2\xe1\xd2\x95\xb8\x3f\x11\xf1\x1d\x91\xc9\x41\x48\x8a\x4b\x5b\xf1\x5a\xf2\xe2\x91\x43\x39\x2a\x30\x83\x0e\x77\x8b\x0e\xe3\x24\xdf\x5a\x37\xd0\xcb\x5d\xb0\xeb\xe9\x65\x2f\xf4\x01\x80\x9f\x18\xf2\xa2\x73\x5b\x41\x04\x0e\x6f\x10\x4b\xb7\xe4\x7b\x58\x13\xa5\x68\x87\xd7\x2a\x3e\x71\x69\x39\x5f\x62\x7b\x6d\x12\x5c\xeb\xcd\x7d\x49\x52\xdb\x74\x2c\xfb\xd0\x51\x5e\xd8\x8b\x63\xa9\x31\xf8\xa0\x0b\x16\x6e\x77\x8b\xd6\x40\xeb\xb8\x2d\xdb\xe7\x21\xab\x2b\xfb\xb6\x7b\x1a\xbf\xcb\xf1\x1b\x67\x82\x4c\xe9\xe7\xad\x44\xf1\x1b\xf8\xd4\xaa\x97\x7a\x99\x2b\x85\xe4\xc0\x3d\x03\x85\xe7\x82\x80\x46\xbb\xd2\xb6\xd8\xd4\x88\x15\x99\x91\x36\x2d\xf2\x91\x2c\x10\x17\xa5\x9f\xb6\x05\x81\xdc\x7f\xd1\x3b\xb3\xaf\x73\xa5\x32\x79\x7a\x72\x32\xa3\x6a\x9e\x4f\x8e\x23\x9e\x9a\x38\x7c\x2e\x66\xe6\x8f\x13\x2a\x65\x4e\xe4\xc9\x1f\xff\xf0\x87\x62\x8b\x27\x38\x7a\x9c\x19\x58\x9d\x65\xbf\x53\x79\xcb\x09\x96\xbb\x45\xf6\xb8\x14\xb6\x17\x4e\x65\x0e\xba\x71\xc9\xa3\xfa\x1b\xa9\x70\x9a\x85\xa1\xa0\xa6\x6c\x9c\x54\xb8\x28\x56\x01\x79\x89\x7a\x9a\x68\x8e\xb3\x8c\xb0\x66\xb3\x83\x49\x34\xdd\x81\xf5\xb8\x54\x55\x3b\x42\xf2\x39\x4b\x30\x2b\xc3\x2f\x40\xe5\x25\x41\x22\xc2\x94\x85\x06\x28\xca\x5d\x03\x35\x1a\x08\x20\xc3\xff\x37\x4b\x45\x84\x39\x52\x59\x94\x54\x73\xc3\xb1\xe5\x4d\x5d\xd1\x4b\x1c\x2c\x5d\xb5\xa4\x6c\xb1\x76\xc4\xad\xda\xaa\x24\xc5\xbb\xe5\xf2\xe7\x9b\x97\xb4\x11\x9c\x8d\xc9\x67\xcd\xe4\xe4\xb6\x80\x5d\x0f\x92\x48\xd4\xff\xe9\x0e\xc9\x05\x53\xf8\xf3\x29\xba\xa4\x0c\x04\xd8\xef\x79\x2e\x24\x3a\xc7\x8b\x23\x3e\x3d\x4a\x39\x53\x73\x74\x09\xff\x6b\x7f\x7a\x26\xe4\x11\xfd\x4c\xb0\xb0\xfc\xc1\x96\xa4\xf3\x35\xd8\x35\x09\x89\x9c\x49\x44\x9e\xf4\x09\xfd\xc3\x7f\xa2\xd4\xb4\x7c\x8a\xbe\x3d\xf9\xc3\x7f\xa2\xdf\xc1\xff\xff\xff\xd1\xef\x1a\x34\xfd\xcd\x20\xbf\xa0\x72\xf1\x6d\xd9\x9d\xdb\xab\xac\xd4\x16\x15\xe7\xcf\x04\x2f\x76\xaa\xb6\xe5\x47\x1a\x3d\xf2\xe9\x74\xac\x09\xc3\x24\xf2\x8d\xb1\x58\x82\x8b\xde\x12\x3f\x95\xda\xda\xd3\xa6\x92\x5d\x51\x43\xc6\x76\x6a\x10\x1f\x1c\xbb\x96\x79\x51\x79\x17\x82\x88\x4a\xd5\x8c\xa9\x84\xaf\x48\xac\xb9\xea\x26\xa7\xc3\x59\xf7\x5c\xf2\xb7\xb3\xe0\x84\x08\x29\x61\x3d\x75\x1f\xf8\x17\x46\xb1\x9a\x40\x1f\xbb\x90\xb5\xc7\x61\x29\xbc\xf6\x8b\x89\x99\x84\xa9\xbd\x55\xbc\xa4\x5c\xea\x7c\x7d\xa8\xe4\x1d\x17\x3b\xe9\x5b\x8f\xa4\x31\x95\x61\x4d\xbd\x24\x57\xc3\x37\xac\xec\x0f\x19\xe2\x5c\x78\x1c\x63\x63\x17\xb1\x55\x15\xd7\x5b\x31\xa9\x30\xc1\x65\xed\x0e\xbd\x9e\xfa\xb9\xff\x64\xdd\x30\x21\xd2\xcc\xbd\x5d\xd4\x8b\x83\xd1\x6a\x11\x49\xb3\xc4\x9a\x11\xd7\x80\x1d\xae\xdb\xd0\x3b\x8f\x6f\x01\x8d\x43\xd8\x23\xe4\x6f\x30\x27\xd9\x5a\x00\x81\xfa\xfd\xcc\x45\x44\xce\xf8\x6e\x61\xaf\x09\x65\x4b\xf1\xf2\xed\x4b\x11\xf9\xd5\xbb\xb0\x45\xa7\x1c\x1e\x30\x8f\x0b\x65\xc1\xb8\x05\x6c\x15\x8a\x00\x88\xb4\x3c\x1b\x00\xb4\xdb\x07\xd6\xe5\x52\x6d\x84\x1d\xb8\xb6\x31\x1c\x17\x0c\xcf\x95\xd6\xa8\x54\xd4\x10\x58\xf3\xc2\x15\xb1\x6b\x10\x54\xb4\xf3\x38\x82\x2a\x31\x45\xa4\x52\xa5\x1a\x3b\x36\xa5\x52\xc4\x96\x58\xa5\xa6\x60\x53\x0f\x09\x0c\x41\x99\x6a\xae\xdb\x93\x44\x1c\x4d\x71\x44\xd9\xac\x17\xc0\x54\x02\x64\x44\x78\x1d\xd4\x11\xe9\x3d\x96\x8f\xfb\x0d\x34\xdc\xb9\x80\x25\x8d\x8b\x22\x6a\x16\x58\xc6\x38\x36\xe8\x12\x46\x9f\xc2\xf2\xb1\x09\x59\x69\x09\xd6\x6d\xc5\xe8\xfc\x52\x38\x30\xb8\x55\xe3\x73\x29\xe8\x24\xd4\xa7\xa0\x66\x83\x2b\xa9\x6c\x41\x1e\x5d\xc6\x1f\xf6\x28\x2c\x55\x74\xd3\x15\xe3\x97\x73\x2e\xd4\x78\x4b\x5c\xd8\x6a\x1a\x3d\x23\x47\x09\x00\xba\xf0\x27\x22\x9e\x28\x79\x2e\xc3\xab\x6e\x42\x8b\xc6\x68\x16\x44\xd5\x01\xfe\x66\x9a\x71\x48\xa1\x99\xa2\x14\xb3\x85\x61\x94\x9a\xb9\x60\xf9\x28\x7d\x21\x57\x24\x53\x9c\x24\x3d\x24\x48\x2e\x4d\x81\x63\x49\x92\xe9\x91\x2b\x85\x11\xa3\x84\xcf\x68\x84\x13\x34\x49\x78\xf4\x28\x4d\x86\x1b\x9b\x19\x26\x95\x09\x1e\x11\x29\x03\xc9\xaa\xc8\x66\xb7\x39\x86\x50\xc5\x55\x11\x91\x52\x46\xa5\xa2\x91\x13\x99\x0a\x50\x0a\x53\x4b\x3c\xc2\x60\x12\x86\x8c\x4d\x18\xae\x96\xf4\x88\x01\xe7\xcc\x99\x2d\x9a\x04\xd7\xb5\xc5\xdc\x73\x41\xe2\x4d\x07\x68\x0f\x10\x82\x8e\x42\xc6\xaa\x7c\x20\xd7\x1c\xa9\x33\xfb\x19\x1c\xe3\x55\x24\x70\x5b\x3e\x51\x9e\x20\xfd\x49\x2b\xc1\x1a\x41\x4c\xb9\x0f\x81\x2f\x49\x2e\x3e\x32\xfc\xc0\x10\xcd\x60\xc8\x0d\x38\x66\xeb\x68\x5a\xaf\x22\x88\x3c\x50\xa7\xab\xea\x35\xa7\x2c\x4a\xf2\xd8\x57\x6a\xd4\x22\xc0\x93\x26\x12\xb7\x3c\x7a\xed\xb5\xa0\xd0\x43\x58\xa2\x67\x92\x24\xfa\xbf\x26\x02\xfe\xc8\x17\x4e\xd0\x2c\xd9\x14\xb7\x80\x4e\x1c\x97\x6e\xa2\xa8\x83\x43\xa7\xbc\xc1\x6a\x6e\x72\xfe\x53\xae\x4c\x91\x4c\x83\x4e\xe9\xec\x5b\x06\xce\x70\x92\xf0\x09\x9c\x74\x00\xae\x74\x79\xae\x41\x5a\x5d\x1e\x45\x84\xc4\x24\x46\x5f\x07\x07\xd7\xe3\x51\x7c\x53\x0f\xa3\x58\x5a\x91\x03\x00\xad\xac\x1a\xd6\x1a\xa1\x2b\xcb\x75\xde\x8e\xd1\x4d\x05\x98\x25\xac\xdf\x8e\xab\x30\x5d\xbd\xa5\x2d\x7c\x1b\xa0\xcb\xca\x24\x5e\x6e\x87\x36\x04\xba\x2c\xf5\xb9\x07\xa0\xcb\xca\x3c\x1b\x62\xf7\xf9\xec\x45\x73\x8e\xf5\xa4\x2e\x78\xfb\x44\x30\x03\x10\x66\xee\xce\x12\x09\xba\x03\xb9\xa8\x23\xc4\xc3\x02\xf1\xac\x54\x43\x7c\x5b\x10\xcf\xca\x60\x0e\x19\xc4\xb3\x32\xd4\xc3\x05\xf1\xac\x19\x68\x0b\x10\x4f\xe3\xdc\x1f\x6b\xa2\x6e\xc7\x14\x20\xb1\x65\x92\x4f\xef\x20\xd5\x7b\xe5\x18\xcf\x4c\xe0\x80\xb9\xc6\xdc\x1d\x6d\x31\xad\x61\xb4\x36\x07\xb2\x29\x1c\xaa\xe2\x84\xd8\x94\xf6\xbc\xf7\xcd\x80\x3f\x6c\x6a\x76\xef\x85\xd6\x6e\xb0\x43\x46\x38\xb3\x39\xe5\x4d\xa5\x66\x0e\x27\x7b\x76\x3b\x7c\x54\xc0\x20\x2c\xb1\xfc\x56\x08\x62\x97\x95\xaa\x0d\x73\xfe\x6c\x2b\x27\x01\x19\x1a\xa2\x6c\x24\x41\xe8\x74\x6c\x95\xb6\xa6\x95\xa3\x4c\x91\x59\x55\xa7\x2d\x0e\x0d\x65\xea\x4f\x7f\x5c\xcb\x89\x0c\xc4\xa2\x53\x0f\x83\xda\x09\xde\xd9\x61\x9f\x91\x18\x45\x73\xad\x15\x49\xad\xbe\xe8\xe9\x98\x9b\x55\xa2\x14\x53\xa7\x48\xe5\xd2\xb8\x96\xa8\x1c\xb1\x12\x26\xe9\x31\xfa\x08\x05\x61\x71\x9a\x69\xfd\xcb\xcf\x8f\x6a\x4a\x1a\xe5\xdf\x7e\xfb\x27\x82\xbe\x45\x29\xc1\xac\xa4\xc3\x82\xda\xa4\xaf\x3e\xc0\xf0\x53\x73\x32\x62\xb5\x5b\x81\x06\x9f\x4d\x8d\x29\x17\xef\x37\x64\x53\xee\x74\x62\x28\x74\x88\xa3\x39\x92\xf9\xc4\x54\xea\x0d\x6c\x18\x4e\x90\xbe\xe0\x33\x70\x54\xc3\x8d\xec\x06\xbd\xea\x14\xbe\x6c\x0c\x80\x75\x37\xb6\xbd\x8d\xfb\x70\x8f\x1c\x49\x52\xc2\x76\xaa\x71\x9a\x19\xce\x17\x1e\x7c\x69\x70\x5f\x7a\xc6\x87\xa0\xf5\x33\x6c\x2d\xfb\x5a\x96\x86\x70\x5e\xf0\x92\xe5\x09\x16\xf6\xe8\x8f\x98\x56\x34\x04\x79\xa2\x3c\x97\xc9\x02\xc5\x9c\x91\x1e\x50\x42\x1e\xcd\x8d\x63\x55\xeb\x2c\xd8\x16\xac\x78\xa2\x32\xd7\x0a\x2d\xb4\xe5\xea\x63\x48\x85\x0d\x26\xd5\x9c\x42\x3f\x5a\xfd\x26\xf0\x55\x98\x25\x87\xda\x69\x51\x21\x6c\x6c\x85\xe7\xb7\x84\x8d\x2d\x51\x55\x07\x1b\xeb\x61\x63\x97\xd7\xe5\x10\x61\x63\x2b\x7b\xde\x0e\x36\xb6\x6e\xcb\xb7\x80\x8d\x2d\x35\xf3\xc5\xc0\xc6\x56\x56\xf4\x8b\x81\x8d\xad\xcc\xab\x83\x8d\xfd\xf2\x60\x63\x77\x04\x46\xad\xe7\xc5\x06\x5f\x49\x51\xb6\xd8\x98\xc8\xbe\x92\x68\x78\xad\x09\x2c\x7a\x2c\x07\xb5\xf9\xeb\x6a\x77\x30\xd6\x7a\x26\xb4\x19\x18\x6b\xad\xaa\xde\xcc\xea\x76\x05\x78\x02\xc5\xe0\x95\xc1\x58\x4b\x13\xe8\xe2\x2b\x37\x8f\xaf\xac\x25\x3e\xdb\xb7\x1e\x9e\x0b\xba\xac\x5e\xc8\x2d\xe1\x58\x4b\xfb\xd3\x2a\x12\x13\x44\xf7\x3d\x50\xe2\xcb\x4a\xf3\xf7\xa5\x43\xbe\x56\x96\x0f\x57\x51\x5a\x60\x68\x2d\xe1\x39\xb4\x38\xa3\x84\x87\xfe\xff\x8e\x72\xb7\x88\x0c\xae\x2c\xaf\xf7\xab\x18\x5a\x6c\x41\xaa\xad\x29\xd4\x69\xa5\xfb\x49\x94\x75\xc9\x93\x1b\xba\x98\xdd\x20\xee\x32\x12\x35\xd8\x98\x69\x4a\xf7\xd5\xec\xba\x8b\xcc\x63\x61\x81\x42\xbe\x94\x17\xaa\xaf\x27\x33\x1c\x23\xe3\x57\xd2\x61\x01\xa8\xc3\x7c\x39\xa3\x52\x89\xc6\xd8\xa6\xa5\x11\xee\xe2\x2a\xcd\xf2\xd6\x01\x31\xc1\xaa\xce\xb6\xfb\x2c\x25\x29\x17\xeb\x02\xab\x6a\xbf\xb4\xa5\x6e\xb6\xf9\x94\x64\x73\x92\x6a\x49\x66\xbc\x69\x23\x6d\xf7\xdb\x27\x0d\xdb\xdc\x35\x13\xe8\x58\x22\x82\xc0\x11\xaa\xdf\x8d\x0d\x22\x65\xeb\xed\xde\x75\x9b\x2d\x66\xe6\x86\x0e\x21\x07\xa6\xbc\xda\xe0\x66\x5f\x2a\xb9\xbb\x81\xbe\x6b\x63\x3a\x7c\x48\xcd\xfa\xa8\x8d\x15\xf1\x1a\xab\x70\xa7\x8a\xaf\x6c\x21\xe8\x0d\x5c\xf9\x65\xef\xbc\xe6\x84\x61\x15\xe0\xcd\x03\x3c\x1a\x50\x53\x97\x97\x07\x22\x73\x24\x11\x47\xa1\x66\x50\x1a\xcc\xf2\x7a\x95\xa8\xc4\x69\x94\x3b\x10\x49\x2e\x1a\xa3\x4c\xdb\x18\xb4\x23\x95\xe3\x04\x34\x89\xb0\x7a\x65\x75\x53\x27\x8b\x9a\xb4\xc7\x76\x1e\x13\xca\xd4\x9f\xff\x63\xa3\xdd\xd4\xaa\x95\x5d\x37\xa8\xb8\x85\xa3\x88\x48\x63\x63\xb7\x51\xc8\x78\xc2\x9f\xa0\xd8\xd6\x2e\xbb\xaa\x8f\xb2\x9e\xb7\x66\xf0\x1e\x8a\x38\x2e\x48\xdd\x88\x0b\x73\xc1\xf3\xd9\xdc\xd9\x90\xf4\x99\xd1\x53\xab\xdb\xcb\x1f\x97\x6c\xe4\x1b\xef\xe5\x77\x39\x4d\xb6\xb3\xd0\xdd\x95\xca\x90\x7d\x1a\xde\x23\x39\xf7\xa7\x75\x02\xcd\xd6\x6e\xec\xf2\xa0\xdb\xf7\x69\xbf\xf5\xfe\x1a\xe8\xa6\xe7\xe0\x37\xa7\x3c\x49\xc0\xd3\x20\x49\xfa\x44\x44\x7d\xf7\x30\xe1\x7b\xba\x19\x72\x9e\x1f\x00\x7c\x5d\x24\x46\xb4\x92\xbf\x6e\x8c\x68\x28\x91\x1b\x7d\x35\x68\xc1\x84\xaa\x71\x46\x58\x9d\x8d\xed\xa7\xe5\x0a\x30\xef\x2c\x60\xd0\x45\x8f\xed\x2d\x68\xd0\x2d\xc9\x2b\x07\x0e\xae\x99\xc7\xa1\x06\x0f\x56\x98\x9d\x8f\xe5\x2b\xae\x19\x17\x38\x64\x14\x9f\xbe\x5e\xe2\x11\xeb\x97\xf2\x29\x5c\xa5\xec\xc9\xa2\x08\xc8\x36\x3a\x44\xc8\xcc\xa0\xce\x86\x35\xac\x80\x1b\x4d\xff\x05\x9a\x8e\x01\xaf\x35\x21\x85\x2e\x6c\x10\xa2\xc9\x49\x7c\x84\xa3\x45\x94\xd0\x28\xd0\x99\x67\x02\x67\xf3\x3a\x8e\xe7\x76\xbe\x43\xdd\x79\x2b\xd4\x9d\xa6\x82\x54\x9b\xc4\x6d\x3b\xba\x62\x38\x25\x1d\x1a\x50\x1d\x1a\x50\xcf\xe3\x5d\xb0\xa2\xb4\xd6\x1b\xc2\x28\x2c\x9f\xbb\x0e\x12\xe8\x0d\x20\x81\xb6\x39\x7c\x05\xde\x4f\xe9\xd8\x75\x30\x45\x1f\x5a\xc1\x14\xf9\x4b\xf0\xa0\x90\x67\x9a\xcf\xe3\x1b\x23\x9a\x2c\x0f\xec\x2d\x61\x89\x6a\xc4\x85\x4d\xe4\xa6\x55\xb8\x44\xab\xe8\xa2\xd5\xba\xbc\x2d\x4a\xd0\x66\x2b\xb3\x11\x00\x50\xed\xdd\x75\x20\x70\x40\xcd\xdb\x70\x20\xe7\x66\x9f\x59\x2d\x9b\xd5\x0e\x0d\x33\x5b\x36\x51\xb0\x36\x4b\x72\xf1\xf4\xf0\xbe\x12\x5d\x8a\x22\x6b\xdb\x25\xbb\xf4\x9d\x0f\x9a\x08\x34\xe7\x49\xec\x40\x28\xfc\x6a\xf9\x0e\x7c\x26\x80\x5f\x20\xb7\x19\x50\xec\x1c\xb4\xad\xa2\x20\xd8\xaa\x94\x16\xbf\x89\x30\xdc\x3d\x30\x9a\x7d\x58\x11\x3c\x27\xd9\xc6\x7e\xb0\x56\x16\x91\x65\xf3\xf7\x8a\x31\x96\x56\x08\xac\xe6\xf5\xc3\x5c\x6b\xf7\x5d\x33\xb8\x55\xa2\x47\x60\x1c\x14\x75\xa5\x3e\x0d\x9d\xc1\xd3\x27\xea\x0c\x11\x38\xec\x71\xa5\x97\xce\xcd\xae\x95\xa7\xae\x4a\x2c\x5b\x04\x83\x2d\x55\x6e\xdb\x1d\x1c\x28\xc5\x9f\xc7\x19\x16\x38\x49\x48\x42\x65\xfa\x62\xc1\xc0\x67\x65\x77\xad\x3e\xab\x82\x1b\x13\x11\xcb\xd3\x89\x21\x45\x37\x10\x5b\xec\x4f\x71\x24\x72\x16\x42\x9b\xf9\x8d\xf1\xc5\x04\x73\xb8\x17\xc0\xaa\x14\xcd\xa1\x6a\xeb\x14\x53\xc1\x88\x6c\xac\x91\x49\xa2\x5c\x50\xb5\x18\xdb\x92\xa3\xed\x0f\xdc\x9d\xfd\xf2\xcc\x7e\xb8\xda\xc3\xed\xb2\xfa\x5d\x7f\xbe\xc4\x69\x46\x04\x94\x09\x72\x05\x6f\x82\xb2\xaa\x16\xb5\x81\xf8\x5a\x43\x10\xfe\xbc\x74\x6d\x37\x05\x0e\xe3\xe7\x71\x90\x51\x35\x8e\xaa\xc4\xb1\xee\xb0\xd6\xe1\x4e\xad\x9a\xe4\x0b\x23\x2f\x35\x78\x91\x5f\xa0\xca\x88\x4d\x9b\x30\x4d\xeb\x01\x07\xae\x60\xb0\x57\x16\x1b\x13\xa4\xbc\x5b\xa5\xaa\x61\x9c\x16\xeb\xa7\x2e\xf8\x68\xc5\x60\xfb\xc1\x57\x2d\x46\x1c\x74\xb2\xa7\x61\xeb\x83\x2e\x44\x9e\x29\x3a\x59\x86\xb6\x51\xfb\x2b\x21\xda\x4f\x20\xcd\xda\xb9\x19\x4a\xdd\x9a\xba\xa2\x25\x4e\x6c\x67\xa7\xe5\x7f\x8b\x23\xe6\x10\x82\x0c\xc2\x52\x98\xc7\x77\x9d\x52\xa5\x5c\xa2\x80\x31\x40\x6b\xea\x2c\xdb\x66\xbf\x72\xe1\x1e\x18\x2a\xbd\x1a\x13\xd1\xf1\x88\xf5\x25\x7a\x26\x88\x11\x0b\x21\x51\x53\xc3\xd5\x5b\xb5\xa1\xf6\xd3\x84\xe8\x9e\x7c\x6c\x8a\x16\x1e\xa8\x92\xbe\xfc\x98\xe9\x63\x8a\x13\x49\x7a\xba\x61\xa8\x5a\xaa\x38\x04\x7f\x62\xf4\x2c\x70\x96\x11\x31\x62\x36\x8b\x03\x1c\x2e\x9c\x27\xa6\xfd\xa6\x10\x57\xbb\x06\x64\x1c\xe1\x68\xfe\x4a\x7b\x84\x21\x19\x27\x9a\x93\xd8\xe5\x0b\x97\xb7\xc7\xcd\xdb\x18\xac\x37\xd8\xac\xe1\xd4\x95\xcf\xea\xd9\x4e\x92\x48\x73\x14\x5f\x66\x3a\x23\x42\x8f\x5a\xd3\xf0\x13\x61\x88\x4e\xdd\x38\x6c\xec\x0e\x7a\x06\xcf\x94\x26\xfd\x27\x4c\x13\x93\x80\xef\xba\x76\x42\xa0\x31\xbf\x8f\x98\x71\x77\xb3\xa8\x94\xa1\x4a\x19\x95\x73\xcd\xa9\x73\xf0\x49\x82\x9a\xd1\x94\x38\xc3\x9e\x36\x39\xcd\x03\xfd\xfa\x6a\x0e\xfa\x44\x05\x67\x29\x24\xc9\x58\x5c\x26\xb7\x7c\x92\x28\x7f\x3c\x6a\x53\x1c\xd7\x4a\xc4\x71\x2c\xcb\xc6\x4f\xa3\x56\xd2\x5f\x4b\x66\x97\xa3\x52\x56\x60\x14\xc0\x0a\x41\x10\xa7\xab\x2c\xb6\x4a\xfe\xed\x52\x1b\x96\x53\x1b\xea\xd7\xe6\x10\xd3\x1b\xfc\x21\xde\x34\xc5\xa1\x69\xfb\xf7\x21\xd9\xee\x31\xd5\xe1\x8d\x73\x02\x5e\x26\x1d\xe0\x6d\xf3\x37\x5e\x22\x75\xa3\x4b\x70\x78\xc3\x04\x87\xd6\x96\xda\x72\x6c\x76\xf3\xb1\xdd\x28\x39\x60\x0d\x98\x53\x5d\x2f\x97\x44\x09\x1a\xc9\x7d\xf0\x07\x99\xe1\x96\x51\x6d\xa0\x05\x66\x6b\xa4\x26\xfd\x82\x77\x42\x42\x9c\x98\xaf\xf3\x37\x11\x04\x3f\xc6\xfc\x79\xc9\x56\x27\x43\x34\x8d\x4b\xae\xc5\x1e\x41\x22\x2a\x49\x29\x92\x85\x4a\xc4\x88\xb4\xc6\x4e\x3c\x62\x73\x4a\x04\x16\xd1\x1c\xb2\x1b\x8b\x8d\x31\x59\xb2\x06\xd0\xc8\xc4\x32\x84\xde\xa6\x0d\x36\xbd\xc5\xba\x57\x2d\x4c\x1e\x9f\xce\xee\xb9\x1e\x49\x6a\x3e\xf1\xc2\x8c\x95\x32\x42\x93\x5c\xab\xed\xdf\x35\x10\xdf\x2f\xf6\x8b\x06\xe3\xfb\x60\xa2\xe0\x8b\x96\x01\xf9\x05\x35\x74\x41\xf9\x2f\x14\x94\x5f\xb3\xc4\x9b\x05\xe6\x6f\x65\xf2\x7b\xfd\x98\x61\xd7\xf3\x6b\xc4\x0d\xaf\x0b\xda\xca\x27\xe3\x17\x3f\x7a\xb5\x73\x6e\x7b\x02\x7f\xf2\x44\x61\x24\x62\xa1\xe9\x6c\x42\xe2\x18\x38\xad\xe2\xb6\x52\x74\x41\x3b\xce\x3c\xa0\xef\x5e\x2c\x35\xb1\xe3\x84\xb3\x99\xa4\xb1\x01\x5b\xc9\x30\x54\x6c\x0d\x8d\x17\x00\x2e\x00\xfb\x9b\x24\x44\x38\xaf\x84\x40\x5f\x4b\xca\x2c\x9a\xa2\xff\x2d\xe6\x44\xb2\xaf\x94\x31\x16\x60\xb6\x40\x8f\x8c\x3f\x27\x24\x9e\xc1\x0e\x55\x07\x73\x84\x28\xe9\x21\xaa\xfc\x67\x02\xd0\x08\x78\xae\x46\x7a\xec\x10\x6b\x66\x34\x00\x62\xbf\x0d\x6a\xa2\xfb\x66\xbe\x39\x46\x68\xc8\xd0\x14\x47\xaa\x87\x64\x3e\x29\xda\x8f\xb9\x29\x72\xad\xb5\xef\x60\xe2\x45\x23\x5d\xcc\x78\x4d\xe7\xf5\x67\xc3\x71\x07\x4d\xae\xfd\x84\xe2\x9d\x62\xeb\x9e\xf0\x2e\x10\xa3\x97\xb9\xb4\x41\x18\x88\x33\x7f\xf4\x2d\xbc\x92\xc7\x88\x06\xbc\x4f\x83\xb7\xcc\x78\xdc\x68\xeb\xac\x4c\x65\xd3\xb1\x14\x81\x90\x56\x50\xb2\x8e\x2a\x68\xd7\x2c\xb7\x96\x9a\xa4\x12\x04\xa7\xd6\x39\xa0\xaf\x1a\x10\x6b\x4c\x18\xa4\x1e\x3d\x15\x46\xc2\xdc\x64\x8b\x2f\x28\x7b\xd4\xbb\x5b\xa0\x62\x43\x7d\x79\xe8\xb9\x6e\xd3\x32\x7d\xe3\x91\x33\xce\x8c\x83\x70\x27\xb9\x93\xce\x18\x4e\x36\xb4\x71\x2c\xad\xdc\xb2\x4f\xcf\xc9\x59\x56\x5c\xd0\x52\x84\x31\xf6\x21\xd3\xe3\x46\x36\xa4\xca\x7c\x43\x79\x0f\xa3\x98\x64\x84\xc5\x84\x45\x0b\x20\x11\x06\xc8\x39\x82\xe1\x04\x61\xf8\x0e\x27\xc7\xe8\xdc\xe4\xd7\x78\x09\xcf\x5e\xeb\x70\xa1\xa7\x98\xd1\xa9\xd6\x13\xc0\x08\x6b\x47\x39\x62\x66\x98\xce\x07\x12\x14\xed\xf7\x2b\x56\xb7\x33\xfa\x06\xb9\xda\x11\x95\x98\x95\xbf\x47\xab\x2f\x1c\xe8\x6d\xd5\xee\xe8\xe6\x5c\x0d\x02\x99\x4f\x8e\xe0\xdf\xa5\x84\x33\x07\xd4\x53\xa0\xc8\x90\x84\x80\x39\xd0\x7a\xbc\xe0\x62\x6c\x02\x96\xdb\x87\xdf\x6e\x4d\x1e\x47\xd0\x47\x49\xa9\x49\x29\xa3\x69\x9e\x06\xce\x3b\x53\xb1\x20\xb2\xf6\x4b\x93\x89\x91\x69\x3d\x20\x72\xe0\xe5\x48\x5f\xae\x6c\x81\x66\xf4\x89\xb0\x11\xcb\x38\x65\xea\x18\x5d\x71\x45\x82\x12\x11\x06\x3a\x8a\x67\x8a\xa6\x06\xed\x54\x10\x7d\x0e\x0c\x28\x36\x00\x4d\xce\xb1\xea\xa1\x38\x87\xa3\xca\x88\xd2\xac\x43\xdf\xb8\x0a\x76\x06\xe2\xa3\xc5\x88\x99\x9b\x6e\x8a\x69\x92\x0b\x62\x65\x56\x6c\xf2\x62\x8a\x21\x17\x23\xb3\x48\x68\xc1\x24\x52\x3a\x9b\x2b\xbd\x45\x5a\xc6\xb3\xfe\xc6\xb9\xe6\x46\x7c\xc4\x26\x04\x61\x94\x71\x49\x15\x7d\xf2\xfe\x4b\x3a\x45\x58\x4a\xb0\xa0\x1c\xa3\xf3\x92\xfd\x9f\x4a\x50\xbd\x9b\xe2\x6a\x29\x1b\x5b\xdb\x73\x73\x3e\xce\xce\x1b\x59\xea\xc5\xae\x32\x9e\x48\x9e\xe4\x2a\x74\xc1\xd6\xef\x6d\x61\x1a\x77\xc0\xfd\x60\x20\xe6\xd3\x11\x73\x74\x2d\x8f\x51\x5f\x22\xc9\xf5\x2e\x49\xb3\x95\x91\xa0\x8a\x08\x6a\x50\x9c\x88\x32\x9b\xe0\xcf\xa9\x3f\x03\x29\x16\x8f\x5a\x84\x0a\x2d\xf0\x06\x53\xb4\x64\xed\x98\x18\x09\x09\x60\xad\xc2\xed\x00\xd3\x3f\x62\x9c\x1d\x31\x32\xc3\xeb\x76\x64\xc4\x4a\x5b\x82\xbe\xa6\xd3\x42\x21\x6d\xf2\x39\x06\x6b\x37\x86\xc8\xa7\xa6\x5d\x32\x1d\x37\x6d\xd2\x34\xe1\x78\x8d\xdb\x78\x5a\x1c\x7a\xf4\x77\x3e\x31\x63\xd4\x7a\x3f\x57\x20\x05\x6a\xf5\x6a\xca\x05\x99\x63\x16\xf7\xdc\x66\x95\xc7\x06\x37\xa3\x35\xb5\x39\x65\x0c\x24\x41\x07\x22\x4c\x0c\x16\x13\x66\xc1\x5e\x58\xc5\xcd\x6e\x45\xb1\x0f\x1b\xdd\x15\xbe\x35\xa8\x7d\x62\x0c\x10\x86\xe5\x2d\x32\x7b\xc4\x25\x4d\xb3\xa4\xc8\x69\x0a\x6c\xa3\x53\x2d\x62\x39\x1e\xc9\x9f\xc0\x74\xe5\xb4\x36\xb8\xd5\xed\xce\x69\x3a\xab\x19\xb9\x67\xa4\x70\x6b\x38\x9b\x97\x29\x83\x19\xb0\xb0\xaf\x25\xd1\xff\x54\xa4\x50\xfb\x8c\xb0\x3e\x62\x4e\x04\xf9\x06\xb8\x8c\x6d\x36\x30\x9e\x69\x11\xda\xc0\xbc\xda\xf5\x43\x91\x71\x72\x97\xce\x89\x3d\x0c\xee\xd5\xda\x8b\x4a\x51\x2d\x66\x7f\x47\x01\xa1\xea\x7c\x47\xd8\x79\xca\x62\xd2\x58\xcc\xa9\x15\xd7\x68\xba\x5b\x0c\x43\x1d\x6f\x5b\x7f\xe1\x7e\x4e\x24\x41\xea\xd9\x03\xa5\x69\xbd\x0a\x4c\x96\x82\x24\xe4\x09\x17\x77\x9c\xef\xcb\xb2\xcb\x08\xcb\x86\xf2\x28\x80\x36\xa6\xc7\xbf\x7d\xe2\xb0\x1f\xdf\xb5\x1e\xca\x13\x4e\x6c\xe2\x86\xf5\x95\xcb\xe6\x0d\x1b\x9e\xef\x14\x43\x6a\x5b\xa9\x5b\xcf\x66\x11\xc3\xf5\xfd\x03\x59\xd4\xaf\xc8\x1a\x10\xbf\x55\xd9\xd8\x7e\xd9\x37\xb0\x55\xdf\x14\xdf\x2c\xaf\x71\xe3\xca\xfd\x50\x9a\xf2\x1b\x24\x11\xdd\x2c\x55\x80\x86\x3f\x65\x3e\x9d\xd2\xcf\xa0\xd5\xba\x9b\xc4\x69\x1e\x91\xe0\x52\x73\x31\x90\x55\x90\xdb\x3c\xe3\x48\xde\x25\xa1\xa8\xf6\x4b\xad\x65\x6d\x4c\xd1\x8d\xab\xfd\xd7\x9c\x88\x9d\xd6\xdb\x93\xea\x26\xe1\x88\xc1\x29\xa9\xd7\x11\x5d\xa3\x0a\xb7\x8c\x49\x0a\x5b\xbd\xc7\x0d\x4b\xb7\x1e\xfe\xbb\xf6\xb3\x89\x61\xbe\x9b\x0f\x24\xe4\xda\x2b\x6d\x6a\x45\x7c\x9a\x8f\x4d\x76\x45\x79\x34\x7f\xeb\x59\x80\x71\x6c\x03\xa7\x7c\xaa\x2f\x76\x31\x23\xc6\x31\x62\x6a\x36\x29\x5b\x69\x20\xd0\xd4\x6d\x63\x94\xcd\x46\xcc\xad\xad\xec\x21\x13\x26\x5e\x61\xa8\x25\x6c\x77\x1c\x7c\xea\x09\xbb\x9d\x49\xd5\xf8\xd5\x19\x91\x52\x5f\x8c\x52\x09\x4c\x99\xf5\xe1\xb8\xf5\x91\x23\x86\x8e\xaa\x71\xea\x3d\xb0\x23\xf4\x5c\xb6\x67\xaf\x18\xa0\x1c\xb1\x6b\x63\x9d\xf9\x23\xfa\x5a\xe1\x99\xb9\x25\x00\xbd\x11\x27\x80\xfb\x08\x5a\x82\xd5\xca\x83\xe4\x00\x7f\x22\x69\xfc\xcd\xe9\xaa\x3e\x8d\x0d\xe1\x6b\x68\x06\x0e\xb9\x5e\xc3\x62\x81\xe8\xb4\xf8\x07\x89\xbf\x59\xd5\x52\xf1\xd1\x23\x59\xf4\xaa\x8b\xdc\x7c\x6f\xdc\xe3\x9d\x22\x34\x5f\xea\xe2\x80\x41\xb7\x77\x52\xe2\x09\x49\x7e\x2c\x26\x8a\x56\xb2\xa2\xef\x28\xc3\xbb\xf1\xa0\xda\xe1\xb5\x8b\x40\x9f\x2c\x9a\xea\xb6\xd5\xb0\x9e\xad\x11\x47\xfa\x46\x96\x25\x48\x77\x67\x25\x76\x57\xd5\x0f\x43\xd4\xe3\x9c\x24\x19\x8a\xe9\x14\x5c\x6f\x0a\xe8\xc5\x83\xa7\x9a\x7a\x37\x5a\xa1\x49\x73\x66\x80\x70\x4d\xd4\xc7\xb3\x3d\xe9\x96\x65\x14\x8d\x1f\x8f\xd8\x50\x7d\x25\x91\x54\x82\xb3\x99\x56\xa6\xe3\x27\x2a\x8b\x42\x6e\xfa\x40\xe6\x29\x11\xb6\x0b\x2a\x8d\xd4\x6d\x8b\x20\x61\x77\xb1\xe9\xb1\xe9\xab\x0f\x04\x1f\x57\x6c\x50\xff\x68\xf4\x0a\x3d\x4a\xe9\xa2\xa6\x6a\xc2\xde\xed\xe6\x56\x78\xe7\x2b\x9b\x2e\x7f\x0c\xad\x93\x28\x2d\x0c\x99\x8e\x5f\x9e\x54\xcd\x98\x76\xd5\x57\x98\x30\x37\xbe\x10\xda\x5e\x04\xae\x6a\x40\x6e\xd2\x9c\x74\x3f\xce\xb1\x65\x06\xb7\x91\x8a\x55\x99\xa0\x1d\xb5\xd1\x9e\x42\x13\x26\xa1\x60\xff\x90\x0a\x2b\x1a\xd9\x5b\x80\x0b\x6b\xc5\xb5\x7a\x75\xf3\xd6\xee\xaa\x93\xc8\x08\x27\xcb\x3b\xbc\xc2\xa7\x6e\xde\x5f\x6d\xe8\xb4\xc7\xcd\xb4\xbd\x12\xd8\x24\xe2\x49\xb2\x49\x99\xb6\xca\xcc\xcf\x8a\xcf\x57\x8f\xa8\xe8\x47\x6f\x80\xdb\x0b\x38\x35\xc6\x40\x81\x13\xeb\x2e\x92\xca\xee\x52\xf8\x92\xb9\xd4\x16\x56\x7d\x1c\x31\x3e\x85\x42\x7e\x49\x53\xe4\x7a\x26\x78\x4a\x37\xa9\x24\x61\x82\xb9\x6f\x9d\xef\x7f\x8d\x27\xc5\x45\x08\x80\xf9\xcd\x90\x97\xed\x11\x30\x09\xb0\x35\xa9\xad\x38\x43\x29\xce\xb6\x5a\xf0\x75\x91\x2f\x7d\x94\x9a\xb0\x23\xbb\x7a\x80\x29\x4d\xa0\x26\x1e\x2c\xf2\x33\x5e\x14\xf0\x2f\x4d\x35\x02\xd8\x46\xe4\xf0\xa0\x5f\x1f\xb2\x29\xdf\xe0\x70\x16\x70\x2d\xf6\xf4\x61\x47\xb3\xc1\xf9\xf3\x91\x18\x66\xf7\xcd\x9a\xb6\x39\x8f\x67\x75\x44\xbd\xf1\xc9\x74\x2b\xf8\x92\x7e\xd8\x90\x89\x04\xdf\xfc\x6b\x93\xbb\xb5\x7c\xb4\x82\x16\x11\x0c\x67\xf5\x52\x5d\x96\xe8\x70\xef\x6b\x54\x69\x07\x9e\x15\x09\x63\x37\xf5\xad\xbe\xc2\x9a\xd9\x43\xd2\x6a\xb1\x76\xc4\xa7\xda\xac\xd6\x81\xeb\xd1\x57\x36\xd8\x59\x93\x5b\xb7\x18\xc0\xcd\xa4\xd5\x1a\x8a\xec\x13\x9b\x86\x3f\xa5\x09\x91\xc7\x68\x58\xe3\xc4\x75\x49\xf0\x3e\x68\xdc\xa4\x03\x3a\xe9\x29\x17\x34\x28\x7e\xee\x64\x24\x44\xa1\x08\x5b\x18\xc8\x12\x38\x2d\xc0\x7d\x3a\xe7\xcf\x26\x03\x4f\x50\xcd\xb3\x8c\xb0\xaa\xc0\xa5\xa5\x79\x01\xb5\x1e\x21\xe3\x50\xf3\x1f\x70\x93\x17\xa1\xd5\x1c\xef\x0c\x0b\x2d\x10\xd5\x2d\xdd\x47\x19\xcb\xf6\x18\x03\xae\xd7\x7b\xfd\x45\x1b\xa5\xc0\xbd\xbb\xc3\xe8\xbc\x94\xbf\xb9\x3d\xf2\x23\x7c\xea\x0c\xbb\x18\x4d\x05\x01\x2d\x3b\xf5\xb8\x61\xa6\x70\x00\xe7\x70\xdf\xdd\x9d\xff\x70\xf2\x30\x44\x44\x45\x28\xa1\x8f\x64\xc4\x22\xf9\x04\x4a\xdf\x3f\x72\xa2\xf4\xcf\x0d\x46\x20\x9a\x12\x26\x81\x13\x50\xd5\x52\x5f\x73\x0b\xa3\xff\x7b\x5e\xfe\xbe\x8d\x56\xee\xb1\x2e\x35\xed\xba\x9a\x7e\x40\xa6\x50\xb6\xcc\x2c\x6d\x8d\x5d\xf3\x3b\xe3\x6f\x1d\xd4\x55\xfc\xde\x22\x25\x9a\xfd\x3d\x67\x1b\x0a\x5d\x67\xc5\x47\xc1\x28\x1a\x64\xba\x34\xc3\x50\xcf\x63\xb3\x5c\x6b\xf3\x4d\x6d\xeb\xeb\x98\x48\x01\x3d\xe3\xfc\xe7\x45\x71\x74\xa4\x04\x21\xc0\x42\x3c\x3d\xd9\xbb\xde\xa2\x8d\xf9\x89\x05\x1f\x1d\x8f\xd8\xa5\x8b\xaa\x2b\x7e\x95\x85\xaf\x21\x9d\x04\x65\x4e\xca\xad\x40\xb3\x31\x95\xfe\x07\x28\x5a\x27\xf3\x44\x99\xaa\xbd\x53\xca\x70\xe2\x07\x6a\x9e\xd4\x71\x09\x81\x59\x34\xdf\xd5\x4d\x4e\xa7\x63\x92\x6c\x22\x89\x0e\xa7\x83\x44\x6a\xfa\x8e\x1e\x1b\x4e\xe7\x36\x75\xa9\x8b\xc9\xd8\x6a\xfb\xa6\xb6\x25\x2a\xdc\xec\x38\x31\x55\x73\x09\x82\x38\xac\x6a\x86\xbc\x01\xc1\xd2\xbb\x68\x25\x75\x13\x86\x65\x52\x53\x7d\xda\x19\xf4\x82\xb0\x1a\x31\x91\x33\x28\xa8\xe5\xa3\x32\x31\x2a\x6a\xa2\x44\x2e\x46\xc2\x46\xac\xcc\x34\x9b\x30\x25\x47\xcc\xcb\x5a\x3f\xe3\xb9\x04\x7f\x54\x4a\x94\xbe\xa0\xbe\x86\x5a\xf7\x26\x2c\xba\x87\x32\x41\x53\x70\x29\xcb\x6f\x6a\xb6\xee\x0c\x2b\x9c\xf0\xd9\xbe\xad\x4a\x5b\xa6\xd8\xb8\x61\xa0\xe1\xb9\x5e\xfc\x19\x61\x44\xc0\x44\xc1\x96\x5d\x7b\x84\x5b\x58\xb9\x1b\x38\x37\x78\x12\xad\xf3\x57\x7a\x8b\x05\xce\x15\x4f\xb5\x7e\x8b\x93\x64\xd1\x33\x5e\x67\x82\xe6\x58\xce\xdd\x46\x1b\x87\x61\x9b\xbb\xc9\x2e\xee\x19\x8e\xe6\xe4\x4e\x61\x95\xd7\x46\x66\x55\x46\xf9\x81\xb0\x3c\xfd\x70\x8a\xfe\xa7\x98\xe3\x59\xff\xec\xfb\xc1\xf8\x7c\x78\xd7\xff\xee\x62\x70\x1e\xcc\xc7\x3e\xb9\x1c\xde\xdd\x2d\xff\xfa\xfd\xf0\x7e\xf9\xc7\x9b\xeb\x9b\x87\x8b\xfe\x7d\x5d\x2b\x17\xd7\xd7\x3f\x3c\xdc\x8c\x3f\xf6\x87\x17\x0f\xb7\x83\x9a\x4f\x1f\xee\x9b\x1f\xde\xfd\x30\xbc\xb9\x19\x78\x2b\xfd\xdf\x82\xd3\x05\x1e\x72\x3d\xd1\x86\x69\x54\x0f\xe0\x11\x2a\xbf\x78\x8a\x1e\xaa\xe5\x9d\x6c\xbe\x95\xc1\xea\x7a\xc6\x52\xf3\x30\x48\xf7\x03\x4b\x6b\xb1\x28\x4d\x9f\x9a\x90\xe4\x68\x4e\x50\xc2\xf9\x63\x9e\x59\xd6\x66\x8c\xea\x8c\x1b\xc3\x0f\x91\x41\x6b\xdf\x0f\xef\x4f\x97\xcb\x4c\xf9\xc6\x02\x54\x50\x6f\x43\x7e\xc6\x06\x21\x00\xd8\x29\xd8\x52\x5c\xf9\xa1\xc2\x43\x1d\xf4\xe0\x77\x66\x55\x3f\xa6\x35\xcc\x54\xa5\x9b\xd8\x44\x4b\x17\x13\x0b\x1a\x2e\xef\xeb\xaa\xd5\xf4\xcb\x61\xea\x6b\xa2\x09\x89\x70\x6e\x02\xb7\xf5\x3d\x25\x04\x17\xe1\x80\x0b\x7a\xd8\x5f\xa3\x96\x8e\x6a\x1b\xac\xec\x99\x9e\xb8\x7c\xa4\x59\x46\xe2\x0f\xcb\xf2\x4b\xb9\x02\xbe\x84\xd3\xa7\xfb\x0c\xce\xa4\xd6\xeb\x41\xe7\x77\xc5\xe1\xe6\x0b\x1f\x2d\x04\xc1\xa9\x45\xb8\x2e\x14\xab\xd0\x77\x82\x2f\xde\x45\x21\xfc\x07\x2b\xf4\x4c\x00\x36\x26\xb7\xd5\x31\x8d\xee\xad\xcf\x36\x74\x67\xfc\xf6\xae\xd6\x6d\x09\x4e\xa6\x91\x19\xef\x43\xe0\xd6\xdf\x4b\xb2\x99\xb3\x6d\x2d\xf6\xc7\xb9\x69\x14\xb8\xb3\x8b\xeb\x87\x11\xef\xd3\x39\x57\x73\x23\xad\xb9\x2c\x34\xdb\x6e\x33\x1e\x87\x77\x56\x2a\xe2\xd1\x7e\x60\xa5\x42\x0f\x6b\xd7\xea\x9e\xc7\x78\xa1\x89\x03\x82\x13\x64\x9e\x65\x5c\x28\xd4\xd0\x86\x09\x55\x34\xe3\x83\x3b\xc7\xce\xc3\xf3\x38\x68\x44\x4b\x18\xb2\xa6\x5e\x58\x3b\x08\x28\xbb\xae\x81\x8f\x2b\x48\x02\x02\x45\xd0\xd7\x76\x4c\x4b\x2a\x75\x89\x42\xeb\x84\xdf\x5d\xb2\x28\x33\x7d\xc1\xb7\x2d\x35\x5c\xd7\xfb\xb5\x6b\xa1\x76\xcb\x13\x32\x55\xe3\x0d\x9d\x52\xd0\x22\x6b\x42\xcd\xa3\xb3\xf9\x1e\x5a\x6c\xaf\x25\xfc\xd1\x06\x2f\x6b\xd5\x20\xb0\x10\x08\xce\x95\x91\x4f\x0b\x1d\x06\xb9\xd5\x04\xf3\x82\xed\xd4\xe6\xbb\x7b\x21\x50\xcb\xfc\x26\xe6\xcb\xa7\x86\x1f\x8f\xd8\x00\x82\x44\x0b\x45\xc4\xa5\xc1\x83\x16\xb0\x56\xfe\x2f\x15\x56\x7f\xd5\x8c\x94\x66\x14\xfb\x82\xee\x4d\x68\x21\x49\x16\xa8\x28\x9e\x5f\xfa\xae\xcd\xe9\x31\x56\x6f\x27\x02\x9a\x09\x9b\xa3\x23\x15\xc9\xac\x65\xde\xcc\xb3\x88\x66\x06\xaf\xb0\xee\xea\x18\xfd\xe4\x2c\x3f\x90\xdc\xe3\x93\x5d\x5c\x7c\x6a\x82\x17\x0e\xf8\xba\x6e\x61\xf7\x81\x25\xbd\xef\x74\x9f\xd5\x0b\xec\x41\x2b\x6b\x56\xb9\xa4\x80\x33\x66\x2c\xb2\x1b\x84\x0b\x9d\xf9\x8f\xee\xc8\xea\xc8\xc7\x8f\x50\x6a\xdc\x46\x8f\x83\xd0\xc1\x92\xc5\xff\x32\x9b\x65\xd0\x36\x5c\x30\x85\x2d\xfd\x6c\x3d\xa8\xfa\xfc\x80\x07\xd0\x80\x71\xa0\x29\x4d\x12\x90\x03\x8e\x51\x9f\x2d\x1c\x58\x85\xbe\x0a\x5d\x10\x29\x9d\x31\xbe\x2e\x8f\xbe\x81\x98\xa2\x80\x98\xee\x9a\x89\xc9\xc4\x69\x14\x58\x45\xfb\xa1\xa8\x3d\xe0\xd6\x69\xde\x82\x97\xab\x7e\xb4\x47\xab\xdb\x40\x79\x0f\x6f\xf3\xd7\xca\x00\x5b\x1a\x6e\xf0\xe1\xbf\xea\x87\xfe\x29\xc7\x02\x33\x05\x79\x4d\x56\x74\x17\x24\x48\xaf\x26\x9f\x21\x06\x95\x19\x43\x30\xfc\x14\x6e\xae\x73\xf9\x9b\x30\x31\x1a\xf7\x10\x3d\x26\xc7\x50\x81\x56\x68\x59\x62\x52\xbc\x39\xd7\x92\xc3\x88\x2d\xe5\x6b\x1c\xa3\x7e\x22\xb9\xfd\x82\xb0\x28\xe1\x12\x42\x70\x27\x21\x38\x38\x50\xbe\x75\x2b\x4d\x16\xa0\xa0\xc0\x56\x16\xcd\x73\xfb\x20\xf8\x10\x0a\xa9\x82\x4f\x3c\x81\x93\x5e\xfc\xfe\x7b\x9e\x19\x6f\x45\x53\x9c\xc4\x0b\x96\xac\x5a\xba\x86\x5e\x6c\x93\x4c\x39\xe4\x55\x1b\x04\x6f\xc0\xc6\x14\x79\x34\x01\xca\x1c\xfa\x1a\x2b\x94\x10\x2c\x15\xfa\xc3\x37\x1b\xc5\x86\xb8\x09\x16\xdc\xd5\x1e\xdf\x22\x19\xde\xa5\x53\x86\xc2\x9d\xef\x18\xea\xe3\x62\xa1\x10\x46\x8c\x3c\x87\xd9\x33\x1c\x12\x9e\x5c\xd1\x5b\x12\xe0\x77\x98\x98\x79\x83\x3e\x04\x19\xa9\x46\x65\x6a\xe0\x23\xae\xa4\x83\x75\x9f\xda\x61\xd5\x50\x56\xcf\x47\x9f\x41\xb8\xb9\x7e\xa9\x48\x6c\x9c\x63\x35\x62\x96\xb3\xba\xb0\x91\x20\x95\xbd\x9f\x24\xe5\x64\x42\x0c\xf9\xb2\x4c\x4f\x58\x8f\x3e\x3e\xf6\x0b\x74\x05\xea\x97\xcf\xe8\x2a\xd9\xe9\x8a\xc3\x62\x72\x0e\x3c\xa6\x63\xd8\x76\xad\xb4\x53\x67\x5f\x7e\x45\x21\xb8\xa6\xfb\x0b\x3e\xa3\x11\x4e\x5a\x08\xc3\xa4\x6e\xc8\x6b\x0e\xd6\xb2\x4d\x7f\x85\x6c\xbc\xef\x0e\xda\x8b\xca\xf5\xf6\x71\xb8\x66\x9f\x79\x8d\xb9\xbd\x61\x73\x03\xd9\x62\x17\x05\xdc\xa7\x16\xbe\x96\xc7\xb7\x34\xf4\x61\x0c\xc0\x06\xeb\xb9\x60\x01\x14\xe0\x58\x87\xc9\x2f\x8b\x83\xbc\xe5\x20\x4d\xd2\x06\x7b\x1a\xc6\x67\xdf\x6c\xf0\xbc\x66\xef\x7b\xfa\xbd\x62\xfe\x6e\x2a\x3e\x08\x6e\x79\xe2\xcd\xc2\x5e\x3f\xfe\x3b\x8e\x20\x9b\x11\x7a\x72\x79\x94\xcb\xa0\x93\xae\x54\x07\x06\x63\x7e\xad\x78\x98\x09\x1e\x11\x29\x8f\xd1\x00\x2e\x1a\xfb\x4f\x84\xa7\xce\x21\x11\xbc\x3c\x62\x5a\x33\x71\x18\x75\x41\xfb\x65\x12\xaf\x3b\x01\x06\xf0\x76\x27\x5f\x4e\xba\xbe\x0e\x5b\x93\x36\xe1\xf0\x76\xa1\x0d\x28\xdd\x84\x06\xb3\x53\x14\xf3\xe8\x91\x88\x13\x41\x62\x2a\x4f\xc1\xb7\xae\x1a\x9d\x7a\xa9\xd6\xb6\x77\x96\x34\x9a\x02\x05\xd6\x24\xfe\x9f\x99\xfe\x6d\xe8\xbf\x4b\x21\xea\x21\x3a\x05\x75\xc2\xe5\x9d\x9a\x44\x2b\x07\xe9\x47\x98\x12\x0b\x13\x95\xec\x4c\x59\x95\x85\x70\x9a\x86\x16\xda\x9a\x32\xa6\xc5\x3e\x62\x70\xb6\x9c\xb6\xc9\xcc\xb1\x01\x07\x66\x52\x8a\xdb\x7c\x2d\xc3\x2e\x32\xac\xe6\x12\xe0\x39\xca\x6b\x60\x95\x2e\xf8\x54\xaf\x10\xce\x20\x5e\xc1\x58\x29\x8a\x8f\x3c\x88\x84\x54\x34\x49\x46\xcc\x24\x58\x00\x92\xc6\x57\xb5\x28\x40\xfa\xd3\x1e\xc2\x71\x8c\xfe\xf7\xd7\x1f\x2f\x7e\xbe\x1f\x8c\x87\x57\x60\xb4\x1e\x5e\x0c\xbe\xe9\xf9\x1f\xaf\x1f\xee\xfd\xaf\xc6\xc2\xf2\x44\x04\x4a\xf1\x23\xa8\x78\x4c\x12\x9b\x20\x4a\x46\x2c\x1c\xa9\xc3\x47\xd2\x4f\x24\x71\x91\xae\x56\x4c\xf1\x30\xd1\x76\x0f\x9b\xc0\x55\x2d\x6c\xe6\x06\xca\xef\xad\xff\x64\x35\x0d\x3a\xe2\xf1\x5d\x38\x31\x10\xf2\x80\xb1\x0c\x00\x73\xac\xee\x5b\x10\x1c\x61\x33\xca\x9a\xe2\xf1\x08\x7b\x7a\x49\x21\xfe\x07\xb2\x80\x80\xf0\x1b\x4c\x45\x6b\xda\xab\x47\x3c\x74\x27\x46\xeb\xe9\x58\x56\x0f\x95\x34\xb2\xb0\xc9\x28\x6e\x8c\xf9\xac\x03\xbb\x7d\xf3\xe9\x5a\x08\x4d\xf2\x59\x09\x87\xc4\xe5\x73\x56\x1d\x5c\xa5\xbf\x68\x0a\x1a\x1c\xb1\xfb\xeb\xf3\xeb\x53\x44\x12\x3c\xe1\x90\xae\x68\x43\x82\x5c\x13\x76\xc1\x22\x9e\x06\x0d\x95\x50\xd8\x7a\x28\x2b\x50\xd8\x42\x23\xda\xb1\x69\x63\x0d\x1a\x5b\xc6\xc5\x32\x86\xd9\x7e\x55\x40\x3b\xd9\x1b\x2e\xda\x5c\xff\xfa\x35\x93\xbf\x91\x69\x45\xae\xc2\x79\xed\xdd\x3c\x25\x18\x10\x3a\xac\x5b\xc8\xda\xf2\x6d\x00\x6b\x92\x94\x6a\x46\xeb\x83\x23\x8f\xad\x0b\xbe\x78\x93\x33\xf4\xc3\x5f\x24\x9a\xe4\x6a\xc4\xca\x6d\x70\x86\xfa\x3f\xdd\xa1\xef\xb0\x8a\xe6\xdf\x8c\x18\xe4\x0f\xfe\xf0\x97\x06\xb8\xc8\x8d\x11\x98\xf5\x9a\x9c\x63\x85\x2f\x38\x8e\x29\x9b\xd5\xc1\x2f\x17\x35\xf2\x06\xf7\xfd\x53\x74\x6d\x75\xf8\x22\xdb\x55\x39\xd8\x93\xa0\x21\x60\xc8\x30\x11\xc7\x45\x80\x95\xb3\x32\x44\xad\xd1\xcc\xe0\xc2\x1a\xb1\x7b\x83\x3b\xad\xb9\x2a\x55\x28\xe3\xb6\x4e\xa3\xd6\xca\x0c\x22\x37\x76\x59\xe0\x24\x59\x20\xbd\x3a\x40\xc6\x7e\x33\xac\x3c\x06\xf2\xcc\x32\xb3\x1f\x31\x50\xd0\x7d\xfe\x6d\xc2\x23\x9c\x40\x4c\xde\x51\x60\xd3\xd3\x6a\x3b\xcf\x01\x03\x07\x82\x61\xd8\xa2\x1c\x3a\xeb\x61\x99\xbc\x50\x16\x6e\x14\x18\x00\x60\x1f\xad\x37\x36\xe5\x9a\xe3\x18\xbc\x59\x30\xbe\x25\x66\x75\xf4\x87\x1e\x7f\xd6\x2c\x8b\x7e\xea\x53\xd3\x79\xce\x1c\xde\x5a\x04\xe6\x7b\xb6\x80\xf0\x6d\x28\xac\xc6\x21\xf4\xa3\xe0\xce\x96\x28\x97\x76\xd1\xdf\x89\xc1\x67\x23\x66\x22\x05\x4b\xfb\x12\x22\x14\x06\xbd\x73\x06\x81\x8c\xcb\xf9\xf0\x79\x66\x03\x1b\xad\xac\x9f\x09\x72\xe4\xb3\xbc\xe3\xd2\x9a\xea\x1b\xf6\x18\xdd\x86\xea\x75\xcc\xa3\x3c\x75\xd5\x23\x20\x43\xdc\x46\xc0\xd9\x4b\xd4\x53\x88\xb9\xd8\xd7\x51\x3c\x20\xd1\x29\x02\x10\x39\xad\xf5\x63\x43\x30\xfd\xf0\xd3\x65\x49\xbd\x59\xf0\x05\xde\xb1\x5b\xd4\x9a\x69\x68\x9c\x95\x5b\x2a\xb5\xb6\x33\xf6\xc2\x55\x81\x70\xcf\x05\x08\x5b\xe4\x73\xc6\xc1\xc8\x6d\x12\xa0\x79\xfc\x95\x44\xc3\x1b\x2d\x01\x69\x8d\xd7\x9f\xc1\x5c\x2a\x13\x5c\x66\xf2\x94\xe1\x6b\x93\x2e\xd0\x43\xdf\xa2\x51\xfe\xed\xb7\x7f\x8a\xd0\x67\xf7\xc7\x9f\xff\xf3\x3f\xff\xf4\xe7\x4d\xd2\x49\x9c\x42\x0e\xed\x16\x6b\xe4\x4b\x66\x96\x45\xa2\x70\x07\x96\x39\xd5\x0e\xbb\x60\x0f\x60\xd3\xf2\x6f\x83\x64\x1d\xc4\x0e\xe1\x99\x3d\xe1\x32\x3c\x99\xa8\x74\x34\x8b\x48\x02\x49\x54\xaf\xcc\x21\xbc\xb0\x6b\x25\xfa\xff\xb5\x02\x90\x75\xac\x8f\xca\x76\x31\x4e\x34\xf1\xe2\xb5\x6e\x04\x7d\x6d\xed\x7f\x0a\x1c\x88\xdf\xb8\x0b\x8e\x27\x31\x11\x66\x4c\xde\x64\xe7\x0d\x89\xc0\x1c\xc8\xe7\x2c\xe1\xb1\x83\x80\x2f\xf0\x0e\x28\x08\x08\x83\xcf\x58\x73\xee\x9e\x85\x0a\xb5\xf9\xa5\xe0\x79\x99\xe2\x88\xd8\x5c\xe8\xaf\x3f\x9f\xea\xdf\x7a\x68\x71\x0a\x41\xa4\x3d\xf4\xeb\xa9\x45\x04\xc4\x42\x8d\xf5\x4f\xdf\x38\x59\xdb\x36\x01\x83\xa6\x12\x7d\x75\xf2\x84\xc5\x09\xb0\xe7\x13\x33\xa2\xaf\x2c\x67\xf5\xb5\x7f\x43\xd9\x3c\xe1\xfc\xd1\x06\xd8\x2e\x7d\x78\xe2\xc0\x65\x81\xbc\xbd\xdf\xc4\x6c\xbd\x07\x1f\x52\xe8\x08\x5e\x20\xe8\x38\x9b\xa0\xe3\xbf\x4b\xce\xd0\xf1\x02\xa7\x89\xfd\xd5\x3d\xb5\xf1\xbf\x58\xda\x9c\xb8\xd8\x07\xf9\x24\x0b\x63\x29\xfd\x2e\xe1\x13\x98\xd5\xa5\x9b\xa9\x89\xa0\x85\x81\x16\xb7\x4f\x71\x61\xd9\x89\x38\xb0\x0d\xc0\x48\x4c\xb9\x32\xaf\xd8\xf4\xd6\xe5\x59\x7d\xf6\x43\xfa\x6f\xe3\x17\x86\x45\x71\x49\x7c\xc6\x38\xec\xa3\xd7\x74\xa3\x9f\xd1\xd7\x96\x05\x7d\xa3\xef\x18\x1b\xae\x6c\x96\xa1\xae\x83\x85\xef\xe0\xe7\xa0\x03\xca\x90\x49\xcb\x5c\xf1\xe5\xaf\x27\xc7\xc7\xc7\xfe\x6b\x40\xe6\xf9\x7f\x11\x55\x92\x24\x53\xd3\x92\xbb\xc1\x16\x23\x76\xe9\x8a\x4b\x39\xe3\x75\x01\x5b\x9d\x09\xae\x78\xc4\x13\x74\x54\x18\x74\x63\x1e\x49\xf4\xef\x5a\xac\x0d\x96\x12\x7e\xd4\x7a\x5c\x03\xd4\xbd\xa9\x66\xf1\x4a\x87\xca\x1a\xc4\xab\xc7\x2a\x44\xaa\xf5\x8a\x2d\x96\x61\x32\x32\xd0\x82\xa6\x9c\x13\x8b\x66\x2b\x84\x7e\x99\x7c\x56\xf0\xa8\x01\x2c\xb8\x36\x94\xbd\xfe\xa6\x5c\x62\xb7\x05\x66\xb0\x21\xeb\x86\x05\xb0\x98\x9e\x96\x33\x98\x79\xf6\x42\xf7\x89\xbe\x5c\x58\x58\xee\x48\xe6\x69\x8a\xc5\xe2\xa4\x38\x6d\xcb\xc4\x59\xa0\xc9\x02\x8f\x49\xdc\x02\x80\x0b\x37\xb1\x47\xcb\x46\x31\x58\xf1\xd2\xdd\x68\xfe\xec\x46\x50\xaf\x39\x40\x65\x22\x2c\xe2\xb1\xa5\xeb\x22\xfb\xb4\x2c\xb1\xf8\x77\x96\x65\x15\x17\x11\x23\x0b\x63\x1c\x53\x06\xa6\xcc\xbe\xe1\x3e\x6e\x60\xdf\x7c\x0c\x95\xff\xc9\x6c\x03\xf7\xe8\xf0\xfa\xce\x7d\xd3\xfe\xd2\x85\x75\x28\x8b\xec\x38\x09\x31\x80\xd9\x0c\x09\xfc\x5c\x5c\xbf\x10\xdb\x61\xac\x33\xb9\xcf\xcd\x35\xff\x3e\xe3\x37\x34\xd1\xb7\x16\xd0\xf8\xf1\x88\x95\x7e\xee\x21\x92\xd0\x94\x32\x1f\x5b\x67\x98\x3b\x9f\x1a\xe9\xf9\x91\x2a\xbd\x65\x32\x7e\xd4\x1c\xcc\x61\x57\x06\x2a\x55\x9f\x2d\x1c\xe9\x78\xc7\x94\xb5\x40\xe4\x52\x8f\xab\xd0\xd1\x21\x6b\x9f\xc6\xe4\xc8\x0a\xa4\x34\x20\x3c\x38\xbf\xff\x1f\x7b\x6f\xda\xdd\xc6\x91\xa4\x8d\x7e\xef\x5f\x91\xd7\xef\x07\x49\x33\x20\x68\xbb\xef\xcc\xf1\x68\x8e\xcf\xb9\x34\x45\xd9\x68\x53\x14\x9b\x8b\xdd\x73\x1b\x7d\xa0\x44\x55\x02\xa8\x61\x21\xb3\x5c\x59\x45\x0a\xbd\xfc\xf7\xf7\x64\x44\xe4\x52\x2b\xaa\x08\x52\xf2\xf4\xf8\xc3\x4c\x5b\x04\x90\xfb\x12\x19\xf1\xc4\xf3\xcc\xa5\x29\xcd\xee\x25\x0f\x17\x0e\xca\x0b\x8a\x3b\xb2\xa2\x3f\xc1\x09\x00\x75\x54\x30\xbf\xce\xfe\x6d\x31\x50\xce\x64\xb9\x3d\x34\xd9\x84\xe0\xc3\x9f\xcb\x4d\x77\x99\x0b\x7b\x53\x51\xe2\x92\x90\xe5\xd6\x6e\xa8\x11\x2b\xee\x8c\xcc\x9f\x58\x44\x29\x47\x36\x3e\x53\x10\x20\x1f\x27\x18\x20\xcd\x82\xba\xf0\x7a\xc1\x6a\x50\x47\x30\x15\xf2\x25\xfe\xfb\x15\xa3\xbb\xe1\xcb\x09\xdd\xe7\xb9\x76\x2c\x67\x38\xe7\xa0\x43\x2d\x62\xf4\xa1\x83\xf2\xc2\x9a\xe7\x31\x7a\xcb\xc3\x57\x05\x66\xf0\x1a\xfb\x6b\xa7\x4a\xf6\x90\xe8\xcd\x5c\xde\x28\xeb\x70\x64\x52\x39\xed\x8a\x09\x3c\x46\x1b\xf5\x71\x0d\x87\x00\xb4\xba\x6d\x05\x98\x43\xf8\xa0\x5c\x23\x40\xc1\x2e\xa4\x8a\xc5\x61\x24\x8d\x37\x3e\x56\x61\xe3\xd7\xb9\xc0\x7c\x30\xb8\x29\xba\xd2\x69\x85\xd6\x23\x7d\xf3\xf5\x89\x87\x7b\x88\xca\x31\xb5\xaa\x87\x51\x0a\x22\x21\xff\xa9\xbb\xd5\xa0\x14\xfb\xe2\x0c\xb2\x81\x2b\x63\xef\x14\x21\x0e\x9d\x84\xa8\x85\x91\x71\xd0\xdd\x8f\x7d\x8f\x60\xd8\x1d\xc0\x98\xb3\x75\xae\xca\xcc\xa5\xcc\xdb\x74\x3f\x9c\x06\xb2\x69\x66\x72\xa5\x5e\xd3\x9b\xea\x3c\x91\x77\xb8\xe2\x9f\x6b\x8e\x50\xf4\x43\xc4\x15\xaa\x5a\xab\x44\x0f\x7d\x38\x62\x89\x8c\xd2\x12\x2e\x3e\x5d\xf0\xe8\x0e\x85\x4b\xba\x9c\xbe\xe6\x37\x8b\xfd\xc9\x94\x1d\x16\x53\x99\xa6\x54\xad\xbf\x40\x81\x0c\x0e\x5c\x40\xf7\x09\x67\x9c\xdd\x5e\xcd\xda\xeb\xbe\x4b\x9a\xc1\x9c\xf6\xdb\xb3\xba\x40\xe0\xff\xfd\x98\x8c\xc2\x5d\xd6\xa8\x7f\x45\x65\xa9\x3b\xe7\x52\x17\xb1\xbc\x59\xa4\xdf\xf3\x42\x1c\x9a\x09\x85\x3c\xa7\x23\x90\x7a\x0d\x02\xd9\x5e\xef\xf1\x81\xec\xab\x9e\x39\x15\xa0\x41\xdd\x34\xb0\x21\x58\x0b\x3e\x1c\xc1\xdd\x00\xdf\x1f\xd6\x9f\xda\x77\xf7\x74\xa7\xbf\x99\xa9\x10\x23\xd8\x06\xae\xcd\xd7\x07\x36\xb2\xf2\xd5\xbe\x36\x3e\x70\x54\x98\x6a\x0a\x1b\xc4\x64\xd9\x8d\x39\x6c\xed\x72\x44\xf3\x5a\xbb\x1c\x11\xd7\x12\x0b\xc3\x71\xb6\x98\xad\x77\x0d\xb1\x2d\x55\x11\xb0\x72\x1e\xda\x96\x85\x1f\x98\xad\x07\xc2\x26\x8c\xf9\xb5\xd8\x0e\x26\xcd\xf5\x15\xbf\xa1\x1f\xbf\x6b\x50\xe8\xba\xa3\xe8\x1d\x64\xf1\x39\xe2\x94\x2d\x97\x66\x67\xdb\x5a\x3b\x9c\x90\x68\x11\x3e\xaa\x49\xb7\xd9\xa3\x1a\x84\x35\x0e\xd4\x76\xa6\xaa\x6c\x29\x0f\xe8\x87\xe7\x29\xfa\x99\x8a\x0d\xb8\x20\xbc\x26\xa2\x39\xd1\xaa\xae\x08\xd4\x4f\x4c\x79\xbe\xc6\x07\x92\x16\x85\x7e\xd5\x32\xc3\x3e\xe7\xe1\x80\x19\x7e\x84\xee\x7c\x18\xf7\x04\xf3\xbb\x6f\xa7\xb9\x56\x56\x09\xd4\xdd\xad\x6c\xeb\x0f\xd9\x81\x7d\x22\x46\xa4\x72\x54\x1b\x01\xee\xbe\x6e\xce\x94\x03\xa9\x03\x2f\xf8\xd6\x31\x02\x50\x69\x36\xbf\x0b\x1b\xb7\x14\xc0\xfd\xdf\xdd\x86\x41\xbc\x80\x43\x9b\x40\xec\x85\x5d\x2d\x98\xcb\x13\xfb\x15\xcf\x60\x6a\x1e\x66\x39\x1a\xe0\x80\x0f\x45\x34\x34\xbc\xaf\xb8\x1f\x75\xea\x5c\x47\x27\xc6\x26\x6f\xd6\xba\x70\x6b\xde\x77\xee\x36\xf2\x0c\x77\x61\x3f\x3a\x6a\x1e\xc6\x70\xd9\x7b\xa2\xdb\x2e\x52\x51\x76\x2c\xdb\x2a\xde\xff\x96\xb2\x8c\x11\x54\x10\x91\x9b\x62\xc4\x0b\x30\xa4\xe9\xce\x2f\x53\x4f\x84\x5b\xab\xac\xb9\x5b\x8b\x83\x4e\xe3\x84\x6f\x17\xb9\xea\x96\xec\x1c\x30\x4c\xb6\x88\x8a\x7f\x67\x83\x12\x5e\x3b\xf6\x4b\xc9\x53\xbc\xdc\x24\x2d\x47\xdb\x6c\x30\x95\xbf\xfe\x77\x76\x02\xb7\x0f\x7b\x07\xe7\x22\x04\xf8\xa1\xb4\x42\xb1\x64\x9b\x89\x5c\x2b\xc9\x3b\xb5\x6b\xef\xbe\xd1\x0b\xd2\xdf\x5b\xf0\x28\x52\x65\x53\x6b\x6f\x44\x4f\x5a\x4a\x0b\x3b\xc5\xd9\x5d\xb9\x14\xb9\x14\xa8\xcf\x0b\xdf\x63\xf6\x7b\x83\x9a\xab\x78\x59\x6c\xbe\x5e\x44\x69\x32\x58\x14\x10\xb2\x8b\x4e\xcc\xcf\x4e\xf1\x57\x7d\x1d\xa8\x94\x5f\x69\xba\x64\xf8\x19\xc3\xcf\xa6\xec\x3b\x1e\xdd\x09\x19\xb3\x2c\x2d\xd7\x09\x91\x09\xc0\x0d\x05\xc7\x65\xe0\x9e\xad\x76\x0c\x6d\x0b\x2c\xdf\x5c\x43\x73\xb9\xe5\x77\x48\xd4\x4f\x46\x64\xc4\xd3\x4e\x2a\x2a\x67\x56\x2f\x92\xe6\xda\xdd\x3b\x5b\xee\x3e\x6c\x16\x53\x5f\x7b\xba\xc4\xdc\x8a\x87\x8d\xa2\x88\x74\xc5\xaa\x1f\xb1\x71\xdd\x6a\x6d\x70\xbe\xd8\xbc\x7c\xa7\xd4\x4c\x8d\xc1\xdd\x0b\xee\x5e\x10\x9b\x28\x25\xe3\x40\x1b\xf3\x42\xb3\x32\xb3\xf6\x19\xf8\x21\x53\x88\x0a\xe3\x14\x98\x0f\xb2\xc4\xbc\xd2\x36\x62\x2e\x01\x69\xcb\x5c\xf7\x1a\x82\x9e\x4c\x78\x40\x4c\xdb\xd1\xb0\x42\xd2\x84\xc3\x62\x9c\x0d\xad\x8a\x3d\xeb\x74\x20\x8a\xb8\xd8\x08\xb9\x78\x84\x64\xc2\xf0\x49\xab\x20\x86\xc9\x0c\x76\xfe\x5c\x37\x84\xa5\x4c\x88\x22\x95\x5c\xf8\x21\x1f\x78\xb2\xaa\x99\xd1\x89\x66\x9a\x17\x89\x36\x67\x59\xeb\x88\x7b\xaa\x8a\x43\x46\x9d\x8f\xe3\xc7\x68\xe1\xc6\xa8\x8d\x85\xcb\x4a\x98\xb2\xb7\xe0\x05\x0b\x5e\x06\xca\x31\x4d\x74\x1d\x58\xc5\x46\x74\x52\x2e\x3e\x05\x9c\xc7\xf6\x20\xf8\x7e\xaf\x73\xd3\x65\xa0\x4c\xd9\x89\x8f\x3e\x20\xd7\x06\xc6\x15\xf6\xf4\x48\xa4\x5a\x3c\x66\xf1\x0d\x72\xd4\x41\x84\x1e\x16\x10\x03\x4b\x4a\x9b\xbf\x7b\xee\x5d\xd7\xcc\x07\x48\xf2\xe4\x77\x42\xf6\x79\x63\x86\xb7\x10\xdd\x65\xbd\x2e\x01\xe7\x87\x53\xe8\x8a\x7b\x4c\x03\x87\x6f\x3b\x4f\x6f\x92\xac\x8e\xcd\x90\x9b\x67\x48\x74\x47\xa9\x25\xe8\x8d\x25\x82\x94\x87\x8d\xd2\xe1\x3e\xb3\xf3\x87\x2f\xd9\xbc\x74\x4a\x28\x90\x9a\xe3\x06\x18\x31\x39\x52\x85\xfc\x29\xd0\x6a\xb7\x49\xd1\xd3\xec\xe6\x9b\xd9\x23\x14\x86\x01\xa2\x58\xb6\xa8\x96\xdd\x2c\xb3\xf2\xa9\x98\xf6\xf7\x93\x96\x36\x47\xb8\xd1\xa0\x1f\xbf\xd1\xef\xa1\xbe\xa7\xa0\x0e\x68\xd7\xc2\x3f\x1c\xb6\xff\xc8\x80\x85\x03\xa4\x79\x21\x7d\x1e\x3b\xb2\x8b\x4c\xc5\xcc\xaf\xf7\xf1\xaa\xf9\x9f\xbf\x5b\x35\xb5\xfd\x41\x7d\xdb\xb7\xd5\xde\x05\xa8\x06\xb6\x2c\x93\x34\x46\xee\xa7\xc0\x42\x55\xd6\x04\x02\xd1\x09\xb0\x47\x12\xed\x2e\xb8\x96\x45\xff\xe3\x37\xfa\x52\xc5\x87\x2c\xac\xf1\xfc\x7e\xcd\x75\x3d\x00\xf4\xac\xc3\xc8\xf3\x76\xff\x48\x64\xaa\x1b\xae\x1a\x2f\x74\x55\x65\xb1\xa7\xc1\x80\x4f\x58\x96\xab\x6b\x90\x74\xeb\xa2\xd0\x08\xd4\x8e\x6c\x4e\x9c\x99\x67\x53\x8d\xcb\xd0\xe8\x9a\x14\x0a\x77\x7b\x7b\x84\xb3\x3f\x5c\xbf\xbf\x38\xda\xf2\x5c\x6f\x38\xa4\x28\xdb\xb2\x26\x56\x25\x17\xdf\xeb\x36\x0c\x97\xc8\xb9\x3c\x62\x6b\x35\xc1\xa0\xef\x6b\xb6\x29\x8a\x4c\xbf\x3e\x3e\x5e\x27\xc5\xa6\x5c\x4e\x23\xb5\x3d\xf6\x43\x73\xcc\xb3\xe4\x78\x99\xaa\xe5\x71\x2e\x00\xf6\x7b\xf4\xd5\xf4\xeb\xaf\x60\x66\x8e\xef\xbf\x3a\x86\x50\xdf\x74\xad\xfe\xcf\xf9\xd7\xff\xf1\xfb\x7f\x37\x05\x67\xbb\x62\xa3\xe4\x6b\x8a\x28\xf7\x96\x7d\x84\xcf\x84\x63\xfc\x49\xad\x96\xff\x98\x7e\x19\x36\x83\xbe\xba\x55\xb1\x48\xf5\xf1\xfd\x57\x0b\x3b\x31\xd3\xac\x83\x87\xfc\x37\xa0\xec\x27\x00\xca\xde\x25\xc5\x6f\x40\xd9\xcf\x0a\x94\x1d\x6e\x72\xb9\x33\x06\x98\x47\xfd\xf9\x68\xfe\xee\xce\x48\x1b\x0b\xd8\x77\x0e\xb5\x5c\x0e\x61\x1a\xc3\x01\x57\xc4\x48\x59\xa0\x5a\x77\xdd\x5b\xa6\xc3\xe7\x37\x96\xfd\xbf\xf3\x75\x31\x2a\x6b\x1b\x60\x29\x49\x04\xcc\xd2\xe8\xa3\xcc\x78\xd2\x06\x7f\x0d\xd4\x10\x0e\x18\x42\x64\x67\x6f\xa7\xa8\x19\x22\x62\x42\x3a\x1e\x22\x5e\x3c\x89\x9c\x49\x6b\x1d\x88\xe0\x19\x5d\x7e\xc3\xee\x1e\x60\x1a\x13\xa6\xed\xa0\x11\x7d\x46\xe2\xf9\xa7\x66\x9c\xa7\xee\x3e\x92\x6d\x3e\xc5\x5f\x5b\x04\x9e\x7a\xb0\x2c\xf3\x4f\xc1\xcd\xee\xd1\x85\xc3\x78\xd9\x71\x91\x42\x5b\x6c\xbb\x3a\x9a\xb1\xe1\xfa\x71\x50\xce\x13\x24\x76\x74\xd1\x58\xc4\xc1\x25\xda\x56\x68\x6f\x63\xcb\x95\x61\x2e\x77\x4b\xc9\x95\x95\x79\xa6\xb4\xd0\x53\xf6\xb6\xa6\xd9\xed\xe1\xa9\x57\x6f\x4f\xd9\x57\xdf\xfc\xc7\xef\xe7\xf2\x65\x8b\x31\x04\x97\xa8\xca\xd7\x84\x96\x05\x13\x68\xcb\x75\x21\xf2\xe3\x7c\x15\x1d\xe3\xd5\x71\x6c\x7e\x7f\x44\x95\x1e\xa9\xd5\x91\x23\x9e\x3e\x22\x0e\xde\xe9\x36\x7e\xd5\x85\x23\x69\x37\xb8\x3f\xdb\xa3\xe7\xa4\xc3\x30\x6f\x9b\xdf\xfd\x07\x6b\x65\x0b\xa1\x21\x42\x56\x88\x06\x8b\x05\x89\xb3\xd4\xca\x49\x25\x60\x56\x16\xaa\xaa\xa8\x55\xcb\x7f\x7c\x97\xaa\xa5\x7e\xe5\xe8\xfa\xb8\xb6\x75\x78\xfe\xac\xb6\x73\xbb\xb1\xe7\x0e\x79\x7d\xd3\x50\x3c\xa7\x5b\xcd\x9e\x89\xe1\xb4\x8d\x19\xf8\xf6\x43\xc3\xdb\x82\xc8\x1e\xc2\x73\x55\x4a\xcb\x45\xae\xa4\x50\x2b\xc0\x9c\xc2\x33\xc9\x62\x6a\x20\xb2\x60\xcc\x30\xcf\x14\x92\x8b\x0c\xad\x0f\x88\x81\x75\x0f\xf7\x81\x7c\xfc\xfb\xc6\xf9\x39\xf8\xf8\x0f\x1d\x77\x3a\x18\x3f\xd3\x80\x1f\x0a\x7c\xc5\xad\x34\x06\x03\x64\xbe\xbf\x37\xde\xef\xce\x01\xaf\x07\xea\xa9\xaf\x33\x9e\x83\x05\x2f\x8e\x0a\x75\x04\x14\x4b\x40\xdc\x83\x0a\x19\x5d\x20\x20\xc0\x49\x8c\xb9\xee\xcd\xf7\x07\xb4\x13\x5f\x6d\x1f\x83\x86\x92\xc1\xaa\x91\x70\x96\x00\x84\x89\x94\x22\xa7\x08\xf0\x5e\xcb\x60\x24\x8a\x22\x9c\xca\x7e\xfc\xa0\x77\x53\x84\xea\x05\x2e\x7b\x84\x07\x87\xc0\x94\xc1\xd3\x64\xa3\xb6\xca\xd8\xba\xaa\xd4\xc1\x87\xf8\xb4\x05\x63\xa2\xd3\x30\xdf\xf2\x0c\xed\xd5\xcf\xd7\x1b\xb3\xb5\xcc\x47\xe8\x82\x0e\xbf\x34\x4a\x10\x66\x59\x95\xc0\xd8\xd3\x7e\xa7\x5d\xd0\xbf\x6e\x00\xa3\x83\xca\xd1\x1b\x7e\x2f\x2c\x23\x79\xf2\x57\xf3\xe8\x35\x4b\xca\x3d\x23\x9d\x05\x82\x90\x32\x64\x0e\x0d\xc9\x89\xed\xad\xdb\x99\xdb\x5f\x6e\x47\xce\x81\x83\xc4\x0f\x99\x00\x2e\x11\x24\x6e\xd1\xe1\x47\xad\xf0\xf0\xae\x7d\x09\x7e\xb5\xd2\xbc\x4c\x2c\xbb\xed\xb8\xa6\x5e\xbb\x02\x88\xc8\xb6\xd9\x6e\x4f\x0e\x06\xb9\x04\x38\xc6\x78\x20\x58\xdb\xa2\x03\x22\x26\xc7\x6f\x46\x90\x03\x1a\x33\x76\x50\x09\x2e\xce\xc6\x08\x06\x7b\xa1\x6b\x00\xc7\xf9\x5f\xfb\xdc\x99\x6d\xc9\x27\xc8\xa7\xe8\x73\xcd\x4c\x2b\x1b\x9e\x05\xf7\xc3\x7b\x2f\x39\xb9\xcb\xc4\x84\x2d\x4b\xf8\xfc\xe2\xfd\x4d\x88\x2d\x4a\xb0\xb7\x47\xd1\x46\x44\x77\xe0\x4d\xc3\x2b\xcf\xc9\xa8\x13\x77\xe3\x5c\x7a\xa1\xba\x42\x59\xa0\xcc\xce\x71\xf7\x3b\xfd\x0a\x95\xb3\x38\xd1\x59\xca\x77\x00\x49\x90\x98\x55\xe2\xe1\x0c\x2e\x1d\xcb\x1c\x05\xfb\x82\x09\xc3\x67\xda\xcc\xca\x89\xff\xdd\xd8\xb1\xe4\xf9\x32\x29\x72\x9e\xef\x98\x1f\xcc\xe6\x79\xc0\xb4\xd8\x72\x59\x24\xd1\x5c\x6e\x05\x97\x21\x86\x94\x20\x19\x66\x90\x63\x25\x88\xdd\x7a\xb5\x12\x51\xe1\xe9\x31\xe1\x11\xe2\x46\x6a\xdf\x1e\x1c\xd7\x77\xb7\xf3\x7a\xbb\xfe\x83\x15\xd3\x4c\xb6\x80\x50\xa6\x35\x44\x57\xe3\x23\x43\x8d\x20\x6c\x48\x57\xae\x7d\xd4\xc2\xbf\xec\x9a\x62\x4b\x51\x3c\x08\x60\x7f\xa0\x74\xd5\x36\x1b\xff\x60\x71\x8b\x43\x52\x3d\x4e\x1c\x5b\x14\x91\x01\x37\xe8\x1e\x69\x83\x85\xd0\x47\x47\x53\x25\x6b\x7c\x53\x2f\x28\x81\x16\x5c\x81\x2f\xc8\xa9\xf9\x02\xae\x69\xf3\x0a\xce\xef\x45\x3c\x97\x55\x12\x30\xb2\x19\xfd\x86\x63\x5e\xb6\xed\x69\x4e\x1b\x3b\xc6\x83\x02\x3d\x67\x40\x7c\xe2\x29\x4f\x5d\x8a\x68\x8f\x8c\x1c\x76\xfa\x39\x5f\x55\x56\xc1\x72\xe8\x63\xd8\x2b\xbb\x91\x2c\x13\xa9\x38\x56\xd0\x3f\x6e\x51\x3a\x8a\x23\xe4\x3f\x74\x70\x6d\x72\x5a\x37\xdc\xe0\x6d\x65\xcc\xa5\xcd\xfd\x5f\x95\x29\x72\xda\x76\x09\xdb\x11\xe3\x99\xcd\x53\xfa\x7c\xf9\x6a\xce\xe9\xca\x02\x25\x3c\x07\xd2\x09\xa0\xf3\x78\xd6\xd9\x55\x2f\xa4\x2e\xc1\xa4\xb0\x22\x58\x10\x95\x58\x8b\x02\x6e\xf3\xb8\x4c\x31\x95\x1d\xc2\x29\xc0\x9e\xc6\xd3\x94\x25\x85\x9e\x4b\x47\xf6\x86\xd4\xfd\x70\xc2\xda\x78\x4b\x4c\x4f\x2e\xa8\x02\x8a\x85\x8f\xb9\x04\x3b\x2c\x89\x92\xa2\x91\x70\xb0\x0b\x85\x63\xb2\x4c\x70\xcc\xbc\xc4\x69\x9b\xcb\xf0\xcd\x55\x9f\x04\x4a\x53\x04\xad\xe1\xa7\xc8\x18\xec\x71\xdc\x9a\x2a\x1e\x85\xb2\xc1\xde\x99\x07\x97\xd5\x84\xc5\xd6\x12\xdb\x03\xe1\x82\xcd\xab\xa6\xd0\x36\x80\xe2\xdf\xad\xa0\x76\x1c\x95\x29\xcf\x53\x50\x50\x58\x95\x29\x4b\x56\x81\xbc\x2d\xcc\x01\x52\x7d\x99\xe9\x8a\x14\xdc\xd5\x36\x84\xa2\xf9\x56\x04\x2c\x03\xe4\xde\x49\x03\xc4\x0f\xf2\x97\x23\x94\xc4\x94\xf5\x6a\xca\xde\x78\x32\x43\x9c\x61\xd8\x13\x01\x45\x68\xa2\xf1\xf8\x73\xed\x0d\x12\x64\x51\xf7\x39\x59\x99\x27\xe5\x8b\x60\xd7\x75\xcc\x20\x48\x0d\x8c\x83\x13\x59\xa1\x89\x7e\x8c\x7b\x6b\x82\xbc\xf9\x69\x0d\x64\xe4\x36\x44\x47\x03\xed\xad\x30\xb2\x91\x21\xbd\xea\x23\x1a\xea\xe8\x6b\x5b\x1a\xbb\xed\x51\xd3\x85\x79\x1c\xd9\xd4\x40\x9b\x6a\x7c\x43\x83\x95\x13\x82\xc7\x86\x8c\xec\x9a\x17\x63\x91\x64\x2e\x75\x6c\x7c\x43\x5b\x51\x7b\x43\x9a\x09\xa7\xc7\xc8\x76\x9e\x98\xdf\x3c\xb2\xa1\xba\x5c\x1e\xe1\x01\xed\xd4\x2b\xe0\xa8\x10\x3c\xda\x54\x33\x7e\x2d\x2f\xa7\xeb\x81\x9e\x4b\xba\xec\xc6\x27\x2b\x9f\xf8\x35\x07\xf2\x5c\xcc\x34\x7f\xca\xde\x4b\x81\x38\x4f\xb5\x0a\x2e\x15\x6a\x00\xe9\x78\x81\x34\x82\x3b\xe5\x96\xa6\x61\xf2\xce\x12\xa1\x98\x2d\x37\x61\xdc\x97\x0e\xa7\x1e\x2e\x1b\x3c\x45\x3a\x6c\xc9\x36\x21\x91\x03\xcc\xcb\x61\xe9\xc4\xed\x6f\xfe\x00\x2e\x3d\xfe\x04\x68\xeb\xc7\xf0\x69\xe9\xcd\x7b\x70\xaf\x38\x9b\xec\x50\x5d\x37\x0c\xc1\xcf\xfb\xc6\xf7\x72\x53\xc5\xcc\x8e\x90\xdd\xba\xbd\x78\x73\xf6\x76\x76\x51\xd5\xca\xfa\xe3\xed\xd9\x6d\xf5\x2f\x57\xb7\x17\x17\xb3\x8b\xef\xc3\x3f\x5d\xdf\x9e\x9e\x9e\x9d\xbd\xa9\x7e\xef\xed\xc9\xec\xbc\xf6\x3d\xf3\xa7\xea\x97\x4e\xbe\x7b\x7f\x55\x53\xe7\xb2\xd2\x5a\xc1\x9f\x6e\x66\xef\xce\xde\x2c\xde\xdf\x56\x04\xbe\xde\xfc\xd7\xc5\xc9\xbb\xd9\xe9\xa2\xa5\x3d\x57\x67\xa7\xef\x7f\x3a\xbb\xda\xa3\xcf\xe5\xfb\xdb\x3a\xa4\x4f\x81\x2d\x7c\xb4\x5a\xdb\x09\x5b\xe5\x89\x90\x71\xba\xc3\x4c\x11\xfb\xb2\xad\x41\xbf\xc3\xbb\x37\xd9\x0a\x55\x1e\x92\xf0\x71\xb3\x11\x4c\xdd\x8b\x1c\x38\x5b\xb0\x34\x4a\xf0\xe6\xfa\xae\x93\xd1\xb3\xc8\x9b\x51\x81\xde\xbc\xb6\x22\xdf\xb9\xcc\xc9\xbe\xe6\x78\xbe\x2f\xaa\x84\x65\x22\xef\x6b\x0b\x58\x46\x79\x99\x15\xc9\xb2\x3b\x85\x67\x20\x0f\xd6\xf8\xb7\x37\xb2\x53\xb6\x53\xf9\x5c\xb4\x1f\x8c\x95\x4c\x96\x43\x60\xf2\x50\xc2\x63\x45\x08\xdd\xaf\x2d\xb4\x38\x2b\x97\x69\x12\xb1\x24\xae\xfb\x53\x30\xe1\x12\x5d\xc6\x75\x12\xdb\x4c\xe4\x60\xaa\x9a\x17\x40\x96\x8b\x23\x5e\x16\x1b\x24\x5c\xa3\xc4\x19\x92\x1c\x98\x4b\x2d\xa2\x5c\x60\x2c\x40\x68\x70\xd2\xa2\xfa\x5c\x50\x13\x34\x86\xf8\x06\x62\xa0\x36\x9a\x06\x82\x02\x1d\x31\x02\xfc\x25\x96\x3e\xc2\x49\x8a\xdf\xef\x1d\x1a\x6a\x71\xa2\xeb\xd2\xe3\x70\xc3\xe3\x87\x56\xc3\xce\xf4\xdb\x9c\xd4\x4e\xc3\x0d\x27\xd9\x66\x1a\xb5\x77\x63\xdf\x1a\x0b\x17\x4a\x35\xf5\x86\x4a\xa7\x8f\x4e\x73\x01\x97\x08\x41\x1a\xac\xff\x02\x70\x4d\x94\x99\x04\x09\x49\xe6\xa9\xb6\x14\x1b\x9e\xae\xd0\xe2\x30\x53\xe3\xf7\x55\x73\x89\xde\xa8\x3b\x21\xaf\x70\xc2\x3e\xcb\x71\x28\xf1\xe5\xe3\x19\x28\x9c\x47\xc8\xbb\x30\x4d\x1b\xed\xaa\xb2\x99\x99\x60\x4c\x15\xf8\x4e\x08\x3e\xc6\x04\x24\xcf\x2f\x6d\x93\x3a\x57\xab\xe4\xa3\x29\x70\x2e\x45\x2b\xc3\x2e\x80\xc9\x2c\x17\x98\x3b\x97\x01\x38\x87\x84\x4a\x77\x42\x82\xfa\x1d\x8a\x63\xef\x5d\xb3\xe3\xfc\xe7\xcd\xb9\xe8\x71\xe8\x83\xcf\x2f\xa9\x88\x02\x86\x51\x1e\x3b\x4e\x05\x66\x84\x4d\xd9\x1b\xa2\x89\x31\x7f\x39\x3d\x9f\x9d\x5d\xdc\x2c\x4e\xaf\xce\xde\x9c\x5d\xdc\xcc\x4e\xce\xaf\x87\x6e\xbf\xa7\xc8\xe2\xab\xed\xbe\x7a\x32\x9b\x3b\x21\x8e\x69\xe7\xf9\x64\x72\xd7\x29\xbf\xed\x60\x4a\xf6\xb7\x3e\x89\xb3\x45\x9c\xe8\xc8\x5c\x7f\xbb\x85\x90\x31\x50\x93\x3f\x6a\xa9\xb6\x17\x55\xef\x85\xfb\x06\x73\xdf\xb0\x27\x08\xde\x76\xf7\x76\x45\xbb\xcf\x01\x92\x09\x6e\xc8\x5c\x98\xcd\x1f\x9b\xf7\x81\xbb\x6d\xa6\xfb\xf5\x68\x4c\x71\x87\xf5\xad\x5a\x44\xbd\x4f\xd8\xde\x44\xeb\x92\x9b\xf3\xd1\x7e\x0d\xf0\xa8\x1d\xa3\x42\x7c\x91\x21\x3f\x7a\x12\x68\xfb\xb2\x44\xcf\xe5\x96\xcb\x98\x17\x2a\xdf\x75\x74\x71\xd8\xe1\x19\x6e\x9b\xea\x11\x1a\x5e\xd9\x52\x88\xd8\xce\x02\x7e\x95\xcb\xfa\x52\x42\x16\xf5\x9b\xf7\x3f\x9e\x5d\x5c\x2f\xce\x2e\x7e\x5a\x5c\x5e\x9d\xbd\x9d\xfd\xc9\xc1\x64\x33\xae\xdb\xb4\x3c\xb3\x5c\x98\xd3\xc5\x92\xd2\xb4\x9e\x2f\x28\xb0\x69\xcb\x21\x51\xb5\x64\x35\x97\xf6\x64\xc9\x7d\xf1\x9b\x5c\x95\xeb\x4d\x7b\x41\xf5\x56\x5e\x9e\xdc\xfc\xf0\xa8\x66\x02\x65\x18\xaa\xf0\xe1\x6e\x6b\xc2\x85\x93\x15\x9d\x7b\x88\x31\xae\x35\x0f\x88\xef\xe0\xab\x6d\x51\x86\x8e\x13\xed\x51\xaf\x97\xe6\xa1\xd5\x6b\xfc\xb7\x7c\xbd\x6b\x01\xdd\x04\xe7\x66\xe5\x1a\x01\xf8\x3a\x8a\xb9\x36\x4a\x7b\xdd\xf2\xb7\xca\x0d\xf6\xf5\x51\x2a\xd6\x6b\x11\xe3\xf2\xaa\x17\x4c\x3e\x38\x3a\x02\x23\x7f\xaf\xb7\x8d\x22\xc9\x2d\x1e\x70\x31\x3b\xbc\xd7\xf0\x03\xfc\xd2\xfd\xa4\xfd\xac\x38\xb5\x92\xee\x91\x92\xba\xe0\xb2\x23\x90\xbc\x3f\x1f\xac\xbd\xf8\xf7\x39\x73\xa9\x7a\xe4\x30\xb1\x21\x03\xbf\x0f\xba\x00\x2f\x87\xe3\x5b\x5d\x3b\xae\x44\x96\xf2\x48\xb8\x04\x17\xe4\x6b\x84\x77\xfd\x63\x02\x78\x24\x6a\x29\xc9\xdf\x12\x88\x5d\x06\x0a\xf8\x2d\x4b\x00\x3c\xb7\x57\xf6\x3c\x7e\x7e\xd7\x4a\xef\xc3\x8d\x58\xda\xc0\xd1\x8c\xaa\x62\x94\x17\x81\xbe\x28\x90\xea\xeb\xc4\xac\x8f\x5a\x0e\xb5\x9a\x7f\xa2\x89\xc7\x37\x73\xd5\xd1\xcd\x2d\x0f\xa2\x5b\x1e\xce\x74\xec\xf3\x17\x16\x45\xde\x4b\x9d\xfa\x14\xe1\x88\xcb\x5c\x6d\x13\x2d\x4e\x8a\x22\x4f\x96\x65\xa8\x1d\x39\x12\x30\x57\x79\x9c\xf8\x0e\x67\xb9\x8a\xcb\xc8\x12\x58\x41\x6f\x3d\xec\x87\xbc\x7c\xd6\xea\x88\xd9\x91\x59\x7d\xf4\x72\x13\xf1\x11\x64\x7b\xcc\x65\x57\x8c\xcd\x1e\x8c\x1d\xbe\xbf\x4b\x7b\x95\x3f\x71\xce\x68\xf7\x60\xda\x35\x30\x2c\x0d\x9c\xd9\xaf\x83\x05\xdc\x81\x9a\xa2\xe5\xb2\xe4\x18\x40\xaf\xda\x28\x5d\x7c\x35\xee\xaa\x19\x07\xee\x1a\x86\x8d\xa9\xa6\x53\xa1\xdd\xb0\xe1\x1a\xcd\xf9\x22\xda\x54\x1b\x0e\xbd\xa9\x72\x3c\xd6\x9b\xeb\xcc\xe3\xc3\xdc\x26\x83\xc2\x68\x13\x74\x34\x24\xe4\xd8\xae\xe8\xf5\x39\xf1\xd1\x4e\xff\x3d\x69\x6c\xff\x52\x8a\x31\x1a\x9c\x36\x55\xe3\x8f\xf0\xb3\xbd\x80\x94\x04\xb1\x5b\xce\xf7\x5a\x24\x5b\x63\x01\xf1\x3c\xda\xb0\x25\xd7\xc4\x9c\x1a\xb2\x25\x90\xee\x7d\x62\x7e\xc5\xa3\x82\xc4\x13\x9d\x66\x37\x09\x28\xde\x58\x28\xa4\x31\x6b\xbd\xd7\xa3\x6d\xb9\xed\x1b\x80\x31\xde\x6b\xdb\x8c\xd9\x9b\x51\x31\x84\xd0\x0e\x77\xef\x64\xbc\x62\xe1\x76\x4a\x79\x29\xa3\x0d\xcb\x52\x8e\x84\x12\x1b\xae\xf1\xa0\xb0\x08\x1d\xbe\x4c\xd2\xa4\x00\xa6\x2e\x0c\x1c\xd7\xd6\xad\x79\x3c\xf3\xfc\xce\x92\x63\x73\x4f\xcb\xd6\x77\x94\x1c\x88\x84\x76\xbd\xfa\xa4\x58\x68\x7f\x10\x86\x87\xfb\xb0\xcd\x4e\x38\x68\x3f\x1d\xe6\x7a\x83\xcd\xee\xfb\x32\x2e\x3a\x44\x25\x5e\xd6\x7f\x5e\x1b\xef\x02\x3b\x70\xd8\xd9\xdd\x93\x97\xf5\x2c\xa0\x73\x9f\x55\xd6\x7f\x8d\x36\x3b\xdc\x62\x04\x8f\x07\x3e\x91\xcc\xc5\x08\x23\xa6\x2e\x82\xd1\xba\xef\x57\xa9\xe2\x1d\x42\xec\xb6\x6c\xd4\xb4\xe8\x2a\x3b\x56\xe5\xb2\x8b\x45\x1d\x5b\xf5\xf8\x1c\x3a\x7b\xfc\x3f\x95\xcf\x3d\xbc\x47\x79\x21\xcc\xe9\xfb\xb8\x01\x35\xbf\x3e\x82\x9f\xb7\x17\x4e\x59\xcc\xa3\x19\x29\xdc\x32\xf0\xca\x4a\xce\xf6\x07\x48\x6a\xcb\x76\xaa\x1b\x79\x07\xe5\x3c\x1e\x36\x5f\x89\xdc\xb3\x94\xf6\x8b\xb5\xfc\xfe\xeb\x21\xd9\x88\x7f\x2c\xb9\xb9\x00\xde\xaf\xae\x91\x20\xec\x90\x4e\x17\x49\x73\x5b\xb5\x1f\x03\xf5\x5a\x6f\xaa\x51\xda\x70\xe1\x0f\x66\x3b\x68\xeb\xcd\xb5\xf9\xf5\xf0\x63\x77\x56\xf1\xc6\x66\x79\xa2\x80\x28\x4b\xad\x2a\xb6\x46\xcb\x49\xdc\x5a\xef\x01\x23\xf9\x4b\x29\x4a\x61\x16\xd0\xb2\x8c\xd7\xcd\x60\xc9\x88\x07\x97\xef\xd2\x46\x3d\xb0\x6d\x19\x6d\x98\x2d\x9c\xc5\x22\xe5\xbb\xaa\x19\x65\xde\x1a\x85\x4a\x81\xb5\xfe\x91\x14\xda\x51\xa9\x0b\xb5\x05\x9c\xba\x2f\x37\x2f\x25\xec\x72\xc6\xed\xee\x6a\xbb\xd0\x2a\x94\x9a\x8f\x8c\x90\x5f\x5f\x9e\x9d\xce\xde\xce\x6a\xe1\xe9\x93\xeb\x1f\xc3\x7f\xff\xfc\xfe\xea\xc7\xb7\xe7\xef\x7f\x0e\xff\x76\x7e\x72\x7b\x71\xfa\xc3\xe2\xf2\xfc\xe4\xa2\x12\xc4\x3e\xb9\x39\xb9\x3e\xbb\xd9\x13\xa7\x6e\xd6\xda\x3d\x11\x3c\x60\xfc\xb4\xc8\x79\x2b\x7d\x60\xdd\x55\x54\xeb\x6b\x76\x62\xf9\x4f\x2b\x0c\xbd\x16\x6b\x00\xe0\xa4\x14\x31\x96\x08\x49\x78\xc3\x0b\x7e\xca\x0b\x9e\xaa\xf5\x94\x9d\x30\xca\x2b\xc0\x7c\x11\x6d\x4c\x42\x22\x87\x34\xb3\x83\x45\x18\xbb\x30\xf2\xae\x20\xaf\xed\xaa\x56\x44\xcb\x9a\x8a\x50\x05\xc4\x26\x79\xce\xe5\xd9\xbd\x90\x45\x09\x86\x36\x4f\x53\x46\xd5\xda\x2f\x04\xac\x20\xb6\x95\x3a\xd9\x26\x29\xcf\xbd\x0c\xe7\x7b\x2a\x0b\x1e\xbb\xb6\xad\x8e\x95\xae\x49\x39\x61\xfd\x01\xb7\x33\x06\xed\x3e\x3d\x9f\x81\xa1\x1b\x15\x56\x63\xca\x56\x3e\x97\x48\xfb\x49\x35\x6e\x39\xe4\x30\x15\x8a\x1c\xf4\x58\x3d\x7d\xb9\x7b\x21\x1e\x64\x58\xd9\x50\xd6\x73\x39\x26\x5c\x23\xed\x7f\x9c\xc9\x22\xdf\x0d\xb6\x5e\x6f\x80\xd1\x41\xc3\xbb\x8e\x20\x91\x55\x69\x4e\xf4\x9f\x32\x5b\xfa\x05\x98\xb4\x16\xaf\x4b\xe1\x3d\x17\xc5\x43\x78\x54\xc7\x93\x28\x35\x37\xef\xaf\x75\x1c\x42\x16\x30\x18\x85\xa5\x2a\x65\xac\x09\xbc\xb9\x4d\xe4\xf1\x96\x7f\x7c\x65\x7b\x8a\x24\x36\x4e\x20\x07\x18\x13\x45\x6a\xde\x83\x3b\x73\xc8\xf5\x0f\xd7\x5c\xf6\x8c\xd7\xfe\x37\x81\x3d\x59\xc1\x65\xe0\xfd\x3b\x08\x43\xbd\x17\xbb\xb6\xf9\x6b\x88\x9c\x21\xd4\x95\x36\x3c\x14\x92\xe5\xc2\x7c\xd1\x61\x5c\x53\x84\x2e\xbb\x7f\x43\x2e\x4b\x45\x88\xb5\xfd\xec\x0e\x61\x23\x07\x6d\x9b\x56\xc0\xca\x70\xc3\x67\xb0\x4a\x1d\xd5\x64\xe6\x0c\xe1\x2b\x36\x72\x42\xb9\x3b\x14\x97\x37\x93\xf5\xdf\x6a\xc9\x56\x90\xc8\x46\x7e\x82\x5c\x40\xa4\x0c\xa6\xc2\xca\x2a\x00\xaf\x5e\x03\x13\x63\x97\x40\x2a\x34\xc4\x8f\xa4\x79\x54\x8b\x5f\x4a\x82\x00\x7c\xf5\xe5\xb8\x7b\xb6\xc8\x77\xcc\x4a\xf8\x84\x89\x74\x94\x47\x4a\x77\x2e\xb4\xab\x94\x49\x1b\xd9\xe6\x55\x29\xcd\x55\xfc\x14\xe8\xa9\xe1\xe1\xf1\x5a\xa5\xf4\xcf\xbd\xb9\x66\x36\xb2\x93\xe3\xf7\x9f\x8d\x3b\xf9\xa7\x1a\x65\x32\x55\x07\x99\x0d\x54\x7a\x78\xa1\x2d\x79\x74\xf7\xc0\xf3\x18\xdd\xff\x00\x67\x9a\xb2\x1f\xd4\x83\xb8\x17\xf9\x84\x45\x22\x2f\x38\xf1\x15\x6a\xc0\x73\xc0\x86\xa2\x72\xe6\x12\x12\x7d\x90\xfc\x51\xea\x32\x17\xac\x48\xd6\x9b\x42\xe4\x21\x1a\x47\xe5\xe6\x38\x2a\x90\xaa\x36\x13\x11\x11\xb2\x75\x0c\xc0\x2a\xe5\xf7\x4d\x02\xc6\xc7\x30\xc9\xb0\x99\xcb\x56\xb6\xe1\x6e\x2b\x55\xd3\x87\x9f\xa2\x01\xa3\x43\x13\x29\xb4\x26\x6c\xad\x52\x2e\xd7\xd3\xe9\x94\x89\x22\x9a\xbe\x1a\xb5\xd0\xa9\xc0\x30\x80\xee\x50\xfa\xa9\x52\x5a\xa4\x3b\x47\x22\xe6\xf2\xa8\x00\xb8\xfb\xb1\x10\x52\x27\xe8\xd8\x6a\x59\xfe\xd7\xf5\xe0\xd2\xa7\x8d\xc5\xb5\x3f\xcf\x47\x67\xe9\x76\x94\x03\xca\x77\x23\x4a\xc2\xef\xb7\xbf\xbc\x1e\x95\x75\xde\x5e\x96\x54\x72\x6c\x2a\xf5\x4f\x2a\xe9\x80\x82\x3c\x8a\x6c\xb4\xb5\x24\x22\x42\x7a\x54\xfa\x69\xfb\x98\x35\x32\x82\x0f\x48\x06\xee\xc9\xeb\x1d\x99\xd2\x3b\xc4\x11\x70\x5d\x9f\xee\xd1\xdb\x62\xbf\x18\x4f\x6b\x87\x46\xa6\x4c\x7b\x6e\x83\x31\xa6\x13\x66\x5d\xa6\x3b\x78\x71\xb9\x04\x6a\x08\x0f\xc4\x41\x54\xa9\x12\x34\x83\x54\x3e\x1f\x75\x73\x04\x75\x41\x90\x4d\x17\x2a\xe7\x6b\xc1\xb6\x22\x4e\xca\x6d\xeb\x61\xe3\x9a\x7b\x08\x7c\x54\xa5\xe5\xb6\x9b\x2a\xf4\x50\x03\xda\x37\x12\xff\xeb\x14\xaa\x1b\xce\xa1\xe3\x32\x23\xac\x26\x1a\xb5\x17\x43\x48\x34\xd6\xe6\xa6\xcc\x13\x0d\x2c\xbb\x8f\xc9\x9c\x75\xc5\x60\xd1\x10\x80\xdf\x65\xe8\x64\xaf\xcc\xee\x91\x8d\x8c\xd2\x4f\x34\xce\x2a\x44\xed\xbb\x2f\x85\x3a\x28\x75\xf4\x1c\x81\xe2\xd6\xa3\x80\x12\x60\x36\x06\xda\x17\x84\x9a\x83\x02\x09\xda\x53\x28\xb6\xb2\xb9\x98\x77\x22\xa0\x3e\x8c\x41\x15\xe3\x01\x29\x9f\x7e\xfc\x46\x5b\x10\x10\xe1\xb4\xbc\xc5\x52\xf8\x4a\x30\x02\x74\xff\x95\x85\xe7\x61\x0f\xb1\x08\x20\x28\x8c\xb9\x2c\x5a\x0b\xf0\xe8\x55\x28\x0b\x7f\xf2\x13\x2f\xd3\xf6\xaf\x53\xf9\xf0\x55\x54\xd8\x3b\xf9\xf9\x9a\xe1\x50\x93\x7e\x42\xde\xd7\xd0\xa0\x90\xfd\x00\x41\x18\xae\xc5\x23\x2c\xc1\xca\x3c\xe0\xa0\x5b\x01\x0d\x33\xec\xa2\x88\x36\xde\xf2\xa8\x4a\xe5\x93\x7c\x2a\xf5\x73\xeb\x15\x21\x10\x7b\x1d\x82\x58\x93\xb5\x54\xa1\x98\x91\x92\x02\x42\x71\xe6\x00\x52\x61\xb1\x2c\x29\xf6\x23\x05\x47\xb2\x12\xee\x5b\x6a\x85\x42\x04\x18\xf5\xb3\x12\xa7\x86\x27\x45\x82\x74\x55\x16\x66\x8d\x6f\x22\x52\xe3\xac\x2b\x05\x54\x09\x40\xe6\xb2\x5a\x55\x63\x90\x2c\x94\x2f\xc9\x05\x12\x7c\x6b\x63\xbd\x15\xc9\xbd\xd9\xa8\xcd\x65\xed\x16\x28\x9c\x00\xcd\xb5\x47\x61\x5b\x16\xb0\x84\xdf\x89\x9d\x0e\xa5\x3f\x69\x45\xb1\xae\x05\x99\x98\xfe\xd0\x7c\xed\x9f\x0a\x18\xb8\x05\xf5\x60\x3b\x18\x61\x8b\x95\xbe\x33\x3f\xee\xc1\x08\x37\x0a\x37\x6b\xd0\x27\xbb\x7a\x9f\x22\x1d\x13\x7e\x9c\x69\x0e\x3d\x0c\x10\x40\x9e\x21\x8c\x33\xcc\x5c\x82\x87\xaf\x79\xdf\xce\x25\x09\x09\x04\x97\x9c\x39\x70\x9a\xd3\x46\x19\xf8\x48\x5f\xbe\xab\xb0\x07\x01\xb5\xaa\xa5\x99\xad\x56\x69\xa3\xcb\x56\x39\x7a\x2e\xa1\x6a\xcc\x51\xb6\x3e\xbc\xd6\x0a\x1f\x89\x2d\xa5\xc9\xed\xc4\x93\x06\x89\x80\xf8\x4d\x62\x17\x45\x0d\x59\x7c\xfd\x44\xc2\x0c\xdf\x89\x6c\x85\x72\x5a\x20\xe7\xf5\xd9\xe9\xd5\xd9\xcd\x27\xc3\x9b\x5a\xb0\xe7\x68\xc0\xa9\x6d\xe7\x9b\xb3\xb7\x27\xb7\xe7\x37\x8b\x37\xb3\xab\xe7\x40\x9c\xd2\x47\x8f\x80\x9c\x5e\x93\x3e\xc9\xa9\x92\x85\xf8\x78\xd0\x9d\x9c\x97\x72\xc1\x47\xa4\x3e\x39\x85\xa2\x3e\x73\x07\x0b\x6d\xea\xab\x38\xf1\x13\xe2\xb6\x25\xd4\x89\x95\x53\x59\x79\xa7\xe1\x2a\x49\x53\xc8\x04\x77\xee\x75\xca\x32\x34\x83\x0a\xe7\x8f\xa5\xf3\xa5\x33\x75\x2e\x97\x15\xf9\x1b\x70\xf9\x6d\xcc\x23\x18\x73\xc0\x33\x33\x00\x79\x02\x19\xb6\x7d\x12\x2c\xeb\x44\x0a\xdf\x0c\xd4\x7b\x2f\x25\xeb\xa4\xa9\xa7\x49\x7c\x4e\x64\x1d\x19\x5e\x43\x6d\x4d\xbb\xe2\x2a\xeb\xd3\x9a\x9f\xf6\x43\xd7\x43\xdc\xc4\x89\x44\xc3\xb4\xb2\x9b\xaf\xdb\x97\xee\xb1\xdf\x02\x30\xee\x66\x26\x39\xc4\x20\x40\x52\xdd\x4f\x24\x4d\x04\x4a\xb3\xf9\xe0\xc4\x5d\x82\x08\x34\xb5\xaa\x8d\xb3\x39\x0a\xcd\x58\x27\x10\xa9\xe0\x44\x6e\x13\xa5\xa5\x2e\x44\x4e\x6e\x93\x93\x9f\xaf\xe7\xf2\x3b\x73\x7d\xbd\xa2\x5b\x88\xe4\xbb\xb0\x0a\x44\xea\xa8\x4a\xfd\xd6\x42\x09\x4f\xb0\x97\xe8\xa3\xde\x0a\x2e\x35\x83\xad\x91\xa6\x22\xf7\x2b\x03\xdb\x23\x44\x4c\x92\xa7\x40\xf5\xec\x7f\xff\x8a\x11\xb8\xd5\x0c\x85\x69\x2f\x7d\x4a\x9a\xff\xf5\xf5\xd4\x45\x34\x00\x88\xf3\xe7\x5c\x39\x2d\x89\x4f\x43\x57\x11\x81\xf5\x5b\x17\x51\x35\x0d\x69\xd0\x5a\xba\xc1\xe2\x7e\x5b\x4a\x4f\xb8\x94\x06\xdc\xeb\xe1\x2d\xc1\x36\xca\x1c\xa0\x4e\xdb\xca\x87\x99\x1d\xd1\x49\x0a\x28\x37\x33\x8c\xad\xb7\x4e\x4d\xdf\xf5\x10\xec\x07\x14\x75\x18\x42\xfb\xa4\x85\x51\xc9\x0b\x09\xda\xd8\x4e\xaf\x74\xec\xf3\x30\x17\x9e\x58\xac\xaa\x54\x85\xe5\x20\x71\xf0\x50\xc2\xba\x9a\x2f\x38\xf2\x9b\xde\x36\x12\xa1\x8c\xb5\x52\x16\x07\xca\x2f\xde\x84\x98\xda\x4a\x56\x36\xb6\x22\xe4\x73\xb0\x1c\x0e\x8e\x03\x66\xcc\xe2\x7b\xbc\xc0\x6f\x75\xcd\x39\x3e\xd1\x47\x81\x1d\x2e\xde\x5f\x9c\x85\x50\x85\xd9\xc5\xcd\xd9\xf7\x67\x57\x95\x7c\xfe\xf3\xf7\x27\x95\x9c\xfc\xeb\x9b\xab\x5a\x2a\xfe\x77\xef\xdf\x9f\x9f\x35\x30\x0f\x67\x37\xb3\x77\x95\xc2\xdf\xdc\x5e\x9d\xdc\xcc\xde\x57\xbe\xf7\xdd\xec\xe2\xe4\xea\xbf\xc2\xbf\x9c\x5d\x5d\xbd\xbf\xaa\xd5\x77\x7b\xda\x8f\x9e\xa8\x74\xa3\xdd\xfd\xe3\x83\xb3\x01\xb5\x6a\xeb\x36\xae\x0a\x20\x1f\xb0\x8b\x07\x22\xcf\xf6\x2d\x47\x9b\xae\x1f\x87\x72\x1c\xb8\x31\x4c\x53\x47\xad\xba\xa7\x57\x6c\xae\x0c\x5d\xc6\x0f\x3b\xf6\xcc\xad\xb6\x78\x0a\x24\x60\xaf\x01\xe8\x6a\xa9\x39\x6e\x75\x01\x39\x8d\x38\xb4\x19\x44\xb0\xd6\xbc\x53\xaf\x4c\xc6\xcf\xde\x52\x5b\xc7\xbe\x76\x7a\x2a\xaf\x3d\x8c\x48\x4f\xc5\x86\xd2\xd7\xe8\xa0\x32\x4b\x36\x90\xc4\xd6\x50\xb0\x1f\x86\xb0\x7b\xd3\x0d\xb3\x72\x82\xe5\xd8\x25\xad\xdb\x9e\xb6\xd4\xcf\xbe\x37\xb6\xfd\x54\x49\xb3\xed\x35\xaa\x96\x11\xed\x06\xca\xac\x31\xed\xbe\xe1\xfa\x6e\x6c\xbb\xa9\x92\x66\xbb\xc1\xec\x7b\x54\xbb\xc1\xe1\x5d\xb4\xd3\xe8\x8c\x38\xc4\xc2\x62\xaa\xcd\x73\x39\xfe\xee\x2b\x81\x82\xf5\xb0\x36\x9a\x0d\xf0\xbc\xcf\xcb\x8c\x0f\x0f\x64\x40\x6b\xdc\x76\xe5\x35\x56\xf9\x6b\xf8\x14\x7a\xb8\xcc\x05\xbf\x8b\xd5\x03\xcd\x47\x1d\x19\xca\x06\x9d\xe6\xd5\x01\x32\x67\xb8\xbd\x22\x8a\x9c\x22\x50\x88\x52\xf3\xc5\x03\x4c\x2e\x21\x5e\x74\xb4\xc1\x02\xe9\xe5\x3a\x11\x11\x50\x3f\x49\x3f\x3b\x73\x89\xd6\x7c\x9b\x7c\xb3\x99\x55\xd3\x22\xa2\x0e\x81\xae\x3a\x1b\x1a\x83\xeb\x3a\x98\x58\xca\x03\x2a\x73\x00\xd3\x2d\x73\x78\x33\xc1\x80\x24\x12\x9c\xc9\xb9\x79\xf0\xe4\x22\x4a\xb4\x08\x14\xe3\x5a\x6f\xec\x5f\x0e\x93\x42\x29\x78\xd1\xea\x76\x1d\xec\x0f\xe7\x51\x51\xf2\x94\x41\xba\x12\x31\x30\xa2\xaf\x12\xff\x12\x71\x89\xa9\x31\x85\xd8\x66\x90\xd5\x1f\xe6\x74\xcc\xe5\xcf\x00\x94\xc0\x29\x78\xa1\xd9\xf7\x00\x79\xb0\x5f\xa6\x4b\x78\xcb\x0b\xb8\x8b\xff\x88\x75\xb8\xcf\xa6\x73\x59\x51\x60\x0a\x7e\x55\x11\x63\x9a\xce\xa5\x55\xeb\x88\x55\xa4\xa7\xf0\xe2\x9b\xaa\x7c\x7d\x4c\x6a\xe6\x66\xb1\xab\xbb\xa5\x52\x77\xc7\x42\x1e\x83\x4f\xaa\x38\xe6\x65\xa1\x8e\x01\x2e\x85\xf3\xaf\x8f\xad\xe8\xb1\x55\x8d\xd6\xc7\x9b\xe4\x5e\xc0\xff\x9b\x6e\x8a\x6d\xfa\x7f\x74\xb6\xf9\x78\xb4\x4e\xf3\x23\xf3\xdb\xa3\xf0\xb7\x47\xf6\xb7\x47\xf6\xb7\x47\xe6\x67\xf8\xff\xb2\x1d\x86\x77\xc4\x47\x6e\xee\xb2\xc9\x5c\x26\x52\x8b\xbc\x00\xeb\xe7\x21\x4f\x0a\x2f\x75\xb5\x63\x2f\xfe\xf6\x37\x36\xcd\xf9\x03\x66\xc4\xbe\xe1\x05\xbf\x44\xff\xe2\x3f\xfe\xf1\x02\x02\xaa\x98\xc5\x94\xf1\xfc\x97\x52\x14\x73\xa9\x85\xd9\x84\xec\x5f\xe6\x12\x22\xb0\xdb\xdd\xa2\x40\xbf\x2b\xfa\x20\x63\xcd\xbe\xc5\x32\x67\xc8\x46\x1a\x6b\x53\x52\x47\x3a\x41\xc2\xd3\x16\x9d\xfc\x0e\x17\xfd\x2f\xe9\x1b\xfa\xfe\x88\x6d\xfd\x4b\x5a\xdd\xd5\x56\x6c\x49\xff\x92\xc2\x05\x9a\x2a\x6e\xc1\x5a\xcc\x2d\x5e\x78\x27\x53\xe3\xda\xf6\x48\x03\x1a\xf0\xac\x61\xfa\xf6\xbd\x72\x8d\x8c\xe8\xd6\x73\xdf\x38\x46\x20\x56\xe0\xe3\x10\x10\x3d\x4f\xcc\x0e\xb9\x46\x4f\x28\x58\x6e\xd8\x73\xb0\x49\x29\x74\xee\xca\x43\xc7\x85\xfe\xfd\xeb\xe3\xe3\x09\x5b\x6b\xf8\x9f\xe5\x2f\xf0\x3f\x80\x1e\x7a\x2a\x52\xdf\xc6\x60\x3a\x20\x5c\x73\x96\xf7\xcf\xc4\x53\xa0\xe8\x3e\x05\x8f\x7c\x6d\x99\x7e\x57\xca\x38\x15\x3e\xb5\xb1\x12\x12\x49\x95\x99\x49\x3b\x51\x4d\xe5\x21\x98\xe3\xa5\x88\xb8\x39\xf8\x1a\x75\x23\xb8\x54\xad\x0a\x21\xd1\x1b\x96\x7b\xb5\x47\x8e\x9e\x2b\x30\x8b\x01\x0a\xc9\x0b\x82\x9c\x0b\xf8\x23\x54\x02\xc4\xec\x93\xfa\x47\x6c\xa7\x4a\xe2\x18\x07\xe6\xdc\x58\x44\x29\x08\x39\x58\xf6\x20\x96\x8b\xa2\xcc\x25\xe3\x2c\xe3\x32\xe6\x1a\x56\xe0\x2a\x87\x68\x67\xce\x78\xb3\xa1\x13\x84\xe3\xaa\xb2\x00\x4e\x2c\x44\x16\x84\x23\x81\x24\xf0\x41\x9b\x27\x41\x23\xf0\x4e\x00\x2e\xea\xc6\x0f\xa7\x73\x69\xf5\x08\x09\x0b\x87\x9e\xb2\x48\x65\x3b\x62\x3c\xaa\x0f\x7a\x62\x3d\x67\x34\xdc\x13\x8f\x37\xa9\x7f\x77\xc2\x92\x6a\x68\x0d\xf8\xe6\x8b\x40\xe2\xdd\x8a\xe4\xbf\x14\x32\x52\xb1\xc8\xf5\x2b\xb3\x0d\x13\xf7\xee\x40\xfb\x21\xd1\x7e\x32\xe0\x94\x32\x97\x1b\x79\x0b\x4d\xf1\x4e\x60\xca\x8c\x4e\x85\xa1\xbc\xcd\xce\xd9\xbf\x55\x7e\xed\x28\x98\xb6\xf6\xd2\x7f\x7e\x52\x44\x4c\x88\xeb\xb4\x6f\xce\xc7\xbb\x20\x70\xcb\x86\x27\x2e\x16\x8a\x36\x0e\x19\x27\x56\x4f\x3b\x29\x40\x21\x33\x17\xba\x98\x4b\xba\x81\x27\x6c\x25\xb8\xb1\xf3\x26\x2c\xd2\xf7\x78\x18\xe3\x75\x5f\x3c\x28\x8f\xc1\xb1\xf2\x36\x00\x86\xad\x14\xee\x9d\xc4\xf8\x35\x4e\x19\xd8\x08\x30\xe8\x7a\xa1\x3b\x53\x05\x06\xab\xf5\x40\x7c\xc4\x38\x58\xb5\x94\xba\xc2\x5a\x28\xd6\x03\x23\xb1\xc3\x40\x31\xab\xb7\x03\x3f\x30\x07\x0f\xf6\x0e\x61\x20\xc1\xe1\x08\x16\x37\x61\x69\x71\x9f\xf9\x18\x6e\x48\x59\x0f\xbe\x99\xae\x4d\xd5\x33\x10\xd0\x80\xc7\xf9\x2d\xcc\x4f\xf7\x3a\xac\xb4\xc8\xad\x94\x0b\xf6\x15\x09\x26\x37\x49\x1e\x1f\x65\x3c\x2f\x76\x76\xf9\xa6\xc9\x12\x14\x20\xd2\xe4\x4e\xb0\x93\x3c\x57\x0f\x4f\x3d\x0a\x9d\x47\x4b\xd7\x0b\xfb\x10\x24\xfb\xd8\x57\x7e\x2b\xbd\x6c\xdd\xdd\xf1\x38\x2a\xdb\x2e\xc7\x47\x6b\x3d\xb9\x28\xf2\xdd\xc2\x2c\xc4\x6d\xd6\x79\x52\x0c\x4a\x9a\x18\x6e\xe4\x8e\x63\xc9\xad\xb9\x30\x3a\x59\x72\x2b\xb3\xfa\xeb\x61\xc9\x6d\x21\xc0\x6d\xb2\xe4\xce\x2e\x66\x37\xb3\x93\xf3\xd9\xff\x5f\x2b\xf1\xe7\x93\xd9\xcd\xec\xe2\xfb\xc5\xdb\xf7\x57\x8b\xab\xb3\xeb\xf7\xb7\x57\xa7\x67\xfd\xb4\x57\xcd\xd6\x7b\x13\xfc\x88\x85\xf5\xbc\x66\x37\x01\x50\x03\x93\x0d\xc8\xfe\x26\x7d\x5c\x58\x55\x66\x33\x27\x72\x3d\x81\x8d\xfa\x9a\x9d\xe5\xf9\x6c\xcb\xd7\xe2\xb2\x4c\x53\x80\x53\x61\x66\xcf\x69\x2e\xe0\xe1\x39\x61\x97\x2a\x9e\x05\xbf\x83\x74\xc4\xd6\x6e\x40\xfd\x3c\x8e\x73\xa1\x35\x56\x3f\xa1\xfa\x03\xf0\x90\x4b\x75\x24\xf0\x1c\xbf\xe7\x49\x6a\xde\x6f\xaf\xd9\x77\x3c\xba\x53\xab\x15\xa6\xcf\x4c\x5c\xe2\x14\xfb\xa5\x54\x05\x67\xe2\x63\x04\x54\x6f\xed\xeb\xe4\x5c\xad\x3f\x03\x54\x79\x40\x78\xaa\xe3\x91\x02\x52\x77\x8b\xf6\xeb\xbc\xfd\x20\xa0\x5e\xbe\xc3\x9f\xbe\xc5\x5f\xb6\x3b\x28\x8b\xf4\x09\xd2\xe3\xcf\xd5\xba\x5d\x78\x08\xac\x6b\x52\x4b\xa2\x40\x42\x44\xec\x22\x6a\xcd\x74\x22\xef\xe6\xf2\xe7\x8d\x90\x4c\x95\x39\xfe\x09\x9e\xf9\xc6\xcc\x4c\x4b\xbd\x11\x20\x53\x3d\x61\x0f\x82\x6d\xf9\x0e\xcd\x66\x78\x13\x38\xb5\x14\x58\x32\x70\x8b\x98\x5f\xa7\x89\x34\xa7\x45\x96\xd8\xbc\x84\xfa\xd4\x3f\xc5\x8b\xcb\x12\x1d\xf2\xc3\x79\x88\xfb\xee\xd3\x0a\x3e\x0f\x5c\x65\x1e\x37\x69\x01\x42\x74\x72\x83\xa8\xac\x52\x77\x65\xe6\x29\x51\x5f\xd8\xe0\x24\x0c\xf7\xbd\x4a\x62\x16\x97\x59\x9a\x44\xee\xdc\x7d\x50\x79\x27\xef\x33\x26\xd0\x0c\xbf\x75\xea\x69\x61\x7d\x1d\x6b\xc9\xce\x09\x90\x74\x3d\x0c\xd0\xcf\xcc\x81\xcd\x12\x19\xa5\x25\xc8\xcc\x95\x5a\xe4\x47\x4e\x3a\xda\xe5\xfa\xfd\xfa\x49\xb2\x3d\x09\xe7\xe1\x69\x6d\x61\xd2\x79\xaa\xd6\x49\xc4\xd3\x10\xdc\xec\x51\x11\x8e\x85\xd7\x6e\x7b\x12\x13\x86\x3c\x08\xdb\xa0\x4e\x22\xad\x2c\x17\x40\x04\xbd\x80\xa3\x7c\x41\xc7\xdd\x21\xed\x5e\x31\xf3\x40\xc7\x76\x85\x1c\xb9\x36\xbc\x60\x6f\x38\x5f\xb7\x55\x62\x03\x13\x13\x25\xfc\x99\x7a\x90\x22\x07\x0b\x16\x60\x1f\xa6\xa7\x52\x81\x6d\xe2\xd4\xd9\x1c\x3e\xd9\xaa\x13\xae\x1c\x10\x1b\x33\x67\xd7\xc9\xbd\x90\x9f\x9e\xd4\x3c\xa8\x20\xe2\xd1\x46\x2c\xac\x5d\xfe\xd4\x47\x96\xbb\x00\x46\x1e\x56\x56\x26\x25\x3c\x4a\x5d\x78\x13\x9e\x4e\xd8\xe2\xe6\xd9\x85\x81\xc4\x9e\x8c\x2c\xd3\x88\x45\x2c\xa2\xbb\x4f\x7e\x34\x7b\x90\x95\x6d\x08\xe3\xec\x8d\x88\xee\xd8\xed\xd5\x0c\xb3\x81\x93\x82\x99\xa3\x40\x6f\xbc\xec\x53\xe7\xdb\xad\xe0\xeb\x67\xa0\xb0\x1a\xaa\x5b\xe5\xa5\x0a\x9c\x5a\x9f\x69\x10\x01\xa2\x20\x5f\xd2\x1c\x92\x94\x4b\x03\x40\x30\x5e\x58\x35\x23\x70\xc4\x33\xbd\x05\xf1\xa2\xb2\x08\x14\xff\x52\xbe\x14\x69\x07\x71\x67\xa6\xe2\x85\x8d\x93\x1c\x0a\xe6\x69\x94\x65\xfd\x18\x14\x75\xb4\x79\x0c\xdc\x58\xac\x37\xf4\x45\x76\xf7\x8d\x0e\xe8\x35\x54\xc8\x1f\x0e\xef\x7a\xae\x21\xbd\x7b\x95\xac\x6d\xb4\x2d\x59\x91\xc4\x12\x26\xf4\x1b\x3b\x18\xce\x4b\x53\xd2\xa5\x8a\x09\xa6\xe7\xb8\xf0\x8c\x15\x24\xc8\x7b\xe2\x71\x15\x61\x13\x2c\x0e\x10\xea\x35\x3b\x42\xf0\x98\xa9\x15\x79\x13\xb3\x2c\x4d\x80\x19\x3a\x46\x12\x7a\x60\xcf\xd0\x55\x74\x7c\x58\x9a\x6d\x6c\x40\xf2\x71\x69\x81\x78\xbd\xf1\x46\x1f\xe4\x32\xfd\xaa\x3a\xb9\xeb\x36\xd5\xa1\x62\x82\x2e\x1f\xe9\xb1\x4f\xe8\x7e\x6f\xda\x3a\x55\x4b\x18\xa8\x6e\x50\x5c\xcf\x01\x6d\x4e\xa7\x3c\x89\xc7\x5c\xef\x76\x4c\xde\xbb\x9f\xf6\x35\xf0\xbd\xf5\x74\xb8\x9a\xec\x34\x33\xe2\xed\xaf\x11\x15\x8e\xcb\xf8\x5f\x91\x88\x68\xd5\x1a\x2f\x48\xb5\x02\x76\x85\x3b\x8e\x3b\x9e\xd5\xd5\xbe\x1c\x34\xd1\x4d\x62\x94\x3d\x63\xe9\xb9\x54\xfa\x27\xf9\x00\x76\x0b\xdc\xb9\x8e\xe2\x62\xc4\xe8\xba\xa9\x43\x8c\xaf\x19\x4f\x3f\x89\x95\xe4\x8b\x41\x33\x5a\x1f\x77\xbb\x8b\x0f\x19\xf2\xe7\xd8\x51\x65\xa1\xbc\xcb\x1f\xfa\x33\x03\xee\xd9\x30\xad\x0b\x8e\x8d\x59\xdc\x01\x17\xb0\x36\x98\xdd\x9a\x23\x40\xa8\xa3\x60\xb0\x59\x2e\x6c\xf0\x68\x27\x0a\x97\xdc\x9f\x5a\x71\x39\x88\x8d\xb8\x5e\x57\xd9\x4d\x2c\x81\x81\x63\xa4\x82\x48\x06\xd9\x7b\x91\xda\x66\x4a\x02\x36\x05\x53\x95\xe6\x92\x0a\xb7\x12\xe1\x2e\xbc\x52\xc9\x77\x9b\x90\x57\x0b\xb3\x27\x84\x56\xe9\x3d\xc5\xd1\x02\x25\x0b\x10\x17\x34\x0d\x3c\x35\x0f\x04\xf3\x1c\x86\x00\x2f\x1d\xef\x00\x07\xaf\xe9\x64\xe7\x62\x9d\xe8\x42\x84\x29\x82\xe1\xef\x9f\x4c\xd2\xb4\xf2\x82\xee\x1b\xfa\x4e\x49\xd3\x7d\xa6\xb0\xd9\xb5\x23\xda\xb3\xcb\x44\x3c\x73\xbf\xeb\x5f\x0c\xb5\x2c\x6e\x7f\x48\x54\x6e\x01\x5c\x03\xf8\x04\xd0\xc8\xf7\xa4\x9d\x06\x85\x9b\x24\x62\xe2\xe1\x1e\xd5\x66\xa6\x68\x5d\xf2\x9c\xcb\x42\x08\x3d\x97\x14\x7d\x44\xde\xb2\x90\x9a\xa3\x86\x86\x73\x06\x6e\xa4\x74\x81\x34\x40\xf0\x93\x15\x4f\xd2\x32\xef\x7c\x73\xe2\xaa\x7c\x14\xf7\x40\xdf\x28\x9d\x42\xb1\xac\x6d\xd2\x5c\x16\x6b\xb0\x8b\x1c\x75\x46\x3d\x76\x58\x4d\xf2\xec\xe8\x82\x3d\x72\x87\xcf\xb7\x73\x38\x76\x24\xb6\x7e\xa3\x17\x99\x1a\x71\xe2\xfd\xf8\x8d\xbe\x54\x1d\x29\xc1\xfa\x97\x86\x63\xac\x27\x86\xfe\x4b\x97\x2a\x07\xd7\x77\x10\x7e\xda\xf7\x1e\x1f\x44\xc9\xb8\x37\x48\xd5\x79\x76\xc1\xaa\xdd\x70\x19\xa7\xe6\x9d\xca\x8b\x3a\xf9\xb1\x03\xfb\x1a\xbb\xb8\xb0\x87\x63\x77\x66\x17\x24\x4a\x2c\xa2\x46\x96\xdd\xbe\x71\xaa\xa5\xe7\xf5\x02\xea\x6a\xb5\x54\x93\xe6\xda\x92\x35\xfc\xcd\x4e\x5a\xb8\x6e\xc3\x76\x2f\xc1\x55\xb2\xfe\x15\x3c\xb2\xde\x35\x4f\xca\x88\xb6\x22\xdd\x5f\x0e\xf9\x7d\xe0\x66\x84\x24\x1b\x73\x98\x85\x6c\xcc\x73\x49\x52\xd9\x18\x79\x85\x90\x1b\x72\x51\x69\xf6\x95\xcb\xbc\xfc\xea\xdf\x2c\x13\xd1\x8e\xad\x60\xac\x81\xee\x4b\x45\x51\x99\x43\x58\x94\x5c\x37\x4c\xe0\xdd\xa4\x47\x91\x6c\xc0\x8d\xec\xc0\x2c\x68\x3e\xb5\x59\x0f\xce\x57\x57\xe9\xd4\x0d\xb8\x68\x50\xf4\xdb\xdd\x85\xa4\xe5\x94\xeb\x82\xe9\x42\x64\xad\xa7\x52\xc5\xe8\xaa\xea\xda\x1f\x60\x76\x79\x55\xfd\x81\xb6\xee\x88\x33\xfa\x24\x78\x4e\xff\xe1\xfa\xfd\x05\xcb\xf8\x0e\x70\x61\x85\x62\xf8\x55\x20\x63\xac\xef\xdf\x7d\x33\x50\xed\x7c\x75\xb3\xe1\x98\x5a\x80\x69\xbb\xef\x96\x6a\x6c\xda\x50\xb0\x66\x68\x49\x9a\xad\x9c\xab\xf4\x28\x4b\xb9\x0c\xa0\xbf\x7a\xca\x6a\xd5\x87\xb1\x5e\x17\xf5\x21\x34\x0d\x34\x00\xdc\x29\xb4\x16\xf2\xb2\x15\x1c\x5a\x95\xea\x3f\x28\xbc\xdb\x79\x46\xf4\x82\xde\xde\xa1\x42\x06\xf2\xc5\x23\xb3\x80\x0d\x59\x3b\xd4\x03\xd7\x00\x48\x1c\x31\x51\x3f\x24\x12\x75\xbc\x92\xad\x31\x32\x09\x7c\x00\xc5\x43\xc4\xcd\xca\x46\xab\x07\xcd\x62\xe4\x5e\x28\x13\xbd\x01\xff\x24\x06\x04\x00\x1c\x44\xe7\x0b\x22\x17\x72\x2e\xb5\x99\x50\xf0\x69\x8a\x7b\x41\x8e\x8d\x4a\x30\x6e\xf6\xe6\xdc\xc5\xf7\x71\x92\x88\xe3\xbe\x63\xe8\x03\xc3\xec\x90\x07\x4c\xab\xd0\xfd\x7e\x7d\x88\x77\x3c\xeb\xcb\x1a\x3b\xb8\xc4\x7d\xb3\xe4\x98\x67\xea\x56\x27\x48\xfe\x82\xd8\x57\x25\x75\x2c\x1c\xbd\x5b\x79\xe0\xf1\xd3\x4a\xfe\xbc\x5f\x9b\x62\xf0\x23\x6c\x58\x26\xe0\x88\xb3\x27\x20\x81\x73\xd8\x1a\x67\x2f\x9b\x5d\x0e\x52\x4a\xc0\x5e\x85\x9e\xb4\x29\xbb\x16\x82\x7d\x80\x91\x32\x95\x7d\x20\xa9\x3e\x80\x0b\x16\x3c\x69\x55\x52\x82\x6f\xcf\xe4\x4a\x1d\x76\x18\xe4\xeb\x06\x1c\xed\xa0\x51\x69\x6f\xe7\xa1\x80\x37\x48\x65\x94\xcf\x9b\x7f\xdf\xda\xaf\x3d\xf0\xb6\x4b\xff\x26\xa7\xac\x3c\xdb\x52\x73\x3f\xc3\x14\x3f\x86\xe1\xa9\xb6\x48\x4c\x2f\x27\xc8\x5a\x7c\x27\xd5\x83\x44\x5b\x80\x6a\x62\x2f\xcd\xfe\x83\x0b\x0c\x1d\xa8\x68\x16\x94\x78\x1a\xbe\x02\x1a\xe5\x13\xf7\x6f\x76\x8d\xb1\x22\x6c\x33\x68\xec\x68\x30\x7e\x48\x1d\x07\x4e\xf3\x97\x27\x13\xf6\xdd\x84\x9d\x4e\xd8\x74\x3a\x7d\x35\x41\x01\x70\x6a\x11\xfe\x04\x91\x63\x05\x5f\x9b\xb2\x49\x1f\x63\x15\x54\x00\x3a\x5a\xe6\xb2\xb2\x6c\x61\xdc\x7f\x2b\xf0\x3c\xd8\x2e\x60\x0e\x23\x25\x5c\x50\x5c\x3d\xda\xa8\xc4\x37\x0a\x20\x9a\x22\x52\xb9\x05\x79\xea\x42\xe5\x16\xb0\x76\xcf\x73\x9e\x48\x48\xed\xe6\x4d\xb8\x2e\xd5\x1c\x90\x3b\x8b\x8f\x7c\x0b\xfd\x4f\xa4\xe3\xb7\x34\xc3\x74\xe3\xda\x5f\xec\x32\x72\x48\x3f\xe4\x49\x51\x98\xdb\x59\xcf\xe5\x35\x7b\xfd\x2d\x3b\xc9\xb2\x54\xb0\x13\xf6\x77\xf6\x1d\x97\x5c\x72\xf6\x1d\xfb\x3b\x3b\xe5\xb2\xe0\xa9\x2a\x33\xc1\x4e\xd9\xdf\xcd\xb0\x99\xf2\x2e\x94\xb9\x0e\x77\x13\xc6\x99\x2c\x53\xbc\xf5\x5f\x5a\x30\xd8\x2b\xd7\x2f\xee\x67\x67\x29\x8a\x07\x21\x24\xd3\x6a\x4b\x57\xe1\x9f\x5c\x4c\x42\x27\x72\x9d\x8a\x82\xd6\x43\x15\xb6\x87\x15\x1c\x41\x4f\x5f\xcf\xa5\xf3\xe5\xfd\xc9\xb4\xf8\x4f\xec\xef\xec\xa2\x4c\x53\xd3\x24\x73\xd0\x98\x85\xf4\x9a\xd9\x34\x0a\x21\xa7\x0f\xc9\x5d\x92\x89\x38\xe1\x90\x48\x61\xfe\x75\x7c\x03\xb3\xbd\x28\x3d\x67\x5e\xb8\xa7\x9d\x6e\xd1\x21\x47\xcf\xb3\x24\x65\x3b\x55\x2d\x3b\xf9\x3d\x2f\xbf\xea\x4f\xc7\x5b\x44\x9e\x29\x94\xf6\x03\x19\xac\xa8\x39\x15\xaa\x77\xb5\xd7\xef\xe4\x71\x32\xf3\x5f\xad\x79\xf2\x83\x64\x72\xfa\xc6\xc3\xb7\x11\x4c\x59\x9c\x1c\x9f\xc5\x04\x56\x2d\x24\xdd\xe0\xbe\xdb\x01\x37\xbe\x2d\x1b\xdf\x20\x18\x07\x32\xef\x2a\xc9\xb7\x62\x62\xf6\xd8\x84\x65\x4e\x70\xc5\x6e\x2a\x17\x01\xc2\x7d\x8c\xe4\xe2\x84\x86\x7b\x69\x23\xed\x66\x2d\x53\xa2\xce\x71\xac\xb6\x3c\x91\xaf\xa0\x0e\xcb\x31\xb5\x67\xa0\x5a\x6c\xd7\xfd\x23\x74\xc3\x7b\x61\x3f\xdd\x1c\xd8\x55\x63\xa7\xa6\x75\xd4\xb6\x1d\x0e\x14\xfb\xf1\x52\x80\x4f\xfe\x86\x1f\x20\x41\x36\xf4\xca\x6b\x48\xfd\x54\x68\x06\xc0\x96\xf7\x54\x4b\x83\xa2\x72\x4e\xe2\xe7\xa7\xaa\x16\x62\x65\x88\x55\x32\x48\x34\xb2\xd6\xd8\x5b\xf2\x1d\x61\x82\xa0\x39\x26\x93\xf4\xd8\x1c\x95\xc7\x17\x4a\x0a\xc6\xb5\x4e\xd6\x48\x0f\x05\x30\x2e\x54\x5b\xb4\x46\xd9\x4d\xf5\xc9\x10\x1c\x41\x60\x9f\x99\x26\x21\xb4\xb0\x30\xa7\xb0\x99\x82\x74\x37\x97\xe6\x17\x64\x11\x40\x9a\x41\xe2\x58\x84\xb1\x36\x22\xe9\xb5\x75\xd1\x85\x18\x14\xde\xb2\xc0\xfa\x72\x98\x0f\x58\x70\xb4\x13\x0f\x88\x4a\x5c\x04\x0c\x7a\x54\x9a\xa5\x57\xc1\xb8\xf3\x52\xa4\x4a\xae\xcd\xaa\xe8\x3a\x84\xe1\x14\x78\xa2\x26\x60\x61\x9d\x2d\x30\xc6\x0a\x7d\x85\xa6\xc4\xd8\x29\x49\xec\xfd\x2b\xba\x5c\x1a\x3b\xce\x79\xc4\x9d\x35\x42\x9d\xeb\x4a\xe8\x3e\x2c\xbe\x7f\x6b\xce\x60\x95\x5b\x84\x89\x8b\xb6\xa0\xe1\xe2\xc9\x4e\xb0\x47\xc3\x36\x55\x2f\x30\xb9\xdd\x15\x45\xd1\x9c\x46\x6a\xfb\x80\xf5\xf8\x39\x31\xca\x43\x90\xcb\x6f\x4f\x66\xe7\xb5\xef\x35\x91\xcb\x2d\xf0\xe6\x9b\xd9\xbb\xb3\x37\x8b\xf7\xb7\x37\x8d\xef\x99\xd2\xe8\x4f\x7b\xc0\xcb\x9d\xa3\xf7\x14\xf0\xcd\x5f\x50\x6e\x67\xa1\x56\x36\x93\x75\xf8\x05\xd9\x10\x3c\x1a\x86\x12\x0a\x49\xce\x43\x61\xa0\xe6\xc2\xe9\xcc\xc7\x97\x0b\x8a\x08\x0d\x6b\x6c\x7d\xc0\xde\xcb\xb7\xf8\xf3\x4b\x95\x26\x51\x3f\xe8\xd0\x5e\x57\xc6\xae\x69\xa2\xb8\x96\x02\x50\xb8\xe4\x7f\xa3\x46\xe1\x0b\xa9\x10\x51\xe1\x23\x9e\xcd\xce\xfd\xaf\x06\x3a\xed\xf7\x81\xa0\x47\xdf\x0d\x1b\xe8\xe8\xba\x18\x2a\xdc\xad\x40\x70\x0a\xbc\xfe\x68\x67\x42\x2e\x23\x60\x0b\x22\x4e\x21\x80\xca\xc8\xc3\x01\xfd\xb0\x51\xa9\x79\x0b\xcb\x98\xc8\x62\xe7\x32\x13\x79\xa4\x00\x20\x84\x3c\x04\x8a\x45\x9b\x24\x8d\xbd\x78\xce\x4b\x40\x54\x03\xee\xf1\x15\xe9\x40\x0a\x17\xe3\xb7\xc5\xf7\xdc\xba\x76\xd9\xbd\xc1\xdd\x7d\x10\x6a\xe4\x29\x21\x92\x7d\xcb\xfe\x67\x82\xf2\xe1\x50\x10\xbd\x53\x2d\x5a\x0b\x86\x77\xd8\x9e\x51\x1e\x76\x73\xdd\x92\x2e\x4a\xe4\x1f\xae\x45\x6d\x5e\x69\x99\xd5\x87\x12\x48\x7f\x11\xc5\x86\x00\x1e\x2d\xa0\x39\x5b\xc1\xd1\x16\xf3\x14\x9c\x34\xa9\x73\xe9\xe3\xd3\x2f\x74\x68\x97\xb5\xce\x33\x72\xda\x5a\x10\xe6\x84\xbd\xa8\x74\xf4\x05\x90\xc2\x4a\x05\xf5\x51\x0c\xb1\x32\x34\xb0\x5c\x27\x2c\x29\xe6\xd2\xbc\x9a\xcc\xca\xcc\x45\x2a\xee\x4d\xeb\x42\x67\x3d\x61\x8d\xac\xef\xc2\x76\x1b\x70\xfc\xdc\xa6\x7f\xd3\xb2\xa1\x4d\x98\x87\xe4\xa2\x1c\x02\x03\xb1\xd0\xc6\x6e\x04\x59\x14\xf1\xd1\x6c\x80\x04\x62\x51\x08\xbf\x89\x85\xb4\xed\x03\x54\x0e\x4a\x52\xcf\xe5\x6c\x05\x39\xb8\x90\xf9\x1b\xc7\xe8\x05\xb0\x42\x19\x8e\xe9\x2d\x21\xe7\xbc\x22\x9f\x88\x9d\x08\x92\x31\xc5\x9d\x24\xee\x45\xbe\x2b\xc0\xa9\x0e\xe3\x2a\x05\x2f\x36\x2c\x29\x26\x40\xd1\x67\x4f\xca\xb9\xe4\x71\x4c\xa9\x8b\x58\x5c\xf0\xa0\xec\x9c\x67\xfa\x7c\xa9\xee\xfb\x0c\xdb\x43\x51\x77\xb8\xab\xb3\x94\xcb\x05\xde\x20\x9f\x01\x77\x17\x28\xcc\x76\x85\x9a\xcb\xe5\xc2\xd1\x0a\x3d\x49\x3b\x03\x69\xf7\x50\x4d\xdb\xd8\xb1\xb6\xa2\x49\x45\xfa\x77\xe9\x33\xd0\x9d\x9f\x8c\xd0\x1d\x39\xb3\x11\xf0\xe1\xa7\x80\x87\xe4\xf1\x1a\x12\xc4\xae\xd6\x7d\x98\x3c\xbb\x02\x7e\xad\xf8\xb0\x21\x33\x5f\xbb\x43\xea\xd3\x3e\x1e\x9a\xd4\xb0\x10\x1f\x05\x4f\xda\xd3\xac\xe7\x85\x28\x75\xfa\x51\x9a\x50\x25\xdb\xdb\x20\xdc\x8a\xc9\x2b\x02\xfd\xa0\xce\x85\xd5\xae\x20\x1c\xbe\xc3\x54\x0b\xb6\xf5\x29\x63\x04\x70\x4e\x0d\xf5\x94\xf8\xdc\x77\x68\xd7\x94\xcd\x24\xb3\xe6\xde\x84\xbd\xc0\x85\xa5\x5f\x90\x0b\x98\x64\xa8\x09\xbb\x10\xd3\xee\xa1\x6c\xe1\x3a\x14\x06\x73\x36\xfc\x76\xc3\x48\x5c\x2f\xb5\xe4\xb3\x8e\xcb\x77\x09\xe4\x8c\x3c\x86\x16\x00\xa3\xb8\x4b\x2c\x80\x2e\xc9\xd0\x19\x49\xdd\x85\x68\x82\xef\xb0\x8d\x37\xb2\xef\xec\x0f\xcd\x10\x65\x25\xdd\xa7\xf6\x73\xa6\xf2\xb9\xb4\xa5\x91\x4b\x58\xa3\x96\x55\xbd\xa8\x00\xc2\x4e\x36\x7f\xb0\x52\x01\x44\x62\xe5\xcb\x40\x15\xcf\xf3\xdf\xd6\x4f\x01\x00\xa5\x2c\x1d\x4e\x0e\x08\xd3\x7d\x6d\xc6\xf0\x30\x0b\x7c\x8b\xd7\x7c\x9d\x23\x33\x4d\xcd\xa0\x24\x85\xa5\xe4\x0c\xd2\x4b\x74\x09\xc4\xb2\xab\xd2\x1c\x46\x01\xfb\xee\x5c\x9a\xc1\x63\xab\x04\x70\xd7\x34\x2e\x73\xf9\x4e\x69\xcb\x66\xa0\xfd\x78\x58\x0c\x2f\x0d\xdb\x0b\xa7\xe2\x46\x7f\x78\x03\x97\x36\xc5\x5c\x90\x97\xc8\x5d\x2d\x90\x57\x44\x94\x24\x3b\x55\xe6\xbe\x53\x11\x97\x73\xf9\xdf\x66\x78\x50\x3a\x5d\xda\x69\x55\x2b\xdc\xc2\x30\x83\x10\xac\xfa\x80\x85\xbe\xfc\xb7\x57\x1f\x5e\x61\x1e\x40\xa9\x41\x38\x73\x52\xbd\x40\x1c\x11\x7b\x99\xa6\x80\x04\xb0\x3d\x70\x64\x20\xbe\x0a\xde\x07\x8b\xa2\x47\xdd\x42\x56\x4d\x8c\x21\x1b\x7d\x98\x63\xfd\x84\x45\xbc\x88\x36\x47\xd6\x96\xa3\x63\xcc\xde\x7e\x34\x7d\xa8\xa0\x67\x2c\xad\x76\x2e\x72\xf3\xe0\xcc\xb7\x8e\x1d\xb1\xb2\x5e\x4c\x17\xc0\x01\x7f\x53\x17\xe6\x71\xe4\xad\xb8\x38\x11\x96\x51\xb5\xf3\xdc\xd7\xad\x2c\x9e\x7f\x71\x52\x94\x42\xf2\xad\x88\xd9\x0b\xc8\x58\x7b\x61\x27\x7f\x2e\xb3\xe5\x34\xdd\xad\x0a\xa2\xd8\x32\x83\x32\x05\x01\xa9\x3d\xb7\xdc\x22\x6e\x3e\x93\xf6\x0c\x76\xe7\x43\xab\xdd\xd6\x71\x63\xe3\x6a\x1a\x6e\xb0\xa0\x8f\xcb\x8d\xce\x75\x15\xa2\x55\x65\xb2\xe7\xfa\x6e\xc2\x96\x39\x97\xa0\xfd\x11\x87\x46\x95\xdf\x9d\xf0\x78\x46\xfe\x2a\x9b\xc2\x22\x79\xba\x03\xec\xfe\x64\x2e\x91\xec\x0b\x58\xa1\x77\x51\x9a\x44\x6c\x9d\xf3\x6c\x53\xb3\x83\xc4\xbd\x90\x05\x48\xc8\x5e\x09\xae\x0f\x43\x4b\xe4\xf5\x12\xd8\xe0\x78\xd6\x89\x84\xd7\x07\x97\x35\x7a\x56\x68\x5e\xc7\xd5\x02\x70\x39\x11\x2f\xc6\x51\xb3\xec\x25\x10\xad\xd0\xd2\x11\x47\x12\x44\x80\x4d\xe7\x98\xad\x75\x1f\xfc\x00\xc7\x95\x58\x43\x6c\xf2\xc5\xa1\x90\x09\xc7\x42\x72\x10\x97\xe4\xac\x6a\x45\x72\x4f\xaf\xe2\x3d\xd7\x14\x78\x43\x4f\x85\x05\x6b\xbb\x83\x63\x42\x12\x7f\xc0\x33\xc7\xfe\x58\x2e\x55\x6a\x89\xfa\x66\x6f\x98\xca\x41\x23\xa3\x50\xf4\xa7\x24\xee\xb2\x0e\x12\x19\x8b\x8f\x07\xb1\x65\xf4\x5f\xf4\xd6\x6c\x36\xd5\x04\x52\x0c\xf5\xce\xc2\xe9\x94\x0b\x73\x09\x17\xf6\x65\xdc\xf8\x96\xae\x23\x47\x4f\xd2\x62\x03\x70\x4e\x4c\x24\xf0\x83\xba\xe5\x3b\x16\x6d\xb8\x5c\x07\xae\x09\x40\xd7\x89\x4c\xe5\xa8\x25\x79\x0f\xb4\x74\x2a\xb7\xd9\xc8\x94\x63\x4b\xd9\x0c\x2e\x90\x80\x20\x62\x65\x13\x69\xf9\x7a\x9d\x8b\x35\x10\x44\xcc\x65\x85\x25\x00\x28\xf9\xac\x8c\x05\xd6\xd3\x97\x64\xfd\x34\x4c\x25\x5d\xaf\xc1\x22\xdf\xb9\x14\x55\x12\x62\xf5\xfb\xb9\x3e\xac\x13\x96\x88\xe9\x84\x7d\xed\x81\xd3\x22\x52\xd2\xe5\xb8\x76\x24\x38\xd6\x5c\xfe\x6c\xcf\xd3\xa1\x49\x69\xd2\xde\x76\xf8\xac\x21\xe7\xda\xba\x68\x7a\x93\x84\x0b\x5e\x94\x23\xee\x20\x92\xec\x3e\x35\x3f\xbe\xc6\xdf\xf6\xe6\x16\xf0\xcc\x5c\x1b\x96\x4e\xca\x7c\xdf\xdc\x9c\xa6\x6e\x4f\x37\xdd\x36\xd6\x7b\x1d\xc8\xa9\xea\x76\x20\x3f\x85\xa9\x6e\x39\x43\xf6\xfb\x90\xd3\x0e\x1e\x8c\x9e\x3e\x8d\x75\x11\x5b\x90\x35\xa5\x4f\xe8\xfa\x33\xb6\xe5\x04\xc8\x72\x15\x97\x91\x88\xcd\xce\x85\xf7\x10\x22\x92\x1c\x1d\x47\xe5\x90\x6c\xbb\x68\x2b\x9c\x42\x70\xeb\x7e\x2a\x9f\xc3\x20\x1a\x67\x37\xfc\xb7\x1d\xfe\x06\x6b\xf1\xb5\x0d\x7a\xb8\x3f\x71\x9c\xf2\x91\xf7\x94\xab\xbe\x4a\xbe\xac\xf2\x64\x9d\x48\x5e\xa8\x9c\xbd\x74\x49\xb7\xaf\x9c\x62\x53\xb7\x85\x30\xf2\x98\xa8\x0c\x11\x1e\x13\x9f\xd4\xf0\x68\x5b\xa4\xe6\x5b\xba\xe0\xdb\x2c\xa4\x33\x75\x7a\xd8\x34\x32\x29\x0e\x82\xb3\x4d\xc0\x77\x9a\x68\x9f\x5b\x38\x97\x14\x71\xc0\x79\x53\x79\xc8\xc7\xdd\x79\x37\x67\x65\xb1\x78\x24\x45\x0f\xfe\x78\x9c\xe3\x89\x60\x08\xef\x78\xd6\x4f\x7a\xc2\xc9\xe5\x80\xc9\x55\x4e\x24\xdc\x5a\x2a\xd5\xf5\xd9\xaf\x78\x31\x92\x84\xb5\x1e\x3a\xbf\x3a\xb7\x81\x22\xff\x1e\xac\x3c\xb0\x60\x22\x90\xfd\x51\x83\x55\x81\x4f\x7b\x77\xac\x99\x5b\xdc\x32\xa5\x9c\xa6\xaa\x8c\x19\x1d\x6a\x14\x86\xcf\xa7\x78\x3b\x02\x1d\xeb\x74\xda\xc5\x4d\x37\x52\x89\xd7\x9d\x3f\xf0\xbb\xf6\x1d\x08\x9f\x75\x9c\xc0\xbd\x5b\x9f\x46\xf6\xd9\xa6\x9e\x46\x1a\xe6\xde\x1d\xc7\xa3\xe6\xde\x79\xc1\x81\x1b\x6e\x9c\x83\x14\xde\xa3\x49\x9c\xc2\x7e\x0b\x03\x08\x2d\xec\xb5\x95\xc0\xac\xbe\x3b\xb8\x3a\x9b\x41\xde\x5f\x55\xc6\x73\x21\x8b\x05\xd4\x38\xae\x32\xa8\xe4\x12\x7e\x5e\x31\x98\x06\x39\x82\xff\x7c\xa3\xd0\xbf\x6f\x89\x60\xfe\xc2\xae\xc9\xa7\x65\xce\xab\x04\x40\xbc\xfa\x8e\xbd\x4c\x00\x73\x14\xc4\x42\xdd\xc4\x75\x4c\x17\x75\xe8\x11\xa3\x17\x74\xa8\x72\xb4\x0f\xea\x90\x6f\x3d\x84\xaa\xa1\x14\x72\xef\x51\xe6\xb2\x39\x6a\xed\xdf\x02\x72\xf8\x8b\xca\xbf\x81\xc8\xd3\xcc\x5f\xca\xfe\x2a\x72\xe5\xd3\x71\xd0\x59\x15\x16\xdc\x6b\xaf\x3f\x5e\xd7\x16\xed\x71\x54\x54\x0d\x25\x05\xe1\x2f\xc4\xb5\x83\x1e\x85\xe5\xce\x3e\x47\x3a\x42\x48\x99\x88\x16\x1d\xfa\x11\x83\x9a\x12\x3c\x3c\x43\x3d\x88\xa4\x76\x99\xd9\x0d\x7a\x0c\xfe\x0a\x62\xb3\xdc\xf2\x8c\xf0\x7d\x04\xe5\xae\x07\x6f\xa6\xd0\x89\x3f\xff\xe9\x2f\xd3\x2e\xc5\x72\x68\xfa\x58\xb8\x94\x6b\xfc\xdb\x3c\x11\x32\x86\x60\x2c\x8f\x9b\xd2\x46\xb2\xe2\x9d\xaf\x1c\xcf\x66\x19\x3e\x49\xd6\x6a\xfb\x55\xab\x17\xb8\x88\x3e\x41\x44\xdf\x1f\xb2\x6e\xfb\x56\xe2\x7d\x5d\xa6\x84\x5e\xc4\x3b\xc9\xb7\x4d\x8d\xf7\x67\x6d\xe3\x2e\x11\x69\x0c\x4d\xa4\xda\xf7\x45\xa5\x62\x11\xdd\x8d\xb5\x09\x1e\x4d\xcc\x2e\xa2\x3b\xf6\xc3\xcd\xbb\x73\xd4\xe1\x4c\xf4\x5c\x5e\xf0\x22\xb9\x17\xb7\x79\xea\xc2\x01\x04\x93\xce\x53\xbb\x47\xaa\x44\xc1\x01\x29\x8d\x65\x15\xb6\x86\x43\xc8\xe3\xbe\xdd\x1d\x2d\xcb\xe8\x4e\x14\xc7\x39\x97\xb1\xda\x62\x37\x8e\x75\xb9\x5a\x25\x1f\xa7\x05\xcf\x3b\x48\xdd\xd1\x8f\xf0\x19\xed\x5c\x2f\xd5\x53\x78\x9b\x17\x4d\xdd\x07\xc8\xba\x25\x01\xe8\x8a\x71\x0b\x4f\xe0\x9c\x6f\x05\xb0\xf2\xb1\xaa\x20\x02\x94\x82\x89\xac\xa0\x1b\xa8\x35\x65\x30\x28\x52\x25\xfe\x10\x18\xf7\x1f\x82\x56\x55\x95\xb1\x6d\xa3\xbc\x16\xdf\x96\xdf\xe1\xfb\x70\x9d\x0b\xad\x27\x4c\x2b\x68\xf1\x5c\xda\x5c\x00\x9b\xaf\x06\xb8\x17\xe0\xf5\x4c\x77\x2c\x52\x99\x03\xad\x63\xbf\x36\xea\x01\xfc\xf4\x61\xda\x26\xa8\xcd\x96\xb2\x48\x52\xc6\x57\x05\x39\xf1\x81\xc4\xdc\x8a\x16\xe9\xe9\x5c\x42\x28\x36\x82\xee\x03\x44\xc2\x85\x5f\x5c\x27\x34\x5b\xf1\x28\x49\x93\x82\xa8\x95\x20\xc9\x8b\x9b\xfe\x9a\xfb\xc0\x8c\x65\xce\x77\x3c\xf5\x0f\x2b\x9e\x96\x3e\x53\xf5\x48\x8b\x1e\xea\xbe\x44\x2f\xd0\x41\xf0\x29\xb8\xc2\x92\x30\xf8\x80\x34\xc7\x27\xa6\xf2\x8b\xda\x2d\xfa\xbb\xf0\x7f\x2b\xef\xf0\x3e\xab\xe0\x80\x07\xf9\x21\x97\x63\xf3\xc9\xed\x94\x7e\xbd\x9d\x91\xc4\x16\x1f\x5c\x31\xc5\x3d\xe3\xb3\xbb\x1e\x21\x66\xd2\xf1\xe8\x9f\x5a\x7d\xa6\x66\x0d\x23\x46\xaf\xdd\x48\xfc\x44\xee\x8c\x2e\xee\xe9\x21\xcd\xb7\xde\xf8\x4b\xa5\xd2\x43\x3d\xf2\x3c\xb5\x07\xfe\x02\x24\x4b\x0f\x79\x4e\xe2\x02\x70\x8e\xad\xd9\x1b\x17\x73\x77\x64\xce\x55\xa1\x23\x82\x83\x51\x13\xe0\x20\x83\x46\xf4\x20\xc5\x75\xd6\x02\xba\x18\x89\x78\x87\x32\x10\xad\x65\x4d\xfb\x66\x88\x20\xe0\x90\xe0\xbe\x8d\x40\x78\x59\x6b\xe1\x28\x67\x1d\x0a\x8c\xd6\xaa\x72\x8e\xbb\x90\x18\xd7\x8d\x63\x50\xb7\x1d\x4f\x94\x35\x37\xf7\x27\x59\xf1\x73\x19\x58\xec\xc8\x66\x65\x53\x0a\xdc\xa8\xb5\xf9\xf3\x2a\xcb\xf0\x60\x7f\xde\x21\xec\xe7\xbd\x27\xe7\x9b\x50\xc7\x0c\xb0\x20\x91\xda\x2e\x13\x69\x29\x02\xc8\xc9\x0d\x4f\x8d\x13\x4b\x2e\xe9\x02\x12\xf6\xc9\x80\xea\x16\xb5\xb1\x77\x66\x4e\xc8\xd3\x19\x1e\x59\xfb\x9e\xe3\xe1\xfb\xee\x69\x89\xda\x3b\x22\x8d\xf5\x1e\x98\x0b\x24\x7d\xe0\x3b\x0d\x5a\xbf\xc2\x9c\x8a\x2b\x74\xec\x56\xdb\x3f\x09\xcc\x0f\x4b\x5c\x4a\xc2\xf9\x25\x49\x80\x53\x5f\x12\xe4\x4d\x11\xa9\x55\x35\xf6\x7c\x54\x2f\x74\xfb\xe0\x7c\x9e\x58\x4d\xde\x1b\xab\xc1\x20\xf4\xff\x8c\xf0\x4c\x8f\x13\xf8\x40\x5f\x74\x70\x4d\xa2\xc5\x48\x30\x21\x48\xdc\x72\x21\xea\x09\xdb\xf2\x44\xd2\x36\x40\xe5\xb8\x58\x2c\xcb\xf5\xba\xd3\x45\xfa\xeb\x8f\xb5\x54\xf7\xc9\x3f\xbd\x2f\xbc\x97\x51\xed\x29\xbc\xc5\x33\x5b\x13\xba\xaf\xcd\xbb\xef\xd3\x38\x88\x3f\xa3\x37\xbe\x35\x24\xd6\x58\x44\x4f\xe3\x8d\x9f\x0d\xf1\xc6\x5b\x6c\x17\xa4\xd8\xd1\x73\xda\xe2\x6f\x7e\x73\xd3\x7f\x1a\x37\xfd\xa0\x45\x81\xb4\x3a\x8b\xa4\x6a\xa0\xf7\xb4\xf0\x91\xec\x7c\x8e\xc6\x15\x5a\x45\x2a\xfc\x5a\xc8\x58\xb3\x25\x8f\x9e\x81\xae\x0f\x6e\xc7\xc3\xfd\x81\x7b\xc0\x2f\xd7\x6a\x2b\x18\x54\xa5\x51\x73\x84\x51\x16\xe3\x04\xd0\xaa\xa6\x83\x1e\x31\x42\x78\x14\xb8\x4e\x11\xb9\x12\x7b\xa3\xfa\xa5\x14\x0f\xcc\xdc\x56\x93\x10\xbe\x17\x4c\x0f\x88\x51\xbd\x32\xd6\x61\x05\xeb\xef\x28\x33\x72\xb1\xe6\x79\x0c\x19\x26\xb4\x25\x53\x1e\xdd\x99\xff\x86\xf6\x51\x8d\x04\x31\xb4\xd9\xfa\x08\x7b\xf5\xa5\x25\x32\xca\x81\x0c\x8d\xd0\x8c\xbe\x7d\xf8\x73\xcd\x78\x94\x2b\x8d\x4e\x23\xa7\xe1\x0a\x19\xce\x60\xc0\xde\x27\x71\xc9\x53\xac\xb1\xd3\xd3\x3e\x16\xbe\x56\x07\x1c\x05\x72\x4b\x4d\x34\x1b\x4d\x07\x72\x44\xc1\x30\x4e\xe7\xf2\x8d\x0b\x98\xbc\x66\xb7\x5a\x10\xca\x4c\x5b\xc2\xea\xde\x96\x3e\x9b\xf9\xd0\xc0\x04\x76\xda\x10\x3d\x03\x60\x41\xd6\xc1\x40\xe8\xee\x91\xd8\x43\xfa\x78\xc8\xa4\x8c\x26\xaf\x9d\x05\x9a\xcf\x7e\x58\xf0\x9d\x90\x0b\x1e\xef\x42\x6a\xbc\x44\x32\x88\xd2\x31\x1e\x6f\x13\x69\x36\x81\xd5\x15\x74\x37\x8d\xa5\x18\x47\xc8\x31\xc8\xef\xa4\x69\xed\x10\xd4\x4c\x0a\x63\x5c\xf2\x3c\x49\x77\xf0\x9e\xc8\x72\x71\x14\xd4\x13\xcc\x0f\x65\x3c\x01\x59\x3a\xd1\xb8\x94\x5a\xac\xca\x14\x5f\x1d\xf0\x2e\x77\x1d\xa0\x13\xe9\x76\x36\x31\x06\x47\x41\xa2\x17\x41\xc5\x28\x25\xf7\x14\xd9\x23\x8d\x68\xe5\xb8\x88\x9b\xa7\x6e\xcc\x01\xe4\xbe\x51\x0f\x36\xd5\xed\x81\x7b\x2c\x73\xd7\xed\xfa\x64\x51\x96\x7e\x3b\xd4\xbe\x00\xed\x39\x85\x83\x1f\x57\x42\x6b\xf4\x99\x88\xdd\xd9\x94\x48\xe8\x0e\xa9\xb1\x7a\xcf\x75\xa9\x31\x63\xce\xcc\x25\xdc\x5f\xd6\xd1\x51\x75\x5c\x33\xd7\xbb\x44\x2b\xc9\xe6\xe5\x97\x5f\xfe\x5e\xb0\x2f\x21\x85\x90\xde\x23\x18\x1f\x03\xf2\x46\x2c\x1d\x8e\x6c\x57\x81\x40\x66\xc7\xc6\x8c\xb0\x36\x88\xaa\xcd\xd7\x07\x90\x27\x8f\x36\x4c\x97\x4b\x44\x30\x72\x0a\xb1\x70\xe9\xb8\x91\xcf\x15\x80\x11\xf1\x66\xb7\xad\xff\x5f\x12\x50\x40\x7d\x82\xb9\xcc\x14\xd2\x77\x03\xf4\x73\x29\xd8\x96\xe7\x77\x20\x37\x89\xee\x79\xa0\x2b\x7f\x99\x88\x69\x35\xbc\xf0\xaa\xd2\x1e\x0a\xe8\x20\x2d\x2f\xcb\x4b\x29\xad\x7e\x0e\x33\x86\xa9\xf7\xf5\x4f\xe6\x72\x59\x86\x6f\xcf\x4a\xb0\xc0\x2f\x2d\x08\x18\xc0\x61\xab\x80\x2b\x84\x1a\xc5\xb5\x6f\xd7\x94\x0d\x88\x1a\xcc\xe5\x13\x87\x0d\xf6\x39\xfc\x2e\xc9\x06\xb3\xce\xbc\x20\x5f\x01\xba\x1b\x4a\xbc\xc2\x74\xe0\xb2\x07\x23\xe7\x12\x74\x5e\x27\xec\x87\xe4\x5e\x4c\xd8\x75\xc6\xf3\xbb\x09\x7b\x83\xe1\xbf\x3f\xa8\x65\x9b\x0f\xaf\x41\x28\x71\xb0\x1f\xef\x71\x6e\xac\x3e\xa2\x95\x76\xeb\xff\xe7\x06\x31\x00\xeb\x8a\x7d\xff\xcf\x44\xe4\x75\x70\x7d\xfc\xb3\x7b\x22\xf6\x84\xa9\x7f\x03\xaf\xfd\x53\xbe\x8a\xfb\x69\x3e\x7e\x17\xfe\xaf\x3d\xbf\xac\xc5\x05\xb6\x27\x9d\x72\xad\xa8\xb4\x5f\x57\x62\x73\x12\xd7\x2f\xe5\x66\x7e\xf3\xb0\xad\x40\xe9\xe3\xb1\x4b\x6d\x1f\x01\xba\xa7\x9f\xda\xf1\x3a\x4d\x95\x2e\xf3\xfe\xcd\x7f\x55\x6d\xb5\xad\xbd\x85\x6a\x15\x16\xdb\x76\x29\x80\xb5\x60\x28\xfc\x04\xbf\xb6\xf8\x6f\xb5\x5c\x00\xd6\xea\xb0\x1d\xde\x56\x9c\x15\x6f\x72\x11\x31\x6a\xaa\xbf\x21\xaf\x33\x01\x8c\x53\xde\x14\xf5\x01\x81\xda\x0a\x73\xae\x91\xb9\xb4\x04\xe8\x98\x31\x9b\xe7\x02\x98\x9a\x73\x01\x9a\x64\x8c\x38\x06\xd3\x5d\x60\x11\x05\x2f\x1f\x0f\x8a\x09\xb3\xdc\x20\x59\x95\xde\x5b\x4b\x21\xa4\x1b\xed\x31\xa6\x84\xb1\x0e\xea\xa3\x4f\x68\xb7\x07\xc1\x22\x4c\xa4\xe8\xd0\x4f\x6c\xfc\x2e\x78\x0b\x82\xc9\xbd\x16\x45\x70\x9a\xd7\x4c\x8b\xca\xd6\xac\x44\xa8\x7e\x55\x88\xff\xd6\x18\x74\x8d\x9c\xab\xe2\x40\x19\x14\xd3\x7b\x0a\x7f\xf9\x25\x2f\x36\xf8\xa0\xdd\xaa\x42\xe0\x99\x89\x2c\x41\xb8\x5e\xd0\xeb\xbc\x4c\xd5\x12\xc4\xc0\x8a\x1e\x0e\xc7\x88\xb6\xf6\xa0\xa1\x6b\x4e\xd8\x90\x93\xc1\x9c\x26\x90\x69\x9b\x0b\x0d\x84\x2b\xcd\x28\xd5\x50\x7c\xf2\xb8\x47\x77\xb3\xb9\xe6\xd0\x7f\xd3\x78\x6c\x37\x15\x12\xcc\xb6\x06\xb0\xea\xd9\x23\x32\x68\xce\xc2\x6c\x55\x63\x1c\x10\x59\x34\x85\x81\x91\x2f\xb6\xd6\x5f\xab\x39\x3d\x97\x27\xf8\x49\x70\x09\x70\xaf\x04\xe4\xf0\xa0\x24\x2f\xea\xf6\x1f\xa6\xaf\xb2\x93\x10\x81\x48\x1e\x82\x89\xf7\x65\xc2\x63\x60\x02\x59\x8d\xb2\x48\x72\xc1\x24\xa0\x10\xe6\x52\x97\xcb\x23\x4f\x4c\x62\x5e\x71\xf7\x40\xa6\xa3\x45\xc6\xe1\x29\x03\x7c\x45\x47\x2d\xd7\x30\x7a\x26\xbd\xa2\x87\x25\xf0\xe3\x29\x1d\xfe\x90\x2b\x89\x99\xf1\xae\xef\xae\x1c\xf3\x58\x83\x57\xb4\x85\x2b\xe1\x65\xd7\x77\x5e\x80\xe6\x10\x64\x60\x5e\x21\x8a\xe2\x73\x5f\xe0\x61\x34\x74\xe8\xd5\x0d\xf1\xb4\xb9\xfc\x57\x7b\x37\x74\x83\x8a\x47\xac\x74\x33\x32\xe6\x8a\xea\x04\x3b\x57\xda\x66\x9f\x90\x81\x11\xd8\xdd\xa8\xc6\x92\x6f\x2b\x95\x5b\x5c\x4b\xa8\xb0\xa1\x28\x5d\x16\x3e\xbd\x4f\x74\x40\xb7\x0e\xb5\x5d\x0b\xc1\x5e\xe7\x62\xf5\xfa\x43\x2e\x56\x0b\x3b\xd3\x53\xe8\xd0\xd4\xf4\xa8\x49\xba\x3e\x70\x71\xe8\x4c\xc9\x76\xf2\xc3\x3d\xe4\xa4\xb5\x2e\x61\x39\x41\x9f\x92\x15\xf3\x42\x8c\xa6\x3f\xc0\x00\x21\xe2\x3a\x1b\x7c\xa3\x65\x9f\xfc\x9a\xeb\x42\x82\x0d\x80\x5a\x75\x08\x18\xfe\xf3\x5f\x6f\x95\x31\x1b\x72\xbd\xdd\x54\x21\x33\xf6\xb0\xe7\xd2\x5d\x78\xdd\xb8\xd0\x4f\x8b\x4e\x87\x09\xd4\x19\x7f\x90\xc4\x63\x33\xca\xf5\x34\xec\x5a\xab\x01\x88\x82\x6b\xad\x81\x81\xf3\xbb\x4c\x5a\x4f\x5f\xe2\xd4\xfe\x26\x81\x50\x36\x4f\xd3\x50\xd3\xc2\x47\xda\xe6\xd2\xe7\xa5\x1a\xab\x35\x4d\xad\x0b\xaf\x62\x6f\x10\x6b\x51\x0c\x09\xc1\x62\x62\x49\x57\x88\xae\x90\xe2\x61\x47\x4b\x0e\x2a\xac\x4e\xe9\x69\xdf\x6e\x7e\xaa\x47\xe4\xaf\x2c\x2f\x7a\x4f\xe4\x19\xab\x5d\xdc\x89\x06\x9c\x79\x6f\x5b\xdb\x23\x1d\x01\xa5\x04\x6c\x66\x7b\xca\x46\x3c\xcf\x2d\xca\x9f\x6a\x65\x96\x70\x3c\x7c\x95\x74\xb4\x73\x23\xa2\xbb\x4c\x25\x72\xf4\x59\x54\xa1\xb8\x80\xc5\x5e\x30\x5f\x9a\x7b\x1d\x0e\xba\x1c\x2b\xf6\x24\x76\x44\x03\xbc\xc2\x42\x43\x3d\x19\x1b\x67\x4e\xe5\xb6\x7b\xd9\x3d\xb5\xff\x42\xf8\xbb\xe1\x19\x7c\xb1\x2d\xf1\xa1\xda\xad\xc2\x5b\x1c\x3b\x15\x26\x50\xde\xc8\xfe\x1a\x38\xd8\x9c\x55\x28\x0c\x5b\x87\x14\x5c\x90\xbf\x79\x86\x7e\xf3\x0c\xfd\x0f\xf7\x0c\x7d\x4a\xb7\x10\x60\x63\x9e\xd3\x27\xd4\x13\x20\x3f\x60\x3b\xba\x5a\x0f\x95\x7c\x47\xeb\x78\x12\x48\x13\x07\x99\x8e\x4d\xa0\xbf\x25\xc2\x28\x40\xd8\x3d\xba\x13\xb2\x33\x46\x6f\xe9\x8b\x3a\xf5\xab\x9f\x16\xc1\xd2\xc6\xbe\x14\xfc\xba\x1f\xca\xe2\xa1\x4e\x44\x1a\xdc\x46\x08\x62\xf6\x09\xd8\x9e\xa6\xe3\x47\x00\x1a\x53\xb9\x23\xb6\xd6\x94\x85\x87\xc1\x48\xa4\x49\x42\xb0\x54\x8d\x0a\x7a\x28\x26\xce\x56\xbc\xc8\x94\x4a\x5b\xa1\x71\x4f\x3a\x80\x8d\x44\x99\xa1\x83\x37\x43\x63\x54\x87\x80\x31\x3b\x8a\x3e\xe9\xc2\xa7\x68\x60\x3e\x06\x68\x61\xc0\x6a\x8a\x4b\xc8\xa5\xf4\xc3\x31\xf5\x19\x4e\xdc\x39\x5c\x08\x23\xb6\x14\x11\x07\x1d\x4e\x0b\xde\x8b\xb8\xcb\x3e\x09\x49\x91\x1a\xe9\x20\xba\x59\x4f\x47\xd4\x12\xca\x5d\x24\x6d\xc2\x17\x63\x37\x57\xcd\x42\xb0\xd0\x72\x6c\xb9\x45\x92\x58\xda\xc5\x7d\xb2\xab\x96\x63\x7a\x11\xa5\x5c\x0f\x34\xac\x5b\xcf\x9d\x19\x15\x74\x0a\xe5\x0c\x3f\x48\x7f\x80\x74\x9c\xed\x40\xe4\xce\x5c\x9e\x38\xd9\x51\x8f\xfd\x72\xc8\x3d\x0c\x97\x22\x66\xb1\x31\x35\xc8\xe5\xe8\x5f\x2e\x13\xa6\xcb\x68\x03\x6c\x95\xd5\x73\x2a\x3c\xb7\x9a\x3b\x76\x32\x97\xe6\x41\x04\xae\x96\x2d\x87\xbc\xf8\x07\x63\xac\xea\xe4\xaf\xc2\xc1\xb3\x88\xbc\x2b\x44\x64\xe1\xc3\x49\xc9\x56\xf4\x9a\x25\x0e\x45\x80\x85\xc7\x94\x94\x59\xcc\x0b\x31\x9d\x7b\xb4\x4d\x82\x9e\x4e\x8b\xf2\x20\x93\x59\x87\x1d\x0b\x71\x8c\xb5\x93\x36\x4d\x56\x22\xda\x45\x0d\x1d\xa0\x7e\x9a\x88\xdf\x9e\x6d\xbf\xae\x67\x1b\xb2\xec\x62\xce\xe0\x98\xa1\xa5\xa6\x5e\xf9\x9f\x1f\x36\xb8\x82\x05\x2d\xd1\x23\xc6\xf9\x13\x3e\x3b\x5b\x6c\xe0\x71\xf6\xfc\xe0\x77\x50\xff\x75\xe6\x1f\xb6\xfe\xb2\x0e\x28\x10\x1a\x66\x61\x18\x5c\x2c\xc2\xa5\x63\x0c\xda\xc1\x61\xfd\x6e\x96\x99\x5f\x15\x38\x69\xc8\xc3\xd5\x58\xdc\x0e\xae\x74\x61\x2d\x6d\x29\xf0\xbe\xeb\xb1\xb8\x03\x56\x77\x5e\xbc\xd0\x6e\xd4\xab\x27\xa0\xc5\xfe\x9f\xc8\xdd\x41\x09\x98\xbb\x4c\x2c\xca\xbc\xa1\x57\x3f\x0a\x6e\x7c\x7b\x75\x7e\xec\xac\x0d\xb0\x9c\x3b\x75\x8f\xe0\x8c\xdf\x65\x8e\x53\xc6\xaa\x02\x8b\x98\xe0\xa0\x91\x4a\xd9\xb2\x5c\xad\x40\xbf\x84\x80\xa1\xf6\x30\x02\xa1\xf0\x52\x17\xf6\x3e\x41\xa6\x19\xae\x8b\xb9\x54\x52\xb0\xf9\x17\xc7\xf3\x2f\xcc\x55\x96\xf3\xa8\x10\x39\x92\x0c\xa4\x5c\x17\x4c\x8b\x35\x98\x5a\x54\xe9\xed\xd5\x39\x64\x25\x16\x1b\x2c\xce\x3d\x59\x31\xdf\x13\x39\x9f\x41\xeb\x07\x08\xaa\x65\xa0\x79\x05\x6d\x7f\xc9\x35\x4b\xe4\x5c\x7e\x30\x45\x1c\xaf\x95\x5a\xa7\x62\x6a\x27\x64\xfa\x86\x5c\x8f\x1f\x5e\x61\x0b\xe0\xe7\x21\xac\xdf\x5c\x88\x5c\x2a\x99\x44\x3c\x85\x84\x9c\xb9\x04\xab\x79\x62\x3a\x03\xae\xd1\xf9\x17\xd3\xf9\x17\x0c\xc2\xa7\x05\xe3\x51\x24\xb2\x42\xc4\x28\x2e\x3a\x93\x2c\x03\xfc\x62\x24\x26\xac\x10\x7c\xab\x2d\xa5\x33\xcb\xcc\x1b\x13\x9e\x86\x2c\x91\x84\x74\x5a\x26\x92\xe7\x3b\x04\x33\xa1\x76\x34\x25\x7f\xec\xe6\x52\x7c\x04\xfa\xcf\x04\x18\x40\x4b\xed\x68\x69\xac\x68\xbe\x5a\xb1\x13\xb9\x9b\xb2\x1f\x90\xa1\x01\x29\x50\x6f\xaf\xce\x2d\xbd\x11\xe5\x80\xce\xa5\x8e\x36\x62\x2b\xd8\x87\x4d\x51\x64\x1f\x26\xf8\xbf\xfa\x03\x44\x1c\xa5\x62\xf8\xe9\x84\x99\x29\x32\x86\xaa\xc5\xcb\xa7\x3b\x50\x71\x2d\x33\xd2\xff\x9e\x4b\xe0\x62\xcf\x43\x74\xaf\x19\x6d\xa8\x31\x78\x82\x57\x70\xe1\xe6\x14\x07\x79\xc5\xd7\x66\x70\xfe\x85\xcd\x56\xbe\x4a\x33\x80\x56\xdd\xcb\xb5\x0a\x0c\x12\x0d\x29\x5b\x53\xf3\x83\x13\xc9\x7e\xb8\xb9\xb9\x64\xdf\x9f\xdd\x58\x63\xe7\xf6\xea\x1c\xd7\x05\xd0\xa9\x30\xce\xfe\x5c\x9f\xe2\x9b\x5d\x26\xfe\xf2\xe7\xbf\xcc\x25\x23\xfa\x81\x44\xda\x91\xc6\x1d\x3d\x41\x4a\x58\xc0\x3b\x41\x60\x16\xa8\x9c\xa1\x3e\x94\xdc\xa1\xe6\xe7\x68\x9d\x3f\x90\xb7\x00\xee\xa8\x54\xa9\xbb\x32\x73\x6e\xee\xd0\x0e\x33\x15\xde\x5e\x9d\x43\xe9\x40\xa7\x54\x6c\x40\xc1\x4c\x38\xef\x0b\x4c\x3c\xb7\x8d\x31\xff\x7d\xaf\x92\x98\x71\xb9\x33\xbf\xc5\xa2\x61\x59\xe6\x62\xa5\x72\x31\xb1\xdf\x34\x05\xf0\x22\x59\x26\x69\x52\xec\xe0\x94\xb2\x32\xe3\x99\xe5\xc8\x37\x05\x98\xd7\x0c\x01\xbc\xcd\x02\x43\x21\xd9\x97\xb7\x3a\x44\x80\xc3\xa4\x39\x75\x42\x7c\xe8\x98\xdf\x2e\x73\xc1\xef\xcc\xea\xa6\x12\xa6\xaf\x48\xb5\x55\xbc\xc6\x3b\x66\x55\xca\x08\x97\x86\x69\x03\xad\x7e\x7a\x39\xa5\xbb\x40\xcb\xdd\x86\xcb\x57\xab\x24\x4a\x78\x4a\x27\xc7\xb2\x5c\x81\x6c\x0c\xd7\x24\x59\x84\xe0\x43\x53\x88\x13\x93\xf7\x0b\x6a\x29\xd6\x09\x02\x8e\x1f\x92\x62\x83\x79\x05\x53\x9c\x67\x9e\x25\x7a\x1a\xa9\x2d\xec\xb7\x6b\x58\x4a\x9a\x1e\xbd\x80\x03\xaf\xad\x73\xf6\xd2\x42\xed\xb6\x59\xb1\xa3\xb5\xf7\x8a\x6d\x93\xf5\xa6\x00\x21\x17\xa8\x1d\x20\x11\xc9\x36\x4b\xe1\xd1\x47\x11\x46\x8b\xf7\xd5\x62\xcb\x65\x91\x44\x5d\x31\xa5\x56\x51\xee\x61\x18\xcf\xe5\xae\xe8\xf7\xe3\xbd\x23\x9e\x7d\x8e\x14\xfa\xc1\x89\xcc\xea\x07\x32\x9d\x81\x20\x2f\x13\x10\xf8\xd7\x45\x5f\xf7\x3d\xa1\x3e\x9c\xc8\xdd\x07\x4f\x42\xca\x65\xa0\x7d\xd5\x53\xbb\xdd\xff\x3c\x55\x34\x6b\x8c\xcf\x25\xa0\x3a\xcd\x81\x41\x72\xb0\xbd\x77\x8c\xbb\x52\xcc\xcc\x5e\xda\x45\x93\x26\x4b\xa8\x9b\xce\x0a\xcd\x74\x99\x41\x3e\x41\xa1\x58\xc6\xa3\xbb\xe3\x52\x9a\xff\x31\x87\x21\x6e\x77\x1d\x92\x13\xcd\xa5\x5a\xb1\xb2\xc0\x8d\x63\x97\x30\x38\x45\x02\x57\x80\x7f\xa0\x6d\x45\xb1\x51\xb1\xcb\x0b\x33\x65\xc2\xf8\x99\x16\x9d\x11\xbd\xf4\x57\xaf\xd9\xa5\xa9\xd0\x2c\x62\xaa\x9b\xbb\xee\x27\x92\x9d\xfe\xeb\xbf\xc2\xf7\xcd\xe0\xbe\x55\x8a\xad\x94\x62\xdf\xb2\xe9\x74\xfa\x9f\xf8\x37\x53\x28\x97\x3b\xfa\x17\x97\xbb\xa9\x29\xee\x6d\xae\xb6\x2f\x57\x4a\xbd\xa2\xbf\x83\x6c\xb2\xf9\x8f\x64\xc5\x5e\x9a\x2f\xdd\x42\x55\x37\xea\xe5\xbc\xfc\xf2\xcb\xaf\xff\xdd\x7c\xf5\x15\xfb\x1b\x7e\x27\xf8\xfa\x3f\xc2\xa6\x7e\xbd\xa7\xa9\x7f\xe0\xf7\x7c\x48\x5b\xd9\xb7\x70\xd7\x98\x02\x7a\xdb\x98\xe8\x97\x6f\x95\x9a\xc2\xeb\x3f\x6c\x1d\x16\x6b\xbe\x81\xad\x08\xbe\xf5\x9f\x41\xb3\x99\x6d\xf7\xef\xf7\xb4\x1b\x51\xf5\xae\xe5\x58\xfc\x5b\xa5\x5e\x4e\xa7\xe6\xdc\xa2\x71\xc5\x56\xbf\x7c\x55\x1d\x68\xe8\x40\xb3\xfd\xe6\xe3\x19\x36\xff\xcd\xd9\xf5\xe9\xd5\xec\xf2\xe6\xfd\xd5\xab\xd7\xb6\x07\x7e\x06\x82\xdf\x33\x2b\x6e\xed\x1a\xfe\xff\xee\x69\xf8\xf7\xca\xb6\x19\x1a\xfd\xfa\x5b\x86\xb3\x99\x2d\xa7\x6f\x95\xfa\xdb\x74\x3a\xfd\x07\x7d\xcc\xe5\x6e\x62\x2e\x26\xf3\x9d\x0c\x8f\xf2\x77\x3c\xd7\x1b\x9e\x9a\x3e\x05\x6d\x70\x9d\x68\x2d\xd1\x16\x97\xac\x6a\x85\xdd\xca\xad\x2f\x0e\x2a\x83\x89\x85\x6f\xfd\x3f\xdf\x32\x99\xa4\x7e\xfa\x82\x3a\x60\x9e\x6e\x80\x5a\x22\xba\x73\xdb\xc5\xa9\x74\x2e\x77\x2c\xab\x6f\x5c\xcc\x3b\xdb\x59\x85\x02\x73\xdc\xcf\xe5\x8b\x96\x13\xfd\xd8\x98\x76\x53\xf8\xc0\x5c\x50\x2f\xac\x7e\xbb\xbd\x16\x9c\xb2\x16\x8e\x2c\x04\xa2\x71\xb7\x4a\xca\x51\x6b\xb3\x0f\xdd\x85\x17\x90\x55\x81\xd9\xf9\xe2\xf8\x05\x25\x0a\xf9\x2a\xaa\x44\xf2\xf3\x2f\x56\x4a\x4d\x97\x3c\x87\xd6\x7d\x3c\xde\x4d\xff\x3a\xff\x02\xfb\x83\xc6\x07\x1a\x46\x50\xf8\xfc\x0b\xf8\x14\x96\xc3\x5c\xfe\xe1\xfa\xfd\xc5\x5c\x7e\xfb\xed\xb7\xdf\xe2\x68\x99\x7f\xb7\xc4\x5e\xcc\x75\x05\xc7\x2d\xda\x29\xa5\xb6\x92\x92\x62\x5d\xa6\x3c\x9f\xcb\xf6\x70\x4d\x2c\xfc\xa1\x39\xf1\xc1\x1b\x5a\x67\x13\xab\x6e\x01\x22\x65\xf6\x8c\x43\xdf\xe4\x87\xff\xcf\x34\xf9\x03\x99\x88\xee\x90\x0f\x87\x60\x6a\x17\xf3\x6b\xbb\x54\xcd\x60\x9b\xf5\xeb\xed\xac\x55\x92\x0a\xda\xb8\x76\x71\x5f\x8a\x5c\x2b\xe9\xd7\x0c\x3d\x08\x80\xdb\x0c\x02\x00\xec\x5b\xf6\xd5\x7f\xd6\x3e\x35\xf3\x60\x3f\xfc\xba\x72\x12\x30\xe6\x8b\x9a\x7f\x01\xad\x9e\x7f\xf1\x9a\xcd\xbf\x68\x5b\x37\xd5\x86\x4d\xb1\x29\xf3\x2f\x26\xbe\x00\x68\xc6\x05\xdf\x62\x21\xe5\x97\x5f\xfe\x3e\xc2\x26\x60\xea\x5a\xf0\x4d\xd3\xa4\xee\x2f\x06\x4d\x9c\xd5\x42\x67\x76\x20\x6c\x0a\xe4\x83\x48\xd3\xa3\x3b\xa9\x1e\x50\xe9\x1b\xe2\x44\x94\xa5\xcc\x70\x79\x54\x27\x97\xb4\xc9\x6a\x33\x6e\x93\x36\x5d\x35\x4e\xde\x0e\x26\x74\x2e\x3f\xc0\xd2\xb1\x33\x4a\x74\x44\x40\x07\xea\x6a\x82\x47\x0d\xad\x04\x9b\x63\x41\x0b\x61\x2e\xa1\x18\x37\xe7\xec\x25\x00\xbf\xa8\x2b\x0d\xcb\xda\x3e\x9e\xfe\xf2\xe7\xbf\xbc\x7a\x7d\xc8\x3c\x55\x8b\xab\x4c\x15\xf4\x07\xcb\xf8\x6a\xfa\xf5\x57\x5f\xeb\xf9\x17\x34\xea\xed\x4f\xec\xf3\x44\x17\x3f\xd5\x2c\xb0\x47\xc8\x8d\x1b\xc3\xe1\xb9\x82\x17\xb6\xa9\xd8\xcc\xa1\x41\x8b\xab\x6a\x58\x41\xad\xac\x5b\x07\x1e\x67\x56\x88\xdd\xb4\x7b\x94\x79\xe7\xc6\x0b\x1f\x5b\xec\x21\xe7\x59\x26\x72\xeb\x2b\x6f\x84\x33\x40\xd5\x1c\x6a\xb1\x47\x7f\xdb\x61\x66\x96\x4d\xad\x68\xf8\x1a\x0c\xdd\xb4\x7d\xe6\x2e\xca\x34\xed\x9c\xb9\xfd\x62\xc9\x17\xb7\xe7\xe7\x8b\x9f\x4e\xce\x6f\xcf\x6c\xf7\x5b\xc5\x87\x83\xaf\x75\x8e\x89\x6b\x09\x8d\x09\xe2\xaa\x0a\xc0\x52\x95\x5b\x91\x5b\xa6\x30\xdf\x6b\xc4\x91\x94\x69\x5a\x15\xa6\x9e\xcb\x0f\x54\x0e\x1c\x03\xa5\x4c\xac\x99\xd2\x3b\x70\xd5\xfa\xe1\x6b\x1f\x4c\xe1\x1f\xf0\xb7\x47\xcc\x77\xe2\x35\xbb\x70\xb5\x76\x8c\x2b\x11\x4e\x1c\xb0\x1d\x30\xdf\xb6\x6b\x3b\x3c\xb5\xf4\xfe\xe3\xb6\xc7\xad\x04\xd1\x2f\x73\xf2\xa2\x62\xfe\x93\xec\x0e\x1c\xbb\x0f\x55\x28\xb8\x73\x97\xc6\x18\x35\x84\x72\x27\x28\x98\xae\x0b\xe2\x2c\xc6\x31\x9b\x4b\x3c\x88\x4d\x9b\x0a\xd5\xdd\x26\x36\xa3\x08\x52\xca\xe5\xba\xe4\x6b\xa1\x27\xcc\x56\x3e\x97\xf6\x75\x6a\xdf\x3a\x0e\x98\x03\x8c\xac\xb5\x25\x54\x4b\x01\x4e\xe4\x5c\x52\x9f\xe0\x86\xa5\xe2\x31\x1d\xf5\x0f\xd7\xae\x3b\x94\xf7\x8d\x05\x91\xe6\xbb\x9c\x4b\x9c\x5c\xf4\x8d\x59\xb0\x21\x98\x1d\xcd\xbb\x89\x03\x3c\x18\xdf\x75\x31\x2b\xd4\x1a\x60\x8f\x73\xe9\x58\xb0\x10\x9c\x61\xdf\x6b\x5e\x1b\x14\x9b\xb4\xff\x3c\xb1\x93\x61\xf7\x04\xb5\xad\x7d\xd5\x1f\x7c\x07\x98\x0d\xb7\x68\x7d\xcb\xf7\x2f\x5b\x7f\x8c\x0d\x04\xe4\xf0\xe0\xe0\xe8\xa2\x46\x04\xea\xb3\xf6\xd6\xd8\x7e\xe1\x77\x3a\xb3\x47\x55\xb9\x4c\x47\x34\x09\xbf\xdf\xdb\x28\x3c\x92\xfb\x1b\x35\xc0\x23\x7d\x55\xdb\x5a\x66\x99\xf6\x55\xbb\x54\xaa\x63\x5e\x9e\x10\xb3\x5b\x69\x14\xfd\x60\xdf\x60\x94\x51\xf1\x98\xf5\x32\x80\x0f\xa8\x3e\x44\xf6\xf4\xe9\x6b\x50\x9a\xe8\x47\x35\xc7\xdb\x4f\x83\x5b\xe4\x2c\x04\xba\xec\x46\x9d\xb0\x74\xcf\x55\x0e\xd8\x8e\x63\xd2\x3e\x53\x30\xbd\x45\x24\x78\xbc\x98\xcd\x33\x81\x4d\x64\xd6\xff\xc4\x2d\xa2\x89\x9f\xb9\x09\x34\x32\x2a\x73\x6d\x8e\x4b\x3a\xef\xe8\xd4\x56\x39\xe3\x73\x69\xd9\x60\xec\x71\x7c\x62\xfd\xc1\xb9\xfb\x2b\x72\x2c\x65\x28\x59\x07\x41\xa1\x02\xbc\xe4\x74\x1a\xce\xe5\x3d\xcf\x13\x2e\x01\xd3\xbc\xd4\xa0\x37\x0c\x4f\xba\x1d\xa3\x0f\x1c\x01\x87\x0e\x9d\xcc\x7b\xce\xbc\x9a\x19\x50\xb9\xe7\x7f\x67\xfe\xef\x1f\xbf\xfb\xbf\x01\x00\x00\xff\xff\x53\x4b\xbb\xb0\x9a\xce\x04\x00") func adminSwaggerJsonBytes() ([]byte, error) { return bindataRead( @@ -93,7 +93,7 @@ func adminSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "admin.swagger.json", size: 306659, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} + info := bindataFileInfo{name: "admin.swagger.json", size: 315034, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json index 3c130cef0a..c274ebc470 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json @@ -338,6 +338,13 @@ "hash": { "type": "string", "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." } }, "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java index a911efd93e..102ff472f0 100644 --- a/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java +++ b/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java @@ -14154,6 +14154,55 @@ public interface ExecutionMetadataOrBuilder extends * .flyteidl.admin.SystemMetadata system_metadata = 17; */ flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetadataOrBuilder(); + + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + java.util.List + getArtifactIdsList(); + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + int getArtifactIdsCount(); + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + java.util.List + getArtifactIdsOrBuilderList(); + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index); } /** *
@@ -14175,6 +14224,7 @@ private ExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder buil
     private ExecutionMetadata() {
       mode_ = 0;
       principal_ = "";
+      artifactIds_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
@@ -14270,6 +14320,15 @@ private ExecutionMetadata(
 
               break;
             }
+            case 146: {
+              if (!((mutable_bitField0_ & 0x00000080) != 0)) {
+                artifactIds_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000080;
+              }
+              artifactIds_.add(
+                  input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry));
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -14285,6 +14344,9 @@ private ExecutionMetadata(
         throw new com.google.protobuf.InvalidProtocolBufferException(
             e).setUnfinishedMessage(this);
       } finally {
+        if (((mutable_bitField0_ & 0x00000080) != 0)) {
+          artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_);
+        }
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
@@ -14488,6 +14550,7 @@ private ExecutionMode(int value) {
       // @@protoc_insertion_point(enum_scope:flyteidl.admin.ExecutionMetadata.ExecutionMode)
     }
 
+    private int bitField0_;
     public static final int MODE_FIELD_NUMBER = 1;
     private int mode_;
     /**
@@ -14706,6 +14769,66 @@ public flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetad
       return getSystemMetadata();
     }
 
+    public static final int ARTIFACT_IDS_FIELD_NUMBER = 18;
+    private java.util.List artifactIds_;
+    /**
+     * 
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public java.util.List getArtifactIdsList() { + return artifactIds_; + } + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + return artifactIds_; + } + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public int getArtifactIdsCount() { + return artifactIds_.size(); + } + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + return artifactIds_.get(index); + } + /** + *
+     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+     * since we don't have a structure to handle nested ones anyways.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + return artifactIds_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -14741,6 +14864,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (systemMetadata_ != null) { output.writeMessage(17, getSystemMetadata()); } + for (int i = 0; i < artifactIds_.size(); i++) { + output.writeMessage(18, artifactIds_.get(i)); + } unknownFields.writeTo(output); } @@ -14777,6 +14903,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getSystemMetadata()); } + for (int i = 0; i < artifactIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, artifactIds_.get(i)); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -14817,6 +14947,8 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemMetadata() .equals(other.getSystemMetadata())) return false; } + if (!getArtifactIdsList() + .equals(other.getArtifactIdsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14850,6 +14982,10 @@ public int hashCode() { hash = (37 * hash) + SYSTEM_METADATA_FIELD_NUMBER; hash = (53 * hash) + getSystemMetadata().hashCode(); } + if (getArtifactIdsCount() > 0) { + hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactIdsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -14983,6 +15119,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getArtifactIdsFieldBuilder(); } } @java.lang.Override @@ -15018,6 +15155,12 @@ public Builder clear() { systemMetadata_ = null; systemMetadataBuilder_ = null; } + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + } else { + artifactIdsBuilder_.clear(); + } return this; } @@ -15044,6 +15187,8 @@ public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata build() { @java.lang.Override public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata buildPartial() { flyteidl.admin.ExecutionOuterClass.ExecutionMetadata result = new flyteidl.admin.ExecutionOuterClass.ExecutionMetadata(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.mode_ = mode_; result.principal_ = principal_; result.nesting_ = nesting_; @@ -15067,6 +15212,16 @@ public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata buildPartial() { } else { result.systemMetadata_ = systemMetadataBuilder_.build(); } + if (artifactIdsBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.artifactIds_ = artifactIds_; + } else { + result.artifactIds_ = artifactIdsBuilder_.build(); + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -15137,6 +15292,32 @@ public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata ot if (other.hasSystemMetadata()) { mergeSystemMetadata(other.getSystemMetadata()); } + if (artifactIdsBuilder_ == null) { + if (!other.artifactIds_.isEmpty()) { + if (artifactIds_.isEmpty()) { + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureArtifactIdsIsMutable(); + artifactIds_.addAll(other.artifactIds_); + } + onChanged(); + } + } else { + if (!other.artifactIds_.isEmpty()) { + if (artifactIdsBuilder_.isEmpty()) { + artifactIdsBuilder_.dispose(); + artifactIdsBuilder_ = null; + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000080); + artifactIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactIdsFieldBuilder() : null; + } else { + artifactIdsBuilder_.addAllMessages(other.artifactIds_); + } + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -15165,6 +15346,7 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private int mode_ = 0; /** @@ -15989,6 +16171,336 @@ public flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetad } return systemMetadataBuilder_; } + + private java.util.List artifactIds_ = + java.util.Collections.emptyList(); + private void ensureArtifactIdsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + artifactIds_ = new java.util.ArrayList(artifactIds_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; + + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public java.util.List getArtifactIdsList() { + if (artifactIdsBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifactIds_); + } else { + return artifactIdsBuilder_.getMessageList(); + } + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public int getArtifactIdsCount() { + if (artifactIdsBuilder_ == null) { + return artifactIds_.size(); + } else { + return artifactIdsBuilder_.getCount(); + } + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); + } else { + return artifactIdsBuilder_.getMessage(index); + } + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, value); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder addArtifactIds( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder addAllArtifactIds( + java.lang.Iterable values) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifactIds_); + onChanged(); + } else { + artifactIdsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder clearArtifactIds() { + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + artifactIdsBuilder_.clear(); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public Builder removeArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.remove(index); + onChanged(); + } else { + artifactIdsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().getBuilder(index); + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); } else { + return artifactIdsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + if (artifactIdsBuilder_ != null) { + return artifactIdsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifactIds_); + } + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { + return getArtifactIdsFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
+       * since we don't have a structure to handle nested ones anyways.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 18; + */ + public java.util.List + getArtifactIdsBuilderList() { + return getArtifactIdsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdsFieldBuilder() { + if (artifactIdsBuilder_ == null) { + artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + artifactIds_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); + artifactIds_ = null; + } + return artifactIdsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -28438,118 +28950,120 @@ public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse ge "dl.admin\032\'flyteidl/admin/cluster_assignm" + "ent.proto\032\033flyteidl/admin/common.proto\032\034" + "flyteidl/core/literals.proto\032\035flyteidl/c" + - "ore/execution.proto\032\036flyteidl/core/ident" + - "ifier.proto\032\033flyteidl/core/metrics.proto" + - "\032\034flyteidl/core/security.proto\032\036google/p" + - "rotobuf/duration.proto\032\037google/protobuf/" + - "timestamp.proto\032\036google/protobuf/wrapper" + - "s.proto\"\237\001\n\026ExecutionCreateRequest\022\017\n\007pr" + - "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(" + - "\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.admin.Executi" + - "onSpec\022)\n\006inputs\030\005 \001(\0132\031.flyteidl.core.L" + - "iteralMap\"\177\n\030ExecutionRelaunchRequest\0226\n" + - "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" + - "ionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite" + - "_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverR" + - "equest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workf" + - "lowExecutionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010" + - "metadata\030\003 \001(\0132!.flyteidl.admin.Executio" + - "nMetadata\"Q\n\027ExecutionCreateResponse\0226\n\002" + + "ore/execution.proto\032\037flyteidl/core/artif" + + "act_id.proto\032\036flyteidl/core/identifier.p" + + "roto\032\033flyteidl/core/metrics.proto\032\034flyte" + + "idl/core/security.proto\032\036google/protobuf" + + "/duration.proto\032\037google/protobuf/timesta" + + "mp.proto\032\036google/protobuf/wrappers.proto" + + "\"\237\001\n\026ExecutionCreateRequest\022\017\n\007project\030\001" + + " \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022+\n\004sp" + + "ec\030\004 \001(\0132\035.flyteidl.admin.ExecutionSpec\022" + + ")\n\006inputs\030\005 \001(\0132\031.flyteidl.core.LiteralM" + + "ap\"\177\n\030ExecutionRelaunchRequest\0226\n\002id\030\001 \001" + + "(\0132*.flyteidl.core.WorkflowExecutionIden" + + "tifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite_cache\030" + + "\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverRequest\022" + + "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + + "utionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010metadat" + + "a\030\003 \001(\0132!.flyteidl.admin.ExecutionMetada" + + "ta\"Q\n\027ExecutionCreateResponse\0226\n\002id\030\001 \001(" + + "\0132*.flyteidl.core.WorkflowExecutionIdent" + + "ifier\"U\n\033WorkflowExecutionGetRequest\0226\n\002" + "id\030\001 \001(\0132*.flyteidl.core.WorkflowExecuti" + - "onIdentifier\"U\n\033WorkflowExecutionGetRequ" + - "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" + - "ExecutionIdentifier\"\243\001\n\tExecution\0226\n\002id\030" + - "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" + - "dentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin" + - ".ExecutionSpec\0221\n\007closure\030\003 \001(\0132 .flytei" + - "dl.admin.ExecutionClosure\"M\n\rExecutionLi" + - "st\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl.admin." + - "Execution\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBl" + - "ob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core.Liter" + - "alMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAb" + - "ortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030" + - "\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outputs\030\001 " + - "\001(\0132\036.flyteidl.admin.LiteralMapBlobB\002\030\001H" + - "\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.Executi" + - "onErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016" + - "abort_metadata\030\014 \001(\0132\035.flyteidl.admin.Ab" + - "ortMetadataH\000\0224\n\013output_data\030\r \001(\0132\031.fly" + - "teidl.core.LiteralMapB\002\030\001H\000\0226\n\017computed_" + - "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMapB" + - "\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core.Workf" + - "lowExecution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032" + - ".google.protobuf.Timestamp\022+\n\010duration\030\006" + - " \001(\0132\031.google.protobuf.Duration\022.\n\ncreat" + - "ed_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022" + - ".\n\nupdated_at\030\010 \001(\0132\032.google.protobuf.Ti" + - "mestamp\0223\n\rnotifications\030\t \003(\0132\034.flyteid" + - "l.admin.Notification\022.\n\013workflow_id\030\013 \001(" + - "\0132\031.flyteidl.core.Identifier\022I\n\024state_ch" + - "ange_details\030\016 \001(\0132+.flyteidl.admin.Exec" + - "utionStateChangeDetailsB\017\n\routput_result" + - "\">\n\016SystemMetadata\022\031\n\021execution_cluster\030" + - "\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\332\003\n\021ExecutionMe" + - "tadata\022=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Ex" + - "ecutionMetadata.ExecutionMode\022\021\n\tprincip" + - "al\030\002 \001(\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_a" + - "t\030\004 \001(\0132\032.google.protobuf.Timestamp\022E\n\025p" + - "arent_node_execution\030\005 \001(\0132&.flyteidl.co" + - "re.NodeExecutionIdentifier\022G\n\023reference_" + - "execution\030\020 \001(\0132*.flyteidl.core.Workflow" + - "ExecutionIdentifier\0227\n\017system_metadata\030\021" + - " \001(\0132\036.flyteidl.admin.SystemMetadata\"g\n\r" + - "ExecutionMode\022\n\n\006MANUAL\020\000\022\r\n\tSCHEDULED\020\001" + - "\022\n\n\006SYSTEM\020\002\022\014\n\010RELAUNCH\020\003\022\022\n\016CHILD_WORK" + - "FLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationLis" + - "t\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.admi" + - "n.Notification\"\262\006\n\rExecutionSpec\022.\n\013laun" + - "ch_plan\030\001 \001(\0132\031.flyteidl.core.Identifier" + - "\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Literal" + - "MapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.adm" + - "in.ExecutionMetadata\0229\n\rnotifications\030\005 " + - "\001(\0132 .flyteidl.admin.NotificationListH\000\022" + - "\025\n\013disable_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\0132\026" + - ".flyteidl.admin.Labels\0220\n\013annotations\030\010 " + - "\001(\0132\033.flyteidl.admin.Annotations\0228\n\020secu" + - "rity_context\030\n \001(\0132\036.flyteidl.core.Secur" + - "ityContext\022/\n\tauth_role\030\020 \001(\0132\030.flyteidl" + - ".admin.AuthRoleB\002\030\001\022;\n\022quality_of_servic" + - "e\030\021 \001(\0132\037.flyteidl.core.QualityOfService" + - "\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_output_" + - "data_config\030\023 \001(\0132#.flyteidl.admin.RawOu" + - "tputDataConfig\022=\n\022cluster_assignment\030\024 \001" + - "(\0132!.flyteidl.admin.ClusterAssignment\0221\n" + - "\rinterruptible\030\025 \001(\0132\032.google.protobuf.B" + - "oolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004env" + - "s\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030\030 " + - "\003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n\031E" + - "xecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*.f" + + "onIdentifier\"\243\001\n\tExecution\0226\n\002id\030\001 \001(\0132*" + + ".flyteidl.core.WorkflowExecutionIdentifi" + + "er\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin.Execut" + + "ionSpec\0221\n\007closure\030\003 \001(\0132 .flyteidl.admi" + + "n.ExecutionClosure\"M\n\rExecutionList\022-\n\ne" + + "xecutions\030\001 \003(\0132\031.flyteidl.admin.Executi" + + "on\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBlob\022/\n\006v" + + "alues\030\001 \001(\0132\031.flyteidl.core.LiteralMapB\002" + + "\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAbortMeta" + + "data\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030\002 \001(\t\"\360" + + "\005\n\020ExecutionClosure\0225\n\007outputs\030\001 \001(\0132\036.f" + + "lyteidl.admin.LiteralMapBlobB\002\030\001H\000\022.\n\005er" + + "ror\030\002 \001(\0132\035.flyteidl.core.ExecutionError" + + "H\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016abort_m" + + "etadata\030\014 \001(\0132\035.flyteidl.admin.AbortMeta" + + "dataH\000\0224\n\013output_data\030\r \001(\0132\031.flyteidl.c" + + "ore.LiteralMapB\002\030\001H\000\0226\n\017computed_inputs\030" + + "\003 \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001\0225\n\005" + + "phase\030\004 \001(\0162&.flyteidl.core.WorkflowExec" + + "ution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032.google" + + ".protobuf.Timestamp\022+\n\010duration\030\006 \001(\0132\031." + + "google.protobuf.Duration\022.\n\ncreated_at\030\007" + + " \001(\0132\032.google.protobuf.Timestamp\022.\n\nupda" + + "ted_at\030\010 \001(\0132\032.google.protobuf.Timestamp" + + "\0223\n\rnotifications\030\t \003(\0132\034.flyteidl.admin" + + ".Notification\022.\n\013workflow_id\030\013 \001(\0132\031.fly" + + "teidl.core.Identifier\022I\n\024state_change_de" + + "tails\030\016 \001(\0132+.flyteidl.admin.ExecutionSt" + + "ateChangeDetailsB\017\n\routput_result\">\n\016Sys" + + "temMetadata\022\031\n\021execution_cluster\030\001 \001(\t\022\021" + + "\n\tnamespace\030\002 \001(\t\"\213\004\n\021ExecutionMetadata\022" + + "=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Execution" + + "Metadata.ExecutionMode\022\021\n\tprincipal\030\002 \001(" + + "\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\013" + + "2\032.google.protobuf.Timestamp\022E\n\025parent_n" + + "ode_execution\030\005 \001(\0132&.flyteidl.core.Node" + + "ExecutionIdentifier\022G\n\023reference_executi" + + "on\030\020 \001(\0132*.flyteidl.core.WorkflowExecuti" + + "onIdentifier\0227\n\017system_metadata\030\021 \001(\0132\036." + + "flyteidl.admin.SystemMetadata\022/\n\014artifac" + + "t_ids\030\022 \003(\0132\031.flyteidl.core.ArtifactID\"g" + + "\n\rExecutionMode\022\n\n\006MANUAL\020\000\022\r\n\tSCHEDULED" + + "\020\001\022\n\n\006SYSTEM\020\002\022\014\n\010RELAUNCH\020\003\022\022\n\016CHILD_WO" + + "RKFLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationL" + + "ist\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.ad" + + "min.Notification\"\262\006\n\rExecutionSpec\022.\n\013la" + + "unch_plan\030\001 \001(\0132\031.flyteidl.core.Identifi" + + "er\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Liter" + + "alMapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.a" + + "dmin.ExecutionMetadata\0229\n\rnotifications\030" + + "\005 \001(\0132 .flyteidl.admin.NotificationListH" + + "\000\022\025\n\013disable_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\013" + + "2\026.flyteidl.admin.Labels\0220\n\013annotations\030" + + "\010 \001(\0132\033.flyteidl.admin.Annotations\0228\n\020se" + + "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" + + "urityContext\022/\n\tauth_role\030\020 \001(\0132\030.flytei" + + "dl.admin.AuthRoleB\002\030\001\022;\n\022quality_of_serv" + + "ice\030\021 \001(\0132\037.flyteidl.core.QualityOfServi" + + "ce\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_outpu" + + "t_data_config\030\023 \001(\0132#.flyteidl.admin.Raw" + + "OutputDataConfig\022=\n\022cluster_assignment\030\024" + + " \001(\0132!.flyteidl.admin.ClusterAssignment\022" + + "1\n\rinterruptible\030\025 \001(\0132\032.google.protobuf" + + ".BoolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004e" + + "nvs\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030" + + "\030 \003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n" + + "\031ExecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*" + + ".flyteidl.core.WorkflowExecutionIdentifi" + + "er\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateR" + + "esponse\"Y\n\037WorkflowExecutionGetDataReque" + + "st\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + + "xecutionIdentifier\"\336\001\n WorkflowExecution" + + "GetDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyte" + + "idl.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027." + + "flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_input" + + "s\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014fu" + + "ll_outputs\030\004 \001(\0132\031.flyteidl.core.Literal" + + "Map\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(" + + "\0132*.flyteidl.core.WorkflowExecutionIdent" + + "ifier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Ex" + + "ecutionState\"\220\001\n\033ExecutionStateChangeDet" + + "ails\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Exe" + + "cutionState\022/\n\013occurred_at\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"" + + "\031\n\027ExecutionUpdateResponse\"k\n\"WorkflowEx" + + "ecutionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.f" + "lyteidl.core.WorkflowExecutionIdentifier" + - "\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateRes" + - "ponse\"Y\n\037WorkflowExecutionGetDataRequest" + - "\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExe" + - "cutionIdentifier\"\336\001\n WorkflowExecutionGe" + - "tDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyteid" + - "l.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027.fl" + - "yteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inputs\030" + - "\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014full" + - "_outputs\030\004 \001(\0132\031.flyteidl.core.LiteralMa" + - "p\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(\0132" + - "*.flyteidl.core.WorkflowExecutionIdentif" + - "ier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Exec" + - "utionState\"\220\001\n\033ExecutionStateChangeDetai" + - "ls\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Execu" + - "tionState\022/\n\013occurred_at\030\002 \001(\0132\032.google." + - "protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"\031\n" + - "\027ExecutionUpdateResponse\"k\n\"WorkflowExec" + - "utionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.fly" + - "teidl.core.WorkflowExecutionIdentifier\022\r" + - "\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetMet" + - "ricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl.co" + - "re.Span*>\n\016ExecutionState\022\024\n\020EXECUTION_A" + - "CTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=Z;githu" + - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" + - "flyteidl/adminb\006proto3" + "\022\r\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetM" + + "etricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl." + + "core.Span*>\n\016ExecutionState\022\024\n\020EXECUTION" + + "_ACTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=Z;git" + + "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" + + "o/flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -28566,6 +29080,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.admin.Common.getDescriptor(), flyteidl.core.Literals.getDescriptor(), flyteidl.core.Execution.getDescriptor(), + flyteidl.core.ArtifactId.getDescriptor(), flyteidl.core.IdentifierOuterClass.getDescriptor(), flyteidl.core.Metrics.getDescriptor(), flyteidl.core.Security.getDescriptor(), @@ -28644,7 +29159,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_ExecutionMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_ExecutionMetadata_descriptor, - new java.lang.String[] { "Mode", "Principal", "Nesting", "ScheduledAt", "ParentNodeExecution", "ReferenceExecution", "SystemMetadata", }); + new java.lang.String[] { "Mode", "Principal", "Nesting", "ScheduledAt", "ParentNodeExecution", "ReferenceExecution", "SystemMetadata", "ArtifactIds", }); internal_static_flyteidl_admin_NotificationList_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_flyteidl_admin_NotificationList_fieldAccessorTable = new @@ -28715,6 +29230,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.admin.Common.getDescriptor(); flyteidl.core.Literals.getDescriptor(); flyteidl.core.Execution.getDescriptor(); + flyteidl.core.ArtifactId.getDescriptor(); flyteidl.core.IdentifierOuterClass.getDescriptor(); flyteidl.core.Metrics.getDescriptor(); flyteidl.core.Security.getDescriptor(); diff --git a/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java index 8642e176d2..ae781f6903 100644 --- a/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java +++ b/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java @@ -10142,6 +10142,31 @@ public interface LaunchPlanMetadataOrBuilder extends */ flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( int index); + + /** + *
+     * Additional metadata for how to launch the launch plan
+     * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + boolean hasLaunchConditions(); + /** + *
+     * Additional metadata for how to launch the launch plan
+     * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + com.google.protobuf.Any getLaunchConditions(); + /** + *
+     * Additional metadata for how to launch the launch plan
+     * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + com.google.protobuf.AnyOrBuilder getLaunchConditionsOrBuilder(); } /** *
@@ -10210,6 +10235,19 @@ private LaunchPlanMetadata(
                   input.readMessage(flyteidl.admin.Common.Notification.parser(), extensionRegistry));
               break;
             }
+            case 26: {
+              com.google.protobuf.Any.Builder subBuilder = null;
+              if (launchConditions_ != null) {
+                subBuilder = launchConditions_.toBuilder();
+              }
+              launchConditions_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(launchConditions_);
+                launchConditions_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -10334,6 +10372,39 @@ public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder(
       return notifications_.get(index);
     }
 
+    public static final int LAUNCH_CONDITIONS_FIELD_NUMBER = 3;
+    private com.google.protobuf.Any launchConditions_;
+    /**
+     * 
+     * Additional metadata for how to launch the launch plan
+     * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public boolean hasLaunchConditions() { + return launchConditions_ != null; + } + /** + *
+     * Additional metadata for how to launch the launch plan
+     * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public com.google.protobuf.Any getLaunchConditions() { + return launchConditions_ == null ? com.google.protobuf.Any.getDefaultInstance() : launchConditions_; + } + /** + *
+     * Additional metadata for how to launch the launch plan
+     * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public com.google.protobuf.AnyOrBuilder getLaunchConditionsOrBuilder() { + return getLaunchConditions(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -10354,6 +10425,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < notifications_.size(); i++) { output.writeMessage(2, notifications_.get(i)); } + if (launchConditions_ != null) { + output.writeMessage(3, getLaunchConditions()); + } unknownFields.writeTo(output); } @@ -10371,6 +10445,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, notifications_.get(i)); } + if (launchConditions_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLaunchConditions()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -10393,6 +10471,11 @@ public boolean equals(final java.lang.Object obj) { } if (!getNotificationsList() .equals(other.getNotificationsList())) return false; + if (hasLaunchConditions() != other.hasLaunchConditions()) return false; + if (hasLaunchConditions()) { + if (!getLaunchConditions() + .equals(other.getLaunchConditions())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10412,6 +10495,10 @@ public int hashCode() { hash = (37 * hash) + NOTIFICATIONS_FIELD_NUMBER; hash = (53 * hash) + getNotificationsList().hashCode(); } + if (hasLaunchConditions()) { + hash = (37 * hash) + LAUNCH_CONDITIONS_FIELD_NUMBER; + hash = (53 * hash) + getLaunchConditions().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -10563,6 +10650,12 @@ public Builder clear() { } else { notificationsBuilder_.clear(); } + if (launchConditionsBuilder_ == null) { + launchConditions_ = null; + } else { + launchConditions_ = null; + launchConditionsBuilder_ = null; + } return this; } @@ -10605,6 +10698,11 @@ public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata buildPartial() { } else { result.notifications_ = notificationsBuilder_.build(); } + if (launchConditionsBuilder_ == null) { + result.launchConditions_ = launchConditions_; + } else { + result.launchConditions_ = launchConditionsBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -10683,6 +10781,9 @@ public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata } } } + if (other.hasLaunchConditions()) { + mergeLaunchConditions(other.getLaunchConditions()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -11177,6 +11278,159 @@ public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder( } return notificationsBuilder_; } + + private com.google.protobuf.Any launchConditions_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> launchConditionsBuilder_; + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public boolean hasLaunchConditions() { + return launchConditionsBuilder_ != null || launchConditions_ != null; + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public com.google.protobuf.Any getLaunchConditions() { + if (launchConditionsBuilder_ == null) { + return launchConditions_ == null ? com.google.protobuf.Any.getDefaultInstance() : launchConditions_; + } else { + return launchConditionsBuilder_.getMessage(); + } + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public Builder setLaunchConditions(com.google.protobuf.Any value) { + if (launchConditionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + launchConditions_ = value; + onChanged(); + } else { + launchConditionsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public Builder setLaunchConditions( + com.google.protobuf.Any.Builder builderForValue) { + if (launchConditionsBuilder_ == null) { + launchConditions_ = builderForValue.build(); + onChanged(); + } else { + launchConditionsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public Builder mergeLaunchConditions(com.google.protobuf.Any value) { + if (launchConditionsBuilder_ == null) { + if (launchConditions_ != null) { + launchConditions_ = + com.google.protobuf.Any.newBuilder(launchConditions_).mergeFrom(value).buildPartial(); + } else { + launchConditions_ = value; + } + onChanged(); + } else { + launchConditionsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public Builder clearLaunchConditions() { + if (launchConditionsBuilder_ == null) { + launchConditions_ = null; + onChanged(); + } else { + launchConditions_ = null; + launchConditionsBuilder_ = null; + } + + return this; + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public com.google.protobuf.Any.Builder getLaunchConditionsBuilder() { + + onChanged(); + return getLaunchConditionsFieldBuilder().getBuilder(); + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + public com.google.protobuf.AnyOrBuilder getLaunchConditionsOrBuilder() { + if (launchConditionsBuilder_ != null) { + return launchConditionsBuilder_.getMessageOrBuilder(); + } else { + return launchConditions_ == null ? + com.google.protobuf.Any.getDefaultInstance() : launchConditions_; + } + } + /** + *
+       * Additional metadata for how to launch the launch plan
+       * 
+ * + * .google.protobuf.Any launch_conditions = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> + getLaunchConditionsFieldBuilder() { + if (launchConditionsBuilder_ == null) { + launchConditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( + getLaunchConditions(), + getParentForChildren(), + isClean()); + launchConditions_ = null; + } + return launchConditionsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14563,60 +14817,62 @@ public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest getDefaul "l/core/identifier.proto\032\035flyteidl/core/i" + "nterface.proto\032\034flyteidl/core/security.p" + "roto\032\035flyteidl/admin/schedule.proto\032\033fly" + - "teidl/admin/common.proto\032\037google/protobu" + - "f/timestamp.proto\032\036google/protobuf/wrapp" + - "ers.proto\"n\n\027LaunchPlanCreateRequest\022%\n\002" + - "id\030\001 \001(\0132\031.flyteidl.core.Identifier\022,\n\004s" + - "pec\030\002 \001(\0132\036.flyteidl.admin.LaunchPlanSpe" + - "c\"\032\n\030LaunchPlanCreateResponse\"\225\001\n\nLaunch" + - "Plan\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identif" + - "ier\022,\n\004spec\030\002 \001(\0132\036.flyteidl.admin.Launc" + - "hPlanSpec\0222\n\007closure\030\003 \001(\0132!.flyteidl.ad" + - "min.LaunchPlanClosure\"Q\n\016LaunchPlanList\022" + - "0\n\014launch_plans\030\001 \003(\0132\032.flyteidl.admin.L" + - "aunchPlan\022\r\n\005token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assu" + - "mable_iam_role\030\001 \001(\t\022\"\n\032kubernetes_servi" + - "ce_account\030\002 \001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022" + - ".\n\013workflow_id\030\001 \001(\0132\031.flyteidl.core.Ide" + - "ntifier\022;\n\017entity_metadata\030\002 \001(\0132\".flyte" + - "idl.admin.LaunchPlanMetadata\0223\n\016default_" + - "inputs\030\003 \001(\0132\033.flyteidl.core.ParameterMa" + - "p\022/\n\014fixed_inputs\030\004 \001(\0132\031.flyteidl.core." + - "LiteralMap\022\020\n\004role\030\005 \001(\tB\002\030\001\022&\n\006labels\030\006" + - " \001(\0132\026.flyteidl.admin.Labels\0220\n\013annotati" + - "ons\030\007 \001(\0132\033.flyteidl.admin.Annotations\022&" + - "\n\004auth\030\010 \001(\0132\024.flyteidl.admin.AuthB\002\030\001\022/" + - "\n\tauth_role\030\t \001(\0132\030.flyteidl.admin.AuthR" + - "oleB\002\030\001\0228\n\020security_context\030\n \001(\0132\036.flyt" + - "eidl.core.SecurityContext\022;\n\022quality_of_" + - "service\030\020 \001(\0132\037.flyteidl.core.QualityOfS" + - "ervice\022C\n\026raw_output_data_config\030\021 \001(\0132#" + - ".flyteidl.admin.RawOutputDataConfig\022\027\n\017m" + - "ax_parallelism\030\022 \001(\005\0221\n\rinterruptible\030\023 " + - "\001(\0132\032.google.protobuf.BoolValue\022\027\n\017overw" + - "rite_cache\030\024 \001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteid" + - "l.admin.Envs\"\217\002\n\021LaunchPlanClosure\022.\n\005st" + - "ate\030\001 \001(\0162\037.flyteidl.admin.LaunchPlanSta" + - "te\0224\n\017expected_inputs\030\002 \001(\0132\033.flyteidl.c" + - "ore.ParameterMap\0224\n\020expected_outputs\030\003 \001" + - "(\0132\032.flyteidl.core.VariableMap\022.\n\ncreate" + - "d_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022." + - "\n\nupdated_at\030\005 \001(\0132\032.google.protobuf.Tim" + - "estamp\"u\n\022LaunchPlanMetadata\022*\n\010schedule" + - "\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\rnoti" + - "fications\030\002 \003(\0132\034.flyteidl.admin.Notific" + - "ation\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001" + - " \001(\0132\031.flyteidl.core.Identifier\022.\n\005state" + - "\030\002 \001(\0162\037.flyteidl.admin.LaunchPlanState\"" + - "\032\n\030LaunchPlanUpdateResponse\"L\n\027ActiveLau" + - "nchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.ad" + - "min.NamedEntityIdentifier\"\203\001\n\033ActiveLaun" + - "chPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006do" + - "main\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t" + - "\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort*" + - "+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTI" + - "VE\020\001B=Z;github.com/flyteorg/flyte/flytei" + - "dl/gen/pb-go/flyteidl/adminb\006proto3" + "teidl/admin/common.proto\032\031google/protobu" + + "f/any.proto\032\037google/protobuf/timestamp.p" + + "roto\032\036google/protobuf/wrappers.proto\"n\n\027" + + "LaunchPlanCreateRequest\022%\n\002id\030\001 \001(\0132\031.fl" + + "yteidl.core.Identifier\022,\n\004spec\030\002 \001(\0132\036.f" + + "lyteidl.admin.LaunchPlanSpec\"\032\n\030LaunchPl" + + "anCreateResponse\"\225\001\n\nLaunchPlan\022%\n\002id\030\001 " + + "\001(\0132\031.flyteidl.core.Identifier\022,\n\004spec\030\002" + + " \001(\0132\036.flyteidl.admin.LaunchPlanSpec\0222\n\007" + + "closure\030\003 \001(\0132!.flyteidl.admin.LaunchPla" + + "nClosure\"Q\n\016LaunchPlanList\0220\n\014launch_pla" + + "ns\030\001 \003(\0132\032.flyteidl.admin.LaunchPlan\022\r\n\005" + + "token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assumable_iam_rol" + + "e\030\001 \001(\t\022\"\n\032kubernetes_service_account\030\002 " + + "\001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022.\n\013workflow_i" + + "d\030\001 \001(\0132\031.flyteidl.core.Identifier\022;\n\017en" + + "tity_metadata\030\002 \001(\0132\".flyteidl.admin.Lau" + + "nchPlanMetadata\0223\n\016default_inputs\030\003 \001(\0132" + + "\033.flyteidl.core.ParameterMap\022/\n\014fixed_in" + + "puts\030\004 \001(\0132\031.flyteidl.core.LiteralMap\022\020\n" + + "\004role\030\005 \001(\tB\002\030\001\022&\n\006labels\030\006 \001(\0132\026.flytei" + + "dl.admin.Labels\0220\n\013annotations\030\007 \001(\0132\033.f" + + "lyteidl.admin.Annotations\022&\n\004auth\030\010 \001(\0132" + + "\024.flyteidl.admin.AuthB\002\030\001\022/\n\tauth_role\030\t" + + " \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001\0228\n\020se" + + "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" + + "urityContext\022;\n\022quality_of_service\030\020 \001(\013" + + "2\037.flyteidl.core.QualityOfService\022C\n\026raw" + + "_output_data_config\030\021 \001(\0132#.flyteidl.adm" + + "in.RawOutputDataConfig\022\027\n\017max_parallelis" + + "m\030\022 \001(\005\0221\n\rinterruptible\030\023 \001(\0132\032.google." + + "protobuf.BoolValue\022\027\n\017overwrite_cache\030\024 " + + "\001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteidl.admin.Envs\"" + + "\217\002\n\021LaunchPlanClosure\022.\n\005state\030\001 \001(\0162\037.f" + + "lyteidl.admin.LaunchPlanState\0224\n\017expecte" + + "d_inputs\030\002 \001(\0132\033.flyteidl.core.Parameter" + + "Map\0224\n\020expected_outputs\030\003 \001(\0132\032.flyteidl" + + ".core.VariableMap\022.\n\ncreated_at\030\004 \001(\0132\032." + + "google.protobuf.Timestamp\022.\n\nupdated_at\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\"\246\001\n\022La" + + "unchPlanMetadata\022*\n\010schedule\030\001 \001(\0132\030.fly" + + "teidl.admin.Schedule\0223\n\rnotifications\030\002 " + + "\003(\0132\034.flyteidl.admin.Notification\022/\n\021lau" + + "nch_conditions\030\003 \001(\0132\024.google.protobuf.A" + + "ny\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001 \001(" + + "\0132\031.flyteidl.core.Identifier\022.\n\005state\030\002 " + + "\001(\0162\037.flyteidl.admin.LaunchPlanState\"\032\n\030" + + "LaunchPlanUpdateResponse\"L\n\027ActiveLaunch" + + "PlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.admin" + + ".NamedEntityIdentifier\"\203\001\n\033ActiveLaunchP" + + "lanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domai" + + "n\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022%\n" + + "\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort*+\n\017" + + "LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTIVE\020" + + "\001B=Z;github.com/flyteorg/flyte/flyteidl/" + + "gen/pb-go/flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -14636,6 +14892,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.core.Security.getDescriptor(), flyteidl.admin.ScheduleOuterClass.getDescriptor(), flyteidl.admin.Common.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), }, assigner); @@ -14686,7 +14943,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_LaunchPlanMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor, - new java.lang.String[] { "Schedule", "Notifications", }); + new java.lang.String[] { "Schedule", "Notifications", "LaunchConditions", }); internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_flyteidl_admin_LaunchPlanUpdateRequest_fieldAccessorTable = new @@ -14718,6 +14975,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.core.Security.getDescriptor(); flyteidl.admin.ScheduleOuterClass.getDescriptor(); flyteidl.admin.Common.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); } diff --git a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java new file mode 100644 index 0000000000..127a733077 --- /dev/null +++ b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java @@ -0,0 +1,16865 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/artifact/artifacts.proto + +package flyteidl.artifact; + +public final class Artifacts { + private Artifacts() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ArtifactOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.Artifact) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + boolean hasArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder(); + + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + boolean hasSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpec getSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder(); + + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + java.util.List + getTagsList(); + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + int getTagsCount(); + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + java.lang.String getTags(int index); + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + com.google.protobuf.ByteString + getTagsBytes(int index); + } + /** + * Protobuf type {@code flyteidl.artifact.Artifact} + */ + public static final class Artifact extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.Artifact) + ArtifactOrBuilder { + private static final long serialVersionUID = 0L; + // Use Artifact.newBuilder() to construct. + private Artifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Artifact() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Artifact( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; + if (artifactId_ != null) { + subBuilder = artifactId_.toBuilder(); + } + artifactId_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactId_); + artifactId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.artifact.Artifacts.ArtifactSpec.Builder subBuilder = null; + if (spec_ != null) { + subBuilder = spec_.toBuilder(); + } + spec_ = input.readMessage(flyteidl.artifact.Artifacts.ArtifactSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(spec_); + spec_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + tags_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) != 0)) { + tags_ = tags_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.Artifact.class, flyteidl.artifact.Artifacts.Artifact.Builder.class); + } + + private int bitField0_; + public static final int ARTIFACT_ID_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + return getArtifactId(); + } + + public static final int SPEC_FIELD_NUMBER = 2; + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + return getSpec(); + } + + public static final int TAGS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList tags_; + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_; + } + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactId_ != null) { + output.writeMessage(1, getArtifactId()); + } + if (spec_ != null) { + output.writeMessage(2, getSpec()); + } + for (int i = 0; i < tags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactId()); + } + if (spec_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSpec()); + } + { + int dataSize = 0; + for (int i = 0; i < tags_.size(); i++) { + dataSize += computeStringSizeNoTag(tags_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.Artifact)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.Artifact other = (flyteidl.artifact.Artifacts.Artifact) obj; + + if (hasArtifactId() != other.hasArtifactId()) return false; + if (hasArtifactId()) { + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + } + if (hasSpec() != other.hasSpec()) return false; + if (hasSpec()) { + if (!getSpec() + .equals(other.getSpec())) return false; + } + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifactId()) { + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + } + if (hasSpec()) { + hash = (37 * hash) + SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSpec().hashCode(); + } + if (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.Artifact parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.Artifact prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.Artifact} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.Artifact) + flyteidl.artifact.Artifacts.ArtifactOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.Artifact.class, flyteidl.artifact.Artifacts.Artifact.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.Artifact.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactIdBuilder_ == null) { + artifactId_ = null; + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + if (specBuilder_ == null) { + spec_ = null; + } else { + spec_ = null; + specBuilder_ = null; + } + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.Artifact getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.Artifact build() { + flyteidl.artifact.Artifacts.Artifact result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.Artifact buildPartial() { + flyteidl.artifact.Artifacts.Artifact result = new flyteidl.artifact.Artifacts.Artifact(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (artifactIdBuilder_ == null) { + result.artifactId_ = artifactId_; + } else { + result.artifactId_ = artifactIdBuilder_.build(); + } + if (specBuilder_ == null) { + result.spec_ = spec_; + } else { + result.spec_ = specBuilder_.build(); + } + if (((bitField0_ & 0x00000004) != 0)) { + tags_ = tags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.tags_ = tags_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.Artifact) { + return mergeFrom((flyteidl.artifact.Artifacts.Artifact)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.Artifact other) { + if (other == flyteidl.artifact.Artifacts.Artifact.getDefaultInstance()) return this; + if (other.hasArtifactId()) { + mergeArtifactId(other.getArtifactId()); + } + if (other.hasSpec()) { + mergeSpec(other.getSpec()); + } + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.Artifact parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.Artifact) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdBuilder_; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return artifactIdBuilder_ != null || artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (artifactIdBuilder_ == null) { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } else { + return artifactIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactId_ = value; + onChanged(); + } else { + artifactIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdBuilder_ == null) { + artifactId_ = builderForValue.build(); + onChanged(); + } else { + artifactIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (artifactId_ != null) { + artifactId_ = + flyteidl.core.ArtifactId.ArtifactID.newBuilder(artifactId_).mergeFrom(value).buildPartial(); + } else { + artifactId_ = value; + } + onChanged(); + } else { + artifactIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder clearArtifactId() { + if (artifactIdBuilder_ == null) { + artifactId_ = null; + onChanged(); + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { + + onChanged(); + return getArtifactIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if (artifactIdBuilder_ != null) { + return artifactIdBuilder_.getMessageOrBuilder(); + } else { + return artifactId_ == null ? + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdFieldBuilder() { + if (artifactIdBuilder_ == null) { + artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + getArtifactId(), + getParentForChildren(), + isClean()); + artifactId_ = null; + } + return artifactIdBuilder_; + } + + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> specBuilder_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return specBuilder_ != null || spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + if (specBuilder_ == null) { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } else { + return specBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + spec_ = value; + onChanged(); + } else { + specBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec( + flyteidl.artifact.Artifacts.ArtifactSpec.Builder builderForValue) { + if (specBuilder_ == null) { + spec_ = builderForValue.build(); + onChanged(); + } else { + specBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder mergeSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (spec_ != null) { + spec_ = + flyteidl.artifact.Artifacts.ArtifactSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); + } else { + spec_ = value; + } + onChanged(); + } else { + specBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder clearSpec() { + if (specBuilder_ == null) { + spec_ = null; + onChanged(); + } else { + spec_ = null; + specBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec.Builder getSpecBuilder() { + + onChanged(); + return getSpecFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + if (specBuilder_ != null) { + return specBuilder_.getMessageOrBuilder(); + } else { + return spec_ == null ? + flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> + getSpecFieldBuilder() { + if (specBuilder_ == null) { + specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder>( + getSpec(), + getParentForChildren(), + isClean()); + spec_ = null; + } + return specBuilder_; + } + + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(tags_); + bitField0_ |= 0x00000004; + } + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_.getUnmodifiableView(); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder setTags( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder addTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder addAllTags( + java.lang.Iterable values) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); + onChanged(); + return this; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.Artifact) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.Artifact) + private static final flyteidl.artifact.Artifacts.Artifact DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.Artifact(); + } + + public static flyteidl.artifact.Artifacts.Artifact getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Artifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Artifact(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.Artifact getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + boolean hasArtifactKey(); + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKey getArtifactKey(); + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder(); + + /** + * string version = 3; + */ + java.lang.String getVersion(); + /** + * string version = 3; + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + boolean hasSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpec getSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder(); + + /** + * map<string, string> partitions = 4; + */ + int getPartitionsCount(); + /** + * map<string, string> partitions = 4; + */ + boolean containsPartitions( + java.lang.String key); + /** + * Use {@link #getPartitionsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getPartitions(); + /** + * map<string, string> partitions = 4; + */ + java.util.Map + getPartitionsMap(); + /** + * map<string, string> partitions = 4; + */ + + java.lang.String getPartitionsOrDefault( + java.lang.String key, + java.lang.String defaultValue); + /** + * map<string, string> partitions = 4; + */ + + java.lang.String getPartitionsOrThrow( + java.lang.String key); + + /** + * string tag = 5; + */ + java.lang.String getTag(); + /** + * string tag = 5; + */ + com.google.protobuf.ByteString + getTagBytes(); + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactRequest} + */ + public static final class CreateArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.CreateArtifactRequest) + CreateArtifactRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateArtifactRequest.newBuilder() to construct. + private CreateArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateArtifactRequest() { + version_ = ""; + tag_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateArtifactRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactKey.Builder subBuilder = null; + if (artifactKey_ != null) { + subBuilder = artifactKey_.toBuilder(); + } + artifactKey_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactKey_); + artifactKey_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.artifact.Artifacts.ArtifactSpec.Builder subBuilder = null; + if (spec_ != null) { + subBuilder = spec_.toBuilder(); + } + spec_ = input.readMessage(flyteidl.artifact.Artifacts.ArtifactSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(spec_); + spec_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + partitions_ = com.google.protobuf.MapField.newMapField( + PartitionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; + } + com.google.protobuf.MapEntry + partitions__ = input.readMessage( + PartitionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + partitions_.getMutableMap().put( + partitions__.getKey(), partitions__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + tag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 4: + return internalGetPartitions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactRequest.class, flyteidl.artifact.Artifacts.CreateArtifactRequest.Builder.class); + } + + private int bitField0_; + public static final int ARTIFACT_KEY_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKey_ != null; + } + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + return getArtifactKey(); + } + + public static final int VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object version_; + /** + * string version = 3; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + * string version = 3; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SPEC_FIELD_NUMBER = 2; + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + return getSpec(); + } + + public static final int PARTITIONS_FIELD_NUMBER = 4; + private static final class PartitionsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> partitions_; + private com.google.protobuf.MapField + internalGetPartitions() { + if (partitions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PartitionsDefaultEntryHolder.defaultEntry); + } + return partitions_; + } + + public int getPartitionsCount() { + return internalGetPartitions().getMap().size(); + } + /** + * map<string, string> partitions = 4; + */ + + public boolean containsPartitions( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetPartitions().getMap().containsKey(key); + } + /** + * Use {@link #getPartitionsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getPartitions() { + return getPartitionsMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.util.Map getPartitionsMap() { + return internalGetPartitions().getMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int TAG_FIELD_NUMBER = 5; + private volatile java.lang.Object tag_; + /** + * string tag = 5; + */ + public java.lang.String getTag() { + java.lang.Object ref = tag_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tag_ = s; + return s; + } + } + /** + * string tag = 5; + */ + public com.google.protobuf.ByteString + getTagBytes() { + java.lang.Object ref = tag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactKey_ != null) { + output.writeMessage(1, getArtifactKey()); + } + if (spec_ != null) { + output.writeMessage(2, getSpec()); + } + if (!getVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetPartitions(), + PartitionsDefaultEntryHolder.defaultEntry, + 4); + if (!getTagBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tag_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactKey_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactKey()); + } + if (spec_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSpec()); + } + if (!getVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); + } + for (java.util.Map.Entry entry + : internalGetPartitions().getMap().entrySet()) { + com.google.protobuf.MapEntry + partitions__ = PartitionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, partitions__); + } + if (!getTagBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, tag_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.CreateArtifactRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateArtifactRequest other = (flyteidl.artifact.Artifacts.CreateArtifactRequest) obj; + + if (hasArtifactKey() != other.hasArtifactKey()) return false; + if (hasArtifactKey()) { + if (!getArtifactKey() + .equals(other.getArtifactKey())) return false; + } + if (!getVersion() + .equals(other.getVersion())) return false; + if (hasSpec() != other.hasSpec()) return false; + if (hasSpec()) { + if (!getSpec() + .equals(other.getSpec())) return false; + } + if (!internalGetPartitions().equals( + other.internalGetPartitions())) return false; + if (!getTag() + .equals(other.getTag())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifactKey()) { + hash = (37 * hash) + ARTIFACT_KEY_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKey().hashCode(); + } + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + if (hasSpec()) { + hash = (37 * hash) + SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSpec().hashCode(); + } + if (!internalGetPartitions().getMap().isEmpty()) { + hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetPartitions().hashCode(); + } + hash = (37 * hash) + TAG_FIELD_NUMBER; + hash = (53 * hash) + getTag().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.CreateArtifactRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateArtifactRequest) + flyteidl.artifact.Artifacts.CreateArtifactRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 4: + return internalGetPartitions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 4: + return internalGetMutablePartitions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactRequest.class, flyteidl.artifact.Artifacts.CreateArtifactRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.CreateArtifactRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + version_ = ""; + + if (specBuilder_ == null) { + spec_ = null; + } else { + spec_ = null; + specBuilder_ = null; + } + internalGetMutablePartitions().clear(); + tag_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateArtifactRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactRequest build() { + flyteidl.artifact.Artifacts.CreateArtifactRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactRequest buildPartial() { + flyteidl.artifact.Artifacts.CreateArtifactRequest result = new flyteidl.artifact.Artifacts.CreateArtifactRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (artifactKeyBuilder_ == null) { + result.artifactKey_ = artifactKey_; + } else { + result.artifactKey_ = artifactKeyBuilder_.build(); + } + result.version_ = version_; + if (specBuilder_ == null) { + result.spec_ = spec_; + } else { + result.spec_ = specBuilder_.build(); + } + result.partitions_ = internalGetPartitions(); + result.partitions_.makeImmutable(); + result.tag_ = tag_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.CreateArtifactRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateArtifactRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateArtifactRequest other) { + if (other == flyteidl.artifact.Artifacts.CreateArtifactRequest.getDefaultInstance()) return this; + if (other.hasArtifactKey()) { + mergeArtifactKey(other.getArtifactKey()); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + if (other.hasSpec()) { + mergeSpec(other.getSpec()); + } + internalGetMutablePartitions().mergeFrom( + other.internalGetPartitions()); + if (!other.getTag().isEmpty()) { + tag_ = other.tag_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.CreateArtifactRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateArtifactRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> artifactKeyBuilder_; + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKeyBuilder_ != null || artifactKey_ != null; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + if (artifactKeyBuilder_ == null) { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } else { + return artifactKeyBuilder_.getMessage(); + } + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactKey_ = value; + onChanged(); + } else { + artifactKeyBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey( + flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { + if (artifactKeyBuilder_ == null) { + artifactKey_ = builderForValue.build(); + onChanged(); + } else { + artifactKeyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder mergeArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (artifactKey_ != null) { + artifactKey_ = + flyteidl.core.ArtifactId.ArtifactKey.newBuilder(artifactKey_).mergeFrom(value).buildPartial(); + } else { + artifactKey_ = value; + } + onChanged(); + } else { + artifactKeyBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder clearArtifactKey() { + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + onChanged(); + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + + return this; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeyBuilder() { + + onChanged(); + return getArtifactKeyFieldBuilder().getBuilder(); + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + if (artifactKeyBuilder_ != null) { + return artifactKeyBuilder_.getMessageOrBuilder(); + } else { + return artifactKey_ == null ? + flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> + getArtifactKeyFieldBuilder() { + if (artifactKeyBuilder_ == null) { + artifactKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder>( + getArtifactKey(), + getParentForChildren(), + isClean()); + artifactKey_ = null; + } + return artifactKeyBuilder_; + } + + private java.lang.Object version_ = ""; + /** + * string version = 3; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string version = 3; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string version = 3; + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + * string version = 3; + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * string version = 3; + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> specBuilder_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return specBuilder_ != null || spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + if (specBuilder_ == null) { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } else { + return specBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + spec_ = value; + onChanged(); + } else { + specBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec( + flyteidl.artifact.Artifacts.ArtifactSpec.Builder builderForValue) { + if (specBuilder_ == null) { + spec_ = builderForValue.build(); + onChanged(); + } else { + specBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder mergeSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (spec_ != null) { + spec_ = + flyteidl.artifact.Artifacts.ArtifactSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); + } else { + spec_ = value; + } + onChanged(); + } else { + specBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder clearSpec() { + if (specBuilder_ == null) { + spec_ = null; + onChanged(); + } else { + spec_ = null; + specBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec.Builder getSpecBuilder() { + + onChanged(); + return getSpecFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + if (specBuilder_ != null) { + return specBuilder_.getMessageOrBuilder(); + } else { + return spec_ == null ? + flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> + getSpecFieldBuilder() { + if (specBuilder_ == null) { + specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder>( + getSpec(), + getParentForChildren(), + isClean()); + spec_ = null; + } + return specBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> partitions_; + private com.google.protobuf.MapField + internalGetPartitions() { + if (partitions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PartitionsDefaultEntryHolder.defaultEntry); + } + return partitions_; + } + private com.google.protobuf.MapField + internalGetMutablePartitions() { + onChanged();; + if (partitions_ == null) { + partitions_ = com.google.protobuf.MapField.newMapField( + PartitionsDefaultEntryHolder.defaultEntry); + } + if (!partitions_.isMutable()) { + partitions_ = partitions_.copy(); + } + return partitions_; + } + + public int getPartitionsCount() { + return internalGetPartitions().getMap().size(); + } + /** + * map<string, string> partitions = 4; + */ + + public boolean containsPartitions( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetPartitions().getMap().containsKey(key); + } + /** + * Use {@link #getPartitionsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getPartitions() { + return getPartitionsMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.util.Map getPartitionsMap() { + return internalGetPartitions().getMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearPartitions() { + internalGetMutablePartitions().getMutableMap() + .clear(); + return this; + } + /** + * map<string, string> partitions = 4; + */ + + public Builder removePartitions( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutablePartitions().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutablePartitions() { + return internalGetMutablePartitions().getMutableMap(); + } + /** + * map<string, string> partitions = 4; + */ + public Builder putPartitions( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutablePartitions().getMutableMap() + .put(key, value); + return this; + } + /** + * map<string, string> partitions = 4; + */ + + public Builder putAllPartitions( + java.util.Map values) { + internalGetMutablePartitions().getMutableMap() + .putAll(values); + return this; + } + + private java.lang.Object tag_ = ""; + /** + * string tag = 5; + */ + public java.lang.String getTag() { + java.lang.Object ref = tag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string tag = 5; + */ + public com.google.protobuf.ByteString + getTagBytes() { + java.lang.Object ref = tag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string tag = 5; + */ + public Builder setTag( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + tag_ = value; + onChanged(); + return this; + } + /** + * string tag = 5; + */ + public Builder clearTag() { + + tag_ = getDefaultInstance().getTag(); + onChanged(); + return this; + } + /** + * string tag = 5; + */ + public Builder setTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + tag_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.CreateArtifactRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactRequest) + private static final flyteidl.artifact.Artifacts.CreateArtifactRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateArtifactRequest(); + } + + public static flyteidl.artifact.Artifacts.CreateArtifactRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateArtifactRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ArtifactSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.Literal value = 1; + */ + boolean hasValue(); + /** + * .flyteidl.core.Literal value = 1; + */ + flyteidl.core.Literals.Literal getValue(); + /** + * .flyteidl.core.Literal value = 1; + */ + flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder(); + + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + boolean hasType(); + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + flyteidl.core.Types.LiteralType getType(); + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); + + /** + *
+     * Outputs of tasks will have this.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + boolean hasTaskExecution(); + /** + *
+     * Outputs of tasks will have this.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecution(); + /** + *
+     * Outputs of tasks will have this.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionOrBuilder(); + + /** + *
+     * Workflow outputs will have this.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + boolean hasExecution(); + /** + *
+     * Workflow outputs will have this.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecution(); + /** + *
+     * Workflow outputs will have this.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionOrBuilder(); + + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * string principal = 7; + */ + java.lang.String getPrincipal(); + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * string principal = 7; + */ + com.google.protobuf.ByteString + getPrincipalBytes(); + + /** + * string short_description = 8; + */ + java.lang.String getShortDescription(); + /** + * string short_description = 8; + */ + com.google.protobuf.ByteString + getShortDescriptionBytes(); + + /** + * string long_description = 9; + */ + java.lang.String getLongDescription(); + /** + * string long_description = 9; + */ + com.google.protobuf.ByteString + getLongDescriptionBytes(); + + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + boolean hasUserMetadata(); + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + com.google.protobuf.Any getUserMetadata(); + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + com.google.protobuf.AnyOrBuilder getUserMetadataOrBuilder(); + + /** + * string metadata_type = 11; + */ + java.lang.String getMetadataType(); + /** + * string metadata_type = 11; + */ + com.google.protobuf.ByteString + getMetadataTypeBytes(); + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactSpec} + */ + public static final class ArtifactSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ArtifactSpec) + ArtifactSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactSpec.newBuilder() to construct. + private ArtifactSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactSpec() { + principal_ = ""; + shortDescription_ = ""; + longDescription_ = ""; + metadataType_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.Literals.Literal.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.Types.LiteralType.Builder subBuilder = null; + if (type_ != null) { + subBuilder = type_.toBuilder(); + } + type_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(type_); + type_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; + if (taskExecution_ != null) { + subBuilder = taskExecution_.toBuilder(); + } + taskExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(taskExecution_); + taskExecution_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (execution_ != null) { + subBuilder = execution_.toBuilder(); + } + execution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(execution_); + execution_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + principal_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + shortDescription_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + longDescription_ = s; + break; + } + case 82: { + com.google.protobuf.Any.Builder subBuilder = null; + if (userMetadata_ != null) { + subBuilder = userMetadata_.toBuilder(); + } + userMetadata_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(userMetadata_); + userMetadata_ = subBuilder.buildPartial(); + } + + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + + metadataType_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactSpec.class, flyteidl.artifact.Artifacts.ArtifactSpec.Builder.class); + } + + public static final int VALUE_FIELD_NUMBER = 1; + private flyteidl.core.Literals.Literal value_; + /** + * .flyteidl.core.Literal value = 1; + */ + public boolean hasValue() { + return value_ != null; + } + /** + * .flyteidl.core.Literal value = 1; + */ + public flyteidl.core.Literals.Literal getValue() { + return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; + } + /** + * .flyteidl.core.Literal value = 1; + */ + public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { + return getValue(); + } + + public static final int TYPE_FIELD_NUMBER = 2; + private flyteidl.core.Types.LiteralType type_; + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public boolean hasType() { + return type_ != null; + } + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralType getType() { + return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; + } + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { + return getType(); + } + + public static final int TASK_EXECUTION_FIELD_NUMBER = 5; + private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecution_; + /** + *
+     * Outputs of tasks will have this.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public boolean hasTaskExecution() { + return taskExecution_ != null; + } + /** + *
+     * Outputs of tasks will have this.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecution() { + return taskExecution_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecution_; + } + /** + *
+     * Outputs of tasks will have this.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionOrBuilder() { + return getTaskExecution(); + } + + public static final int EXECUTION_FIELD_NUMBER = 6; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier execution_; + /** + *
+     * Workflow outputs will have this.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public boolean hasExecution() { + return execution_ != null; + } + /** + *
+     * Workflow outputs will have this.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecution() { + return execution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : execution_; + } + /** + *
+     * Workflow outputs will have this.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionOrBuilder() { + return getExecution(); + } + + public static final int PRINCIPAL_FIELD_NUMBER = 7; + private volatile java.lang.Object principal_; + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * string principal = 7; + */ + public java.lang.String getPrincipal() { + java.lang.Object ref = principal_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + principal_ = s; + return s; + } + } + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * string principal = 7; + */ + public com.google.protobuf.ByteString + getPrincipalBytes() { + java.lang.Object ref = principal_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + principal_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHORT_DESCRIPTION_FIELD_NUMBER = 8; + private volatile java.lang.Object shortDescription_; + /** + * string short_description = 8; + */ + public java.lang.String getShortDescription() { + java.lang.Object ref = shortDescription_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shortDescription_ = s; + return s; + } + } + /** + * string short_description = 8; + */ + public com.google.protobuf.ByteString + getShortDescriptionBytes() { + java.lang.Object ref = shortDescription_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shortDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LONG_DESCRIPTION_FIELD_NUMBER = 9; + private volatile java.lang.Object longDescription_; + /** + * string long_description = 9; + */ + public java.lang.String getLongDescription() { + java.lang.Object ref = longDescription_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + longDescription_ = s; + return s; + } + } + /** + * string long_description = 9; + */ + public com.google.protobuf.ByteString + getLongDescriptionBytes() { + java.lang.Object ref = longDescription_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + longDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int USER_METADATA_FIELD_NUMBER = 10; + private com.google.protobuf.Any userMetadata_; + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public boolean hasUserMetadata() { + return userMetadata_ != null; + } + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public com.google.protobuf.Any getUserMetadata() { + return userMetadata_ == null ? com.google.protobuf.Any.getDefaultInstance() : userMetadata_; + } + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public com.google.protobuf.AnyOrBuilder getUserMetadataOrBuilder() { + return getUserMetadata(); + } + + public static final int METADATA_TYPE_FIELD_NUMBER = 11; + private volatile java.lang.Object metadataType_; + /** + * string metadata_type = 11; + */ + public java.lang.String getMetadataType() { + java.lang.Object ref = metadataType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + metadataType_ = s; + return s; + } + } + /** + * string metadata_type = 11; + */ + public com.google.protobuf.ByteString + getMetadataTypeBytes() { + java.lang.Object ref = metadataType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + metadataType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (value_ != null) { + output.writeMessage(1, getValue()); + } + if (type_ != null) { + output.writeMessage(2, getType()); + } + if (taskExecution_ != null) { + output.writeMessage(5, getTaskExecution()); + } + if (execution_ != null) { + output.writeMessage(6, getExecution()); + } + if (!getPrincipalBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + } + if (!getShortDescriptionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, shortDescription_); + } + if (!getLongDescriptionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, longDescription_); + } + if (userMetadata_ != null) { + output.writeMessage(10, getUserMetadata()); + } + if (!getMetadataTypeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, metadataType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (value_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getValue()); + } + if (type_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getType()); + } + if (taskExecution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTaskExecution()); + } + if (execution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getExecution()); + } + if (!getPrincipalBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + } + if (!getShortDescriptionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, shortDescription_); + } + if (!getLongDescriptionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, longDescription_); + } + if (userMetadata_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getUserMetadata()); + } + if (!getMetadataTypeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, metadataType_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ArtifactSpec)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ArtifactSpec other = (flyteidl.artifact.Artifacts.ArtifactSpec) obj; + + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (hasType() != other.hasType()) return false; + if (hasType()) { + if (!getType() + .equals(other.getType())) return false; + } + if (hasTaskExecution() != other.hasTaskExecution()) return false; + if (hasTaskExecution()) { + if (!getTaskExecution() + .equals(other.getTaskExecution())) return false; + } + if (hasExecution() != other.hasExecution()) return false; + if (hasExecution()) { + if (!getExecution() + .equals(other.getExecution())) return false; + } + if (!getPrincipal() + .equals(other.getPrincipal())) return false; + if (!getShortDescription() + .equals(other.getShortDescription())) return false; + if (!getLongDescription() + .equals(other.getLongDescription())) return false; + if (hasUserMetadata() != other.hasUserMetadata()) return false; + if (hasUserMetadata()) { + if (!getUserMetadata() + .equals(other.getUserMetadata())) return false; + } + if (!getMetadataType() + .equals(other.getMetadataType())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + } + if (hasTaskExecution()) { + hash = (37 * hash) + TASK_EXECUTION_FIELD_NUMBER; + hash = (53 * hash) + getTaskExecution().hashCode(); + } + if (hasExecution()) { + hash = (37 * hash) + EXECUTION_FIELD_NUMBER; + hash = (53 * hash) + getExecution().hashCode(); + } + hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; + hash = (53 * hash) + getPrincipal().hashCode(); + hash = (37 * hash) + SHORT_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getShortDescription().hashCode(); + hash = (37 * hash) + LONG_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getLongDescription().hashCode(); + if (hasUserMetadata()) { + hash = (37 * hash) + USER_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getUserMetadata().hashCode(); + } + hash = (37 * hash) + METADATA_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getMetadataType().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ArtifactSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ArtifactSpec) + flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactSpec.class, flyteidl.artifact.Artifacts.ArtifactSpec.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ArtifactSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (valueBuilder_ == null) { + value_ = null; + } else { + value_ = null; + valueBuilder_ = null; + } + if (typeBuilder_ == null) { + type_ = null; + } else { + type_ = null; + typeBuilder_ = null; + } + if (taskExecutionBuilder_ == null) { + taskExecution_ = null; + } else { + taskExecution_ = null; + taskExecutionBuilder_ = null; + } + if (executionBuilder_ == null) { + execution_ = null; + } else { + execution_ = null; + executionBuilder_ = null; + } + principal_ = ""; + + shortDescription_ = ""; + + longDescription_ = ""; + + if (userMetadataBuilder_ == null) { + userMetadata_ = null; + } else { + userMetadata_ = null; + userMetadataBuilder_ = null; + } + metadataType_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec build() { + flyteidl.artifact.Artifacts.ArtifactSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec buildPartial() { + flyteidl.artifact.Artifacts.ArtifactSpec result = new flyteidl.artifact.Artifacts.ArtifactSpec(this); + if (valueBuilder_ == null) { + result.value_ = value_; + } else { + result.value_ = valueBuilder_.build(); + } + if (typeBuilder_ == null) { + result.type_ = type_; + } else { + result.type_ = typeBuilder_.build(); + } + if (taskExecutionBuilder_ == null) { + result.taskExecution_ = taskExecution_; + } else { + result.taskExecution_ = taskExecutionBuilder_.build(); + } + if (executionBuilder_ == null) { + result.execution_ = execution_; + } else { + result.execution_ = executionBuilder_.build(); + } + result.principal_ = principal_; + result.shortDescription_ = shortDescription_; + result.longDescription_ = longDescription_; + if (userMetadataBuilder_ == null) { + result.userMetadata_ = userMetadata_; + } else { + result.userMetadata_ = userMetadataBuilder_.build(); + } + result.metadataType_ = metadataType_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ArtifactSpec) { + return mergeFrom((flyteidl.artifact.Artifacts.ArtifactSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ArtifactSpec other) { + if (other == flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance()) return this; + if (other.hasValue()) { + mergeValue(other.getValue()); + } + if (other.hasType()) { + mergeType(other.getType()); + } + if (other.hasTaskExecution()) { + mergeTaskExecution(other.getTaskExecution()); + } + if (other.hasExecution()) { + mergeExecution(other.getExecution()); + } + if (!other.getPrincipal().isEmpty()) { + principal_ = other.principal_; + onChanged(); + } + if (!other.getShortDescription().isEmpty()) { + shortDescription_ = other.shortDescription_; + onChanged(); + } + if (!other.getLongDescription().isEmpty()) { + longDescription_ = other.longDescription_; + onChanged(); + } + if (other.hasUserMetadata()) { + mergeUserMetadata(other.getUserMetadata()); + } + if (!other.getMetadataType().isEmpty()) { + metadataType_ = other.metadataType_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ArtifactSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ArtifactSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.Literals.Literal value_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> valueBuilder_; + /** + * .flyteidl.core.Literal value = 1; + */ + public boolean hasValue() { + return valueBuilder_ != null || value_ != null; + } + /** + * .flyteidl.core.Literal value = 1; + */ + public flyteidl.core.Literals.Literal getValue() { + if (valueBuilder_ == null) { + return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.Literal value = 1; + */ + public Builder setValue(flyteidl.core.Literals.Literal value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + valueBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.Literal value = 1; + */ + public Builder setValue( + flyteidl.core.Literals.Literal.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.Literal value = 1; + */ + public Builder mergeValue(flyteidl.core.Literals.Literal value) { + if (valueBuilder_ == null) { + if (value_ != null) { + value_ = + flyteidl.core.Literals.Literal.newBuilder(value_).mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + valueBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.Literal value = 1; + */ + public Builder clearValue() { + if (valueBuilder_ == null) { + value_ = null; + onChanged(); + } else { + value_ = null; + valueBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.Literal value = 1; + */ + public flyteidl.core.Literals.Literal.Builder getValueBuilder() { + + onChanged(); + return getValueFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Literal value = 1; + */ + public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + flyteidl.core.Literals.Literal.getDefaultInstance() : value_; + } + } + /** + * .flyteidl.core.Literal value = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> + getValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + + private flyteidl.core.Types.LiteralType type_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> typeBuilder_; + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public boolean hasType() { + return typeBuilder_ != null || type_ != null; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralType getType() { + if (typeBuilder_ == null) { + return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; + } else { + return typeBuilder_.getMessage(); + } + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public Builder setType(flyteidl.core.Types.LiteralType value) { + if (typeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + type_ = value; + onChanged(); + } else { + typeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public Builder setType( + flyteidl.core.Types.LiteralType.Builder builderForValue) { + if (typeBuilder_ == null) { + type_ = builderForValue.build(); + onChanged(); + } else { + typeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public Builder mergeType(flyteidl.core.Types.LiteralType value) { + if (typeBuilder_ == null) { + if (type_ != null) { + type_ = + flyteidl.core.Types.LiteralType.newBuilder(type_).mergeFrom(value).buildPartial(); + } else { + type_ = value; + } + onChanged(); + } else { + typeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public Builder clearType() { + if (typeBuilder_ == null) { + type_ = null; + onChanged(); + } else { + type_ = null; + typeBuilder_ = null; + } + + return this; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { + + onChanged(); + return getTypeFieldBuilder().getBuilder(); + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { + if (typeBuilder_ != null) { + return typeBuilder_.getMessageOrBuilder(); + } else { + return type_ == null ? + flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; + } + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> + getTypeFieldBuilder() { + if (typeBuilder_ == null) { + typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( + getType(), + getParentForChildren(), + isClean()); + type_ = null; + } + return typeBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecution_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> taskExecutionBuilder_; + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public boolean hasTaskExecution() { + return taskExecutionBuilder_ != null || taskExecution_ != null; + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecution() { + if (taskExecutionBuilder_ == null) { + return taskExecution_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecution_; + } else { + return taskExecutionBuilder_.getMessage(); + } + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public Builder setTaskExecution(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskExecutionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + taskExecution_ = value; + onChanged(); + } else { + taskExecutionBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public Builder setTaskExecution( + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { + if (taskExecutionBuilder_ == null) { + taskExecution_ = builderForValue.build(); + onChanged(); + } else { + taskExecutionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public Builder mergeTaskExecution(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskExecutionBuilder_ == null) { + if (taskExecution_ != null) { + taskExecution_ = + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(taskExecution_).mergeFrom(value).buildPartial(); + } else { + taskExecution_ = value; + } + onChanged(); + } else { + taskExecutionBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public Builder clearTaskExecution() { + if (taskExecutionBuilder_ == null) { + taskExecution_ = null; + onChanged(); + } else { + taskExecution_ = null; + taskExecutionBuilder_ = null; + } + + return this; + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskExecutionBuilder() { + + onChanged(); + return getTaskExecutionFieldBuilder().getBuilder(); + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionOrBuilder() { + if (taskExecutionBuilder_ != null) { + return taskExecutionBuilder_.getMessageOrBuilder(); + } else { + return taskExecution_ == null ? + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecution_; + } + } + /** + *
+       * Outputs of tasks will have this.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> + getTaskExecutionFieldBuilder() { + if (taskExecutionBuilder_ == null) { + taskExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( + getTaskExecution(), + getParentForChildren(), + isClean()); + taskExecution_ = null; + } + return taskExecutionBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier execution_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionBuilder_; + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public boolean hasExecution() { + return executionBuilder_ != null || execution_ != null; + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecution() { + if (executionBuilder_ == null) { + return execution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : execution_; + } else { + return executionBuilder_.getMessage(); + } + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public Builder setExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (executionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execution_ = value; + onChanged(); + } else { + executionBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public Builder setExecution( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (executionBuilder_ == null) { + execution_ = builderForValue.build(); + onChanged(); + } else { + executionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public Builder mergeExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (executionBuilder_ == null) { + if (execution_ != null) { + execution_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(execution_).mergeFrom(value).buildPartial(); + } else { + execution_ = value; + } + onChanged(); + } else { + executionBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public Builder clearExecution() { + if (executionBuilder_ == null) { + execution_ = null; + onChanged(); + } else { + execution_ = null; + executionBuilder_ = null; + } + + return this; + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionBuilder() { + + onChanged(); + return getExecutionFieldBuilder().getBuilder(); + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionOrBuilder() { + if (executionBuilder_ != null) { + return executionBuilder_.getMessageOrBuilder(); + } else { + return execution_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : execution_; + } + } + /** + *
+       * Workflow outputs will have this.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getExecutionFieldBuilder() { + if (executionBuilder_ == null) { + executionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getExecution(), + getParentForChildren(), + isClean()); + execution_ = null; + } + return executionBuilder_; + } + + private java.lang.Object principal_ = ""; + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * string principal = 7; + */ + public java.lang.String getPrincipal() { + java.lang.Object ref = principal_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + principal_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * string principal = 7; + */ + public com.google.protobuf.ByteString + getPrincipalBytes() { + java.lang.Object ref = principal_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + principal_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * string principal = 7; + */ + public Builder setPrincipal( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + principal_ = value; + onChanged(); + return this; + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * string principal = 7; + */ + public Builder clearPrincipal() { + + principal_ = getDefaultInstance().getPrincipal(); + onChanged(); + return this; + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * string principal = 7; + */ + public Builder setPrincipalBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + principal_ = value; + onChanged(); + return this; + } + + private java.lang.Object shortDescription_ = ""; + /** + * string short_description = 8; + */ + public java.lang.String getShortDescription() { + java.lang.Object ref = shortDescription_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shortDescription_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string short_description = 8; + */ + public com.google.protobuf.ByteString + getShortDescriptionBytes() { + java.lang.Object ref = shortDescription_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shortDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string short_description = 8; + */ + public Builder setShortDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + shortDescription_ = value; + onChanged(); + return this; + } + /** + * string short_description = 8; + */ + public Builder clearShortDescription() { + + shortDescription_ = getDefaultInstance().getShortDescription(); + onChanged(); + return this; + } + /** + * string short_description = 8; + */ + public Builder setShortDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + shortDescription_ = value; + onChanged(); + return this; + } + + private java.lang.Object longDescription_ = ""; + /** + * string long_description = 9; + */ + public java.lang.String getLongDescription() { + java.lang.Object ref = longDescription_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + longDescription_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string long_description = 9; + */ + public com.google.protobuf.ByteString + getLongDescriptionBytes() { + java.lang.Object ref = longDescription_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + longDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string long_description = 9; + */ + public Builder setLongDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + longDescription_ = value; + onChanged(); + return this; + } + /** + * string long_description = 9; + */ + public Builder clearLongDescription() { + + longDescription_ = getDefaultInstance().getLongDescription(); + onChanged(); + return this; + } + /** + * string long_description = 9; + */ + public Builder setLongDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + longDescription_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Any userMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> userMetadataBuilder_; + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public boolean hasUserMetadata() { + return userMetadataBuilder_ != null || userMetadata_ != null; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public com.google.protobuf.Any getUserMetadata() { + if (userMetadataBuilder_ == null) { + return userMetadata_ == null ? com.google.protobuf.Any.getDefaultInstance() : userMetadata_; + } else { + return userMetadataBuilder_.getMessage(); + } + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public Builder setUserMetadata(com.google.protobuf.Any value) { + if (userMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + userMetadata_ = value; + onChanged(); + } else { + userMetadataBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public Builder setUserMetadata( + com.google.protobuf.Any.Builder builderForValue) { + if (userMetadataBuilder_ == null) { + userMetadata_ = builderForValue.build(); + onChanged(); + } else { + userMetadataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public Builder mergeUserMetadata(com.google.protobuf.Any value) { + if (userMetadataBuilder_ == null) { + if (userMetadata_ != null) { + userMetadata_ = + com.google.protobuf.Any.newBuilder(userMetadata_).mergeFrom(value).buildPartial(); + } else { + userMetadata_ = value; + } + onChanged(); + } else { + userMetadataBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public Builder clearUserMetadata() { + if (userMetadataBuilder_ == null) { + userMetadata_ = null; + onChanged(); + } else { + userMetadata_ = null; + userMetadataBuilder_ = null; + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public com.google.protobuf.Any.Builder getUserMetadataBuilder() { + + onChanged(); + return getUserMetadataFieldBuilder().getBuilder(); + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + public com.google.protobuf.AnyOrBuilder getUserMetadataOrBuilder() { + if (userMetadataBuilder_ != null) { + return userMetadataBuilder_.getMessageOrBuilder(); + } else { + return userMetadata_ == null ? + com.google.protobuf.Any.getDefaultInstance() : userMetadata_; + } + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> + getUserMetadataFieldBuilder() { + if (userMetadataBuilder_ == null) { + userMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( + getUserMetadata(), + getParentForChildren(), + isClean()); + userMetadata_ = null; + } + return userMetadataBuilder_; + } + + private java.lang.Object metadataType_ = ""; + /** + * string metadata_type = 11; + */ + public java.lang.String getMetadataType() { + java.lang.Object ref = metadataType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + metadataType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string metadata_type = 11; + */ + public com.google.protobuf.ByteString + getMetadataTypeBytes() { + java.lang.Object ref = metadataType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + metadataType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string metadata_type = 11; + */ + public Builder setMetadataType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + metadataType_ = value; + onChanged(); + return this; + } + /** + * string metadata_type = 11; + */ + public Builder clearMetadataType() { + + metadataType_ = getDefaultInstance().getMetadataType(); + onChanged(); + return this; + } + /** + * string metadata_type = 11; + */ + public Builder setMetadataTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + metadataType_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ArtifactSpec) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactSpec) + private static final flyteidl.artifact.Artifacts.ArtifactSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ArtifactSpec(); + } + + public static flyteidl.artifact.Artifacts.ArtifactSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactSpec(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateArtifactResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateArtifactResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + boolean hasArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.Artifact getArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactResponse} + */ + public static final class CreateArtifactResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.CreateArtifactResponse) + CreateArtifactResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateArtifactResponse.newBuilder() to construct. + private CreateArtifactResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateArtifactResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateArtifactResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.artifact.Artifacts.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); + } + artifact_ = input.readMessage(flyteidl.artifact.Artifacts.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifact_); + artifact_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactResponse.class, flyteidl.artifact.Artifacts.CreateArtifactResponse.Builder.class); + } + + public static final int ARTIFACT_FIELD_NUMBER = 1; + private flyteidl.artifact.Artifacts.Artifact artifact_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + return getArtifact(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifact_ != null) { + output.writeMessage(1, getArtifact()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifact_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifact()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.CreateArtifactResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateArtifactResponse other = (flyteidl.artifact.Artifacts.CreateArtifactResponse) obj; + + if (hasArtifact() != other.hasArtifact()) return false; + if (hasArtifact()) { + if (!getArtifact() + .equals(other.getArtifact())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifact()) { + hash = (37 * hash) + ARTIFACT_FIELD_NUMBER; + hash = (53 * hash) + getArtifact().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.CreateArtifactResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateArtifactResponse) + flyteidl.artifact.Artifacts.CreateArtifactResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactResponse.class, flyteidl.artifact.Artifacts.CreateArtifactResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.CreateArtifactResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactBuilder_ == null) { + artifact_ = null; + } else { + artifact_ = null; + artifactBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateArtifactResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactResponse build() { + flyteidl.artifact.Artifacts.CreateArtifactResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactResponse buildPartial() { + flyteidl.artifact.Artifacts.CreateArtifactResponse result = new flyteidl.artifact.Artifacts.CreateArtifactResponse(this); + if (artifactBuilder_ == null) { + result.artifact_ = artifact_; + } else { + result.artifact_ = artifactBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.CreateArtifactResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateArtifactResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateArtifactResponse other) { + if (other == flyteidl.artifact.Artifacts.CreateArtifactResponse.getDefaultInstance()) return this; + if (other.hasArtifact()) { + mergeArtifact(other.getArtifact()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.CreateArtifactResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateArtifactResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.artifact.Artifacts.Artifact artifact_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactBuilder_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifactBuilder_ != null || artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + if (artifactBuilder_ == null) { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } else { + return artifactBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifact_ = value; + onChanged(); + } else { + artifactBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactBuilder_ == null) { + artifact_ = builderForValue.build(); + onChanged(); + } else { + artifactBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder mergeArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (artifact_ != null) { + artifact_ = + flyteidl.artifact.Artifacts.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); + } else { + artifact_ = value; + } + onChanged(); + } else { + artifactBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder clearArtifact() { + if (artifactBuilder_ == null) { + artifact_ = null; + onChanged(); + } else { + artifact_ = null; + artifactBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactBuilder() { + + onChanged(); + return getArtifactFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + if (artifactBuilder_ != null) { + return artifactBuilder_.getMessageOrBuilder(); + } else { + return artifact_ == null ? + flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactFieldBuilder() { + if (artifactBuilder_ == null) { + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder>( + getArtifact(), + getParentForChildren(), + isClean()); + artifact_ = null; + } + return artifactBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.CreateArtifactResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactResponse) + private static final flyteidl.artifact.Artifacts.CreateArtifactResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateArtifactResponse(); + } + + public static flyteidl.artifact.Artifacts.CreateArtifactResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateArtifactResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateArtifactResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.GetArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + boolean hasQuery(); + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + flyteidl.core.ArtifactId.ArtifactQuery getQuery(); + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getQueryOrBuilder(); + + /** + *
+     * If false, then long_description is not returned.
+     * 
+ * + * bool details = 2; + */ + boolean getDetails(); + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactRequest} + */ + public static final class GetArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.GetArtifactRequest) + GetArtifactRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetArtifactRequest.newBuilder() to construct. + private GetArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetArtifactRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetArtifactRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactQuery.Builder subBuilder = null; + if (query_ != null) { + subBuilder = query_.toBuilder(); + } + query_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(query_); + query_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + + details_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactRequest.class, flyteidl.artifact.Artifacts.GetArtifactRequest.Builder.class); + } + + public static final int QUERY_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactQuery query_; + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public boolean hasQuery() { + return query_ != null; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQuery getQuery() { + return query_ == null ? flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance() : query_; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getQueryOrBuilder() { + return getQuery(); + } + + public static final int DETAILS_FIELD_NUMBER = 2; + private boolean details_; + /** + *
+     * If false, then long_description is not returned.
+     * 
+ * + * bool details = 2; + */ + public boolean getDetails() { + return details_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (query_ != null) { + output.writeMessage(1, getQuery()); + } + if (details_ != false) { + output.writeBool(2, details_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (query_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getQuery()); + } + if (details_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, details_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.GetArtifactRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.GetArtifactRequest other = (flyteidl.artifact.Artifacts.GetArtifactRequest) obj; + + if (hasQuery() != other.hasQuery()) return false; + if (hasQuery()) { + if (!getQuery() + .equals(other.getQuery())) return false; + } + if (getDetails() + != other.getDetails()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasQuery()) { + hash = (37 * hash) + QUERY_FIELD_NUMBER; + hash = (53 * hash) + getQuery().hashCode(); + } + hash = (37 * hash) + DETAILS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDetails()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.GetArtifactRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.GetArtifactRequest) + flyteidl.artifact.Artifacts.GetArtifactRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactRequest.class, flyteidl.artifact.Artifacts.GetArtifactRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.GetArtifactRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (queryBuilder_ == null) { + query_ = null; + } else { + query_ = null; + queryBuilder_ = null; + } + details_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.GetArtifactRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactRequest build() { + flyteidl.artifact.Artifacts.GetArtifactRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactRequest buildPartial() { + flyteidl.artifact.Artifacts.GetArtifactRequest result = new flyteidl.artifact.Artifacts.GetArtifactRequest(this); + if (queryBuilder_ == null) { + result.query_ = query_; + } else { + result.query_ = queryBuilder_.build(); + } + result.details_ = details_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.GetArtifactRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.GetArtifactRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.GetArtifactRequest other) { + if (other == flyteidl.artifact.Artifacts.GetArtifactRequest.getDefaultInstance()) return this; + if (other.hasQuery()) { + mergeQuery(other.getQuery()); + } + if (other.getDetails() != false) { + setDetails(other.getDetails()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.GetArtifactRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.GetArtifactRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.ArtifactId.ArtifactQuery query_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> queryBuilder_; + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public boolean hasQuery() { + return queryBuilder_ != null || query_ != null; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQuery getQuery() { + if (queryBuilder_ == null) { + return query_ == null ? flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance() : query_; + } else { + return queryBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder setQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { + if (queryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + query_ = value; + onChanged(); + } else { + queryBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder setQuery( + flyteidl.core.ArtifactId.ArtifactQuery.Builder builderForValue) { + if (queryBuilder_ == null) { + query_ = builderForValue.build(); + onChanged(); + } else { + queryBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder mergeQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { + if (queryBuilder_ == null) { + if (query_ != null) { + query_ = + flyteidl.core.ArtifactId.ArtifactQuery.newBuilder(query_).mergeFrom(value).buildPartial(); + } else { + query_ = value; + } + onChanged(); + } else { + queryBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder clearQuery() { + if (queryBuilder_ == null) { + query_ = null; + onChanged(); + } else { + query_ = null; + queryBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQuery.Builder getQueryBuilder() { + + onChanged(); + return getQueryFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getQueryOrBuilder() { + if (queryBuilder_ != null) { + return queryBuilder_.getMessageOrBuilder(); + } else { + return query_ == null ? + flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance() : query_; + } + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> + getQueryFieldBuilder() { + if (queryBuilder_ == null) { + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder>( + getQuery(), + getParentForChildren(), + isClean()); + query_ = null; + } + return queryBuilder_; + } + + private boolean details_ ; + /** + *
+       * If false, then long_description is not returned.
+       * 
+ * + * bool details = 2; + */ + public boolean getDetails() { + return details_; + } + /** + *
+       * If false, then long_description is not returned.
+       * 
+ * + * bool details = 2; + */ + public Builder setDetails(boolean value) { + + details_ = value; + onChanged(); + return this; + } + /** + *
+       * If false, then long_description is not returned.
+       * 
+ * + * bool details = 2; + */ + public Builder clearDetails() { + + details_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.GetArtifactRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactRequest) + private static final flyteidl.artifact.Artifacts.GetArtifactRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.GetArtifactRequest(); + } + + public static flyteidl.artifact.Artifacts.GetArtifactRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetArtifactRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetArtifactResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.GetArtifactResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + boolean hasArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.Artifact getArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactResponse} + */ + public static final class GetArtifactResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.GetArtifactResponse) + GetArtifactResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetArtifactResponse.newBuilder() to construct. + private GetArtifactResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetArtifactResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetArtifactResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.artifact.Artifacts.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); + } + artifact_ = input.readMessage(flyteidl.artifact.Artifacts.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifact_); + artifact_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactResponse.class, flyteidl.artifact.Artifacts.GetArtifactResponse.Builder.class); + } + + public static final int ARTIFACT_FIELD_NUMBER = 1; + private flyteidl.artifact.Artifacts.Artifact artifact_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + return getArtifact(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifact_ != null) { + output.writeMessage(1, getArtifact()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifact_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifact()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.GetArtifactResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.GetArtifactResponse other = (flyteidl.artifact.Artifacts.GetArtifactResponse) obj; + + if (hasArtifact() != other.hasArtifact()) return false; + if (hasArtifact()) { + if (!getArtifact() + .equals(other.getArtifact())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifact()) { + hash = (37 * hash) + ARTIFACT_FIELD_NUMBER; + hash = (53 * hash) + getArtifact().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.GetArtifactResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.GetArtifactResponse) + flyteidl.artifact.Artifacts.GetArtifactResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactResponse.class, flyteidl.artifact.Artifacts.GetArtifactResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.GetArtifactResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactBuilder_ == null) { + artifact_ = null; + } else { + artifact_ = null; + artifactBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.GetArtifactResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactResponse build() { + flyteidl.artifact.Artifacts.GetArtifactResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactResponse buildPartial() { + flyteidl.artifact.Artifacts.GetArtifactResponse result = new flyteidl.artifact.Artifacts.GetArtifactResponse(this); + if (artifactBuilder_ == null) { + result.artifact_ = artifact_; + } else { + result.artifact_ = artifactBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.GetArtifactResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.GetArtifactResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.GetArtifactResponse other) { + if (other == flyteidl.artifact.Artifacts.GetArtifactResponse.getDefaultInstance()) return this; + if (other.hasArtifact()) { + mergeArtifact(other.getArtifact()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.GetArtifactResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.GetArtifactResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.artifact.Artifacts.Artifact artifact_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactBuilder_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifactBuilder_ != null || artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + if (artifactBuilder_ == null) { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } else { + return artifactBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifact_ = value; + onChanged(); + } else { + artifactBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactBuilder_ == null) { + artifact_ = builderForValue.build(); + onChanged(); + } else { + artifactBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder mergeArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (artifact_ != null) { + artifact_ = + flyteidl.artifact.Artifacts.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); + } else { + artifact_ = value; + } + onChanged(); + } else { + artifactBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder clearArtifact() { + if (artifactBuilder_ == null) { + artifact_ = null; + onChanged(); + } else { + artifact_ = null; + artifactBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactBuilder() { + + onChanged(); + return getArtifactFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + if (artifactBuilder_ != null) { + return artifactBuilder_.getMessageOrBuilder(); + } else { + return artifact_ == null ? + flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactFieldBuilder() { + if (artifactBuilder_ == null) { + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder>( + getArtifact(), + getParentForChildren(), + isClean()); + artifact_ = null; + } + return artifactBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.GetArtifactResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactResponse) + private static final flyteidl.artifact.Artifacts.GetArtifactResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.GetArtifactResponse(); + } + + public static flyteidl.artifact.Artifacts.GetArtifactResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetArtifactResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetArtifactResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListArtifactNamesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ListArtifactNamesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string project = 1; + */ + java.lang.String getProject(); + /** + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + * string domain = 2; + */ + java.lang.String getDomain(); + /** + * string domain = 2; + */ + com.google.protobuf.ByteString + getDomainBytes(); + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactNamesRequest} + */ + public static final class ListArtifactNamesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ListArtifactNamesRequest) + ListArtifactNamesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListArtifactNamesRequest.newBuilder() to construct. + private ListArtifactNamesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListArtifactNamesRequest() { + project_ = ""; + domain_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListArtifactNamesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + domain_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactNamesRequest.class, flyteidl.artifact.Artifacts.ListArtifactNamesRequest.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOMAIN_FIELD_NUMBER = 2; + private volatile java.lang.Object domain_; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getProjectBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + } + if (!getDomainBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getProjectBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + } + if (!getDomainBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ListArtifactNamesRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ListArtifactNamesRequest other = (flyteidl.artifact.Artifacts.ListArtifactNamesRequest) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getDomain().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ListArtifactNamesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactNamesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ListArtifactNamesRequest) + flyteidl.artifact.Artifacts.ListArtifactNamesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactNamesRequest.class, flyteidl.artifact.Artifacts.ListArtifactNamesRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ListArtifactNamesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + domain_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ListArtifactNamesRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesRequest build() { + flyteidl.artifact.Artifacts.ListArtifactNamesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesRequest buildPartial() { + flyteidl.artifact.Artifacts.ListArtifactNamesRequest result = new flyteidl.artifact.Artifacts.ListArtifactNamesRequest(this); + result.project_ = project_; + result.domain_ = domain_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ListArtifactNamesRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.ListArtifactNamesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ListArtifactNamesRequest other) { + if (other == flyteidl.artifact.Artifacts.ListArtifactNamesRequest.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getDomain().isEmpty()) { + domain_ = other.domain_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ListArtifactNamesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ListArtifactNamesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string project = 1; + */ + public Builder setProject( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + project_ = value; + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + project_ = value; + onChanged(); + return this; + } + + private java.lang.Object domain_ = ""; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string domain = 2; + */ + public Builder setDomain( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + domain_ = value; + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder clearDomain() { + + domain_ = getDefaultInstance().getDomain(); + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + domain_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ListArtifactNamesRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactNamesRequest) + private static final flyteidl.artifact.Artifacts.ListArtifactNamesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ListArtifactNamesRequest(); + } + + public static flyteidl.artifact.Artifacts.ListArtifactNamesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactNamesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactNamesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListArtifactNamesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ListArtifactNamesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + java.util.List + getArtifactKeysList(); + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + flyteidl.core.ArtifactId.ArtifactKey getArtifactKeys(int index); + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + int getArtifactKeysCount(); + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + java.util.List + getArtifactKeysOrBuilderList(); + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeysOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactNamesResponse} + */ + public static final class ListArtifactNamesResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ListArtifactNamesResponse) + ListArtifactNamesResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListArtifactNamesResponse.newBuilder() to construct. + private ListArtifactNamesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListArtifactNamesResponse() { + artifactKeys_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListArtifactNamesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + artifactKeys_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + artifactKeys_.add( + input.readMessage(flyteidl.core.ArtifactId.ArtifactKey.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + artifactKeys_ = java.util.Collections.unmodifiableList(artifactKeys_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactNamesResponse.class, flyteidl.artifact.Artifacts.ListArtifactNamesResponse.Builder.class); + } + + public static final int ARTIFACT_KEYS_FIELD_NUMBER = 1; + private java.util.List artifactKeys_; + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public java.util.List getArtifactKeysList() { + return artifactKeys_; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public java.util.List + getArtifactKeysOrBuilderList() { + return artifactKeys_; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public int getArtifactKeysCount() { + return artifactKeys_.size(); + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKeys(int index) { + return artifactKeys_.get(index); + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeysOrBuilder( + int index) { + return artifactKeys_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < artifactKeys_.size(); i++) { + output.writeMessage(1, artifactKeys_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < artifactKeys_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, artifactKeys_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ListArtifactNamesResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ListArtifactNamesResponse other = (flyteidl.artifact.Artifacts.ListArtifactNamesResponse) obj; + + if (!getArtifactKeysList() + .equals(other.getArtifactKeysList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getArtifactKeysCount() > 0) { + hash = (37 * hash) + ARTIFACT_KEYS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKeysList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ListArtifactNamesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactNamesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ListArtifactNamesResponse) + flyteidl.artifact.Artifacts.ListArtifactNamesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactNamesResponse.class, flyteidl.artifact.Artifacts.ListArtifactNamesResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ListArtifactNamesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getArtifactKeysFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactKeysBuilder_ == null) { + artifactKeys_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + artifactKeysBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactNamesResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ListArtifactNamesResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesResponse build() { + flyteidl.artifact.Artifacts.ListArtifactNamesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesResponse buildPartial() { + flyteidl.artifact.Artifacts.ListArtifactNamesResponse result = new flyteidl.artifact.Artifacts.ListArtifactNamesResponse(this); + int from_bitField0_ = bitField0_; + if (artifactKeysBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + artifactKeys_ = java.util.Collections.unmodifiableList(artifactKeys_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.artifactKeys_ = artifactKeys_; + } else { + result.artifactKeys_ = artifactKeysBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ListArtifactNamesResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.ListArtifactNamesResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ListArtifactNamesResponse other) { + if (other == flyteidl.artifact.Artifacts.ListArtifactNamesResponse.getDefaultInstance()) return this; + if (artifactKeysBuilder_ == null) { + if (!other.artifactKeys_.isEmpty()) { + if (artifactKeys_.isEmpty()) { + artifactKeys_ = other.artifactKeys_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureArtifactKeysIsMutable(); + artifactKeys_.addAll(other.artifactKeys_); + } + onChanged(); + } + } else { + if (!other.artifactKeys_.isEmpty()) { + if (artifactKeysBuilder_.isEmpty()) { + artifactKeysBuilder_.dispose(); + artifactKeysBuilder_ = null; + artifactKeys_ = other.artifactKeys_; + bitField0_ = (bitField0_ & ~0x00000001); + artifactKeysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactKeysFieldBuilder() : null; + } else { + artifactKeysBuilder_.addAllMessages(other.artifactKeys_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ListArtifactNamesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ListArtifactNamesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List artifactKeys_ = + java.util.Collections.emptyList(); + private void ensureArtifactKeysIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + artifactKeys_ = new java.util.ArrayList(artifactKeys_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> artifactKeysBuilder_; + + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public java.util.List getArtifactKeysList() { + if (artifactKeysBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifactKeys_); + } else { + return artifactKeysBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public int getArtifactKeysCount() { + if (artifactKeysBuilder_ == null) { + return artifactKeys_.size(); + } else { + return artifactKeysBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKeys(int index) { + if (artifactKeysBuilder_ == null) { + return artifactKeys_.get(index); + } else { + return artifactKeysBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder setArtifactKeys( + int index, flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactKeysIsMutable(); + artifactKeys_.set(index, value); + onChanged(); + } else { + artifactKeysBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder setArtifactKeys( + int index, flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { + if (artifactKeysBuilder_ == null) { + ensureArtifactKeysIsMutable(); + artifactKeys_.set(index, builderForValue.build()); + onChanged(); + } else { + artifactKeysBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder addArtifactKeys(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactKeysIsMutable(); + artifactKeys_.add(value); + onChanged(); + } else { + artifactKeysBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder addArtifactKeys( + int index, flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactKeysIsMutable(); + artifactKeys_.add(index, value); + onChanged(); + } else { + artifactKeysBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder addArtifactKeys( + flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { + if (artifactKeysBuilder_ == null) { + ensureArtifactKeysIsMutable(); + artifactKeys_.add(builderForValue.build()); + onChanged(); + } else { + artifactKeysBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder addArtifactKeys( + int index, flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { + if (artifactKeysBuilder_ == null) { + ensureArtifactKeysIsMutable(); + artifactKeys_.add(index, builderForValue.build()); + onChanged(); + } else { + artifactKeysBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder addAllArtifactKeys( + java.lang.Iterable values) { + if (artifactKeysBuilder_ == null) { + ensureArtifactKeysIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifactKeys_); + onChanged(); + } else { + artifactKeysBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder clearArtifactKeys() { + if (artifactKeysBuilder_ == null) { + artifactKeys_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + artifactKeysBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public Builder removeArtifactKeys(int index) { + if (artifactKeysBuilder_ == null) { + ensureArtifactKeysIsMutable(); + artifactKeys_.remove(index); + onChanged(); + } else { + artifactKeysBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeysBuilder( + int index) { + return getArtifactKeysFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeysOrBuilder( + int index) { + if (artifactKeysBuilder_ == null) { + return artifactKeys_.get(index); } else { + return artifactKeysBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public java.util.List + getArtifactKeysOrBuilderList() { + if (artifactKeysBuilder_ != null) { + return artifactKeysBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifactKeys_); + } + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder addArtifactKeysBuilder() { + return getArtifactKeysFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder addArtifactKeysBuilder( + int index) { + return getArtifactKeysFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.ArtifactKey artifact_keys = 1; + */ + public java.util.List + getArtifactKeysBuilderList() { + return getArtifactKeysFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> + getArtifactKeysFieldBuilder() { + if (artifactKeysBuilder_ == null) { + artifactKeysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder>( + artifactKeys_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + artifactKeys_ = null; + } + return artifactKeysBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ListArtifactNamesResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactNamesResponse) + private static final flyteidl.artifact.Artifacts.ListArtifactNamesResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ListArtifactNamesResponse(); + } + + public static flyteidl.artifact.Artifacts.ListArtifactNamesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactNamesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactNamesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactNamesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListArtifactsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ListArtifactsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + boolean hasArtifactKey(); + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKey getArtifactKey(); + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactsRequest} + */ + public static final class ListArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ListArtifactsRequest) + ListArtifactsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListArtifactsRequest.newBuilder() to construct. + private ListArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListArtifactsRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListArtifactsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactKey.Builder subBuilder = null; + if (artifactKey_ != null) { + subBuilder = artifactKey_.toBuilder(); + } + artifactKey_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactKey_); + artifactKey_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactsRequest.class, flyteidl.artifact.Artifacts.ListArtifactsRequest.Builder.class); + } + + public static final int ARTIFACT_KEY_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKey_ != null; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + return getArtifactKey(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactKey_ != null) { + output.writeMessage(1, getArtifactKey()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactKey_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactKey()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ListArtifactsRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ListArtifactsRequest other = (flyteidl.artifact.Artifacts.ListArtifactsRequest) obj; + + if (hasArtifactKey() != other.hasArtifactKey()) return false; + if (hasArtifactKey()) { + if (!getArtifactKey() + .equals(other.getArtifactKey())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifactKey()) { + hash = (37 * hash) + ARTIFACT_KEY_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKey().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ListArtifactsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ListArtifactsRequest) + flyteidl.artifact.Artifacts.ListArtifactsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactsRequest.class, flyteidl.artifact.Artifacts.ListArtifactsRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ListArtifactsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ListArtifactsRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsRequest build() { + flyteidl.artifact.Artifacts.ListArtifactsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsRequest buildPartial() { + flyteidl.artifact.Artifacts.ListArtifactsRequest result = new flyteidl.artifact.Artifacts.ListArtifactsRequest(this); + if (artifactKeyBuilder_ == null) { + result.artifactKey_ = artifactKey_; + } else { + result.artifactKey_ = artifactKeyBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ListArtifactsRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.ListArtifactsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ListArtifactsRequest other) { + if (other == flyteidl.artifact.Artifacts.ListArtifactsRequest.getDefaultInstance()) return this; + if (other.hasArtifactKey()) { + mergeArtifactKey(other.getArtifactKey()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ListArtifactsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ListArtifactsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> artifactKeyBuilder_; + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKeyBuilder_ != null || artifactKey_ != null; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + if (artifactKeyBuilder_ == null) { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } else { + return artifactKeyBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactKey_ = value; + onChanged(); + } else { + artifactKeyBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey( + flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { + if (artifactKeyBuilder_ == null) { + artifactKey_ = builderForValue.build(); + onChanged(); + } else { + artifactKeyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder mergeArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (artifactKey_ != null) { + artifactKey_ = + flyteidl.core.ArtifactId.ArtifactKey.newBuilder(artifactKey_).mergeFrom(value).buildPartial(); + } else { + artifactKey_ = value; + } + onChanged(); + } else { + artifactKeyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder clearArtifactKey() { + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + onChanged(); + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeyBuilder() { + + onChanged(); + return getArtifactKeyFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + if (artifactKeyBuilder_ != null) { + return artifactKeyBuilder_.getMessageOrBuilder(); + } else { + return artifactKey_ == null ? + flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> + getArtifactKeyFieldBuilder() { + if (artifactKeyBuilder_ == null) { + artifactKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder>( + getArtifactKey(), + getParentForChildren(), + isClean()); + artifactKey_ = null; + } + return artifactKeyBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ListArtifactsRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactsRequest) + private static final flyteidl.artifact.Artifacts.ListArtifactsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ListArtifactsRequest(); + } + + public static flyteidl.artifact.Artifacts.ListArtifactsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListArtifactsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ListArtifactsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + java.util.List + getArtifactsList(); + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + flyteidl.artifact.Artifacts.Artifact getArtifacts(int index); + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + int getArtifactsCount(); + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + java.util.List + getArtifactsOrBuilderList(); + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactsOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactsResponse} + */ + public static final class ListArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ListArtifactsResponse) + ListArtifactsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListArtifactsResponse.newBuilder() to construct. + private ListArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListArtifactsResponse() { + artifacts_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListArtifactsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + artifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + artifacts_.add( + input.readMessage(flyteidl.artifact.Artifacts.Artifact.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + artifacts_ = java.util.Collections.unmodifiableList(artifacts_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactsResponse.class, flyteidl.artifact.Artifacts.ListArtifactsResponse.Builder.class); + } + + public static final int ARTIFACTS_FIELD_NUMBER = 1; + private java.util.List artifacts_; + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List getArtifactsList() { + return artifacts_; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List + getArtifactsOrBuilderList() { + return artifacts_; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public int getArtifactsCount() { + return artifacts_.size(); + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifacts(int index) { + return artifacts_.get(index); + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { + return artifacts_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < artifacts_.size(); i++) { + output.writeMessage(1, artifacts_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < artifacts_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, artifacts_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ListArtifactsResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ListArtifactsResponse other = (flyteidl.artifact.Artifacts.ListArtifactsResponse) obj; + + if (!getArtifactsList() + .equals(other.getArtifactsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getArtifactsCount() > 0) { + hash = (37 * hash) + ARTIFACTS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ListArtifactsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ListArtifactsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.ListArtifactsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ListArtifactsResponse) + flyteidl.artifact.Artifacts.ListArtifactsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ListArtifactsResponse.class, flyteidl.artifact.Artifacts.ListArtifactsResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ListArtifactsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getArtifactsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactsBuilder_ == null) { + artifacts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + artifactsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ListArtifactsResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ListArtifactsResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsResponse build() { + flyteidl.artifact.Artifacts.ListArtifactsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsResponse buildPartial() { + flyteidl.artifact.Artifacts.ListArtifactsResponse result = new flyteidl.artifact.Artifacts.ListArtifactsResponse(this); + int from_bitField0_ = bitField0_; + if (artifactsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + artifacts_ = java.util.Collections.unmodifiableList(artifacts_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.artifacts_ = artifacts_; + } else { + result.artifacts_ = artifactsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ListArtifactsResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.ListArtifactsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ListArtifactsResponse other) { + if (other == flyteidl.artifact.Artifacts.ListArtifactsResponse.getDefaultInstance()) return this; + if (artifactsBuilder_ == null) { + if (!other.artifacts_.isEmpty()) { + if (artifacts_.isEmpty()) { + artifacts_ = other.artifacts_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureArtifactsIsMutable(); + artifacts_.addAll(other.artifacts_); + } + onChanged(); + } + } else { + if (!other.artifacts_.isEmpty()) { + if (artifactsBuilder_.isEmpty()) { + artifactsBuilder_.dispose(); + artifactsBuilder_ = null; + artifacts_ = other.artifacts_; + bitField0_ = (bitField0_ & ~0x00000001); + artifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactsFieldBuilder() : null; + } else { + artifactsBuilder_.addAllMessages(other.artifacts_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ListArtifactsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ListArtifactsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List artifacts_ = + java.util.Collections.emptyList(); + private void ensureArtifactsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + artifacts_ = new java.util.ArrayList(artifacts_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactsBuilder_; + + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List getArtifactsList() { + if (artifactsBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifacts_); + } else { + return artifactsBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public int getArtifactsCount() { + if (artifactsBuilder_ == null) { + return artifacts_.size(); + } else { + return artifactsBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifacts(int index) { + if (artifactsBuilder_ == null) { + return artifacts_.get(index); + } else { + return artifactsBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder setArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactsIsMutable(); + artifacts_.set(index, value); + onChanged(); + } else { + artifactsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder setArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.set(index, builderForValue.build()); + onChanged(); + } else { + artifactsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactsIsMutable(); + artifacts_.add(value); + onChanged(); + } else { + artifactsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactsIsMutable(); + artifacts_.add(index, value); + onChanged(); + } else { + artifactsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.add(builderForValue.build()); + onChanged(); + } else { + artifactsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.add(index, builderForValue.build()); + onChanged(); + } else { + artifactsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addAllArtifacts( + java.lang.Iterable values) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifacts_); + onChanged(); + } else { + artifactsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder clearArtifacts() { + if (artifactsBuilder_ == null) { + artifacts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + artifactsBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder removeArtifacts(int index) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.remove(index); + onChanged(); + } else { + artifactsBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { + if (artifactsBuilder_ == null) { + return artifacts_.get(index); } else { + return artifactsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List + getArtifactsOrBuilderList() { + if (artifactsBuilder_ != null) { + return artifactsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifacts_); + } + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder addArtifactsBuilder() { + return getArtifactsFieldBuilder().addBuilder( + flyteidl.artifact.Artifacts.Artifact.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder addArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().addBuilder( + index, flyteidl.artifact.Artifacts.Artifact.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List + getArtifactsBuilderList() { + return getArtifactsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactsFieldBuilder() { + if (artifactsBuilder_ == null) { + artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder>( + artifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + artifacts_ = null; + } + return artifactsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ListArtifactsResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ListArtifactsResponse) + private static final flyteidl.artifact.Artifacts.ListArtifactsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ListArtifactsResponse(); + } + + public static flyteidl.artifact.Artifacts.ListArtifactsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ListArtifactsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AddTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.AddTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + boolean hasArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder(); + + /** + * string value = 2; + */ + java.lang.String getValue(); + /** + * string value = 2; + */ + com.google.protobuf.ByteString + getValueBytes(); + + /** + *
+     * If true, and another version already has the specified kind/value, set this version instead
+     * 
+ * + * bool overwrite = 3; + */ + boolean getOverwrite(); + } + /** + *
+   * Aliases identify a particular version of an artifact. They are different than tags in that they
+   * have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind,
+   * at most one version can have any given value at any point.
+   * 
+ * + * Protobuf type {@code flyteidl.artifact.AddTagRequest} + */ + public static final class AddTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.AddTagRequest) + AddTagRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AddTagRequest.newBuilder() to construct. + private AddTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AddTagRequest() { + value_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AddTagRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; + if (artifactId_ != null) { + subBuilder = artifactId_.toBuilder(); + } + artifactId_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactId_); + artifactId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + case 24: { + + overwrite_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagRequest.class, flyteidl.artifact.Artifacts.AddTagRequest.Builder.class); + } + + public static final int ARTIFACT_ID_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + return getArtifactId(); + } + + public static final int VALUE_FIELD_NUMBER = 2; + private volatile java.lang.Object value_; + /** + * string value = 2; + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + * string value = 2; + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OVERWRITE_FIELD_NUMBER = 3; + private boolean overwrite_; + /** + *
+     * If true, and another version already has the specified kind/value, set this version instead
+     * 
+ * + * bool overwrite = 3; + */ + public boolean getOverwrite() { + return overwrite_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactId_ != null) { + output.writeMessage(1, getArtifactId()); + } + if (!getValueBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + } + if (overwrite_ != false) { + output.writeBool(3, overwrite_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactId()); + } + if (!getValueBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + } + if (overwrite_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, overwrite_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.AddTagRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.AddTagRequest other = (flyteidl.artifact.Artifacts.AddTagRequest) obj; + + if (hasArtifactId() != other.hasArtifactId()) return false; + if (hasArtifactId()) { + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + } + if (!getValue() + .equals(other.getValue())) return false; + if (getOverwrite() + != other.getOverwrite()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifactId()) { + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + } + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (37 * hash) + OVERWRITE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOverwrite()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.AddTagRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Aliases identify a particular version of an artifact. They are different than tags in that they
+     * have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind,
+     * at most one version can have any given value at any point.
+     * 
+ * + * Protobuf type {@code flyteidl.artifact.AddTagRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.AddTagRequest) + flyteidl.artifact.Artifacts.AddTagRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagRequest.class, flyteidl.artifact.Artifacts.AddTagRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.AddTagRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactIdBuilder_ == null) { + artifactId_ = null; + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + value_ = ""; + + overwrite_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.AddTagRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagRequest build() { + flyteidl.artifact.Artifacts.AddTagRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagRequest buildPartial() { + flyteidl.artifact.Artifacts.AddTagRequest result = new flyteidl.artifact.Artifacts.AddTagRequest(this); + if (artifactIdBuilder_ == null) { + result.artifactId_ = artifactId_; + } else { + result.artifactId_ = artifactIdBuilder_.build(); + } + result.value_ = value_; + result.overwrite_ = overwrite_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.AddTagRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.AddTagRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.AddTagRequest other) { + if (other == flyteidl.artifact.Artifacts.AddTagRequest.getDefaultInstance()) return this; + if (other.hasArtifactId()) { + mergeArtifactId(other.getArtifactId()); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + onChanged(); + } + if (other.getOverwrite() != false) { + setOverwrite(other.getOverwrite()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.AddTagRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.AddTagRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdBuilder_; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return artifactIdBuilder_ != null || artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (artifactIdBuilder_ == null) { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } else { + return artifactIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactId_ = value; + onChanged(); + } else { + artifactIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdBuilder_ == null) { + artifactId_ = builderForValue.build(); + onChanged(); + } else { + artifactIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (artifactId_ != null) { + artifactId_ = + flyteidl.core.ArtifactId.ArtifactID.newBuilder(artifactId_).mergeFrom(value).buildPartial(); + } else { + artifactId_ = value; + } + onChanged(); + } else { + artifactIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder clearArtifactId() { + if (artifactIdBuilder_ == null) { + artifactId_ = null; + onChanged(); + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { + + onChanged(); + return getArtifactIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if (artifactIdBuilder_ != null) { + return artifactIdBuilder_.getMessageOrBuilder(); + } else { + return artifactId_ == null ? + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdFieldBuilder() { + if (artifactIdBuilder_ == null) { + artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + getArtifactId(), + getParentForChildren(), + isClean()); + artifactId_ = null; + } + return artifactIdBuilder_; + } + + private java.lang.Object value_ = ""; + /** + * string value = 2; + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string value = 2; + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string value = 2; + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + value_ = value; + onChanged(); + return this; + } + /** + * string value = 2; + */ + public Builder clearValue() { + + value_ = getDefaultInstance().getValue(); + onChanged(); + return this; + } + /** + * string value = 2; + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + value_ = value; + onChanged(); + return this; + } + + private boolean overwrite_ ; + /** + *
+       * If true, and another version already has the specified kind/value, set this version instead
+       * 
+ * + * bool overwrite = 3; + */ + public boolean getOverwrite() { + return overwrite_; + } + /** + *
+       * If true, and another version already has the specified kind/value, set this version instead
+       * 
+ * + * bool overwrite = 3; + */ + public Builder setOverwrite(boolean value) { + + overwrite_ = value; + onChanged(); + return this; + } + /** + *
+       * If true, and another version already has the specified kind/value, set this version instead
+       * 
+ * + * bool overwrite = 3; + */ + public Builder clearOverwrite() { + + overwrite_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.AddTagRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.AddTagRequest) + private static final flyteidl.artifact.Artifacts.AddTagRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.AddTagRequest(); + } + + public static flyteidl.artifact.Artifacts.AddTagRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddTagRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AddTagResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.AddTagResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.AddTagResponse} + */ + public static final class AddTagResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.AddTagResponse) + AddTagResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use AddTagResponse.newBuilder() to construct. + private AddTagResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AddTagResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AddTagResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagResponse.class, flyteidl.artifact.Artifacts.AddTagResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.AddTagResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.AddTagResponse other = (flyteidl.artifact.Artifacts.AddTagResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.AddTagResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.AddTagResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.AddTagResponse) + flyteidl.artifact.Artifacts.AddTagResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagResponse.class, flyteidl.artifact.Artifacts.AddTagResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.AddTagResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.AddTagResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagResponse build() { + flyteidl.artifact.Artifacts.AddTagResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagResponse buildPartial() { + flyteidl.artifact.Artifacts.AddTagResponse result = new flyteidl.artifact.Artifacts.AddTagResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.AddTagResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.AddTagResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.AddTagResponse other) { + if (other == flyteidl.artifact.Artifacts.AddTagResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.AddTagResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.AddTagResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.AddTagResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.AddTagResponse) + private static final flyteidl.artifact.Artifacts.AddTagResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.AddTagResponse(); + } + + public static flyteidl.artifact.Artifacts.AddTagResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddTagResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddTagResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + boolean hasTriggerLaunchPlan(); + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getTriggerLaunchPlan(); + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getTriggerLaunchPlanOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.CreateTriggerRequest} + */ + public static final class CreateTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.CreateTriggerRequest) + CreateTriggerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateTriggerRequest.newBuilder() to construct. + private CreateTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateTriggerRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateTriggerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder subBuilder = null; + if (triggerLaunchPlan_ != null) { + subBuilder = triggerLaunchPlan_.toBuilder(); + } + triggerLaunchPlan_ = input.readMessage(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(triggerLaunchPlan_); + triggerLaunchPlan_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerRequest.class, flyteidl.artifact.Artifacts.CreateTriggerRequest.Builder.class); + } + + public static final int TRIGGER_LAUNCH_PLAN_FIELD_NUMBER = 1; + private flyteidl.admin.LaunchPlanOuterClass.LaunchPlan triggerLaunchPlan_; + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public boolean hasTriggerLaunchPlan() { + return triggerLaunchPlan_ != null; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getTriggerLaunchPlan() { + return triggerLaunchPlan_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance() : triggerLaunchPlan_; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getTriggerLaunchPlanOrBuilder() { + return getTriggerLaunchPlan(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (triggerLaunchPlan_ != null) { + output.writeMessage(1, getTriggerLaunchPlan()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (triggerLaunchPlan_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTriggerLaunchPlan()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.CreateTriggerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateTriggerRequest other = (flyteidl.artifact.Artifacts.CreateTriggerRequest) obj; + + if (hasTriggerLaunchPlan() != other.hasTriggerLaunchPlan()) return false; + if (hasTriggerLaunchPlan()) { + if (!getTriggerLaunchPlan() + .equals(other.getTriggerLaunchPlan())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTriggerLaunchPlan()) { + hash = (37 * hash) + TRIGGER_LAUNCH_PLAN_FIELD_NUMBER; + hash = (53 * hash) + getTriggerLaunchPlan().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.CreateTriggerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.CreateTriggerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateTriggerRequest) + flyteidl.artifact.Artifacts.CreateTriggerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerRequest.class, flyteidl.artifact.Artifacts.CreateTriggerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.CreateTriggerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlan_ = null; + } else { + triggerLaunchPlan_ = null; + triggerLaunchPlanBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateTriggerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest build() { + flyteidl.artifact.Artifacts.CreateTriggerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest buildPartial() { + flyteidl.artifact.Artifacts.CreateTriggerRequest result = new flyteidl.artifact.Artifacts.CreateTriggerRequest(this); + if (triggerLaunchPlanBuilder_ == null) { + result.triggerLaunchPlan_ = triggerLaunchPlan_; + } else { + result.triggerLaunchPlan_ = triggerLaunchPlanBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.CreateTriggerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateTriggerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateTriggerRequest other) { + if (other == flyteidl.artifact.Artifacts.CreateTriggerRequest.getDefaultInstance()) return this; + if (other.hasTriggerLaunchPlan()) { + mergeTriggerLaunchPlan(other.getTriggerLaunchPlan()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.CreateTriggerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateTriggerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.admin.LaunchPlanOuterClass.LaunchPlan triggerLaunchPlan_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder> triggerLaunchPlanBuilder_; + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public boolean hasTriggerLaunchPlan() { + return triggerLaunchPlanBuilder_ != null || triggerLaunchPlan_ != null; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getTriggerLaunchPlan() { + if (triggerLaunchPlanBuilder_ == null) { + return triggerLaunchPlan_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance() : triggerLaunchPlan_; + } else { + return triggerLaunchPlanBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder setTriggerLaunchPlan(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan value) { + if (triggerLaunchPlanBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + triggerLaunchPlan_ = value; + onChanged(); + } else { + triggerLaunchPlanBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder setTriggerLaunchPlan( + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder builderForValue) { + if (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlan_ = builderForValue.build(); + onChanged(); + } else { + triggerLaunchPlanBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder mergeTriggerLaunchPlan(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan value) { + if (triggerLaunchPlanBuilder_ == null) { + if (triggerLaunchPlan_ != null) { + triggerLaunchPlan_ = + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.newBuilder(triggerLaunchPlan_).mergeFrom(value).buildPartial(); + } else { + triggerLaunchPlan_ = value; + } + onChanged(); + } else { + triggerLaunchPlanBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder clearTriggerLaunchPlan() { + if (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlan_ = null; + onChanged(); + } else { + triggerLaunchPlan_ = null; + triggerLaunchPlanBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder getTriggerLaunchPlanBuilder() { + + onChanged(); + return getTriggerLaunchPlanFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getTriggerLaunchPlanOrBuilder() { + if (triggerLaunchPlanBuilder_ != null) { + return triggerLaunchPlanBuilder_.getMessageOrBuilder(); + } else { + return triggerLaunchPlan_ == null ? + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance() : triggerLaunchPlan_; + } + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder> + getTriggerLaunchPlanFieldBuilder() { + if (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder>( + getTriggerLaunchPlan(), + getParentForChildren(), + isClean()); + triggerLaunchPlan_ = null; + } + return triggerLaunchPlanBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.CreateTriggerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateTriggerRequest) + private static final flyteidl.artifact.Artifacts.CreateTriggerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateTriggerRequest(); + } + + public static flyteidl.artifact.Artifacts.CreateTriggerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTriggerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateTriggerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateTriggerResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.CreateTriggerResponse} + */ + public static final class CreateTriggerResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.CreateTriggerResponse) + CreateTriggerResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateTriggerResponse.newBuilder() to construct. + private CreateTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateTriggerResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateTriggerResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerResponse.class, flyteidl.artifact.Artifacts.CreateTriggerResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.CreateTriggerResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateTriggerResponse other = (flyteidl.artifact.Artifacts.CreateTriggerResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.CreateTriggerResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.CreateTriggerResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateTriggerResponse) + flyteidl.artifact.Artifacts.CreateTriggerResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerResponse.class, flyteidl.artifact.Artifacts.CreateTriggerResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.CreateTriggerResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateTriggerResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse build() { + flyteidl.artifact.Artifacts.CreateTriggerResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse buildPartial() { + flyteidl.artifact.Artifacts.CreateTriggerResponse result = new flyteidl.artifact.Artifacts.CreateTriggerResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.CreateTriggerResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateTriggerResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateTriggerResponse other) { + if (other == flyteidl.artifact.Artifacts.CreateTriggerResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.CreateTriggerResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateTriggerResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.CreateTriggerResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateTriggerResponse) + private static final flyteidl.artifact.Artifacts.CreateTriggerResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateTriggerResponse(); + } + + public static flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTriggerResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTriggerResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DeleteTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + boolean hasTriggerId(); + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getTriggerId(); + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.DeleteTriggerRequest} + */ + public static final class DeleteTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerRequest) + DeleteTriggerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteTriggerRequest.newBuilder() to construct. + private DeleteTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteTriggerRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteTriggerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; + if (triggerId_ != null) { + subBuilder = triggerId_.toBuilder(); + } + triggerId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(triggerId_); + triggerId_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + } + + public static final int TRIGGER_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerId_ != null; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + return getTriggerId(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (triggerId_ != null) { + output.writeMessage(1, getTriggerId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (triggerId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTriggerId()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.DeleteTriggerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.DeleteTriggerRequest other = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) obj; + + if (hasTriggerId() != other.hasTriggerId()) return false; + if (hasTriggerId()) { + if (!getTriggerId() + .equals(other.getTriggerId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTriggerId()) { + hash = (37 * hash) + TRIGGER_ID_FIELD_NUMBER; + hash = (53 * hash) + getTriggerId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.DeleteTriggerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerRequest) + flyteidl.artifact.Artifacts.DeleteTriggerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.DeleteTriggerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (triggerIdBuilder_ == null) { + triggerId_ = null; + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest build() { + flyteidl.artifact.Artifacts.DeleteTriggerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest buildPartial() { + flyteidl.artifact.Artifacts.DeleteTriggerRequest result = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(this); + if (triggerIdBuilder_ == null) { + result.triggerId_ = triggerId_; + } else { + result.triggerId_ = triggerIdBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.DeleteTriggerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerRequest other) { + if (other == flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance()) return this; + if (other.hasTriggerId()) { + mergeTriggerId(other.getTriggerId()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.DeleteTriggerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> triggerIdBuilder_; + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerIdBuilder_ != null || triggerId_ != null; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + if (triggerIdBuilder_ == null) { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } else { + return triggerIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + triggerId_ = value; + onChanged(); + } else { + triggerIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (triggerIdBuilder_ == null) { + triggerId_ = builderForValue.build(); + onChanged(); + } else { + triggerIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder mergeTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (triggerId_ != null) { + triggerId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(triggerId_).mergeFrom(value).buildPartial(); + } else { + triggerId_ = value; + } + onChanged(); + } else { + triggerIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder clearTriggerId() { + if (triggerIdBuilder_ == null) { + triggerId_ = null; + onChanged(); + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getTriggerIdBuilder() { + + onChanged(); + return getTriggerIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + if (triggerIdBuilder_ != null) { + return triggerIdBuilder_.getMessageOrBuilder(); + } else { + return triggerId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getTriggerIdFieldBuilder() { + if (triggerIdBuilder_ == null) { + triggerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getTriggerId(), + getParentForChildren(), + isClean()); + triggerId_ = null; + } + return triggerIdBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeleteTriggerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) + private static final flyteidl.artifact.Artifacts.DeleteTriggerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(); + } + + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTriggerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DeleteTriggerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.DeleteTriggerResponse} + */ + public static final class DeleteTriggerResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerResponse) + DeleteTriggerResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteTriggerResponse.newBuilder() to construct. + private DeleteTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteTriggerResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteTriggerResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.DeleteTriggerResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.DeleteTriggerResponse other = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.DeleteTriggerResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerResponse) + flyteidl.artifact.Artifacts.DeleteTriggerResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.DeleteTriggerResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeleteTriggerResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse build() { + flyteidl.artifact.Artifacts.DeleteTriggerResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse buildPartial() { + flyteidl.artifact.Artifacts.DeleteTriggerResponse result = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.DeleteTriggerResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerResponse other) { + if (other == flyteidl.artifact.Artifacts.DeleteTriggerResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.DeleteTriggerResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeleteTriggerResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerResponse) + private static final flyteidl.artifact.Artifacts.DeleteTriggerResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(); + } + + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTriggerResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTriggerResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactProducerOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ArtifactProducer) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + boolean hasEntityId(); + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getEntityId(); + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder(); + + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + boolean hasOutputs(); + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + flyteidl.core.Interface.VariableMap getOutputs(); + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactProducer} + */ + public static final class ArtifactProducer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ArtifactProducer) + ArtifactProducerOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactProducer.newBuilder() to construct. + private ArtifactProducer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactProducer() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactProducer( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; + if (entityId_ != null) { + subBuilder = entityId_.toBuilder(); + } + entityId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityId_); + entityId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.Interface.VariableMap.Builder subBuilder = null; + if (outputs_ != null) { + subBuilder = outputs_.toBuilder(); + } + outputs_ = input.readMessage(flyteidl.core.Interface.VariableMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputs_); + outputs_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactProducer.class, flyteidl.artifact.Artifacts.ArtifactProducer.Builder.class); + } + + public static final int ENTITY_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityId_ != null; + } + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + return getEntityId(); + } + + public static final int OUTPUTS_FIELD_NUMBER = 2; + private flyteidl.core.Interface.VariableMap outputs_; + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public boolean hasOutputs() { + return outputs_ != null; + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public flyteidl.core.Interface.VariableMap getOutputs() { + return outputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder() { + return getOutputs(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (entityId_ != null) { + output.writeMessage(1, getEntityId()); + } + if (outputs_ != null) { + output.writeMessage(2, getOutputs()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (entityId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntityId()); + } + if (outputs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOutputs()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ArtifactProducer)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ArtifactProducer other = (flyteidl.artifact.Artifacts.ArtifactProducer) obj; + + if (hasEntityId() != other.hasEntityId()) return false; + if (hasEntityId()) { + if (!getEntityId() + .equals(other.getEntityId())) return false; + } + if (hasOutputs() != other.hasOutputs()) return false; + if (hasOutputs()) { + if (!getOutputs() + .equals(other.getOutputs())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEntityId()) { + hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; + hash = (53 * hash) + getEntityId().hashCode(); + } + if (hasOutputs()) { + hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; + hash = (53 * hash) + getOutputs().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ArtifactProducer prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactProducer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ArtifactProducer) + flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactProducer.class, flyteidl.artifact.Artifacts.ArtifactProducer.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ArtifactProducer.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (entityIdBuilder_ == null) { + entityId_ = null; + } else { + entityId_ = null; + entityIdBuilder_ = null; + } + if (outputsBuilder_ == null) { + outputs_ = null; + } else { + outputs_ = null; + outputsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer build() { + flyteidl.artifact.Artifacts.ArtifactProducer result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer buildPartial() { + flyteidl.artifact.Artifacts.ArtifactProducer result = new flyteidl.artifact.Artifacts.ArtifactProducer(this); + if (entityIdBuilder_ == null) { + result.entityId_ = entityId_; + } else { + result.entityId_ = entityIdBuilder_.build(); + } + if (outputsBuilder_ == null) { + result.outputs_ = outputs_; + } else { + result.outputs_ = outputsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ArtifactProducer) { + return mergeFrom((flyteidl.artifact.Artifacts.ArtifactProducer)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ArtifactProducer other) { + if (other == flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance()) return this; + if (other.hasEntityId()) { + mergeEntityId(other.getEntityId()); + } + if (other.hasOutputs()) { + mergeOutputs(other.getOutputs()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ArtifactProducer parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ArtifactProducer) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> entityIdBuilder_; + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityIdBuilder_ != null || entityId_ != null; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + if (entityIdBuilder_ == null) { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } else { + return entityIdBuilder_.getMessage(); + } + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityId_ = value; + onChanged(); + } else { + entityIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (entityIdBuilder_ == null) { + entityId_ = builderForValue.build(); + onChanged(); + } else { + entityIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder mergeEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (entityId_ != null) { + entityId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(entityId_).mergeFrom(value).buildPartial(); + } else { + entityId_ = value; + } + onChanged(); + } else { + entityIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder clearEntityId() { + if (entityIdBuilder_ == null) { + entityId_ = null; + onChanged(); + } else { + entityId_ = null; + entityIdBuilder_ = null; + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getEntityIdBuilder() { + + onChanged(); + return getEntityIdFieldBuilder().getBuilder(); + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + if (entityIdBuilder_ != null) { + return entityIdBuilder_.getMessageOrBuilder(); + } else { + return entityId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getEntityIdFieldBuilder() { + if (entityIdBuilder_ == null) { + entityIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getEntityId(), + getParentForChildren(), + isClean()); + entityId_ = null; + } + return entityIdBuilder_; + } + + private flyteidl.core.Interface.VariableMap outputs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> outputsBuilder_; + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public boolean hasOutputs() { + return outputsBuilder_ != null || outputs_ != null; + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public flyteidl.core.Interface.VariableMap getOutputs() { + if (outputsBuilder_ == null) { + return outputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; + } else { + return outputsBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public Builder setOutputs(flyteidl.core.Interface.VariableMap value) { + if (outputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputs_ = value; + onChanged(); + } else { + outputsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public Builder setOutputs( + flyteidl.core.Interface.VariableMap.Builder builderForValue) { + if (outputsBuilder_ == null) { + outputs_ = builderForValue.build(); + onChanged(); + } else { + outputsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public Builder mergeOutputs(flyteidl.core.Interface.VariableMap value) { + if (outputsBuilder_ == null) { + if (outputs_ != null) { + outputs_ = + flyteidl.core.Interface.VariableMap.newBuilder(outputs_).mergeFrom(value).buildPartial(); + } else { + outputs_ = value; + } + onChanged(); + } else { + outputsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public Builder clearOutputs() { + if (outputsBuilder_ == null) { + outputs_ = null; + onChanged(); + } else { + outputs_ = null; + outputsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public flyteidl.core.Interface.VariableMap.Builder getOutputsBuilder() { + + onChanged(); + return getOutputsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + public flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder() { + if (outputsBuilder_ != null) { + return outputsBuilder_.getMessageOrBuilder(); + } else { + return outputs_ == null ? + flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; + } + } + /** + * .flyteidl.core.VariableMap outputs = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> + getOutputsFieldBuilder() { + if (outputsBuilder_ == null) { + outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder>( + getOutputs(), + getParentForChildren(), + isClean()); + outputs_ = null; + } + return outputsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ArtifactProducer) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactProducer) + private static final flyteidl.artifact.Artifacts.ArtifactProducer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ArtifactProducer(); + } + + public static flyteidl.artifact.Artifacts.ArtifactProducer getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactProducer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactProducer(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RegisterProducerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.RegisterProducerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + java.util.List + getProducersList(); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactProducer getProducers(int index); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + int getProducersCount(); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + java.util.List + getProducersOrBuilderList(); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder getProducersOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterProducerRequest} + */ + public static final class RegisterProducerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.RegisterProducerRequest) + RegisterProducerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RegisterProducerRequest.newBuilder() to construct. + private RegisterProducerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RegisterProducerRequest() { + producers_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RegisterProducerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + producers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + producers_.add( + input.readMessage(flyteidl.artifact.Artifacts.ArtifactProducer.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + producers_ = java.util.Collections.unmodifiableList(producers_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterProducerRequest.class, flyteidl.artifact.Artifacts.RegisterProducerRequest.Builder.class); + } + + public static final int PRODUCERS_FIELD_NUMBER = 1; + private java.util.List producers_; + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List getProducersList() { + return producers_; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List + getProducersOrBuilderList() { + return producers_; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public int getProducersCount() { + return producers_.size(); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer getProducers(int index) { + return producers_.get(index); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder getProducersOrBuilder( + int index) { + return producers_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < producers_.size(); i++) { + output.writeMessage(1, producers_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < producers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, producers_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.RegisterProducerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.RegisterProducerRequest other = (flyteidl.artifact.Artifacts.RegisterProducerRequest) obj; + + if (!getProducersList() + .equals(other.getProducersList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getProducersCount() > 0) { + hash = (37 * hash) + PRODUCERS_FIELD_NUMBER; + hash = (53 * hash) + getProducersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.RegisterProducerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterProducerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.RegisterProducerRequest) + flyteidl.artifact.Artifacts.RegisterProducerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterProducerRequest.class, flyteidl.artifact.Artifacts.RegisterProducerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.RegisterProducerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getProducersFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (producersBuilder_ == null) { + producers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + producersBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.RegisterProducerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest build() { + flyteidl.artifact.Artifacts.RegisterProducerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest buildPartial() { + flyteidl.artifact.Artifacts.RegisterProducerRequest result = new flyteidl.artifact.Artifacts.RegisterProducerRequest(this); + int from_bitField0_ = bitField0_; + if (producersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + producers_ = java.util.Collections.unmodifiableList(producers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.producers_ = producers_; + } else { + result.producers_ = producersBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.RegisterProducerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.RegisterProducerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.RegisterProducerRequest other) { + if (other == flyteidl.artifact.Artifacts.RegisterProducerRequest.getDefaultInstance()) return this; + if (producersBuilder_ == null) { + if (!other.producers_.isEmpty()) { + if (producers_.isEmpty()) { + producers_ = other.producers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureProducersIsMutable(); + producers_.addAll(other.producers_); + } + onChanged(); + } + } else { + if (!other.producers_.isEmpty()) { + if (producersBuilder_.isEmpty()) { + producersBuilder_.dispose(); + producersBuilder_ = null; + producers_ = other.producers_; + bitField0_ = (bitField0_ & ~0x00000001); + producersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getProducersFieldBuilder() : null; + } else { + producersBuilder_.addAllMessages(other.producers_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.RegisterProducerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.RegisterProducerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List producers_ = + java.util.Collections.emptyList(); + private void ensureProducersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + producers_ = new java.util.ArrayList(producers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactProducer, flyteidl.artifact.Artifacts.ArtifactProducer.Builder, flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder> producersBuilder_; + + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List getProducersList() { + if (producersBuilder_ == null) { + return java.util.Collections.unmodifiableList(producers_); + } else { + return producersBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public int getProducersCount() { + if (producersBuilder_ == null) { + return producers_.size(); + } else { + return producersBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer getProducers(int index) { + if (producersBuilder_ == null) { + return producers_.get(index); + } else { + return producersBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder setProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer value) { + if (producersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProducersIsMutable(); + producers_.set(index, value); + onChanged(); + } else { + producersBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder setProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer.Builder builderForValue) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.set(index, builderForValue.build()); + onChanged(); + } else { + producersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers(flyteidl.artifact.Artifacts.ArtifactProducer value) { + if (producersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProducersIsMutable(); + producers_.add(value); + onChanged(); + } else { + producersBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer value) { + if (producersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProducersIsMutable(); + producers_.add(index, value); + onChanged(); + } else { + producersBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers( + flyteidl.artifact.Artifacts.ArtifactProducer.Builder builderForValue) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.add(builderForValue.build()); + onChanged(); + } else { + producersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer.Builder builderForValue) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.add(index, builderForValue.build()); + onChanged(); + } else { + producersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addAllProducers( + java.lang.Iterable values) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, producers_); + onChanged(); + } else { + producersBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder clearProducers() { + if (producersBuilder_ == null) { + producers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + producersBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder removeProducers(int index) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.remove(index); + onChanged(); + } else { + producersBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer.Builder getProducersBuilder( + int index) { + return getProducersFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder getProducersOrBuilder( + int index) { + if (producersBuilder_ == null) { + return producers_.get(index); } else { + return producersBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List + getProducersOrBuilderList() { + if (producersBuilder_ != null) { + return producersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(producers_); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer.Builder addProducersBuilder() { + return getProducersFieldBuilder().addBuilder( + flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer.Builder addProducersBuilder( + int index) { + return getProducersFieldBuilder().addBuilder( + index, flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List + getProducersBuilderList() { + return getProducersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactProducer, flyteidl.artifact.Artifacts.ArtifactProducer.Builder, flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder> + getProducersFieldBuilder() { + if (producersBuilder_ == null) { + producersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactProducer, flyteidl.artifact.Artifacts.ArtifactProducer.Builder, flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder>( + producers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + producers_ = null; + } + return producersBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.RegisterProducerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterProducerRequest) + private static final flyteidl.artifact.Artifacts.RegisterProducerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.RegisterProducerRequest(); + } + + public static flyteidl.artifact.Artifacts.RegisterProducerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterProducerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterProducerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactConsumerOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ArtifactConsumer) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + boolean hasEntityId(); + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getEntityId(); + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder(); + + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + boolean hasInputs(); + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + flyteidl.core.Interface.ParameterMap getInputs(); + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + flyteidl.core.Interface.ParameterMapOrBuilder getInputsOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactConsumer} + */ + public static final class ArtifactConsumer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ArtifactConsumer) + ArtifactConsumerOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactConsumer.newBuilder() to construct. + private ArtifactConsumer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactConsumer() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactConsumer( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; + if (entityId_ != null) { + subBuilder = entityId_.toBuilder(); + } + entityId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityId_); + entityId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.Interface.ParameterMap.Builder subBuilder = null; + if (inputs_ != null) { + subBuilder = inputs_.toBuilder(); + } + inputs_ = input.readMessage(flyteidl.core.Interface.ParameterMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputs_); + inputs_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactConsumer.class, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder.class); + } + + public static final int ENTITY_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityId_ != null; + } + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + return getEntityId(); + } + + public static final int INPUTS_FIELD_NUMBER = 2; + private flyteidl.core.Interface.ParameterMap inputs_; + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public boolean hasInputs() { + return inputs_ != null; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMap getInputs() { + return inputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : inputs_; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMapOrBuilder getInputsOrBuilder() { + return getInputs(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (entityId_ != null) { + output.writeMessage(1, getEntityId()); + } + if (inputs_ != null) { + output.writeMessage(2, getInputs()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (entityId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntityId()); + } + if (inputs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInputs()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ArtifactConsumer)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ArtifactConsumer other = (flyteidl.artifact.Artifacts.ArtifactConsumer) obj; + + if (hasEntityId() != other.hasEntityId()) return false; + if (hasEntityId()) { + if (!getEntityId() + .equals(other.getEntityId())) return false; + } + if (hasInputs() != other.hasInputs()) return false; + if (hasInputs()) { + if (!getInputs() + .equals(other.getInputs())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEntityId()) { + hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; + hash = (53 * hash) + getEntityId().hashCode(); + } + if (hasInputs()) { + hash = (37 * hash) + INPUTS_FIELD_NUMBER; + hash = (53 * hash) + getInputs().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ArtifactConsumer prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactConsumer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ArtifactConsumer) + flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactConsumer.class, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ArtifactConsumer.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (entityIdBuilder_ == null) { + entityId_ = null; + } else { + entityId_ = null; + entityIdBuilder_ = null; + } + if (inputsBuilder_ == null) { + inputs_ = null; + } else { + inputs_ = null; + inputsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer build() { + flyteidl.artifact.Artifacts.ArtifactConsumer result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer buildPartial() { + flyteidl.artifact.Artifacts.ArtifactConsumer result = new flyteidl.artifact.Artifacts.ArtifactConsumer(this); + if (entityIdBuilder_ == null) { + result.entityId_ = entityId_; + } else { + result.entityId_ = entityIdBuilder_.build(); + } + if (inputsBuilder_ == null) { + result.inputs_ = inputs_; + } else { + result.inputs_ = inputsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ArtifactConsumer) { + return mergeFrom((flyteidl.artifact.Artifacts.ArtifactConsumer)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ArtifactConsumer other) { + if (other == flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance()) return this; + if (other.hasEntityId()) { + mergeEntityId(other.getEntityId()); + } + if (other.hasInputs()) { + mergeInputs(other.getInputs()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ArtifactConsumer parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ArtifactConsumer) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> entityIdBuilder_; + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityIdBuilder_ != null || entityId_ != null; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + if (entityIdBuilder_ == null) { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } else { + return entityIdBuilder_.getMessage(); + } + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityId_ = value; + onChanged(); + } else { + entityIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (entityIdBuilder_ == null) { + entityId_ = builderForValue.build(); + onChanged(); + } else { + entityIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder mergeEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (entityId_ != null) { + entityId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(entityId_).mergeFrom(value).buildPartial(); + } else { + entityId_ = value; + } + onChanged(); + } else { + entityIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder clearEntityId() { + if (entityIdBuilder_ == null) { + entityId_ = null; + onChanged(); + } else { + entityId_ = null; + entityIdBuilder_ = null; + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getEntityIdBuilder() { + + onChanged(); + return getEntityIdFieldBuilder().getBuilder(); + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + if (entityIdBuilder_ != null) { + return entityIdBuilder_.getMessageOrBuilder(); + } else { + return entityId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getEntityIdFieldBuilder() { + if (entityIdBuilder_ == null) { + entityIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getEntityId(), + getParentForChildren(), + isClean()); + entityId_ = null; + } + return entityIdBuilder_; + } + + private flyteidl.core.Interface.ParameterMap inputs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> inputsBuilder_; + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public boolean hasInputs() { + return inputsBuilder_ != null || inputs_ != null; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMap getInputs() { + if (inputsBuilder_ == null) { + return inputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : inputs_; + } else { + return inputsBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder setInputs(flyteidl.core.Interface.ParameterMap value) { + if (inputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputs_ = value; + onChanged(); + } else { + inputsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder setInputs( + flyteidl.core.Interface.ParameterMap.Builder builderForValue) { + if (inputsBuilder_ == null) { + inputs_ = builderForValue.build(); + onChanged(); + } else { + inputsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder mergeInputs(flyteidl.core.Interface.ParameterMap value) { + if (inputsBuilder_ == null) { + if (inputs_ != null) { + inputs_ = + flyteidl.core.Interface.ParameterMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); + } else { + inputs_ = value; + } + onChanged(); + } else { + inputsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder clearInputs() { + if (inputsBuilder_ == null) { + inputs_ = null; + onChanged(); + } else { + inputs_ = null; + inputsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMap.Builder getInputsBuilder() { + + onChanged(); + return getInputsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMapOrBuilder getInputsOrBuilder() { + if (inputsBuilder_ != null) { + return inputsBuilder_.getMessageOrBuilder(); + } else { + return inputs_ == null ? + flyteidl.core.Interface.ParameterMap.getDefaultInstance() : inputs_; + } + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> + getInputsFieldBuilder() { + if (inputsBuilder_ == null) { + inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder>( + getInputs(), + getParentForChildren(), + isClean()); + inputs_ = null; + } + return inputsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ArtifactConsumer) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactConsumer) + private static final flyteidl.artifact.Artifacts.ArtifactConsumer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ArtifactConsumer(); + } + + public static flyteidl.artifact.Artifacts.ArtifactConsumer getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactConsumer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactConsumer(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RegisterConsumerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.RegisterConsumerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + java.util.List + getConsumersList(); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactConsumer getConsumers(int index); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + int getConsumersCount(); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + java.util.List + getConsumersOrBuilderList(); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder getConsumersOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterConsumerRequest} + */ + public static final class RegisterConsumerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.RegisterConsumerRequest) + RegisterConsumerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RegisterConsumerRequest.newBuilder() to construct. + private RegisterConsumerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RegisterConsumerRequest() { + consumers_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RegisterConsumerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + consumers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + consumers_.add( + input.readMessage(flyteidl.artifact.Artifacts.ArtifactConsumer.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + consumers_ = java.util.Collections.unmodifiableList(consumers_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterConsumerRequest.class, flyteidl.artifact.Artifacts.RegisterConsumerRequest.Builder.class); + } + + public static final int CONSUMERS_FIELD_NUMBER = 1; + private java.util.List consumers_; + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List getConsumersList() { + return consumers_; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List + getConsumersOrBuilderList() { + return consumers_; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public int getConsumersCount() { + return consumers_.size(); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer getConsumers(int index) { + return consumers_.get(index); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder getConsumersOrBuilder( + int index) { + return consumers_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < consumers_.size(); i++) { + output.writeMessage(1, consumers_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < consumers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, consumers_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.RegisterConsumerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.RegisterConsumerRequest other = (flyteidl.artifact.Artifacts.RegisterConsumerRequest) obj; + + if (!getConsumersList() + .equals(other.getConsumersList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getConsumersCount() > 0) { + hash = (37 * hash) + CONSUMERS_FIELD_NUMBER; + hash = (53 * hash) + getConsumersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.RegisterConsumerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterConsumerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.RegisterConsumerRequest) + flyteidl.artifact.Artifacts.RegisterConsumerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterConsumerRequest.class, flyteidl.artifact.Artifacts.RegisterConsumerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.RegisterConsumerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getConsumersFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (consumersBuilder_ == null) { + consumers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + consumersBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.RegisterConsumerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest build() { + flyteidl.artifact.Artifacts.RegisterConsumerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest buildPartial() { + flyteidl.artifact.Artifacts.RegisterConsumerRequest result = new flyteidl.artifact.Artifacts.RegisterConsumerRequest(this); + int from_bitField0_ = bitField0_; + if (consumersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + consumers_ = java.util.Collections.unmodifiableList(consumers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.consumers_ = consumers_; + } else { + result.consumers_ = consumersBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.RegisterConsumerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.RegisterConsumerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.RegisterConsumerRequest other) { + if (other == flyteidl.artifact.Artifacts.RegisterConsumerRequest.getDefaultInstance()) return this; + if (consumersBuilder_ == null) { + if (!other.consumers_.isEmpty()) { + if (consumers_.isEmpty()) { + consumers_ = other.consumers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureConsumersIsMutable(); + consumers_.addAll(other.consumers_); + } + onChanged(); + } + } else { + if (!other.consumers_.isEmpty()) { + if (consumersBuilder_.isEmpty()) { + consumersBuilder_.dispose(); + consumersBuilder_ = null; + consumers_ = other.consumers_; + bitField0_ = (bitField0_ & ~0x00000001); + consumersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConsumersFieldBuilder() : null; + } else { + consumersBuilder_.addAllMessages(other.consumers_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.RegisterConsumerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.RegisterConsumerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List consumers_ = + java.util.Collections.emptyList(); + private void ensureConsumersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + consumers_ = new java.util.ArrayList(consumers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactConsumer, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder, flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder> consumersBuilder_; + + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List getConsumersList() { + if (consumersBuilder_ == null) { + return java.util.Collections.unmodifiableList(consumers_); + } else { + return consumersBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public int getConsumersCount() { + if (consumersBuilder_ == null) { + return consumers_.size(); + } else { + return consumersBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer getConsumers(int index) { + if (consumersBuilder_ == null) { + return consumers_.get(index); + } else { + return consumersBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder setConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer value) { + if (consumersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConsumersIsMutable(); + consumers_.set(index, value); + onChanged(); + } else { + consumersBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder setConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder builderForValue) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.set(index, builderForValue.build()); + onChanged(); + } else { + consumersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers(flyteidl.artifact.Artifacts.ArtifactConsumer value) { + if (consumersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConsumersIsMutable(); + consumers_.add(value); + onChanged(); + } else { + consumersBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer value) { + if (consumersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConsumersIsMutable(); + consumers_.add(index, value); + onChanged(); + } else { + consumersBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers( + flyteidl.artifact.Artifacts.ArtifactConsumer.Builder builderForValue) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.add(builderForValue.build()); + onChanged(); + } else { + consumersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder builderForValue) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.add(index, builderForValue.build()); + onChanged(); + } else { + consumersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addAllConsumers( + java.lang.Iterable values) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, consumers_); + onChanged(); + } else { + consumersBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder clearConsumers() { + if (consumersBuilder_ == null) { + consumers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + consumersBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder removeConsumers(int index) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.remove(index); + onChanged(); + } else { + consumersBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer.Builder getConsumersBuilder( + int index) { + return getConsumersFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder getConsumersOrBuilder( + int index) { + if (consumersBuilder_ == null) { + return consumers_.get(index); } else { + return consumersBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List + getConsumersOrBuilderList() { + if (consumersBuilder_ != null) { + return consumersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(consumers_); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer.Builder addConsumersBuilder() { + return getConsumersFieldBuilder().addBuilder( + flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer.Builder addConsumersBuilder( + int index) { + return getConsumersFieldBuilder().addBuilder( + index, flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List + getConsumersBuilderList() { + return getConsumersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactConsumer, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder, flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder> + getConsumersFieldBuilder() { + if (consumersBuilder_ == null) { + consumersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactConsumer, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder, flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder>( + consumers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + consumers_ = null; + } + return consumersBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.RegisterConsumerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterConsumerRequest) + private static final flyteidl.artifact.Artifacts.RegisterConsumerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.RegisterConsumerRequest(); + } + + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterConsumerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterConsumerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RegisterResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.RegisterResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterResponse} + */ + public static final class RegisterResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.RegisterResponse) + RegisterResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RegisterResponse.newBuilder() to construct. + private RegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RegisterResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RegisterResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterResponse.class, flyteidl.artifact.Artifacts.RegisterResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.RegisterResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.RegisterResponse other = (flyteidl.artifact.Artifacts.RegisterResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.RegisterResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.RegisterResponse) + flyteidl.artifact.Artifacts.RegisterResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterResponse.class, flyteidl.artifact.Artifacts.RegisterResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.RegisterResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.RegisterResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse build() { + flyteidl.artifact.Artifacts.RegisterResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse buildPartial() { + flyteidl.artifact.Artifacts.RegisterResponse result = new flyteidl.artifact.Artifacts.RegisterResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.RegisterResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.RegisterResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.RegisterResponse other) { + if (other == flyteidl.artifact.Artifacts.RegisterResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.RegisterResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.RegisterResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.RegisterResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterResponse) + private static final flyteidl.artifact.Artifacts.RegisterResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.RegisterResponse(); + } + + public static flyteidl.artifact.Artifacts.RegisterResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_Artifact_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_Artifact_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ListArtifactNamesRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ListArtifactNamesRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ListArtifactNamesResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ListArtifactNamesResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ListArtifactsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ListArtifactsRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ListArtifactsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ListArtifactsResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_AddTagRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_AddTagResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_RegisterResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n!flyteidl/artifact/artifacts.proto\022\021fly" + + "teidl.artifact\032\031google/protobuf/any.prot" + + "o\032 flyteidl/admin/launch_plan.proto\032\034fly" + + "teidl/core/literals.proto\032\031flyteidl/core" + + "/types.proto\032\036flyteidl/core/identifier.p" + + "roto\032\037flyteidl/core/artifact_id.proto\032\035f" + + "lyteidl/core/interface.proto\"w\n\010Artifact" + + "\022.\n\013artifact_id\030\001 \001(\0132\031.flyteidl.core.Ar" + + "tifactID\022-\n\004spec\030\002 \001(\0132\037.flyteidl.artifa" + + "ct.ArtifactSpec\022\014\n\004tags\030\003 \003(\t\"\227\002\n\025Create" + + "ArtifactRequest\0220\n\014artifact_key\030\001 \001(\0132\032." + + "flyteidl.core.ArtifactKey\022\017\n\007version\030\003 \001" + + "(\t\022-\n\004spec\030\002 \001(\0132\037.flyteidl.artifact.Art" + + "ifactSpec\022L\n\npartitions\030\004 \003(\01328.flyteidl" + + ".artifact.CreateArtifactRequest.Partitio" + + "nsEntry\022\013\n\003tag\030\005 \001(\t\0321\n\017PartitionsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\352\002\n\014Arti" + + "factSpec\022%\n\005value\030\001 \001(\0132\026.flyteidl.core." + + "Literal\022(\n\004type\030\002 \001(\0132\032.flyteidl.core.Li" + + "teralType\022>\n\016task_execution\030\005 \001(\0132&.flyt" + + "eidl.core.TaskExecutionIdentifier\022=\n\texe" + + "cution\030\006 \001(\0132*.flyteidl.core.WorkflowExe" + + "cutionIdentifier\022\021\n\tprincipal\030\007 \001(\t\022\031\n\021s" + + "hort_description\030\010 \001(\t\022\030\n\020long_descripti" + + "on\030\t \001(\t\022+\n\ruser_metadata\030\n \001(\0132\024.google" + + ".protobuf.Any\022\025\n\rmetadata_type\030\013 \001(\t\"G\n\026" + + "CreateArtifactResponse\022-\n\010artifact\030\001 \001(\013" + + "2\033.flyteidl.artifact.Artifact\"R\n\022GetArti" + + "factRequest\022+\n\005query\030\001 \001(\0132\034.flyteidl.co" + + "re.ArtifactQuery\022\017\n\007details\030\002 \001(\010\"D\n\023Get" + + "ArtifactResponse\022-\n\010artifact\030\001 \001(\0132\033.fly" + + "teidl.artifact.Artifact\";\n\030ListArtifactN" + + "amesRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002" + + " \001(\t\"N\n\031ListArtifactNamesResponse\0221\n\rart" + + "ifact_keys\030\001 \003(\0132\032.flyteidl.core.Artifac" + + "tKey\"H\n\024ListArtifactsRequest\0220\n\014artifact" + + "_key\030\001 \001(\0132\032.flyteidl.core.ArtifactKey\"G" + + "\n\025ListArtifactsResponse\022.\n\tartifacts\030\001 \003" + + "(\0132\033.flyteidl.artifact.Artifact\"a\n\rAddTa" + + "gRequest\022.\n\013artifact_id\030\001 \001(\0132\031.flyteidl" + + ".core.ArtifactID\022\r\n\005value\030\002 \001(\t\022\021\n\toverw" + + "rite\030\003 \001(\010\"\020\n\016AddTagResponse\"O\n\024CreateTr" + + "iggerRequest\0227\n\023trigger_launch_plan\030\001 \001(" + + "\0132\032.flyteidl.admin.LaunchPlan\"\027\n\025CreateT" + + "riggerResponse\"E\n\024DeleteTriggerRequest\022-" + + "\n\ntrigger_id\030\001 \001(\0132\031.flyteidl.core.Ident" + + "ifier\"\027\n\025DeleteTriggerResponse\"m\n\020Artifa" + + "ctProducer\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl" + + ".core.Identifier\022+\n\007outputs\030\002 \001(\0132\032.flyt" + + "eidl.core.VariableMap\"Q\n\027RegisterProduce" + + "rRequest\0226\n\tproducers\030\001 \003(\0132#.flyteidl.a" + + "rtifact.ArtifactProducer\"m\n\020ArtifactCons" + + "umer\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.core." + + "Identifier\022+\n\006inputs\030\002 \001(\0132\033.flyteidl.co" + + "re.ParameterMap\"Q\n\027RegisterConsumerReque" + + "st\0226\n\tconsumers\030\001 \003(\0132#.flyteidl.artifac" + + "t.ArtifactConsumer\"\022\n\020RegisterResponse2\306" + + "\005\n\020ArtifactRegistry\022g\n\016CreateArtifact\022(." + + "flyteidl.artifact.CreateArtifactRequest\032" + + ").flyteidl.artifact.CreateArtifactRespon" + + "se\"\000\022^\n\013GetArtifact\022%.flyteidl.artifact." + + "GetArtifactRequest\032&.flyteidl.artifact.G" + + "etArtifactResponse\"\000\022d\n\rCreateTrigger\022\'." + + "flyteidl.artifact.CreateTriggerRequest\032(" + + ".flyteidl.artifact.CreateTriggerResponse" + + "\"\000\022d\n\rDeleteTrigger\022\'.flyteidl.artifact." + + "DeleteTriggerRequest\032(.flyteidl.artifact" + + ".DeleteTriggerResponse\"\000\022O\n\006AddTag\022 .fly" + + "teidl.artifact.AddTagRequest\032!.flyteidl." + + "artifact.AddTagResponse\"\000\022e\n\020RegisterPro" + + "ducer\022*.flyteidl.artifact.RegisterProduc" + + "erRequest\032#.flyteidl.artifact.RegisterRe" + + "sponse\"\000\022e\n\020RegisterConsumer\022*.flyteidl." + + "artifact.RegisterConsumerRequest\032#.flyte" + + "idl.artifact.RegisterResponse\"\000B@Z>githu" + + "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" + + "flyteidl/artifactb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.AnyProto.getDescriptor(), + flyteidl.admin.LaunchPlanOuterClass.getDescriptor(), + flyteidl.core.Literals.getDescriptor(), + flyteidl.core.Types.getDescriptor(), + flyteidl.core.IdentifierOuterClass.getDescriptor(), + flyteidl.core.ArtifactId.getDescriptor(), + flyteidl.core.Interface.getDescriptor(), + }, assigner); + internal_static_flyteidl_artifact_Artifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_artifact_Artifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_Artifact_descriptor, + new java.lang.String[] { "ArtifactId", "Spec", "Tags", }); + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor, + new java.lang.String[] { "ArtifactKey", "Version", "Spec", "Partitions", "Tag", }); + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor = + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor.getNestedTypes().get(0); + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_flyteidl_artifact_ArtifactSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ArtifactSpec_descriptor, + new java.lang.String[] { "Value", "Type", "TaskExecution", "Execution", "Principal", "ShortDescription", "LongDescription", "UserMetadata", "MetadataType", }); + internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor, + new java.lang.String[] { "Artifact", }); + internal_static_flyteidl_artifact_GetArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_GetArtifactRequest_descriptor, + new java.lang.String[] { "Query", "Details", }); + internal_static_flyteidl_artifact_GetArtifactResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_GetArtifactResponse_descriptor, + new java.lang.String[] { "Artifact", }); + internal_static_flyteidl_artifact_ListArtifactNamesRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_flyteidl_artifact_ListArtifactNamesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ListArtifactNamesRequest_descriptor, + new java.lang.String[] { "Project", "Domain", }); + internal_static_flyteidl_artifact_ListArtifactNamesResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_flyteidl_artifact_ListArtifactNamesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ListArtifactNamesResponse_descriptor, + new java.lang.String[] { "ArtifactKeys", }); + internal_static_flyteidl_artifact_ListArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_flyteidl_artifact_ListArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ListArtifactsRequest_descriptor, + new java.lang.String[] { "ArtifactKey", }); + internal_static_flyteidl_artifact_ListArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_flyteidl_artifact_ListArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ListArtifactsResponse_descriptor, + new java.lang.String[] { "Artifacts", }); + internal_static_flyteidl_artifact_AddTagRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_AddTagRequest_descriptor, + new java.lang.String[] { "ArtifactId", "Value", "Overwrite", }); + internal_static_flyteidl_artifact_AddTagResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_AddTagResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor, + new java.lang.String[] { "TriggerLaunchPlan", }); + internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor, + new java.lang.String[] { "TriggerId", }); + internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_artifact_ArtifactProducer_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ArtifactProducer_descriptor, + new java.lang.String[] { "EntityId", "Outputs", }); + internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor, + new java.lang.String[] { "Producers", }); + internal_static_flyteidl_artifact_ArtifactConsumer_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ArtifactConsumer_descriptor, + new java.lang.String[] { "EntityId", "Inputs", }); + internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor, + new java.lang.String[] { "Consumers", }); + internal_static_flyteidl_artifact_RegisterResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_RegisterResponse_descriptor, + new java.lang.String[] { }); + com.google.protobuf.AnyProto.getDescriptor(); + flyteidl.admin.LaunchPlanOuterClass.getDescriptor(); + flyteidl.core.Literals.getDescriptor(); + flyteidl.core.Types.getDescriptor(); + flyteidl.core.IdentifierOuterClass.getDescriptor(); + flyteidl.core.ArtifactId.getDescriptor(); + flyteidl.core.Interface.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java b/flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java new file mode 100644 index 0000000000..3f9d3c7616 --- /dev/null +++ b/flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java @@ -0,0 +1,8575 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/core/artifact_id.proto + +package flyteidl.core; + +public final class ArtifactId { + private ArtifactId() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ArtifactKeyOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactKey) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Project and domain and suffix needs to be unique across a given artifact store.
+     * 
+ * + * string project = 1; + */ + java.lang.String getProject(); + /** + *
+     * Project and domain and suffix needs to be unique across a given artifact store.
+     * 
+ * + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + * string domain = 2; + */ + java.lang.String getDomain(); + /** + * string domain = 2; + */ + com.google.protobuf.ByteString + getDomainBytes(); + + /** + * string name = 3; + */ + java.lang.String getName(); + /** + * string name = 3; + */ + com.google.protobuf.ByteString + getNameBytes(); + } + /** + * Protobuf type {@code flyteidl.core.ArtifactKey} + */ + public static final class ArtifactKey extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactKey) + ArtifactKeyOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactKey.newBuilder() to construct. + private ArtifactKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactKey() { + project_ = ""; + domain_ = ""; + name_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactKey( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + domain_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactKey.class, flyteidl.core.ArtifactId.ArtifactKey.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + *
+     * Project and domain and suffix needs to be unique across a given artifact store.
+     * 
+ * + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } + } + /** + *
+     * Project and domain and suffix needs to be unique across a given artifact store.
+     * 
+ * + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOMAIN_FIELD_NUMBER = 2; + private volatile java.lang.Object domain_; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object name_; + /** + * string name = 3; + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 3; + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getProjectBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + } + if (!getDomainBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); + } + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getProjectBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + } + if (!getDomainBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); + } + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.ArtifactKey)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.ArtifactKey other = (flyteidl.core.ArtifactId.ArtifactKey) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getDomain().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.ArtifactKey prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.core.ArtifactKey} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactKey) + flyteidl.core.ArtifactId.ArtifactKeyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactKey.class, flyteidl.core.ArtifactId.ArtifactKey.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.ArtifactKey.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + domain_ = ""; + + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactKey getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactKey build() { + flyteidl.core.ArtifactId.ArtifactKey result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactKey buildPartial() { + flyteidl.core.ArtifactId.ArtifactKey result = new flyteidl.core.ArtifactId.ArtifactKey(this); + result.project_ = project_; + result.domain_ = domain_; + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.ArtifactKey) { + return mergeFrom((flyteidl.core.ArtifactId.ArtifactKey)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactKey other) { + if (other == flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getDomain().isEmpty()) { + domain_ = other.domain_; + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.ArtifactKey parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.ArtifactKey) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + *
+       * Project and domain and suffix needs to be unique across a given artifact store.
+       * 
+ * + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Project and domain and suffix needs to be unique across a given artifact store.
+       * 
+ * + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Project and domain and suffix needs to be unique across a given artifact store.
+       * 
+ * + * string project = 1; + */ + public Builder setProject( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + project_ = value; + onChanged(); + return this; + } + /** + *
+       * Project and domain and suffix needs to be unique across a given artifact store.
+       * 
+ * + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + *
+       * Project and domain and suffix needs to be unique across a given artifact store.
+       * 
+ * + * string project = 1; + */ + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + project_ = value; + onChanged(); + return this; + } + + private java.lang.Object domain_ = ""; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string domain = 2; + */ + public Builder setDomain( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + domain_ = value; + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder clearDomain() { + + domain_ = getDefaultInstance().getDomain(); + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + domain_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * string name = 3; + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 3; + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 3; + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * string name = 3; + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * string name = 3; + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.ArtifactKey) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactKey) + private static final flyteidl.core.ArtifactId.ArtifactKey DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactKey(); + } + + public static flyteidl.core.ArtifactId.ArtifactKey getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactKey(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactKey getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactBindingDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactBindingData) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 index = 1; + */ + int getIndex(); + + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + java.lang.String getPartitionKey(); + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + com.google.protobuf.ByteString + getPartitionKeyBytes(); + + /** + * string transform = 3; + */ + java.lang.String getTransform(); + /** + * string transform = 3; + */ + com.google.protobuf.ByteString + getTransformBytes(); + } + /** + *
+   * Only valid for triggers
+   * 
+ * + * Protobuf type {@code flyteidl.core.ArtifactBindingData} + */ + public static final class ArtifactBindingData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactBindingData) + ArtifactBindingDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactBindingData.newBuilder() to construct. + private ArtifactBindingData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactBindingData() { + partitionKey_ = ""; + transform_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactBindingData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + index_ = input.readUInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + partitionKey_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + transform_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactBindingData.class, flyteidl.core.ArtifactId.ArtifactBindingData.Builder.class); + } + + public static final int INDEX_FIELD_NUMBER = 1; + private int index_; + /** + * uint32 index = 1; + */ + public int getIndex() { + return index_; + } + + public static final int PARTITION_KEY_FIELD_NUMBER = 2; + private volatile java.lang.Object partitionKey_; + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + public java.lang.String getPartitionKey() { + java.lang.Object ref = partitionKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionKey_ = s; + return s; + } + } + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + public com.google.protobuf.ByteString + getPartitionKeyBytes() { + java.lang.Object ref = partitionKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSFORM_FIELD_NUMBER = 3; + private volatile java.lang.Object transform_; + /** + * string transform = 3; + */ + public java.lang.String getTransform() { + java.lang.Object ref = transform_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + transform_ = s; + return s; + } + } + /** + * string transform = 3; + */ + public com.google.protobuf.ByteString + getTransformBytes() { + java.lang.Object ref = transform_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + transform_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (index_ != 0) { + output.writeUInt32(1, index_); + } + if (!getPartitionKeyBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partitionKey_); + } + if (!getTransformBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, transform_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (index_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, index_); + } + if (!getPartitionKeyBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partitionKey_); + } + if (!getTransformBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, transform_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.ArtifactBindingData)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.ArtifactBindingData other = (flyteidl.core.ArtifactId.ArtifactBindingData) obj; + + if (getIndex() + != other.getIndex()) return false; + if (!getPartitionKey() + .equals(other.getPartitionKey())) return false; + if (!getTransform() + .equals(other.getTransform())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex(); + hash = (37 * hash) + PARTITION_KEY_FIELD_NUMBER; + hash = (53 * hash) + getPartitionKey().hashCode(); + hash = (37 * hash) + TRANSFORM_FIELD_NUMBER; + hash = (53 * hash) + getTransform().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.ArtifactBindingData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Only valid for triggers
+     * 
+ * + * Protobuf type {@code flyteidl.core.ArtifactBindingData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactBindingData) + flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactBindingData.class, flyteidl.core.ArtifactId.ArtifactBindingData.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.ArtifactBindingData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + index_ = 0; + + partitionKey_ = ""; + + transform_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactBindingData getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactBindingData build() { + flyteidl.core.ArtifactId.ArtifactBindingData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactBindingData buildPartial() { + flyteidl.core.ArtifactId.ArtifactBindingData result = new flyteidl.core.ArtifactId.ArtifactBindingData(this); + result.index_ = index_; + result.partitionKey_ = partitionKey_; + result.transform_ = transform_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.ArtifactBindingData) { + return mergeFrom((flyteidl.core.ArtifactId.ArtifactBindingData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactBindingData other) { + if (other == flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance()) return this; + if (other.getIndex() != 0) { + setIndex(other.getIndex()); + } + if (!other.getPartitionKey().isEmpty()) { + partitionKey_ = other.partitionKey_; + onChanged(); + } + if (!other.getTransform().isEmpty()) { + transform_ = other.transform_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.ArtifactBindingData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.ArtifactBindingData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int index_ ; + /** + * uint32 index = 1; + */ + public int getIndex() { + return index_; + } + /** + * uint32 index = 1; + */ + public Builder setIndex(int value) { + + index_ = value; + onChanged(); + return this; + } + /** + * uint32 index = 1; + */ + public Builder clearIndex() { + + index_ = 0; + onChanged(); + return this; + } + + private java.lang.Object partitionKey_ = ""; + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public java.lang.String getPartitionKey() { + java.lang.Object ref = partitionKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public com.google.protobuf.ByteString + getPartitionKeyBytes() { + java.lang.Object ref = partitionKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public Builder setPartitionKey( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + partitionKey_ = value; + onChanged(); + return this; + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public Builder clearPartitionKey() { + + partitionKey_ = getDefaultInstance().getPartitionKey(); + onChanged(); + return this; + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public Builder setPartitionKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + partitionKey_ = value; + onChanged(); + return this; + } + + private java.lang.Object transform_ = ""; + /** + * string transform = 3; + */ + public java.lang.String getTransform() { + java.lang.Object ref = transform_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + transform_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string transform = 3; + */ + public com.google.protobuf.ByteString + getTransformBytes() { + java.lang.Object ref = transform_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + transform_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string transform = 3; + */ + public Builder setTransform( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + transform_ = value; + onChanged(); + return this; + } + /** + * string transform = 3; + */ + public Builder clearTransform() { + + transform_ = getDefaultInstance().getTransform(); + onChanged(); + return this; + } + /** + * string transform = 3; + */ + public Builder setTransformBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + transform_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.ArtifactBindingData) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactBindingData) + private static final flyteidl.core.ArtifactId.ArtifactBindingData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactBindingData(); + } + + public static flyteidl.core.ArtifactId.ArtifactBindingData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactBindingData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactBindingData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactBindingData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface InputBindingDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.InputBindingData) + com.google.protobuf.MessageOrBuilder { + + /** + * string var = 1; + */ + java.lang.String getVar(); + /** + * string var = 1; + */ + com.google.protobuf.ByteString + getVarBytes(); + } + /** + * Protobuf type {@code flyteidl.core.InputBindingData} + */ + public static final class InputBindingData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.InputBindingData) + InputBindingDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use InputBindingData.newBuilder() to construct. + private InputBindingData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InputBindingData() { + var_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private InputBindingData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + var_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.InputBindingData.class, flyteidl.core.ArtifactId.InputBindingData.Builder.class); + } + + public static final int VAR_FIELD_NUMBER = 1; + private volatile java.lang.Object var_; + /** + * string var = 1; + */ + public java.lang.String getVar() { + java.lang.Object ref = var_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + var_ = s; + return s; + } + } + /** + * string var = 1; + */ + public com.google.protobuf.ByteString + getVarBytes() { + java.lang.Object ref = var_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + var_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getVarBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, var_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getVarBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, var_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.InputBindingData)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.InputBindingData other = (flyteidl.core.ArtifactId.InputBindingData) obj; + + if (!getVar() + .equals(other.getVar())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VAR_FIELD_NUMBER; + hash = (53 * hash) + getVar().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.InputBindingData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.InputBindingData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.InputBindingData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.InputBindingData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.core.InputBindingData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.InputBindingData) + flyteidl.core.ArtifactId.InputBindingDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.InputBindingData.class, flyteidl.core.ArtifactId.InputBindingData.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.InputBindingData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + var_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.InputBindingData getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.InputBindingData build() { + flyteidl.core.ArtifactId.InputBindingData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.InputBindingData buildPartial() { + flyteidl.core.ArtifactId.InputBindingData result = new flyteidl.core.ArtifactId.InputBindingData(this); + result.var_ = var_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.InputBindingData) { + return mergeFrom((flyteidl.core.ArtifactId.InputBindingData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.InputBindingData other) { + if (other == flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance()) return this; + if (!other.getVar().isEmpty()) { + var_ = other.var_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.InputBindingData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.InputBindingData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object var_ = ""; + /** + * string var = 1; + */ + public java.lang.String getVar() { + java.lang.Object ref = var_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + var_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string var = 1; + */ + public com.google.protobuf.ByteString + getVarBytes() { + java.lang.Object ref = var_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + var_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string var = 1; + */ + public Builder setVar( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + var_ = value; + onChanged(); + return this; + } + /** + * string var = 1; + */ + public Builder clearVar() { + + var_ = getDefaultInstance().getVar(); + onChanged(); + return this; + } + /** + * string var = 1; + */ + public Builder setVarBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + var_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.InputBindingData) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.InputBindingData) + private static final flyteidl.core.ArtifactId.InputBindingData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.InputBindingData(); + } + + public static flyteidl.core.ArtifactId.InputBindingData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputBindingData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InputBindingData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.InputBindingData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface LabelValueOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.LabelValue) + com.google.protobuf.MessageOrBuilder { + + /** + * string static_value = 1; + */ + java.lang.String getStaticValue(); + /** + * string static_value = 1; + */ + com.google.protobuf.ByteString + getStaticValueBytes(); + + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + boolean hasTriggeredBinding(); + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding(); + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder(); + + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + boolean hasInputBinding(); + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + flyteidl.core.ArtifactId.InputBindingData getInputBinding(); + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder(); + + public flyteidl.core.ArtifactId.LabelValue.ValueCase getValueCase(); + } + /** + * Protobuf type {@code flyteidl.core.LabelValue} + */ + public static final class LabelValue extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.LabelValue) + LabelValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use LabelValue.newBuilder() to construct. + private LabelValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LabelValue() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private LabelValue( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 1; + value_ = s; + break; + } + case 18: { + flyteidl.core.ArtifactId.ArtifactBindingData.Builder subBuilder = null; + if (valueCase_ == 2) { + subBuilder = ((flyteidl.core.ArtifactId.ArtifactBindingData) value_).toBuilder(); + } + value_ = + input.readMessage(flyteidl.core.ArtifactId.ArtifactBindingData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactBindingData) value_); + value_ = subBuilder.buildPartial(); + } + valueCase_ = 2; + break; + } + case 26: { + flyteidl.core.ArtifactId.InputBindingData.Builder subBuilder = null; + if (valueCase_ == 3) { + subBuilder = ((flyteidl.core.ArtifactId.InputBindingData) value_).toBuilder(); + } + value_ = + input.readMessage(flyteidl.core.ArtifactId.InputBindingData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.InputBindingData) value_); + value_ = subBuilder.buildPartial(); + } + valueCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.LabelValue.class, flyteidl.core.ArtifactId.LabelValue.Builder.class); + } + + private int valueCase_ = 0; + private java.lang.Object value_; + public enum ValueCase + implements com.google.protobuf.Internal.EnumLite { + STATIC_VALUE(1), + TRIGGERED_BINDING(2), + INPUT_BINDING(3), + VALUE_NOT_SET(0); + private final int value; + private ValueCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ValueCase valueOf(int value) { + return forNumber(value); + } + + public static ValueCase forNumber(int value) { + switch (value) { + case 1: return STATIC_VALUE; + case 2: return TRIGGERED_BINDING; + case 3: return INPUT_BINDING; + case 0: return VALUE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); + } + + public static final int STATIC_VALUE_FIELD_NUMBER = 1; + /** + * string static_value = 1; + */ + public java.lang.String getStaticValue() { + java.lang.Object ref = ""; + if (valueCase_ == 1) { + ref = value_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (valueCase_ == 1) { + value_ = s; + } + return s; + } + } + /** + * string static_value = 1; + */ + public com.google.protobuf.ByteString + getStaticValueBytes() { + java.lang.Object ref = ""; + if (valueCase_ == 1) { + ref = value_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (valueCase_ == 1) { + value_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRIGGERED_BINDING_FIELD_NUMBER = 2; + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public boolean hasTriggeredBinding() { + return valueCase_ == 2; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding() { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder() { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + + public static final int INPUT_BINDING_FIELD_NUMBER = 3; + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public boolean hasInputBinding() { + return valueCase_ == 3; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingData getInputBinding() { + if (valueCase_ == 3) { + return (flyteidl.core.ArtifactId.InputBindingData) value_; + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder() { + if (valueCase_ == 3) { + return (flyteidl.core.ArtifactId.InputBindingData) value_; + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (valueCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); + } + if (valueCase_ == 2) { + output.writeMessage(2, (flyteidl.core.ArtifactId.ArtifactBindingData) value_); + } + if (valueCase_ == 3) { + output.writeMessage(3, (flyteidl.core.ArtifactId.InputBindingData) value_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (valueCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); + } + if (valueCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.core.ArtifactId.ArtifactBindingData) value_); + } + if (valueCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.core.ArtifactId.InputBindingData) value_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.LabelValue)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.LabelValue other = (flyteidl.core.ArtifactId.LabelValue) obj; + + if (!getValueCase().equals(other.getValueCase())) return false; + switch (valueCase_) { + case 1: + if (!getStaticValue() + .equals(other.getStaticValue())) return false; + break; + case 2: + if (!getTriggeredBinding() + .equals(other.getTriggeredBinding())) return false; + break; + case 3: + if (!getInputBinding() + .equals(other.getInputBinding())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (valueCase_) { + case 1: + hash = (37 * hash) + STATIC_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getStaticValue().hashCode(); + break; + case 2: + hash = (37 * hash) + TRIGGERED_BINDING_FIELD_NUMBER; + hash = (53 * hash) + getTriggeredBinding().hashCode(); + break; + case 3: + hash = (37 * hash) + INPUT_BINDING_FIELD_NUMBER; + hash = (53 * hash) + getInputBinding().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.LabelValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.LabelValue parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.LabelValue parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.LabelValue prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.core.LabelValue} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.LabelValue) + flyteidl.core.ArtifactId.LabelValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.LabelValue.class, flyteidl.core.ArtifactId.LabelValue.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.LabelValue.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + valueCase_ = 0; + value_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.LabelValue getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.LabelValue.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.LabelValue build() { + flyteidl.core.ArtifactId.LabelValue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.LabelValue buildPartial() { + flyteidl.core.ArtifactId.LabelValue result = new flyteidl.core.ArtifactId.LabelValue(this); + if (valueCase_ == 1) { + result.value_ = value_; + } + if (valueCase_ == 2) { + if (triggeredBindingBuilder_ == null) { + result.value_ = value_; + } else { + result.value_ = triggeredBindingBuilder_.build(); + } + } + if (valueCase_ == 3) { + if (inputBindingBuilder_ == null) { + result.value_ = value_; + } else { + result.value_ = inputBindingBuilder_.build(); + } + } + result.valueCase_ = valueCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.LabelValue) { + return mergeFrom((flyteidl.core.ArtifactId.LabelValue)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.LabelValue other) { + if (other == flyteidl.core.ArtifactId.LabelValue.getDefaultInstance()) return this; + switch (other.getValueCase()) { + case STATIC_VALUE: { + valueCase_ = 1; + value_ = other.value_; + onChanged(); + break; + } + case TRIGGERED_BINDING: { + mergeTriggeredBinding(other.getTriggeredBinding()); + break; + } + case INPUT_BINDING: { + mergeInputBinding(other.getInputBinding()); + break; + } + case VALUE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.LabelValue parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.LabelValue) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int valueCase_ = 0; + private java.lang.Object value_; + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); + } + + public Builder clearValue() { + valueCase_ = 0; + value_ = null; + onChanged(); + return this; + } + + + /** + * string static_value = 1; + */ + public java.lang.String getStaticValue() { + java.lang.Object ref = ""; + if (valueCase_ == 1) { + ref = value_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (valueCase_ == 1) { + value_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string static_value = 1; + */ + public com.google.protobuf.ByteString + getStaticValueBytes() { + java.lang.Object ref = ""; + if (valueCase_ == 1) { + ref = value_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (valueCase_ == 1) { + value_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string static_value = 1; + */ + public Builder setStaticValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + valueCase_ = 1; + value_ = value; + onChanged(); + return this; + } + /** + * string static_value = 1; + */ + public Builder clearStaticValue() { + if (valueCase_ == 1) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + return this; + } + /** + * string static_value = 1; + */ + public Builder setStaticValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + valueCase_ = 1; + value_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> triggeredBindingBuilder_; + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public boolean hasTriggeredBinding() { + return valueCase_ == 2; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding() { + if (triggeredBindingBuilder_ == null) { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } else { + if (valueCase_ == 2) { + return triggeredBindingBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public Builder setTriggeredBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { + if (triggeredBindingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + triggeredBindingBuilder_.setMessage(value); + } + valueCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public Builder setTriggeredBinding( + flyteidl.core.ArtifactId.ArtifactBindingData.Builder builderForValue) { + if (triggeredBindingBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + triggeredBindingBuilder_.setMessage(builderForValue.build()); + } + valueCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public Builder mergeTriggeredBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { + if (triggeredBindingBuilder_ == null) { + if (valueCase_ == 2 && + value_ != flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance()) { + value_ = flyteidl.core.ArtifactId.ArtifactBindingData.newBuilder((flyteidl.core.ArtifactId.ArtifactBindingData) value_) + .mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + if (valueCase_ == 2) { + triggeredBindingBuilder_.mergeFrom(value); + } + triggeredBindingBuilder_.setMessage(value); + } + valueCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public Builder clearTriggeredBinding() { + if (triggeredBindingBuilder_ == null) { + if (valueCase_ == 2) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + } else { + if (valueCase_ == 2) { + valueCase_ = 0; + value_ = null; + } + triggeredBindingBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData.Builder getTriggeredBindingBuilder() { + return getTriggeredBindingFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder() { + if ((valueCase_ == 2) && (triggeredBindingBuilder_ != null)) { + return triggeredBindingBuilder_.getMessageOrBuilder(); + } else { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> + getTriggeredBindingFieldBuilder() { + if (triggeredBindingBuilder_ == null) { + if (!(valueCase_ == 2)) { + value_ = flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + triggeredBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder>( + (flyteidl.core.ArtifactId.ArtifactBindingData) value_, + getParentForChildren(), + isClean()); + value_ = null; + } + valueCase_ = 2; + onChanged();; + return triggeredBindingBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.InputBindingData, flyteidl.core.ArtifactId.InputBindingData.Builder, flyteidl.core.ArtifactId.InputBindingDataOrBuilder> inputBindingBuilder_; + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public boolean hasInputBinding() { + return valueCase_ == 3; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingData getInputBinding() { + if (inputBindingBuilder_ == null) { + if (valueCase_ == 3) { + return (flyteidl.core.ArtifactId.InputBindingData) value_; + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } else { + if (valueCase_ == 3) { + return inputBindingBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public Builder setInputBinding(flyteidl.core.ArtifactId.InputBindingData value) { + if (inputBindingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + inputBindingBuilder_.setMessage(value); + } + valueCase_ = 3; + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public Builder setInputBinding( + flyteidl.core.ArtifactId.InputBindingData.Builder builderForValue) { + if (inputBindingBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + inputBindingBuilder_.setMessage(builderForValue.build()); + } + valueCase_ = 3; + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public Builder mergeInputBinding(flyteidl.core.ArtifactId.InputBindingData value) { + if (inputBindingBuilder_ == null) { + if (valueCase_ == 3 && + value_ != flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance()) { + value_ = flyteidl.core.ArtifactId.InputBindingData.newBuilder((flyteidl.core.ArtifactId.InputBindingData) value_) + .mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + if (valueCase_ == 3) { + inputBindingBuilder_.mergeFrom(value); + } + inputBindingBuilder_.setMessage(value); + } + valueCase_ = 3; + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public Builder clearInputBinding() { + if (inputBindingBuilder_ == null) { + if (valueCase_ == 3) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + } else { + if (valueCase_ == 3) { + valueCase_ = 0; + value_ = null; + } + inputBindingBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingData.Builder getInputBindingBuilder() { + return getInputBindingFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder() { + if ((valueCase_ == 3) && (inputBindingBuilder_ != null)) { + return inputBindingBuilder_.getMessageOrBuilder(); + } else { + if (valueCase_ == 3) { + return (flyteidl.core.ArtifactId.InputBindingData) value_; + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.InputBindingData, flyteidl.core.ArtifactId.InputBindingData.Builder, flyteidl.core.ArtifactId.InputBindingDataOrBuilder> + getInputBindingFieldBuilder() { + if (inputBindingBuilder_ == null) { + if (!(valueCase_ == 3)) { + value_ = flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + inputBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.InputBindingData, flyteidl.core.ArtifactId.InputBindingData.Builder, flyteidl.core.ArtifactId.InputBindingDataOrBuilder>( + (flyteidl.core.ArtifactId.InputBindingData) value_, + getParentForChildren(), + isClean()); + value_ = null; + } + valueCase_ = 3; + onChanged();; + return inputBindingBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.LabelValue) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.LabelValue) + private static final flyteidl.core.ArtifactId.LabelValue DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.LabelValue(); + } + + public static flyteidl.core.ArtifactId.LabelValue getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelValue(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.LabelValue getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PartitionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.Partitions) + com.google.protobuf.MessageOrBuilder { + + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + int getValueCount(); + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + boolean containsValue( + java.lang.String key); + /** + * Use {@link #getValueMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getValue(); + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + java.util.Map + getValueMap(); + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + flyteidl.core.ArtifactId.LabelValue getValueOrDefault( + java.lang.String key, + flyteidl.core.ArtifactId.LabelValue defaultValue); + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + flyteidl.core.ArtifactId.LabelValue getValueOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code flyteidl.core.Partitions} + */ + public static final class Partitions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.Partitions) + PartitionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Partitions.newBuilder() to construct. + private Partitions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Partitions() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Partitions( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + value_ = com.google.protobuf.MapField.newMapField( + ValueDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + value__ = input.readMessage( + ValueDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + value_.getMutableMap().put( + value__.getKey(), value__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValue(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.Partitions.class, flyteidl.core.ArtifactId.Partitions.Builder.class); + } + + public static final int VALUE_FIELD_NUMBER = 1; + private static final class ValueDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, flyteidl.core.ArtifactId.LabelValue> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_ValueEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + flyteidl.core.ArtifactId.LabelValue.getDefaultInstance()); + } + private com.google.protobuf.MapField< + java.lang.String, flyteidl.core.ArtifactId.LabelValue> value_; + private com.google.protobuf.MapField + internalGetValue() { + if (value_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValueDefaultEntryHolder.defaultEntry); + } + return value_; + } + + public int getValueCount() { + return internalGetValue().getMap().size(); + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public boolean containsValue( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetValue().getMap().containsKey(key); + } + /** + * Use {@link #getValueMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getValue() { + return getValueMap(); + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public java.util.Map getValueMap() { + return internalGetValue().getMap(); + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public flyteidl.core.ArtifactId.LabelValue getValueOrDefault( + java.lang.String key, + flyteidl.core.ArtifactId.LabelValue defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetValue().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public flyteidl.core.ArtifactId.LabelValue getValueOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetValue().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetValue(), + ValueDefaultEntryHolder.defaultEntry, + 1); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetValue().getMap().entrySet()) { + com.google.protobuf.MapEntry + value__ = ValueDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, value__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.Partitions)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.Partitions other = (flyteidl.core.ArtifactId.Partitions) obj; + + if (!internalGetValue().equals( + other.internalGetValue())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetValue().getMap().isEmpty()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + internalGetValue().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.Partitions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Partitions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Partitions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Partitions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.Partitions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.core.Partitions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.Partitions) + flyteidl.core.ArtifactId.PartitionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetValue(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableValue(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.Partitions.class, flyteidl.core.ArtifactId.Partitions.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.Partitions.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + internalGetMutableValue().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Partitions getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Partitions build() { + flyteidl.core.ArtifactId.Partitions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Partitions buildPartial() { + flyteidl.core.ArtifactId.Partitions result = new flyteidl.core.ArtifactId.Partitions(this); + int from_bitField0_ = bitField0_; + result.value_ = internalGetValue(); + result.value_.makeImmutable(); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.Partitions) { + return mergeFrom((flyteidl.core.ArtifactId.Partitions)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.Partitions other) { + if (other == flyteidl.core.ArtifactId.Partitions.getDefaultInstance()) return this; + internalGetMutableValue().mergeFrom( + other.internalGetValue()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.Partitions parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.Partitions) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, flyteidl.core.ArtifactId.LabelValue> value_; + private com.google.protobuf.MapField + internalGetValue() { + if (value_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ValueDefaultEntryHolder.defaultEntry); + } + return value_; + } + private com.google.protobuf.MapField + internalGetMutableValue() { + onChanged();; + if (value_ == null) { + value_ = com.google.protobuf.MapField.newMapField( + ValueDefaultEntryHolder.defaultEntry); + } + if (!value_.isMutable()) { + value_ = value_.copy(); + } + return value_; + } + + public int getValueCount() { + return internalGetValue().getMap().size(); + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public boolean containsValue( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetValue().getMap().containsKey(key); + } + /** + * Use {@link #getValueMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getValue() { + return getValueMap(); + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public java.util.Map getValueMap() { + return internalGetValue().getMap(); + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public flyteidl.core.ArtifactId.LabelValue getValueOrDefault( + java.lang.String key, + flyteidl.core.ArtifactId.LabelValue defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetValue().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public flyteidl.core.ArtifactId.LabelValue getValueOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetValue().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearValue() { + internalGetMutableValue().getMutableMap() + .clear(); + return this; + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public Builder removeValue( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableValue().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableValue() { + return internalGetMutableValue().getMutableMap(); + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + public Builder putValue( + java.lang.String key, + flyteidl.core.ArtifactId.LabelValue value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableValue().getMutableMap() + .put(key, value); + return this; + } + /** + * map<string, .flyteidl.core.LabelValue> value = 1; + */ + + public Builder putAllValue( + java.util.Map values) { + internalGetMutableValue().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.Partitions) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.Partitions) + private static final flyteidl.core.ArtifactId.Partitions DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.Partitions(); + } + + public static flyteidl.core.ArtifactId.Partitions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Partitions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Partitions(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Partitions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactIDOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactID) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + boolean hasArtifactKey(); + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKey getArtifactKey(); + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder(); + + /** + * string version = 2; + */ + java.lang.String getVersion(); + /** + * string version = 2; + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * .flyteidl.core.Partitions partitions = 3; + */ + boolean hasPartitions(); + /** + * .flyteidl.core.Partitions partitions = 3; + */ + flyteidl.core.ArtifactId.Partitions getPartitions(); + /** + * .flyteidl.core.Partitions partitions = 3; + */ + flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder(); + + public flyteidl.core.ArtifactId.ArtifactID.DimensionsCase getDimensionsCase(); + } + /** + * Protobuf type {@code flyteidl.core.ArtifactID} + */ + public static final class ArtifactID extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactID) + ArtifactIDOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactID.newBuilder() to construct. + private ArtifactID(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactID() { + version_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactID( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactKey.Builder subBuilder = null; + if (artifactKey_ != null) { + subBuilder = artifactKey_.toBuilder(); + } + artifactKey_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactKey_); + artifactKey_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 26: { + flyteidl.core.ArtifactId.Partitions.Builder subBuilder = null; + if (dimensionsCase_ == 3) { + subBuilder = ((flyteidl.core.ArtifactId.Partitions) dimensions_).toBuilder(); + } + dimensions_ = + input.readMessage(flyteidl.core.ArtifactId.Partitions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.Partitions) dimensions_); + dimensions_ = subBuilder.buildPartial(); + } + dimensionsCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactID.class, flyteidl.core.ArtifactId.ArtifactID.Builder.class); + } + + private int dimensionsCase_ = 0; + private java.lang.Object dimensions_; + public enum DimensionsCase + implements com.google.protobuf.Internal.EnumLite { + PARTITIONS(3), + DIMENSIONS_NOT_SET(0); + private final int value; + private DimensionsCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DimensionsCase valueOf(int value) { + return forNumber(value); + } + + public static DimensionsCase forNumber(int value) { + switch (value) { + case 3: return PARTITIONS; + case 0: return DIMENSIONS_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public DimensionsCase + getDimensionsCase() { + return DimensionsCase.forNumber( + dimensionsCase_); + } + + public static final int ARTIFACT_KEY_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKey_ != null; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + return getArtifactKey(); + } + + public static final int VERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object version_; + /** + * string version = 2; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + * string version = 2; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARTITIONS_FIELD_NUMBER = 3; + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public boolean hasPartitions() { + return dimensionsCase_ == 3; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.Partitions getPartitions() { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactKey_ != null) { + output.writeMessage(1, getArtifactKey()); + } + if (!getVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + } + if (dimensionsCase_ == 3) { + output.writeMessage(3, (flyteidl.core.ArtifactId.Partitions) dimensions_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactKey_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactKey()); + } + if (!getVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + } + if (dimensionsCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.core.ArtifactId.Partitions) dimensions_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.ArtifactID)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.ArtifactID other = (flyteidl.core.ArtifactId.ArtifactID) obj; + + if (hasArtifactKey() != other.hasArtifactKey()) return false; + if (hasArtifactKey()) { + if (!getArtifactKey() + .equals(other.getArtifactKey())) return false; + } + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getDimensionsCase().equals(other.getDimensionsCase())) return false; + switch (dimensionsCase_) { + case 3: + if (!getPartitions() + .equals(other.getPartitions())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifactKey()) { + hash = (37 * hash) + ARTIFACT_KEY_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKey().hashCode(); + } + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + switch (dimensionsCase_) { + case 3: + hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; + hash = (53 * hash) + getPartitions().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactID parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactID parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactID parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.ArtifactID prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.core.ArtifactID} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactID) + flyteidl.core.ArtifactId.ArtifactIDOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactID.class, flyteidl.core.ArtifactId.ArtifactID.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.ArtifactID.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + version_ = ""; + + dimensionsCase_ = 0; + dimensions_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactID getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactID build() { + flyteidl.core.ArtifactId.ArtifactID result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactID buildPartial() { + flyteidl.core.ArtifactId.ArtifactID result = new flyteidl.core.ArtifactId.ArtifactID(this); + if (artifactKeyBuilder_ == null) { + result.artifactKey_ = artifactKey_; + } else { + result.artifactKey_ = artifactKeyBuilder_.build(); + } + result.version_ = version_; + if (dimensionsCase_ == 3) { + if (partitionsBuilder_ == null) { + result.dimensions_ = dimensions_; + } else { + result.dimensions_ = partitionsBuilder_.build(); + } + } + result.dimensionsCase_ = dimensionsCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.ArtifactID) { + return mergeFrom((flyteidl.core.ArtifactId.ArtifactID)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactID other) { + if (other == flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()) return this; + if (other.hasArtifactKey()) { + mergeArtifactKey(other.getArtifactKey()); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + switch (other.getDimensionsCase()) { + case PARTITIONS: { + mergePartitions(other.getPartitions()); + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.ArtifactID parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.ArtifactID) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int dimensionsCase_ = 0; + private java.lang.Object dimensions_; + public DimensionsCase + getDimensionsCase() { + return DimensionsCase.forNumber( + dimensionsCase_); + } + + public Builder clearDimensions() { + dimensionsCase_ = 0; + dimensions_ = null; + onChanged(); + return this; + } + + + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> artifactKeyBuilder_; + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKeyBuilder_ != null || artifactKey_ != null; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + if (artifactKeyBuilder_ == null) { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } else { + return artifactKeyBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactKey_ = value; + onChanged(); + } else { + artifactKeyBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey( + flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { + if (artifactKeyBuilder_ == null) { + artifactKey_ = builderForValue.build(); + onChanged(); + } else { + artifactKeyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder mergeArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (artifactKey_ != null) { + artifactKey_ = + flyteidl.core.ArtifactId.ArtifactKey.newBuilder(artifactKey_).mergeFrom(value).buildPartial(); + } else { + artifactKey_ = value; + } + onChanged(); + } else { + artifactKeyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder clearArtifactKey() { + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + onChanged(); + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeyBuilder() { + + onChanged(); + return getArtifactKeyFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + if (artifactKeyBuilder_ != null) { + return artifactKeyBuilder_.getMessageOrBuilder(); + } else { + return artifactKey_ == null ? + flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> + getArtifactKeyFieldBuilder() { + if (artifactKeyBuilder_ == null) { + artifactKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder>( + getArtifactKey(), + getParentForChildren(), + isClean()); + artifactKey_ = null; + } + return artifactKeyBuilder_; + } + + private java.lang.Object version_ = ""; + /** + * string version = 2; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string version = 2; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string version = 2; + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + * string version = 2; + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * string version = 2; + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder> partitionsBuilder_; + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public boolean hasPartitions() { + return dimensionsCase_ == 3; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.Partitions getPartitions() { + if (partitionsBuilder_ == null) { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } else { + if (dimensionsCase_ == 3) { + return partitionsBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder setPartitions(flyteidl.core.ArtifactId.Partitions value) { + if (partitionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dimensions_ = value; + onChanged(); + } else { + partitionsBuilder_.setMessage(value); + } + dimensionsCase_ = 3; + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder setPartitions( + flyteidl.core.ArtifactId.Partitions.Builder builderForValue) { + if (partitionsBuilder_ == null) { + dimensions_ = builderForValue.build(); + onChanged(); + } else { + partitionsBuilder_.setMessage(builderForValue.build()); + } + dimensionsCase_ = 3; + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder mergePartitions(flyteidl.core.ArtifactId.Partitions value) { + if (partitionsBuilder_ == null) { + if (dimensionsCase_ == 3 && + dimensions_ != flyteidl.core.ArtifactId.Partitions.getDefaultInstance()) { + dimensions_ = flyteidl.core.ArtifactId.Partitions.newBuilder((flyteidl.core.ArtifactId.Partitions) dimensions_) + .mergeFrom(value).buildPartial(); + } else { + dimensions_ = value; + } + onChanged(); + } else { + if (dimensionsCase_ == 3) { + partitionsBuilder_.mergeFrom(value); + } + partitionsBuilder_.setMessage(value); + } + dimensionsCase_ = 3; + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder clearPartitions() { + if (partitionsBuilder_ == null) { + if (dimensionsCase_ == 3) { + dimensionsCase_ = 0; + dimensions_ = null; + onChanged(); + } + } else { + if (dimensionsCase_ == 3) { + dimensionsCase_ = 0; + dimensions_ = null; + } + partitionsBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.Partitions.Builder getPartitionsBuilder() { + return getPartitionsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { + if ((dimensionsCase_ == 3) && (partitionsBuilder_ != null)) { + return partitionsBuilder_.getMessageOrBuilder(); + } else { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder> + getPartitionsFieldBuilder() { + if (partitionsBuilder_ == null) { + if (!(dimensionsCase_ == 3)) { + dimensions_ = flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + partitionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder>( + (flyteidl.core.ArtifactId.Partitions) dimensions_, + getParentForChildren(), + isClean()); + dimensions_ = null; + } + dimensionsCase_ = 3; + onChanged();; + return partitionsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.ArtifactID) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactID) + private static final flyteidl.core.ArtifactId.ArtifactID DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactID(); + } + + public static flyteidl.core.ArtifactId.ArtifactID getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactID parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactID(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactID getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactTagOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactTag) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + boolean hasArtifactKey(); + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKey getArtifactKey(); + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder(); + + /** + * .flyteidl.core.LabelValue value = 2; + */ + boolean hasValue(); + /** + * .flyteidl.core.LabelValue value = 2; + */ + flyteidl.core.ArtifactId.LabelValue getValue(); + /** + * .flyteidl.core.LabelValue value = 2; + */ + flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.core.ArtifactTag} + */ + public static final class ArtifactTag extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactTag) + ArtifactTagOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactTag.newBuilder() to construct. + private ArtifactTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactTag() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactTag( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactKey.Builder subBuilder = null; + if (artifactKey_ != null) { + subBuilder = artifactKey_.toBuilder(); + } + artifactKey_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactKey_); + artifactKey_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.ArtifactId.LabelValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = input.readMessage(flyteidl.core.ArtifactId.LabelValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactTag.class, flyteidl.core.ArtifactId.ArtifactTag.Builder.class); + } + + public static final int ARTIFACT_KEY_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKey_ != null; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + return getArtifactKey(); + } + + public static final int VALUE_FIELD_NUMBER = 2; + private flyteidl.core.ArtifactId.LabelValue value_; + /** + * .flyteidl.core.LabelValue value = 2; + */ + public boolean hasValue() { + return value_ != null; + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public flyteidl.core.ArtifactId.LabelValue getValue() { + return value_ == null ? flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder() { + return getValue(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactKey_ != null) { + output.writeMessage(1, getArtifactKey()); + } + if (value_ != null) { + output.writeMessage(2, getValue()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactKey_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactKey()); + } + if (value_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.ArtifactTag)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.ArtifactTag other = (flyteidl.core.ArtifactId.ArtifactTag) obj; + + if (hasArtifactKey() != other.hasArtifactKey()) return false; + if (hasArtifactKey()) { + if (!getArtifactKey() + .equals(other.getArtifactKey())) return false; + } + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasArtifactKey()) { + hash = (37 * hash) + ARTIFACT_KEY_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKey().hashCode(); + } + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.ArtifactTag prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.core.ArtifactTag} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactTag) + flyteidl.core.ArtifactId.ArtifactTagOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactTag.class, flyteidl.core.ArtifactId.ArtifactTag.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.ArtifactTag.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + if (valueBuilder_ == null) { + value_ = null; + } else { + value_ = null; + valueBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactTag getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactTag build() { + flyteidl.core.ArtifactId.ArtifactTag result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactTag buildPartial() { + flyteidl.core.ArtifactId.ArtifactTag result = new flyteidl.core.ArtifactId.ArtifactTag(this); + if (artifactKeyBuilder_ == null) { + result.artifactKey_ = artifactKey_; + } else { + result.artifactKey_ = artifactKeyBuilder_.build(); + } + if (valueBuilder_ == null) { + result.value_ = value_; + } else { + result.value_ = valueBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.ArtifactTag) { + return mergeFrom((flyteidl.core.ArtifactId.ArtifactTag)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactTag other) { + if (other == flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance()) return this; + if (other.hasArtifactKey()) { + mergeArtifactKey(other.getArtifactKey()); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.ArtifactTag parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.ArtifactTag) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> artifactKeyBuilder_; + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKeyBuilder_ != null || artifactKey_ != null; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + if (artifactKeyBuilder_ == null) { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } else { + return artifactKeyBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactKey_ = value; + onChanged(); + } else { + artifactKeyBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder setArtifactKey( + flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { + if (artifactKeyBuilder_ == null) { + artifactKey_ = builderForValue.build(); + onChanged(); + } else { + artifactKeyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder mergeArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { + if (artifactKeyBuilder_ == null) { + if (artifactKey_ != null) { + artifactKey_ = + flyteidl.core.ArtifactId.ArtifactKey.newBuilder(artifactKey_).mergeFrom(value).buildPartial(); + } else { + artifactKey_ = value; + } + onChanged(); + } else { + artifactKeyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder clearArtifactKey() { + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + onChanged(); + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeyBuilder() { + + onChanged(); + return getArtifactKeyFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + if (artifactKeyBuilder_ != null) { + return artifactKeyBuilder_.getMessageOrBuilder(); + } else { + return artifactKey_ == null ? + flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + } + /** + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> + getArtifactKeyFieldBuilder() { + if (artifactKeyBuilder_ == null) { + artifactKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder>( + getArtifactKey(), + getParentForChildren(), + isClean()); + artifactKey_ = null; + } + return artifactKeyBuilder_; + } + + private flyteidl.core.ArtifactId.LabelValue value_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder> valueBuilder_; + /** + * .flyteidl.core.LabelValue value = 2; + */ + public boolean hasValue() { + return valueBuilder_ != null || value_ != null; + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public flyteidl.core.ArtifactId.LabelValue getValue() { + if (valueBuilder_ == null) { + return value_ == null ? flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public Builder setValue(flyteidl.core.ArtifactId.LabelValue value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + valueBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public Builder setValue( + flyteidl.core.ArtifactId.LabelValue.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public Builder mergeValue(flyteidl.core.ArtifactId.LabelValue value) { + if (valueBuilder_ == null) { + if (value_ != null) { + value_ = + flyteidl.core.ArtifactId.LabelValue.newBuilder(value_).mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + valueBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public Builder clearValue() { + if (valueBuilder_ == null) { + value_ = null; + onChanged(); + } else { + value_ = null; + valueBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public flyteidl.core.ArtifactId.LabelValue.Builder getValueBuilder() { + + onChanged(); + return getValueFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + public flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; + } + } + /** + * .flyteidl.core.LabelValue value = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder> + getValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.ArtifactTag) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactTag) + private static final flyteidl.core.ArtifactId.ArtifactTag DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactTag(); + } + + public static flyteidl.core.ArtifactId.ArtifactTag getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactTag(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactTag getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactQueryOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactQuery) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + boolean hasArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder(); + + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + boolean hasArtifactTag(); + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + flyteidl.core.ArtifactId.ArtifactTag getArtifactTag(); + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder(); + + /** + * string uri = 3; + */ + java.lang.String getUri(); + /** + * string uri = 3; + */ + com.google.protobuf.ByteString + getUriBytes(); + + /** + *
+     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+     * artifacts, or a partition value derived from a triggering artifact.
+     * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + boolean hasBinding(); + /** + *
+     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+     * artifacts, or a partition value derived from a triggering artifact.
+     * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + flyteidl.core.ArtifactId.ArtifactBindingData getBinding(); + /** + *
+     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+     * artifacts, or a partition value derived from a triggering artifact.
+     * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getBindingOrBuilder(); + + public flyteidl.core.ArtifactId.ArtifactQuery.IdentifierCase getIdentifierCase(); + } + /** + *
+   * Uniqueness constraints for Artifacts
+   *  - project, domain, name, version, partitions
+   * Option 2 (tags are standalone, point to an individual artifact id):
+   *  - project, domain, name, alias (points to one partition if partitioned)
+   *  - project, domain, name, partition key, partition value
+   * 
+ * + * Protobuf type {@code flyteidl.core.ArtifactQuery} + */ + public static final class ArtifactQuery extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactQuery) + ArtifactQueryOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactQuery.newBuilder() to construct. + private ArtifactQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactQuery() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactQuery( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; + if (identifierCase_ == 1) { + subBuilder = ((flyteidl.core.ArtifactId.ArtifactID) identifier_).toBuilder(); + } + identifier_ = + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactID) identifier_); + identifier_ = subBuilder.buildPartial(); + } + identifierCase_ = 1; + break; + } + case 18: { + flyteidl.core.ArtifactId.ArtifactTag.Builder subBuilder = null; + if (identifierCase_ == 2) { + subBuilder = ((flyteidl.core.ArtifactId.ArtifactTag) identifier_).toBuilder(); + } + identifier_ = + input.readMessage(flyteidl.core.ArtifactId.ArtifactTag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactTag) identifier_); + identifier_ = subBuilder.buildPartial(); + } + identifierCase_ = 2; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + identifierCase_ = 3; + identifier_ = s; + break; + } + case 34: { + flyteidl.core.ArtifactId.ArtifactBindingData.Builder subBuilder = null; + if (identifierCase_ == 4) { + subBuilder = ((flyteidl.core.ArtifactId.ArtifactBindingData) identifier_).toBuilder(); + } + identifier_ = + input.readMessage(flyteidl.core.ArtifactId.ArtifactBindingData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactBindingData) identifier_); + identifier_ = subBuilder.buildPartial(); + } + identifierCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactQuery.class, flyteidl.core.ArtifactId.ArtifactQuery.Builder.class); + } + + private int identifierCase_ = 0; + private java.lang.Object identifier_; + public enum IdentifierCase + implements com.google.protobuf.Internal.EnumLite { + ARTIFACT_ID(1), + ARTIFACT_TAG(2), + URI(3), + BINDING(4), + IDENTIFIER_NOT_SET(0); + private final int value; + private IdentifierCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static IdentifierCase valueOf(int value) { + return forNumber(value); + } + + public static IdentifierCase forNumber(int value) { + switch (value) { + case 1: return ARTIFACT_ID; + case 2: return ARTIFACT_TAG; + case 3: return URI; + case 4: return BINDING; + case 0: return IDENTIFIER_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public IdentifierCase + getIdentifierCase() { + return IdentifierCase.forNumber( + identifierCase_); + } + + public static final int ARTIFACT_ID_FIELD_NUMBER = 1; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return identifierCase_ == 1; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (identifierCase_ == 1) { + return (flyteidl.core.ArtifactId.ArtifactID) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if (identifierCase_ == 1) { + return (flyteidl.core.ArtifactId.ArtifactID) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + + public static final int ARTIFACT_TAG_FIELD_NUMBER = 2; + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public boolean hasArtifactTag() { + return identifierCase_ == 2; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { + if (identifierCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { + if (identifierCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); + } + + public static final int URI_FIELD_NUMBER = 3; + /** + * string uri = 3; + */ + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (identifierCase_ == 3) { + ref = identifier_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (identifierCase_ == 3) { + identifier_ = s; + } + return s; + } + } + /** + * string uri = 3; + */ + public com.google.protobuf.ByteString + getUriBytes() { + java.lang.Object ref = ""; + if (identifierCase_ == 3) { + ref = identifier_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (identifierCase_ == 3) { + identifier_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BINDING_FIELD_NUMBER = 4; + /** + *
+     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+     * artifacts, or a partition value derived from a triggering artifact.
+     * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public boolean hasBinding() { + return identifierCase_ == 4; + } + /** + *
+     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+     * artifacts, or a partition value derived from a triggering artifact.
+     * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData getBinding() { + if (identifierCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + /** + *
+     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+     * artifacts, or a partition value derived from a triggering artifact.
+     * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getBindingOrBuilder() { + if (identifierCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (identifierCase_ == 1) { + output.writeMessage(1, (flyteidl.core.ArtifactId.ArtifactID) identifier_); + } + if (identifierCase_ == 2) { + output.writeMessage(2, (flyteidl.core.ArtifactId.ArtifactTag) identifier_); + } + if (identifierCase_ == 3) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, identifier_); + } + if (identifierCase_ == 4) { + output.writeMessage(4, (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (identifierCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.core.ArtifactId.ArtifactID) identifier_); + } + if (identifierCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.core.ArtifactId.ArtifactTag) identifier_); + } + if (identifierCase_ == 3) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, identifier_); + } + if (identifierCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.ArtifactQuery)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.ArtifactQuery other = (flyteidl.core.ArtifactId.ArtifactQuery) obj; + + if (!getIdentifierCase().equals(other.getIdentifierCase())) return false; + switch (identifierCase_) { + case 1: + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + break; + case 2: + if (!getArtifactTag() + .equals(other.getArtifactTag())) return false; + break; + case 3: + if (!getUri() + .equals(other.getUri())) return false; + break; + case 4: + if (!getBinding() + .equals(other.getBinding())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (identifierCase_) { + case 1: + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + break; + case 2: + hash = (37 * hash) + ARTIFACT_TAG_FIELD_NUMBER; + hash = (53 * hash) + getArtifactTag().hashCode(); + break; + case 3: + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + break; + case 4: + hash = (37 * hash) + BINDING_FIELD_NUMBER; + hash = (53 * hash) + getBinding().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.ArtifactQuery prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Uniqueness constraints for Artifacts
+     *  - project, domain, name, version, partitions
+     * Option 2 (tags are standalone, point to an individual artifact id):
+     *  - project, domain, name, alias (points to one partition if partitioned)
+     *  - project, domain, name, partition key, partition value
+     * 
+ * + * Protobuf type {@code flyteidl.core.ArtifactQuery} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactQuery) + flyteidl.core.ArtifactId.ArtifactQueryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.ArtifactQuery.class, flyteidl.core.ArtifactId.ArtifactQuery.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.ArtifactQuery.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + identifierCase_ = 0; + identifier_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactQuery getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactQuery build() { + flyteidl.core.ArtifactId.ArtifactQuery result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactQuery buildPartial() { + flyteidl.core.ArtifactId.ArtifactQuery result = new flyteidl.core.ArtifactId.ArtifactQuery(this); + if (identifierCase_ == 1) { + if (artifactIdBuilder_ == null) { + result.identifier_ = identifier_; + } else { + result.identifier_ = artifactIdBuilder_.build(); + } + } + if (identifierCase_ == 2) { + if (artifactTagBuilder_ == null) { + result.identifier_ = identifier_; + } else { + result.identifier_ = artifactTagBuilder_.build(); + } + } + if (identifierCase_ == 3) { + result.identifier_ = identifier_; + } + if (identifierCase_ == 4) { + if (bindingBuilder_ == null) { + result.identifier_ = identifier_; + } else { + result.identifier_ = bindingBuilder_.build(); + } + } + result.identifierCase_ = identifierCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.ArtifactQuery) { + return mergeFrom((flyteidl.core.ArtifactId.ArtifactQuery)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactQuery other) { + if (other == flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance()) return this; + switch (other.getIdentifierCase()) { + case ARTIFACT_ID: { + mergeArtifactId(other.getArtifactId()); + break; + } + case ARTIFACT_TAG: { + mergeArtifactTag(other.getArtifactTag()); + break; + } + case URI: { + identifierCase_ = 3; + identifier_ = other.identifier_; + onChanged(); + break; + } + case BINDING: { + mergeBinding(other.getBinding()); + break; + } + case IDENTIFIER_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.ArtifactQuery parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.ArtifactQuery) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int identifierCase_ = 0; + private java.lang.Object identifier_; + public IdentifierCase + getIdentifierCase() { + return IdentifierCase.forNumber( + identifierCase_); + } + + public Builder clearIdentifier() { + identifierCase_ = 0; + identifier_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdBuilder_; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return identifierCase_ == 1; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (artifactIdBuilder_ == null) { + if (identifierCase_ == 1) { + return (flyteidl.core.ArtifactId.ArtifactID) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } else { + if (identifierCase_ == 1) { + return artifactIdBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + identifier_ = value; + onChanged(); + } else { + artifactIdBuilder_.setMessage(value); + } + identifierCase_ = 1; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdBuilder_ == null) { + identifier_ = builderForValue.build(); + onChanged(); + } else { + artifactIdBuilder_.setMessage(builderForValue.build()); + } + identifierCase_ = 1; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (identifierCase_ == 1 && + identifier_ != flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()) { + identifier_ = flyteidl.core.ArtifactId.ArtifactID.newBuilder((flyteidl.core.ArtifactId.ArtifactID) identifier_) + .mergeFrom(value).buildPartial(); + } else { + identifier_ = value; + } + onChanged(); + } else { + if (identifierCase_ == 1) { + artifactIdBuilder_.mergeFrom(value); + } + artifactIdBuilder_.setMessage(value); + } + identifierCase_ = 1; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder clearArtifactId() { + if (artifactIdBuilder_ == null) { + if (identifierCase_ == 1) { + identifierCase_ = 0; + identifier_ = null; + onChanged(); + } + } else { + if (identifierCase_ == 1) { + identifierCase_ = 0; + identifier_ = null; + } + artifactIdBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { + return getArtifactIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if ((identifierCase_ == 1) && (artifactIdBuilder_ != null)) { + return artifactIdBuilder_.getMessageOrBuilder(); + } else { + if (identifierCase_ == 1) { + return (flyteidl.core.ArtifactId.ArtifactID) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdFieldBuilder() { + if (artifactIdBuilder_ == null) { + if (!(identifierCase_ == 1)) { + identifier_ = flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + (flyteidl.core.ArtifactId.ArtifactID) identifier_, + getParentForChildren(), + isClean()); + identifier_ = null; + } + identifierCase_ = 1; + onChanged();; + return artifactIdBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> artifactTagBuilder_; + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public boolean hasArtifactTag() { + return identifierCase_ == 2; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { + if (artifactTagBuilder_ == null) { + if (identifierCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); + } else { + if (identifierCase_ == 2) { + return artifactTagBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public Builder setArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { + if (artifactTagBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + identifier_ = value; + onChanged(); + } else { + artifactTagBuilder_.setMessage(value); + } + identifierCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public Builder setArtifactTag( + flyteidl.core.ArtifactId.ArtifactTag.Builder builderForValue) { + if (artifactTagBuilder_ == null) { + identifier_ = builderForValue.build(); + onChanged(); + } else { + artifactTagBuilder_.setMessage(builderForValue.build()); + } + identifierCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public Builder mergeArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { + if (artifactTagBuilder_ == null) { + if (identifierCase_ == 2 && + identifier_ != flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance()) { + identifier_ = flyteidl.core.ArtifactId.ArtifactTag.newBuilder((flyteidl.core.ArtifactId.ArtifactTag) identifier_) + .mergeFrom(value).buildPartial(); + } else { + identifier_ = value; + } + onChanged(); + } else { + if (identifierCase_ == 2) { + artifactTagBuilder_.mergeFrom(value); + } + artifactTagBuilder_.setMessage(value); + } + identifierCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public Builder clearArtifactTag() { + if (artifactTagBuilder_ == null) { + if (identifierCase_ == 2) { + identifierCase_ = 0; + identifier_ = null; + onChanged(); + } + } else { + if (identifierCase_ == 2) { + identifierCase_ = 0; + identifier_ = null; + } + artifactTagBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public flyteidl.core.ArtifactId.ArtifactTag.Builder getArtifactTagBuilder() { + return getArtifactTagFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { + if ((identifierCase_ == 2) && (artifactTagBuilder_ != null)) { + return artifactTagBuilder_.getMessageOrBuilder(); + } else { + if (identifierCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> + getArtifactTagFieldBuilder() { + if (artifactTagBuilder_ == null) { + if (!(identifierCase_ == 2)) { + identifier_ = flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); + } + artifactTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder>( + (flyteidl.core.ArtifactId.ArtifactTag) identifier_, + getParentForChildren(), + isClean()); + identifier_ = null; + } + identifierCase_ = 2; + onChanged();; + return artifactTagBuilder_; + } + + /** + * string uri = 3; + */ + public java.lang.String getUri() { + java.lang.Object ref = ""; + if (identifierCase_ == 3) { + ref = identifier_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (identifierCase_ == 3) { + identifier_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string uri = 3; + */ + public com.google.protobuf.ByteString + getUriBytes() { + java.lang.Object ref = ""; + if (identifierCase_ == 3) { + ref = identifier_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (identifierCase_ == 3) { + identifier_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string uri = 3; + */ + public Builder setUri( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + identifierCase_ = 3; + identifier_ = value; + onChanged(); + return this; + } + /** + * string uri = 3; + */ + public Builder clearUri() { + if (identifierCase_ == 3) { + identifierCase_ = 0; + identifier_ = null; + onChanged(); + } + return this; + } + /** + * string uri = 3; + */ + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identifierCase_ = 3; + identifier_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> bindingBuilder_; + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public boolean hasBinding() { + return identifierCase_ == 4; + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData getBinding() { + if (bindingBuilder_ == null) { + if (identifierCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } else { + if (identifierCase_ == 4) { + return bindingBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public Builder setBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { + if (bindingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + identifier_ = value; + onChanged(); + } else { + bindingBuilder_.setMessage(value); + } + identifierCase_ = 4; + return this; + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public Builder setBinding( + flyteidl.core.ArtifactId.ArtifactBindingData.Builder builderForValue) { + if (bindingBuilder_ == null) { + identifier_ = builderForValue.build(); + onChanged(); + } else { + bindingBuilder_.setMessage(builderForValue.build()); + } + identifierCase_ = 4; + return this; + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public Builder mergeBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { + if (bindingBuilder_ == null) { + if (identifierCase_ == 4 && + identifier_ != flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance()) { + identifier_ = flyteidl.core.ArtifactId.ArtifactBindingData.newBuilder((flyteidl.core.ArtifactId.ArtifactBindingData) identifier_) + .mergeFrom(value).buildPartial(); + } else { + identifier_ = value; + } + onChanged(); + } else { + if (identifierCase_ == 4) { + bindingBuilder_.mergeFrom(value); + } + bindingBuilder_.setMessage(value); + } + identifierCase_ = 4; + return this; + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public Builder clearBinding() { + if (bindingBuilder_ == null) { + if (identifierCase_ == 4) { + identifierCase_ = 0; + identifier_ = null; + onChanged(); + } + } else { + if (identifierCase_ == 4) { + identifierCase_ = 0; + identifier_ = null; + } + bindingBuilder_.clear(); + } + return this; + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData.Builder getBindingBuilder() { + return getBindingFieldBuilder().getBuilder(); + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getBindingOrBuilder() { + if ((identifierCase_ == 4) && (bindingBuilder_ != null)) { + return bindingBuilder_.getMessageOrBuilder(); + } else { + if (identifierCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + } + /** + *
+       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
+       * artifacts, or a partition value derived from a triggering artifact.
+       * 
+ * + * .flyteidl.core.ArtifactBindingData binding = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> + getBindingFieldBuilder() { + if (bindingBuilder_ == null) { + if (!(identifierCase_ == 4)) { + identifier_ = flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + bindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder>( + (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_, + getParentForChildren(), + isClean()); + identifier_ = null; + } + identifierCase_ = 4; + onChanged();; + return bindingBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.ArtifactQuery) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactQuery) + private static final flyteidl.core.ArtifactId.ArtifactQuery DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactQuery(); + } + + public static flyteidl.core.ArtifactId.ArtifactQuery getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactQuery(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.ArtifactQuery getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.Trigger) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + boolean hasTriggerId(); + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getTriggerId(); + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder(); + + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + java.util.List + getTriggersList(); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + flyteidl.core.ArtifactId.ArtifactID getTriggers(int index); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + int getTriggersCount(); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + java.util.List + getTriggersOrBuilderList(); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getTriggersOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.core.Trigger} + */ + public static final class Trigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.Trigger) + TriggerOrBuilder { + private static final long serialVersionUID = 0L; + // Use Trigger.newBuilder() to construct. + private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Trigger() { + triggers_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Trigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; + if (triggerId_ != null) { + subBuilder = triggerId_.toBuilder(); + } + triggerId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(triggerId_); + triggerId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + triggers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + triggers_.add( + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + triggers_ = java.util.Collections.unmodifiableList(triggers_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.Trigger.class, flyteidl.core.ArtifactId.Trigger.Builder.class); + } + + private int bitField0_; + public static final int TRIGGER_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerId_ != null; + } + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + return getTriggerId(); + } + + public static final int TRIGGERS_FIELD_NUMBER = 2; + private java.util.List triggers_; + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List getTriggersList() { + return triggers_; + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List + getTriggersOrBuilderList() { + return triggers_; + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public int getTriggersCount() { + return triggers_.size(); + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getTriggers(int index) { + return triggers_.get(index); + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getTriggersOrBuilder( + int index) { + return triggers_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (triggerId_ != null) { + output.writeMessage(1, getTriggerId()); + } + for (int i = 0; i < triggers_.size(); i++) { + output.writeMessage(2, triggers_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (triggerId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTriggerId()); + } + for (int i = 0; i < triggers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, triggers_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.ArtifactId.Trigger)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.Trigger other = (flyteidl.core.ArtifactId.Trigger) obj; + + if (hasTriggerId() != other.hasTriggerId()) return false; + if (hasTriggerId()) { + if (!getTriggerId() + .equals(other.getTriggerId())) return false; + } + if (!getTriggersList() + .equals(other.getTriggersList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTriggerId()) { + hash = (37 * hash) + TRIGGER_ID_FIELD_NUMBER; + hash = (53 * hash) + getTriggerId().hashCode(); + } + if (getTriggersCount() > 0) { + hash = (37 * hash) + TRIGGERS_FIELD_NUMBER; + hash = (53 * hash) + getTriggersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.Trigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Trigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Trigger parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.ArtifactId.Trigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.core.Trigger} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.Trigger) + flyteidl.core.ArtifactId.TriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.Trigger.class, flyteidl.core.ArtifactId.Trigger.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.Trigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getTriggersFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (triggerIdBuilder_ == null) { + triggerId_ = null; + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + if (triggersBuilder_ == null) { + triggers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + triggersBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Trigger getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.Trigger.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Trigger build() { + flyteidl.core.ArtifactId.Trigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Trigger buildPartial() { + flyteidl.core.ArtifactId.Trigger result = new flyteidl.core.ArtifactId.Trigger(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (triggerIdBuilder_ == null) { + result.triggerId_ = triggerId_; + } else { + result.triggerId_ = triggerIdBuilder_.build(); + } + if (triggersBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + triggers_ = java.util.Collections.unmodifiableList(triggers_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.triggers_ = triggers_; + } else { + result.triggers_ = triggersBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.ArtifactId.Trigger) { + return mergeFrom((flyteidl.core.ArtifactId.Trigger)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.Trigger other) { + if (other == flyteidl.core.ArtifactId.Trigger.getDefaultInstance()) return this; + if (other.hasTriggerId()) { + mergeTriggerId(other.getTriggerId()); + } + if (triggersBuilder_ == null) { + if (!other.triggers_.isEmpty()) { + if (triggers_.isEmpty()) { + triggers_ = other.triggers_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTriggersIsMutable(); + triggers_.addAll(other.triggers_); + } + onChanged(); + } + } else { + if (!other.triggers_.isEmpty()) { + if (triggersBuilder_.isEmpty()) { + triggersBuilder_.dispose(); + triggersBuilder_ = null; + triggers_ = other.triggers_; + bitField0_ = (bitField0_ & ~0x00000002); + triggersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTriggersFieldBuilder() : null; + } else { + triggersBuilder_.addAllMessages(other.triggers_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.ArtifactId.Trigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.Trigger) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> triggerIdBuilder_; + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerIdBuilder_ != null || triggerId_ != null; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + if (triggerIdBuilder_ == null) { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } else { + return triggerIdBuilder_.getMessage(); + } + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + triggerId_ = value; + onChanged(); + } else { + triggerIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (triggerIdBuilder_ == null) { + triggerId_ = builderForValue.build(); + onChanged(); + } else { + triggerIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder mergeTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (triggerId_ != null) { + triggerId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(triggerId_).mergeFrom(value).buildPartial(); + } else { + triggerId_ = value; + } + onChanged(); + } else { + triggerIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder clearTriggerId() { + if (triggerIdBuilder_ == null) { + triggerId_ = null; + onChanged(); + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getTriggerIdBuilder() { + + onChanged(); + return getTriggerIdFieldBuilder().getBuilder(); + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + if (triggerIdBuilder_ != null) { + return triggerIdBuilder_.getMessageOrBuilder(); + } else { + return triggerId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getTriggerIdFieldBuilder() { + if (triggerIdBuilder_ == null) { + triggerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getTriggerId(), + getParentForChildren(), + isClean()); + triggerId_ = null; + } + return triggerIdBuilder_; + } + + private java.util.List triggers_ = + java.util.Collections.emptyList(); + private void ensureTriggersIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + triggers_ = new java.util.ArrayList(triggers_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> triggersBuilder_; + + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List getTriggersList() { + if (triggersBuilder_ == null) { + return java.util.Collections.unmodifiableList(triggers_); + } else { + return triggersBuilder_.getMessageList(); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public int getTriggersCount() { + if (triggersBuilder_ == null) { + return triggers_.size(); + } else { + return triggersBuilder_.getCount(); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getTriggers(int index) { + if (triggersBuilder_ == null) { + return triggers_.get(index); + } else { + return triggersBuilder_.getMessage(index); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder setTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (triggersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggersIsMutable(); + triggers_.set(index, value); + onChanged(); + } else { + triggersBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder setTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.set(index, builderForValue.build()); + onChanged(); + } else { + triggersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers(flyteidl.core.ArtifactId.ArtifactID value) { + if (triggersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggersIsMutable(); + triggers_.add(value); + onChanged(); + } else { + triggersBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (triggersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggersIsMutable(); + triggers_.add(index, value); + onChanged(); + } else { + triggersBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.add(builderForValue.build()); + onChanged(); + } else { + triggersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.add(index, builderForValue.build()); + onChanged(); + } else { + triggersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addAllTriggers( + java.lang.Iterable values) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, triggers_); + onChanged(); + } else { + triggersBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder clearTriggers() { + if (triggersBuilder_ == null) { + triggers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + triggersBuilder_.clear(); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder removeTriggers(int index) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.remove(index); + onChanged(); + } else { + triggersBuilder_.remove(index); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getTriggersBuilder( + int index) { + return getTriggersFieldBuilder().getBuilder(index); + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getTriggersOrBuilder( + int index) { + if (triggersBuilder_ == null) { + return triggers_.get(index); } else { + return triggersBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List + getTriggersOrBuilderList() { + if (triggersBuilder_ != null) { + return triggersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(triggers_); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addTriggersBuilder() { + return getTriggersFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addTriggersBuilder( + int index) { + return getTriggersFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List + getTriggersBuilderList() { + return getTriggersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getTriggersFieldBuilder() { + if (triggersBuilder_ == null) { + triggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + triggers_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + triggers_ = null; + } + return triggersBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.Trigger) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.Trigger) + private static final flyteidl.core.ArtifactId.Trigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.Trigger(); + } + + public static flyteidl.core.ArtifactId.Trigger getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Trigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Trigger(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Trigger getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_ArtifactKey_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_ArtifactKey_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_ArtifactBindingData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_ArtifactBindingData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_InputBindingData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_InputBindingData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_LabelValue_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_LabelValue_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_Partitions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_Partitions_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_Partitions_ValueEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_Partitions_ValueEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_ArtifactID_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_ArtifactID_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_ArtifactTag_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_ArtifactTag_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_ArtifactQuery_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_ArtifactQuery_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_Trigger_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_Trigger_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\037flyteidl/core/artifact_id.proto\022\rflyte" + + "idl.core\032\036flyteidl/core/identifier.proto" + + "\"<\n\013ArtifactKey\022\017\n\007project\030\001 \001(\t\022\016\n\006doma" + + "in\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"N\n\023ArtifactBindin" + + "gData\022\r\n\005index\030\001 \001(\r\022\025\n\rpartition_key\030\002 " + + "\001(\t\022\021\n\ttransform\030\003 \001(\t\"\037\n\020InputBindingDa" + + "ta\022\013\n\003var\030\001 \001(\t\"\250\001\n\nLabelValue\022\026\n\014static" + + "_value\030\001 \001(\tH\000\022?\n\021triggered_binding\030\002 \001(" + + "\0132\".flyteidl.core.ArtifactBindingDataH\000\022" + + "8\n\rinput_binding\030\003 \001(\0132\037.flyteidl.core.I" + + "nputBindingDataH\000B\007\n\005value\"\212\001\n\nPartition" + + "s\0223\n\005value\030\001 \003(\0132$.flyteidl.core.Partiti" + + "ons.ValueEntry\032G\n\nValueEntry\022\013\n\003key\030\001 \001(" + + "\t\022(\n\005value\030\002 \001(\0132\031.flyteidl.core.LabelVa" + + "lue:\0028\001\"\216\001\n\nArtifactID\0220\n\014artifact_key\030\001" + + " \001(\0132\032.flyteidl.core.ArtifactKey\022\017\n\007vers" + + "ion\030\002 \001(\t\022/\n\npartitions\030\003 \001(\0132\031.flyteidl" + + ".core.PartitionsH\000B\014\n\ndimensions\"i\n\013Arti" + + "factTag\0220\n\014artifact_key\030\001 \001(\0132\032.flyteidl" + + ".core.ArtifactKey\022(\n\005value\030\002 \001(\0132\031.flyte" + + "idl.core.LabelValue\"\311\001\n\rArtifactQuery\0220\n" + + "\013artifact_id\030\001 \001(\0132\031.flyteidl.core.Artif" + + "actIDH\000\0222\n\014artifact_tag\030\002 \001(\0132\032.flyteidl" + + ".core.ArtifactTagH\000\022\r\n\003uri\030\003 \001(\tH\000\0225\n\007bi" + + "nding\030\004 \001(\0132\".flyteidl.core.ArtifactBind" + + "ingDataH\000B\014\n\nidentifier\"e\n\007Trigger\022-\n\ntr" + + "igger_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + + "r\022+\n\010triggers\030\002 \003(\0132\031.flyteidl.core.Arti" + + "factIDB + *+optional This object allows the user to specify how Artifacts are created. + * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. + *
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + boolean hasArtifactPartialId(); + /** + *
+     *+optional This object allows the user to specify how Artifacts are created.
+     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+     * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactPartialId(); + /** + *
+     *+optional This object allows the user to specify how Artifacts are created.
+     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+     * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactPartialIdOrBuilder(); + + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + boolean hasArtifactTag(); + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + flyteidl.core.ArtifactId.ArtifactTag getArtifactTag(); + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder(); } /** *
@@ -124,6 +165,32 @@ private Variable(
               description_ = s;
               break;
             }
+            case 26: {
+              flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null;
+              if (artifactPartialId_ != null) {
+                subBuilder = artifactPartialId_.toBuilder();
+              }
+              artifactPartialId_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(artifactPartialId_);
+                artifactPartialId_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            case 34: {
+              flyteidl.core.ArtifactId.ArtifactTag.Builder subBuilder = null;
+              if (artifactTag_ != null) {
+                subBuilder = artifactTag_.toBuilder();
+              }
+              artifactTag_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactTag.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(artifactTag_);
+                artifactTag_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -231,6 +298,63 @@ public java.lang.String getDescription() {
       }
     }
 
+    public static final int ARTIFACT_PARTIAL_ID_FIELD_NUMBER = 3;
+    private flyteidl.core.ArtifactId.ArtifactID artifactPartialId_;
+    /**
+     * 
+     *+optional This object allows the user to specify how Artifacts are created.
+     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+     * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public boolean hasArtifactPartialId() { + return artifactPartialId_ != null; + } + /** + *
+     *+optional This object allows the user to specify how Artifacts are created.
+     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+     * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactPartialId() { + return artifactPartialId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactPartialId_; + } + /** + *
+     *+optional This object allows the user to specify how Artifacts are created.
+     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+     * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactPartialIdOrBuilder() { + return getArtifactPartialId(); + } + + public static final int ARTIFACT_TAG_FIELD_NUMBER = 4; + private flyteidl.core.ArtifactId.ArtifactTag artifactTag_; + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public boolean hasArtifactTag() { + return artifactTag_ != null; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { + return artifactTag_ == null ? flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance() : artifactTag_; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { + return getArtifactTag(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -251,6 +375,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getDescriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } + if (artifactPartialId_ != null) { + output.writeMessage(3, getArtifactPartialId()); + } + if (artifactTag_ != null) { + output.writeMessage(4, getArtifactTag()); + } unknownFields.writeTo(output); } @@ -267,6 +397,14 @@ public int getSerializedSize() { if (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } + if (artifactPartialId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getArtifactPartialId()); + } + if (artifactTag_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getArtifactTag()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -289,6 +427,16 @@ public boolean equals(final java.lang.Object obj) { } if (!getDescription() .equals(other.getDescription())) return false; + if (hasArtifactPartialId() != other.hasArtifactPartialId()) return false; + if (hasArtifactPartialId()) { + if (!getArtifactPartialId() + .equals(other.getArtifactPartialId())) return false; + } + if (hasArtifactTag() != other.hasArtifactTag()) return false; + if (hasArtifactTag()) { + if (!getArtifactTag() + .equals(other.getArtifactTag())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,6 +454,14 @@ public int hashCode() { } hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); + if (hasArtifactPartialId()) { + hash = (37 * hash) + ARTIFACT_PARTIAL_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactPartialId().hashCode(); + } + if (hasArtifactTag()) { + hash = (37 * hash) + ARTIFACT_TAG_FIELD_NUMBER; + hash = (53 * hash) + getArtifactTag().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -451,6 +607,18 @@ public Builder clear() { } description_ = ""; + if (artifactPartialIdBuilder_ == null) { + artifactPartialId_ = null; + } else { + artifactPartialId_ = null; + artifactPartialIdBuilder_ = null; + } + if (artifactTagBuilder_ == null) { + artifactTag_ = null; + } else { + artifactTag_ = null; + artifactTagBuilder_ = null; + } return this; } @@ -483,6 +651,16 @@ public flyteidl.core.Interface.Variable buildPartial() { result.type_ = typeBuilder_.build(); } result.description_ = description_; + if (artifactPartialIdBuilder_ == null) { + result.artifactPartialId_ = artifactPartialId_; + } else { + result.artifactPartialId_ = artifactPartialIdBuilder_.build(); + } + if (artifactTagBuilder_ == null) { + result.artifactTag_ = artifactTag_; + } else { + result.artifactTag_ = artifactTagBuilder_.build(); + } onBuilt(); return result; } @@ -538,6 +716,12 @@ public Builder mergeFrom(flyteidl.core.Interface.Variable other) { description_ = other.description_; onChanged(); } + if (other.hasArtifactPartialId()) { + mergeArtifactPartialId(other.getArtifactPartialId()); + } + if (other.hasArtifactTag()) { + mergeArtifactTag(other.getArtifactTag()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -808,6 +992,285 @@ public Builder setDescriptionBytes( onChanged(); return this; } + + private flyteidl.core.ArtifactId.ArtifactID artifactPartialId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactPartialIdBuilder_; + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public boolean hasArtifactPartialId() { + return artifactPartialIdBuilder_ != null || artifactPartialId_ != null; + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactPartialId() { + if (artifactPartialIdBuilder_ == null) { + return artifactPartialId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactPartialId_; + } else { + return artifactPartialIdBuilder_.getMessage(); + } + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public Builder setArtifactPartialId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactPartialIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactPartialId_ = value; + onChanged(); + } else { + artifactPartialIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public Builder setArtifactPartialId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactPartialIdBuilder_ == null) { + artifactPartialId_ = builderForValue.build(); + onChanged(); + } else { + artifactPartialIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public Builder mergeArtifactPartialId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactPartialIdBuilder_ == null) { + if (artifactPartialId_ != null) { + artifactPartialId_ = + flyteidl.core.ArtifactId.ArtifactID.newBuilder(artifactPartialId_).mergeFrom(value).buildPartial(); + } else { + artifactPartialId_ = value; + } + onChanged(); + } else { + artifactPartialIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public Builder clearArtifactPartialId() { + if (artifactPartialIdBuilder_ == null) { + artifactPartialId_ = null; + onChanged(); + } else { + artifactPartialId_ = null; + artifactPartialIdBuilder_ = null; + } + + return this; + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactPartialIdBuilder() { + + onChanged(); + return getArtifactPartialIdFieldBuilder().getBuilder(); + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactPartialIdOrBuilder() { + if (artifactPartialIdBuilder_ != null) { + return artifactPartialIdBuilder_.getMessageOrBuilder(); + } else { + return artifactPartialId_ == null ? + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactPartialId_; + } + } + /** + *
+       *+optional This object allows the user to specify how Artifacts are created.
+       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
+       * 
+ * + * .flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactPartialIdFieldBuilder() { + if (artifactPartialIdBuilder_ == null) { + artifactPartialIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + getArtifactPartialId(), + getParentForChildren(), + isClean()); + artifactPartialId_ = null; + } + return artifactPartialIdBuilder_; + } + + private flyteidl.core.ArtifactId.ArtifactTag artifactTag_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> artifactTagBuilder_; + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public boolean hasArtifactTag() { + return artifactTagBuilder_ != null || artifactTag_ != null; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { + if (artifactTagBuilder_ == null) { + return artifactTag_ == null ? flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance() : artifactTag_; + } else { + return artifactTagBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public Builder setArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { + if (artifactTagBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactTag_ = value; + onChanged(); + } else { + artifactTagBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public Builder setArtifactTag( + flyteidl.core.ArtifactId.ArtifactTag.Builder builderForValue) { + if (artifactTagBuilder_ == null) { + artifactTag_ = builderForValue.build(); + onChanged(); + } else { + artifactTagBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public Builder mergeArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { + if (artifactTagBuilder_ == null) { + if (artifactTag_ != null) { + artifactTag_ = + flyteidl.core.ArtifactId.ArtifactTag.newBuilder(artifactTag_).mergeFrom(value).buildPartial(); + } else { + artifactTag_ = value; + } + onChanged(); + } else { + artifactTagBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public Builder clearArtifactTag() { + if (artifactTagBuilder_ == null) { + artifactTag_ = null; + onChanged(); + } else { + artifactTag_ = null; + artifactTagBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public flyteidl.core.ArtifactId.ArtifactTag.Builder getArtifactTagBuilder() { + + onChanged(); + return getArtifactTagFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { + if (artifactTagBuilder_ != null) { + return artifactTagBuilder_.getMessageOrBuilder(); + } else { + return artifactTag_ == null ? + flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance() : artifactTag_; + } + } + /** + * .flyteidl.core.ArtifactTag artifact_tag = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> + getArtifactTagFieldBuilder() { + if (artifactTagBuilder_ == null) { + artifactTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder>( + getArtifactTag(), + getParentForChildren(), + isClean()); + artifactTag_ = null; + } + return artifactTagBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2525,6 +2988,47 @@ public interface ParameterOrBuilder extends */ boolean getRequired(); + /** + *
+     * This is an execution time search basically that should result in exactly one Artifact with a Type that
+     * matches the type of the variable.
+     * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + boolean hasArtifactQuery(); + /** + *
+     * This is an execution time search basically that should result in exactly one Artifact with a Type that
+     * matches the type of the variable.
+     * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + flyteidl.core.ArtifactId.ArtifactQuery getArtifactQuery(); + /** + *
+     * This is an execution time search basically that should result in exactly one Artifact with a Type that
+     * matches the type of the variable.
+     * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getArtifactQueryOrBuilder(); + + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + boolean hasArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder(); + public flyteidl.core.Interface.Parameter.BehaviorCase getBehaviorCase(); } /** @@ -2603,6 +3107,34 @@ private Parameter( behavior_ = input.readBool(); break; } + case 34: { + flyteidl.core.ArtifactId.ArtifactQuery.Builder subBuilder = null; + if (behaviorCase_ == 4) { + subBuilder = ((flyteidl.core.ArtifactId.ArtifactQuery) behavior_).toBuilder(); + } + behavior_ = + input.readMessage(flyteidl.core.ArtifactId.ArtifactQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactQuery) behavior_); + behavior_ = subBuilder.buildPartial(); + } + behaviorCase_ = 4; + break; + } + case 42: { + flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; + if (behaviorCase_ == 5) { + subBuilder = ((flyteidl.core.ArtifactId.ArtifactID) behavior_).toBuilder(); + } + behavior_ = + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactID) behavior_); + behavior_ = subBuilder.buildPartial(); + } + behaviorCase_ = 5; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -2641,6 +3173,8 @@ public enum BehaviorCase implements com.google.protobuf.Internal.EnumLite { DEFAULT(2), REQUIRED(3), + ARTIFACT_QUERY(4), + ARTIFACT_ID(5), BEHAVIOR_NOT_SET(0); private final int value; private BehaviorCase(int value) { @@ -2658,6 +3192,8 @@ public static BehaviorCase forNumber(int value) { switch (value) { case 2: return DEFAULT; case 3: return REQUIRED; + case 4: return ARTIFACT_QUERY; + case 5: return ARTIFACT_ID; case 0: return BEHAVIOR_NOT_SET; default: return null; } @@ -2759,6 +3295,73 @@ public boolean getRequired() { return false; } + public static final int ARTIFACT_QUERY_FIELD_NUMBER = 4; + /** + *
+     * This is an execution time search basically that should result in exactly one Artifact with a Type that
+     * matches the type of the variable.
+     * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public boolean hasArtifactQuery() { + return behaviorCase_ == 4; + } + /** + *
+     * This is an execution time search basically that should result in exactly one Artifact with a Type that
+     * matches the type of the variable.
+     * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public flyteidl.core.ArtifactId.ArtifactQuery getArtifactQuery() { + if (behaviorCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); + } + /** + *
+     * This is an execution time search basically that should result in exactly one Artifact with a Type that
+     * matches the type of the variable.
+     * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getArtifactQueryOrBuilder() { + if (behaviorCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); + } + + public static final int ARTIFACT_ID_FIELD_NUMBER = 5; + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public boolean hasArtifactId() { + return behaviorCase_ == 5; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (behaviorCase_ == 5) { + return (flyteidl.core.ArtifactId.ArtifactID) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if (behaviorCase_ == 5) { + return (flyteidl.core.ArtifactId.ArtifactID) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -2783,6 +3386,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool( 3, (boolean)((java.lang.Boolean) behavior_)); } + if (behaviorCase_ == 4) { + output.writeMessage(4, (flyteidl.core.ArtifactId.ArtifactQuery) behavior_); + } + if (behaviorCase_ == 5) { + output.writeMessage(5, (flyteidl.core.ArtifactId.ArtifactID) behavior_); + } unknownFields.writeTo(output); } @@ -2805,6 +3414,14 @@ public int getSerializedSize() { .computeBoolSize( 3, (boolean)((java.lang.Boolean) behavior_)); } + if (behaviorCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.core.ArtifactId.ArtifactQuery) behavior_); + } + if (behaviorCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.core.ArtifactId.ArtifactID) behavior_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2835,6 +3452,14 @@ public boolean equals(final java.lang.Object obj) { if (getRequired() != other.getRequired()) return false; break; + case 4: + if (!getArtifactQuery() + .equals(other.getArtifactQuery())) return false; + break; + case 5: + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + break; case 0: default: } @@ -2863,6 +3488,14 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRequired()); break; + case 4: + hash = (37 * hash) + ARTIFACT_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getArtifactQuery().hashCode(); + break; + case 5: + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + break; case 0: default: } @@ -3053,6 +3686,20 @@ public flyteidl.core.Interface.Parameter buildPartial() { if (behaviorCase_ == 3) { result.behavior_ = behavior_; } + if (behaviorCase_ == 4) { + if (artifactQueryBuilder_ == null) { + result.behavior_ = behavior_; + } else { + result.behavior_ = artifactQueryBuilder_.build(); + } + } + if (behaviorCase_ == 5) { + if (artifactIdBuilder_ == null) { + result.behavior_ = behavior_; + } else { + result.behavior_ = artifactIdBuilder_.build(); + } + } result.behaviorCase_ = behaviorCase_; onBuilt(); return result; @@ -3114,6 +3761,14 @@ public Builder mergeFrom(flyteidl.core.Interface.Parameter other) { setRequired(other.getRequired()); break; } + case ARTIFACT_QUERY: { + mergeArtifactQuery(other.getArtifactQuery()); + break; + } + case ARTIFACT_ID: { + mergeArtifactId(other.getArtifactId()); + break; + } case BEHAVIOR_NOT_SET: { break; } @@ -3528,6 +4183,323 @@ public Builder clearRequired() { } return this; } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> artifactQueryBuilder_; + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public boolean hasArtifactQuery() { + return behaviorCase_ == 4; + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public flyteidl.core.ArtifactId.ArtifactQuery getArtifactQuery() { + if (artifactQueryBuilder_ == null) { + if (behaviorCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); + } else { + if (behaviorCase_ == 4) { + return artifactQueryBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); + } + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public Builder setArtifactQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { + if (artifactQueryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + behavior_ = value; + onChanged(); + } else { + artifactQueryBuilder_.setMessage(value); + } + behaviorCase_ = 4; + return this; + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public Builder setArtifactQuery( + flyteidl.core.ArtifactId.ArtifactQuery.Builder builderForValue) { + if (artifactQueryBuilder_ == null) { + behavior_ = builderForValue.build(); + onChanged(); + } else { + artifactQueryBuilder_.setMessage(builderForValue.build()); + } + behaviorCase_ = 4; + return this; + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public Builder mergeArtifactQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { + if (artifactQueryBuilder_ == null) { + if (behaviorCase_ == 4 && + behavior_ != flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance()) { + behavior_ = flyteidl.core.ArtifactId.ArtifactQuery.newBuilder((flyteidl.core.ArtifactId.ArtifactQuery) behavior_) + .mergeFrom(value).buildPartial(); + } else { + behavior_ = value; + } + onChanged(); + } else { + if (behaviorCase_ == 4) { + artifactQueryBuilder_.mergeFrom(value); + } + artifactQueryBuilder_.setMessage(value); + } + behaviorCase_ = 4; + return this; + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public Builder clearArtifactQuery() { + if (artifactQueryBuilder_ == null) { + if (behaviorCase_ == 4) { + behaviorCase_ = 0; + behavior_ = null; + onChanged(); + } + } else { + if (behaviorCase_ == 4) { + behaviorCase_ = 0; + behavior_ = null; + } + artifactQueryBuilder_.clear(); + } + return this; + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public flyteidl.core.ArtifactId.ArtifactQuery.Builder getArtifactQueryBuilder() { + return getArtifactQueryFieldBuilder().getBuilder(); + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getArtifactQueryOrBuilder() { + if ((behaviorCase_ == 4) && (artifactQueryBuilder_ != null)) { + return artifactQueryBuilder_.getMessageOrBuilder(); + } else { + if (behaviorCase_ == 4) { + return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); + } + } + /** + *
+       * This is an execution time search basically that should result in exactly one Artifact with a Type that
+       * matches the type of the variable.
+       * 
+ * + * .flyteidl.core.ArtifactQuery artifact_query = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> + getArtifactQueryFieldBuilder() { + if (artifactQueryBuilder_ == null) { + if (!(behaviorCase_ == 4)) { + behavior_ = flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); + } + artifactQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder>( + (flyteidl.core.ArtifactId.ArtifactQuery) behavior_, + getParentForChildren(), + isClean()); + behavior_ = null; + } + behaviorCase_ = 4; + onChanged();; + return artifactQueryBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdBuilder_; + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public boolean hasArtifactId() { + return behaviorCase_ == 5; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (artifactIdBuilder_ == null) { + if (behaviorCase_ == 5) { + return (flyteidl.core.ArtifactId.ArtifactID) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } else { + if (behaviorCase_ == 5) { + return artifactIdBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + behavior_ = value; + onChanged(); + } else { + artifactIdBuilder_.setMessage(value); + } + behaviorCase_ = 5; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public Builder setArtifactId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdBuilder_ == null) { + behavior_ = builderForValue.build(); + onChanged(); + } else { + artifactIdBuilder_.setMessage(builderForValue.build()); + } + behaviorCase_ = 5; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (behaviorCase_ == 5 && + behavior_ != flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()) { + behavior_ = flyteidl.core.ArtifactId.ArtifactID.newBuilder((flyteidl.core.ArtifactId.ArtifactID) behavior_) + .mergeFrom(value).buildPartial(); + } else { + behavior_ = value; + } + onChanged(); + } else { + if (behaviorCase_ == 5) { + artifactIdBuilder_.mergeFrom(value); + } + artifactIdBuilder_.setMessage(value); + } + behaviorCase_ = 5; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public Builder clearArtifactId() { + if (artifactIdBuilder_ == null) { + if (behaviorCase_ == 5) { + behaviorCase_ = 0; + behavior_ = null; + onChanged(); + } + } else { + if (behaviorCase_ == 5) { + behaviorCase_ = 0; + behavior_ = null; + } + artifactIdBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { + return getArtifactIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if ((behaviorCase_ == 5) && (artifactIdBuilder_ != null)) { + return artifactIdBuilder_.getMessageOrBuilder(); + } else { + if (behaviorCase_ == 5) { + return (flyteidl.core.ArtifactId.ArtifactID) behavior_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdFieldBuilder() { + if (artifactIdBuilder_ == null) { + if (!(behaviorCase_ == 5)) { + behavior_ = flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + (flyteidl.core.ArtifactId.ArtifactID) behavior_, + getParentForChildren(), + isClean()); + behavior_ = null; + } + behaviorCase_ = 5; + onChanged();; + return artifactIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4420,24 +5392,30 @@ public flyteidl.core.Interface.ParameterMap getDefaultInstanceForType() { java.lang.String[] descriptorData = { "\n\035flyteidl/core/interface.proto\022\rflyteid" + "l.core\032\031flyteidl/core/types.proto\032\034flyte" + - "idl/core/literals.proto\"I\n\010Variable\022(\n\004t" + - "ype\030\001 \001(\0132\032.flyteidl.core.LiteralType\022\023\n" + - "\013description\030\002 \001(\t\"\226\001\n\013VariableMap\022<\n\tva" + - "riables\030\001 \003(\0132).flyteidl.core.VariableMa" + - "p.VariablesEntry\032I\n\016VariablesEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.flyteidl.core.V" + - "ariable:\0028\001\"i\n\016TypedInterface\022*\n\006inputs\030" + - "\001 \001(\0132\032.flyteidl.core.VariableMap\022+\n\007out" + - "puts\030\002 \001(\0132\032.flyteidl.core.VariableMap\"|" + - "\n\tParameter\022$\n\003var\030\001 \001(\0132\027.flyteidl.core" + - ".Variable\022)\n\007default\030\002 \001(\0132\026.flyteidl.co" + - "re.LiteralH\000\022\022\n\010required\030\003 \001(\010H\000B\n\n\010beha" + - "vior\"\234\001\n\014ParameterMap\022?\n\nparameters\030\001 \003(" + - "\0132+.flyteidl.core.ParameterMap.Parameter" + - "sEntry\032K\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\'" + - "\n\005value\030\002 \001(\0132\030.flyteidl.core.Parameter:" + - "\0028\001B + * Additional metadata for literals. + *
+ * + * map<string, string> metadata = 5; + */ + int getMetadataCount(); + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + boolean containsMetadata( + java.lang.String key); + /** + * Use {@link #getMetadataMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getMetadata(); + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + java.util.Map + getMetadataMap(); + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + + java.lang.String getMetadataOrDefault( + java.lang.String key, + java.lang.String defaultValue); + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + + java.lang.String getMetadataOrThrow( + java.lang.String key); + public flyteidl.core.Literals.Literal.ValueCase getValueCase(); } /** @@ -9471,6 +9525,19 @@ private Literal( hash_ = s; break; } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000010; + } + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -9495,6 +9562,18 @@ private Literal( return flyteidl.core.Literals.internal_static_flyteidl_core_Literal_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 5: + return internalGetMetadata(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -9503,6 +9582,7 @@ private Literal( flyteidl.core.Literals.Literal.class, flyteidl.core.Literals.Literal.Builder.class); } + private int bitField0_; private int valueCase_ = 0; private java.lang.Object value_; public enum ValueCase @@ -9703,6 +9783,98 @@ public java.lang.String getHash() { } } + public static final int METADATA_FIELD_NUMBER = 5; + private static final class MetadataDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.core.Literals.internal_static_flyteidl_core_Literal_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { + if (metadata_ == null) { + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); + } + return metadata_; + } + + public int getMetadataCount() { + return internalGetMetadata().getMap().size(); + } + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetMetadata().getMap().containsKey(key); + } + /** + * Use {@link #getMetadataMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getMetadata() { + return getMetadataMap(); + } + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + + public java.util.Map getMetadataMap() { + return internalGetMetadata().getMap(); + } + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + + public java.lang.String getMetadataOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMetadata().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Additional metadata for literals.
+     * 
+ * + * map<string, string> metadata = 5; + */ + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMetadata().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -9729,6 +9901,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getHashBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hash_); } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 5); unknownFields.writeTo(output); } @@ -9753,6 +9931,16 @@ public int getSerializedSize() { if (!getHashBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hash_); } + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, metadata__); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -9770,6 +9958,8 @@ public boolean equals(final java.lang.Object obj) { if (!getHash() .equals(other.getHash())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: @@ -9800,6 +9990,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HASH_FIELD_NUMBER; hash = (53 * hash) + getHash().hashCode(); + if (!internalGetMetadata().getMap().isEmpty()) { + hash = (37 * hash) + METADATA_FIELD_NUMBER; + hash = (53 * hash) + internalGetMetadata().hashCode(); + } switch (valueCase_) { case 1: hash = (37 * hash) + SCALAR_FIELD_NUMBER; @@ -9927,6 +10121,28 @@ public static final class Builder extends return flyteidl.core.Literals.internal_static_flyteidl_core_Literal_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 5: + return internalGetMetadata(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 5: + return internalGetMutableMetadata(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -9955,6 +10171,7 @@ public Builder clear() { super.clear(); hash_ = ""; + internalGetMutableMetadata().clear(); valueCase_ = 0; value_ = null; return this; @@ -9983,6 +10200,8 @@ public flyteidl.core.Literals.Literal build() { @java.lang.Override public flyteidl.core.Literals.Literal buildPartial() { flyteidl.core.Literals.Literal result = new flyteidl.core.Literals.Literal(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (valueCase_ == 1) { if (scalarBuilder_ == null) { result.value_ = value_; @@ -10005,6 +10224,9 @@ public flyteidl.core.Literals.Literal buildPartial() { } } result.hash_ = hash_; + result.metadata_ = internalGetMetadata(); + result.metadata_.makeImmutable(); + result.bitField0_ = to_bitField0_; result.valueCase_ = valueCase_; onBuilt(); return result; @@ -10058,6 +10280,8 @@ public Builder mergeFrom(flyteidl.core.Literals.Literal other) { hash_ = other.hash_; onChanged(); } + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); switch (other.getValueCase()) { case SCALAR: { mergeScalar(other.getScalar()); @@ -10118,6 +10342,7 @@ public Builder clearValue() { return this; } + private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> scalarBuilder_; @@ -10733,6 +10958,157 @@ public Builder setHashBytes( onChanged(); return this; } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { + if (metadata_ == null) { + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); + } + return metadata_; + } + private com.google.protobuf.MapField + internalGetMutableMetadata() { + onChanged();; + if (metadata_ == null) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + } + if (!metadata_.isMutable()) { + metadata_ = metadata_.copy(); + } + return metadata_; + } + + public int getMetadataCount() { + return internalGetMetadata().getMap().size(); + } + /** + *
+       * Additional metadata for literals.
+       * 
+ * + * map<string, string> metadata = 5; + */ + + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetMetadata().getMap().containsKey(key); + } + /** + * Use {@link #getMetadataMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getMetadata() { + return getMetadataMap(); + } + /** + *
+       * Additional metadata for literals.
+       * 
+ * + * map<string, string> metadata = 5; + */ + + public java.util.Map getMetadataMap() { + return internalGetMetadata().getMap(); + } + /** + *
+       * Additional metadata for literals.
+       * 
+ * + * map<string, string> metadata = 5; + */ + + public java.lang.String getMetadataOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMetadata().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Additional metadata for literals.
+       * 
+ * + * map<string, string> metadata = 5; + */ + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMetadata().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearMetadata() { + internalGetMutableMetadata().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Additional metadata for literals.
+       * 
+ * + * map<string, string> metadata = 5; + */ + + public Builder removeMetadata( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableMetadata().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableMetadata() { + return internalGetMutableMetadata().getMutableMap(); + } + /** + *
+       * Additional metadata for literals.
+       * 
+ * + * map<string, string> metadata = 5; + */ + public Builder putMetadata( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableMetadata().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * Additional metadata for literals.
+       * 
+ * + * map<string, string> metadata = 5; + */ + + public Builder putAllMetadata( + java.util.Map values) { + internalGetMutableMetadata().getMutableMap() + .putAll(values); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18408,6 +18784,11 @@ public flyteidl.core.Literals.RetryStrategy getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_Literal_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_Literal_MetadataEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_Literal_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_LiteralCollection_descriptor; private static final @@ -18504,36 +18885,39 @@ public flyteidl.core.Literals.RetryStrategy getDefaultInstanceForType() { "(\0132\027.google.protobuf.StructH\000\022>\n\022structu" + "red_dataset\030\010 \001(\0132 .flyteidl.core.Struct" + "uredDatasetH\000\022%\n\005union\030\t \001(\0132\024.flyteidl." + - "core.UnionH\000B\007\n\005value\"\253\001\n\007Literal\022\'\n\006sca" + + "core.UnionH\000B\007\n\005value\"\224\002\n\007Literal\022\'\n\006sca" + "lar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\0226\n\nco" + "llection\030\002 \001(\0132 .flyteidl.core.LiteralCo" + "llectionH\000\022(\n\003map\030\003 \001(\0132\031.flyteidl.core." + - "LiteralMapH\000\022\014\n\004hash\030\004 \001(\tB\007\n\005value\"=\n\021L" + - "iteralCollection\022(\n\010literals\030\001 \003(\0132\026.fly" + - "teidl.core.Literal\"\220\001\n\nLiteralMap\0229\n\010lit" + - "erals\030\001 \003(\0132\'.flyteidl.core.LiteralMap.L" + - "iteralsEntry\032G\n\rLiteralsEntry\022\013\n\003key\030\001 \001" + - "(\t\022%\n\005value\030\002 \001(\0132\026.flyteidl.core.Litera" + - "l:\0028\001\"E\n\025BindingDataCollection\022,\n\010bindin" + - "gs\030\001 \003(\0132\032.flyteidl.core.BindingData\"\234\001\n" + - "\016BindingDataMap\022=\n\010bindings\030\001 \003(\0132+.flyt" + - "eidl.core.BindingDataMap.BindingsEntry\032K" + - "\n\rBindingsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005value\030\002 " + - "\001(\0132\032.flyteidl.core.BindingData:\0028\001\";\n\tU" + - "nionInfo\022.\n\ntargetType\030\001 \001(\0132\032.flyteidl." + - "core.LiteralType\"\205\002\n\013BindingData\022\'\n\006scal" + - "ar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\022:\n\ncol" + - "lection\030\002 \001(\0132$.flyteidl.core.BindingDat" + - "aCollectionH\000\0221\n\007promise\030\003 \001(\0132\036.flyteid" + - "l.core.OutputReferenceH\000\022,\n\003map\030\004 \001(\0132\035." + - "flyteidl.core.BindingDataMapH\000\022\'\n\005union\030" + - "\005 \001(\0132\030.flyteidl.core.UnionInfoB\007\n\005value" + - "\"C\n\007Binding\022\013\n\003var\030\001 \001(\t\022+\n\007binding\030\002 \001(" + - "\0132\032.flyteidl.core.BindingData\"*\n\014KeyValu" + - "ePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\" \n\rRet" + - "ryStrategy\022\017\n\007retries\030\005 \001(\rB.flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + boolean hasRawEvent(); + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + flyteidl.event.Event.WorkflowExecutionEvent getRawEvent(); + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder(); + + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + boolean hasOutputData(); + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + flyteidl.core.Literals.LiteralMap getOutputData(); + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); + + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + boolean hasOutputInterface(); + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + flyteidl.core.Interface.TypedInterface getOutputInterface(); + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); + + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + boolean hasInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + flyteidl.core.Literals.LiteralMap getInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); + + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + boolean hasScheduledAt(); + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + com.google.protobuf.Timestamp getScheduledAt(); + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder(); + + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + java.util.List + getArtifactIdsList(); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + int getArtifactIdsCount(); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + java.util.List + getArtifactIdsOrBuilderList(); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index); + + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + boolean hasParentNodeExecution(); + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution(); + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder(); + + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + boolean hasReferenceExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder(); + } + /** + *
+   * This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional
+   * information that downstream consumers may find useful.
+   * 
+ * + * Protobuf type {@code flyteidl.event.CloudEventWorkflowExecution} + */ + public static final class CloudEventWorkflowExecution extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventWorkflowExecution) + CloudEventWorkflowExecutionOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudEventWorkflowExecution.newBuilder() to construct. + private CloudEventWorkflowExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CloudEventWorkflowExecution() { + artifactIds_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CloudEventWorkflowExecution( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.event.Event.WorkflowExecutionEvent.Builder subBuilder = null; + if (rawEvent_ != null) { + subBuilder = rawEvent_.toBuilder(); + } + rawEvent_ = input.readMessage(flyteidl.event.Event.WorkflowExecutionEvent.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rawEvent_); + rawEvent_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (outputData_ != null) { + subBuilder = outputData_.toBuilder(); + } + outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputData_); + outputData_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; + if (outputInterface_ != null) { + subBuilder = outputInterface_.toBuilder(); + } + outputInterface_ = input.readMessage(flyteidl.core.Interface.TypedInterface.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputInterface_); + outputInterface_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (inputData_ != null) { + subBuilder = inputData_.toBuilder(); + } + inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputData_); + inputData_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduledAt_ != null) { + subBuilder = scheduledAt_.toBuilder(); + } + scheduledAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduledAt_); + scheduledAt_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + artifactIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + artifactIds_.add( + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); + break; + } + case 58: { + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; + if (parentNodeExecution_ != null) { + subBuilder = parentNodeExecution_.toBuilder(); + } + parentNodeExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(parentNodeExecution_); + parentNodeExecution_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (referenceExecution_ != null) { + subBuilder = referenceExecution_.toBuilder(); + } + referenceExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(referenceExecution_); + referenceExecution_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000020) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventWorkflowExecution.class, flyteidl.event.Cloudevents.CloudEventWorkflowExecution.Builder.class); + } + + private int bitField0_; + public static final int RAW_EVENT_FIELD_NUMBER = 1; + private flyteidl.event.Event.WorkflowExecutionEvent rawEvent_; + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public boolean hasRawEvent() { + return rawEvent_ != null; + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.WorkflowExecutionEvent getRawEvent() { + return rawEvent_ == null ? flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : rawEvent_; + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder() { + return getRawEvent(); + } + + public static final int OUTPUT_DATA_FIELD_NUMBER = 2; + private flyteidl.core.Literals.LiteralMap outputData_; + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public boolean hasOutputData() { + return outputData_ != null; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + return getOutputData(); + } + + public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 3; + private flyteidl.core.Interface.TypedInterface outputInterface_; + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public boolean hasOutputInterface() { + return outputInterface_ != null; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface getOutputInterface() { + return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { + return getOutputInterface(); + } + + public static final int INPUT_DATA_FIELD_NUMBER = 4; + private flyteidl.core.Literals.LiteralMap inputData_; + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public boolean hasInputData() { + return inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + return getInputData(); + } + + public static final int SCHEDULED_AT_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp scheduledAt_; + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public boolean hasScheduledAt() { + return scheduledAt_ != null; + } + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.Timestamp getScheduledAt() { + return scheduledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; + } + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder() { + return getScheduledAt(); + } + + public static final int ARTIFACT_IDS_FIELD_NUMBER = 6; + private java.util.List artifactIds_; + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List getArtifactIdsList() { + return artifactIds_; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + return artifactIds_; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public int getArtifactIdsCount() { + return artifactIds_.size(); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + return artifactIds_.get(index); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + return artifactIds_.get(index); + } + + public static final int PARENT_NODE_EXECUTION_FIELD_NUMBER = 7; + private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecution_; + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public boolean hasParentNodeExecution() { + return parentNodeExecution_ != null; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution() { + return parentNodeExecution_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder() { + return getParentNodeExecution(); + } + + public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 8; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public boolean hasReferenceExecution() { + return referenceExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { + return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { + return getReferenceExecution(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (rawEvent_ != null) { + output.writeMessage(1, getRawEvent()); + } + if (outputData_ != null) { + output.writeMessage(2, getOutputData()); + } + if (outputInterface_ != null) { + output.writeMessage(3, getOutputInterface()); + } + if (inputData_ != null) { + output.writeMessage(4, getInputData()); + } + if (scheduledAt_ != null) { + output.writeMessage(5, getScheduledAt()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + output.writeMessage(6, artifactIds_.get(i)); + } + if (parentNodeExecution_ != null) { + output.writeMessage(7, getParentNodeExecution()); + } + if (referenceExecution_ != null) { + output.writeMessage(8, getReferenceExecution()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (rawEvent_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRawEvent()); + } + if (outputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOutputData()); + } + if (outputInterface_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOutputInterface()); + } + if (inputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInputData()); + } + if (scheduledAt_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getScheduledAt()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, artifactIds_.get(i)); + } + if (parentNodeExecution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getParentNodeExecution()); + } + if (referenceExecution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getReferenceExecution()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.event.Cloudevents.CloudEventWorkflowExecution)) { + return super.equals(obj); + } + flyteidl.event.Cloudevents.CloudEventWorkflowExecution other = (flyteidl.event.Cloudevents.CloudEventWorkflowExecution) obj; + + if (hasRawEvent() != other.hasRawEvent()) return false; + if (hasRawEvent()) { + if (!getRawEvent() + .equals(other.getRawEvent())) return false; + } + if (hasOutputData() != other.hasOutputData()) return false; + if (hasOutputData()) { + if (!getOutputData() + .equals(other.getOutputData())) return false; + } + if (hasOutputInterface() != other.hasOutputInterface()) return false; + if (hasOutputInterface()) { + if (!getOutputInterface() + .equals(other.getOutputInterface())) return false; + } + if (hasInputData() != other.hasInputData()) return false; + if (hasInputData()) { + if (!getInputData() + .equals(other.getInputData())) return false; + } + if (hasScheduledAt() != other.hasScheduledAt()) return false; + if (hasScheduledAt()) { + if (!getScheduledAt() + .equals(other.getScheduledAt())) return false; + } + if (!getArtifactIdsList() + .equals(other.getArtifactIdsList())) return false; + if (hasParentNodeExecution() != other.hasParentNodeExecution()) return false; + if (hasParentNodeExecution()) { + if (!getParentNodeExecution() + .equals(other.getParentNodeExecution())) return false; + } + if (hasReferenceExecution() != other.hasReferenceExecution()) return false; + if (hasReferenceExecution()) { + if (!getReferenceExecution() + .equals(other.getReferenceExecution())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRawEvent()) { + hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; + hash = (53 * hash) + getRawEvent().hashCode(); + } + if (hasOutputData()) { + hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getOutputData().hashCode(); + } + if (hasOutputInterface()) { + hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; + hash = (53 * hash) + getOutputInterface().hashCode(); + } + if (hasInputData()) { + hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getInputData().hashCode(); + } + if (hasScheduledAt()) { + hash = (37 * hash) + SCHEDULED_AT_FIELD_NUMBER; + hash = (53 * hash) + getScheduledAt().hashCode(); + } + if (getArtifactIdsCount() > 0) { + hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactIdsList().hashCode(); + } + if (hasParentNodeExecution()) { + hash = (37 * hash) + PARENT_NODE_EXECUTION_FIELD_NUMBER; + hash = (53 * hash) + getParentNodeExecution().hashCode(); + } + if (hasReferenceExecution()) { + hash = (37 * hash) + REFERENCE_EXECUTION_FIELD_NUMBER; + hash = (53 * hash) + getReferenceExecution().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.event.Cloudevents.CloudEventWorkflowExecution prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional
+     * information that downstream consumers may find useful.
+     * 
+ * + * Protobuf type {@code flyteidl.event.CloudEventWorkflowExecution} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventWorkflowExecution) + flyteidl.event.Cloudevents.CloudEventWorkflowExecutionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventWorkflowExecution.class, flyteidl.event.Cloudevents.CloudEventWorkflowExecution.Builder.class); + } + + // Construct using flyteidl.event.Cloudevents.CloudEventWorkflowExecution.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getArtifactIdsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (rawEventBuilder_ == null) { + rawEvent_ = null; + } else { + rawEvent_ = null; + rawEventBuilder_ = null; + } + if (outputDataBuilder_ == null) { + outputData_ = null; + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + if (outputInterfaceBuilder_ == null) { + outputInterface_ = null; + } else { + outputInterface_ = null; + outputInterfaceBuilder_ = null; + } + if (inputDataBuilder_ == null) { + inputData_ = null; + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + if (scheduledAtBuilder_ == null) { + scheduledAt_ = null; + } else { + scheduledAt_ = null; + scheduledAtBuilder_ = null; + } + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + } else { + artifactIdsBuilder_.clear(); + } + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecution_ = null; + } else { + parentNodeExecution_ = null; + parentNodeExecutionBuilder_ = null; + } + if (referenceExecutionBuilder_ == null) { + referenceExecution_ = null; + } else { + referenceExecution_ = null; + referenceExecutionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventWorkflowExecution getDefaultInstanceForType() { + return flyteidl.event.Cloudevents.CloudEventWorkflowExecution.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventWorkflowExecution build() { + flyteidl.event.Cloudevents.CloudEventWorkflowExecution result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventWorkflowExecution buildPartial() { + flyteidl.event.Cloudevents.CloudEventWorkflowExecution result = new flyteidl.event.Cloudevents.CloudEventWorkflowExecution(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (rawEventBuilder_ == null) { + result.rawEvent_ = rawEvent_; + } else { + result.rawEvent_ = rawEventBuilder_.build(); + } + if (outputDataBuilder_ == null) { + result.outputData_ = outputData_; + } else { + result.outputData_ = outputDataBuilder_.build(); + } + if (outputInterfaceBuilder_ == null) { + result.outputInterface_ = outputInterface_; + } else { + result.outputInterface_ = outputInterfaceBuilder_.build(); + } + if (inputDataBuilder_ == null) { + result.inputData_ = inputData_; + } else { + result.inputData_ = inputDataBuilder_.build(); + } + if (scheduledAtBuilder_ == null) { + result.scheduledAt_ = scheduledAt_; + } else { + result.scheduledAt_ = scheduledAtBuilder_.build(); + } + if (artifactIdsBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.artifactIds_ = artifactIds_; + } else { + result.artifactIds_ = artifactIdsBuilder_.build(); + } + if (parentNodeExecutionBuilder_ == null) { + result.parentNodeExecution_ = parentNodeExecution_; + } else { + result.parentNodeExecution_ = parentNodeExecutionBuilder_.build(); + } + if (referenceExecutionBuilder_ == null) { + result.referenceExecution_ = referenceExecution_; + } else { + result.referenceExecution_ = referenceExecutionBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.event.Cloudevents.CloudEventWorkflowExecution) { + return mergeFrom((flyteidl.event.Cloudevents.CloudEventWorkflowExecution)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventWorkflowExecution other) { + if (other == flyteidl.event.Cloudevents.CloudEventWorkflowExecution.getDefaultInstance()) return this; + if (other.hasRawEvent()) { + mergeRawEvent(other.getRawEvent()); + } + if (other.hasOutputData()) { + mergeOutputData(other.getOutputData()); + } + if (other.hasOutputInterface()) { + mergeOutputInterface(other.getOutputInterface()); + } + if (other.hasInputData()) { + mergeInputData(other.getInputData()); + } + if (other.hasScheduledAt()) { + mergeScheduledAt(other.getScheduledAt()); + } + if (artifactIdsBuilder_ == null) { + if (!other.artifactIds_.isEmpty()) { + if (artifactIds_.isEmpty()) { + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureArtifactIdsIsMutable(); + artifactIds_.addAll(other.artifactIds_); + } + onChanged(); + } + } else { + if (!other.artifactIds_.isEmpty()) { + if (artifactIdsBuilder_.isEmpty()) { + artifactIdsBuilder_.dispose(); + artifactIdsBuilder_ = null; + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000020); + artifactIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactIdsFieldBuilder() : null; + } else { + artifactIdsBuilder_.addAllMessages(other.artifactIds_); + } + } + } + if (other.hasParentNodeExecution()) { + mergeParentNodeExecution(other.getParentNodeExecution()); + } + if (other.hasReferenceExecution()) { + mergeReferenceExecution(other.getReferenceExecution()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.event.Cloudevents.CloudEventWorkflowExecution parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.event.Cloudevents.CloudEventWorkflowExecution) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.event.Event.WorkflowExecutionEvent rawEvent_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder> rawEventBuilder_; + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public boolean hasRawEvent() { + return rawEventBuilder_ != null || rawEvent_ != null; + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.WorkflowExecutionEvent getRawEvent() { + if (rawEventBuilder_ == null) { + return rawEvent_ == null ? flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : rawEvent_; + } else { + return rawEventBuilder_.getMessage(); + } + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public Builder setRawEvent(flyteidl.event.Event.WorkflowExecutionEvent value) { + if (rawEventBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rawEvent_ = value; + onChanged(); + } else { + rawEventBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public Builder setRawEvent( + flyteidl.event.Event.WorkflowExecutionEvent.Builder builderForValue) { + if (rawEventBuilder_ == null) { + rawEvent_ = builderForValue.build(); + onChanged(); + } else { + rawEventBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public Builder mergeRawEvent(flyteidl.event.Event.WorkflowExecutionEvent value) { + if (rawEventBuilder_ == null) { + if (rawEvent_ != null) { + rawEvent_ = + flyteidl.event.Event.WorkflowExecutionEvent.newBuilder(rawEvent_).mergeFrom(value).buildPartial(); + } else { + rawEvent_ = value; + } + onChanged(); + } else { + rawEventBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public Builder clearRawEvent() { + if (rawEventBuilder_ == null) { + rawEvent_ = null; + onChanged(); + } else { + rawEvent_ = null; + rawEventBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.WorkflowExecutionEvent.Builder getRawEventBuilder() { + + onChanged(); + return getRawEventFieldBuilder().getBuilder(); + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder() { + if (rawEventBuilder_ != null) { + return rawEventBuilder_.getMessageOrBuilder(); + } else { + return rawEvent_ == null ? + flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : rawEvent_; + } + } + /** + * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder> + getRawEventFieldBuilder() { + if (rawEventBuilder_ == null) { + rawEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder>( + getRawEvent(), + getParentForChildren(), + isClean()); + rawEvent_ = null; + } + return rawEventBuilder_; + } + + private flyteidl.core.Literals.LiteralMap outputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public boolean hasOutputData() { + return outputDataBuilder_ != null || outputData_ != null; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + if (outputDataBuilder_ == null) { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } else { + return outputDataBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputData_ = value; + onChanged(); + } else { + outputDataBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder setOutputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (outputDataBuilder_ == null) { + outputData_ = builderForValue.build(); + onChanged(); + } else { + outputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (outputData_ != null) { + outputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); + } else { + outputData_ = value; + } + onChanged(); + } else { + outputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder clearOutputData() { + if (outputDataBuilder_ == null) { + outputData_ = null; + onChanged(); + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { + + onChanged(); + return getOutputDataFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + if (outputDataBuilder_ != null) { + return outputDataBuilder_.getMessageOrBuilder(); + } else { + return outputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getOutputDataFieldBuilder() { + if (outputDataBuilder_ == null) { + outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getOutputData(), + getParentForChildren(), + isClean()); + outputData_ = null; + } + return outputDataBuilder_; + } + + private flyteidl.core.Interface.TypedInterface outputInterface_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> outputInterfaceBuilder_; + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public boolean hasOutputInterface() { + return outputInterfaceBuilder_ != null || outputInterface_ != null; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface getOutputInterface() { + if (outputInterfaceBuilder_ == null) { + return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; + } else { + return outputInterfaceBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { + if (outputInterfaceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputInterface_ = value; + onChanged(); + } else { + outputInterfaceBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder setOutputInterface( + flyteidl.core.Interface.TypedInterface.Builder builderForValue) { + if (outputInterfaceBuilder_ == null) { + outputInterface_ = builderForValue.build(); + onChanged(); + } else { + outputInterfaceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { + if (outputInterfaceBuilder_ == null) { + if (outputInterface_ != null) { + outputInterface_ = + flyteidl.core.Interface.TypedInterface.newBuilder(outputInterface_).mergeFrom(value).buildPartial(); + } else { + outputInterface_ = value; + } + onChanged(); + } else { + outputInterfaceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder clearOutputInterface() { + if (outputInterfaceBuilder_ == null) { + outputInterface_ = null; + onChanged(); + } else { + outputInterface_ = null; + outputInterfaceBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { + + onChanged(); + return getOutputInterfaceFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { + if (outputInterfaceBuilder_ != null) { + return outputInterfaceBuilder_.getMessageOrBuilder(); + } else { + return outputInterface_ == null ? + flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; + } + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> + getOutputInterfaceFieldBuilder() { + if (outputInterfaceBuilder_ == null) { + outputInterfaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder>( + getOutputInterface(), + getParentForChildren(), + isClean()); + outputInterface_ = null; + } + return outputInterfaceBuilder_; + } + + private flyteidl.core.Literals.LiteralMap inputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public boolean hasInputData() { + return inputDataBuilder_ != null || inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + if (inputDataBuilder_ == null) { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } else { + return inputDataBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputData_ = value; + onChanged(); + } else { + inputDataBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder setInputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (inputDataBuilder_ == null) { + inputData_ = builderForValue.build(); + onChanged(); + } else { + inputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (inputData_ != null) { + inputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); + } else { + inputData_ = value; + } + onChanged(); + } else { + inputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder clearInputData() { + if (inputDataBuilder_ == null) { + inputData_ = null; + onChanged(); + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { + + onChanged(); + return getInputDataFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + if (inputDataBuilder_ != null) { + return inputDataBuilder_.getMessageOrBuilder(); + } else { + return inputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getInputDataFieldBuilder() { + if (inputDataBuilder_ == null) { + inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getInputData(), + getParentForChildren(), + isClean()); + inputData_ = null; + } + return inputDataBuilder_; + } + + private com.google.protobuf.Timestamp scheduledAt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledAtBuilder_; + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public boolean hasScheduledAt() { + return scheduledAtBuilder_ != null || scheduledAt_ != null; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.Timestamp getScheduledAt() { + if (scheduledAtBuilder_ == null) { + return scheduledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; + } else { + return scheduledAtBuilder_.getMessage(); + } + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder setScheduledAt(com.google.protobuf.Timestamp value) { + if (scheduledAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + scheduledAt_ = value; + onChanged(); + } else { + scheduledAtBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder setScheduledAt( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (scheduledAtBuilder_ == null) { + scheduledAt_ = builderForValue.build(); + onChanged(); + } else { + scheduledAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder mergeScheduledAt(com.google.protobuf.Timestamp value) { + if (scheduledAtBuilder_ == null) { + if (scheduledAt_ != null) { + scheduledAt_ = + com.google.protobuf.Timestamp.newBuilder(scheduledAt_).mergeFrom(value).buildPartial(); + } else { + scheduledAt_ = value; + } + onChanged(); + } else { + scheduledAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder clearScheduledAt() { + if (scheduledAtBuilder_ == null) { + scheduledAt_ = null; + onChanged(); + } else { + scheduledAt_ = null; + scheduledAtBuilder_ = null; + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.Timestamp.Builder getScheduledAtBuilder() { + + onChanged(); + return getScheduledAtFieldBuilder().getBuilder(); + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder() { + if (scheduledAtBuilder_ != null) { + return scheduledAtBuilder_.getMessageOrBuilder(); + } else { + return scheduledAt_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; + } + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getScheduledAtFieldBuilder() { + if (scheduledAtBuilder_ == null) { + scheduledAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduledAt(), + getParentForChildren(), + isClean()); + scheduledAt_ = null; + } + return scheduledAtBuilder_; + } + + private java.util.List artifactIds_ = + java.util.Collections.emptyList(); + private void ensureArtifactIdsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + artifactIds_ = new java.util.ArrayList(artifactIds_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; + + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List getArtifactIdsList() { + if (artifactIdsBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifactIds_); + } else { + return artifactIdsBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public int getArtifactIdsCount() { + if (artifactIdsBuilder_ == null) { + return artifactIds_.size(); + } else { + return artifactIdsBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); + } else { + return artifactIdsBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, value); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addAllArtifactIds( + java.lang.Iterable values) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifactIds_); + onChanged(); + } else { + artifactIdsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder clearArtifactIds() { + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + artifactIdsBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder removeArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.remove(index); + onChanged(); + } else { + artifactIdsBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); } else { + return artifactIdsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + if (artifactIdsBuilder_ != null) { + return artifactIdsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifactIds_); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { + return getArtifactIdsFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List + getArtifactIdsBuilderList() { + return getArtifactIdsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdsFieldBuilder() { + if (artifactIdsBuilder_ == null) { + artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + artifactIds_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + artifactIds_ = null; + } + return artifactIdsBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecution_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> parentNodeExecutionBuilder_; + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public boolean hasParentNodeExecution() { + return parentNodeExecutionBuilder_ != null || parentNodeExecution_ != null; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution() { + if (parentNodeExecutionBuilder_ == null) { + return parentNodeExecution_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; + } else { + return parentNodeExecutionBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder setParentNodeExecution(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (parentNodeExecutionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parentNodeExecution_ = value; + onChanged(); + } else { + parentNodeExecutionBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder setParentNodeExecution( + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecution_ = builderForValue.build(); + onChanged(); + } else { + parentNodeExecutionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder mergeParentNodeExecution(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (parentNodeExecutionBuilder_ == null) { + if (parentNodeExecution_ != null) { + parentNodeExecution_ = + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(parentNodeExecution_).mergeFrom(value).buildPartial(); + } else { + parentNodeExecution_ = value; + } + onChanged(); + } else { + parentNodeExecutionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder clearParentNodeExecution() { + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecution_ = null; + onChanged(); + } else { + parentNodeExecution_ = null; + parentNodeExecutionBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getParentNodeExecutionBuilder() { + + onChanged(); + return getParentNodeExecutionFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder() { + if (parentNodeExecutionBuilder_ != null) { + return parentNodeExecutionBuilder_.getMessageOrBuilder(); + } else { + return parentNodeExecution_ == null ? + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; + } + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> + getParentNodeExecutionFieldBuilder() { + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( + getParentNodeExecution(), + getParentForChildren(), + isClean()); + parentNodeExecution_ = null; + } + return parentNodeExecutionBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> referenceExecutionBuilder_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public boolean hasReferenceExecution() { + return referenceExecutionBuilder_ != null || referenceExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { + if (referenceExecutionBuilder_ == null) { + return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; + } else { + return referenceExecutionBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (referenceExecutionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + referenceExecution_ = value; + onChanged(); + } else { + referenceExecutionBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder setReferenceExecution( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (referenceExecutionBuilder_ == null) { + referenceExecution_ = builderForValue.build(); + onChanged(); + } else { + referenceExecutionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (referenceExecutionBuilder_ == null) { + if (referenceExecution_ != null) { + referenceExecution_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(referenceExecution_).mergeFrom(value).buildPartial(); + } else { + referenceExecution_ = value; + } + onChanged(); + } else { + referenceExecutionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder clearReferenceExecution() { + if (referenceExecutionBuilder_ == null) { + referenceExecution_ = null; + onChanged(); + } else { + referenceExecution_ = null; + referenceExecutionBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getReferenceExecutionBuilder() { + + onChanged(); + return getReferenceExecutionFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { + if (referenceExecutionBuilder_ != null) { + return referenceExecutionBuilder_.getMessageOrBuilder(); + } else { + return referenceExecution_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getReferenceExecutionFieldBuilder() { + if (referenceExecutionBuilder_ == null) { + referenceExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getReferenceExecution(), + getParentForChildren(), + isClean()); + referenceExecution_ = null; + } + return referenceExecutionBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.event.CloudEventWorkflowExecution) + } + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventWorkflowExecution) + private static final flyteidl.event.Cloudevents.CloudEventWorkflowExecution DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventWorkflowExecution(); + } + + public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudEventWorkflowExecution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudEventWorkflowExecution(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventWorkflowExecution getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CloudEventNodeExecutionOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.event.CloudEventNodeExecution) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + boolean hasRawEvent(); + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + flyteidl.event.Event.NodeExecutionEvent getRawEvent(); + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + flyteidl.event.Event.NodeExecutionEventOrBuilder getRawEventOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.event.CloudEventNodeExecution} + */ + public static final class CloudEventNodeExecution extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventNodeExecution) + CloudEventNodeExecutionOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudEventNodeExecution.newBuilder() to construct. + private CloudEventNodeExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CloudEventNodeExecution() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CloudEventNodeExecution( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.event.Event.NodeExecutionEvent.Builder subBuilder = null; + if (rawEvent_ != null) { + subBuilder = rawEvent_.toBuilder(); + } + rawEvent_ = input.readMessage(flyteidl.event.Event.NodeExecutionEvent.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rawEvent_); + rawEvent_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventNodeExecution.class, flyteidl.event.Cloudevents.CloudEventNodeExecution.Builder.class); + } + + public static final int RAW_EVENT_FIELD_NUMBER = 1; + private flyteidl.event.Event.NodeExecutionEvent rawEvent_; + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public boolean hasRawEvent() { + return rawEvent_ != null; + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.NodeExecutionEvent getRawEvent() { + return rawEvent_ == null ? flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : rawEvent_; + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.NodeExecutionEventOrBuilder getRawEventOrBuilder() { + return getRawEvent(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (rawEvent_ != null) { + output.writeMessage(1, getRawEvent()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (rawEvent_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRawEvent()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.event.Cloudevents.CloudEventNodeExecution)) { + return super.equals(obj); + } + flyteidl.event.Cloudevents.CloudEventNodeExecution other = (flyteidl.event.Cloudevents.CloudEventNodeExecution) obj; + + if (hasRawEvent() != other.hasRawEvent()) return false; + if (hasRawEvent()) { + if (!getRawEvent() + .equals(other.getRawEvent())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRawEvent()) { + hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; + hash = (53 * hash) + getRawEvent().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.event.Cloudevents.CloudEventNodeExecution prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.event.CloudEventNodeExecution} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventNodeExecution) + flyteidl.event.Cloudevents.CloudEventNodeExecutionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventNodeExecution.class, flyteidl.event.Cloudevents.CloudEventNodeExecution.Builder.class); + } + + // Construct using flyteidl.event.Cloudevents.CloudEventNodeExecution.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (rawEventBuilder_ == null) { + rawEvent_ = null; + } else { + rawEvent_ = null; + rawEventBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventNodeExecution getDefaultInstanceForType() { + return flyteidl.event.Cloudevents.CloudEventNodeExecution.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventNodeExecution build() { + flyteidl.event.Cloudevents.CloudEventNodeExecution result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventNodeExecution buildPartial() { + flyteidl.event.Cloudevents.CloudEventNodeExecution result = new flyteidl.event.Cloudevents.CloudEventNodeExecution(this); + if (rawEventBuilder_ == null) { + result.rawEvent_ = rawEvent_; + } else { + result.rawEvent_ = rawEventBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.event.Cloudevents.CloudEventNodeExecution) { + return mergeFrom((flyteidl.event.Cloudevents.CloudEventNodeExecution)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventNodeExecution other) { + if (other == flyteidl.event.Cloudevents.CloudEventNodeExecution.getDefaultInstance()) return this; + if (other.hasRawEvent()) { + mergeRawEvent(other.getRawEvent()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.event.Cloudevents.CloudEventNodeExecution parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.event.Cloudevents.CloudEventNodeExecution) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.event.Event.NodeExecutionEvent rawEvent_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder> rawEventBuilder_; + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public boolean hasRawEvent() { + return rawEventBuilder_ != null || rawEvent_ != null; + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.NodeExecutionEvent getRawEvent() { + if (rawEventBuilder_ == null) { + return rawEvent_ == null ? flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : rawEvent_; + } else { + return rawEventBuilder_.getMessage(); + } + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public Builder setRawEvent(flyteidl.event.Event.NodeExecutionEvent value) { + if (rawEventBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rawEvent_ = value; + onChanged(); + } else { + rawEventBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public Builder setRawEvent( + flyteidl.event.Event.NodeExecutionEvent.Builder builderForValue) { + if (rawEventBuilder_ == null) { + rawEvent_ = builderForValue.build(); + onChanged(); + } else { + rawEventBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public Builder mergeRawEvent(flyteidl.event.Event.NodeExecutionEvent value) { + if (rawEventBuilder_ == null) { + if (rawEvent_ != null) { + rawEvent_ = + flyteidl.event.Event.NodeExecutionEvent.newBuilder(rawEvent_).mergeFrom(value).buildPartial(); + } else { + rawEvent_ = value; + } + onChanged(); + } else { + rawEventBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public Builder clearRawEvent() { + if (rawEventBuilder_ == null) { + rawEvent_ = null; + onChanged(); + } else { + rawEvent_ = null; + rawEventBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.NodeExecutionEvent.Builder getRawEventBuilder() { + + onChanged(); + return getRawEventFieldBuilder().getBuilder(); + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.NodeExecutionEventOrBuilder getRawEventOrBuilder() { + if (rawEventBuilder_ != null) { + return rawEventBuilder_.getMessageOrBuilder(); + } else { + return rawEvent_ == null ? + flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : rawEvent_; + } + } + /** + * .flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder> + getRawEventFieldBuilder() { + if (rawEventBuilder_ == null) { + rawEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder>( + getRawEvent(), + getParentForChildren(), + isClean()); + rawEvent_ = null; + } + return rawEventBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.event.CloudEventNodeExecution) + } + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventNodeExecution) + private static final flyteidl.event.Cloudevents.CloudEventNodeExecution DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventNodeExecution(); + } + + public static flyteidl.event.Cloudevents.CloudEventNodeExecution getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudEventNodeExecution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudEventNodeExecution(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventNodeExecution getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CloudEventTaskExecutionOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.event.CloudEventTaskExecution) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + boolean hasRawEvent(); + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + flyteidl.event.Event.TaskExecutionEvent getRawEvent(); + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + flyteidl.event.Event.TaskExecutionEventOrBuilder getRawEventOrBuilder(); + + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + boolean hasOutputData(); + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + flyteidl.core.Literals.LiteralMap getOutputData(); + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); + + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + boolean hasOutputInterface(); + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + flyteidl.core.Interface.TypedInterface getOutputInterface(); + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); + + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + boolean hasInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + flyteidl.core.Literals.LiteralMap getInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); + + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + boolean hasScheduledAt(); + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + com.google.protobuf.Timestamp getScheduledAt(); + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder(); + + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + java.util.List + getArtifactIdsList(); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + int getArtifactIdsCount(); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + java.util.List + getArtifactIdsOrBuilderList(); + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index); + + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + boolean hasParentNodeExecution(); + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution(); + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder(); + + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + boolean hasReferenceExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.event.CloudEventTaskExecution} + */ + public static final class CloudEventTaskExecution extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventTaskExecution) + CloudEventTaskExecutionOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudEventTaskExecution.newBuilder() to construct. + private CloudEventTaskExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CloudEventTaskExecution() { + artifactIds_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CloudEventTaskExecution( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.event.Event.TaskExecutionEvent.Builder subBuilder = null; + if (rawEvent_ != null) { + subBuilder = rawEvent_.toBuilder(); + } + rawEvent_ = input.readMessage(flyteidl.event.Event.TaskExecutionEvent.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rawEvent_); + rawEvent_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (outputData_ != null) { + subBuilder = outputData_.toBuilder(); + } + outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputData_); + outputData_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; + if (outputInterface_ != null) { + subBuilder = outputInterface_.toBuilder(); + } + outputInterface_ = input.readMessage(flyteidl.core.Interface.TypedInterface.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputInterface_); + outputInterface_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (inputData_ != null) { + subBuilder = inputData_.toBuilder(); + } + inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputData_); + inputData_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduledAt_ != null) { + subBuilder = scheduledAt_.toBuilder(); + } + scheduledAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduledAt_); + scheduledAt_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + artifactIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + artifactIds_.add( + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); + break; + } + case 58: { + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; + if (parentNodeExecution_ != null) { + subBuilder = parentNodeExecution_.toBuilder(); + } + parentNodeExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(parentNodeExecution_); + parentNodeExecution_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (referenceExecution_ != null) { + subBuilder = referenceExecution_.toBuilder(); + } + referenceExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(referenceExecution_); + referenceExecution_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000020) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventTaskExecution.class, flyteidl.event.Cloudevents.CloudEventTaskExecution.Builder.class); + } + + private int bitField0_; + public static final int RAW_EVENT_FIELD_NUMBER = 1; + private flyteidl.event.Event.TaskExecutionEvent rawEvent_; + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public boolean hasRawEvent() { + return rawEvent_ != null; + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.TaskExecutionEvent getRawEvent() { + return rawEvent_ == null ? flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : rawEvent_; + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.TaskExecutionEventOrBuilder getRawEventOrBuilder() { + return getRawEvent(); + } + + public static final int OUTPUT_DATA_FIELD_NUMBER = 2; + private flyteidl.core.Literals.LiteralMap outputData_; + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public boolean hasOutputData() { + return outputData_ != null; + } + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + return getOutputData(); + } + + public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 3; + private flyteidl.core.Interface.TypedInterface outputInterface_; + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public boolean hasOutputInterface() { + return outputInterface_ != null; + } + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface getOutputInterface() { + return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; + } + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { + return getOutputInterface(); + } + + public static final int INPUT_DATA_FIELD_NUMBER = 4; + private flyteidl.core.Literals.LiteralMap inputData_; + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public boolean hasInputData() { + return inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + return getInputData(); + } + + public static final int SCHEDULED_AT_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp scheduledAt_; + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public boolean hasScheduledAt() { + return scheduledAt_ != null; + } + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.Timestamp getScheduledAt() { + return scheduledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; + } + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder() { + return getScheduledAt(); + } + + public static final int ARTIFACT_IDS_FIELD_NUMBER = 6; + private java.util.List artifactIds_; + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List getArtifactIdsList() { + return artifactIds_; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + return artifactIds_; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public int getArtifactIdsCount() { + return artifactIds_.size(); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + return artifactIds_.get(index); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + return artifactIds_.get(index); + } + + public static final int PARENT_NODE_EXECUTION_FIELD_NUMBER = 7; + private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecution_; + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public boolean hasParentNodeExecution() { + return parentNodeExecution_ != null; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution() { + return parentNodeExecution_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder() { + return getParentNodeExecution(); + } + + public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 8; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public boolean hasReferenceExecution() { + return referenceExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { + return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { + return getReferenceExecution(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (rawEvent_ != null) { + output.writeMessage(1, getRawEvent()); + } + if (outputData_ != null) { + output.writeMessage(2, getOutputData()); + } + if (outputInterface_ != null) { + output.writeMessage(3, getOutputInterface()); + } + if (inputData_ != null) { + output.writeMessage(4, getInputData()); + } + if (scheduledAt_ != null) { + output.writeMessage(5, getScheduledAt()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + output.writeMessage(6, artifactIds_.get(i)); + } + if (parentNodeExecution_ != null) { + output.writeMessage(7, getParentNodeExecution()); + } + if (referenceExecution_ != null) { + output.writeMessage(8, getReferenceExecution()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (rawEvent_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRawEvent()); + } + if (outputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOutputData()); + } + if (outputInterface_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOutputInterface()); + } + if (inputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInputData()); + } + if (scheduledAt_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getScheduledAt()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, artifactIds_.get(i)); + } + if (parentNodeExecution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getParentNodeExecution()); + } + if (referenceExecution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getReferenceExecution()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.event.Cloudevents.CloudEventTaskExecution)) { + return super.equals(obj); + } + flyteidl.event.Cloudevents.CloudEventTaskExecution other = (flyteidl.event.Cloudevents.CloudEventTaskExecution) obj; + + if (hasRawEvent() != other.hasRawEvent()) return false; + if (hasRawEvent()) { + if (!getRawEvent() + .equals(other.getRawEvent())) return false; + } + if (hasOutputData() != other.hasOutputData()) return false; + if (hasOutputData()) { + if (!getOutputData() + .equals(other.getOutputData())) return false; + } + if (hasOutputInterface() != other.hasOutputInterface()) return false; + if (hasOutputInterface()) { + if (!getOutputInterface() + .equals(other.getOutputInterface())) return false; + } + if (hasInputData() != other.hasInputData()) return false; + if (hasInputData()) { + if (!getInputData() + .equals(other.getInputData())) return false; + } + if (hasScheduledAt() != other.hasScheduledAt()) return false; + if (hasScheduledAt()) { + if (!getScheduledAt() + .equals(other.getScheduledAt())) return false; + } + if (!getArtifactIdsList() + .equals(other.getArtifactIdsList())) return false; + if (hasParentNodeExecution() != other.hasParentNodeExecution()) return false; + if (hasParentNodeExecution()) { + if (!getParentNodeExecution() + .equals(other.getParentNodeExecution())) return false; + } + if (hasReferenceExecution() != other.hasReferenceExecution()) return false; + if (hasReferenceExecution()) { + if (!getReferenceExecution() + .equals(other.getReferenceExecution())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRawEvent()) { + hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; + hash = (53 * hash) + getRawEvent().hashCode(); + } + if (hasOutputData()) { + hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getOutputData().hashCode(); + } + if (hasOutputInterface()) { + hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; + hash = (53 * hash) + getOutputInterface().hashCode(); + } + if (hasInputData()) { + hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getInputData().hashCode(); + } + if (hasScheduledAt()) { + hash = (37 * hash) + SCHEDULED_AT_FIELD_NUMBER; + hash = (53 * hash) + getScheduledAt().hashCode(); + } + if (getArtifactIdsCount() > 0) { + hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactIdsList().hashCode(); + } + if (hasParentNodeExecution()) { + hash = (37 * hash) + PARENT_NODE_EXECUTION_FIELD_NUMBER; + hash = (53 * hash) + getParentNodeExecution().hashCode(); + } + if (hasReferenceExecution()) { + hash = (37 * hash) + REFERENCE_EXECUTION_FIELD_NUMBER; + hash = (53 * hash) + getReferenceExecution().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.event.Cloudevents.CloudEventTaskExecution prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.event.CloudEventTaskExecution} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventTaskExecution) + flyteidl.event.Cloudevents.CloudEventTaskExecutionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventTaskExecution.class, flyteidl.event.Cloudevents.CloudEventTaskExecution.Builder.class); + } + + // Construct using flyteidl.event.Cloudevents.CloudEventTaskExecution.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getArtifactIdsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (rawEventBuilder_ == null) { + rawEvent_ = null; + } else { + rawEvent_ = null; + rawEventBuilder_ = null; + } + if (outputDataBuilder_ == null) { + outputData_ = null; + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + if (outputInterfaceBuilder_ == null) { + outputInterface_ = null; + } else { + outputInterface_ = null; + outputInterfaceBuilder_ = null; + } + if (inputDataBuilder_ == null) { + inputData_ = null; + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + if (scheduledAtBuilder_ == null) { + scheduledAt_ = null; + } else { + scheduledAt_ = null; + scheduledAtBuilder_ = null; + } + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + } else { + artifactIdsBuilder_.clear(); + } + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecution_ = null; + } else { + parentNodeExecution_ = null; + parentNodeExecutionBuilder_ = null; + } + if (referenceExecutionBuilder_ == null) { + referenceExecution_ = null; + } else { + referenceExecution_ = null; + referenceExecutionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventTaskExecution getDefaultInstanceForType() { + return flyteidl.event.Cloudevents.CloudEventTaskExecution.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventTaskExecution build() { + flyteidl.event.Cloudevents.CloudEventTaskExecution result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventTaskExecution buildPartial() { + flyteidl.event.Cloudevents.CloudEventTaskExecution result = new flyteidl.event.Cloudevents.CloudEventTaskExecution(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (rawEventBuilder_ == null) { + result.rawEvent_ = rawEvent_; + } else { + result.rawEvent_ = rawEventBuilder_.build(); + } + if (outputDataBuilder_ == null) { + result.outputData_ = outputData_; + } else { + result.outputData_ = outputDataBuilder_.build(); + } + if (outputInterfaceBuilder_ == null) { + result.outputInterface_ = outputInterface_; + } else { + result.outputInterface_ = outputInterfaceBuilder_.build(); + } + if (inputDataBuilder_ == null) { + result.inputData_ = inputData_; + } else { + result.inputData_ = inputDataBuilder_.build(); + } + if (scheduledAtBuilder_ == null) { + result.scheduledAt_ = scheduledAt_; + } else { + result.scheduledAt_ = scheduledAtBuilder_.build(); + } + if (artifactIdsBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.artifactIds_ = artifactIds_; + } else { + result.artifactIds_ = artifactIdsBuilder_.build(); + } + if (parentNodeExecutionBuilder_ == null) { + result.parentNodeExecution_ = parentNodeExecution_; + } else { + result.parentNodeExecution_ = parentNodeExecutionBuilder_.build(); + } + if (referenceExecutionBuilder_ == null) { + result.referenceExecution_ = referenceExecution_; + } else { + result.referenceExecution_ = referenceExecutionBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.event.Cloudevents.CloudEventTaskExecution) { + return mergeFrom((flyteidl.event.Cloudevents.CloudEventTaskExecution)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventTaskExecution other) { + if (other == flyteidl.event.Cloudevents.CloudEventTaskExecution.getDefaultInstance()) return this; + if (other.hasRawEvent()) { + mergeRawEvent(other.getRawEvent()); + } + if (other.hasOutputData()) { + mergeOutputData(other.getOutputData()); + } + if (other.hasOutputInterface()) { + mergeOutputInterface(other.getOutputInterface()); + } + if (other.hasInputData()) { + mergeInputData(other.getInputData()); + } + if (other.hasScheduledAt()) { + mergeScheduledAt(other.getScheduledAt()); + } + if (artifactIdsBuilder_ == null) { + if (!other.artifactIds_.isEmpty()) { + if (artifactIds_.isEmpty()) { + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureArtifactIdsIsMutable(); + artifactIds_.addAll(other.artifactIds_); + } + onChanged(); + } + } else { + if (!other.artifactIds_.isEmpty()) { + if (artifactIdsBuilder_.isEmpty()) { + artifactIdsBuilder_.dispose(); + artifactIdsBuilder_ = null; + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000020); + artifactIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactIdsFieldBuilder() : null; + } else { + artifactIdsBuilder_.addAllMessages(other.artifactIds_); + } + } + } + if (other.hasParentNodeExecution()) { + mergeParentNodeExecution(other.getParentNodeExecution()); + } + if (other.hasReferenceExecution()) { + mergeReferenceExecution(other.getReferenceExecution()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.event.Cloudevents.CloudEventTaskExecution parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.event.Cloudevents.CloudEventTaskExecution) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.event.Event.TaskExecutionEvent rawEvent_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder> rawEventBuilder_; + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public boolean hasRawEvent() { + return rawEventBuilder_ != null || rawEvent_ != null; + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.TaskExecutionEvent getRawEvent() { + if (rawEventBuilder_ == null) { + return rawEvent_ == null ? flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : rawEvent_; + } else { + return rawEventBuilder_.getMessage(); + } + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public Builder setRawEvent(flyteidl.event.Event.TaskExecutionEvent value) { + if (rawEventBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rawEvent_ = value; + onChanged(); + } else { + rawEventBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public Builder setRawEvent( + flyteidl.event.Event.TaskExecutionEvent.Builder builderForValue) { + if (rawEventBuilder_ == null) { + rawEvent_ = builderForValue.build(); + onChanged(); + } else { + rawEventBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public Builder mergeRawEvent(flyteidl.event.Event.TaskExecutionEvent value) { + if (rawEventBuilder_ == null) { + if (rawEvent_ != null) { + rawEvent_ = + flyteidl.event.Event.TaskExecutionEvent.newBuilder(rawEvent_).mergeFrom(value).buildPartial(); + } else { + rawEvent_ = value; + } + onChanged(); + } else { + rawEventBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public Builder clearRawEvent() { + if (rawEventBuilder_ == null) { + rawEvent_ = null; + onChanged(); + } else { + rawEvent_ = null; + rawEventBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.TaskExecutionEvent.Builder getRawEventBuilder() { + + onChanged(); + return getRawEventFieldBuilder().getBuilder(); + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + public flyteidl.event.Event.TaskExecutionEventOrBuilder getRawEventOrBuilder() { + if (rawEventBuilder_ != null) { + return rawEventBuilder_.getMessageOrBuilder(); + } else { + return rawEvent_ == null ? + flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : rawEvent_; + } + } + /** + * .flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder> + getRawEventFieldBuilder() { + if (rawEventBuilder_ == null) { + rawEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder>( + getRawEvent(), + getParentForChildren(), + isClean()); + rawEvent_ = null; + } + return rawEventBuilder_; + } + + private flyteidl.core.Literals.LiteralMap outputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public boolean hasOutputData() { + return outputDataBuilder_ != null || outputData_ != null; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + if (outputDataBuilder_ == null) { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } else { + return outputDataBuilder_.getMessage(); + } + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputData_ = value; + onChanged(); + } else { + outputDataBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder setOutputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (outputDataBuilder_ == null) { + outputData_ = builderForValue.build(); + onChanged(); + } else { + outputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (outputData_ != null) { + outputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); + } else { + outputData_ = value; + } + onChanged(); + } else { + outputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder clearOutputData() { + if (outputDataBuilder_ == null) { + outputData_ = null; + onChanged(); + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { + + onChanged(); + return getOutputDataFieldBuilder().getBuilder(); + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + if (outputDataBuilder_ != null) { + return outputDataBuilder_.getMessageOrBuilder(); + } else { + return outputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getOutputDataFieldBuilder() { + if (outputDataBuilder_ == null) { + outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getOutputData(), + getParentForChildren(), + isClean()); + outputData_ = null; + } + return outputDataBuilder_; + } + + private flyteidl.core.Interface.TypedInterface outputInterface_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> outputInterfaceBuilder_; + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public boolean hasOutputInterface() { + return outputInterfaceBuilder_ != null || outputInterface_ != null; + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface getOutputInterface() { + if (outputInterfaceBuilder_ == null) { + return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; + } else { + return outputInterfaceBuilder_.getMessage(); + } + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { + if (outputInterfaceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputInterface_ = value; + onChanged(); + } else { + outputInterfaceBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder setOutputInterface( + flyteidl.core.Interface.TypedInterface.Builder builderForValue) { + if (outputInterfaceBuilder_ == null) { + outputInterface_ = builderForValue.build(); + onChanged(); + } else { + outputInterfaceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { + if (outputInterfaceBuilder_ == null) { + if (outputInterface_ != null) { + outputInterface_ = + flyteidl.core.Interface.TypedInterface.newBuilder(outputInterface_).mergeFrom(value).buildPartial(); + } else { + outputInterface_ = value; + } + onChanged(); + } else { + outputInterfaceBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder clearOutputInterface() { + if (outputInterfaceBuilder_ == null) { + outputInterface_ = null; + onChanged(); + } else { + outputInterface_ = null; + outputInterfaceBuilder_ = null; + } + + return this; + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { + + onChanged(); + return getOutputInterfaceFieldBuilder().getBuilder(); + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { + if (outputInterfaceBuilder_ != null) { + return outputInterfaceBuilder_.getMessageOrBuilder(); + } else { + return outputInterface_ == null ? + flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; + } + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> + getOutputInterfaceFieldBuilder() { + if (outputInterfaceBuilder_ == null) { + outputInterfaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder>( + getOutputInterface(), + getParentForChildren(), + isClean()); + outputInterface_ = null; + } + return outputInterfaceBuilder_; + } + + private flyteidl.core.Literals.LiteralMap inputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public boolean hasInputData() { + return inputDataBuilder_ != null || inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + if (inputDataBuilder_ == null) { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } else { + return inputDataBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputData_ = value; + onChanged(); + } else { + inputDataBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder setInputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (inputDataBuilder_ == null) { + inputData_ = builderForValue.build(); + onChanged(); + } else { + inputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (inputData_ != null) { + inputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); + } else { + inputData_ = value; + } + onChanged(); + } else { + inputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder clearInputData() { + if (inputDataBuilder_ == null) { + inputData_ = null; + onChanged(); + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { + + onChanged(); + return getInputDataFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + if (inputDataBuilder_ != null) { + return inputDataBuilder_.getMessageOrBuilder(); + } else { + return inputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getInputDataFieldBuilder() { + if (inputDataBuilder_ == null) { + inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getInputData(), + getParentForChildren(), + isClean()); + inputData_ = null; + } + return inputDataBuilder_; + } + + private com.google.protobuf.Timestamp scheduledAt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledAtBuilder_; + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public boolean hasScheduledAt() { + return scheduledAtBuilder_ != null || scheduledAt_ != null; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.Timestamp getScheduledAt() { + if (scheduledAtBuilder_ == null) { + return scheduledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; + } else { + return scheduledAtBuilder_.getMessage(); + } + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder setScheduledAt(com.google.protobuf.Timestamp value) { + if (scheduledAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + scheduledAt_ = value; + onChanged(); + } else { + scheduledAtBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder setScheduledAt( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (scheduledAtBuilder_ == null) { + scheduledAt_ = builderForValue.build(); + onChanged(); + } else { + scheduledAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder mergeScheduledAt(com.google.protobuf.Timestamp value) { + if (scheduledAtBuilder_ == null) { + if (scheduledAt_ != null) { + scheduledAt_ = + com.google.protobuf.Timestamp.newBuilder(scheduledAt_).mergeFrom(value).buildPartial(); + } else { + scheduledAt_ = value; + } + onChanged(); + } else { + scheduledAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public Builder clearScheduledAt() { + if (scheduledAtBuilder_ == null) { + scheduledAt_ = null; + onChanged(); + } else { + scheduledAt_ = null; + scheduledAtBuilder_ = null; + } + + return this; + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.Timestamp.Builder getScheduledAtBuilder() { + + onChanged(); + return getScheduledAtFieldBuilder().getBuilder(); + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + public com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder() { + if (scheduledAtBuilder_ != null) { + return scheduledAtBuilder_.getMessageOrBuilder(); + } else { + return scheduledAt_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; + } + } + /** + *
+       * The following are ExecutionMetadata fields
+       * We can't have the ExecutionMetadata object directly because of import cycle
+       * 
+ * + * .google.protobuf.Timestamp scheduled_at = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getScheduledAtFieldBuilder() { + if (scheduledAtBuilder_ == null) { + scheduledAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduledAt(), + getParentForChildren(), + isClean()); + scheduledAt_ = null; + } + return scheduledAtBuilder_; + } + + private java.util.List artifactIds_ = + java.util.Collections.emptyList(); + private void ensureArtifactIdsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + artifactIds_ = new java.util.ArrayList(artifactIds_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; + + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List getArtifactIdsList() { + if (artifactIdsBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifactIds_); + } else { + return artifactIdsBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public int getArtifactIdsCount() { + if (artifactIdsBuilder_ == null) { + return artifactIds_.size(); + } else { + return artifactIdsBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); + } else { + return artifactIdsBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, value); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder addAllArtifactIds( + java.lang.Iterable values) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifactIds_); + onChanged(); + } else { + artifactIdsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder clearArtifactIds() { + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + artifactIdsBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public Builder removeArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.remove(index); + onChanged(); + } else { + artifactIdsBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); } else { + return artifactIdsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + if (artifactIdsBuilder_ != null) { + return artifactIdsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifactIds_); + } + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { + return getArtifactIdsFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + public java.util.List + getArtifactIdsBuilderList() { + return getArtifactIdsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdsFieldBuilder() { + if (artifactIdsBuilder_ == null) { + artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + artifactIds_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + artifactIds_ = null; + } + return artifactIdsBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecution_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> parentNodeExecutionBuilder_; + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public boolean hasParentNodeExecution() { + return parentNodeExecutionBuilder_ != null || parentNodeExecution_ != null; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution() { + if (parentNodeExecutionBuilder_ == null) { + return parentNodeExecution_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; + } else { + return parentNodeExecutionBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder setParentNodeExecution(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (parentNodeExecutionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parentNodeExecution_ = value; + onChanged(); + } else { + parentNodeExecutionBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder setParentNodeExecution( + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecution_ = builderForValue.build(); + onChanged(); + } else { + parentNodeExecutionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder mergeParentNodeExecution(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (parentNodeExecutionBuilder_ == null) { + if (parentNodeExecution_ != null) { + parentNodeExecution_ = + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(parentNodeExecution_).mergeFrom(value).buildPartial(); + } else { + parentNodeExecution_ = value; + } + onChanged(); + } else { + parentNodeExecutionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public Builder clearParentNodeExecution() { + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecution_ = null; + onChanged(); + } else { + parentNodeExecution_ = null; + parentNodeExecutionBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getParentNodeExecutionBuilder() { + + onChanged(); + return getParentNodeExecutionFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder() { + if (parentNodeExecutionBuilder_ != null) { + return parentNodeExecutionBuilder_.getMessageOrBuilder(); + } else { + return parentNodeExecution_ == null ? + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; + } + } + /** + * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> + getParentNodeExecutionFieldBuilder() { + if (parentNodeExecutionBuilder_ == null) { + parentNodeExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( + getParentNodeExecution(), + getParentForChildren(), + isClean()); + parentNodeExecution_ = null; + } + return parentNodeExecutionBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> referenceExecutionBuilder_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public boolean hasReferenceExecution() { + return referenceExecutionBuilder_ != null || referenceExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { + if (referenceExecutionBuilder_ == null) { + return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; + } else { + return referenceExecutionBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (referenceExecutionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + referenceExecution_ = value; + onChanged(); + } else { + referenceExecutionBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder setReferenceExecution( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (referenceExecutionBuilder_ == null) { + referenceExecution_ = builderForValue.build(); + onChanged(); + } else { + referenceExecutionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (referenceExecutionBuilder_ == null) { + if (referenceExecution_ != null) { + referenceExecution_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(referenceExecution_).mergeFrom(value).buildPartial(); + } else { + referenceExecution_ = value; + } + onChanged(); + } else { + referenceExecutionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public Builder clearReferenceExecution() { + if (referenceExecutionBuilder_ == null) { + referenceExecution_ = null; + onChanged(); + } else { + referenceExecution_ = null; + referenceExecutionBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getReferenceExecutionBuilder() { + + onChanged(); + return getReferenceExecutionFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { + if (referenceExecutionBuilder_ != null) { + return referenceExecutionBuilder_.getMessageOrBuilder(); + } else { + return referenceExecution_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getReferenceExecutionFieldBuilder() { + if (referenceExecutionBuilder_ == null) { + referenceExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getReferenceExecution(), + getParentForChildren(), + isClean()); + referenceExecution_ = null; + } + return referenceExecutionBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.event.CloudEventTaskExecution) + } + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventTaskExecution) + private static final flyteidl.event.Cloudevents.CloudEventTaskExecution DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventTaskExecution(); + } + + public static flyteidl.event.Cloudevents.CloudEventTaskExecution getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudEventTaskExecution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudEventTaskExecution(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventTaskExecution getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CloudEventExecutionStartOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.event.CloudEventExecutionStart) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The execution created.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + boolean hasExecutionId(); + /** + *
+     * The execution created.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId(); + /** + *
+     * The execution created.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder(); + + /** + *
+     * The launch plan used.
+     * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + boolean hasLaunchPlanId(); + /** + *
+     * The launch plan used.
+     * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); + /** + *
+     * The launch plan used.
+     * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); + + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + boolean hasWorkflowId(); + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId(); + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder(); + + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + java.util.List + getArtifactIdsList(); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + int getArtifactIdsCount(); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + java.util.List + getArtifactIdsOrBuilderList(); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index); + + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + java.util.List + getArtifactKeysList(); + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + int getArtifactKeysCount(); + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + java.lang.String getArtifactKeys(int index); + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + com.google.protobuf.ByteString + getArtifactKeysBytes(int index); + } + /** + *
+   * This event is to be sent by Admin after it creates an execution.
+   * 
+ * + * Protobuf type {@code flyteidl.event.CloudEventExecutionStart} + */ + public static final class CloudEventExecutionStart extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventExecutionStart) + CloudEventExecutionStartOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudEventExecutionStart.newBuilder() to construct. + private CloudEventExecutionStart(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CloudEventExecutionStart() { + artifactIds_ = java.util.Collections.emptyList(); + artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CloudEventExecutionStart( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (executionId_ != null) { + subBuilder = executionId_.toBuilder(); + } + executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(executionId_); + executionId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; + if (launchPlanId_ != null) { + subBuilder = launchPlanId_.toBuilder(); + } + launchPlanId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(launchPlanId_); + launchPlanId_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; + if (workflowId_ != null) { + subBuilder = workflowId_.toBuilder(); + } + workflowId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowId_); + workflowId_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + artifactIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + artifactIds_.add( + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + artifactKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + artifactKeys_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + } + if (((mutable_bitField0_ & 0x00000010) != 0)) { + artifactKeys_ = artifactKeys_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventExecutionStart.class, flyteidl.event.Cloudevents.CloudEventExecutionStart.Builder.class); + } + + private int bitField0_; + public static final int EXECUTION_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; + /** + *
+     * The execution created.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public boolean hasExecutionId() { + return executionId_ != null; + } + /** + *
+     * The execution created.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { + return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; + } + /** + *
+     * The execution created.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { + return getExecutionId(); + } + + public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 2; + private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; + /** + *
+     * The launch plan used.
+     * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public boolean hasLaunchPlanId() { + return launchPlanId_ != null; + } + /** + *
+     * The launch plan used.
+     * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { + return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; + } + /** + *
+     * The launch plan used.
+     * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { + return getLaunchPlanId(); + } + + public static final int WORKFLOW_ID_FIELD_NUMBER = 3; + private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public boolean hasWorkflowId() { + return workflowId_ != null; + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { + return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { + return getWorkflowId(); + } + + public static final int ARTIFACT_IDS_FIELD_NUMBER = 4; + private java.util.List artifactIds_; + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public java.util.List getArtifactIdsList() { + return artifactIds_; + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + return artifactIds_; + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public int getArtifactIdsCount() { + return artifactIds_.size(); + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + return artifactIds_.get(index); + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + return artifactIds_.get(index); + } + + public static final int ARTIFACT_KEYS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList artifactKeys_; + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ProtocolStringList + getArtifactKeysList() { + return artifactKeys_; + } + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public int getArtifactKeysCount() { + return artifactKeys_.size(); + } + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public java.lang.String getArtifactKeys(int index) { + return artifactKeys_.get(index); + } + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ByteString + getArtifactKeysBytes(int index) { + return artifactKeys_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (executionId_ != null) { + output.writeMessage(1, getExecutionId()); + } + if (launchPlanId_ != null) { + output.writeMessage(2, getLaunchPlanId()); + } + if (workflowId_ != null) { + output.writeMessage(3, getWorkflowId()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + output.writeMessage(4, artifactIds_.get(i)); + } + for (int i = 0; i < artifactKeys_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, artifactKeys_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (executionId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecutionId()); + } + if (launchPlanId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLaunchPlanId()); + } + if (workflowId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getWorkflowId()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, artifactIds_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < artifactKeys_.size(); i++) { + dataSize += computeStringSizeNoTag(artifactKeys_.getRaw(i)); + } + size += dataSize; + size += 1 * getArtifactKeysList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.event.Cloudevents.CloudEventExecutionStart)) { + return super.equals(obj); + } + flyteidl.event.Cloudevents.CloudEventExecutionStart other = (flyteidl.event.Cloudevents.CloudEventExecutionStart) obj; + + if (hasExecutionId() != other.hasExecutionId()) return false; + if (hasExecutionId()) { + if (!getExecutionId() + .equals(other.getExecutionId())) return false; + } + if (hasLaunchPlanId() != other.hasLaunchPlanId()) return false; + if (hasLaunchPlanId()) { + if (!getLaunchPlanId() + .equals(other.getLaunchPlanId())) return false; + } + if (hasWorkflowId() != other.hasWorkflowId()) return false; + if (hasWorkflowId()) { + if (!getWorkflowId() + .equals(other.getWorkflowId())) return false; + } + if (!getArtifactIdsList() + .equals(other.getArtifactIdsList())) return false; + if (!getArtifactKeysList() + .equals(other.getArtifactKeysList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExecutionId()) { + hash = (37 * hash) + EXECUTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getExecutionId().hashCode(); + } + if (hasLaunchPlanId()) { + hash = (37 * hash) + LAUNCH_PLAN_ID_FIELD_NUMBER; + hash = (53 * hash) + getLaunchPlanId().hashCode(); + } + if (hasWorkflowId()) { + hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowId().hashCode(); + } + if (getArtifactIdsCount() > 0) { + hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactIdsList().hashCode(); + } + if (getArtifactKeysCount() > 0) { + hash = (37 * hash) + ARTIFACT_KEYS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKeysList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.event.Cloudevents.CloudEventExecutionStart prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * This event is to be sent by Admin after it creates an execution.
+     * 
+ * + * Protobuf type {@code flyteidl.event.CloudEventExecutionStart} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventExecutionStart) + flyteidl.event.Cloudevents.CloudEventExecutionStartOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.event.Cloudevents.CloudEventExecutionStart.class, flyteidl.event.Cloudevents.CloudEventExecutionStart.Builder.class); + } + + // Construct using flyteidl.event.Cloudevents.CloudEventExecutionStart.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getArtifactIdsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (executionIdBuilder_ == null) { + executionId_ = null; + } else { + executionId_ = null; + executionIdBuilder_ = null; + } + if (launchPlanIdBuilder_ == null) { + launchPlanId_ = null; + } else { + launchPlanId_ = null; + launchPlanIdBuilder_ = null; + } + if (workflowIdBuilder_ == null) { + workflowId_ = null; + } else { + workflowId_ = null; + workflowIdBuilder_ = null; + } + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + artifactIdsBuilder_.clear(); + } + artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventExecutionStart getDefaultInstanceForType() { + return flyteidl.event.Cloudevents.CloudEventExecutionStart.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventExecutionStart build() { + flyteidl.event.Cloudevents.CloudEventExecutionStart result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventExecutionStart buildPartial() { + flyteidl.event.Cloudevents.CloudEventExecutionStart result = new flyteidl.event.Cloudevents.CloudEventExecutionStart(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (executionIdBuilder_ == null) { + result.executionId_ = executionId_; + } else { + result.executionId_ = executionIdBuilder_.build(); + } + if (launchPlanIdBuilder_ == null) { + result.launchPlanId_ = launchPlanId_; + } else { + result.launchPlanId_ = launchPlanIdBuilder_.build(); + } + if (workflowIdBuilder_ == null) { + result.workflowId_ = workflowId_; + } else { + result.workflowId_ = workflowIdBuilder_.build(); + } + if (artifactIdsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.artifactIds_ = artifactIds_; + } else { + result.artifactIds_ = artifactIdsBuilder_.build(); + } + if (((bitField0_ & 0x00000010) != 0)) { + artifactKeys_ = artifactKeys_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.artifactKeys_ = artifactKeys_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.event.Cloudevents.CloudEventExecutionStart) { + return mergeFrom((flyteidl.event.Cloudevents.CloudEventExecutionStart)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventExecutionStart other) { + if (other == flyteidl.event.Cloudevents.CloudEventExecutionStart.getDefaultInstance()) return this; + if (other.hasExecutionId()) { + mergeExecutionId(other.getExecutionId()); + } + if (other.hasLaunchPlanId()) { + mergeLaunchPlanId(other.getLaunchPlanId()); + } + if (other.hasWorkflowId()) { + mergeWorkflowId(other.getWorkflowId()); + } + if (artifactIdsBuilder_ == null) { + if (!other.artifactIds_.isEmpty()) { + if (artifactIds_.isEmpty()) { + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureArtifactIdsIsMutable(); + artifactIds_.addAll(other.artifactIds_); + } + onChanged(); + } + } else { + if (!other.artifactIds_.isEmpty()) { + if (artifactIdsBuilder_.isEmpty()) { + artifactIdsBuilder_.dispose(); + artifactIdsBuilder_ = null; + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000008); + artifactIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactIdsFieldBuilder() : null; + } else { + artifactIdsBuilder_.addAllMessages(other.artifactIds_); + } + } + } + if (!other.artifactKeys_.isEmpty()) { + if (artifactKeys_.isEmpty()) { + artifactKeys_ = other.artifactKeys_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureArtifactKeysIsMutable(); + artifactKeys_.addAll(other.artifactKeys_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.event.Cloudevents.CloudEventExecutionStart parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.event.Cloudevents.CloudEventExecutionStart) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_; + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public boolean hasExecutionId() { + return executionIdBuilder_ != null || executionId_ != null; + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { + if (executionIdBuilder_ == null) { + return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; + } else { + return executionIdBuilder_.getMessage(); + } + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (executionIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + executionId_ = value; + onChanged(); + } else { + executionIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public Builder setExecutionId( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (executionIdBuilder_ == null) { + executionId_ = builderForValue.build(); + onChanged(); + } else { + executionIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (executionIdBuilder_ == null) { + if (executionId_ != null) { + executionId_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial(); + } else { + executionId_ = value; + } + onChanged(); + } else { + executionIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public Builder clearExecutionId() { + if (executionIdBuilder_ == null) { + executionId_ = null; + onChanged(); + } else { + executionId_ = null; + executionIdBuilder_ = null; + } + + return this; + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() { + + onChanged(); + return getExecutionIdFieldBuilder().getBuilder(); + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { + if (executionIdBuilder_ != null) { + return executionIdBuilder_.getMessageOrBuilder(); + } else { + return executionId_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; + } + } + /** + *
+       * The execution created.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getExecutionIdFieldBuilder() { + if (executionIdBuilder_ == null) { + executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getExecutionId(), + getParentForChildren(), + isClean()); + executionId_ = null; + } + return executionIdBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> launchPlanIdBuilder_; + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public boolean hasLaunchPlanId() { + return launchPlanIdBuilder_ != null || launchPlanId_ != null; + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { + if (launchPlanIdBuilder_ == null) { + return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; + } else { + return launchPlanIdBuilder_.getMessage(); + } + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (launchPlanIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + launchPlanId_ = value; + onChanged(); + } else { + launchPlanIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public Builder setLaunchPlanId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (launchPlanIdBuilder_ == null) { + launchPlanId_ = builderForValue.build(); + onChanged(); + } else { + launchPlanIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (launchPlanIdBuilder_ == null) { + if (launchPlanId_ != null) { + launchPlanId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(launchPlanId_).mergeFrom(value).buildPartial(); + } else { + launchPlanId_ = value; + } + onChanged(); + } else { + launchPlanIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public Builder clearLaunchPlanId() { + if (launchPlanIdBuilder_ == null) { + launchPlanId_ = null; + onChanged(); + } else { + launchPlanId_ = null; + launchPlanIdBuilder_ = null; + } + + return this; + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { + + onChanged(); + return getLaunchPlanIdFieldBuilder().getBuilder(); + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { + if (launchPlanIdBuilder_ != null) { + return launchPlanIdBuilder_.getMessageOrBuilder(); + } else { + return launchPlanId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; + } + } + /** + *
+       * The launch plan used.
+       * 
+ * + * .flyteidl.core.Identifier launch_plan_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getLaunchPlanIdFieldBuilder() { + if (launchPlanIdBuilder_ == null) { + launchPlanIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getLaunchPlanId(), + getParentForChildren(), + isClean()); + launchPlanId_ = null; + } + return launchPlanIdBuilder_; + } + + private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> workflowIdBuilder_; + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public boolean hasWorkflowId() { + return workflowIdBuilder_ != null || workflowId_ != null; + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { + if (workflowIdBuilder_ == null) { + return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; + } else { + return workflowIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public Builder setWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (workflowIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workflowId_ = value; + onChanged(); + } else { + workflowIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public Builder setWorkflowId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (workflowIdBuilder_ == null) { + workflowId_ = builderForValue.build(); + onChanged(); + } else { + workflowIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public Builder mergeWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (workflowIdBuilder_ == null) { + if (workflowId_ != null) { + workflowId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(workflowId_).mergeFrom(value).buildPartial(); + } else { + workflowId_ = value; + } + onChanged(); + } else { + workflowIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public Builder clearWorkflowId() { + if (workflowIdBuilder_ == null) { + workflowId_ = null; + onChanged(); + } else { + workflowId_ = null; + workflowIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getWorkflowIdBuilder() { + + onChanged(); + return getWorkflowIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { + if (workflowIdBuilder_ != null) { + return workflowIdBuilder_.getMessageOrBuilder(); + } else { + return workflowId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; + } + } + /** + * .flyteidl.core.Identifier workflow_id = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getWorkflowIdFieldBuilder() { + if (workflowIdBuilder_ == null) { + workflowIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getWorkflowId(), + getParentForChildren(), + isClean()); + workflowId_ = null; + } + return workflowIdBuilder_; + } + + private java.util.List artifactIds_ = + java.util.Collections.emptyList(); + private void ensureArtifactIdsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + artifactIds_ = new java.util.ArrayList(artifactIds_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; + + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public java.util.List getArtifactIdsList() { + if (artifactIdsBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifactIds_); + } else { + return artifactIdsBuilder_.getMessageList(); + } + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public int getArtifactIdsCount() { + if (artifactIdsBuilder_ == null) { + return artifactIds_.size(); + } else { + return artifactIdsBuilder_.getCount(); + } + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); + } else { + return artifactIdsBuilder_.getMessage(index); + } + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, value); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder setArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.set(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, value); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder addArtifactIds( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder addArtifactIds( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.add(index, builderForValue.build()); + onChanged(); + } else { + artifactIdsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder addAllArtifactIds( + java.lang.Iterable values) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifactIds_); + onChanged(); + } else { + artifactIdsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder clearArtifactIds() { + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + artifactIdsBuilder_.clear(); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public Builder removeArtifactIds(int index) { + if (artifactIdsBuilder_ == null) { + ensureArtifactIdsIsMutable(); + artifactIds_.remove(index); + onChanged(); + } else { + artifactIdsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().getBuilder(index); + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + if (artifactIdsBuilder_ == null) { + return artifactIds_.get(index); } else { + return artifactIdsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + if (artifactIdsBuilder_ != null) { + return artifactIdsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifactIds_); + } + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { + return getArtifactIdsFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public java.util.List + getArtifactIdsBuilderList() { + return getArtifactIdsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdsFieldBuilder() { + if (artifactIdsBuilder_ == null) { + artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + artifactIds_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + artifactIds_ = null; + } + return artifactIdsBuilder_; + } + + private com.google.protobuf.LazyStringList artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArtifactKeysIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + artifactKeys_ = new com.google.protobuf.LazyStringArrayList(artifactKeys_); + bitField0_ |= 0x00000010; + } + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ProtocolStringList + getArtifactKeysList() { + return artifactKeys_.getUnmodifiableView(); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public int getArtifactKeysCount() { + return artifactKeys_.size(); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public java.lang.String getArtifactKeys(int index) { + return artifactKeys_.get(index); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ByteString + getArtifactKeysBytes(int index) { + return artifactKeys_.getByteString(index); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder setArtifactKeys( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactKeysIsMutable(); + artifactKeys_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder addArtifactKeys( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactKeysIsMutable(); + artifactKeys_.add(value); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder addAllArtifactKeys( + java.lang.Iterable values) { + ensureArtifactKeysIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifactKeys_); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder clearArtifactKeys() { + artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder addArtifactKeysBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureArtifactKeysIsMutable(); + artifactKeys_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.event.CloudEventExecutionStart) + } + + // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventExecutionStart) + private static final flyteidl.event.Cloudevents.CloudEventExecutionStart DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventExecutionStart(); + } + + public static flyteidl.event.Cloudevents.CloudEventExecutionStart getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudEventExecutionStart parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudEventExecutionStart(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.event.Cloudevents.CloudEventExecutionStart getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n flyteidl/event/cloudevents.proto\022\016flyt" + + "eidl.event\032\032flyteidl/event/event.proto\032\034" + + "flyteidl/core/literals.proto\032\035flyteidl/c" + + "ore/interface.proto\032\037flyteidl/core/artif" + + "act_id.proto\032\036flyteidl/core/identifier.p" + + "roto\032\037google/protobuf/timestamp.proto\"\343\003" + + "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" + + "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" + + "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + + ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + + "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + + "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + + "\0220\n\014scheduled_at\030\005 \001(\0132\032.google.protobuf" + + ".Timestamp\022/\n\014artifact_ids\030\006 \003(\0132\031.flyte" + + "idl.core.ArtifactID\022E\n\025parent_node_execu" + + "tion\030\007 \001(\0132&.flyteidl.core.NodeExecution" + + "Identifier\022G\n\023reference_execution\030\010 \001(\0132" + + "*.flyteidl.core.WorkflowExecutionIdentif" + + "ier\"P\n\027CloudEventNodeExecution\0225\n\traw_ev" + + "ent\030\001 \001(\0132\".flyteidl.event.NodeExecution" + + "Event\"\333\003\n\027CloudEventTaskExecution\0225\n\traw" + + "_event\030\001 \001(\0132\".flyteidl.event.TaskExecut" + + "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + + ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + + "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + + "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + + "\0220\n\014scheduled_at\030\005 \001(\0132\032.google.protobuf" + + ".Timestamp\022/\n\014artifact_ids\030\006 \003(\0132\031.flyte" + + "idl.core.ArtifactID\022E\n\025parent_node_execu" + + "tion\030\007 \001(\0132&.flyteidl.core.NodeExecution" + + "Identifier\022G\n\023reference_execution\030\010 \001(\0132" + + "*.flyteidl.core.WorkflowExecutionIdentif" + + "ier\"\207\002\n\030CloudEventExecutionStart\022@\n\014exec" + + "ution_id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + + "xecutionIdentifier\0221\n\016launch_plan_id\030\002 \001" + + "(\0132\031.flyteidl.core.Identifier\022.\n\013workflo" + + "w_id\030\003 \001(\0132\031.flyteidl.core.Identifier\022/\n" + + "\014artifact_ids\030\004 \003(\0132\031.flyteidl.core.Arti" + + "factID\022\025\n\rartifact_keys\030\005 \003(\tB=Z;github." + + "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + + "yteidl/eventb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.event.Event.getDescriptor(), + flyteidl.core.Literals.getDescriptor(), + flyteidl.core.Interface.getDescriptor(), + flyteidl.core.ArtifactId.getDescriptor(), + flyteidl.core.IdentifierOuterClass.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }, assigner); + internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor, + new java.lang.String[] { "RawEvent", "OutputData", "OutputInterface", "InputData", "ScheduledAt", "ArtifactIds", "ParentNodeExecution", "ReferenceExecution", }); + internal_static_flyteidl_event_CloudEventNodeExecution_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_event_CloudEventNodeExecution_descriptor, + new java.lang.String[] { "RawEvent", }); + internal_static_flyteidl_event_CloudEventTaskExecution_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_event_CloudEventTaskExecution_descriptor, + new java.lang.String[] { "RawEvent", "OutputData", "OutputInterface", "InputData", "ScheduledAt", "ArtifactIds", "ParentNodeExecution", "ReferenceExecution", }); + internal_static_flyteidl_event_CloudEventExecutionStart_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_event_CloudEventExecutionStart_descriptor, + new java.lang.String[] { "ExecutionId", "LaunchPlanId", "WorkflowId", "ArtifactIds", "ArtifactKeys", }); + flyteidl.event.Event.getDescriptor(); + flyteidl.core.Literals.getDescriptor(); + flyteidl.core.Interface.getDescriptor(); + flyteidl.core.ArtifactId.getDescriptor(); + flyteidl.core.IdentifierOuterClass.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Dataproxy.java b/flyteidl/gen/pb-java/flyteidl/service/Dataproxy.java index df75c41816..c8971ac2b4 100644 --- a/flyteidl/gen/pb-java/flyteidl/service/Dataproxy.java +++ b/flyteidl/gen/pb-java/flyteidl/service/Dataproxy.java @@ -198,6 +198,19 @@ public interface CreateUploadLocationResponseOrBuilder extends * .google.protobuf.Timestamp expires_at = 3; */ com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); + + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + boolean hasArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + flyteidl.artifact.Artifacts.Artifact getArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder(); } /** * Protobuf type {@code flyteidl.service.CreateUploadLocationResponse} @@ -265,6 +278,19 @@ private CreateUploadLocationResponse( break; } + case 34: { + flyteidl.artifact.Artifacts.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); + } + artifact_ = input.readMessage(flyteidl.artifact.Artifacts.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifact_); + artifact_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -414,6 +440,27 @@ public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { return getExpiresAt(); } + public static final int ARTIFACT_FIELD_NUMBER = 4; + private flyteidl.artifact.Artifacts.Artifact artifact_; + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public boolean hasArtifact() { + return artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + return getArtifact(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -437,6 +484,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (expiresAt_ != null) { output.writeMessage(3, getExpiresAt()); } + if (artifact_ != null) { + output.writeMessage(4, getArtifact()); + } unknownFields.writeTo(output); } @@ -456,6 +506,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getExpiresAt()); } + if (artifact_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getArtifact()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -480,6 +534,11 @@ public boolean equals(final java.lang.Object obj) { if (!getExpiresAt() .equals(other.getExpiresAt())) return false; } + if (hasArtifact() != other.hasArtifact()) return false; + if (hasArtifact()) { + if (!getArtifact() + .equals(other.getArtifact())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -499,6 +558,10 @@ public int hashCode() { hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; hash = (53 * hash) + getExpiresAt().hashCode(); } + if (hasArtifact()) { + hash = (37 * hash) + ARTIFACT_FIELD_NUMBER; + hash = (53 * hash) + getArtifact().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -642,6 +705,12 @@ public Builder clear() { expiresAt_ = null; expiresAtBuilder_ = null; } + if (artifactBuilder_ == null) { + artifact_ = null; + } else { + artifact_ = null; + artifactBuilder_ = null; + } return this; } @@ -675,6 +744,11 @@ public flyteidl.service.Dataproxy.CreateUploadLocationResponse buildPartial() { } else { result.expiresAt_ = expiresAtBuilder_.build(); } + if (artifactBuilder_ == null) { + result.artifact_ = artifact_; + } else { + result.artifact_ = artifactBuilder_.build(); + } onBuilt(); return result; } @@ -734,6 +808,9 @@ public Builder mergeFrom(flyteidl.service.Dataproxy.CreateUploadLocationResponse if (other.hasExpiresAt()) { mergeExpiresAt(other.getExpiresAt()); } + if (other.hasArtifact()) { + mergeArtifact(other.getArtifact()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1093,6 +1170,123 @@ public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { } return expiresAtBuilder_; } + + private flyteidl.artifact.Artifacts.Artifact artifact_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactBuilder_; + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public boolean hasArtifact() { + return artifactBuilder_ != null || artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + if (artifactBuilder_ == null) { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } else { + return artifactBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder setArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifact_ = value; + onChanged(); + } else { + artifactBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder setArtifact( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactBuilder_ == null) { + artifact_ = builderForValue.build(); + onChanged(); + } else { + artifactBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder mergeArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (artifact_ != null) { + artifact_ = + flyteidl.artifact.Artifacts.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); + } else { + artifact_ = value; + } + onChanged(); + } else { + artifactBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder clearArtifact() { + if (artifactBuilder_ == null) { + artifact_ = null; + onChanged(); + } else { + artifact_ = null; + artifactBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactBuilder() { + + onChanged(); + return getArtifactFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + if (artifactBuilder_ != null) { + return artifactBuilder_.getMessageOrBuilder(); + } else { + return artifact_ == null ? + flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactFieldBuilder() { + if (artifactBuilder_ == null) { + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder>( + getArtifact(), + getParentForChildren(), + isClean()); + artifact_ = null; + } + return artifactBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1275,6 +1469,31 @@ public interface CreateUploadLocationRequestOrBuilder extends */ com.google.protobuf.ByteString getFilenameRootBytes(); + + /** + *
+     * If provided, the Artifact that the upload creates will contain the information specified here.
+     * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + boolean hasArtifactSpec(); + /** + *
+     * If provided, the Artifact that the upload creates will contain the information specified here.
+     * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + flyteidl.artifact.Artifacts.ArtifactSpec getArtifactSpec(); + /** + *
+     * If provided, the Artifact that the upload creates will contain the information specified here.
+     * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getArtifactSpecOrBuilder(); } /** *
@@ -1370,6 +1589,19 @@ private CreateUploadLocationRequest(
               filenameRoot_ = s;
               break;
             }
+            case 58: {
+              flyteidl.artifact.Artifacts.ArtifactSpec.Builder subBuilder = null;
+              if (artifactSpec_ != null) {
+                subBuilder = artifactSpec_.toBuilder();
+              }
+              artifactSpec_ = input.readMessage(flyteidl.artifact.Artifacts.ArtifactSpec.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(artifactSpec_);
+                artifactSpec_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -1636,6 +1868,39 @@ public java.lang.String getFilenameRoot() {
       }
     }
 
+    public static final int ARTIFACT_SPEC_FIELD_NUMBER = 7;
+    private flyteidl.artifact.Artifacts.ArtifactSpec artifactSpec_;
+    /**
+     * 
+     * If provided, the Artifact that the upload creates will contain the information specified here.
+     * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public boolean hasArtifactSpec() { + return artifactSpec_ != null; + } + /** + *
+     * If provided, the Artifact that the upload creates will contain the information specified here.
+     * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getArtifactSpec() { + return artifactSpec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : artifactSpec_; + } + /** + *
+     * If provided, the Artifact that the upload creates will contain the information specified here.
+     * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getArtifactSpecOrBuilder() { + return getArtifactSpec(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -1668,6 +1933,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getFilenameRootBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, filenameRoot_); } + if (artifactSpec_ != null) { + output.writeMessage(7, getArtifactSpec()); + } unknownFields.writeTo(output); } @@ -1697,6 +1965,10 @@ public int getSerializedSize() { if (!getFilenameRootBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, filenameRoot_); } + if (artifactSpec_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getArtifactSpec()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1727,6 +1999,11 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getContentMd5())) return false; if (!getFilenameRoot() .equals(other.getFilenameRoot())) return false; + if (hasArtifactSpec() != other.hasArtifactSpec()) return false; + if (hasArtifactSpec()) { + if (!getArtifactSpec() + .equals(other.getArtifactSpec())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1752,6 +2029,10 @@ public int hashCode() { hash = (53 * hash) + getContentMd5().hashCode(); hash = (37 * hash) + FILENAME_ROOT_FIELD_NUMBER; hash = (53 * hash) + getFilenameRoot().hashCode(); + if (hasArtifactSpec()) { + hash = (37 * hash) + ARTIFACT_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getArtifactSpec().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1909,6 +2190,12 @@ public Builder clear() { filenameRoot_ = ""; + if (artifactSpecBuilder_ == null) { + artifactSpec_ = null; + } else { + artifactSpec_ = null; + artifactSpecBuilder_ = null; + } return this; } @@ -1945,6 +2232,11 @@ public flyteidl.service.Dataproxy.CreateUploadLocationRequest buildPartial() { } result.contentMd5_ = contentMd5_; result.filenameRoot_ = filenameRoot_; + if (artifactSpecBuilder_ == null) { + result.artifactSpec_ = artifactSpec_; + } else { + result.artifactSpec_ = artifactSpecBuilder_.build(); + } onBuilt(); return result; } @@ -2015,6 +2307,9 @@ public Builder mergeFrom(flyteidl.service.Dataproxy.CreateUploadLocationRequest filenameRoot_ = other.filenameRoot_; onChanged(); } + if (other.hasArtifactSpec()) { + mergeArtifactSpec(other.getArtifactSpec()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2647,6 +2942,159 @@ public Builder setFilenameRootBytes( onChanged(); return this; } + + private flyteidl.artifact.Artifacts.ArtifactSpec artifactSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> artifactSpecBuilder_; + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public boolean hasArtifactSpec() { + return artifactSpecBuilder_ != null || artifactSpec_ != null; + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getArtifactSpec() { + if (artifactSpecBuilder_ == null) { + return artifactSpec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : artifactSpec_; + } else { + return artifactSpecBuilder_.getMessage(); + } + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public Builder setArtifactSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (artifactSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactSpec_ = value; + onChanged(); + } else { + artifactSpecBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public Builder setArtifactSpec( + flyteidl.artifact.Artifacts.ArtifactSpec.Builder builderForValue) { + if (artifactSpecBuilder_ == null) { + artifactSpec_ = builderForValue.build(); + onChanged(); + } else { + artifactSpecBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public Builder mergeArtifactSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (artifactSpecBuilder_ == null) { + if (artifactSpec_ != null) { + artifactSpec_ = + flyteidl.artifact.Artifacts.ArtifactSpec.newBuilder(artifactSpec_).mergeFrom(value).buildPartial(); + } else { + artifactSpec_ = value; + } + onChanged(); + } else { + artifactSpecBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public Builder clearArtifactSpec() { + if (artifactSpecBuilder_ == null) { + artifactSpec_ = null; + onChanged(); + } else { + artifactSpec_ = null; + artifactSpecBuilder_ = null; + } + + return this; + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec.Builder getArtifactSpecBuilder() { + + onChanged(); + return getArtifactSpecFieldBuilder().getBuilder(); + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getArtifactSpecOrBuilder() { + if (artifactSpecBuilder_ != null) { + return artifactSpecBuilder_.getMessageOrBuilder(); + } else { + return artifactSpec_ == null ? + flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : artifactSpec_; + } + } + /** + *
+       * If provided, the Artifact that the upload creates will contain the information specified here.
+       * 
+ * + * .flyteidl.artifact.ArtifactSpec artifact_spec = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> + getArtifactSpecFieldBuilder() { + if (artifactSpecBuilder_ == null) { + artifactSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder>( + getArtifactSpec(), + getParentForChildren(), + isClean()); + artifactSpec_ = null; + } + return artifactSpecBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7741,30 +8189,29 @@ public interface GetDataRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - *
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * * string flyte_url = 1; */ java.lang.String getFlyteUrl(); /** - *
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * * string flyte_url = 1; */ com.google.protobuf.ByteString getFlyteUrlBytes(); + + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + boolean hasArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactId(); + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder(); + + public flyteidl.service.Dataproxy.GetDataRequest.QueryCase getQueryCase(); } /** *
@@ -7783,7 +8230,6 @@ private GetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder
       super(builder);
     }
     private GetDataRequest() {
-      flyteUrl_ = "";
     }
 
     @java.lang.Override
@@ -7812,11 +8258,25 @@ private GetDataRequest(
               break;
             case 10: {
               java.lang.String s = input.readStringRequireUtf8();
-
-              flyteUrl_ = s;
+              queryCase_ = 1;
+              query_ = s;
               break;
             }
-            default: {
+            case 18: {
+              flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null;
+              if (queryCase_ == 2) {
+                subBuilder = ((flyteidl.core.ArtifactId.ArtifactID) query_).toBuilder();
+              }
+              query_ =
+                  input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactID) query_);
+                query_ = subBuilder.buildPartial();
+              }
+              queryCase_ = 2;
+              break;
+            }
+            default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
                 done = true;
@@ -7848,56 +8308,113 @@ private GetDataRequest(
               flyteidl.service.Dataproxy.GetDataRequest.class, flyteidl.service.Dataproxy.GetDataRequest.Builder.class);
     }
 
+    private int queryCase_ = 0;
+    private java.lang.Object query_;
+    public enum QueryCase
+        implements com.google.protobuf.Internal.EnumLite {
+      FLYTE_URL(1),
+      ARTIFACT_ID(2),
+      QUERY_NOT_SET(0);
+      private final int value;
+      private QueryCase(int value) {
+        this.value = value;
+      }
+      /**
+       * @deprecated Use {@link #forNumber(int)} instead.
+       */
+      @java.lang.Deprecated
+      public static QueryCase valueOf(int value) {
+        return forNumber(value);
+      }
+
+      public static QueryCase forNumber(int value) {
+        switch (value) {
+          case 1: return FLYTE_URL;
+          case 2: return ARTIFACT_ID;
+          case 0: return QUERY_NOT_SET;
+          default: return null;
+        }
+      }
+      public int getNumber() {
+        return this.value;
+      }
+    };
+
+    public QueryCase
+    getQueryCase() {
+      return QueryCase.forNumber(
+          queryCase_);
+    }
+
     public static final int FLYTE_URL_FIELD_NUMBER = 1;
-    private volatile java.lang.Object flyteUrl_;
     /**
-     * 
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * * string flyte_url = 1; */ public java.lang.String getFlyteUrl() { - java.lang.Object ref = flyteUrl_; + java.lang.Object ref = ""; + if (queryCase_ == 1) { + ref = query_; + } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - flyteUrl_ = s; + if (queryCase_ == 1) { + query_ = s; + } return s; } } /** - *
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * * string flyte_url = 1; */ public com.google.protobuf.ByteString getFlyteUrlBytes() { - java.lang.Object ref = flyteUrl_; + java.lang.Object ref = ""; + if (queryCase_ == 1) { + ref = query_; + } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - flyteUrl_ = b; + if (queryCase_ == 1) { + query_ = b; + } return b; } else { return (com.google.protobuf.ByteString) ref; } } + public static final int ARTIFACT_ID_FIELD_NUMBER = 2; + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public boolean hasArtifactId() { + return queryCase_ == 2; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (queryCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactID) query_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if (queryCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactID) query_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -7912,8 +8429,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getFlyteUrlBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flyteUrl_); + if (queryCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); + } + if (queryCase_ == 2) { + output.writeMessage(2, (flyteidl.core.ArtifactId.ArtifactID) query_); } unknownFields.writeTo(output); } @@ -7924,8 +8444,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getFlyteUrlBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flyteUrl_); + if (queryCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_); + } + if (queryCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.core.ArtifactId.ArtifactID) query_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7942,8 +8466,19 @@ public boolean equals(final java.lang.Object obj) { } flyteidl.service.Dataproxy.GetDataRequest other = (flyteidl.service.Dataproxy.GetDataRequest) obj; - if (!getFlyteUrl() - .equals(other.getFlyteUrl())) return false; + if (!getQueryCase().equals(other.getQueryCase())) return false; + switch (queryCase_) { + case 1: + if (!getFlyteUrl() + .equals(other.getFlyteUrl())) return false; + break; + case 2: + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + break; + case 0: + default: + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7955,8 +8490,18 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FLYTE_URL_FIELD_NUMBER; - hash = (53 * hash) + getFlyteUrl().hashCode(); + switch (queryCase_) { + case 1: + hash = (37 * hash) + FLYTE_URL_FIELD_NUMBER; + hash = (53 * hash) + getFlyteUrl().hashCode(); + break; + case 2: + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + break; + case 0: + default: + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -8094,8 +8639,8 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - flyteUrl_ = ""; - + queryCase_ = 0; + query_ = null; return this; } @@ -8122,7 +8667,17 @@ public flyteidl.service.Dataproxy.GetDataRequest build() { @java.lang.Override public flyteidl.service.Dataproxy.GetDataRequest buildPartial() { flyteidl.service.Dataproxy.GetDataRequest result = new flyteidl.service.Dataproxy.GetDataRequest(this); - result.flyteUrl_ = flyteUrl_; + if (queryCase_ == 1) { + result.query_ = query_; + } + if (queryCase_ == 2) { + if (artifactIdBuilder_ == null) { + result.query_ = query_; + } else { + result.query_ = artifactIdBuilder_.build(); + } + } + result.queryCase_ = queryCase_; onBuilt(); return result; } @@ -8171,9 +8726,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(flyteidl.service.Dataproxy.GetDataRequest other) { if (other == flyteidl.service.Dataproxy.GetDataRequest.getDefaultInstance()) return this; - if (!other.getFlyteUrl().isEmpty()) { - flyteUrl_ = other.flyteUrl_; - onChanged(); + switch (other.getQueryCase()) { + case FLYTE_URL: { + queryCase_ = 1; + query_ = other.query_; + onChanged(); + break; + } + case ARTIFACT_ID: { + mergeArtifactId(other.getArtifactId()); + break; + } + case QUERY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -8203,64 +8769,64 @@ public Builder mergeFrom( } return this; } + private int queryCase_ = 0; + private java.lang.Object query_; + public QueryCase + getQueryCase() { + return QueryCase.forNumber( + queryCase_); + } + + public Builder clearQuery() { + queryCase_ = 0; + query_ = null; + onChanged(); + return this; + } + - private java.lang.Object flyteUrl_ = ""; /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * * string flyte_url = 1; */ public java.lang.String getFlyteUrl() { - java.lang.Object ref = flyteUrl_; + java.lang.Object ref = ""; + if (queryCase_ == 1) { + ref = query_; + } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - flyteUrl_ = s; + if (queryCase_ == 1) { + query_ = s; + } return s; } else { return (java.lang.String) ref; } } /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * * string flyte_url = 1; */ public com.google.protobuf.ByteString getFlyteUrlBytes() { - java.lang.Object ref = flyteUrl_; + java.lang.Object ref = ""; + if (queryCase_ == 1) { + ref = query_; + } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - flyteUrl_ = b; + if (queryCase_ == 1) { + query_ = b; + } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * * string flyte_url = 1; */ public Builder setFlyteUrl( @@ -8268,37 +8834,23 @@ public Builder setFlyteUrl( if (value == null) { throw new NullPointerException(); } - - flyteUrl_ = value; + queryCase_ = 1; + query_ = value; onChanged(); return this; } /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * * string flyte_url = 1; */ public Builder clearFlyteUrl() { - - flyteUrl_ = getDefaultInstance().getFlyteUrl(); - onChanged(); + if (queryCase_ == 1) { + queryCase_ = 0; + query_ = null; + onChanged(); + } return this; } /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * * string flyte_url = 1; */ public Builder setFlyteUrlBytes( @@ -8307,11 +8859,147 @@ public Builder setFlyteUrlBytes( throw new NullPointerException(); } checkByteStringIsUtf8(value); - - flyteUrl_ = value; + queryCase_ = 1; + query_ = value; onChanged(); return this; } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdBuilder_; + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public boolean hasArtifactId() { + return queryCase_ == 2; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (artifactIdBuilder_ == null) { + if (queryCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactID) query_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } else { + if (queryCase_ == 2) { + return artifactIdBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + query_ = value; + onChanged(); + } else { + artifactIdBuilder_.setMessage(value); + } + queryCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public Builder setArtifactId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdBuilder_ == null) { + query_ = builderForValue.build(); + onChanged(); + } else { + artifactIdBuilder_.setMessage(builderForValue.build()); + } + queryCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (queryCase_ == 2 && + query_ != flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()) { + query_ = flyteidl.core.ArtifactId.ArtifactID.newBuilder((flyteidl.core.ArtifactId.ArtifactID) query_) + .mergeFrom(value).buildPartial(); + } else { + query_ = value; + } + onChanged(); + } else { + if (queryCase_ == 2) { + artifactIdBuilder_.mergeFrom(value); + } + artifactIdBuilder_.setMessage(value); + } + queryCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public Builder clearArtifactId() { + if (artifactIdBuilder_ == null) { + if (queryCase_ == 2) { + queryCase_ = 0; + query_ = null; + onChanged(); + } + } else { + if (queryCase_ == 2) { + queryCase_ = 0; + query_ = null; + } + artifactIdBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { + return getArtifactIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if ((queryCase_ == 2) && (artifactIdBuilder_ != null)) { + return artifactIdBuilder_.getMessageOrBuilder(); + } else { + if (queryCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactID) query_; + } + return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getArtifactIdFieldBuilder() { + if (artifactIdBuilder_ == null) { + if (!(queryCase_ == 2)) { + query_ = flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); + } + artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + (flyteidl.core.ArtifactId.ArtifactID) query_, + getParentForChildren(), + isClean()); + query_ = null; + } + queryCase_ = 2; + onChanged();; + return artifactIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8447,6 +9135,19 @@ public interface GetDataResponseOrBuilder extends */ flyteidl.core.Literals.LiteralOrBuilder getLiteralOrBuilder(); + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + boolean hasArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + flyteidl.artifact.Artifacts.Artifact getArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder(); + public flyteidl.service.Dataproxy.GetDataResponse.DataCase getDataCase(); } /** @@ -8530,6 +9231,20 @@ private GetDataResponse( dataCase_ = 3; break; } + case 34: { + flyteidl.artifact.Artifacts.Artifact.Builder subBuilder = null; + if (dataCase_ == 4) { + subBuilder = ((flyteidl.artifact.Artifacts.Artifact) data_).toBuilder(); + } + data_ = + input.readMessage(flyteidl.artifact.Artifacts.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.artifact.Artifacts.Artifact) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 4; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -8569,6 +9284,7 @@ public enum DataCase LITERAL_MAP(1), PRE_SIGNED_URLS(2), LITERAL(3), + ARTIFACT(4), DATA_NOT_SET(0); private final int value; private DataCase(int value) { @@ -8587,6 +9303,7 @@ public static DataCase forNumber(int value) { case 1: return LITERAL_MAP; case 2: return PRE_SIGNED_URLS; case 3: return LITERAL; + case 4: return ARTIFACT; case 0: return DATA_NOT_SET; default: return null; } @@ -8719,6 +9436,32 @@ public flyteidl.core.Literals.LiteralOrBuilder getLiteralOrBuilder() { return flyteidl.core.Literals.Literal.getDefaultInstance(); } + public static final int ARTIFACT_FIELD_NUMBER = 4; + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public boolean hasArtifact() { + return dataCase_ == 4; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + if (dataCase_ == 4) { + return (flyteidl.artifact.Artifacts.Artifact) data_; + } + return flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + if (dataCase_ == 4) { + return (flyteidl.artifact.Artifacts.Artifact) data_; + } + return flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -8742,6 +9485,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (dataCase_ == 3) { output.writeMessage(3, (flyteidl.core.Literals.Literal) data_); } + if (dataCase_ == 4) { + output.writeMessage(4, (flyteidl.artifact.Artifacts.Artifact) data_); + } unknownFields.writeTo(output); } @@ -8763,6 +9509,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (flyteidl.core.Literals.Literal) data_); } + if (dataCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.artifact.Artifacts.Artifact) data_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -8792,6 +9542,10 @@ public boolean equals(final java.lang.Object obj) { if (!getLiteral() .equals(other.getLiteral())) return false; break; + case 4: + if (!getArtifact() + .equals(other.getArtifact())) return false; + break; case 0: default: } @@ -8819,6 +9573,10 @@ public int hashCode() { hash = (37 * hash) + LITERAL_FIELD_NUMBER; hash = (53 * hash) + getLiteral().hashCode(); break; + case 4: + hash = (37 * hash) + ARTIFACT_FIELD_NUMBER; + hash = (53 * hash) + getArtifact().hashCode(); + break; case 0: default: } @@ -9004,6 +9762,13 @@ public flyteidl.service.Dataproxy.GetDataResponse buildPartial() { result.data_ = literalBuilder_.build(); } } + if (dataCase_ == 4) { + if (artifactBuilder_ == null) { + result.data_ = data_; + } else { + result.data_ = artifactBuilder_.build(); + } + } result.dataCase_ = dataCase_; onBuilt(); return result; @@ -9066,6 +9831,10 @@ public Builder mergeFrom(flyteidl.service.Dataproxy.GetDataResponse other) { mergeLiteral(other.getLiteral()); break; } + case ARTIFACT: { + mergeArtifact(other.getArtifact()); + break; + } case DATA_NOT_SET: { break; } @@ -9638,6 +10407,142 @@ public flyteidl.core.Literals.LiteralOrBuilder getLiteralOrBuilder() { onChanged();; return literalBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactBuilder_; + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public boolean hasArtifact() { + return dataCase_ == 4; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + if (artifactBuilder_ == null) { + if (dataCase_ == 4) { + return (flyteidl.artifact.Artifacts.Artifact) data_; + } + return flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } else { + if (dataCase_ == 4) { + return artifactBuilder_.getMessage(); + } + return flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder setArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + data_ = value; + onChanged(); + } else { + artifactBuilder_.setMessage(value); + } + dataCase_ = 4; + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder setArtifact( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactBuilder_ == null) { + data_ = builderForValue.build(); + onChanged(); + } else { + artifactBuilder_.setMessage(builderForValue.build()); + } + dataCase_ = 4; + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder mergeArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (dataCase_ == 4 && + data_ != flyteidl.artifact.Artifacts.Artifact.getDefaultInstance()) { + data_ = flyteidl.artifact.Artifacts.Artifact.newBuilder((flyteidl.artifact.Artifacts.Artifact) data_) + .mergeFrom(value).buildPartial(); + } else { + data_ = value; + } + onChanged(); + } else { + if (dataCase_ == 4) { + artifactBuilder_.mergeFrom(value); + } + artifactBuilder_.setMessage(value); + } + dataCase_ = 4; + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public Builder clearArtifact() { + if (artifactBuilder_ == null) { + if (dataCase_ == 4) { + dataCase_ = 0; + data_ = null; + onChanged(); + } + } else { + if (dataCase_ == 4) { + dataCase_ = 0; + data_ = null; + } + artifactBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactBuilder() { + return getArtifactFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + if ((dataCase_ == 4) && (artifactBuilder_ != null)) { + return artifactBuilder_.getMessageOrBuilder(); + } else { + if (dataCase_ == 4) { + return (flyteidl.artifact.Artifacts.Artifact) data_; + } + return flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } + } + /** + * .flyteidl.artifact.Artifact artifact = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactFieldBuilder() { + if (artifactBuilder_ == null) { + if (!(dataCase_ == 4)) { + data_ = flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder>( + (flyteidl.artifact.Artifacts.Artifact) data_, + getParentForChildren(), + isClean()); + data_ = null; + } + dataCase_ = 4; + onChanged();; + return artifactBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9748,57 +10653,64 @@ public flyteidl.service.Dataproxy.GetDataResponse getDefaultInstanceForType() { "\n flyteidl/service/dataproxy.proto\022\020flyt" + "eidl.service\032\034google/api/annotations.pro" + "to\032\036google/protobuf/duration.proto\032\037goog" + - "le/protobuf/timestamp.proto\032\036flyteidl/co" + - "re/identifier.proto\032\034flyteidl/core/liter" + - "als.proto\"v\n\034CreateUploadLocationRespons" + - "e\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(" + - "\t\022.\n\nexpires_at\030\003 \001(\0132\032.google.protobuf." + - "Timestamp\"\253\001\n\033CreateUploadLocationReques" + - "t\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010fi" + - "lename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.googl" + - "e.protobuf.Duration\022\023\n\013content_md5\030\005 \001(\014" + - "\022\025\n\rfilename_root\030\006 \001(\t\"f\n\035CreateDownloa" + - "dLocationRequest\022\022\n\nnative_url\030\001 \001(\t\022-\n\n" + - "expires_in\030\002 \001(\0132\031.google.protobuf.Durat" + - "ion:\002\030\001\"h\n\036CreateDownloadLocationRespons" + - "e\022\022\n\nsigned_url\030\001 \001(\t\022.\n\nexpires_at\030\002 \001(" + - "\0132\032.google.protobuf.Timestamp:\002\030\001\"\320\001\n\031Cr" + - "eateDownloadLinkRequest\0225\n\rartifact_type" + - "\030\001 \001(\0162\036.flyteidl.service.ArtifactType\022-" + - "\n\nexpires_in\030\002 \001(\0132\031.google.protobuf.Dur" + - "ation\022C\n\021node_execution_id\030\003 \001(\0132&.flyte" + - "idl.core.NodeExecutionIdentifierH\000B\010\n\006so" + - "urce\"\242\001\n\032CreateDownloadLinkResponse\022\026\n\ns" + - "igned_url\030\001 \003(\tB\002\030\001\0222\n\nexpires_at\030\002 \001(\0132" + - "\032.google.protobuf.TimestampB\002\030\001\0228\n\017pre_s" + - "igned_urls\030\003 \001(\0132\037.flyteidl.service.PreS" + - "ignedURLs\"S\n\rPreSignedURLs\022\022\n\nsigned_url" + - "\030\001 \003(\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.prot" + - "obuf.Timestamp\"#\n\016GetDataRequest\022\021\n\tflyt" + - "e_url\030\001 \001(\t\"\262\001\n\017GetDataResponse\0220\n\013liter" + - "al_map\030\001 \001(\0132\031.flyteidl.core.LiteralMapH" + - "\000\022:\n\017pre_signed_urls\030\002 \001(\0132\037.flyteidl.se" + - "rvice.PreSignedURLsH\000\022)\n\007literal\030\003 \001(\0132\026" + - ".flyteidl.core.LiteralH\000B\006\n\004data*C\n\014Arti" + - "factType\022\033\n\027ARTIFACT_TYPE_UNDEFINED\020\000\022\026\n" + - "\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020DataProxyServi" + - "ce\022\240\001\n\024CreateUploadLocation\022-.flyteidl.s" + - "ervice.CreateUploadLocationRequest\032..fly" + - "teidl.service.CreateUploadLocationRespon" + - "se\")\202\323\344\223\002#\"\036/api/v1/dataproxy/artifact_u" + - "rn:\001*\022\246\001\n\026CreateDownloadLocation\022/.flyte" + - "idl.service.CreateDownloadLocationReques" + - "t\0320.flyteidl.service.CreateDownloadLocat" + - "ionResponse\")\210\002\001\202\323\344\223\002 \022\036/api/v1/dataprox" + - "y/artifact_urn\022\233\001\n\022CreateDownloadLink\022+." + - "flyteidl.service.CreateDownloadLinkReque" + - "st\032,.flyteidl.service.CreateDownloadLink" + - "Response\"*\202\323\344\223\002$\"\037/api/v1/dataproxy/arti" + - "fact_link:\001*\022d\n\007GetData\022 .flyteidl.servi" + - "ce.GetDataRequest\032!.flyteidl.service.Get" + - "DataResponse\"\024\202\323\344\223\002\016\022\014/api/v1/dataB?Z=gi" + - "thub.com/flyteorg/flyte/flyteidl/gen/pb-" + - "go/flyteidl/serviceb\006proto3" + "le/protobuf/timestamp.proto\032\037flyteidl/co" + + "re/artifact_id.proto\032\036flyteidl/core/iden" + + "tifier.proto\032\034flyteidl/core/literals.pro" + + "to\032!flyteidl/artifact/artifacts.proto\"\245\001" + + "\n\034CreateUploadLocationResponse\022\022\n\nsigned" + + "_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(\t\022.\n\nexpire" + + "s_at\030\003 \001(\0132\032.google.protobuf.Timestamp\022-" + + "\n\010artifact\030\004 \001(\0132\033.flyteidl.artifact.Art" + + "ifact\"\343\001\n\033CreateUploadLocationRequest\022\017\n" + + "\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010filena" + + "me\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.google.pr" + + "otobuf.Duration\022\023\n\013content_md5\030\005 \001(\014\022\025\n\r" + + "filename_root\030\006 \001(\t\0226\n\rartifact_spec\030\007 \001" + + "(\0132\037.flyteidl.artifact.ArtifactSpec\"f\n\035C" + + "reateDownloadLocationRequest\022\022\n\nnative_u" + + "rl\030\001 \001(\t\022-\n\nexpires_in\030\002 \001(\0132\031.google.pr" + + "otobuf.Duration:\002\030\001\"h\n\036CreateDownloadLoc" + + "ationResponse\022\022\n\nsigned_url\030\001 \001(\t\022.\n\nexp" + + "ires_at\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p:\002\030\001\"\320\001\n\031CreateDownloadLinkRequest\0225\n\ra" + + "rtifact_type\030\001 \001(\0162\036.flyteidl.service.Ar" + + "tifactType\022-\n\nexpires_in\030\002 \001(\0132\031.google." + + "protobuf.Duration\022C\n\021node_execution_id\030\003" + + " \001(\0132&.flyteidl.core.NodeExecutionIdenti" + + "fierH\000B\010\n\006source\"\242\001\n\032CreateDownloadLinkR" + + "esponse\022\026\n\nsigned_url\030\001 \003(\tB\002\030\001\0222\n\nexpir" + + "es_at\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\002\030\001\0228\n\017pre_signed_urls\030\003 \001(\0132\037.flyteidl." + + "service.PreSignedURLs\"S\n\rPreSignedURLs\022\022" + + "\n\nsigned_url\030\001 \003(\t\022.\n\nexpires_at\030\002 \001(\0132\032" + + ".google.protobuf.Timestamp\"`\n\016GetDataReq" + + "uest\022\023\n\tflyte_url\030\001 \001(\tH\000\0220\n\013artifact_id" + + "\030\002 \001(\0132\031.flyteidl.core.ArtifactIDH\000B\007\n\005q" + + "uery\"\343\001\n\017GetDataResponse\0220\n\013literal_map\030" + + "\001 \001(\0132\031.flyteidl.core.LiteralMapH\000\022:\n\017pr" + + "e_signed_urls\030\002 \001(\0132\037.flyteidl.service.P" + + "reSignedURLsH\000\022)\n\007literal\030\003 \001(\0132\026.flytei" + + "dl.core.LiteralH\000\022/\n\010artifact\030\004 \001(\0132\033.fl" + + "yteidl.artifact.ArtifactH\000B\006\n\004data*C\n\014Ar" + + "tifactType\022\033\n\027ARTIFACT_TYPE_UNDEFINED\020\000\022" + + "\026\n\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020DataProxySer" + + "vice\022\240\001\n\024CreateUploadLocation\022-.flyteidl" + + ".service.CreateUploadLocationRequest\032..f" + + "lyteidl.service.CreateUploadLocationResp" + + "onse\")\202\323\344\223\002#\"\036/api/v1/dataproxy/artifact" + + "_urn:\001*\022\246\001\n\026CreateDownloadLocation\022/.fly" + + "teidl.service.CreateDownloadLocationRequ" + + "est\0320.flyteidl.service.CreateDownloadLoc" + + "ationResponse\")\210\002\001\202\323\344\223\002 \022\036/api/v1/datapr" + + "oxy/artifact_urn\022\233\001\n\022CreateDownloadLink\022" + + "+.flyteidl.service.CreateDownloadLinkReq" + + "uest\032,.flyteidl.service.CreateDownloadLi" + + "nkResponse\"*\202\323\344\223\002$\"\037/api/v1/dataproxy/ar" + + "tifact_link:\001*\022d\n\007GetData\022 .flyteidl.ser" + + "vice.GetDataRequest\032!.flyteidl.service.G" + + "etDataResponse\"\024\202\323\344\223\002\016\022\014/api/v1/dataB?Z=" + + "github.com/flyteorg/flyte/flyteidl/gen/p" + + "b-go/flyteidl/serviceb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -9814,21 +10726,23 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + flyteidl.core.ArtifactId.getDescriptor(), flyteidl.core.IdentifierOuterClass.getDescriptor(), flyteidl.core.Literals.getDescriptor(), + flyteidl.artifact.Artifacts.getDescriptor(), }, assigner); internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_flyteidl_service_CreateUploadLocationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor, - new java.lang.String[] { "SignedUrl", "NativeUrl", "ExpiresAt", }); + new java.lang.String[] { "SignedUrl", "NativeUrl", "ExpiresAt", "Artifact", }); internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_flyteidl_service_CreateUploadLocationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "Filename", "ExpiresIn", "ContentMd5", "FilenameRoot", }); + new java.lang.String[] { "Project", "Domain", "Filename", "ExpiresIn", "ContentMd5", "FilenameRoot", "ArtifactSpec", }); internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_flyteidl_service_CreateDownloadLocationRequest_fieldAccessorTable = new @@ -9864,13 +10778,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_service_GetDataRequest_descriptor, - new java.lang.String[] { "FlyteUrl", }); + new java.lang.String[] { "FlyteUrl", "ArtifactId", "Query", }); internal_static_flyteidl_service_GetDataResponse_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_service_GetDataResponse_descriptor, - new java.lang.String[] { "LiteralMap", "PreSignedUrls", "Literal", "Data", }); + new java.lang.String[] { "LiteralMap", "PreSignedUrls", "Literal", "Artifact", "Data", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); @@ -9879,8 +10793,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + flyteidl.core.ArtifactId.getDescriptor(); flyteidl.core.IdentifierOuterClass.getDescriptor(); flyteidl.core.Literals.getDescriptor(); + flyteidl.artifact.Artifacts.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/flyteidl/gen/pb-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index 4889385c65..05d44fccab 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -5,19873 +5,22135 @@ export namespace flyteidl { /** Namespace core. */ namespace core { - /** CatalogCacheStatus enum. */ - enum CatalogCacheStatus { - CACHE_DISABLED = 0, - CACHE_MISS = 1, - CACHE_HIT = 2, - CACHE_POPULATED = 3, - CACHE_LOOKUP_FAILURE = 4, - CACHE_PUT_FAILURE = 5, - CACHE_SKIPPED = 6 - } + /** Properties of an ArtifactKey. */ + interface IArtifactKey { - /** Properties of a CatalogArtifactTag. */ - interface ICatalogArtifactTag { + /** ArtifactKey project */ + project?: (string|null); - /** CatalogArtifactTag artifactId */ - artifactId?: (string|null); + /** ArtifactKey domain */ + domain?: (string|null); - /** CatalogArtifactTag name */ + /** ArtifactKey name */ name?: (string|null); } - /** Represents a CatalogArtifactTag. */ - class CatalogArtifactTag implements ICatalogArtifactTag { + /** Represents an ArtifactKey. */ + class ArtifactKey implements IArtifactKey { /** - * Constructs a new CatalogArtifactTag. + * Constructs a new ArtifactKey. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICatalogArtifactTag); + constructor(properties?: flyteidl.core.IArtifactKey); - /** CatalogArtifactTag artifactId. */ - public artifactId: string; + /** ArtifactKey project. */ + public project: string; - /** CatalogArtifactTag name. */ + /** ArtifactKey domain. */ + public domain: string; + + /** ArtifactKey name. */ public name: string; /** - * Creates a new CatalogArtifactTag instance using the specified properties. + * Creates a new ArtifactKey instance using the specified properties. * @param [properties] Properties to set - * @returns CatalogArtifactTag instance + * @returns ArtifactKey instance */ - public static create(properties?: flyteidl.core.ICatalogArtifactTag): flyteidl.core.CatalogArtifactTag; + public static create(properties?: flyteidl.core.IArtifactKey): flyteidl.core.ArtifactKey; /** - * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. - * @param message CatalogArtifactTag message or plain object to encode + * Encodes the specified ArtifactKey message. Does not implicitly {@link flyteidl.core.ArtifactKey.verify|verify} messages. + * @param message ArtifactKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICatalogArtifactTag, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IArtifactKey, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CatalogArtifactTag message from the specified reader or buffer. + * Decodes an ArtifactKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CatalogArtifactTag + * @returns ArtifactKey * @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.core.CatalogArtifactTag; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactKey; /** - * Verifies a CatalogArtifactTag message. + * Verifies an ArtifactKey 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 CatalogMetadata. */ - interface ICatalogMetadata { + /** Properties of an ArtifactBindingData. */ + interface IArtifactBindingData { - /** CatalogMetadata datasetId */ - datasetId?: (flyteidl.core.IIdentifier|null); + /** ArtifactBindingData index */ + index?: (number|null); - /** CatalogMetadata artifactTag */ - artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); + /** ArtifactBindingData partitionKey */ + partitionKey?: (string|null); - /** CatalogMetadata sourceTaskExecution */ - sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** ArtifactBindingData transform */ + transform?: (string|null); } - /** Represents a CatalogMetadata. */ - class CatalogMetadata implements ICatalogMetadata { + /** Represents an ArtifactBindingData. */ + class ArtifactBindingData implements IArtifactBindingData { /** - * Constructs a new CatalogMetadata. + * Constructs a new ArtifactBindingData. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICatalogMetadata); - - /** CatalogMetadata datasetId. */ - public datasetId?: (flyteidl.core.IIdentifier|null); + constructor(properties?: flyteidl.core.IArtifactBindingData); - /** CatalogMetadata artifactTag. */ - public artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); + /** ArtifactBindingData index. */ + public index: number; - /** CatalogMetadata sourceTaskExecution. */ - public sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** ArtifactBindingData partitionKey. */ + public partitionKey: string; - /** CatalogMetadata sourceExecution. */ - public sourceExecution?: "sourceTaskExecution"; + /** ArtifactBindingData transform. */ + public transform: string; /** - * Creates a new CatalogMetadata instance using the specified properties. + * Creates a new ArtifactBindingData instance using the specified properties. * @param [properties] Properties to set - * @returns CatalogMetadata instance + * @returns ArtifactBindingData instance */ - public static create(properties?: flyteidl.core.ICatalogMetadata): flyteidl.core.CatalogMetadata; + public static create(properties?: flyteidl.core.IArtifactBindingData): flyteidl.core.ArtifactBindingData; /** - * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. - * @param message CatalogMetadata message or plain object to encode + * Encodes the specified ArtifactBindingData message. Does not implicitly {@link flyteidl.core.ArtifactBindingData.verify|verify} messages. + * @param message ArtifactBindingData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICatalogMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IArtifactBindingData, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CatalogMetadata message from the specified reader or buffer. + * Decodes an ArtifactBindingData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CatalogMetadata + * @returns ArtifactBindingData * @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.core.CatalogMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactBindingData; /** - * Verifies a CatalogMetadata message. + * Verifies an ArtifactBindingData 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 CatalogReservation. */ - interface ICatalogReservation { + /** Properties of an InputBindingData. */ + interface IInputBindingData { + + /** InputBindingData var */ + "var"?: (string|null); } - /** Represents a CatalogReservation. */ - class CatalogReservation implements ICatalogReservation { + /** Represents an InputBindingData. */ + class InputBindingData implements IInputBindingData { /** - * Constructs a new CatalogReservation. + * Constructs a new InputBindingData. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICatalogReservation); + constructor(properties?: flyteidl.core.IInputBindingData); + + /** InputBindingData var. */ + public var: string; /** - * Creates a new CatalogReservation instance using the specified properties. + * Creates a new InputBindingData instance using the specified properties. * @param [properties] Properties to set - * @returns CatalogReservation instance + * @returns InputBindingData instance */ - public static create(properties?: flyteidl.core.ICatalogReservation): flyteidl.core.CatalogReservation; + public static create(properties?: flyteidl.core.IInputBindingData): flyteidl.core.InputBindingData; /** - * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. - * @param message CatalogReservation message or plain object to encode + * Encodes the specified InputBindingData message. Does not implicitly {@link flyteidl.core.InputBindingData.verify|verify} messages. + * @param message InputBindingData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICatalogReservation, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IInputBindingData, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CatalogReservation message from the specified reader or buffer. + * Decodes an InputBindingData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CatalogReservation + * @returns InputBindingData * @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.core.CatalogReservation; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.InputBindingData; /** - * Verifies a CatalogReservation message. + * Verifies an InputBindingData 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 CatalogReservation { - - /** Status enum. */ - enum Status { - RESERVATION_DISABLED = 0, - RESERVATION_ACQUIRED = 1, - RESERVATION_EXISTS = 2, - RESERVATION_RELEASED = 3, - RESERVATION_FAILURE = 4 - } - } - - /** ResourceType enum. */ - enum ResourceType { - UNSPECIFIED = 0, - TASK = 1, - WORKFLOW = 2, - LAUNCH_PLAN = 3, - DATASET = 4 - } - - /** Properties of an Identifier. */ - interface IIdentifier { - - /** Identifier resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); - - /** Identifier project */ - project?: (string|null); + /** Properties of a LabelValue. */ + interface ILabelValue { - /** Identifier domain */ - domain?: (string|null); + /** LabelValue staticValue */ + staticValue?: (string|null); - /** Identifier name */ - name?: (string|null); + /** LabelValue triggeredBinding */ + triggeredBinding?: (flyteidl.core.IArtifactBindingData|null); - /** Identifier version */ - version?: (string|null); + /** LabelValue inputBinding */ + inputBinding?: (flyteidl.core.IInputBindingData|null); } - /** Represents an Identifier. */ - class Identifier implements IIdentifier { + /** Represents a LabelValue. */ + class LabelValue implements ILabelValue { /** - * Constructs a new Identifier. + * Constructs a new LabelValue. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IIdentifier); - - /** Identifier resourceType. */ - public resourceType: flyteidl.core.ResourceType; + constructor(properties?: flyteidl.core.ILabelValue); - /** Identifier project. */ - public project: string; + /** LabelValue staticValue. */ + public staticValue: string; - /** Identifier domain. */ - public domain: string; + /** LabelValue triggeredBinding. */ + public triggeredBinding?: (flyteidl.core.IArtifactBindingData|null); - /** Identifier name. */ - public name: string; + /** LabelValue inputBinding. */ + public inputBinding?: (flyteidl.core.IInputBindingData|null); - /** Identifier version. */ - public version: string; + /** LabelValue value. */ + public value?: ("staticValue"|"triggeredBinding"|"inputBinding"); /** - * Creates a new Identifier instance using the specified properties. + * Creates a new LabelValue instance using the specified properties. * @param [properties] Properties to set - * @returns Identifier instance + * @returns LabelValue instance */ - public static create(properties?: flyteidl.core.IIdentifier): flyteidl.core.Identifier; + public static create(properties?: flyteidl.core.ILabelValue): flyteidl.core.LabelValue; /** - * Encodes the specified Identifier message. Does not implicitly {@link flyteidl.core.Identifier.verify|verify} messages. - * @param message Identifier message or plain object to encode + * Encodes the specified LabelValue message. Does not implicitly {@link flyteidl.core.LabelValue.verify|verify} messages. + * @param message LabelValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ILabelValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Identifier message from the specified reader or buffer. + * Decodes a LabelValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Identifier + * @returns LabelValue * @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.core.Identifier; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.LabelValue; /** - * Verifies an Identifier message. + * Verifies a LabelValue 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 WorkflowExecutionIdentifier. */ - interface IWorkflowExecutionIdentifier { - - /** WorkflowExecutionIdentifier project */ - project?: (string|null); - - /** WorkflowExecutionIdentifier domain */ - domain?: (string|null); + /** Properties of a Partitions. */ + interface IPartitions { - /** WorkflowExecutionIdentifier name */ - name?: (string|null); + /** Partitions value */ + value?: ({ [k: string]: flyteidl.core.ILabelValue }|null); } - /** Represents a WorkflowExecutionIdentifier. */ - class WorkflowExecutionIdentifier implements IWorkflowExecutionIdentifier { + /** Represents a Partitions. */ + class Partitions implements IPartitions { /** - * Constructs a new WorkflowExecutionIdentifier. + * Constructs a new Partitions. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IWorkflowExecutionIdentifier); - - /** WorkflowExecutionIdentifier project. */ - public project: string; - - /** WorkflowExecutionIdentifier domain. */ - public domain: string; + constructor(properties?: flyteidl.core.IPartitions); - /** WorkflowExecutionIdentifier name. */ - public name: string; + /** Partitions value. */ + public value: { [k: string]: flyteidl.core.ILabelValue }; /** - * Creates a new WorkflowExecutionIdentifier instance using the specified properties. + * Creates a new Partitions instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionIdentifier instance + * @returns Partitions instance */ - public static create(properties?: flyteidl.core.IWorkflowExecutionIdentifier): flyteidl.core.WorkflowExecutionIdentifier; + public static create(properties?: flyteidl.core.IPartitions): flyteidl.core.Partitions; /** - * Encodes the specified WorkflowExecutionIdentifier message. Does not implicitly {@link flyteidl.core.WorkflowExecutionIdentifier.verify|verify} messages. - * @param message WorkflowExecutionIdentifier message or plain object to encode + * Encodes the specified Partitions message. Does not implicitly {@link flyteidl.core.Partitions.verify|verify} messages. + * @param message Partitions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IWorkflowExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IPartitions, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionIdentifier message from the specified reader or buffer. + * Decodes a Partitions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionIdentifier + * @returns Partitions * @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.core.WorkflowExecutionIdentifier; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Partitions; /** - * Verifies a WorkflowExecutionIdentifier message. + * Verifies a Partitions 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 NodeExecutionIdentifier. */ - interface INodeExecutionIdentifier { + /** Properties of an ArtifactID. */ + interface IArtifactID { - /** NodeExecutionIdentifier nodeId */ - nodeId?: (string|null); + /** ArtifactID artifactKey */ + artifactKey?: (flyteidl.core.IArtifactKey|null); - /** NodeExecutionIdentifier executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ArtifactID version */ + version?: (string|null); + + /** ArtifactID partitions */ + partitions?: (flyteidl.core.IPartitions|null); } - /** Represents a NodeExecutionIdentifier. */ - class NodeExecutionIdentifier implements INodeExecutionIdentifier { + /** Represents an ArtifactID. */ + class ArtifactID implements IArtifactID { /** - * Constructs a new NodeExecutionIdentifier. + * Constructs a new ArtifactID. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.INodeExecutionIdentifier); + constructor(properties?: flyteidl.core.IArtifactID); - /** NodeExecutionIdentifier nodeId. */ - public nodeId: string; + /** ArtifactID artifactKey. */ + public artifactKey?: (flyteidl.core.IArtifactKey|null); - /** NodeExecutionIdentifier executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ArtifactID version. */ + public version: string; + + /** ArtifactID partitions. */ + public partitions?: (flyteidl.core.IPartitions|null); + + /** ArtifactID dimensions. */ + public dimensions?: "partitions"; /** - * Creates a new NodeExecutionIdentifier instance using the specified properties. + * Creates a new ArtifactID instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionIdentifier instance + * @returns ArtifactID instance */ - public static create(properties?: flyteidl.core.INodeExecutionIdentifier): flyteidl.core.NodeExecutionIdentifier; + public static create(properties?: flyteidl.core.IArtifactID): flyteidl.core.ArtifactID; /** - * Encodes the specified NodeExecutionIdentifier message. Does not implicitly {@link flyteidl.core.NodeExecutionIdentifier.verify|verify} messages. - * @param message NodeExecutionIdentifier message or plain object to encode + * Encodes the specified ArtifactID message. Does not implicitly {@link flyteidl.core.ArtifactID.verify|verify} messages. + * @param message ArtifactID message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.INodeExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IArtifactID, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionIdentifier message from the specified reader or buffer. + * Decodes an ArtifactID message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionIdentifier + * @returns ArtifactID * @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.core.NodeExecutionIdentifier; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactID; /** - * Verifies a NodeExecutionIdentifier message. + * Verifies an ArtifactID 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 TaskExecutionIdentifier. */ - interface ITaskExecutionIdentifier { - - /** TaskExecutionIdentifier taskId */ - taskId?: (flyteidl.core.IIdentifier|null); + /** Properties of an ArtifactTag. */ + interface IArtifactTag { - /** TaskExecutionIdentifier nodeExecutionId */ - nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + /** ArtifactTag artifactKey */ + artifactKey?: (flyteidl.core.IArtifactKey|null); - /** TaskExecutionIdentifier retryAttempt */ - retryAttempt?: (number|null); + /** ArtifactTag value */ + value?: (flyteidl.core.ILabelValue|null); } - /** Represents a TaskExecutionIdentifier. */ - class TaskExecutionIdentifier implements ITaskExecutionIdentifier { + /** Represents an ArtifactTag. */ + class ArtifactTag implements IArtifactTag { /** - * Constructs a new TaskExecutionIdentifier. + * Constructs a new ArtifactTag. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITaskExecutionIdentifier); + constructor(properties?: flyteidl.core.IArtifactTag); - /** TaskExecutionIdentifier taskId. */ - public taskId?: (flyteidl.core.IIdentifier|null); - - /** TaskExecutionIdentifier nodeExecutionId. */ - public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + /** ArtifactTag artifactKey. */ + public artifactKey?: (flyteidl.core.IArtifactKey|null); - /** TaskExecutionIdentifier retryAttempt. */ - public retryAttempt: number; + /** ArtifactTag value. */ + public value?: (flyteidl.core.ILabelValue|null); /** - * Creates a new TaskExecutionIdentifier instance using the specified properties. + * Creates a new ArtifactTag instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionIdentifier instance + * @returns ArtifactTag instance */ - public static create(properties?: flyteidl.core.ITaskExecutionIdentifier): flyteidl.core.TaskExecutionIdentifier; + public static create(properties?: flyteidl.core.IArtifactTag): flyteidl.core.ArtifactTag; /** - * Encodes the specified TaskExecutionIdentifier message. Does not implicitly {@link flyteidl.core.TaskExecutionIdentifier.verify|verify} messages. - * @param message TaskExecutionIdentifier message or plain object to encode + * Encodes the specified ArtifactTag message. Does not implicitly {@link flyteidl.core.ArtifactTag.verify|verify} messages. + * @param message ArtifactTag message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITaskExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IArtifactTag, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionIdentifier message from the specified reader or buffer. + * Decodes an ArtifactTag message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionIdentifier + * @returns ArtifactTag * @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.core.TaskExecutionIdentifier; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactTag; /** - * Verifies a TaskExecutionIdentifier message. + * Verifies an ArtifactTag 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 SignalIdentifier. */ - interface ISignalIdentifier { + /** Properties of an ArtifactQuery. */ + interface IArtifactQuery { - /** SignalIdentifier signalId */ - signalId?: (string|null); + /** ArtifactQuery artifactId */ + artifactId?: (flyteidl.core.IArtifactID|null); - /** SignalIdentifier executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ArtifactQuery artifactTag */ + artifactTag?: (flyteidl.core.IArtifactTag|null); + + /** ArtifactQuery uri */ + uri?: (string|null); + + /** ArtifactQuery binding */ + binding?: (flyteidl.core.IArtifactBindingData|null); } - /** Represents a SignalIdentifier. */ - class SignalIdentifier implements ISignalIdentifier { + /** Represents an ArtifactQuery. */ + class ArtifactQuery implements IArtifactQuery { /** - * Constructs a new SignalIdentifier. + * Constructs a new ArtifactQuery. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISignalIdentifier); + constructor(properties?: flyteidl.core.IArtifactQuery); - /** SignalIdentifier signalId. */ - public signalId: string; + /** ArtifactQuery artifactId. */ + public artifactId?: (flyteidl.core.IArtifactID|null); - /** SignalIdentifier executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ArtifactQuery artifactTag. */ + public artifactTag?: (flyteidl.core.IArtifactTag|null); + + /** ArtifactQuery uri. */ + public uri: string; + + /** ArtifactQuery binding. */ + public binding?: (flyteidl.core.IArtifactBindingData|null); + + /** ArtifactQuery identifier. */ + public identifier?: ("artifactId"|"artifactTag"|"uri"|"binding"); /** - * Creates a new SignalIdentifier instance using the specified properties. + * Creates a new ArtifactQuery instance using the specified properties. * @param [properties] Properties to set - * @returns SignalIdentifier instance + * @returns ArtifactQuery instance */ - public static create(properties?: flyteidl.core.ISignalIdentifier): flyteidl.core.SignalIdentifier; + public static create(properties?: flyteidl.core.IArtifactQuery): flyteidl.core.ArtifactQuery; /** - * Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages. - * @param message SignalIdentifier message or plain object to encode + * Encodes the specified ArtifactQuery message. Does not implicitly {@link flyteidl.core.ArtifactQuery.verify|verify} messages. + * @param message ArtifactQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISignalIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IArtifactQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalIdentifier message from the specified reader or buffer. + * Decodes an ArtifactQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SignalIdentifier + * @returns ArtifactQuery * @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.core.SignalIdentifier; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactQuery; /** - * Verifies a SignalIdentifier message. + * Verifies an ArtifactQuery 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 ConnectionSet. */ - interface IConnectionSet { + /** Properties of a Trigger. */ + interface ITrigger { - /** ConnectionSet downstream */ - downstream?: ({ [k: string]: flyteidl.core.ConnectionSet.IIdList }|null); + /** Trigger triggerId */ + triggerId?: (flyteidl.core.IIdentifier|null); - /** ConnectionSet upstream */ - upstream?: ({ [k: string]: flyteidl.core.ConnectionSet.IIdList }|null); + /** Trigger triggers */ + triggers?: (flyteidl.core.IArtifactID[]|null); } - /** Represents a ConnectionSet. */ - class ConnectionSet implements IConnectionSet { + /** Represents a Trigger. */ + class Trigger implements ITrigger { /** - * Constructs a new ConnectionSet. + * Constructs a new Trigger. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IConnectionSet); + constructor(properties?: flyteidl.core.ITrigger); - /** ConnectionSet downstream. */ - public downstream: { [k: string]: flyteidl.core.ConnectionSet.IIdList }; + /** Trigger triggerId. */ + public triggerId?: (flyteidl.core.IIdentifier|null); - /** ConnectionSet upstream. */ - public upstream: { [k: string]: flyteidl.core.ConnectionSet.IIdList }; + /** Trigger triggers. */ + public triggers: flyteidl.core.IArtifactID[]; /** - * Creates a new ConnectionSet instance using the specified properties. + * Creates a new Trigger instance using the specified properties. * @param [properties] Properties to set - * @returns ConnectionSet instance + * @returns Trigger instance */ - public static create(properties?: flyteidl.core.IConnectionSet): flyteidl.core.ConnectionSet; + public static create(properties?: flyteidl.core.ITrigger): flyteidl.core.Trigger; /** - * Encodes the specified ConnectionSet message. Does not implicitly {@link flyteidl.core.ConnectionSet.verify|verify} messages. - * @param message ConnectionSet message or plain object to encode + * Encodes the specified Trigger message. Does not implicitly {@link flyteidl.core.Trigger.verify|verify} messages. + * @param message Trigger message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IConnectionSet, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITrigger, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ConnectionSet message from the specified reader or buffer. + * Decodes a Trigger message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ConnectionSet + * @returns Trigger * @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.core.ConnectionSet; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Trigger; /** - * Verifies a ConnectionSet message. + * Verifies a Trigger 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 ConnectionSet { - - /** Properties of an IdList. */ - interface IIdList { - - /** IdList ids */ - ids?: (string[]|null); - } - - /** Represents an IdList. */ - class IdList implements IIdList { - - /** - * Constructs a new IdList. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.core.ConnectionSet.IIdList); - - /** IdList ids. */ - public ids: string[]; - - /** - * Creates a new IdList instance using the specified properties. - * @param [properties] Properties to set - * @returns IdList instance - */ - public static create(properties?: flyteidl.core.ConnectionSet.IIdList): flyteidl.core.ConnectionSet.IdList; + /** ResourceType enum. */ + enum ResourceType { + UNSPECIFIED = 0, + TASK = 1, + WORKFLOW = 2, + LAUNCH_PLAN = 3, + DATASET = 4 + } - /** - * Encodes the specified IdList message. Does not implicitly {@link flyteidl.core.ConnectionSet.IdList.verify|verify} messages. - * @param message IdList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.core.ConnectionSet.IIdList, writer?: $protobuf.Writer): $protobuf.Writer; + /** Properties of an Identifier. */ + interface IIdentifier { - /** - * Decodes an IdList message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IdList - * @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.core.ConnectionSet.IdList; + /** Identifier resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); - /** - * Verifies an IdList 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); - } - } + /** Identifier project */ + project?: (string|null); - /** Properties of a CompiledWorkflow. */ - interface ICompiledWorkflow { + /** Identifier domain */ + domain?: (string|null); - /** CompiledWorkflow template */ - template?: (flyteidl.core.IWorkflowTemplate|null); + /** Identifier name */ + name?: (string|null); - /** CompiledWorkflow connections */ - connections?: (flyteidl.core.IConnectionSet|null); + /** Identifier version */ + version?: (string|null); } - /** Represents a CompiledWorkflow. */ - class CompiledWorkflow implements ICompiledWorkflow { + /** Represents an Identifier. */ + class Identifier implements IIdentifier { /** - * Constructs a new CompiledWorkflow. + * Constructs a new Identifier. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICompiledWorkflow); + constructor(properties?: flyteidl.core.IIdentifier); - /** CompiledWorkflow template. */ - public template?: (flyteidl.core.IWorkflowTemplate|null); + /** Identifier resourceType. */ + public resourceType: flyteidl.core.ResourceType; - /** CompiledWorkflow connections. */ - public connections?: (flyteidl.core.IConnectionSet|null); + /** Identifier project. */ + public project: string; + + /** Identifier domain. */ + public domain: string; + + /** Identifier name. */ + public name: string; + + /** Identifier version. */ + public version: string; /** - * Creates a new CompiledWorkflow instance using the specified properties. + * Creates a new Identifier instance using the specified properties. * @param [properties] Properties to set - * @returns CompiledWorkflow instance + * @returns Identifier instance */ - public static create(properties?: flyteidl.core.ICompiledWorkflow): flyteidl.core.CompiledWorkflow; + public static create(properties?: flyteidl.core.IIdentifier): flyteidl.core.Identifier; /** - * Encodes the specified CompiledWorkflow message. Does not implicitly {@link flyteidl.core.CompiledWorkflow.verify|verify} messages. - * @param message CompiledWorkflow message or plain object to encode + * Encodes the specified Identifier message. Does not implicitly {@link flyteidl.core.Identifier.verify|verify} messages. + * @param message Identifier message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICompiledWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CompiledWorkflow message from the specified reader or buffer. + * Decodes an Identifier message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CompiledWorkflow + * @returns Identifier * @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.core.CompiledWorkflow; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Identifier; /** - * Verifies a CompiledWorkflow message. + * Verifies an Identifier 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 CompiledTask. */ - interface ICompiledTask { + /** Properties of a WorkflowExecutionIdentifier. */ + interface IWorkflowExecutionIdentifier { - /** CompiledTask template */ - template?: (flyteidl.core.ITaskTemplate|null); + /** WorkflowExecutionIdentifier project */ + project?: (string|null); + + /** WorkflowExecutionIdentifier domain */ + domain?: (string|null); + + /** WorkflowExecutionIdentifier name */ + name?: (string|null); } - /** Represents a CompiledTask. */ - class CompiledTask implements ICompiledTask { + /** Represents a WorkflowExecutionIdentifier. */ + class WorkflowExecutionIdentifier implements IWorkflowExecutionIdentifier { /** - * Constructs a new CompiledTask. + * Constructs a new WorkflowExecutionIdentifier. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICompiledTask); + constructor(properties?: flyteidl.core.IWorkflowExecutionIdentifier); - /** CompiledTask template. */ - public template?: (flyteidl.core.ITaskTemplate|null); + /** WorkflowExecutionIdentifier project. */ + public project: string; + + /** WorkflowExecutionIdentifier domain. */ + public domain: string; + + /** WorkflowExecutionIdentifier name. */ + public name: string; /** - * Creates a new CompiledTask instance using the specified properties. + * Creates a new WorkflowExecutionIdentifier instance using the specified properties. * @param [properties] Properties to set - * @returns CompiledTask instance + * @returns WorkflowExecutionIdentifier instance */ - public static create(properties?: flyteidl.core.ICompiledTask): flyteidl.core.CompiledTask; + public static create(properties?: flyteidl.core.IWorkflowExecutionIdentifier): flyteidl.core.WorkflowExecutionIdentifier; /** - * Encodes the specified CompiledTask message. Does not implicitly {@link flyteidl.core.CompiledTask.verify|verify} messages. - * @param message CompiledTask message or plain object to encode + * Encodes the specified WorkflowExecutionIdentifier message. Does not implicitly {@link flyteidl.core.WorkflowExecutionIdentifier.verify|verify} messages. + * @param message WorkflowExecutionIdentifier message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICompiledTask, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IWorkflowExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CompiledTask message from the specified reader or buffer. + * Decodes a WorkflowExecutionIdentifier message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CompiledTask + * @returns WorkflowExecutionIdentifier * @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.core.CompiledTask; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowExecutionIdentifier; /** - * Verifies a CompiledTask message. + * Verifies a WorkflowExecutionIdentifier 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 CompiledWorkflowClosure. */ - interface ICompiledWorkflowClosure { - - /** CompiledWorkflowClosure primary */ - primary?: (flyteidl.core.ICompiledWorkflow|null); + /** Properties of a NodeExecutionIdentifier. */ + interface INodeExecutionIdentifier { - /** CompiledWorkflowClosure subWorkflows */ - subWorkflows?: (flyteidl.core.ICompiledWorkflow[]|null); + /** NodeExecutionIdentifier nodeId */ + nodeId?: (string|null); - /** CompiledWorkflowClosure tasks */ - tasks?: (flyteidl.core.ICompiledTask[]|null); + /** NodeExecutionIdentifier executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a CompiledWorkflowClosure. */ - class CompiledWorkflowClosure implements ICompiledWorkflowClosure { + /** Represents a NodeExecutionIdentifier. */ + class NodeExecutionIdentifier implements INodeExecutionIdentifier { /** - * Constructs a new CompiledWorkflowClosure. + * Constructs a new NodeExecutionIdentifier. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICompiledWorkflowClosure); - - /** CompiledWorkflowClosure primary. */ - public primary?: (flyteidl.core.ICompiledWorkflow|null); + constructor(properties?: flyteidl.core.INodeExecutionIdentifier); - /** CompiledWorkflowClosure subWorkflows. */ - public subWorkflows: flyteidl.core.ICompiledWorkflow[]; + /** NodeExecutionIdentifier nodeId. */ + public nodeId: string; - /** CompiledWorkflowClosure tasks. */ - public tasks: flyteidl.core.ICompiledTask[]; + /** NodeExecutionIdentifier executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new CompiledWorkflowClosure instance using the specified properties. + * Creates a new NodeExecutionIdentifier instance using the specified properties. * @param [properties] Properties to set - * @returns CompiledWorkflowClosure instance + * @returns NodeExecutionIdentifier instance */ - public static create(properties?: flyteidl.core.ICompiledWorkflowClosure): flyteidl.core.CompiledWorkflowClosure; + public static create(properties?: flyteidl.core.INodeExecutionIdentifier): flyteidl.core.NodeExecutionIdentifier; /** - * Encodes the specified CompiledWorkflowClosure message. Does not implicitly {@link flyteidl.core.CompiledWorkflowClosure.verify|verify} messages. - * @param message CompiledWorkflowClosure message or plain object to encode + * Encodes the specified NodeExecutionIdentifier message. Does not implicitly {@link flyteidl.core.NodeExecutionIdentifier.verify|verify} messages. + * @param message NodeExecutionIdentifier message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICompiledWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.INodeExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CompiledWorkflowClosure message from the specified reader or buffer. + * Decodes a NodeExecutionIdentifier message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CompiledWorkflowClosure + * @returns NodeExecutionIdentifier * @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.core.CompiledWorkflowClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.NodeExecutionIdentifier; /** - * Verifies a CompiledWorkflowClosure message. + * Verifies a NodeExecutionIdentifier 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 IfBlock. */ - interface IIfBlock { + /** Properties of a TaskExecutionIdentifier. */ + interface ITaskExecutionIdentifier { - /** IfBlock condition */ - condition?: (flyteidl.core.IBooleanExpression|null); + /** TaskExecutionIdentifier taskId */ + taskId?: (flyteidl.core.IIdentifier|null); - /** IfBlock thenNode */ - thenNode?: (flyteidl.core.INode|null); + /** TaskExecutionIdentifier nodeExecutionId */ + nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** TaskExecutionIdentifier retryAttempt */ + retryAttempt?: (number|null); } - /** Represents an IfBlock. */ - class IfBlock implements IIfBlock { + /** Represents a TaskExecutionIdentifier. */ + class TaskExecutionIdentifier implements ITaskExecutionIdentifier { /** - * Constructs a new IfBlock. + * Constructs a new TaskExecutionIdentifier. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IIfBlock); + constructor(properties?: flyteidl.core.ITaskExecutionIdentifier); - /** IfBlock condition. */ - public condition?: (flyteidl.core.IBooleanExpression|null); + /** TaskExecutionIdentifier taskId. */ + public taskId?: (flyteidl.core.IIdentifier|null); - /** IfBlock thenNode. */ - public thenNode?: (flyteidl.core.INode|null); + /** TaskExecutionIdentifier nodeExecutionId. */ + public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** TaskExecutionIdentifier retryAttempt. */ + public retryAttempt: number; /** - * Creates a new IfBlock instance using the specified properties. + * Creates a new TaskExecutionIdentifier instance using the specified properties. * @param [properties] Properties to set - * @returns IfBlock instance + * @returns TaskExecutionIdentifier instance */ - public static create(properties?: flyteidl.core.IIfBlock): flyteidl.core.IfBlock; + public static create(properties?: flyteidl.core.ITaskExecutionIdentifier): flyteidl.core.TaskExecutionIdentifier; /** - * Encodes the specified IfBlock message. Does not implicitly {@link flyteidl.core.IfBlock.verify|verify} messages. - * @param message IfBlock message or plain object to encode + * Encodes the specified TaskExecutionIdentifier message. Does not implicitly {@link flyteidl.core.TaskExecutionIdentifier.verify|verify} messages. + * @param message TaskExecutionIdentifier message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IIfBlock, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITaskExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an IfBlock message from the specified reader or buffer. + * Decodes a TaskExecutionIdentifier message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns IfBlock + * @returns TaskExecutionIdentifier * @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.core.IfBlock; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskExecutionIdentifier; /** - * Verifies an IfBlock message. + * Verifies a TaskExecutionIdentifier 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 IfElseBlock. */ - interface IIfElseBlock { - - /** IfElseBlock case */ - "case"?: (flyteidl.core.IIfBlock|null); - - /** IfElseBlock other */ - other?: (flyteidl.core.IIfBlock[]|null); + /** Properties of a SignalIdentifier. */ + interface ISignalIdentifier { - /** IfElseBlock elseNode */ - elseNode?: (flyteidl.core.INode|null); + /** SignalIdentifier signalId */ + signalId?: (string|null); - /** IfElseBlock error */ - error?: (flyteidl.core.IError|null); + /** SignalIdentifier executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents an IfElseBlock. */ - class IfElseBlock implements IIfElseBlock { + /** Represents a SignalIdentifier. */ + class SignalIdentifier implements ISignalIdentifier { /** - * Constructs a new IfElseBlock. + * Constructs a new SignalIdentifier. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IIfElseBlock); - - /** IfElseBlock case. */ - public case?: (flyteidl.core.IIfBlock|null); - - /** IfElseBlock other. */ - public other: flyteidl.core.IIfBlock[]; - - /** IfElseBlock elseNode. */ - public elseNode?: (flyteidl.core.INode|null); + constructor(properties?: flyteidl.core.ISignalIdentifier); - /** IfElseBlock error. */ - public error?: (flyteidl.core.IError|null); + /** SignalIdentifier signalId. */ + public signalId: string; - /** IfElseBlock default. */ - public default_?: ("elseNode"|"error"); + /** SignalIdentifier executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new IfElseBlock instance using the specified properties. + * Creates a new SignalIdentifier instance using the specified properties. * @param [properties] Properties to set - * @returns IfElseBlock instance + * @returns SignalIdentifier instance */ - public static create(properties?: flyteidl.core.IIfElseBlock): flyteidl.core.IfElseBlock; + public static create(properties?: flyteidl.core.ISignalIdentifier): flyteidl.core.SignalIdentifier; /** - * Encodes the specified IfElseBlock message. Does not implicitly {@link flyteidl.core.IfElseBlock.verify|verify} messages. - * @param message IfElseBlock message or plain object to encode + * Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages. + * @param message SignalIdentifier message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IIfElseBlock, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ISignalIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an IfElseBlock message from the specified reader or buffer. + * Decodes a SignalIdentifier message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns IfElseBlock + * @returns SignalIdentifier * @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.core.IfElseBlock; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SignalIdentifier; /** - * Verifies an IfElseBlock message. + * Verifies a SignalIdentifier 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 BranchNode. */ - interface IBranchNode { + /** CatalogCacheStatus enum. */ + enum CatalogCacheStatus { + CACHE_DISABLED = 0, + CACHE_MISS = 1, + CACHE_HIT = 2, + CACHE_POPULATED = 3, + CACHE_LOOKUP_FAILURE = 4, + CACHE_PUT_FAILURE = 5, + CACHE_SKIPPED = 6 + } - /** BranchNode ifElse */ - ifElse?: (flyteidl.core.IIfElseBlock|null); + /** Properties of a CatalogArtifactTag. */ + interface ICatalogArtifactTag { + + /** CatalogArtifactTag artifactId */ + artifactId?: (string|null); + + /** CatalogArtifactTag name */ + name?: (string|null); } - /** Represents a BranchNode. */ - class BranchNode implements IBranchNode { + /** Represents a CatalogArtifactTag. */ + class CatalogArtifactTag implements ICatalogArtifactTag { /** - * Constructs a new BranchNode. + * Constructs a new CatalogArtifactTag. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBranchNode); + constructor(properties?: flyteidl.core.ICatalogArtifactTag); - /** BranchNode ifElse. */ - public ifElse?: (flyteidl.core.IIfElseBlock|null); + /** CatalogArtifactTag artifactId. */ + public artifactId: string; + + /** CatalogArtifactTag name. */ + public name: string; /** - * Creates a new BranchNode instance using the specified properties. + * Creates a new CatalogArtifactTag instance using the specified properties. * @param [properties] Properties to set - * @returns BranchNode instance + * @returns CatalogArtifactTag instance */ - public static create(properties?: flyteidl.core.IBranchNode): flyteidl.core.BranchNode; + public static create(properties?: flyteidl.core.ICatalogArtifactTag): flyteidl.core.CatalogArtifactTag; /** - * Encodes the specified BranchNode message. Does not implicitly {@link flyteidl.core.BranchNode.verify|verify} messages. - * @param message BranchNode message or plain object to encode + * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. + * @param message CatalogArtifactTag message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBranchNode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ICatalogArtifactTag, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a BranchNode message from the specified reader or buffer. + * Decodes a CatalogArtifactTag message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BranchNode + * @returns CatalogArtifactTag * @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.core.BranchNode; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogArtifactTag; /** - * Verifies a BranchNode message. + * Verifies a CatalogArtifactTag 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 TaskNode. */ - interface ITaskNode { + /** Properties of a CatalogMetadata. */ + interface ICatalogMetadata { - /** TaskNode referenceId */ - referenceId?: (flyteidl.core.IIdentifier|null); + /** CatalogMetadata datasetId */ + datasetId?: (flyteidl.core.IIdentifier|null); - /** TaskNode overrides */ - overrides?: (flyteidl.core.ITaskNodeOverrides|null); + /** CatalogMetadata artifactTag */ + artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); + + /** CatalogMetadata sourceTaskExecution */ + sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); } - /** Represents a TaskNode. */ - class TaskNode implements ITaskNode { + /** Represents a CatalogMetadata. */ + class CatalogMetadata implements ICatalogMetadata { /** - * Constructs a new TaskNode. + * Constructs a new CatalogMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITaskNode); + constructor(properties?: flyteidl.core.ICatalogMetadata); - /** TaskNode referenceId. */ - public referenceId?: (flyteidl.core.IIdentifier|null); + /** CatalogMetadata datasetId. */ + public datasetId?: (flyteidl.core.IIdentifier|null); - /** TaskNode overrides. */ - public overrides?: (flyteidl.core.ITaskNodeOverrides|null); + /** CatalogMetadata artifactTag. */ + public artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); - /** TaskNode reference. */ - public reference?: "referenceId"; + /** CatalogMetadata sourceTaskExecution. */ + public sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CatalogMetadata sourceExecution. */ + public sourceExecution?: "sourceTaskExecution"; /** - * Creates a new TaskNode instance using the specified properties. + * Creates a new CatalogMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns TaskNode instance + * @returns CatalogMetadata instance */ - public static create(properties?: flyteidl.core.ITaskNode): flyteidl.core.TaskNode; + public static create(properties?: flyteidl.core.ICatalogMetadata): flyteidl.core.CatalogMetadata; /** - * Encodes the specified TaskNode message. Does not implicitly {@link flyteidl.core.TaskNode.verify|verify} messages. - * @param message TaskNode message or plain object to encode + * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. + * @param message CatalogMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITaskNode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ICatalogMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskNode message from the specified reader or buffer. + * Decodes a CatalogMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskNode + * @returns CatalogMetadata * @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.core.TaskNode; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogMetadata; /** - * Verifies a TaskNode message. + * Verifies a CatalogMetadata 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 WorkflowNode. */ - interface IWorkflowNode { - - /** WorkflowNode launchplanRef */ - launchplanRef?: (flyteidl.core.IIdentifier|null); - - /** WorkflowNode subWorkflowRef */ - subWorkflowRef?: (flyteidl.core.IIdentifier|null); + /** Properties of a CatalogReservation. */ + interface ICatalogReservation { } - /** Represents a WorkflowNode. */ - class WorkflowNode implements IWorkflowNode { + /** Represents a CatalogReservation. */ + class CatalogReservation implements ICatalogReservation { /** - * Constructs a new WorkflowNode. + * Constructs a new CatalogReservation. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IWorkflowNode); - - /** WorkflowNode launchplanRef. */ - public launchplanRef?: (flyteidl.core.IIdentifier|null); - - /** WorkflowNode subWorkflowRef. */ - public subWorkflowRef?: (flyteidl.core.IIdentifier|null); - - /** WorkflowNode reference. */ - public reference?: ("launchplanRef"|"subWorkflowRef"); + constructor(properties?: flyteidl.core.ICatalogReservation); /** - * Creates a new WorkflowNode instance using the specified properties. + * Creates a new CatalogReservation instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowNode instance + * @returns CatalogReservation instance */ - public static create(properties?: flyteidl.core.IWorkflowNode): flyteidl.core.WorkflowNode; + public static create(properties?: flyteidl.core.ICatalogReservation): flyteidl.core.CatalogReservation; /** - * Encodes the specified WorkflowNode message. Does not implicitly {@link flyteidl.core.WorkflowNode.verify|verify} messages. - * @param message WorkflowNode message or plain object to encode + * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. + * @param message CatalogReservation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IWorkflowNode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ICatalogReservation, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowNode message from the specified reader or buffer. + * Decodes a CatalogReservation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowNode + * @returns CatalogReservation * @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.core.WorkflowNode; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogReservation; /** - * Verifies a WorkflowNode message. + * Verifies a CatalogReservation 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 ApproveCondition. */ - interface IApproveCondition { + namespace CatalogReservation { - /** ApproveCondition signalId */ - signalId?: (string|null); + /** Status enum. */ + enum Status { + RESERVATION_DISABLED = 0, + RESERVATION_ACQUIRED = 1, + RESERVATION_EXISTS = 2, + RESERVATION_RELEASED = 3, + RESERVATION_FAILURE = 4 + } } - /** Represents an ApproveCondition. */ - class ApproveCondition implements IApproveCondition { + /** Properties of a ConnectionSet. */ + interface IConnectionSet { + + /** ConnectionSet downstream */ + downstream?: ({ [k: string]: flyteidl.core.ConnectionSet.IIdList }|null); + + /** ConnectionSet upstream */ + upstream?: ({ [k: string]: flyteidl.core.ConnectionSet.IIdList }|null); + } + + /** Represents a ConnectionSet. */ + class ConnectionSet implements IConnectionSet { /** - * Constructs a new ApproveCondition. + * Constructs a new ConnectionSet. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IApproveCondition); + constructor(properties?: flyteidl.core.IConnectionSet); - /** ApproveCondition signalId. */ - public signalId: string; + /** ConnectionSet downstream. */ + public downstream: { [k: string]: flyteidl.core.ConnectionSet.IIdList }; + + /** ConnectionSet upstream. */ + public upstream: { [k: string]: flyteidl.core.ConnectionSet.IIdList }; /** - * Creates a new ApproveCondition instance using the specified properties. + * Creates a new ConnectionSet instance using the specified properties. * @param [properties] Properties to set - * @returns ApproveCondition instance + * @returns ConnectionSet instance */ - public static create(properties?: flyteidl.core.IApproveCondition): flyteidl.core.ApproveCondition; + public static create(properties?: flyteidl.core.IConnectionSet): flyteidl.core.ConnectionSet; /** - * Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages. - * @param message ApproveCondition message or plain object to encode + * Encodes the specified ConnectionSet message. Does not implicitly {@link flyteidl.core.ConnectionSet.verify|verify} messages. + * @param message ConnectionSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IApproveCondition, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IConnectionSet, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ApproveCondition message from the specified reader or buffer. + * Decodes a ConnectionSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ApproveCondition + * @returns ConnectionSet * @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.core.ApproveCondition; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ConnectionSet; /** - * Verifies an ApproveCondition message. + * Verifies a ConnectionSet 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 SignalCondition. */ - interface ISignalCondition { + namespace ConnectionSet { - /** SignalCondition signalId */ - signalId?: (string|null); + /** Properties of an IdList. */ + interface IIdList { - /** SignalCondition type */ - type?: (flyteidl.core.ILiteralType|null); + /** IdList ids */ + ids?: (string[]|null); + } - /** SignalCondition outputVariableName */ - outputVariableName?: (string|null); + /** Represents an IdList. */ + class IdList implements IIdList { + + /** + * Constructs a new IdList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ConnectionSet.IIdList); + + /** IdList ids. */ + public ids: string[]; + + /** + * Creates a new IdList instance using the specified properties. + * @param [properties] Properties to set + * @returns IdList instance + */ + public static create(properties?: flyteidl.core.ConnectionSet.IIdList): flyteidl.core.ConnectionSet.IdList; + + /** + * Encodes the specified IdList message. Does not implicitly {@link flyteidl.core.ConnectionSet.IdList.verify|verify} messages. + * @param message IdList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ConnectionSet.IIdList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an IdList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns IdList + * @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.core.ConnectionSet.IdList; + + /** + * Verifies an IdList 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); + } } - /** Represents a SignalCondition. */ - class SignalCondition implements ISignalCondition { + /** Properties of a CompiledWorkflow. */ + interface ICompiledWorkflow { + + /** CompiledWorkflow template */ + template?: (flyteidl.core.IWorkflowTemplate|null); + + /** CompiledWorkflow connections */ + connections?: (flyteidl.core.IConnectionSet|null); + } + + /** Represents a CompiledWorkflow. */ + class CompiledWorkflow implements ICompiledWorkflow { /** - * Constructs a new SignalCondition. + * Constructs a new CompiledWorkflow. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISignalCondition); - - /** SignalCondition signalId. */ - public signalId: string; + constructor(properties?: flyteidl.core.ICompiledWorkflow); - /** SignalCondition type. */ - public type?: (flyteidl.core.ILiteralType|null); + /** CompiledWorkflow template. */ + public template?: (flyteidl.core.IWorkflowTemplate|null); - /** SignalCondition outputVariableName. */ - public outputVariableName: string; + /** CompiledWorkflow connections. */ + public connections?: (flyteidl.core.IConnectionSet|null); /** - * Creates a new SignalCondition instance using the specified properties. + * Creates a new CompiledWorkflow instance using the specified properties. * @param [properties] Properties to set - * @returns SignalCondition instance + * @returns CompiledWorkflow instance */ - public static create(properties?: flyteidl.core.ISignalCondition): flyteidl.core.SignalCondition; + public static create(properties?: flyteidl.core.ICompiledWorkflow): flyteidl.core.CompiledWorkflow; /** - * Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages. - * @param message SignalCondition message or plain object to encode + * Encodes the specified CompiledWorkflow message. Does not implicitly {@link flyteidl.core.CompiledWorkflow.verify|verify} messages. + * @param message CompiledWorkflow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISignalCondition, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ICompiledWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalCondition message from the specified reader or buffer. + * Decodes a CompiledWorkflow message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SignalCondition + * @returns CompiledWorkflow * @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.core.SignalCondition; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CompiledWorkflow; /** - * Verifies a SignalCondition message. + * Verifies a CompiledWorkflow 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 SleepCondition. */ - interface ISleepCondition { + /** Properties of a CompiledTask. */ + interface ICompiledTask { - /** SleepCondition duration */ - duration?: (google.protobuf.IDuration|null); + /** CompiledTask template */ + template?: (flyteidl.core.ITaskTemplate|null); } - /** Represents a SleepCondition. */ - class SleepCondition implements ISleepCondition { + /** Represents a CompiledTask. */ + class CompiledTask implements ICompiledTask { /** - * Constructs a new SleepCondition. + * Constructs a new CompiledTask. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISleepCondition); + constructor(properties?: flyteidl.core.ICompiledTask); - /** SleepCondition duration. */ - public duration?: (google.protobuf.IDuration|null); + /** CompiledTask template. */ + public template?: (flyteidl.core.ITaskTemplate|null); /** - * Creates a new SleepCondition instance using the specified properties. + * Creates a new CompiledTask instance using the specified properties. * @param [properties] Properties to set - * @returns SleepCondition instance + * @returns CompiledTask instance */ - public static create(properties?: flyteidl.core.ISleepCondition): flyteidl.core.SleepCondition; + public static create(properties?: flyteidl.core.ICompiledTask): flyteidl.core.CompiledTask; /** - * Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages. - * @param message SleepCondition message or plain object to encode + * Encodes the specified CompiledTask message. Does not implicitly {@link flyteidl.core.CompiledTask.verify|verify} messages. + * @param message CompiledTask message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISleepCondition, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ICompiledTask, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SleepCondition message from the specified reader or buffer. + * Decodes a CompiledTask message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SleepCondition + * @returns CompiledTask * @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.core.SleepCondition; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CompiledTask; /** - * Verifies a SleepCondition message. + * Verifies a CompiledTask 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 GateNode. */ - interface IGateNode { + /** Properties of a CompiledWorkflowClosure. */ + interface ICompiledWorkflowClosure { - /** GateNode approve */ - approve?: (flyteidl.core.IApproveCondition|null); + /** CompiledWorkflowClosure primary */ + primary?: (flyteidl.core.ICompiledWorkflow|null); - /** GateNode signal */ - signal?: (flyteidl.core.ISignalCondition|null); + /** CompiledWorkflowClosure subWorkflows */ + subWorkflows?: (flyteidl.core.ICompiledWorkflow[]|null); - /** GateNode sleep */ - sleep?: (flyteidl.core.ISleepCondition|null); + /** CompiledWorkflowClosure tasks */ + tasks?: (flyteidl.core.ICompiledTask[]|null); } - /** Represents a GateNode. */ - class GateNode implements IGateNode { + /** Represents a CompiledWorkflowClosure. */ + class CompiledWorkflowClosure implements ICompiledWorkflowClosure { /** - * Constructs a new GateNode. + * Constructs a new CompiledWorkflowClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IGateNode); - - /** GateNode approve. */ - public approve?: (flyteidl.core.IApproveCondition|null); + constructor(properties?: flyteidl.core.ICompiledWorkflowClosure); - /** GateNode signal. */ - public signal?: (flyteidl.core.ISignalCondition|null); + /** CompiledWorkflowClosure primary. */ + public primary?: (flyteidl.core.ICompiledWorkflow|null); - /** GateNode sleep. */ - public sleep?: (flyteidl.core.ISleepCondition|null); + /** CompiledWorkflowClosure subWorkflows. */ + public subWorkflows: flyteidl.core.ICompiledWorkflow[]; - /** GateNode condition. */ - public condition?: ("approve"|"signal"|"sleep"); + /** CompiledWorkflowClosure tasks. */ + public tasks: flyteidl.core.ICompiledTask[]; /** - * Creates a new GateNode instance using the specified properties. + * Creates a new CompiledWorkflowClosure instance using the specified properties. * @param [properties] Properties to set - * @returns GateNode instance + * @returns CompiledWorkflowClosure instance */ - public static create(properties?: flyteidl.core.IGateNode): flyteidl.core.GateNode; + public static create(properties?: flyteidl.core.ICompiledWorkflowClosure): flyteidl.core.CompiledWorkflowClosure; /** - * Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages. - * @param message GateNode message or plain object to encode + * Encodes the specified CompiledWorkflowClosure message. Does not implicitly {@link flyteidl.core.CompiledWorkflowClosure.verify|verify} messages. + * @param message CompiledWorkflowClosure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IGateNode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ICompiledWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GateNode message from the specified reader or buffer. + * Decodes a CompiledWorkflowClosure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GateNode + * @returns CompiledWorkflowClosure * @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.core.GateNode; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CompiledWorkflowClosure; /** - * Verifies a GateNode message. + * Verifies a CompiledWorkflowClosure 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 ArrayNode. */ - interface IArrayNode { - - /** ArrayNode node */ - node?: (flyteidl.core.INode|null); - - /** ArrayNode parallelism */ - parallelism?: (number|null); + /** Properties of an IfBlock. */ + interface IIfBlock { - /** ArrayNode minSuccesses */ - minSuccesses?: (number|null); + /** IfBlock condition */ + condition?: (flyteidl.core.IBooleanExpression|null); - /** ArrayNode minSuccessRatio */ - minSuccessRatio?: (number|null); + /** IfBlock thenNode */ + thenNode?: (flyteidl.core.INode|null); } - /** Represents an ArrayNode. */ - class ArrayNode implements IArrayNode { + /** Represents an IfBlock. */ + class IfBlock implements IIfBlock { /** - * Constructs a new ArrayNode. + * Constructs a new IfBlock. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IArrayNode); - - /** ArrayNode node. */ - public node?: (flyteidl.core.INode|null); - - /** ArrayNode parallelism. */ - public parallelism: number; - - /** ArrayNode minSuccesses. */ - public minSuccesses: number; + constructor(properties?: flyteidl.core.IIfBlock); - /** ArrayNode minSuccessRatio. */ - public minSuccessRatio: number; + /** IfBlock condition. */ + public condition?: (flyteidl.core.IBooleanExpression|null); - /** ArrayNode successCriteria. */ - public successCriteria?: ("minSuccesses"|"minSuccessRatio"); + /** IfBlock thenNode. */ + public thenNode?: (flyteidl.core.INode|null); /** - * Creates a new ArrayNode instance using the specified properties. + * Creates a new IfBlock instance using the specified properties. * @param [properties] Properties to set - * @returns ArrayNode instance + * @returns IfBlock instance */ - public static create(properties?: flyteidl.core.IArrayNode): flyteidl.core.ArrayNode; + public static create(properties?: flyteidl.core.IIfBlock): flyteidl.core.IfBlock; /** - * Encodes the specified ArrayNode message. Does not implicitly {@link flyteidl.core.ArrayNode.verify|verify} messages. - * @param message ArrayNode message or plain object to encode + * Encodes the specified IfBlock message. Does not implicitly {@link flyteidl.core.IfBlock.verify|verify} messages. + * @param message IfBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IArrayNode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IIfBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ArrayNode message from the specified reader or buffer. + * Decodes an IfBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ArrayNode + * @returns IfBlock * @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.core.ArrayNode; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.IfBlock; /** - * Verifies an ArrayNode message. + * Verifies an IfBlock 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 NodeMetadata. */ - interface INodeMetadata { + /** Properties of an IfElseBlock. */ + interface IIfElseBlock { - /** NodeMetadata name */ - name?: (string|null); + /** IfElseBlock case */ + "case"?: (flyteidl.core.IIfBlock|null); - /** NodeMetadata timeout */ - timeout?: (google.protobuf.IDuration|null); + /** IfElseBlock other */ + other?: (flyteidl.core.IIfBlock[]|null); - /** NodeMetadata retries */ - retries?: (flyteidl.core.IRetryStrategy|null); + /** IfElseBlock elseNode */ + elseNode?: (flyteidl.core.INode|null); - /** NodeMetadata interruptible */ - interruptible?: (boolean|null); + /** IfElseBlock error */ + error?: (flyteidl.core.IError|null); } - /** Represents a NodeMetadata. */ - class NodeMetadata implements INodeMetadata { + /** Represents an IfElseBlock. */ + class IfElseBlock implements IIfElseBlock { /** - * Constructs a new NodeMetadata. + * Constructs a new IfElseBlock. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.INodeMetadata); + constructor(properties?: flyteidl.core.IIfElseBlock); - /** NodeMetadata name. */ - public name: string; + /** IfElseBlock case. */ + public case?: (flyteidl.core.IIfBlock|null); - /** NodeMetadata timeout. */ - public timeout?: (google.protobuf.IDuration|null); + /** IfElseBlock other. */ + public other: flyteidl.core.IIfBlock[]; - /** NodeMetadata retries. */ - public retries?: (flyteidl.core.IRetryStrategy|null); + /** IfElseBlock elseNode. */ + public elseNode?: (flyteidl.core.INode|null); - /** NodeMetadata interruptible. */ - public interruptible: boolean; + /** IfElseBlock error. */ + public error?: (flyteidl.core.IError|null); - /** NodeMetadata interruptibleValue. */ - public interruptibleValue?: "interruptible"; + /** IfElseBlock default. */ + public default_?: ("elseNode"|"error"); /** - * Creates a new NodeMetadata instance using the specified properties. + * Creates a new IfElseBlock instance using the specified properties. * @param [properties] Properties to set - * @returns NodeMetadata instance + * @returns IfElseBlock instance */ - public static create(properties?: flyteidl.core.INodeMetadata): flyteidl.core.NodeMetadata; + public static create(properties?: flyteidl.core.IIfElseBlock): flyteidl.core.IfElseBlock; /** - * Encodes the specified NodeMetadata message. Does not implicitly {@link flyteidl.core.NodeMetadata.verify|verify} messages. - * @param message NodeMetadata message or plain object to encode + * Encodes the specified IfElseBlock message. Does not implicitly {@link flyteidl.core.IfElseBlock.verify|verify} messages. + * @param message IfElseBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.INodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IIfElseBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeMetadata message from the specified reader or buffer. + * Decodes an IfElseBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeMetadata + * @returns IfElseBlock * @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.core.NodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.IfElseBlock; /** - * Verifies a NodeMetadata message. + * Verifies an IfElseBlock 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 Alias. */ - interface IAlias { - - /** Alias var */ - "var"?: (string|null); + /** Properties of a BranchNode. */ + interface IBranchNode { - /** Alias alias */ - alias?: (string|null); + /** BranchNode ifElse */ + ifElse?: (flyteidl.core.IIfElseBlock|null); } - /** Represents an Alias. */ - class Alias implements IAlias { + /** Represents a BranchNode. */ + class BranchNode implements IBranchNode { /** - * Constructs a new Alias. + * Constructs a new BranchNode. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IAlias); - - /** Alias var. */ - public var: string; + constructor(properties?: flyteidl.core.IBranchNode); - /** Alias alias. */ - public alias: string; + /** BranchNode ifElse. */ + public ifElse?: (flyteidl.core.IIfElseBlock|null); /** - * Creates a new Alias instance using the specified properties. + * Creates a new BranchNode instance using the specified properties. * @param [properties] Properties to set - * @returns Alias instance + * @returns BranchNode instance */ - public static create(properties?: flyteidl.core.IAlias): flyteidl.core.Alias; + public static create(properties?: flyteidl.core.IBranchNode): flyteidl.core.BranchNode; /** - * Encodes the specified Alias message. Does not implicitly {@link flyteidl.core.Alias.verify|verify} messages. - * @param message Alias message or plain object to encode + * Encodes the specified BranchNode message. Does not implicitly {@link flyteidl.core.BranchNode.verify|verify} messages. + * @param message BranchNode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IAlias, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBranchNode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Alias message from the specified reader or buffer. + * Decodes a BranchNode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Alias + * @returns BranchNode * @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.core.Alias; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.BranchNode; /** - * Verifies an Alias message. + * Verifies a BranchNode 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 Node. */ - interface INode { + /** Properties of a TaskNode. */ + interface ITaskNode { - /** Node id */ - id?: (string|null); + /** TaskNode referenceId */ + referenceId?: (flyteidl.core.IIdentifier|null); - /** Node metadata */ - metadata?: (flyteidl.core.INodeMetadata|null); + /** TaskNode overrides */ + overrides?: (flyteidl.core.ITaskNodeOverrides|null); + } - /** Node inputs */ - inputs?: (flyteidl.core.IBinding[]|null); + /** Represents a TaskNode. */ + class TaskNode implements ITaskNode { - /** Node upstreamNodeIds */ - upstreamNodeIds?: (string[]|null); + /** + * Constructs a new TaskNode. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ITaskNode); - /** Node outputAliases */ - outputAliases?: (flyteidl.core.IAlias[]|null); + /** TaskNode referenceId. */ + public referenceId?: (flyteidl.core.IIdentifier|null); - /** Node taskNode */ - taskNode?: (flyteidl.core.ITaskNode|null); + /** TaskNode overrides. */ + public overrides?: (flyteidl.core.ITaskNodeOverrides|null); - /** Node workflowNode */ - workflowNode?: (flyteidl.core.IWorkflowNode|null); - - /** Node branchNode */ - branchNode?: (flyteidl.core.IBranchNode|null); - - /** Node gateNode */ - gateNode?: (flyteidl.core.IGateNode|null); - - /** Node arrayNode */ - arrayNode?: (flyteidl.core.IArrayNode|null); - } - - /** Represents a Node. */ - class Node implements INode { - - /** - * Constructs a new Node. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.core.INode); - - /** Node id. */ - public id: string; - - /** Node metadata. */ - public metadata?: (flyteidl.core.INodeMetadata|null); - - /** Node inputs. */ - public inputs: flyteidl.core.IBinding[]; - - /** Node upstreamNodeIds. */ - public upstreamNodeIds: string[]; - - /** Node outputAliases. */ - public outputAliases: flyteidl.core.IAlias[]; - - /** Node taskNode. */ - public taskNode?: (flyteidl.core.ITaskNode|null); - - /** Node workflowNode. */ - public workflowNode?: (flyteidl.core.IWorkflowNode|null); - - /** Node branchNode. */ - public branchNode?: (flyteidl.core.IBranchNode|null); - - /** Node gateNode. */ - public gateNode?: (flyteidl.core.IGateNode|null); - - /** Node arrayNode. */ - public arrayNode?: (flyteidl.core.IArrayNode|null); - - /** Node target. */ - public target?: ("taskNode"|"workflowNode"|"branchNode"|"gateNode"|"arrayNode"); + /** TaskNode reference. */ + public reference?: "referenceId"; /** - * Creates a new Node instance using the specified properties. + * Creates a new TaskNode instance using the specified properties. * @param [properties] Properties to set - * @returns Node instance + * @returns TaskNode instance */ - public static create(properties?: flyteidl.core.INode): flyteidl.core.Node; + public static create(properties?: flyteidl.core.ITaskNode): flyteidl.core.TaskNode; /** - * Encodes the specified Node message. Does not implicitly {@link flyteidl.core.Node.verify|verify} messages. - * @param message Node message or plain object to encode + * Encodes the specified TaskNode message. Does not implicitly {@link flyteidl.core.TaskNode.verify|verify} messages. + * @param message TaskNode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.INode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITaskNode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Node message from the specified reader or buffer. + * Decodes a TaskNode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Node + * @returns TaskNode * @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.core.Node; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskNode; /** - * Verifies a Node message. + * Verifies a TaskNode 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 WorkflowMetadata. */ - interface IWorkflowMetadata { - - /** WorkflowMetadata qualityOfService */ - qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** Properties of a WorkflowNode. */ + interface IWorkflowNode { - /** WorkflowMetadata onFailure */ - onFailure?: (flyteidl.core.WorkflowMetadata.OnFailurePolicy|null); + /** WorkflowNode launchplanRef */ + launchplanRef?: (flyteidl.core.IIdentifier|null); - /** WorkflowMetadata tags */ - tags?: ({ [k: string]: string }|null); + /** WorkflowNode subWorkflowRef */ + subWorkflowRef?: (flyteidl.core.IIdentifier|null); } - /** Represents a WorkflowMetadata. */ - class WorkflowMetadata implements IWorkflowMetadata { + /** Represents a WorkflowNode. */ + class WorkflowNode implements IWorkflowNode { /** - * Constructs a new WorkflowMetadata. + * Constructs a new WorkflowNode. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IWorkflowMetadata); + constructor(properties?: flyteidl.core.IWorkflowNode); - /** WorkflowMetadata qualityOfService. */ - public qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** WorkflowNode launchplanRef. */ + public launchplanRef?: (flyteidl.core.IIdentifier|null); - /** WorkflowMetadata onFailure. */ - public onFailure: flyteidl.core.WorkflowMetadata.OnFailurePolicy; + /** WorkflowNode subWorkflowRef. */ + public subWorkflowRef?: (flyteidl.core.IIdentifier|null); - /** WorkflowMetadata tags. */ - public tags: { [k: string]: string }; + /** WorkflowNode reference. */ + public reference?: ("launchplanRef"|"subWorkflowRef"); /** - * Creates a new WorkflowMetadata instance using the specified properties. + * Creates a new WorkflowNode instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowMetadata instance + * @returns WorkflowNode instance */ - public static create(properties?: flyteidl.core.IWorkflowMetadata): flyteidl.core.WorkflowMetadata; + public static create(properties?: flyteidl.core.IWorkflowNode): flyteidl.core.WorkflowNode; /** - * Encodes the specified WorkflowMetadata message. Does not implicitly {@link flyteidl.core.WorkflowMetadata.verify|verify} messages. - * @param message WorkflowMetadata message or plain object to encode + * Encodes the specified WorkflowNode message. Does not implicitly {@link flyteidl.core.WorkflowNode.verify|verify} messages. + * @param message WorkflowNode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IWorkflowMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IWorkflowNode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowMetadata message from the specified reader or buffer. + * Decodes a WorkflowNode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowMetadata + * @returns WorkflowNode * @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.core.WorkflowMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowNode; /** - * Verifies a WorkflowMetadata message. + * Verifies a WorkflowNode 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 WorkflowMetadata { - - /** OnFailurePolicy enum. */ - enum OnFailurePolicy { - FAIL_IMMEDIATELY = 0, - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1 - } - } - - /** Properties of a WorkflowMetadataDefaults. */ - interface IWorkflowMetadataDefaults { + /** Properties of an ApproveCondition. */ + interface IApproveCondition { - /** WorkflowMetadataDefaults interruptible */ - interruptible?: (boolean|null); + /** ApproveCondition signalId */ + signalId?: (string|null); } - /** Represents a WorkflowMetadataDefaults. */ - class WorkflowMetadataDefaults implements IWorkflowMetadataDefaults { + /** Represents an ApproveCondition. */ + class ApproveCondition implements IApproveCondition { /** - * Constructs a new WorkflowMetadataDefaults. + * Constructs a new ApproveCondition. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IWorkflowMetadataDefaults); + constructor(properties?: flyteidl.core.IApproveCondition); - /** WorkflowMetadataDefaults interruptible. */ - public interruptible: boolean; + /** ApproveCondition signalId. */ + public signalId: string; /** - * Creates a new WorkflowMetadataDefaults instance using the specified properties. + * Creates a new ApproveCondition instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowMetadataDefaults instance + * @returns ApproveCondition instance */ - public static create(properties?: flyteidl.core.IWorkflowMetadataDefaults): flyteidl.core.WorkflowMetadataDefaults; + public static create(properties?: flyteidl.core.IApproveCondition): flyteidl.core.ApproveCondition; /** - * Encodes the specified WorkflowMetadataDefaults message. Does not implicitly {@link flyteidl.core.WorkflowMetadataDefaults.verify|verify} messages. - * @param message WorkflowMetadataDefaults message or plain object to encode + * Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages. + * @param message ApproveCondition message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IWorkflowMetadataDefaults, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IApproveCondition, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowMetadataDefaults message from the specified reader or buffer. + * Decodes an ApproveCondition message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowMetadataDefaults + * @returns ApproveCondition * @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.core.WorkflowMetadataDefaults; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ApproveCondition; /** - * Verifies a WorkflowMetadataDefaults message. + * Verifies an ApproveCondition 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 WorkflowTemplate. */ - interface IWorkflowTemplate { - - /** WorkflowTemplate id */ - id?: (flyteidl.core.IIdentifier|null); - - /** WorkflowTemplate metadata */ - metadata?: (flyteidl.core.IWorkflowMetadata|null); - - /** WorkflowTemplate interface */ - "interface"?: (flyteidl.core.ITypedInterface|null); - - /** WorkflowTemplate nodes */ - nodes?: (flyteidl.core.INode[]|null); + /** Properties of a SignalCondition. */ + interface ISignalCondition { - /** WorkflowTemplate outputs */ - outputs?: (flyteidl.core.IBinding[]|null); + /** SignalCondition signalId */ + signalId?: (string|null); - /** WorkflowTemplate failureNode */ - failureNode?: (flyteidl.core.INode|null); + /** SignalCondition type */ + type?: (flyteidl.core.ILiteralType|null); - /** WorkflowTemplate metadataDefaults */ - metadataDefaults?: (flyteidl.core.IWorkflowMetadataDefaults|null); + /** SignalCondition outputVariableName */ + outputVariableName?: (string|null); } - /** Represents a WorkflowTemplate. */ - class WorkflowTemplate implements IWorkflowTemplate { + /** Represents a SignalCondition. */ + class SignalCondition implements ISignalCondition { /** - * Constructs a new WorkflowTemplate. + * Constructs a new SignalCondition. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IWorkflowTemplate); - - /** WorkflowTemplate id. */ - public id?: (flyteidl.core.IIdentifier|null); - - /** WorkflowTemplate metadata. */ - public metadata?: (flyteidl.core.IWorkflowMetadata|null); - - /** WorkflowTemplate interface. */ - public interface?: (flyteidl.core.ITypedInterface|null); - - /** WorkflowTemplate nodes. */ - public nodes: flyteidl.core.INode[]; + constructor(properties?: flyteidl.core.ISignalCondition); - /** WorkflowTemplate outputs. */ - public outputs: flyteidl.core.IBinding[]; + /** SignalCondition signalId. */ + public signalId: string; - /** WorkflowTemplate failureNode. */ - public failureNode?: (flyteidl.core.INode|null); + /** SignalCondition type. */ + public type?: (flyteidl.core.ILiteralType|null); - /** WorkflowTemplate metadataDefaults. */ - public metadataDefaults?: (flyteidl.core.IWorkflowMetadataDefaults|null); + /** SignalCondition outputVariableName. */ + public outputVariableName: string; /** - * Creates a new WorkflowTemplate instance using the specified properties. + * Creates a new SignalCondition instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowTemplate instance + * @returns SignalCondition instance */ - public static create(properties?: flyteidl.core.IWorkflowTemplate): flyteidl.core.WorkflowTemplate; + public static create(properties?: flyteidl.core.ISignalCondition): flyteidl.core.SignalCondition; /** - * Encodes the specified WorkflowTemplate message. Does not implicitly {@link flyteidl.core.WorkflowTemplate.verify|verify} messages. - * @param message WorkflowTemplate message or plain object to encode + * Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages. + * @param message SignalCondition message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IWorkflowTemplate, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ISignalCondition, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowTemplate message from the specified reader or buffer. + * Decodes a SignalCondition message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowTemplate + * @returns SignalCondition * @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.core.WorkflowTemplate; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SignalCondition; /** - * Verifies a WorkflowTemplate message. + * Verifies a SignalCondition 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 TaskNodeOverrides. */ - interface ITaskNodeOverrides { + /** Properties of a SleepCondition. */ + interface ISleepCondition { - /** TaskNodeOverrides resources */ - resources?: (flyteidl.core.IResources|null); + /** SleepCondition duration */ + duration?: (google.protobuf.IDuration|null); } - /** Represents a TaskNodeOverrides. */ - class TaskNodeOverrides implements ITaskNodeOverrides { + /** Represents a SleepCondition. */ + class SleepCondition implements ISleepCondition { /** - * Constructs a new TaskNodeOverrides. + * Constructs a new SleepCondition. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITaskNodeOverrides); + constructor(properties?: flyteidl.core.ISleepCondition); - /** TaskNodeOverrides resources. */ - public resources?: (flyteidl.core.IResources|null); + /** SleepCondition duration. */ + public duration?: (google.protobuf.IDuration|null); /** - * Creates a new TaskNodeOverrides instance using the specified properties. + * Creates a new SleepCondition instance using the specified properties. * @param [properties] Properties to set - * @returns TaskNodeOverrides instance + * @returns SleepCondition instance */ - public static create(properties?: flyteidl.core.ITaskNodeOverrides): flyteidl.core.TaskNodeOverrides; + public static create(properties?: flyteidl.core.ISleepCondition): flyteidl.core.SleepCondition; /** - * Encodes the specified TaskNodeOverrides message. Does not implicitly {@link flyteidl.core.TaskNodeOverrides.verify|verify} messages. - * @param message TaskNodeOverrides message or plain object to encode + * Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages. + * @param message SleepCondition message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITaskNodeOverrides, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ISleepCondition, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskNodeOverrides message from the specified reader or buffer. + * Decodes a SleepCondition message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskNodeOverrides + * @returns SleepCondition * @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.core.TaskNodeOverrides; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SleepCondition; /** - * Verifies a TaskNodeOverrides message. + * Verifies a SleepCondition 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 ComparisonExpression. */ - interface IComparisonExpression { + /** Properties of a GateNode. */ + interface IGateNode { - /** ComparisonExpression operator */ - operator?: (flyteidl.core.ComparisonExpression.Operator|null); + /** GateNode approve */ + approve?: (flyteidl.core.IApproveCondition|null); - /** ComparisonExpression leftValue */ - leftValue?: (flyteidl.core.IOperand|null); + /** GateNode signal */ + signal?: (flyteidl.core.ISignalCondition|null); - /** ComparisonExpression rightValue */ - rightValue?: (flyteidl.core.IOperand|null); + /** GateNode sleep */ + sleep?: (flyteidl.core.ISleepCondition|null); } - /** Represents a ComparisonExpression. */ - class ComparisonExpression implements IComparisonExpression { + /** Represents a GateNode. */ + class GateNode implements IGateNode { /** - * Constructs a new ComparisonExpression. + * Constructs a new GateNode. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IComparisonExpression); + constructor(properties?: flyteidl.core.IGateNode); - /** ComparisonExpression operator. */ - public operator: flyteidl.core.ComparisonExpression.Operator; + /** GateNode approve. */ + public approve?: (flyteidl.core.IApproveCondition|null); - /** ComparisonExpression leftValue. */ - public leftValue?: (flyteidl.core.IOperand|null); + /** GateNode signal. */ + public signal?: (flyteidl.core.ISignalCondition|null); - /** ComparisonExpression rightValue. */ - public rightValue?: (flyteidl.core.IOperand|null); + /** GateNode sleep. */ + public sleep?: (flyteidl.core.ISleepCondition|null); + + /** GateNode condition. */ + public condition?: ("approve"|"signal"|"sleep"); /** - * Creates a new ComparisonExpression instance using the specified properties. + * Creates a new GateNode instance using the specified properties. * @param [properties] Properties to set - * @returns ComparisonExpression instance + * @returns GateNode instance */ - public static create(properties?: flyteidl.core.IComparisonExpression): flyteidl.core.ComparisonExpression; + public static create(properties?: flyteidl.core.IGateNode): flyteidl.core.GateNode; /** - * Encodes the specified ComparisonExpression message. Does not implicitly {@link flyteidl.core.ComparisonExpression.verify|verify} messages. - * @param message ComparisonExpression message or plain object to encode + * Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages. + * @param message GateNode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IComparisonExpression, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IGateNode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ComparisonExpression message from the specified reader or buffer. + * Decodes a GateNode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ComparisonExpression + * @returns GateNode * @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.core.ComparisonExpression; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.GateNode; /** - * Verifies a ComparisonExpression message. + * Verifies a GateNode 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 ComparisonExpression { - - /** Operator enum. */ - enum Operator { - EQ = 0, - NEQ = 1, - GT = 2, - GTE = 3, - LT = 4, - LTE = 5 - } - } + /** Properties of an ArrayNode. */ + interface IArrayNode { - /** Properties of an Operand. */ - interface IOperand { + /** ArrayNode node */ + node?: (flyteidl.core.INode|null); - /** Operand primitive */ - primitive?: (flyteidl.core.IPrimitive|null); + /** ArrayNode parallelism */ + parallelism?: (number|null); - /** Operand var */ - "var"?: (string|null); + /** ArrayNode minSuccesses */ + minSuccesses?: (number|null); - /** Operand scalar */ - scalar?: (flyteidl.core.IScalar|null); + /** ArrayNode minSuccessRatio */ + minSuccessRatio?: (number|null); } - /** Represents an Operand. */ - class Operand implements IOperand { + /** Represents an ArrayNode. */ + class ArrayNode implements IArrayNode { /** - * Constructs a new Operand. + * Constructs a new ArrayNode. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IOperand); + constructor(properties?: flyteidl.core.IArrayNode); - /** Operand primitive. */ - public primitive?: (flyteidl.core.IPrimitive|null); + /** ArrayNode node. */ + public node?: (flyteidl.core.INode|null); - /** Operand var. */ - public var: string; + /** ArrayNode parallelism. */ + public parallelism: number; - /** Operand scalar. */ - public scalar?: (flyteidl.core.IScalar|null); + /** ArrayNode minSuccesses. */ + public minSuccesses: number; - /** Operand val. */ - public val?: ("primitive"|"var"|"scalar"); + /** ArrayNode minSuccessRatio. */ + public minSuccessRatio: number; + + /** ArrayNode successCriteria. */ + public successCriteria?: ("minSuccesses"|"minSuccessRatio"); /** - * Creates a new Operand instance using the specified properties. + * Creates a new ArrayNode instance using the specified properties. * @param [properties] Properties to set - * @returns Operand instance + * @returns ArrayNode instance */ - public static create(properties?: flyteidl.core.IOperand): flyteidl.core.Operand; + public static create(properties?: flyteidl.core.IArrayNode): flyteidl.core.ArrayNode; /** - * Encodes the specified Operand message. Does not implicitly {@link flyteidl.core.Operand.verify|verify} messages. - * @param message Operand message or plain object to encode + * Encodes the specified ArrayNode message. Does not implicitly {@link flyteidl.core.ArrayNode.verify|verify} messages. + * @param message ArrayNode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IOperand, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IArrayNode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Operand message from the specified reader or buffer. + * Decodes an ArrayNode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Operand + * @returns ArrayNode * @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.core.Operand; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArrayNode; /** - * Verifies an Operand message. + * Verifies an ArrayNode 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 BooleanExpression. */ - interface IBooleanExpression { + /** Properties of a NodeMetadata. */ + interface INodeMetadata { - /** BooleanExpression conjunction */ - conjunction?: (flyteidl.core.IConjunctionExpression|null); + /** NodeMetadata name */ + name?: (string|null); - /** BooleanExpression comparison */ - comparison?: (flyteidl.core.IComparisonExpression|null); + /** NodeMetadata timeout */ + timeout?: (google.protobuf.IDuration|null); + + /** NodeMetadata retries */ + retries?: (flyteidl.core.IRetryStrategy|null); + + /** NodeMetadata interruptible */ + interruptible?: (boolean|null); } - /** Represents a BooleanExpression. */ - class BooleanExpression implements IBooleanExpression { + /** Represents a NodeMetadata. */ + class NodeMetadata implements INodeMetadata { /** - * Constructs a new BooleanExpression. + * Constructs a new NodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBooleanExpression); + constructor(properties?: flyteidl.core.INodeMetadata); - /** BooleanExpression conjunction. */ - public conjunction?: (flyteidl.core.IConjunctionExpression|null); + /** NodeMetadata name. */ + public name: string; - /** BooleanExpression comparison. */ - public comparison?: (flyteidl.core.IComparisonExpression|null); + /** NodeMetadata timeout. */ + public timeout?: (google.protobuf.IDuration|null); - /** BooleanExpression expr. */ - public expr?: ("conjunction"|"comparison"); + /** NodeMetadata retries. */ + public retries?: (flyteidl.core.IRetryStrategy|null); + + /** NodeMetadata interruptible. */ + public interruptible: boolean; + + /** NodeMetadata interruptibleValue. */ + public interruptibleValue?: "interruptible"; /** - * Creates a new BooleanExpression instance using the specified properties. + * Creates a new NodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns BooleanExpression instance + * @returns NodeMetadata instance */ - public static create(properties?: flyteidl.core.IBooleanExpression): flyteidl.core.BooleanExpression; + public static create(properties?: flyteidl.core.INodeMetadata): flyteidl.core.NodeMetadata; /** - * Encodes the specified BooleanExpression message. Does not implicitly {@link flyteidl.core.BooleanExpression.verify|verify} messages. - * @param message BooleanExpression message or plain object to encode + * Encodes the specified NodeMetadata message. Does not implicitly {@link flyteidl.core.NodeMetadata.verify|verify} messages. + * @param message NodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBooleanExpression, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.INodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a BooleanExpression message from the specified reader or buffer. + * Decodes a NodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BooleanExpression + * @returns NodeMetadata * @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.core.BooleanExpression; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.NodeMetadata; /** - * Verifies a BooleanExpression message. + * Verifies a NodeMetadata 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 ConjunctionExpression. */ - interface IConjunctionExpression { - - /** ConjunctionExpression operator */ - operator?: (flyteidl.core.ConjunctionExpression.LogicalOperator|null); + /** Properties of an Alias. */ + interface IAlias { - /** ConjunctionExpression leftExpression */ - leftExpression?: (flyteidl.core.IBooleanExpression|null); + /** Alias var */ + "var"?: (string|null); - /** ConjunctionExpression rightExpression */ - rightExpression?: (flyteidl.core.IBooleanExpression|null); + /** Alias alias */ + alias?: (string|null); } - /** Represents a ConjunctionExpression. */ - class ConjunctionExpression implements IConjunctionExpression { + /** Represents an Alias. */ + class Alias implements IAlias { /** - * Constructs a new ConjunctionExpression. + * Constructs a new Alias. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IConjunctionExpression); - - /** ConjunctionExpression operator. */ - public operator: flyteidl.core.ConjunctionExpression.LogicalOperator; + constructor(properties?: flyteidl.core.IAlias); - /** ConjunctionExpression leftExpression. */ - public leftExpression?: (flyteidl.core.IBooleanExpression|null); + /** Alias var. */ + public var: string; - /** ConjunctionExpression rightExpression. */ - public rightExpression?: (flyteidl.core.IBooleanExpression|null); + /** Alias alias. */ + public alias: string; /** - * Creates a new ConjunctionExpression instance using the specified properties. + * Creates a new Alias instance using the specified properties. * @param [properties] Properties to set - * @returns ConjunctionExpression instance + * @returns Alias instance */ - public static create(properties?: flyteidl.core.IConjunctionExpression): flyteidl.core.ConjunctionExpression; + public static create(properties?: flyteidl.core.IAlias): flyteidl.core.Alias; /** - * Encodes the specified ConjunctionExpression message. Does not implicitly {@link flyteidl.core.ConjunctionExpression.verify|verify} messages. - * @param message ConjunctionExpression message or plain object to encode + * Encodes the specified Alias message. Does not implicitly {@link flyteidl.core.Alias.verify|verify} messages. + * @param message Alias message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IConjunctionExpression, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IAlias, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ConjunctionExpression message from the specified reader or buffer. + * Decodes an Alias message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ConjunctionExpression + * @returns Alias * @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.core.ConjunctionExpression; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Alias; /** - * Verifies a ConjunctionExpression message. + * Verifies an Alias 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 ConjunctionExpression { + /** Properties of a Node. */ + interface INode { - /** LogicalOperator enum. */ - enum LogicalOperator { - AND = 0, - OR = 1 - } - } + /** Node id */ + id?: (string|null); - /** Properties of a Primitive. */ - interface IPrimitive { + /** Node metadata */ + metadata?: (flyteidl.core.INodeMetadata|null); - /** Primitive integer */ - integer?: (Long|null); + /** Node inputs */ + inputs?: (flyteidl.core.IBinding[]|null); - /** Primitive floatValue */ - floatValue?: (number|null); + /** Node upstreamNodeIds */ + upstreamNodeIds?: (string[]|null); - /** Primitive stringValue */ - stringValue?: (string|null); + /** Node outputAliases */ + outputAliases?: (flyteidl.core.IAlias[]|null); - /** Primitive boolean */ - boolean?: (boolean|null); + /** Node taskNode */ + taskNode?: (flyteidl.core.ITaskNode|null); - /** Primitive datetime */ - datetime?: (google.protobuf.ITimestamp|null); + /** Node workflowNode */ + workflowNode?: (flyteidl.core.IWorkflowNode|null); - /** Primitive duration */ - duration?: (google.protobuf.IDuration|null); + /** Node branchNode */ + branchNode?: (flyteidl.core.IBranchNode|null); + + /** Node gateNode */ + gateNode?: (flyteidl.core.IGateNode|null); + + /** Node arrayNode */ + arrayNode?: (flyteidl.core.IArrayNode|null); } - /** Represents a Primitive. */ - class Primitive implements IPrimitive { + /** Represents a Node. */ + class Node implements INode { /** - * Constructs a new Primitive. + * Constructs a new Node. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IPrimitive); + constructor(properties?: flyteidl.core.INode); - /** Primitive integer. */ - public integer: Long; + /** Node id. */ + public id: string; - /** Primitive floatValue. */ - public floatValue: number; + /** Node metadata. */ + public metadata?: (flyteidl.core.INodeMetadata|null); - /** Primitive stringValue. */ - public stringValue: string; + /** Node inputs. */ + public inputs: flyteidl.core.IBinding[]; - /** Primitive boolean. */ - public boolean: boolean; + /** Node upstreamNodeIds. */ + public upstreamNodeIds: string[]; - /** Primitive datetime. */ - public datetime?: (google.protobuf.ITimestamp|null); + /** Node outputAliases. */ + public outputAliases: flyteidl.core.IAlias[]; - /** Primitive duration. */ - public duration?: (google.protobuf.IDuration|null); + /** Node taskNode. */ + public taskNode?: (flyteidl.core.ITaskNode|null); - /** Primitive value. */ - public value?: ("integer"|"floatValue"|"stringValue"|"boolean"|"datetime"|"duration"); + /** Node workflowNode. */ + public workflowNode?: (flyteidl.core.IWorkflowNode|null); + + /** Node branchNode. */ + public branchNode?: (flyteidl.core.IBranchNode|null); + + /** Node gateNode. */ + public gateNode?: (flyteidl.core.IGateNode|null); + + /** Node arrayNode. */ + public arrayNode?: (flyteidl.core.IArrayNode|null); + + /** Node target. */ + public target?: ("taskNode"|"workflowNode"|"branchNode"|"gateNode"|"arrayNode"); /** - * Creates a new Primitive instance using the specified properties. + * Creates a new Node instance using the specified properties. * @param [properties] Properties to set - * @returns Primitive instance + * @returns Node instance */ - public static create(properties?: flyteidl.core.IPrimitive): flyteidl.core.Primitive; + public static create(properties?: flyteidl.core.INode): flyteidl.core.Node; /** - * Encodes the specified Primitive message. Does not implicitly {@link flyteidl.core.Primitive.verify|verify} messages. - * @param message Primitive message or plain object to encode + * Encodes the specified Node message. Does not implicitly {@link flyteidl.core.Node.verify|verify} messages. + * @param message Node message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IPrimitive, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.INode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Primitive message from the specified reader or buffer. + * Decodes a Node message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Primitive + * @returns Node * @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.core.Primitive; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Node; /** - * Verifies a Primitive message. + * Verifies a Node 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 Void. */ - interface IVoid { + /** Properties of a WorkflowMetadata. */ + interface IWorkflowMetadata { + + /** WorkflowMetadata qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** WorkflowMetadata onFailure */ + onFailure?: (flyteidl.core.WorkflowMetadata.OnFailurePolicy|null); + + /** WorkflowMetadata tags */ + tags?: ({ [k: string]: string }|null); } - /** Represents a Void. */ - class Void implements IVoid { + /** Represents a WorkflowMetadata. */ + class WorkflowMetadata implements IWorkflowMetadata { /** - * Constructs a new Void. + * Constructs a new WorkflowMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IVoid); + constructor(properties?: flyteidl.core.IWorkflowMetadata); + + /** WorkflowMetadata qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** WorkflowMetadata onFailure. */ + public onFailure: flyteidl.core.WorkflowMetadata.OnFailurePolicy; + + /** WorkflowMetadata tags. */ + public tags: { [k: string]: string }; /** - * Creates a new Void instance using the specified properties. + * Creates a new WorkflowMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns Void instance + * @returns WorkflowMetadata instance */ - public static create(properties?: flyteidl.core.IVoid): flyteidl.core.Void; + public static create(properties?: flyteidl.core.IWorkflowMetadata): flyteidl.core.WorkflowMetadata; /** - * Encodes the specified Void message. Does not implicitly {@link flyteidl.core.Void.verify|verify} messages. - * @param message Void message or plain object to encode + * Encodes the specified WorkflowMetadata message. Does not implicitly {@link flyteidl.core.WorkflowMetadata.verify|verify} messages. + * @param message WorkflowMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IVoid, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IWorkflowMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Void message from the specified reader or buffer. + * Decodes a WorkflowMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Void + * @returns WorkflowMetadata * @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.core.Void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowMetadata; /** - * Verifies a Void message. + * Verifies a WorkflowMetadata 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 Blob. */ - interface IBlob { + namespace WorkflowMetadata { - /** Blob metadata */ - metadata?: (flyteidl.core.IBlobMetadata|null); + /** OnFailurePolicy enum. */ + enum OnFailurePolicy { + FAIL_IMMEDIATELY = 0, + FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1 + } + } - /** Blob uri */ - uri?: (string|null); + /** Properties of a WorkflowMetadataDefaults. */ + interface IWorkflowMetadataDefaults { + + /** WorkflowMetadataDefaults interruptible */ + interruptible?: (boolean|null); } - /** Represents a Blob. */ - class Blob implements IBlob { + /** Represents a WorkflowMetadataDefaults. */ + class WorkflowMetadataDefaults implements IWorkflowMetadataDefaults { /** - * Constructs a new Blob. + * Constructs a new WorkflowMetadataDefaults. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBlob); - - /** Blob metadata. */ - public metadata?: (flyteidl.core.IBlobMetadata|null); + constructor(properties?: flyteidl.core.IWorkflowMetadataDefaults); - /** Blob uri. */ - public uri: string; + /** WorkflowMetadataDefaults interruptible. */ + public interruptible: boolean; /** - * Creates a new Blob instance using the specified properties. + * Creates a new WorkflowMetadataDefaults instance using the specified properties. * @param [properties] Properties to set - * @returns Blob instance + * @returns WorkflowMetadataDefaults instance */ - public static create(properties?: flyteidl.core.IBlob): flyteidl.core.Blob; + public static create(properties?: flyteidl.core.IWorkflowMetadataDefaults): flyteidl.core.WorkflowMetadataDefaults; /** - * Encodes the specified Blob message. Does not implicitly {@link flyteidl.core.Blob.verify|verify} messages. - * @param message Blob message or plain object to encode + * Encodes the specified WorkflowMetadataDefaults message. Does not implicitly {@link flyteidl.core.WorkflowMetadataDefaults.verify|verify} messages. + * @param message WorkflowMetadataDefaults message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBlob, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IWorkflowMetadataDefaults, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Blob message from the specified reader or buffer. + * Decodes a WorkflowMetadataDefaults message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Blob + * @returns WorkflowMetadataDefaults * @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.core.Blob; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowMetadataDefaults; /** - * Verifies a Blob message. + * Verifies a WorkflowMetadataDefaults 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 BlobMetadata. */ - interface IBlobMetadata { + /** Properties of a WorkflowTemplate. */ + interface IWorkflowTemplate { - /** BlobMetadata type */ - type?: (flyteidl.core.IBlobType|null); + /** WorkflowTemplate id */ + id?: (flyteidl.core.IIdentifier|null); + + /** WorkflowTemplate metadata */ + metadata?: (flyteidl.core.IWorkflowMetadata|null); + + /** WorkflowTemplate interface */ + "interface"?: (flyteidl.core.ITypedInterface|null); + + /** WorkflowTemplate nodes */ + nodes?: (flyteidl.core.INode[]|null); + + /** WorkflowTemplate outputs */ + outputs?: (flyteidl.core.IBinding[]|null); + + /** WorkflowTemplate failureNode */ + failureNode?: (flyteidl.core.INode|null); + + /** WorkflowTemplate metadataDefaults */ + metadataDefaults?: (flyteidl.core.IWorkflowMetadataDefaults|null); } - /** Represents a BlobMetadata. */ - class BlobMetadata implements IBlobMetadata { + /** Represents a WorkflowTemplate. */ + class WorkflowTemplate implements IWorkflowTemplate { /** - * Constructs a new BlobMetadata. + * Constructs a new WorkflowTemplate. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBlobMetadata); + constructor(properties?: flyteidl.core.IWorkflowTemplate); - /** BlobMetadata type. */ - public type?: (flyteidl.core.IBlobType|null); + /** WorkflowTemplate id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** WorkflowTemplate metadata. */ + public metadata?: (flyteidl.core.IWorkflowMetadata|null); + + /** WorkflowTemplate interface. */ + public interface?: (flyteidl.core.ITypedInterface|null); + + /** WorkflowTemplate nodes. */ + public nodes: flyteidl.core.INode[]; + + /** WorkflowTemplate outputs. */ + public outputs: flyteidl.core.IBinding[]; + + /** WorkflowTemplate failureNode. */ + public failureNode?: (flyteidl.core.INode|null); + + /** WorkflowTemplate metadataDefaults. */ + public metadataDefaults?: (flyteidl.core.IWorkflowMetadataDefaults|null); /** - * Creates a new BlobMetadata instance using the specified properties. + * Creates a new WorkflowTemplate instance using the specified properties. * @param [properties] Properties to set - * @returns BlobMetadata instance + * @returns WorkflowTemplate instance */ - public static create(properties?: flyteidl.core.IBlobMetadata): flyteidl.core.BlobMetadata; + public static create(properties?: flyteidl.core.IWorkflowTemplate): flyteidl.core.WorkflowTemplate; /** - * Encodes the specified BlobMetadata message. Does not implicitly {@link flyteidl.core.BlobMetadata.verify|verify} messages. - * @param message BlobMetadata message or plain object to encode + * Encodes the specified WorkflowTemplate message. Does not implicitly {@link flyteidl.core.WorkflowTemplate.verify|verify} messages. + * @param message WorkflowTemplate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBlobMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IWorkflowTemplate, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a BlobMetadata message from the specified reader or buffer. + * Decodes a WorkflowTemplate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BlobMetadata + * @returns WorkflowTemplate * @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.core.BlobMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowTemplate; /** - * Verifies a BlobMetadata message. + * Verifies a WorkflowTemplate 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 Binary. */ - interface IBinary { - - /** Binary value */ - value?: (Uint8Array|null); + /** Properties of a TaskNodeOverrides. */ + interface ITaskNodeOverrides { - /** Binary tag */ - tag?: (string|null); + /** TaskNodeOverrides resources */ + resources?: (flyteidl.core.IResources|null); } - /** Represents a Binary. */ - class Binary implements IBinary { + /** Represents a TaskNodeOverrides. */ + class TaskNodeOverrides implements ITaskNodeOverrides { /** - * Constructs a new Binary. + * Constructs a new TaskNodeOverrides. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBinary); - - /** Binary value. */ - public value: Uint8Array; + constructor(properties?: flyteidl.core.ITaskNodeOverrides); - /** Binary tag. */ - public tag: string; + /** TaskNodeOverrides resources. */ + public resources?: (flyteidl.core.IResources|null); /** - * Creates a new Binary instance using the specified properties. + * Creates a new TaskNodeOverrides instance using the specified properties. * @param [properties] Properties to set - * @returns Binary instance + * @returns TaskNodeOverrides instance */ - public static create(properties?: flyteidl.core.IBinary): flyteidl.core.Binary; + public static create(properties?: flyteidl.core.ITaskNodeOverrides): flyteidl.core.TaskNodeOverrides; /** - * Encodes the specified Binary message. Does not implicitly {@link flyteidl.core.Binary.verify|verify} messages. - * @param message Binary message or plain object to encode + * Encodes the specified TaskNodeOverrides message. Does not implicitly {@link flyteidl.core.TaskNodeOverrides.verify|verify} messages. + * @param message TaskNodeOverrides message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBinary, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITaskNodeOverrides, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Binary message from the specified reader or buffer. + * Decodes a TaskNodeOverrides message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Binary + * @returns TaskNodeOverrides * @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.core.Binary; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskNodeOverrides; /** - * Verifies a Binary message. + * Verifies a TaskNodeOverrides 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 Schema. */ - interface ISchema { + /** Properties of a ComparisonExpression. */ + interface IComparisonExpression { - /** Schema uri */ - uri?: (string|null); + /** ComparisonExpression operator */ + operator?: (flyteidl.core.ComparisonExpression.Operator|null); - /** Schema type */ - type?: (flyteidl.core.ISchemaType|null); + /** ComparisonExpression leftValue */ + leftValue?: (flyteidl.core.IOperand|null); + + /** ComparisonExpression rightValue */ + rightValue?: (flyteidl.core.IOperand|null); } - /** Represents a Schema. */ - class Schema implements ISchema { + /** Represents a ComparisonExpression. */ + class ComparisonExpression implements IComparisonExpression { /** - * Constructs a new Schema. + * Constructs a new ComparisonExpression. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISchema); + constructor(properties?: flyteidl.core.IComparisonExpression); - /** Schema uri. */ - public uri: string; + /** ComparisonExpression operator. */ + public operator: flyteidl.core.ComparisonExpression.Operator; - /** Schema type. */ - public type?: (flyteidl.core.ISchemaType|null); + /** ComparisonExpression leftValue. */ + public leftValue?: (flyteidl.core.IOperand|null); + + /** ComparisonExpression rightValue. */ + public rightValue?: (flyteidl.core.IOperand|null); /** - * Creates a new Schema instance using the specified properties. + * Creates a new ComparisonExpression instance using the specified properties. * @param [properties] Properties to set - * @returns Schema instance + * @returns ComparisonExpression instance */ - public static create(properties?: flyteidl.core.ISchema): flyteidl.core.Schema; + public static create(properties?: flyteidl.core.IComparisonExpression): flyteidl.core.ComparisonExpression; /** - * Encodes the specified Schema message. Does not implicitly {@link flyteidl.core.Schema.verify|verify} messages. - * @param message Schema message or plain object to encode + * Encodes the specified ComparisonExpression message. Does not implicitly {@link flyteidl.core.ComparisonExpression.verify|verify} messages. + * @param message ComparisonExpression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISchema, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IComparisonExpression, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Schema message from the specified reader or buffer. + * Decodes a ComparisonExpression message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Schema + * @returns ComparisonExpression * @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.core.Schema; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ComparisonExpression; /** - * Verifies a Schema message. + * Verifies a ComparisonExpression 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 Union. */ - interface IUnion { + namespace ComparisonExpression { - /** Union value */ - value?: (flyteidl.core.ILiteral|null); + /** Operator enum. */ + enum Operator { + EQ = 0, + NEQ = 1, + GT = 2, + GTE = 3, + LT = 4, + LTE = 5 + } + } - /** Union type */ - type?: (flyteidl.core.ILiteralType|null); + /** Properties of an Operand. */ + interface IOperand { + + /** Operand primitive */ + primitive?: (flyteidl.core.IPrimitive|null); + + /** Operand var */ + "var"?: (string|null); + + /** Operand scalar */ + scalar?: (flyteidl.core.IScalar|null); } - /** Represents an Union. */ - class Union implements IUnion { + /** Represents an Operand. */ + class Operand implements IOperand { /** - * Constructs a new Union. + * Constructs a new Operand. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IUnion); + constructor(properties?: flyteidl.core.IOperand); - /** Union value. */ - public value?: (flyteidl.core.ILiteral|null); + /** Operand primitive. */ + public primitive?: (flyteidl.core.IPrimitive|null); - /** Union type. */ - public type?: (flyteidl.core.ILiteralType|null); + /** Operand var. */ + public var: string; + + /** Operand scalar. */ + public scalar?: (flyteidl.core.IScalar|null); + + /** Operand val. */ + public val?: ("primitive"|"var"|"scalar"); /** - * Creates a new Union instance using the specified properties. + * Creates a new Operand instance using the specified properties. * @param [properties] Properties to set - * @returns Union instance + * @returns Operand instance */ - public static create(properties?: flyteidl.core.IUnion): flyteidl.core.Union; + public static create(properties?: flyteidl.core.IOperand): flyteidl.core.Operand; /** - * Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages. - * @param message Union message or plain object to encode + * Encodes the specified Operand message. Does not implicitly {@link flyteidl.core.Operand.verify|verify} messages. + * @param message Operand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IUnion, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IOperand, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Union message from the specified reader or buffer. + * Decodes an Operand message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Union + * @returns Operand * @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.core.Union; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Operand; /** - * Verifies an Union message. + * Verifies an Operand 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 StructuredDatasetMetadata. */ - interface IStructuredDatasetMetadata { + /** Properties of a BooleanExpression. */ + interface IBooleanExpression { - /** StructuredDatasetMetadata structuredDatasetType */ - structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + /** BooleanExpression conjunction */ + conjunction?: (flyteidl.core.IConjunctionExpression|null); + + /** BooleanExpression comparison */ + comparison?: (flyteidl.core.IComparisonExpression|null); } - /** Represents a StructuredDatasetMetadata. */ - class StructuredDatasetMetadata implements IStructuredDatasetMetadata { + /** Represents a BooleanExpression. */ + class BooleanExpression implements IBooleanExpression { /** - * Constructs a new StructuredDatasetMetadata. + * Constructs a new BooleanExpression. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IStructuredDatasetMetadata); + constructor(properties?: flyteidl.core.IBooleanExpression); - /** StructuredDatasetMetadata structuredDatasetType. */ - public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + /** BooleanExpression conjunction. */ + public conjunction?: (flyteidl.core.IConjunctionExpression|null); + + /** BooleanExpression comparison. */ + public comparison?: (flyteidl.core.IComparisonExpression|null); + + /** BooleanExpression expr. */ + public expr?: ("conjunction"|"comparison"); /** - * Creates a new StructuredDatasetMetadata instance using the specified properties. + * Creates a new BooleanExpression instance using the specified properties. * @param [properties] Properties to set - * @returns StructuredDatasetMetadata instance + * @returns BooleanExpression instance */ - public static create(properties?: flyteidl.core.IStructuredDatasetMetadata): flyteidl.core.StructuredDatasetMetadata; + public static create(properties?: flyteidl.core.IBooleanExpression): flyteidl.core.BooleanExpression; /** - * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages. - * @param message StructuredDatasetMetadata message or plain object to encode + * Encodes the specified BooleanExpression message. Does not implicitly {@link flyteidl.core.BooleanExpression.verify|verify} messages. + * @param message BooleanExpression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IStructuredDatasetMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBooleanExpression, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a StructuredDatasetMetadata message from the specified reader or buffer. + * Decodes a BooleanExpression message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns StructuredDatasetMetadata + * @returns BooleanExpression * @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.core.StructuredDatasetMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.BooleanExpression; /** - * Verifies a StructuredDatasetMetadata message. + * Verifies a BooleanExpression 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 StructuredDataset. */ - interface IStructuredDataset { + /** Properties of a ConjunctionExpression. */ + interface IConjunctionExpression { - /** StructuredDataset uri */ - uri?: (string|null); + /** ConjunctionExpression operator */ + operator?: (flyteidl.core.ConjunctionExpression.LogicalOperator|null); - /** StructuredDataset metadata */ - metadata?: (flyteidl.core.IStructuredDatasetMetadata|null); + /** ConjunctionExpression leftExpression */ + leftExpression?: (flyteidl.core.IBooleanExpression|null); + + /** ConjunctionExpression rightExpression */ + rightExpression?: (flyteidl.core.IBooleanExpression|null); } - /** Represents a StructuredDataset. */ - class StructuredDataset implements IStructuredDataset { + /** Represents a ConjunctionExpression. */ + class ConjunctionExpression implements IConjunctionExpression { /** - * Constructs a new StructuredDataset. + * Constructs a new ConjunctionExpression. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IStructuredDataset); + constructor(properties?: flyteidl.core.IConjunctionExpression); - /** StructuredDataset uri. */ - public uri: string; + /** ConjunctionExpression operator. */ + public operator: flyteidl.core.ConjunctionExpression.LogicalOperator; - /** StructuredDataset metadata. */ - public metadata?: (flyteidl.core.IStructuredDatasetMetadata|null); + /** ConjunctionExpression leftExpression. */ + public leftExpression?: (flyteidl.core.IBooleanExpression|null); + + /** ConjunctionExpression rightExpression. */ + public rightExpression?: (flyteidl.core.IBooleanExpression|null); /** - * Creates a new StructuredDataset instance using the specified properties. + * Creates a new ConjunctionExpression instance using the specified properties. * @param [properties] Properties to set - * @returns StructuredDataset instance + * @returns ConjunctionExpression instance */ - public static create(properties?: flyteidl.core.IStructuredDataset): flyteidl.core.StructuredDataset; + public static create(properties?: flyteidl.core.IConjunctionExpression): flyteidl.core.ConjunctionExpression; /** - * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages. - * @param message StructuredDataset message or plain object to encode + * Encodes the specified ConjunctionExpression message. Does not implicitly {@link flyteidl.core.ConjunctionExpression.verify|verify} messages. + * @param message ConjunctionExpression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IStructuredDataset, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IConjunctionExpression, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a StructuredDataset message from the specified reader or buffer. + * Decodes a ConjunctionExpression message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns StructuredDataset + * @returns ConjunctionExpression * @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.core.StructuredDataset; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ConjunctionExpression; /** - * Verifies a StructuredDataset message. + * Verifies a ConjunctionExpression 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 Scalar. */ - interface IScalar { - - /** Scalar primitive */ - primitive?: (flyteidl.core.IPrimitive|null); + namespace ConjunctionExpression { - /** Scalar blob */ - blob?: (flyteidl.core.IBlob|null); + /** LogicalOperator enum. */ + enum LogicalOperator { + AND = 0, + OR = 1 + } + } - /** Scalar binary */ - binary?: (flyteidl.core.IBinary|null); + /** Properties of a Primitive. */ + interface IPrimitive { - /** Scalar schema */ - schema?: (flyteidl.core.ISchema|null); + /** Primitive integer */ + integer?: (Long|null); - /** Scalar noneType */ - noneType?: (flyteidl.core.IVoid|null); + /** Primitive floatValue */ + floatValue?: (number|null); - /** Scalar error */ - error?: (flyteidl.core.IError|null); + /** Primitive stringValue */ + stringValue?: (string|null); - /** Scalar generic */ - generic?: (google.protobuf.IStruct|null); + /** Primitive boolean */ + boolean?: (boolean|null); - /** Scalar structuredDataset */ - structuredDataset?: (flyteidl.core.IStructuredDataset|null); + /** Primitive datetime */ + datetime?: (google.protobuf.ITimestamp|null); - /** Scalar union */ - union?: (flyteidl.core.IUnion|null); + /** Primitive duration */ + duration?: (google.protobuf.IDuration|null); } - /** Represents a Scalar. */ - class Scalar implements IScalar { + /** Represents a Primitive. */ + class Primitive implements IPrimitive { /** - * Constructs a new Scalar. + * Constructs a new Primitive. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IScalar); - - /** Scalar primitive. */ - public primitive?: (flyteidl.core.IPrimitive|null); - - /** Scalar blob. */ - public blob?: (flyteidl.core.IBlob|null); - - /** Scalar binary. */ - public binary?: (flyteidl.core.IBinary|null); + constructor(properties?: flyteidl.core.IPrimitive); - /** Scalar schema. */ - public schema?: (flyteidl.core.ISchema|null); + /** Primitive integer. */ + public integer: Long; - /** Scalar noneType. */ - public noneType?: (flyteidl.core.IVoid|null); + /** Primitive floatValue. */ + public floatValue: number; - /** Scalar error. */ - public error?: (flyteidl.core.IError|null); + /** Primitive stringValue. */ + public stringValue: string; - /** Scalar generic. */ - public generic?: (google.protobuf.IStruct|null); + /** Primitive boolean. */ + public boolean: boolean; - /** Scalar structuredDataset. */ - public structuredDataset?: (flyteidl.core.IStructuredDataset|null); + /** Primitive datetime. */ + public datetime?: (google.protobuf.ITimestamp|null); - /** Scalar union. */ - public union?: (flyteidl.core.IUnion|null); + /** Primitive duration. */ + public duration?: (google.protobuf.IDuration|null); - /** Scalar value. */ - public value?: ("primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union"); + /** Primitive value. */ + public value?: ("integer"|"floatValue"|"stringValue"|"boolean"|"datetime"|"duration"); /** - * Creates a new Scalar instance using the specified properties. + * Creates a new Primitive instance using the specified properties. * @param [properties] Properties to set - * @returns Scalar instance + * @returns Primitive instance */ - public static create(properties?: flyteidl.core.IScalar): flyteidl.core.Scalar; + public static create(properties?: flyteidl.core.IPrimitive): flyteidl.core.Primitive; /** - * Encodes the specified Scalar message. Does not implicitly {@link flyteidl.core.Scalar.verify|verify} messages. - * @param message Scalar message or plain object to encode + * Encodes the specified Primitive message. Does not implicitly {@link flyteidl.core.Primitive.verify|verify} messages. + * @param message Primitive message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IScalar, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IPrimitive, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Scalar message from the specified reader or buffer. + * Decodes a Primitive message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Scalar + * @returns Primitive * @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.core.Scalar; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Primitive; /** - * Verifies a Scalar message. + * Verifies a Primitive 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 Literal. */ - interface ILiteral { - - /** Literal scalar */ - scalar?: (flyteidl.core.IScalar|null); - - /** Literal collection */ - collection?: (flyteidl.core.ILiteralCollection|null); - - /** Literal map */ - map?: (flyteidl.core.ILiteralMap|null); - - /** Literal hash */ - hash?: (string|null); + /** Properties of a Void. */ + interface IVoid { } - /** Represents a Literal. */ - class Literal implements ILiteral { + /** Represents a Void. */ + class Void implements IVoid { /** - * Constructs a new Literal. + * Constructs a new Void. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ILiteral); - - /** Literal scalar. */ - public scalar?: (flyteidl.core.IScalar|null); - - /** Literal collection. */ - public collection?: (flyteidl.core.ILiteralCollection|null); - - /** Literal map. */ - public map?: (flyteidl.core.ILiteralMap|null); - - /** Literal hash. */ - public hash: string; - - /** Literal value. */ - public value?: ("scalar"|"collection"|"map"); + constructor(properties?: flyteidl.core.IVoid); /** - * Creates a new Literal instance using the specified properties. + * Creates a new Void instance using the specified properties. * @param [properties] Properties to set - * @returns Literal instance + * @returns Void instance */ - public static create(properties?: flyteidl.core.ILiteral): flyteidl.core.Literal; + public static create(properties?: flyteidl.core.IVoid): flyteidl.core.Void; /** - * Encodes the specified Literal message. Does not implicitly {@link flyteidl.core.Literal.verify|verify} messages. - * @param message Literal message or plain object to encode + * Encodes the specified Void message. Does not implicitly {@link flyteidl.core.Void.verify|verify} messages. + * @param message Void message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ILiteral, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IVoid, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Literal message from the specified reader or buffer. + * Decodes a Void message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Literal + * @returns Void * @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.core.Literal; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Void; /** - * Verifies a Literal message. + * Verifies a Void 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 LiteralCollection. */ - interface ILiteralCollection { + /** Properties of a Blob. */ + interface IBlob { - /** LiteralCollection literals */ - literals?: (flyteidl.core.ILiteral[]|null); + /** Blob metadata */ + metadata?: (flyteidl.core.IBlobMetadata|null); + + /** Blob uri */ + uri?: (string|null); } - /** Represents a LiteralCollection. */ - class LiteralCollection implements ILiteralCollection { + /** Represents a Blob. */ + class Blob implements IBlob { /** - * Constructs a new LiteralCollection. + * Constructs a new Blob. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ILiteralCollection); + constructor(properties?: flyteidl.core.IBlob); - /** LiteralCollection literals. */ - public literals: flyteidl.core.ILiteral[]; + /** Blob metadata. */ + public metadata?: (flyteidl.core.IBlobMetadata|null); + + /** Blob uri. */ + public uri: string; /** - * Creates a new LiteralCollection instance using the specified properties. + * Creates a new Blob instance using the specified properties. * @param [properties] Properties to set - * @returns LiteralCollection instance + * @returns Blob instance */ - public static create(properties?: flyteidl.core.ILiteralCollection): flyteidl.core.LiteralCollection; + public static create(properties?: flyteidl.core.IBlob): flyteidl.core.Blob; /** - * Encodes the specified LiteralCollection message. Does not implicitly {@link flyteidl.core.LiteralCollection.verify|verify} messages. - * @param message LiteralCollection message or plain object to encode + * Encodes the specified Blob message. Does not implicitly {@link flyteidl.core.Blob.verify|verify} messages. + * @param message Blob message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ILiteralCollection, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBlob, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LiteralCollection message from the specified reader or buffer. + * Decodes a Blob message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LiteralCollection + * @returns Blob * @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.core.LiteralCollection; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Blob; /** - * Verifies a LiteralCollection message. + * Verifies a Blob 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 LiteralMap. */ - interface ILiteralMap { + /** Properties of a BlobMetadata. */ + interface IBlobMetadata { - /** LiteralMap literals */ - literals?: ({ [k: string]: flyteidl.core.ILiteral }|null); + /** BlobMetadata type */ + type?: (flyteidl.core.IBlobType|null); } - /** Represents a LiteralMap. */ - class LiteralMap implements ILiteralMap { + /** Represents a BlobMetadata. */ + class BlobMetadata implements IBlobMetadata { /** - * Constructs a new LiteralMap. + * Constructs a new BlobMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ILiteralMap); + constructor(properties?: flyteidl.core.IBlobMetadata); - /** LiteralMap literals. */ - public literals: { [k: string]: flyteidl.core.ILiteral }; + /** BlobMetadata type. */ + public type?: (flyteidl.core.IBlobType|null); /** - * Creates a new LiteralMap instance using the specified properties. + * Creates a new BlobMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns LiteralMap instance + * @returns BlobMetadata instance */ - public static create(properties?: flyteidl.core.ILiteralMap): flyteidl.core.LiteralMap; + public static create(properties?: flyteidl.core.IBlobMetadata): flyteidl.core.BlobMetadata; /** - * Encodes the specified LiteralMap message. Does not implicitly {@link flyteidl.core.LiteralMap.verify|verify} messages. - * @param message LiteralMap message or plain object to encode + * Encodes the specified BlobMetadata message. Does not implicitly {@link flyteidl.core.BlobMetadata.verify|verify} messages. + * @param message BlobMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ILiteralMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBlobMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LiteralMap message from the specified reader or buffer. + * Decodes a BlobMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LiteralMap + * @returns BlobMetadata * @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.core.LiteralMap; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.BlobMetadata; /** - * Verifies a LiteralMap message. + * Verifies a BlobMetadata 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 BindingDataCollection. */ - interface IBindingDataCollection { + /** Properties of a Binary. */ + interface IBinary { - /** BindingDataCollection bindings */ - bindings?: (flyteidl.core.IBindingData[]|null); + /** Binary value */ + value?: (Uint8Array|null); + + /** Binary tag */ + tag?: (string|null); } - /** Represents a BindingDataCollection. */ - class BindingDataCollection implements IBindingDataCollection { + /** Represents a Binary. */ + class Binary implements IBinary { /** - * Constructs a new BindingDataCollection. + * Constructs a new Binary. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBindingDataCollection); + constructor(properties?: flyteidl.core.IBinary); - /** BindingDataCollection bindings. */ - public bindings: flyteidl.core.IBindingData[]; + /** Binary value. */ + public value: Uint8Array; + + /** Binary tag. */ + public tag: string; /** - * Creates a new BindingDataCollection instance using the specified properties. + * Creates a new Binary instance using the specified properties. * @param [properties] Properties to set - * @returns BindingDataCollection instance + * @returns Binary instance */ - public static create(properties?: flyteidl.core.IBindingDataCollection): flyteidl.core.BindingDataCollection; + public static create(properties?: flyteidl.core.IBinary): flyteidl.core.Binary; /** - * Encodes the specified BindingDataCollection message. Does not implicitly {@link flyteidl.core.BindingDataCollection.verify|verify} messages. - * @param message BindingDataCollection message or plain object to encode + * Encodes the specified Binary message. Does not implicitly {@link flyteidl.core.Binary.verify|verify} messages. + * @param message Binary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBindingDataCollection, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBinary, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a BindingDataCollection message from the specified reader or buffer. + * Decodes a Binary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BindingDataCollection + * @returns Binary * @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.core.BindingDataCollection; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Binary; /** - * Verifies a BindingDataCollection message. + * Verifies a Binary 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 BindingDataMap. */ - interface IBindingDataMap { + /** Properties of a Schema. */ + interface ISchema { - /** BindingDataMap bindings */ - bindings?: ({ [k: string]: flyteidl.core.IBindingData }|null); + /** Schema uri */ + uri?: (string|null); + + /** Schema type */ + type?: (flyteidl.core.ISchemaType|null); } - /** Represents a BindingDataMap. */ - class BindingDataMap implements IBindingDataMap { + /** Represents a Schema. */ + class Schema implements ISchema { /** - * Constructs a new BindingDataMap. + * Constructs a new Schema. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBindingDataMap); + constructor(properties?: flyteidl.core.ISchema); - /** BindingDataMap bindings. */ - public bindings: { [k: string]: flyteidl.core.IBindingData }; + /** Schema uri. */ + public uri: string; + + /** Schema type. */ + public type?: (flyteidl.core.ISchemaType|null); /** - * Creates a new BindingDataMap instance using the specified properties. + * Creates a new Schema instance using the specified properties. * @param [properties] Properties to set - * @returns BindingDataMap instance + * @returns Schema instance */ - public static create(properties?: flyteidl.core.IBindingDataMap): flyteidl.core.BindingDataMap; + public static create(properties?: flyteidl.core.ISchema): flyteidl.core.Schema; /** - * Encodes the specified BindingDataMap message. Does not implicitly {@link flyteidl.core.BindingDataMap.verify|verify} messages. - * @param message BindingDataMap message or plain object to encode + * Encodes the specified Schema message. Does not implicitly {@link flyteidl.core.Schema.verify|verify} messages. + * @param message Schema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBindingDataMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ISchema, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a BindingDataMap message from the specified reader or buffer. + * Decodes a Schema message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BindingDataMap + * @returns Schema * @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.core.BindingDataMap; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Schema; /** - * Verifies a BindingDataMap message. + * Verifies a Schema 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 UnionInfo. */ - interface IUnionInfo { + /** Properties of an Union. */ + interface IUnion { - /** UnionInfo targetType */ - targetType?: (flyteidl.core.ILiteralType|null); + /** Union value */ + value?: (flyteidl.core.ILiteral|null); + + /** Union type */ + type?: (flyteidl.core.ILiteralType|null); } - /** Represents an UnionInfo. */ - class UnionInfo implements IUnionInfo { + /** Represents an Union. */ + class Union implements IUnion { /** - * Constructs a new UnionInfo. + * Constructs a new Union. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IUnionInfo); + constructor(properties?: flyteidl.core.IUnion); - /** UnionInfo targetType. */ - public targetType?: (flyteidl.core.ILiteralType|null); + /** Union value. */ + public value?: (flyteidl.core.ILiteral|null); + + /** Union type. */ + public type?: (flyteidl.core.ILiteralType|null); /** - * Creates a new UnionInfo instance using the specified properties. + * Creates a new Union instance using the specified properties. * @param [properties] Properties to set - * @returns UnionInfo instance + * @returns Union instance */ - public static create(properties?: flyteidl.core.IUnionInfo): flyteidl.core.UnionInfo; + public static create(properties?: flyteidl.core.IUnion): flyteidl.core.Union; /** - * Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages. - * @param message UnionInfo message or plain object to encode + * Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages. + * @param message Union message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IUnionInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IUnion, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an UnionInfo message from the specified reader or buffer. + * Decodes an Union message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns UnionInfo + * @returns Union * @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.core.UnionInfo; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Union; /** - * Verifies an UnionInfo message. + * Verifies an Union 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 BindingData. */ - interface IBindingData { - - /** BindingData scalar */ - scalar?: (flyteidl.core.IScalar|null); - - /** BindingData collection */ - collection?: (flyteidl.core.IBindingDataCollection|null); - - /** BindingData promise */ - promise?: (flyteidl.core.IOutputReference|null); - - /** BindingData map */ - map?: (flyteidl.core.IBindingDataMap|null); + /** Properties of a StructuredDatasetMetadata. */ + interface IStructuredDatasetMetadata { - /** BindingData union */ - union?: (flyteidl.core.IUnionInfo|null); + /** StructuredDatasetMetadata structuredDatasetType */ + structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); } - /** Represents a BindingData. */ - class BindingData implements IBindingData { + /** Represents a StructuredDatasetMetadata. */ + class StructuredDatasetMetadata implements IStructuredDatasetMetadata { /** - * Constructs a new BindingData. + * Constructs a new StructuredDatasetMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBindingData); - - /** BindingData scalar. */ - public scalar?: (flyteidl.core.IScalar|null); + constructor(properties?: flyteidl.core.IStructuredDatasetMetadata); - /** BindingData collection. */ - public collection?: (flyteidl.core.IBindingDataCollection|null); - - /** BindingData promise. */ - public promise?: (flyteidl.core.IOutputReference|null); - - /** BindingData map. */ - public map?: (flyteidl.core.IBindingDataMap|null); - - /** BindingData union. */ - public union?: (flyteidl.core.IUnionInfo|null); - - /** BindingData value. */ - public value?: ("scalar"|"collection"|"promise"|"map"); + /** StructuredDatasetMetadata structuredDatasetType. */ + public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); /** - * Creates a new BindingData instance using the specified properties. + * Creates a new StructuredDatasetMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns BindingData instance + * @returns StructuredDatasetMetadata instance */ - public static create(properties?: flyteidl.core.IBindingData): flyteidl.core.BindingData; + public static create(properties?: flyteidl.core.IStructuredDatasetMetadata): flyteidl.core.StructuredDatasetMetadata; /** - * Encodes the specified BindingData message. Does not implicitly {@link flyteidl.core.BindingData.verify|verify} messages. - * @param message BindingData message or plain object to encode + * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages. + * @param message StructuredDatasetMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBindingData, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IStructuredDatasetMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a BindingData message from the specified reader or buffer. + * Decodes a StructuredDatasetMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BindingData + * @returns StructuredDatasetMetadata * @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.core.BindingData; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.StructuredDatasetMetadata; /** - * Verifies a BindingData message. + * Verifies a StructuredDatasetMetadata 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 Binding. */ - interface IBinding { + /** Properties of a StructuredDataset. */ + interface IStructuredDataset { - /** Binding var */ - "var"?: (string|null); + /** StructuredDataset uri */ + uri?: (string|null); - /** Binding binding */ - binding?: (flyteidl.core.IBindingData|null); + /** StructuredDataset metadata */ + metadata?: (flyteidl.core.IStructuredDatasetMetadata|null); } - /** Represents a Binding. */ - class Binding implements IBinding { + /** Represents a StructuredDataset. */ + class StructuredDataset implements IStructuredDataset { /** - * Constructs a new Binding. + * Constructs a new StructuredDataset. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBinding); + constructor(properties?: flyteidl.core.IStructuredDataset); - /** Binding var. */ - public var: string; + /** StructuredDataset uri. */ + public uri: string; - /** Binding binding. */ - public binding?: (flyteidl.core.IBindingData|null); + /** StructuredDataset metadata. */ + public metadata?: (flyteidl.core.IStructuredDatasetMetadata|null); /** - * Creates a new Binding instance using the specified properties. + * Creates a new StructuredDataset instance using the specified properties. * @param [properties] Properties to set - * @returns Binding instance + * @returns StructuredDataset instance */ - public static create(properties?: flyteidl.core.IBinding): flyteidl.core.Binding; + public static create(properties?: flyteidl.core.IStructuredDataset): flyteidl.core.StructuredDataset; /** - * Encodes the specified Binding message. Does not implicitly {@link flyteidl.core.Binding.verify|verify} messages. - * @param message Binding message or plain object to encode + * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages. + * @param message StructuredDataset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBinding, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IStructuredDataset, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Binding message from the specified reader or buffer. + * Decodes a StructuredDataset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Binding + * @returns StructuredDataset * @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.core.Binding; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.StructuredDataset; /** - * Verifies a Binding message. + * Verifies a StructuredDataset 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 KeyValuePair. */ - interface IKeyValuePair { + /** Properties of a Scalar. */ + interface IScalar { - /** KeyValuePair key */ - key?: (string|null); + /** Scalar primitive */ + primitive?: (flyteidl.core.IPrimitive|null); - /** KeyValuePair value */ - value?: (string|null); + /** Scalar blob */ + blob?: (flyteidl.core.IBlob|null); + + /** Scalar binary */ + binary?: (flyteidl.core.IBinary|null); + + /** Scalar schema */ + schema?: (flyteidl.core.ISchema|null); + + /** Scalar noneType */ + noneType?: (flyteidl.core.IVoid|null); + + /** Scalar error */ + error?: (flyteidl.core.IError|null); + + /** Scalar generic */ + generic?: (google.protobuf.IStruct|null); + + /** Scalar structuredDataset */ + structuredDataset?: (flyteidl.core.IStructuredDataset|null); + + /** Scalar union */ + union?: (flyteidl.core.IUnion|null); } - /** Represents a KeyValuePair. */ - class KeyValuePair implements IKeyValuePair { + /** Represents a Scalar. */ + class Scalar implements IScalar { /** - * Constructs a new KeyValuePair. + * Constructs a new Scalar. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IKeyValuePair); + constructor(properties?: flyteidl.core.IScalar); - /** KeyValuePair key. */ - public key: string; + /** Scalar primitive. */ + public primitive?: (flyteidl.core.IPrimitive|null); - /** KeyValuePair value. */ - public value: string; + /** Scalar blob. */ + public blob?: (flyteidl.core.IBlob|null); + + /** Scalar binary. */ + public binary?: (flyteidl.core.IBinary|null); + + /** Scalar schema. */ + public schema?: (flyteidl.core.ISchema|null); + + /** Scalar noneType. */ + public noneType?: (flyteidl.core.IVoid|null); + + /** Scalar error. */ + public error?: (flyteidl.core.IError|null); + + /** Scalar generic. */ + public generic?: (google.protobuf.IStruct|null); + + /** Scalar structuredDataset. */ + public structuredDataset?: (flyteidl.core.IStructuredDataset|null); + + /** Scalar union. */ + public union?: (flyteidl.core.IUnion|null); + + /** Scalar value. */ + public value?: ("primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union"); /** - * Creates a new KeyValuePair instance using the specified properties. + * Creates a new Scalar instance using the specified properties. * @param [properties] Properties to set - * @returns KeyValuePair instance + * @returns Scalar instance */ - public static create(properties?: flyteidl.core.IKeyValuePair): flyteidl.core.KeyValuePair; + public static create(properties?: flyteidl.core.IScalar): flyteidl.core.Scalar; /** - * Encodes the specified KeyValuePair message. Does not implicitly {@link flyteidl.core.KeyValuePair.verify|verify} messages. - * @param message KeyValuePair message or plain object to encode + * Encodes the specified Scalar message. Does not implicitly {@link flyteidl.core.Scalar.verify|verify} messages. + * @param message Scalar message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IKeyValuePair, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IScalar, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a KeyValuePair message from the specified reader or buffer. + * Decodes a Scalar message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns KeyValuePair + * @returns Scalar * @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.core.KeyValuePair; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Scalar; /** - * Verifies a KeyValuePair message. + * Verifies a Scalar 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 RetryStrategy. */ - interface IRetryStrategy { + /** Properties of a Literal. */ + interface ILiteral { - /** RetryStrategy retries */ - retries?: (number|null); + /** Literal scalar */ + scalar?: (flyteidl.core.IScalar|null); + + /** Literal collection */ + collection?: (flyteidl.core.ILiteralCollection|null); + + /** Literal map */ + map?: (flyteidl.core.ILiteralMap|null); + + /** Literal hash */ + hash?: (string|null); + + /** Literal metadata */ + metadata?: ({ [k: string]: string }|null); } - /** Represents a RetryStrategy. */ - class RetryStrategy implements IRetryStrategy { + /** Represents a Literal. */ + class Literal implements ILiteral { /** - * Constructs a new RetryStrategy. + * Constructs a new Literal. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IRetryStrategy); + constructor(properties?: flyteidl.core.ILiteral); - /** RetryStrategy retries. */ - public retries: number; + /** Literal scalar. */ + public scalar?: (flyteidl.core.IScalar|null); + + /** Literal collection. */ + public collection?: (flyteidl.core.ILiteralCollection|null); + + /** Literal map. */ + public map?: (flyteidl.core.ILiteralMap|null); + + /** Literal hash. */ + public hash: string; + + /** Literal metadata. */ + public metadata: { [k: string]: string }; + + /** Literal value. */ + public value?: ("scalar"|"collection"|"map"); /** - * Creates a new RetryStrategy instance using the specified properties. + * Creates a new Literal instance using the specified properties. * @param [properties] Properties to set - * @returns RetryStrategy instance + * @returns Literal instance */ - public static create(properties?: flyteidl.core.IRetryStrategy): flyteidl.core.RetryStrategy; + public static create(properties?: flyteidl.core.ILiteral): flyteidl.core.Literal; /** - * Encodes the specified RetryStrategy message. Does not implicitly {@link flyteidl.core.RetryStrategy.verify|verify} messages. - * @param message RetryStrategy message or plain object to encode + * Encodes the specified Literal message. Does not implicitly {@link flyteidl.core.Literal.verify|verify} messages. + * @param message Literal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IRetryStrategy, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ILiteral, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a RetryStrategy message from the specified reader or buffer. + * Decodes a Literal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns RetryStrategy + * @returns Literal * @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.core.RetryStrategy; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Literal; /** - * Verifies a RetryStrategy message. + * Verifies a Literal 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); } - /** SimpleType enum. */ - enum SimpleType { - NONE = 0, - INTEGER = 1, - FLOAT = 2, - STRING = 3, - BOOLEAN = 4, - DATETIME = 5, - DURATION = 6, - BINARY = 7, - ERROR = 8, - STRUCT = 9 - } + /** Properties of a LiteralCollection. */ + interface ILiteralCollection { - /** Properties of a SchemaType. */ - interface ISchemaType { - - /** SchemaType columns */ - columns?: (flyteidl.core.SchemaType.ISchemaColumn[]|null); + /** LiteralCollection literals */ + literals?: (flyteidl.core.ILiteral[]|null); } - /** Represents a SchemaType. */ - class SchemaType implements ISchemaType { + /** Represents a LiteralCollection. */ + class LiteralCollection implements ILiteralCollection { /** - * Constructs a new SchemaType. + * Constructs a new LiteralCollection. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISchemaType); + constructor(properties?: flyteidl.core.ILiteralCollection); - /** SchemaType columns. */ - public columns: flyteidl.core.SchemaType.ISchemaColumn[]; + /** LiteralCollection literals. */ + public literals: flyteidl.core.ILiteral[]; /** - * Creates a new SchemaType instance using the specified properties. + * Creates a new LiteralCollection instance using the specified properties. * @param [properties] Properties to set - * @returns SchemaType instance + * @returns LiteralCollection instance */ - public static create(properties?: flyteidl.core.ISchemaType): flyteidl.core.SchemaType; + public static create(properties?: flyteidl.core.ILiteralCollection): flyteidl.core.LiteralCollection; /** - * Encodes the specified SchemaType message. Does not implicitly {@link flyteidl.core.SchemaType.verify|verify} messages. - * @param message SchemaType message or plain object to encode + * Encodes the specified LiteralCollection message. Does not implicitly {@link flyteidl.core.LiteralCollection.verify|verify} messages. + * @param message LiteralCollection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISchemaType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ILiteralCollection, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SchemaType message from the specified reader or buffer. + * Decodes a LiteralCollection message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SchemaType + * @returns LiteralCollection * @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.core.SchemaType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.LiteralCollection; /** - * Verifies a SchemaType message. + * Verifies a LiteralCollection 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 SchemaType { + /** Properties of a LiteralMap. */ + interface ILiteralMap { - /** Properties of a SchemaColumn. */ - interface ISchemaColumn { + /** LiteralMap literals */ + literals?: ({ [k: string]: flyteidl.core.ILiteral }|null); + } - /** SchemaColumn name */ - name?: (string|null); + /** Represents a LiteralMap. */ + class LiteralMap implements ILiteralMap { - /** SchemaColumn type */ - type?: (flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType|null); - } + /** + * Constructs a new LiteralMap. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ILiteralMap); - /** Represents a SchemaColumn. */ - class SchemaColumn implements ISchemaColumn { + /** LiteralMap literals. */ + public literals: { [k: string]: flyteidl.core.ILiteral }; - /** - * Constructs a new SchemaColumn. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.core.SchemaType.ISchemaColumn); + /** + * Creates a new LiteralMap instance using the specified properties. + * @param [properties] Properties to set + * @returns LiteralMap instance + */ + public static create(properties?: flyteidl.core.ILiteralMap): flyteidl.core.LiteralMap; - /** SchemaColumn name. */ - public name: string; + /** + * Encodes the specified LiteralMap message. Does not implicitly {@link flyteidl.core.LiteralMap.verify|verify} messages. + * @param message LiteralMap message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ILiteralMap, writer?: $protobuf.Writer): $protobuf.Writer; - /** SchemaColumn type. */ - public type: flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType; + /** + * Decodes a LiteralMap message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LiteralMap + * @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.core.LiteralMap; - /** - * Creates a new SchemaColumn instance using the specified properties. - * @param [properties] Properties to set - * @returns SchemaColumn instance - */ - public static create(properties?: flyteidl.core.SchemaType.ISchemaColumn): flyteidl.core.SchemaType.SchemaColumn; + /** + * Verifies a LiteralMap 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); + } - /** - * Encodes the specified SchemaColumn message. Does not implicitly {@link flyteidl.core.SchemaType.SchemaColumn.verify|verify} messages. - * @param message SchemaColumn message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.core.SchemaType.ISchemaColumn, writer?: $protobuf.Writer): $protobuf.Writer; + /** Properties of a BindingDataCollection. */ + interface IBindingDataCollection { - /** - * Decodes a SchemaColumn message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SchemaColumn - * @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.core.SchemaType.SchemaColumn; + /** BindingDataCollection bindings */ + bindings?: (flyteidl.core.IBindingData[]|null); + } - /** - * Verifies a SchemaColumn 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); - } + /** Represents a BindingDataCollection. */ + class BindingDataCollection implements IBindingDataCollection { - namespace SchemaColumn { + /** + * Constructs a new BindingDataCollection. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBindingDataCollection); - /** SchemaColumnType enum. */ - enum SchemaColumnType { - INTEGER = 0, - FLOAT = 1, - STRING = 2, - BOOLEAN = 3, - DATETIME = 4, - DURATION = 5 - } - } - } + /** BindingDataCollection bindings. */ + public bindings: flyteidl.core.IBindingData[]; - /** Properties of a StructuredDatasetType. */ - interface IStructuredDatasetType { + /** + * Creates a new BindingDataCollection instance using the specified properties. + * @param [properties] Properties to set + * @returns BindingDataCollection instance + */ + public static create(properties?: flyteidl.core.IBindingDataCollection): flyteidl.core.BindingDataCollection; - /** StructuredDatasetType columns */ - columns?: (flyteidl.core.StructuredDatasetType.IDatasetColumn[]|null); + /** + * Encodes the specified BindingDataCollection message. Does not implicitly {@link flyteidl.core.BindingDataCollection.verify|verify} messages. + * @param message BindingDataCollection message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBindingDataCollection, writer?: $protobuf.Writer): $protobuf.Writer; - /** StructuredDatasetType format */ - format?: (string|null); + /** + * Decodes a BindingDataCollection message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BindingDataCollection + * @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.core.BindingDataCollection; - /** StructuredDatasetType externalSchemaType */ - externalSchemaType?: (string|null); + /** + * Verifies a BindingDataCollection 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); + } - /** StructuredDatasetType externalSchemaBytes */ - externalSchemaBytes?: (Uint8Array|null); + /** Properties of a BindingDataMap. */ + interface IBindingDataMap { + + /** BindingDataMap bindings */ + bindings?: ({ [k: string]: flyteidl.core.IBindingData }|null); } - /** Represents a StructuredDatasetType. */ - class StructuredDatasetType implements IStructuredDatasetType { + /** Represents a BindingDataMap. */ + class BindingDataMap implements IBindingDataMap { /** - * Constructs a new StructuredDatasetType. + * Constructs a new BindingDataMap. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IStructuredDatasetType); - - /** StructuredDatasetType columns. */ - public columns: flyteidl.core.StructuredDatasetType.IDatasetColumn[]; - - /** StructuredDatasetType format. */ - public format: string; - - /** StructuredDatasetType externalSchemaType. */ - public externalSchemaType: string; + constructor(properties?: flyteidl.core.IBindingDataMap); - /** StructuredDatasetType externalSchemaBytes. */ - public externalSchemaBytes: Uint8Array; + /** BindingDataMap bindings. */ + public bindings: { [k: string]: flyteidl.core.IBindingData }; /** - * Creates a new StructuredDatasetType instance using the specified properties. + * Creates a new BindingDataMap instance using the specified properties. * @param [properties] Properties to set - * @returns StructuredDatasetType instance + * @returns BindingDataMap instance */ - public static create(properties?: flyteidl.core.IStructuredDatasetType): flyteidl.core.StructuredDatasetType; + public static create(properties?: flyteidl.core.IBindingDataMap): flyteidl.core.BindingDataMap; /** - * Encodes the specified StructuredDatasetType message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.verify|verify} messages. - * @param message StructuredDatasetType message or plain object to encode + * Encodes the specified BindingDataMap message. Does not implicitly {@link flyteidl.core.BindingDataMap.verify|verify} messages. + * @param message BindingDataMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IStructuredDatasetType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBindingDataMap, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a StructuredDatasetType message from the specified reader or buffer. + * Decodes a BindingDataMap message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns StructuredDatasetType + * @returns BindingDataMap * @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.core.StructuredDatasetType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.BindingDataMap; /** - * Verifies a StructuredDatasetType message. + * Verifies a BindingDataMap 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 StructuredDatasetType { - - /** Properties of a DatasetColumn. */ - interface IDatasetColumn { + /** Properties of an UnionInfo. */ + interface IUnionInfo { - /** DatasetColumn name */ - name?: (string|null); + /** UnionInfo targetType */ + targetType?: (flyteidl.core.ILiteralType|null); + } - /** DatasetColumn literalType */ - literalType?: (flyteidl.core.ILiteralType|null); - } - - /** Represents a DatasetColumn. */ - class DatasetColumn implements IDatasetColumn { - - /** - * Constructs a new DatasetColumn. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.core.StructuredDatasetType.IDatasetColumn); - - /** DatasetColumn name. */ - public name: string; - - /** DatasetColumn literalType. */ - public literalType?: (flyteidl.core.ILiteralType|null); - - /** - * Creates a new DatasetColumn instance using the specified properties. - * @param [properties] Properties to set - * @returns DatasetColumn instance - */ - public static create(properties?: flyteidl.core.StructuredDatasetType.IDatasetColumn): flyteidl.core.StructuredDatasetType.DatasetColumn; - - /** - * Encodes the specified DatasetColumn message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.DatasetColumn.verify|verify} messages. - * @param message DatasetColumn message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.core.StructuredDatasetType.IDatasetColumn, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DatasetColumn message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DatasetColumn - * @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.core.StructuredDatasetType.DatasetColumn; - - /** - * Verifies a DatasetColumn 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 BlobType. */ - interface IBlobType { - - /** BlobType format */ - format?: (string|null); - - /** BlobType dimensionality */ - dimensionality?: (flyteidl.core.BlobType.BlobDimensionality|null); - } - - /** Represents a BlobType. */ - class BlobType implements IBlobType { + /** Represents an UnionInfo. */ + class UnionInfo implements IUnionInfo { /** - * Constructs a new BlobType. + * Constructs a new UnionInfo. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IBlobType); - - /** BlobType format. */ - public format: string; + constructor(properties?: flyteidl.core.IUnionInfo); - /** BlobType dimensionality. */ - public dimensionality: flyteidl.core.BlobType.BlobDimensionality; + /** UnionInfo targetType. */ + public targetType?: (flyteidl.core.ILiteralType|null); /** - * Creates a new BlobType instance using the specified properties. + * Creates a new UnionInfo instance using the specified properties. * @param [properties] Properties to set - * @returns BlobType instance + * @returns UnionInfo instance */ - public static create(properties?: flyteidl.core.IBlobType): flyteidl.core.BlobType; + public static create(properties?: flyteidl.core.IUnionInfo): flyteidl.core.UnionInfo; /** - * Encodes the specified BlobType message. Does not implicitly {@link flyteidl.core.BlobType.verify|verify} messages. - * @param message BlobType message or plain object to encode + * Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages. + * @param message UnionInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IBlobType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IUnionInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a BlobType message from the specified reader or buffer. + * Decodes an UnionInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BlobType + * @returns UnionInfo * @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.core.BlobType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.UnionInfo; /** - * Verifies a BlobType message. + * Verifies an UnionInfo 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 BlobType { + /** Properties of a BindingData. */ + interface IBindingData { - /** BlobDimensionality enum. */ - enum BlobDimensionality { - SINGLE = 0, - MULTIPART = 1 - } - } + /** BindingData scalar */ + scalar?: (flyteidl.core.IScalar|null); - /** Properties of an EnumType. */ - interface IEnumType { + /** BindingData collection */ + collection?: (flyteidl.core.IBindingDataCollection|null); - /** EnumType values */ - values?: (string[]|null); + /** BindingData promise */ + promise?: (flyteidl.core.IOutputReference|null); + + /** BindingData map */ + map?: (flyteidl.core.IBindingDataMap|null); + + /** BindingData union */ + union?: (flyteidl.core.IUnionInfo|null); } - /** Represents an EnumType. */ - class EnumType implements IEnumType { + /** Represents a BindingData. */ + class BindingData implements IBindingData { /** - * Constructs a new EnumType. + * Constructs a new BindingData. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IEnumType); + constructor(properties?: flyteidl.core.IBindingData); - /** EnumType values. */ - public values: string[]; + /** BindingData scalar. */ + public scalar?: (flyteidl.core.IScalar|null); + + /** BindingData collection. */ + public collection?: (flyteidl.core.IBindingDataCollection|null); + + /** BindingData promise. */ + public promise?: (flyteidl.core.IOutputReference|null); + + /** BindingData map. */ + public map?: (flyteidl.core.IBindingDataMap|null); + + /** BindingData union. */ + public union?: (flyteidl.core.IUnionInfo|null); + + /** BindingData value. */ + public value?: ("scalar"|"collection"|"promise"|"map"); /** - * Creates a new EnumType instance using the specified properties. + * Creates a new BindingData instance using the specified properties. * @param [properties] Properties to set - * @returns EnumType instance + * @returns BindingData instance */ - public static create(properties?: flyteidl.core.IEnumType): flyteidl.core.EnumType; + public static create(properties?: flyteidl.core.IBindingData): flyteidl.core.BindingData; /** - * Encodes the specified EnumType message. Does not implicitly {@link flyteidl.core.EnumType.verify|verify} messages. - * @param message EnumType message or plain object to encode + * Encodes the specified BindingData message. Does not implicitly {@link flyteidl.core.BindingData.verify|verify} messages. + * @param message BindingData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IEnumType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBindingData, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EnumType message from the specified reader or buffer. + * Decodes a BindingData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EnumType + * @returns BindingData * @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.core.EnumType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.BindingData; /** - * Verifies an EnumType message. + * Verifies a BindingData 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 UnionType. */ - interface IUnionType { + /** Properties of a Binding. */ + interface IBinding { - /** UnionType variants */ - variants?: (flyteidl.core.ILiteralType[]|null); + /** Binding var */ + "var"?: (string|null); + + /** Binding binding */ + binding?: (flyteidl.core.IBindingData|null); } - /** Represents an UnionType. */ - class UnionType implements IUnionType { + /** Represents a Binding. */ + class Binding implements IBinding { /** - * Constructs a new UnionType. + * Constructs a new Binding. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IUnionType); + constructor(properties?: flyteidl.core.IBinding); - /** UnionType variants. */ - public variants: flyteidl.core.ILiteralType[]; + /** Binding var. */ + public var: string; + + /** Binding binding. */ + public binding?: (flyteidl.core.IBindingData|null); /** - * Creates a new UnionType instance using the specified properties. + * Creates a new Binding instance using the specified properties. * @param [properties] Properties to set - * @returns UnionType instance + * @returns Binding instance */ - public static create(properties?: flyteidl.core.IUnionType): flyteidl.core.UnionType; + public static create(properties?: flyteidl.core.IBinding): flyteidl.core.Binding; /** - * Encodes the specified UnionType message. Does not implicitly {@link flyteidl.core.UnionType.verify|verify} messages. - * @param message UnionType message or plain object to encode + * Encodes the specified Binding message. Does not implicitly {@link flyteidl.core.Binding.verify|verify} messages. + * @param message Binding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IUnionType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an UnionType message from the specified reader or buffer. + * Decodes a Binding message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns UnionType + * @returns Binding * @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.core.UnionType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Binding; /** - * Verifies an UnionType message. + * Verifies a Binding 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 TypeStructure. */ - interface ITypeStructure { + /** Properties of a KeyValuePair. */ + interface IKeyValuePair { - /** TypeStructure tag */ - tag?: (string|null); + /** KeyValuePair key */ + key?: (string|null); + + /** KeyValuePair value */ + value?: (string|null); } - /** Represents a TypeStructure. */ - class TypeStructure implements ITypeStructure { + /** Represents a KeyValuePair. */ + class KeyValuePair implements IKeyValuePair { /** - * Constructs a new TypeStructure. + * Constructs a new KeyValuePair. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITypeStructure); + constructor(properties?: flyteidl.core.IKeyValuePair); - /** TypeStructure tag. */ - public tag: string; + /** KeyValuePair key. */ + public key: string; + + /** KeyValuePair value. */ + public value: string; /** - * Creates a new TypeStructure instance using the specified properties. + * Creates a new KeyValuePair instance using the specified properties. * @param [properties] Properties to set - * @returns TypeStructure instance + * @returns KeyValuePair instance */ - public static create(properties?: flyteidl.core.ITypeStructure): flyteidl.core.TypeStructure; + public static create(properties?: flyteidl.core.IKeyValuePair): flyteidl.core.KeyValuePair; /** - * Encodes the specified TypeStructure message. Does not implicitly {@link flyteidl.core.TypeStructure.verify|verify} messages. - * @param message TypeStructure message or plain object to encode + * Encodes the specified KeyValuePair message. Does not implicitly {@link flyteidl.core.KeyValuePair.verify|verify} messages. + * @param message KeyValuePair message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITypeStructure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IKeyValuePair, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TypeStructure message from the specified reader or buffer. + * Decodes a KeyValuePair message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TypeStructure + * @returns KeyValuePair * @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.core.TypeStructure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.KeyValuePair; /** - * Verifies a TypeStructure message. + * Verifies a KeyValuePair 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 TypeAnnotation. */ - interface ITypeAnnotation { + /** Properties of a RetryStrategy. */ + interface IRetryStrategy { - /** TypeAnnotation annotations */ - annotations?: (google.protobuf.IStruct|null); + /** RetryStrategy retries */ + retries?: (number|null); } - /** Represents a TypeAnnotation. */ - class TypeAnnotation implements ITypeAnnotation { + /** Represents a RetryStrategy. */ + class RetryStrategy implements IRetryStrategy { /** - * Constructs a new TypeAnnotation. + * Constructs a new RetryStrategy. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITypeAnnotation); + constructor(properties?: flyteidl.core.IRetryStrategy); - /** TypeAnnotation annotations. */ - public annotations?: (google.protobuf.IStruct|null); + /** RetryStrategy retries. */ + public retries: number; /** - * Creates a new TypeAnnotation instance using the specified properties. + * Creates a new RetryStrategy instance using the specified properties. * @param [properties] Properties to set - * @returns TypeAnnotation instance + * @returns RetryStrategy instance */ - public static create(properties?: flyteidl.core.ITypeAnnotation): flyteidl.core.TypeAnnotation; + public static create(properties?: flyteidl.core.IRetryStrategy): flyteidl.core.RetryStrategy; /** - * Encodes the specified TypeAnnotation message. Does not implicitly {@link flyteidl.core.TypeAnnotation.verify|verify} messages. - * @param message TypeAnnotation message or plain object to encode + * Encodes the specified RetryStrategy message. Does not implicitly {@link flyteidl.core.RetryStrategy.verify|verify} messages. + * @param message RetryStrategy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITypeAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IRetryStrategy, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TypeAnnotation message from the specified reader or buffer. + * Decodes a RetryStrategy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TypeAnnotation + * @returns RetryStrategy * @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.core.TypeAnnotation; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.RetryStrategy; /** - * Verifies a TypeAnnotation message. + * Verifies a RetryStrategy 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 LiteralType. */ - interface ILiteralType { - - /** LiteralType simple */ - simple?: (flyteidl.core.SimpleType|null); - - /** LiteralType schema */ - schema?: (flyteidl.core.ISchemaType|null); - - /** LiteralType collectionType */ - collectionType?: (flyteidl.core.ILiteralType|null); - - /** LiteralType mapValueType */ - mapValueType?: (flyteidl.core.ILiteralType|null); - - /** LiteralType blob */ - blob?: (flyteidl.core.IBlobType|null); - - /** LiteralType enumType */ - enumType?: (flyteidl.core.IEnumType|null); - - /** LiteralType structuredDatasetType */ - structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); - - /** LiteralType unionType */ - unionType?: (flyteidl.core.IUnionType|null); - - /** LiteralType metadata */ - metadata?: (google.protobuf.IStruct|null); + /** SimpleType enum. */ + enum SimpleType { + NONE = 0, + INTEGER = 1, + FLOAT = 2, + STRING = 3, + BOOLEAN = 4, + DATETIME = 5, + DURATION = 6, + BINARY = 7, + ERROR = 8, + STRUCT = 9 + } - /** LiteralType annotation */ - annotation?: (flyteidl.core.ITypeAnnotation|null); + /** Properties of a SchemaType. */ + interface ISchemaType { - /** LiteralType structure */ - structure?: (flyteidl.core.ITypeStructure|null); + /** SchemaType columns */ + columns?: (flyteidl.core.SchemaType.ISchemaColumn[]|null); } - /** Represents a LiteralType. */ - class LiteralType implements ILiteralType { + /** Represents a SchemaType. */ + class SchemaType implements ISchemaType { /** - * Constructs a new LiteralType. + * Constructs a new SchemaType. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ILiteralType); - - /** LiteralType simple. */ - public simple: flyteidl.core.SimpleType; - - /** LiteralType schema. */ - public schema?: (flyteidl.core.ISchemaType|null); - - /** LiteralType collectionType. */ - public collectionType?: (flyteidl.core.ILiteralType|null); - - /** LiteralType mapValueType. */ - public mapValueType?: (flyteidl.core.ILiteralType|null); - - /** LiteralType blob. */ - public blob?: (flyteidl.core.IBlobType|null); - - /** LiteralType enumType. */ - public enumType?: (flyteidl.core.IEnumType|null); - - /** LiteralType structuredDatasetType. */ - public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); - - /** LiteralType unionType. */ - public unionType?: (flyteidl.core.IUnionType|null); - - /** LiteralType metadata. */ - public metadata?: (google.protobuf.IStruct|null); - - /** LiteralType annotation. */ - public annotation?: (flyteidl.core.ITypeAnnotation|null); - - /** LiteralType structure. */ - public structure?: (flyteidl.core.ITypeStructure|null); + constructor(properties?: flyteidl.core.ISchemaType); - /** LiteralType type. */ - public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|"unionType"); + /** SchemaType columns. */ + public columns: flyteidl.core.SchemaType.ISchemaColumn[]; /** - * Creates a new LiteralType instance using the specified properties. + * Creates a new SchemaType instance using the specified properties. * @param [properties] Properties to set - * @returns LiteralType instance + * @returns SchemaType instance */ - public static create(properties?: flyteidl.core.ILiteralType): flyteidl.core.LiteralType; + public static create(properties?: flyteidl.core.ISchemaType): flyteidl.core.SchemaType; /** - * Encodes the specified LiteralType message. Does not implicitly {@link flyteidl.core.LiteralType.verify|verify} messages. - * @param message LiteralType message or plain object to encode + * Encodes the specified SchemaType message. Does not implicitly {@link flyteidl.core.SchemaType.verify|verify} messages. + * @param message SchemaType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ILiteralType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ISchemaType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LiteralType message from the specified reader or buffer. + * Decodes a SchemaType message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LiteralType + * @returns SchemaType * @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.core.LiteralType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SchemaType; /** - * Verifies a LiteralType message. + * Verifies a SchemaType 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 OutputReference. */ - interface IOutputReference { + namespace SchemaType { - /** OutputReference nodeId */ - nodeId?: (string|null); + /** Properties of a SchemaColumn. */ + interface ISchemaColumn { - /** OutputReference var */ - "var"?: (string|null); + /** SchemaColumn name */ + name?: (string|null); - /** OutputReference attrPath */ - attrPath?: (flyteidl.core.IPromiseAttribute[]|null); - } + /** SchemaColumn type */ + type?: (flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType|null); + } - /** Represents an OutputReference. */ - class OutputReference implements IOutputReference { + /** Represents a SchemaColumn. */ + class SchemaColumn implements ISchemaColumn { - /** - * Constructs a new OutputReference. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.core.IOutputReference); + /** + * Constructs a new SchemaColumn. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.SchemaType.ISchemaColumn); - /** OutputReference nodeId. */ - public nodeId: string; + /** SchemaColumn name. */ + public name: string; - /** OutputReference var. */ - public var: string; + /** SchemaColumn type. */ + public type: flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType; - /** OutputReference attrPath. */ - public attrPath: flyteidl.core.IPromiseAttribute[]; + /** + * Creates a new SchemaColumn instance using the specified properties. + * @param [properties] Properties to set + * @returns SchemaColumn instance + */ + public static create(properties?: flyteidl.core.SchemaType.ISchemaColumn): flyteidl.core.SchemaType.SchemaColumn; - /** - * Creates a new OutputReference instance using the specified properties. - * @param [properties] Properties to set - * @returns OutputReference instance - */ - public static create(properties?: flyteidl.core.IOutputReference): flyteidl.core.OutputReference; + /** + * Encodes the specified SchemaColumn message. Does not implicitly {@link flyteidl.core.SchemaType.SchemaColumn.verify|verify} messages. + * @param message SchemaColumn message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.SchemaType.ISchemaColumn, writer?: $protobuf.Writer): $protobuf.Writer; - /** - * Encodes the specified OutputReference message. Does not implicitly {@link flyteidl.core.OutputReference.verify|verify} messages. - * @param message OutputReference message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.core.IOutputReference, writer?: $protobuf.Writer): $protobuf.Writer; + /** + * Decodes a SchemaColumn message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SchemaColumn + * @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.core.SchemaType.SchemaColumn; - /** - * Decodes an OutputReference message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns OutputReference - * @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.core.OutputReference; + /** + * Verifies a SchemaColumn 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); + } - /** - * Verifies an OutputReference 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 SchemaColumn { - /** Properties of a PromiseAttribute. */ - interface IPromiseAttribute { + /** SchemaColumnType enum. */ + enum SchemaColumnType { + INTEGER = 0, + FLOAT = 1, + STRING = 2, + BOOLEAN = 3, + DATETIME = 4, + DURATION = 5 + } + } + } - /** PromiseAttribute stringValue */ - stringValue?: (string|null); + /** Properties of a StructuredDatasetType. */ + interface IStructuredDatasetType { - /** PromiseAttribute intValue */ - intValue?: (number|null); + /** StructuredDatasetType columns */ + columns?: (flyteidl.core.StructuredDatasetType.IDatasetColumn[]|null); + + /** StructuredDatasetType format */ + format?: (string|null); + + /** StructuredDatasetType externalSchemaType */ + externalSchemaType?: (string|null); + + /** StructuredDatasetType externalSchemaBytes */ + externalSchemaBytes?: (Uint8Array|null); } - /** Represents a PromiseAttribute. */ - class PromiseAttribute implements IPromiseAttribute { + /** Represents a StructuredDatasetType. */ + class StructuredDatasetType implements IStructuredDatasetType { /** - * Constructs a new PromiseAttribute. + * Constructs a new StructuredDatasetType. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IPromiseAttribute); + constructor(properties?: flyteidl.core.IStructuredDatasetType); - /** PromiseAttribute stringValue. */ - public stringValue: string; + /** StructuredDatasetType columns. */ + public columns: flyteidl.core.StructuredDatasetType.IDatasetColumn[]; - /** PromiseAttribute intValue. */ - public intValue: number; + /** StructuredDatasetType format. */ + public format: string; - /** PromiseAttribute value. */ - public value?: ("stringValue"|"intValue"); + /** StructuredDatasetType externalSchemaType. */ + public externalSchemaType: string; + + /** StructuredDatasetType externalSchemaBytes. */ + public externalSchemaBytes: Uint8Array; /** - * Creates a new PromiseAttribute instance using the specified properties. + * Creates a new StructuredDatasetType instance using the specified properties. * @param [properties] Properties to set - * @returns PromiseAttribute instance + * @returns StructuredDatasetType instance */ - public static create(properties?: flyteidl.core.IPromiseAttribute): flyteidl.core.PromiseAttribute; + public static create(properties?: flyteidl.core.IStructuredDatasetType): flyteidl.core.StructuredDatasetType; /** - * Encodes the specified PromiseAttribute message. Does not implicitly {@link flyteidl.core.PromiseAttribute.verify|verify} messages. - * @param message PromiseAttribute message or plain object to encode + * Encodes the specified StructuredDatasetType message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.verify|verify} messages. + * @param message StructuredDatasetType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IPromiseAttribute, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IStructuredDatasetType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PromiseAttribute message from the specified reader or buffer. + * Decodes a StructuredDatasetType message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PromiseAttribute + * @returns StructuredDatasetType * @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.core.PromiseAttribute; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.StructuredDatasetType; /** - * Verifies a PromiseAttribute message. + * Verifies a StructuredDatasetType 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 Error. */ - interface IError { + namespace StructuredDatasetType { - /** Error failedNodeId */ - failedNodeId?: (string|null); + /** Properties of a DatasetColumn. */ + interface IDatasetColumn { - /** Error message */ - message?: (string|null); + /** DatasetColumn name */ + name?: (string|null); + + /** DatasetColumn literalType */ + literalType?: (flyteidl.core.ILiteralType|null); + } + + /** Represents a DatasetColumn. */ + class DatasetColumn implements IDatasetColumn { + + /** + * Constructs a new DatasetColumn. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.StructuredDatasetType.IDatasetColumn); + + /** DatasetColumn name. */ + public name: string; + + /** DatasetColumn literalType. */ + public literalType?: (flyteidl.core.ILiteralType|null); + + /** + * Creates a new DatasetColumn instance using the specified properties. + * @param [properties] Properties to set + * @returns DatasetColumn instance + */ + public static create(properties?: flyteidl.core.StructuredDatasetType.IDatasetColumn): flyteidl.core.StructuredDatasetType.DatasetColumn; + + /** + * Encodes the specified DatasetColumn message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.DatasetColumn.verify|verify} messages. + * @param message DatasetColumn message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.StructuredDatasetType.IDatasetColumn, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DatasetColumn message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DatasetColumn + * @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.core.StructuredDatasetType.DatasetColumn; + + /** + * Verifies a DatasetColumn 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); + } } - /** Represents an Error. */ - class Error implements IError { + /** Properties of a BlobType. */ + interface IBlobType { + + /** BlobType format */ + format?: (string|null); + + /** BlobType dimensionality */ + dimensionality?: (flyteidl.core.BlobType.BlobDimensionality|null); + } + + /** Represents a BlobType. */ + class BlobType implements IBlobType { /** - * Constructs a new Error. + * Constructs a new BlobType. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IError); + constructor(properties?: flyteidl.core.IBlobType); - /** Error failedNodeId. */ - public failedNodeId: string; + /** BlobType format. */ + public format: string; - /** Error message. */ - public message: string; + /** BlobType dimensionality. */ + public dimensionality: flyteidl.core.BlobType.BlobDimensionality; /** - * Creates a new Error instance using the specified properties. + * Creates a new BlobType instance using the specified properties. * @param [properties] Properties to set - * @returns Error instance + * @returns BlobType instance */ - public static create(properties?: flyteidl.core.IError): flyteidl.core.Error; + public static create(properties?: flyteidl.core.IBlobType): flyteidl.core.BlobType; /** - * Encodes the specified Error message. Does not implicitly {@link flyteidl.core.Error.verify|verify} messages. - * @param message Error message or plain object to encode + * Encodes the specified BlobType message. Does not implicitly {@link flyteidl.core.BlobType.verify|verify} messages. + * @param message BlobType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IError, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IBlobType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Error message from the specified reader or buffer. + * Decodes a BlobType message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Error + * @returns BlobType * @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.core.Error; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.BlobType; /** - * Verifies an Error message. + * Verifies a BlobType 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 WorkflowExecution. */ - interface IWorkflowExecution { + namespace BlobType { + + /** BlobDimensionality enum. */ + enum BlobDimensionality { + SINGLE = 0, + MULTIPART = 1 + } } - /** Represents a WorkflowExecution. */ - class WorkflowExecution implements IWorkflowExecution { + /** Properties of an EnumType. */ + interface IEnumType { + + /** EnumType values */ + values?: (string[]|null); + } + + /** Represents an EnumType. */ + class EnumType implements IEnumType { /** - * Constructs a new WorkflowExecution. + * Constructs a new EnumType. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IWorkflowExecution); + constructor(properties?: flyteidl.core.IEnumType); + + /** EnumType values. */ + public values: string[]; /** - * Creates a new WorkflowExecution instance using the specified properties. + * Creates a new EnumType instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecution instance + * @returns EnumType instance */ - public static create(properties?: flyteidl.core.IWorkflowExecution): flyteidl.core.WorkflowExecution; + public static create(properties?: flyteidl.core.IEnumType): flyteidl.core.EnumType; /** - * Encodes the specified WorkflowExecution message. Does not implicitly {@link flyteidl.core.WorkflowExecution.verify|verify} messages. - * @param message WorkflowExecution message or plain object to encode + * Encodes the specified EnumType message. Does not implicitly {@link flyteidl.core.EnumType.verify|verify} messages. + * @param message EnumType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IEnumType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecution message from the specified reader or buffer. + * Decodes an EnumType message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecution + * @returns EnumType * @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.core.WorkflowExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.EnumType; /** - * Verifies a WorkflowExecution message. + * Verifies an EnumType 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 WorkflowExecution { - - /** Phase enum. */ - enum Phase { - UNDEFINED = 0, - QUEUED = 1, - RUNNING = 2, - SUCCEEDING = 3, - SUCCEEDED = 4, - FAILING = 5, - FAILED = 6, - ABORTED = 7, - TIMED_OUT = 8, - ABORTING = 9 - } - } + /** Properties of an UnionType. */ + interface IUnionType { - /** Properties of a NodeExecution. */ - interface INodeExecution { + /** UnionType variants */ + variants?: (flyteidl.core.ILiteralType[]|null); } - /** Represents a NodeExecution. */ - class NodeExecution implements INodeExecution { + /** Represents an UnionType. */ + class UnionType implements IUnionType { /** - * Constructs a new NodeExecution. + * Constructs a new UnionType. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.INodeExecution); + constructor(properties?: flyteidl.core.IUnionType); + + /** UnionType variants. */ + public variants: flyteidl.core.ILiteralType[]; /** - * Creates a new NodeExecution instance using the specified properties. + * Creates a new UnionType instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecution instance + * @returns UnionType instance */ - public static create(properties?: flyteidl.core.INodeExecution): flyteidl.core.NodeExecution; + public static create(properties?: flyteidl.core.IUnionType): flyteidl.core.UnionType; /** - * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.core.NodeExecution.verify|verify} messages. - * @param message NodeExecution message or plain object to encode + * Encodes the specified UnionType message. Does not implicitly {@link flyteidl.core.UnionType.verify|verify} messages. + * @param message UnionType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IUnionType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecution message from the specified reader or buffer. + * Decodes an UnionType 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 UnionType * @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.core.NodeExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.UnionType; /** - * Verifies a NodeExecution message. + * Verifies an UnionType 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 NodeExecution { - - /** Phase enum. */ - enum Phase { - UNDEFINED = 0, - QUEUED = 1, - RUNNING = 2, - SUCCEEDED = 3, - FAILING = 4, - FAILED = 5, - ABORTED = 6, - SKIPPED = 7, - TIMED_OUT = 8, - DYNAMIC_RUNNING = 9, - RECOVERED = 10 - } - } + /** Properties of a TypeStructure. */ + interface ITypeStructure { - /** Properties of a TaskExecution. */ - interface ITaskExecution { + /** TypeStructure tag */ + tag?: (string|null); } - /** Represents a TaskExecution. */ - class TaskExecution implements ITaskExecution { + /** Represents a TypeStructure. */ + class TypeStructure implements ITypeStructure { /** - * Constructs a new TaskExecution. + * Constructs a new TypeStructure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITaskExecution); + constructor(properties?: flyteidl.core.ITypeStructure); + + /** TypeStructure tag. */ + public tag: string; /** - * Creates a new TaskExecution instance using the specified properties. + * Creates a new TypeStructure instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecution instance + * @returns TypeStructure instance */ - public static create(properties?: flyteidl.core.ITaskExecution): flyteidl.core.TaskExecution; + public static create(properties?: flyteidl.core.ITypeStructure): flyteidl.core.TypeStructure; /** - * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.core.TaskExecution.verify|verify} messages. - * @param message TaskExecution message or plain object to encode + * Encodes the specified TypeStructure message. Does not implicitly {@link flyteidl.core.TypeStructure.verify|verify} messages. + * @param message TypeStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITypeStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecution message from the specified reader or buffer. + * Decodes a TypeStructure 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 TypeStructure * @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.core.TaskExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TypeStructure; /** - * Verifies a TaskExecution message. + * Verifies a TypeStructure 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 TaskExecution { - - /** Phase enum. */ - enum Phase { - UNDEFINED = 0, - QUEUED = 1, - RUNNING = 2, - SUCCEEDED = 3, - ABORTED = 4, - FAILED = 5, - INITIALIZING = 6, - WAITING_FOR_RESOURCES = 7 - } - } - - /** Properties of an ExecutionError. */ - interface IExecutionError { - - /** ExecutionError code */ - code?: (string|null); - - /** ExecutionError message */ - message?: (string|null); - - /** ExecutionError errorUri */ - errorUri?: (string|null); + /** Properties of a TypeAnnotation. */ + interface ITypeAnnotation { - /** ExecutionError kind */ - kind?: (flyteidl.core.ExecutionError.ErrorKind|null); + /** TypeAnnotation annotations */ + annotations?: (google.protobuf.IStruct|null); } - /** Represents an ExecutionError. */ - class ExecutionError implements IExecutionError { + /** Represents a TypeAnnotation. */ + class TypeAnnotation implements ITypeAnnotation { /** - * Constructs a new ExecutionError. + * Constructs a new TypeAnnotation. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IExecutionError); - - /** ExecutionError code. */ - public code: string; - - /** ExecutionError message. */ - public message: string; - - /** ExecutionError errorUri. */ - public errorUri: string; + constructor(properties?: flyteidl.core.ITypeAnnotation); - /** ExecutionError kind. */ - public kind: flyteidl.core.ExecutionError.ErrorKind; + /** TypeAnnotation annotations. */ + public annotations?: (google.protobuf.IStruct|null); /** - * Creates a new ExecutionError instance using the specified properties. + * Creates a new TypeAnnotation instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionError instance + * @returns TypeAnnotation instance */ - public static create(properties?: flyteidl.core.IExecutionError): flyteidl.core.ExecutionError; + public static create(properties?: flyteidl.core.ITypeAnnotation): flyteidl.core.TypeAnnotation; /** - * Encodes the specified ExecutionError message. Does not implicitly {@link flyteidl.core.ExecutionError.verify|verify} messages. - * @param message ExecutionError message or plain object to encode + * Encodes the specified TypeAnnotation message. Does not implicitly {@link flyteidl.core.TypeAnnotation.verify|verify} messages. + * @param message TypeAnnotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IExecutionError, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITypeAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionError message from the specified reader or buffer. + * Decodes a TypeAnnotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionError + * @returns TypeAnnotation * @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.core.ExecutionError; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TypeAnnotation; /** - * Verifies an ExecutionError message. + * Verifies a TypeAnnotation 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 ExecutionError { + /** Properties of a LiteralType. */ + interface ILiteralType { - /** ErrorKind enum. */ - enum ErrorKind { - UNKNOWN = 0, - USER = 1, - SYSTEM = 2 - } - } + /** LiteralType simple */ + simple?: (flyteidl.core.SimpleType|null); - /** Properties of a TaskLog. */ - interface ITaskLog { + /** LiteralType schema */ + schema?: (flyteidl.core.ISchemaType|null); - /** TaskLog uri */ - uri?: (string|null); + /** LiteralType collectionType */ + collectionType?: (flyteidl.core.ILiteralType|null); - /** TaskLog name */ - name?: (string|null); + /** LiteralType mapValueType */ + mapValueType?: (flyteidl.core.ILiteralType|null); - /** TaskLog messageFormat */ - messageFormat?: (flyteidl.core.TaskLog.MessageFormat|null); + /** LiteralType blob */ + blob?: (flyteidl.core.IBlobType|null); - /** TaskLog ttl */ - ttl?: (google.protobuf.IDuration|null); + /** LiteralType enumType */ + enumType?: (flyteidl.core.IEnumType|null); + + /** LiteralType structuredDatasetType */ + structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + + /** LiteralType unionType */ + unionType?: (flyteidl.core.IUnionType|null); + + /** LiteralType metadata */ + metadata?: (google.protobuf.IStruct|null); + + /** LiteralType annotation */ + annotation?: (flyteidl.core.ITypeAnnotation|null); + + /** LiteralType structure */ + structure?: (flyteidl.core.ITypeStructure|null); } - /** Represents a TaskLog. */ - class TaskLog implements ITaskLog { + /** Represents a LiteralType. */ + class LiteralType implements ILiteralType { /** - * Constructs a new TaskLog. + * Constructs a new LiteralType. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITaskLog); + constructor(properties?: flyteidl.core.ILiteralType); - /** TaskLog uri. */ - public uri: string; + /** LiteralType simple. */ + public simple: flyteidl.core.SimpleType; - /** TaskLog name. */ - public name: string; + /** LiteralType schema. */ + public schema?: (flyteidl.core.ISchemaType|null); - /** TaskLog messageFormat. */ - public messageFormat: flyteidl.core.TaskLog.MessageFormat; + /** LiteralType collectionType. */ + public collectionType?: (flyteidl.core.ILiteralType|null); - /** TaskLog ttl. */ - public ttl?: (google.protobuf.IDuration|null); + /** LiteralType mapValueType. */ + public mapValueType?: (flyteidl.core.ILiteralType|null); + + /** LiteralType blob. */ + public blob?: (flyteidl.core.IBlobType|null); + + /** LiteralType enumType. */ + public enumType?: (flyteidl.core.IEnumType|null); + + /** LiteralType structuredDatasetType. */ + public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + + /** LiteralType unionType. */ + public unionType?: (flyteidl.core.IUnionType|null); + + /** LiteralType metadata. */ + public metadata?: (google.protobuf.IStruct|null); + + /** LiteralType annotation. */ + public annotation?: (flyteidl.core.ITypeAnnotation|null); + + /** LiteralType structure. */ + public structure?: (flyteidl.core.ITypeStructure|null); + + /** LiteralType type. */ + public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|"unionType"); /** - * Creates a new TaskLog instance using the specified properties. + * Creates a new LiteralType instance using the specified properties. * @param [properties] Properties to set - * @returns TaskLog instance + * @returns LiteralType instance */ - public static create(properties?: flyteidl.core.ITaskLog): flyteidl.core.TaskLog; + public static create(properties?: flyteidl.core.ILiteralType): flyteidl.core.LiteralType; /** - * Encodes the specified TaskLog message. Does not implicitly {@link flyteidl.core.TaskLog.verify|verify} messages. - * @param message TaskLog message or plain object to encode + * Encodes the specified LiteralType message. Does not implicitly {@link flyteidl.core.LiteralType.verify|verify} messages. + * @param message LiteralType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITaskLog, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ILiteralType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskLog message from the specified reader or buffer. + * Decodes a LiteralType message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskLog + * @returns LiteralType * @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.core.TaskLog; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.LiteralType; /** - * Verifies a TaskLog message. + * Verifies a LiteralType 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 TaskLog { + /** Properties of an OutputReference. */ + interface IOutputReference { - /** MessageFormat enum. */ - enum MessageFormat { - UNKNOWN = 0, - CSV = 1, - JSON = 2 - } - } + /** OutputReference nodeId */ + nodeId?: (string|null); - /** Properties of a QualityOfServiceSpec. */ - interface IQualityOfServiceSpec { + /** OutputReference var */ + "var"?: (string|null); - /** QualityOfServiceSpec queueingBudget */ - queueingBudget?: (google.protobuf.IDuration|null); + /** OutputReference attrPath */ + attrPath?: (flyteidl.core.IPromiseAttribute[]|null); } - /** Represents a QualityOfServiceSpec. */ - class QualityOfServiceSpec implements IQualityOfServiceSpec { + /** Represents an OutputReference. */ + class OutputReference implements IOutputReference { /** - * Constructs a new QualityOfServiceSpec. + * Constructs a new OutputReference. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IQualityOfServiceSpec); + constructor(properties?: flyteidl.core.IOutputReference); - /** QualityOfServiceSpec queueingBudget. */ - public queueingBudget?: (google.protobuf.IDuration|null); + /** OutputReference nodeId. */ + public nodeId: string; + + /** OutputReference var. */ + public var: string; + + /** OutputReference attrPath. */ + public attrPath: flyteidl.core.IPromiseAttribute[]; /** - * Creates a new QualityOfServiceSpec instance using the specified properties. + * Creates a new OutputReference instance using the specified properties. * @param [properties] Properties to set - * @returns QualityOfServiceSpec instance + * @returns OutputReference instance */ - public static create(properties?: flyteidl.core.IQualityOfServiceSpec): flyteidl.core.QualityOfServiceSpec; + public static create(properties?: flyteidl.core.IOutputReference): flyteidl.core.OutputReference; /** - * Encodes the specified QualityOfServiceSpec message. Does not implicitly {@link flyteidl.core.QualityOfServiceSpec.verify|verify} messages. - * @param message QualityOfServiceSpec message or plain object to encode + * Encodes the specified OutputReference message. Does not implicitly {@link flyteidl.core.OutputReference.verify|verify} messages. + * @param message OutputReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IQualityOfServiceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IOutputReference, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a QualityOfServiceSpec message from the specified reader or buffer. + * Decodes an OutputReference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns QualityOfServiceSpec + * @returns OutputReference * @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.core.QualityOfServiceSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.OutputReference; /** - * Verifies a QualityOfServiceSpec message. + * Verifies an OutputReference 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 QualityOfService. */ - interface IQualityOfService { + /** Properties of a PromiseAttribute. */ + interface IPromiseAttribute { - /** QualityOfService tier */ - tier?: (flyteidl.core.QualityOfService.Tier|null); + /** PromiseAttribute stringValue */ + stringValue?: (string|null); - /** QualityOfService spec */ - spec?: (flyteidl.core.IQualityOfServiceSpec|null); + /** PromiseAttribute intValue */ + intValue?: (number|null); } - /** Represents a QualityOfService. */ - class QualityOfService implements IQualityOfService { + /** Represents a PromiseAttribute. */ + class PromiseAttribute implements IPromiseAttribute { /** - * Constructs a new QualityOfService. + * Constructs a new PromiseAttribute. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IQualityOfService); + constructor(properties?: flyteidl.core.IPromiseAttribute); - /** QualityOfService tier. */ - public tier: flyteidl.core.QualityOfService.Tier; + /** PromiseAttribute stringValue. */ + public stringValue: string; - /** QualityOfService spec. */ - public spec?: (flyteidl.core.IQualityOfServiceSpec|null); + /** PromiseAttribute intValue. */ + public intValue: number; - /** QualityOfService designation. */ - public designation?: ("tier"|"spec"); + /** PromiseAttribute value. */ + public value?: ("stringValue"|"intValue"); /** - * Creates a new QualityOfService instance using the specified properties. + * Creates a new PromiseAttribute instance using the specified properties. * @param [properties] Properties to set - * @returns QualityOfService instance + * @returns PromiseAttribute instance */ - public static create(properties?: flyteidl.core.IQualityOfService): flyteidl.core.QualityOfService; + public static create(properties?: flyteidl.core.IPromiseAttribute): flyteidl.core.PromiseAttribute; /** - * Encodes the specified QualityOfService message. Does not implicitly {@link flyteidl.core.QualityOfService.verify|verify} messages. - * @param message QualityOfService message or plain object to encode + * Encodes the specified PromiseAttribute message. Does not implicitly {@link flyteidl.core.PromiseAttribute.verify|verify} messages. + * @param message PromiseAttribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IQualityOfService, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IPromiseAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a QualityOfService message from the specified reader or buffer. + * Decodes a PromiseAttribute message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns QualityOfService + * @returns PromiseAttribute * @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.core.QualityOfService; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.PromiseAttribute; /** - * Verifies a QualityOfService message. + * Verifies a PromiseAttribute 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 QualityOfService { - - /** Tier enum. */ - enum Tier { - UNDEFINED = 0, - HIGH = 1, - MEDIUM = 2, - LOW = 3 - } - } - - /** Properties of a Variable. */ - interface IVariable { + /** Properties of an Error. */ + interface IError { - /** Variable type */ - type?: (flyteidl.core.ILiteralType|null); + /** Error failedNodeId */ + failedNodeId?: (string|null); - /** Variable description */ - description?: (string|null); + /** Error message */ + message?: (string|null); } - /** Represents a Variable. */ - class Variable implements IVariable { + /** Represents an Error. */ + class Error implements IError { /** - * Constructs a new Variable. + * Constructs a new Error. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IVariable); + constructor(properties?: flyteidl.core.IError); - /** Variable type. */ - public type?: (flyteidl.core.ILiteralType|null); + /** Error failedNodeId. */ + public failedNodeId: string; - /** Variable description. */ - public description: string; + /** Error message. */ + public message: string; /** - * Creates a new Variable instance using the specified properties. + * Creates a new Error instance using the specified properties. * @param [properties] Properties to set - * @returns Variable instance + * @returns Error instance */ - public static create(properties?: flyteidl.core.IVariable): flyteidl.core.Variable; + public static create(properties?: flyteidl.core.IError): flyteidl.core.Error; /** - * Encodes the specified Variable message. Does not implicitly {@link flyteidl.core.Variable.verify|verify} messages. - * @param message Variable message or plain object to encode + * Encodes the specified Error message. Does not implicitly {@link flyteidl.core.Error.verify|verify} messages. + * @param message Error message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IVariable, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IError, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Variable message from the specified reader or buffer. + * Decodes an Error message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Variable + * @returns Error * @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.core.Variable; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Error; /** - * Verifies a Variable message. + * Verifies an Error 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 VariableMap. */ - interface IVariableMap { - - /** VariableMap variables */ - variables?: ({ [k: string]: flyteidl.core.IVariable }|null); + /** Properties of a WorkflowExecution. */ + interface IWorkflowExecution { } - /** Represents a VariableMap. */ - class VariableMap implements IVariableMap { + /** Represents a WorkflowExecution. */ + class WorkflowExecution implements IWorkflowExecution { /** - * Constructs a new VariableMap. + * Constructs a new WorkflowExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IVariableMap); - - /** VariableMap variables. */ - public variables: { [k: string]: flyteidl.core.IVariable }; + constructor(properties?: flyteidl.core.IWorkflowExecution); /** - * Creates a new VariableMap instance using the specified properties. + * Creates a new WorkflowExecution instance using the specified properties. * @param [properties] Properties to set - * @returns VariableMap instance + * @returns WorkflowExecution instance */ - public static create(properties?: flyteidl.core.IVariableMap): flyteidl.core.VariableMap; + public static create(properties?: flyteidl.core.IWorkflowExecution): flyteidl.core.WorkflowExecution; /** - * Encodes the specified VariableMap message. Does not implicitly {@link flyteidl.core.VariableMap.verify|verify} messages. - * @param message VariableMap message or plain object to encode + * Encodes the specified WorkflowExecution message. Does not implicitly {@link flyteidl.core.WorkflowExecution.verify|verify} messages. + * @param message WorkflowExecution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IVariableMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a VariableMap message from the specified reader or buffer. + * Decodes a WorkflowExecution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns VariableMap + * @returns WorkflowExecution * @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.core.VariableMap; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowExecution; /** - * Verifies a VariableMap message. + * Verifies a WorkflowExecution 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 TypedInterface. */ - interface ITypedInterface { + namespace WorkflowExecution { - /** TypedInterface inputs */ - inputs?: (flyteidl.core.IVariableMap|null); + /** Phase enum. */ + enum Phase { + UNDEFINED = 0, + QUEUED = 1, + RUNNING = 2, + SUCCEEDING = 3, + SUCCEEDED = 4, + FAILING = 5, + FAILED = 6, + ABORTED = 7, + TIMED_OUT = 8, + ABORTING = 9 + } + } - /** TypedInterface outputs */ - outputs?: (flyteidl.core.IVariableMap|null); + /** Properties of a NodeExecution. */ + interface INodeExecution { } - /** Represents a TypedInterface. */ - class TypedInterface implements ITypedInterface { + /** Represents a NodeExecution. */ + class NodeExecution implements INodeExecution { /** - * Constructs a new TypedInterface. + * Constructs a new NodeExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITypedInterface); - - /** TypedInterface inputs. */ - public inputs?: (flyteidl.core.IVariableMap|null); - - /** TypedInterface outputs. */ - public outputs?: (flyteidl.core.IVariableMap|null); + constructor(properties?: flyteidl.core.INodeExecution); /** - * Creates a new TypedInterface instance using the specified properties. + * Creates a new NodeExecution instance using the specified properties. * @param [properties] Properties to set - * @returns TypedInterface instance + * @returns NodeExecution instance */ - public static create(properties?: flyteidl.core.ITypedInterface): flyteidl.core.TypedInterface; + public static create(properties?: flyteidl.core.INodeExecution): flyteidl.core.NodeExecution; /** - * Encodes the specified TypedInterface message. Does not implicitly {@link flyteidl.core.TypedInterface.verify|verify} messages. - * @param message TypedInterface message or plain object to encode + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.core.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.core.ITypedInterface, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TypedInterface 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 TypedInterface + * @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.core.TypedInterface; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.NodeExecution; /** - * Verifies a TypedInterface 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 Parameter. */ - interface IParameter { - - /** Parameter var */ - "var"?: (flyteidl.core.IVariable|null); + namespace NodeExecution { - /** Parameter default */ - "default"?: (flyteidl.core.ILiteral|null); + /** Phase enum. */ + enum Phase { + UNDEFINED = 0, + QUEUED = 1, + RUNNING = 2, + SUCCEEDED = 3, + FAILING = 4, + FAILED = 5, + ABORTED = 6, + SKIPPED = 7, + TIMED_OUT = 8, + DYNAMIC_RUNNING = 9, + RECOVERED = 10 + } + } - /** Parameter required */ - required?: (boolean|null); + /** Properties of a TaskExecution. */ + interface ITaskExecution { } - /** Represents a Parameter. */ - class Parameter implements IParameter { + /** Represents a TaskExecution. */ + class TaskExecution implements ITaskExecution { /** - * Constructs a new Parameter. + * Constructs a new TaskExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IParameter); - - /** Parameter var. */ - public var?: (flyteidl.core.IVariable|null); - - /** Parameter default. */ - public default?: (flyteidl.core.ILiteral|null); - - /** Parameter required. */ - public required: boolean; - - /** Parameter behavior. */ - public behavior?: ("default"|"required"); + constructor(properties?: flyteidl.core.ITaskExecution); /** - * Creates a new Parameter instance using the specified properties. + * Creates a new TaskExecution instance using the specified properties. * @param [properties] Properties to set - * @returns Parameter instance + * @returns TaskExecution instance */ - public static create(properties?: flyteidl.core.IParameter): flyteidl.core.Parameter; + public static create(properties?: flyteidl.core.ITaskExecution): flyteidl.core.TaskExecution; /** - * Encodes the specified Parameter message. Does not implicitly {@link flyteidl.core.Parameter.verify|verify} messages. - * @param message Parameter message or plain object to encode + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.core.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.core.IParameter, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Parameter 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 Parameter + * @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.core.Parameter; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskExecution; /** - * Verifies a Parameter 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 ParameterMap. */ - interface IParameterMap { + namespace TaskExecution { - /** ParameterMap parameters */ - parameters?: ({ [k: string]: flyteidl.core.IParameter }|null); + /** Phase enum. */ + enum Phase { + UNDEFINED = 0, + QUEUED = 1, + RUNNING = 2, + SUCCEEDED = 3, + ABORTED = 4, + FAILED = 5, + INITIALIZING = 6, + WAITING_FOR_RESOURCES = 7 + } } - /** Represents a ParameterMap. */ - class ParameterMap implements IParameterMap { + /** Properties of an ExecutionError. */ + interface IExecutionError { + + /** ExecutionError code */ + code?: (string|null); + + /** ExecutionError message */ + message?: (string|null); + + /** ExecutionError errorUri */ + errorUri?: (string|null); + + /** ExecutionError kind */ + kind?: (flyteidl.core.ExecutionError.ErrorKind|null); + } + + /** Represents an ExecutionError. */ + class ExecutionError implements IExecutionError { /** - * Constructs a new ParameterMap. + * Constructs a new ExecutionError. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IParameterMap); + constructor(properties?: flyteidl.core.IExecutionError); - /** ParameterMap parameters. */ - public parameters: { [k: string]: flyteidl.core.IParameter }; + /** ExecutionError code. */ + public code: string; + + /** ExecutionError message. */ + public message: string; + + /** ExecutionError errorUri. */ + public errorUri: string; + + /** ExecutionError kind. */ + public kind: flyteidl.core.ExecutionError.ErrorKind; /** - * Creates a new ParameterMap instance using the specified properties. + * Creates a new ExecutionError instance using the specified properties. * @param [properties] Properties to set - * @returns ParameterMap instance + * @returns ExecutionError instance */ - public static create(properties?: flyteidl.core.IParameterMap): flyteidl.core.ParameterMap; + public static create(properties?: flyteidl.core.IExecutionError): flyteidl.core.ExecutionError; /** - * Encodes the specified ParameterMap message. Does not implicitly {@link flyteidl.core.ParameterMap.verify|verify} messages. - * @param message ParameterMap message or plain object to encode + * Encodes the specified ExecutionError message. Does not implicitly {@link flyteidl.core.ExecutionError.verify|verify} messages. + * @param message ExecutionError message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IParameterMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IExecutionError, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ParameterMap message from the specified reader or buffer. + * Decodes an ExecutionError message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ParameterMap + * @returns ExecutionError * @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.core.ParameterMap; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ExecutionError; /** - * Verifies a ParameterMap message. + * Verifies an ExecutionError 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 Resources. */ - interface IResources { + namespace ExecutionError { - /** Resources requests */ - requests?: (flyteidl.core.Resources.IResourceEntry[]|null); + /** ErrorKind enum. */ + enum ErrorKind { + UNKNOWN = 0, + USER = 1, + SYSTEM = 2 + } + } - /** Resources limits */ - limits?: (flyteidl.core.Resources.IResourceEntry[]|null); + /** Properties of a TaskLog. */ + interface ITaskLog { + + /** TaskLog uri */ + uri?: (string|null); + + /** TaskLog name */ + name?: (string|null); + + /** TaskLog messageFormat */ + messageFormat?: (flyteidl.core.TaskLog.MessageFormat|null); + + /** TaskLog ttl */ + ttl?: (google.protobuf.IDuration|null); } - /** Represents a Resources. */ - class Resources implements IResources { + /** Represents a TaskLog. */ + class TaskLog implements ITaskLog { /** - * Constructs a new Resources. + * Constructs a new TaskLog. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IResources); + constructor(properties?: flyteidl.core.ITaskLog); - /** Resources requests. */ - public requests: flyteidl.core.Resources.IResourceEntry[]; + /** TaskLog uri. */ + public uri: string; - /** Resources limits. */ - public limits: flyteidl.core.Resources.IResourceEntry[]; + /** TaskLog name. */ + public name: string; + + /** TaskLog messageFormat. */ + public messageFormat: flyteidl.core.TaskLog.MessageFormat; + + /** TaskLog ttl. */ + public ttl?: (google.protobuf.IDuration|null); /** - * Creates a new Resources instance using the specified properties. + * Creates a new TaskLog instance using the specified properties. * @param [properties] Properties to set - * @returns Resources instance + * @returns TaskLog instance */ - public static create(properties?: flyteidl.core.IResources): flyteidl.core.Resources; + public static create(properties?: flyteidl.core.ITaskLog): flyteidl.core.TaskLog; /** - * Encodes the specified Resources message. Does not implicitly {@link flyteidl.core.Resources.verify|verify} messages. - * @param message Resources message or plain object to encode + * Encodes the specified TaskLog message. Does not implicitly {@link flyteidl.core.TaskLog.verify|verify} messages. + * @param message TaskLog message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IResources, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITaskLog, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Resources message from the specified reader or buffer. + * Decodes a TaskLog message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Resources + * @returns TaskLog * @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.core.Resources; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskLog; /** - * Verifies a Resources message. + * Verifies a TaskLog 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 Resources { + namespace TaskLog { - /** ResourceName enum. */ - enum ResourceName { + /** MessageFormat enum. */ + enum MessageFormat { UNKNOWN = 0, - CPU = 1, - GPU = 2, - MEMORY = 3, - STORAGE = 4, - EPHEMERAL_STORAGE = 5 + CSV = 1, + JSON = 2 } + } - /** Properties of a ResourceEntry. */ - interface IResourceEntry { - - /** ResourceEntry name */ - name?: (flyteidl.core.Resources.ResourceName|null); + /** Properties of a QualityOfServiceSpec. */ + interface IQualityOfServiceSpec { - /** ResourceEntry value */ - value?: (string|null); - } + /** QualityOfServiceSpec queueingBudget */ + queueingBudget?: (google.protobuf.IDuration|null); + } - /** Represents a ResourceEntry. */ - class ResourceEntry implements IResourceEntry { - - /** - * Constructs a new ResourceEntry. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.core.Resources.IResourceEntry); + /** Represents a QualityOfServiceSpec. */ + class QualityOfServiceSpec implements IQualityOfServiceSpec { - /** ResourceEntry name. */ - public name: flyteidl.core.Resources.ResourceName; + /** + * Constructs a new QualityOfServiceSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IQualityOfServiceSpec); - /** ResourceEntry value. */ - public value: string; + /** QualityOfServiceSpec queueingBudget. */ + public queueingBudget?: (google.protobuf.IDuration|null); - /** - * Creates a new ResourceEntry instance using the specified properties. - * @param [properties] Properties to set - * @returns ResourceEntry instance - */ - public static create(properties?: flyteidl.core.Resources.IResourceEntry): flyteidl.core.Resources.ResourceEntry; + /** + * Creates a new QualityOfServiceSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns QualityOfServiceSpec instance + */ + public static create(properties?: flyteidl.core.IQualityOfServiceSpec): flyteidl.core.QualityOfServiceSpec; - /** - * Encodes the specified ResourceEntry message. Does not implicitly {@link flyteidl.core.Resources.ResourceEntry.verify|verify} messages. - * @param message ResourceEntry message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.core.Resources.IResourceEntry, writer?: $protobuf.Writer): $protobuf.Writer; + /** + * Encodes the specified QualityOfServiceSpec message. Does not implicitly {@link flyteidl.core.QualityOfServiceSpec.verify|verify} messages. + * @param message QualityOfServiceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IQualityOfServiceSpec, writer?: $protobuf.Writer): $protobuf.Writer; - /** - * Decodes a ResourceEntry message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ResourceEntry - * @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.core.Resources.ResourceEntry; + /** + * Decodes a QualityOfServiceSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns QualityOfServiceSpec + * @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.core.QualityOfServiceSpec; - /** - * Verifies a ResourceEntry 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); - } + /** + * Verifies a QualityOfServiceSpec 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 RuntimeMetadata. */ - interface IRuntimeMetadata { - - /** RuntimeMetadata type */ - type?: (flyteidl.core.RuntimeMetadata.RuntimeType|null); + /** Properties of a QualityOfService. */ + interface IQualityOfService { - /** RuntimeMetadata version */ - version?: (string|null); + /** QualityOfService tier */ + tier?: (flyteidl.core.QualityOfService.Tier|null); - /** RuntimeMetadata flavor */ - flavor?: (string|null); + /** QualityOfService spec */ + spec?: (flyteidl.core.IQualityOfServiceSpec|null); } - /** Represents a RuntimeMetadata. */ - class RuntimeMetadata implements IRuntimeMetadata { + /** Represents a QualityOfService. */ + class QualityOfService implements IQualityOfService { /** - * Constructs a new RuntimeMetadata. + * Constructs a new QualityOfService. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IRuntimeMetadata); + constructor(properties?: flyteidl.core.IQualityOfService); - /** RuntimeMetadata type. */ - public type: flyteidl.core.RuntimeMetadata.RuntimeType; + /** QualityOfService tier. */ + public tier: flyteidl.core.QualityOfService.Tier; - /** RuntimeMetadata version. */ - public version: string; + /** QualityOfService spec. */ + public spec?: (flyteidl.core.IQualityOfServiceSpec|null); - /** RuntimeMetadata flavor. */ - public flavor: string; + /** QualityOfService designation. */ + public designation?: ("tier"|"spec"); /** - * Creates a new RuntimeMetadata instance using the specified properties. + * Creates a new QualityOfService instance using the specified properties. * @param [properties] Properties to set - * @returns RuntimeMetadata instance + * @returns QualityOfService instance */ - public static create(properties?: flyteidl.core.IRuntimeMetadata): flyteidl.core.RuntimeMetadata; + public static create(properties?: flyteidl.core.IQualityOfService): flyteidl.core.QualityOfService; /** - * Encodes the specified RuntimeMetadata message. Does not implicitly {@link flyteidl.core.RuntimeMetadata.verify|verify} messages. - * @param message RuntimeMetadata message or plain object to encode + * Encodes the specified QualityOfService message. Does not implicitly {@link flyteidl.core.QualityOfService.verify|verify} messages. + * @param message QualityOfService message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IRuntimeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IQualityOfService, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a RuntimeMetadata message from the specified reader or buffer. + * Decodes a QualityOfService message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns RuntimeMetadata + * @returns QualityOfService * @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.core.RuntimeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.QualityOfService; /** - * Verifies a RuntimeMetadata message. + * Verifies a QualityOfService 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 RuntimeMetadata { + namespace QualityOfService { - /** RuntimeType enum. */ - enum RuntimeType { - OTHER = 0, - FLYTE_SDK = 1 + /** Tier enum. */ + enum Tier { + UNDEFINED = 0, + HIGH = 1, + MEDIUM = 2, + LOW = 3 } } - /** Properties of a TaskMetadata. */ - interface ITaskMetadata { - - /** TaskMetadata discoverable */ - discoverable?: (boolean|null); - - /** TaskMetadata runtime */ - runtime?: (flyteidl.core.IRuntimeMetadata|null); - - /** TaskMetadata timeout */ - timeout?: (google.protobuf.IDuration|null); - - /** TaskMetadata retries */ - retries?: (flyteidl.core.IRetryStrategy|null); - - /** TaskMetadata discoveryVersion */ - discoveryVersion?: (string|null); - - /** TaskMetadata deprecatedErrorMessage */ - deprecatedErrorMessage?: (string|null); - - /** TaskMetadata interruptible */ - interruptible?: (boolean|null); + /** Properties of a Variable. */ + interface IVariable { - /** TaskMetadata cacheSerializable */ - cacheSerializable?: (boolean|null); + /** Variable type */ + type?: (flyteidl.core.ILiteralType|null); - /** TaskMetadata generatesDeck */ - generatesDeck?: (boolean|null); + /** Variable description */ + description?: (string|null); - /** TaskMetadata tags */ - tags?: ({ [k: string]: string }|null); + /** Variable artifactPartialId */ + artifactPartialId?: (flyteidl.core.IArtifactID|null); - /** TaskMetadata podTemplateName */ - podTemplateName?: (string|null); + /** Variable artifactTag */ + artifactTag?: (flyteidl.core.IArtifactTag|null); } - /** Represents a TaskMetadata. */ - class TaskMetadata implements ITaskMetadata { + /** Represents a Variable. */ + class Variable implements IVariable { /** - * Constructs a new TaskMetadata. + * Constructs a new Variable. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITaskMetadata); - - /** TaskMetadata discoverable. */ - public discoverable: boolean; - - /** TaskMetadata runtime. */ - public runtime?: (flyteidl.core.IRuntimeMetadata|null); - - /** TaskMetadata timeout. */ - public timeout?: (google.protobuf.IDuration|null); - - /** TaskMetadata retries. */ - public retries?: (flyteidl.core.IRetryStrategy|null); - - /** TaskMetadata discoveryVersion. */ - public discoveryVersion: string; - - /** TaskMetadata deprecatedErrorMessage. */ - public deprecatedErrorMessage: string; - - /** TaskMetadata interruptible. */ - public interruptible: boolean; - - /** TaskMetadata cacheSerializable. */ - public cacheSerializable: boolean; + constructor(properties?: flyteidl.core.IVariable); - /** TaskMetadata generatesDeck. */ - public generatesDeck: boolean; + /** Variable type. */ + public type?: (flyteidl.core.ILiteralType|null); - /** TaskMetadata tags. */ - public tags: { [k: string]: string }; + /** Variable description. */ + public description: string; - /** TaskMetadata podTemplateName. */ - public podTemplateName: string; + /** Variable artifactPartialId. */ + public artifactPartialId?: (flyteidl.core.IArtifactID|null); - /** TaskMetadata interruptibleValue. */ - public interruptibleValue?: "interruptible"; + /** Variable artifactTag. */ + public artifactTag?: (flyteidl.core.IArtifactTag|null); /** - * Creates a new TaskMetadata instance using the specified properties. + * Creates a new Variable instance using the specified properties. * @param [properties] Properties to set - * @returns TaskMetadata instance + * @returns Variable instance */ - public static create(properties?: flyteidl.core.ITaskMetadata): flyteidl.core.TaskMetadata; + public static create(properties?: flyteidl.core.IVariable): flyteidl.core.Variable; /** - * Encodes the specified TaskMetadata message. Does not implicitly {@link flyteidl.core.TaskMetadata.verify|verify} messages. - * @param message TaskMetadata message or plain object to encode + * Encodes the specified Variable message. Does not implicitly {@link flyteidl.core.Variable.verify|verify} messages. + * @param message Variable message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITaskMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IVariable, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskMetadata message from the specified reader or buffer. + * Decodes a Variable message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskMetadata + * @returns Variable * @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.core.TaskMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Variable; /** - * Verifies a TaskMetadata message. + * Verifies a Variable 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 TaskTemplate. */ - interface ITaskTemplate { + /** Properties of a VariableMap. */ + interface IVariableMap { - /** TaskTemplate id */ - id?: (flyteidl.core.IIdentifier|null); + /** VariableMap variables */ + variables?: ({ [k: string]: flyteidl.core.IVariable }|null); + } - /** TaskTemplate type */ - type?: (string|null); - - /** TaskTemplate metadata */ - metadata?: (flyteidl.core.ITaskMetadata|null); - - /** TaskTemplate interface */ - "interface"?: (flyteidl.core.ITypedInterface|null); - - /** TaskTemplate custom */ - custom?: (google.protobuf.IStruct|null); - - /** TaskTemplate container */ - container?: (flyteidl.core.IContainer|null); - - /** TaskTemplate k8sPod */ - k8sPod?: (flyteidl.core.IK8sPod|null); - - /** TaskTemplate sql */ - sql?: (flyteidl.core.ISql|null); - - /** TaskTemplate taskTypeVersion */ - taskTypeVersion?: (number|null); - - /** TaskTemplate securityContext */ - securityContext?: (flyteidl.core.ISecurityContext|null); - - /** TaskTemplate config */ - config?: ({ [k: string]: string }|null); - } - - /** Represents a TaskTemplate. */ - class TaskTemplate implements ITaskTemplate { + /** Represents a VariableMap. */ + class VariableMap implements IVariableMap { /** - * Constructs a new TaskTemplate. + * Constructs a new VariableMap. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ITaskTemplate); - - /** TaskTemplate id. */ - public id?: (flyteidl.core.IIdentifier|null); - - /** TaskTemplate type. */ - public type: string; - - /** TaskTemplate metadata. */ - public metadata?: (flyteidl.core.ITaskMetadata|null); - - /** TaskTemplate interface. */ - public interface?: (flyteidl.core.ITypedInterface|null); - - /** TaskTemplate custom. */ - public custom?: (google.protobuf.IStruct|null); - - /** TaskTemplate container. */ - public container?: (flyteidl.core.IContainer|null); - - /** TaskTemplate k8sPod. */ - public k8sPod?: (flyteidl.core.IK8sPod|null); - - /** TaskTemplate sql. */ - public sql?: (flyteidl.core.ISql|null); - - /** TaskTemplate taskTypeVersion. */ - public taskTypeVersion: number; - - /** TaskTemplate securityContext. */ - public securityContext?: (flyteidl.core.ISecurityContext|null); - - /** TaskTemplate config. */ - public config: { [k: string]: string }; + constructor(properties?: flyteidl.core.IVariableMap); - /** TaskTemplate target. */ - public target?: ("container"|"k8sPod"|"sql"); + /** VariableMap variables. */ + public variables: { [k: string]: flyteidl.core.IVariable }; /** - * Creates a new TaskTemplate instance using the specified properties. + * Creates a new VariableMap instance using the specified properties. * @param [properties] Properties to set - * @returns TaskTemplate instance + * @returns VariableMap instance */ - public static create(properties?: flyteidl.core.ITaskTemplate): flyteidl.core.TaskTemplate; + public static create(properties?: flyteidl.core.IVariableMap): flyteidl.core.VariableMap; /** - * Encodes the specified TaskTemplate message. Does not implicitly {@link flyteidl.core.TaskTemplate.verify|verify} messages. - * @param message TaskTemplate message or plain object to encode + * Encodes the specified VariableMap message. Does not implicitly {@link flyteidl.core.VariableMap.verify|verify} messages. + * @param message VariableMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ITaskTemplate, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IVariableMap, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskTemplate message from the specified reader or buffer. + * Decodes a VariableMap message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskTemplate + * @returns VariableMap * @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.core.TaskTemplate; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.VariableMap; /** - * Verifies a TaskTemplate message. + * Verifies a VariableMap 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 ContainerPort. */ - interface IContainerPort { + /** Properties of a TypedInterface. */ + interface ITypedInterface { - /** ContainerPort containerPort */ - containerPort?: (number|null); + /** TypedInterface inputs */ + inputs?: (flyteidl.core.IVariableMap|null); + + /** TypedInterface outputs */ + outputs?: (flyteidl.core.IVariableMap|null); } - /** Represents a ContainerPort. */ - class ContainerPort implements IContainerPort { + /** Represents a TypedInterface. */ + class TypedInterface implements ITypedInterface { /** - * Constructs a new ContainerPort. + * Constructs a new TypedInterface. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IContainerPort); + constructor(properties?: flyteidl.core.ITypedInterface); - /** ContainerPort containerPort. */ - public containerPort: number; + /** TypedInterface inputs. */ + public inputs?: (flyteidl.core.IVariableMap|null); + + /** TypedInterface outputs. */ + public outputs?: (flyteidl.core.IVariableMap|null); /** - * Creates a new ContainerPort instance using the specified properties. + * Creates a new TypedInterface instance using the specified properties. * @param [properties] Properties to set - * @returns ContainerPort instance + * @returns TypedInterface instance */ - public static create(properties?: flyteidl.core.IContainerPort): flyteidl.core.ContainerPort; + public static create(properties?: flyteidl.core.ITypedInterface): flyteidl.core.TypedInterface; /** - * Encodes the specified ContainerPort message. Does not implicitly {@link flyteidl.core.ContainerPort.verify|verify} messages. - * @param message ContainerPort message or plain object to encode + * Encodes the specified TypedInterface message. Does not implicitly {@link flyteidl.core.TypedInterface.verify|verify} messages. + * @param message TypedInterface message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IContainerPort, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITypedInterface, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ContainerPort message from the specified reader or buffer. + * Decodes a TypedInterface message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ContainerPort + * @returns TypedInterface * @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.core.ContainerPort; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TypedInterface; /** - * Verifies a ContainerPort message. + * Verifies a TypedInterface 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 Container. */ - interface IContainer { - - /** Container image */ - image?: (string|null); - - /** Container command */ - command?: (string[]|null); - - /** Container args */ - args?: (string[]|null); - - /** Container resources */ - resources?: (flyteidl.core.IResources|null); + /** Properties of a Parameter. */ + interface IParameter { - /** Container env */ - env?: (flyteidl.core.IKeyValuePair[]|null); + /** Parameter var */ + "var"?: (flyteidl.core.IVariable|null); - /** Container config */ - config?: (flyteidl.core.IKeyValuePair[]|null); + /** Parameter default */ + "default"?: (flyteidl.core.ILiteral|null); - /** Container ports */ - ports?: (flyteidl.core.IContainerPort[]|null); + /** Parameter required */ + required?: (boolean|null); - /** Container dataConfig */ - dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + /** Parameter artifactQuery */ + artifactQuery?: (flyteidl.core.IArtifactQuery|null); - /** Container architecture */ - architecture?: (flyteidl.core.Container.Architecture|null); + /** Parameter artifactId */ + artifactId?: (flyteidl.core.IArtifactID|null); } - /** Represents a Container. */ - class Container implements IContainer { + /** Represents a Parameter. */ + class Parameter implements IParameter { /** - * Constructs a new Container. + * Constructs a new Parameter. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IContainer); - - /** Container image. */ - public image: string; - - /** Container command. */ - public command: string[]; - - /** Container args. */ - public args: string[]; + constructor(properties?: flyteidl.core.IParameter); - /** Container resources. */ - public resources?: (flyteidl.core.IResources|null); + /** Parameter var. */ + public var?: (flyteidl.core.IVariable|null); - /** Container env. */ - public env: flyteidl.core.IKeyValuePair[]; + /** Parameter default. */ + public default?: (flyteidl.core.ILiteral|null); - /** Container config. */ - public config: flyteidl.core.IKeyValuePair[]; + /** Parameter required. */ + public required: boolean; - /** Container ports. */ - public ports: flyteidl.core.IContainerPort[]; + /** Parameter artifactQuery. */ + public artifactQuery?: (flyteidl.core.IArtifactQuery|null); - /** Container dataConfig. */ - public dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + /** Parameter artifactId. */ + public artifactId?: (flyteidl.core.IArtifactID|null); - /** Container architecture. */ - public architecture: flyteidl.core.Container.Architecture; + /** Parameter behavior. */ + public behavior?: ("default"|"required"|"artifactQuery"|"artifactId"); /** - * Creates a new Container instance using the specified properties. + * Creates a new Parameter instance using the specified properties. * @param [properties] Properties to set - * @returns Container instance + * @returns Parameter instance */ - public static create(properties?: flyteidl.core.IContainer): flyteidl.core.Container; + public static create(properties?: flyteidl.core.IParameter): flyteidl.core.Parameter; /** - * Encodes the specified Container message. Does not implicitly {@link flyteidl.core.Container.verify|verify} messages. - * @param message Container message or plain object to encode + * Encodes the specified Parameter message. Does not implicitly {@link flyteidl.core.Parameter.verify|verify} messages. + * @param message Parameter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IContainer, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IParameter, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Container message from the specified reader or buffer. + * Decodes a Parameter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Container + * @returns Parameter * @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.core.Container; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Parameter; /** - * Verifies a Container message. + * Verifies a Parameter 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 Container { - - /** Architecture enum. */ - enum Architecture { - UNKNOWN = 0, - AMD64 = 1, - ARM64 = 2, - ARM_V6 = 3, - ARM_V7 = 4 - } - } - - /** Properties of a IOStrategy. */ - interface IIOStrategy { - - /** IOStrategy downloadMode */ - downloadMode?: (flyteidl.core.IOStrategy.DownloadMode|null); + /** Properties of a ParameterMap. */ + interface IParameterMap { - /** IOStrategy uploadMode */ - uploadMode?: (flyteidl.core.IOStrategy.UploadMode|null); + /** ParameterMap parameters */ + parameters?: ({ [k: string]: flyteidl.core.IParameter }|null); } - /** Represents a IOStrategy. */ - class IOStrategy implements IIOStrategy { + /** Represents a ParameterMap. */ + class ParameterMap implements IParameterMap { /** - * Constructs a new IOStrategy. + * Constructs a new ParameterMap. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IIOStrategy); - - /** IOStrategy downloadMode. */ - public downloadMode: flyteidl.core.IOStrategy.DownloadMode; + constructor(properties?: flyteidl.core.IParameterMap); - /** IOStrategy uploadMode. */ - public uploadMode: flyteidl.core.IOStrategy.UploadMode; + /** ParameterMap parameters. */ + public parameters: { [k: string]: flyteidl.core.IParameter }; /** - * Creates a new IOStrategy instance using the specified properties. + * Creates a new ParameterMap instance using the specified properties. * @param [properties] Properties to set - * @returns IOStrategy instance + * @returns ParameterMap instance */ - public static create(properties?: flyteidl.core.IIOStrategy): flyteidl.core.IOStrategy; + public static create(properties?: flyteidl.core.IParameterMap): flyteidl.core.ParameterMap; /** - * Encodes the specified IOStrategy message. Does not implicitly {@link flyteidl.core.IOStrategy.verify|verify} messages. - * @param message IOStrategy message or plain object to encode + * Encodes the specified ParameterMap message. Does not implicitly {@link flyteidl.core.ParameterMap.verify|verify} messages. + * @param message ParameterMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IIOStrategy, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IParameterMap, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a IOStrategy message from the specified reader or buffer. + * Decodes a ParameterMap message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns IOStrategy + * @returns ParameterMap * @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.core.IOStrategy; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ParameterMap; /** - * Verifies a IOStrategy message. + * Verifies a ParameterMap 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 IOStrategy { - - /** DownloadMode enum. */ - enum DownloadMode { - DOWNLOAD_EAGER = 0, - DOWNLOAD_STREAM = 1, - DO_NOT_DOWNLOAD = 2 - } - - /** UploadMode enum. */ - enum UploadMode { - UPLOAD_ON_EXIT = 0, - UPLOAD_EAGER = 1, - DO_NOT_UPLOAD = 2 - } - } - - /** Properties of a DataLoadingConfig. */ - interface IDataLoadingConfig { - - /** DataLoadingConfig enabled */ - enabled?: (boolean|null); - - /** DataLoadingConfig inputPath */ - inputPath?: (string|null); - - /** DataLoadingConfig outputPath */ - outputPath?: (string|null); + /** Properties of a Resources. */ + interface IResources { - /** DataLoadingConfig format */ - format?: (flyteidl.core.DataLoadingConfig.LiteralMapFormat|null); + /** Resources requests */ + requests?: (flyteidl.core.Resources.IResourceEntry[]|null); - /** DataLoadingConfig ioStrategy */ - ioStrategy?: (flyteidl.core.IIOStrategy|null); + /** Resources limits */ + limits?: (flyteidl.core.Resources.IResourceEntry[]|null); } - /** Represents a DataLoadingConfig. */ - class DataLoadingConfig implements IDataLoadingConfig { + /** Represents a Resources. */ + class Resources implements IResources { /** - * Constructs a new DataLoadingConfig. + * Constructs a new Resources. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IDataLoadingConfig); - - /** DataLoadingConfig enabled. */ - public enabled: boolean; - - /** DataLoadingConfig inputPath. */ - public inputPath: string; - - /** DataLoadingConfig outputPath. */ - public outputPath: string; + constructor(properties?: flyteidl.core.IResources); - /** DataLoadingConfig format. */ - public format: flyteidl.core.DataLoadingConfig.LiteralMapFormat; + /** Resources requests. */ + public requests: flyteidl.core.Resources.IResourceEntry[]; - /** DataLoadingConfig ioStrategy. */ - public ioStrategy?: (flyteidl.core.IIOStrategy|null); + /** Resources limits. */ + public limits: flyteidl.core.Resources.IResourceEntry[]; /** - * Creates a new DataLoadingConfig instance using the specified properties. + * Creates a new Resources instance using the specified properties. * @param [properties] Properties to set - * @returns DataLoadingConfig instance + * @returns Resources instance */ - public static create(properties?: flyteidl.core.IDataLoadingConfig): flyteidl.core.DataLoadingConfig; + public static create(properties?: flyteidl.core.IResources): flyteidl.core.Resources; /** - * Encodes the specified DataLoadingConfig message. Does not implicitly {@link flyteidl.core.DataLoadingConfig.verify|verify} messages. - * @param message DataLoadingConfig message or plain object to encode + * Encodes the specified Resources message. Does not implicitly {@link flyteidl.core.Resources.verify|verify} messages. + * @param message Resources message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IDataLoadingConfig, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IResources, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DataLoadingConfig message from the specified reader or buffer. + * Decodes a Resources message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DataLoadingConfig + * @returns Resources * @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.core.DataLoadingConfig; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Resources; /** - * Verifies a DataLoadingConfig message. + * Verifies a Resources 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 DataLoadingConfig { + namespace Resources { - /** LiteralMapFormat enum. */ - enum LiteralMapFormat { - JSON = 0, - YAML = 1, - PROTO = 2 + /** ResourceName enum. */ + enum ResourceName { + UNKNOWN = 0, + CPU = 1, + GPU = 2, + MEMORY = 3, + STORAGE = 4, + EPHEMERAL_STORAGE = 5 + } + + /** Properties of a ResourceEntry. */ + interface IResourceEntry { + + /** ResourceEntry name */ + name?: (flyteidl.core.Resources.ResourceName|null); + + /** ResourceEntry value */ + value?: (string|null); + } + + /** Represents a ResourceEntry. */ + class ResourceEntry implements IResourceEntry { + + /** + * Constructs a new ResourceEntry. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.Resources.IResourceEntry); + + /** ResourceEntry name. */ + public name: flyteidl.core.Resources.ResourceName; + + /** ResourceEntry value. */ + public value: string; + + /** + * Creates a new ResourceEntry instance using the specified properties. + * @param [properties] Properties to set + * @returns ResourceEntry instance + */ + public static create(properties?: flyteidl.core.Resources.IResourceEntry): flyteidl.core.Resources.ResourceEntry; + + /** + * Encodes the specified ResourceEntry message. Does not implicitly {@link flyteidl.core.Resources.ResourceEntry.verify|verify} messages. + * @param message ResourceEntry message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.Resources.IResourceEntry, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResourceEntry message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResourceEntry + * @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.core.Resources.ResourceEntry; + + /** + * Verifies a ResourceEntry 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 K8sPod. */ - interface IK8sPod { + /** Properties of a RuntimeMetadata. */ + interface IRuntimeMetadata { - /** K8sPod metadata */ - metadata?: (flyteidl.core.IK8sObjectMetadata|null); + /** RuntimeMetadata type */ + type?: (flyteidl.core.RuntimeMetadata.RuntimeType|null); - /** K8sPod podSpec */ - podSpec?: (google.protobuf.IStruct|null); + /** RuntimeMetadata version */ + version?: (string|null); - /** K8sPod dataConfig */ - dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + /** RuntimeMetadata flavor */ + flavor?: (string|null); } - /** Represents a K8sPod. */ - class K8sPod implements IK8sPod { + /** Represents a RuntimeMetadata. */ + class RuntimeMetadata implements IRuntimeMetadata { /** - * Constructs a new K8sPod. + * Constructs a new RuntimeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IK8sPod); + constructor(properties?: flyteidl.core.IRuntimeMetadata); - /** K8sPod metadata. */ - public metadata?: (flyteidl.core.IK8sObjectMetadata|null); + /** RuntimeMetadata type. */ + public type: flyteidl.core.RuntimeMetadata.RuntimeType; - /** K8sPod podSpec. */ - public podSpec?: (google.protobuf.IStruct|null); + /** RuntimeMetadata version. */ + public version: string; - /** K8sPod dataConfig. */ - public dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + /** RuntimeMetadata flavor. */ + public flavor: string; /** - * Creates a new K8sPod instance using the specified properties. + * Creates a new RuntimeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns K8sPod instance + * @returns RuntimeMetadata instance */ - public static create(properties?: flyteidl.core.IK8sPod): flyteidl.core.K8sPod; + public static create(properties?: flyteidl.core.IRuntimeMetadata): flyteidl.core.RuntimeMetadata; /** - * Encodes the specified K8sPod message. Does not implicitly {@link flyteidl.core.K8sPod.verify|verify} messages. - * @param message K8sPod message or plain object to encode + * Encodes the specified RuntimeMetadata message. Does not implicitly {@link flyteidl.core.RuntimeMetadata.verify|verify} messages. + * @param message RuntimeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IK8sPod, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IRuntimeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a K8sPod message from the specified reader or buffer. + * Decodes a RuntimeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns K8sPod + * @returns RuntimeMetadata * @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.core.K8sPod; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.RuntimeMetadata; /** - * Verifies a K8sPod message. + * Verifies a RuntimeMetadata 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 K8sObjectMetadata. */ - interface IK8sObjectMetadata { - - /** K8sObjectMetadata labels */ - labels?: ({ [k: string]: string }|null); + namespace RuntimeMetadata { - /** K8sObjectMetadata annotations */ - annotations?: ({ [k: string]: string }|null); + /** RuntimeType enum. */ + enum RuntimeType { + OTHER = 0, + FLYTE_SDK = 1 + } } - /** Represents a K8sObjectMetadata. */ - class K8sObjectMetadata implements IK8sObjectMetadata { + /** Properties of a TaskMetadata. */ + interface ITaskMetadata { - /** - * Constructs a new K8sObjectMetadata. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.core.IK8sObjectMetadata); + /** TaskMetadata discoverable */ + discoverable?: (boolean|null); - /** K8sObjectMetadata labels. */ - public labels: { [k: string]: string }; + /** TaskMetadata runtime */ + runtime?: (flyteidl.core.IRuntimeMetadata|null); - /** K8sObjectMetadata annotations. */ - public annotations: { [k: string]: string }; + /** TaskMetadata timeout */ + timeout?: (google.protobuf.IDuration|null); - /** - * Creates a new K8sObjectMetadata instance using the specified properties. - * @param [properties] Properties to set - * @returns K8sObjectMetadata instance - */ - public static create(properties?: flyteidl.core.IK8sObjectMetadata): flyteidl.core.K8sObjectMetadata; + /** TaskMetadata retries */ + retries?: (flyteidl.core.IRetryStrategy|null); - /** - * Encodes the specified K8sObjectMetadata message. Does not implicitly {@link flyteidl.core.K8sObjectMetadata.verify|verify} messages. - * @param message K8sObjectMetadata message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.core.IK8sObjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + /** TaskMetadata discoveryVersion */ + discoveryVersion?: (string|null); - /** - * Decodes a K8sObjectMetadata message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns K8sObjectMetadata - * @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.core.K8sObjectMetadata; + /** TaskMetadata deprecatedErrorMessage */ + deprecatedErrorMessage?: (string|null); - /** - * Verifies a K8sObjectMetadata 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); - } + /** TaskMetadata interruptible */ + interruptible?: (boolean|null); - /** Properties of a Sql. */ - interface ISql { + /** TaskMetadata cacheSerializable */ + cacheSerializable?: (boolean|null); - /** Sql statement */ - statement?: (string|null); + /** TaskMetadata generatesDeck */ + generatesDeck?: (boolean|null); - /** Sql dialect */ - dialect?: (flyteidl.core.Sql.Dialect|null); + /** TaskMetadata tags */ + tags?: ({ [k: string]: string }|null); + + /** TaskMetadata podTemplateName */ + podTemplateName?: (string|null); } - /** Represents a Sql. */ - class Sql implements ISql { + /** Represents a TaskMetadata. */ + class TaskMetadata implements ITaskMetadata { /** - * Constructs a new Sql. + * Constructs a new TaskMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISql); + constructor(properties?: flyteidl.core.ITaskMetadata); - /** Sql statement. */ - public statement: string; + /** TaskMetadata discoverable. */ + public discoverable: boolean; - /** Sql dialect. */ - public dialect: flyteidl.core.Sql.Dialect; + /** TaskMetadata runtime. */ + public runtime?: (flyteidl.core.IRuntimeMetadata|null); + + /** TaskMetadata timeout. */ + public timeout?: (google.protobuf.IDuration|null); + + /** TaskMetadata retries. */ + public retries?: (flyteidl.core.IRetryStrategy|null); + + /** TaskMetadata discoveryVersion. */ + public discoveryVersion: string; + + /** TaskMetadata deprecatedErrorMessage. */ + public deprecatedErrorMessage: string; + + /** TaskMetadata interruptible. */ + public interruptible: boolean; + + /** TaskMetadata cacheSerializable. */ + public cacheSerializable: boolean; + + /** TaskMetadata generatesDeck. */ + public generatesDeck: boolean; + + /** TaskMetadata tags. */ + public tags: { [k: string]: string }; + + /** TaskMetadata podTemplateName. */ + public podTemplateName: string; + + /** TaskMetadata interruptibleValue. */ + public interruptibleValue?: "interruptible"; /** - * Creates a new Sql instance using the specified properties. + * Creates a new TaskMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns Sql instance + * @returns TaskMetadata instance */ - public static create(properties?: flyteidl.core.ISql): flyteidl.core.Sql; + public static create(properties?: flyteidl.core.ITaskMetadata): flyteidl.core.TaskMetadata; /** - * Encodes the specified Sql message. Does not implicitly {@link flyteidl.core.Sql.verify|verify} messages. - * @param message Sql message or plain object to encode + * Encodes the specified TaskMetadata message. Does not implicitly {@link flyteidl.core.TaskMetadata.verify|verify} messages. + * @param message TaskMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISql, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITaskMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Sql message from the specified reader or buffer. + * Decodes a TaskMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Sql + * @returns TaskMetadata * @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.core.Sql; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskMetadata; /** - * Verifies a Sql message. + * Verifies a TaskMetadata 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 Sql { + /** Properties of a TaskTemplate. */ + interface ITaskTemplate { - /** Dialect enum. */ - enum Dialect { - UNDEFINED = 0, - ANSI = 1, - HIVE = 2, - OTHER = 3 - } - } + /** TaskTemplate id */ + id?: (flyteidl.core.IIdentifier|null); - /** Properties of a Secret. */ - interface ISecret { + /** TaskTemplate type */ + type?: (string|null); - /** Secret group */ - group?: (string|null); + /** TaskTemplate metadata */ + metadata?: (flyteidl.core.ITaskMetadata|null); - /** Secret groupVersion */ - groupVersion?: (string|null); + /** TaskTemplate interface */ + "interface"?: (flyteidl.core.ITypedInterface|null); - /** Secret key */ - key?: (string|null); + /** TaskTemplate custom */ + custom?: (google.protobuf.IStruct|null); - /** Secret mountRequirement */ - mountRequirement?: (flyteidl.core.Secret.MountType|null); + /** TaskTemplate container */ + container?: (flyteidl.core.IContainer|null); + + /** TaskTemplate k8sPod */ + k8sPod?: (flyteidl.core.IK8sPod|null); + + /** TaskTemplate sql */ + sql?: (flyteidl.core.ISql|null); + + /** TaskTemplate taskTypeVersion */ + taskTypeVersion?: (number|null); + + /** TaskTemplate securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** TaskTemplate config */ + config?: ({ [k: string]: string }|null); } - /** Represents a Secret. */ - class Secret implements ISecret { + /** Represents a TaskTemplate. */ + class TaskTemplate implements ITaskTemplate { /** - * Constructs a new Secret. + * Constructs a new TaskTemplate. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISecret); + constructor(properties?: flyteidl.core.ITaskTemplate); - /** Secret group. */ - public group: string; + /** TaskTemplate id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** Secret groupVersion. */ - public groupVersion: string; + /** TaskTemplate type. */ + public type: string; - /** Secret key. */ - public key: string; + /** TaskTemplate metadata. */ + public metadata?: (flyteidl.core.ITaskMetadata|null); - /** Secret mountRequirement. */ - public mountRequirement: flyteidl.core.Secret.MountType; + /** TaskTemplate interface. */ + public interface?: (flyteidl.core.ITypedInterface|null); + + /** TaskTemplate custom. */ + public custom?: (google.protobuf.IStruct|null); + + /** TaskTemplate container. */ + public container?: (flyteidl.core.IContainer|null); + + /** TaskTemplate k8sPod. */ + public k8sPod?: (flyteidl.core.IK8sPod|null); + + /** TaskTemplate sql. */ + public sql?: (flyteidl.core.ISql|null); + + /** TaskTemplate taskTypeVersion. */ + public taskTypeVersion: number; + + /** TaskTemplate securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** TaskTemplate config. */ + public config: { [k: string]: string }; + + /** TaskTemplate target. */ + public target?: ("container"|"k8sPod"|"sql"); /** - * Creates a new Secret instance using the specified properties. + * Creates a new TaskTemplate instance using the specified properties. * @param [properties] Properties to set - * @returns Secret instance + * @returns TaskTemplate instance */ - public static create(properties?: flyteidl.core.ISecret): flyteidl.core.Secret; + public static create(properties?: flyteidl.core.ITaskTemplate): flyteidl.core.TaskTemplate; /** - * Encodes the specified Secret message. Does not implicitly {@link flyteidl.core.Secret.verify|verify} messages. - * @param message Secret message or plain object to encode + * Encodes the specified TaskTemplate message. Does not implicitly {@link flyteidl.core.TaskTemplate.verify|verify} messages. + * @param message TaskTemplate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISecret, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ITaskTemplate, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Secret message from the specified reader or buffer. + * Decodes a TaskTemplate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Secret + * @returns TaskTemplate * @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.core.Secret; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskTemplate; /** - * Verifies a Secret message. + * Verifies a TaskTemplate 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 Secret { + /** Properties of a ContainerPort. */ + interface IContainerPort { - /** MountType enum. */ - enum MountType { - ANY = 0, - ENV_VAR = 1, - FILE = 2 - } - } - - /** Properties of a OAuth2Client. */ - interface IOAuth2Client { - - /** OAuth2Client clientId */ - clientId?: (string|null); - - /** OAuth2Client clientSecret */ - clientSecret?: (flyteidl.core.ISecret|null); + /** ContainerPort containerPort */ + containerPort?: (number|null); } - /** Represents a OAuth2Client. */ - class OAuth2Client implements IOAuth2Client { + /** Represents a ContainerPort. */ + class ContainerPort implements IContainerPort { /** - * Constructs a new OAuth2Client. + * Constructs a new ContainerPort. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IOAuth2Client); - - /** OAuth2Client clientId. */ - public clientId: string; + constructor(properties?: flyteidl.core.IContainerPort); - /** OAuth2Client clientSecret. */ - public clientSecret?: (flyteidl.core.ISecret|null); + /** ContainerPort containerPort. */ + public containerPort: number; /** - * Creates a new OAuth2Client instance using the specified properties. + * Creates a new ContainerPort instance using the specified properties. * @param [properties] Properties to set - * @returns OAuth2Client instance + * @returns ContainerPort instance */ - public static create(properties?: flyteidl.core.IOAuth2Client): flyteidl.core.OAuth2Client; + public static create(properties?: flyteidl.core.IContainerPort): flyteidl.core.ContainerPort; /** - * Encodes the specified OAuth2Client message. Does not implicitly {@link flyteidl.core.OAuth2Client.verify|verify} messages. - * @param message OAuth2Client message or plain object to encode + * Encodes the specified ContainerPort message. Does not implicitly {@link flyteidl.core.ContainerPort.verify|verify} messages. + * @param message ContainerPort message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IOAuth2Client, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IContainerPort, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a OAuth2Client message from the specified reader or buffer. + * Decodes a ContainerPort message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns OAuth2Client + * @returns ContainerPort * @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.core.OAuth2Client; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ContainerPort; /** - * Verifies a OAuth2Client message. + * Verifies a ContainerPort 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 Identity. */ - interface IIdentity { + /** Properties of a Container. */ + interface IContainer { - /** Identity iamRole */ - iamRole?: (string|null); + /** Container image */ + image?: (string|null); - /** Identity k8sServiceAccount */ - k8sServiceAccount?: (string|null); + /** Container command */ + command?: (string[]|null); - /** Identity oauth2Client */ - oauth2Client?: (flyteidl.core.IOAuth2Client|null); + /** Container args */ + args?: (string[]|null); - /** Identity executionIdentity */ - executionIdentity?: (string|null); + /** Container resources */ + resources?: (flyteidl.core.IResources|null); + + /** Container env */ + env?: (flyteidl.core.IKeyValuePair[]|null); + + /** Container config */ + config?: (flyteidl.core.IKeyValuePair[]|null); + + /** Container ports */ + ports?: (flyteidl.core.IContainerPort[]|null); + + /** Container dataConfig */ + dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + + /** Container architecture */ + architecture?: (flyteidl.core.Container.Architecture|null); } - /** Represents an Identity. */ - class Identity implements IIdentity { + /** Represents a Container. */ + class Container implements IContainer { /** - * Constructs a new Identity. + * Constructs a new Container. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IIdentity); + constructor(properties?: flyteidl.core.IContainer); - /** Identity iamRole. */ - public iamRole: string; + /** Container image. */ + public image: string; - /** Identity k8sServiceAccount. */ - public k8sServiceAccount: string; + /** Container command. */ + public command: string[]; - /** Identity oauth2Client. */ - public oauth2Client?: (flyteidl.core.IOAuth2Client|null); + /** Container args. */ + public args: string[]; - /** Identity executionIdentity. */ - public executionIdentity: string; + /** Container resources. */ + public resources?: (flyteidl.core.IResources|null); + + /** Container env. */ + public env: flyteidl.core.IKeyValuePair[]; + + /** Container config. */ + public config: flyteidl.core.IKeyValuePair[]; + + /** Container ports. */ + public ports: flyteidl.core.IContainerPort[]; + + /** Container dataConfig. */ + public dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + + /** Container architecture. */ + public architecture: flyteidl.core.Container.Architecture; /** - * Creates a new Identity instance using the specified properties. + * Creates a new Container instance using the specified properties. * @param [properties] Properties to set - * @returns Identity instance + * @returns Container instance */ - public static create(properties?: flyteidl.core.IIdentity): flyteidl.core.Identity; + public static create(properties?: flyteidl.core.IContainer): flyteidl.core.Container; /** - * Encodes the specified Identity message. Does not implicitly {@link flyteidl.core.Identity.verify|verify} messages. - * @param message Identity message or plain object to encode + * Encodes the specified Container message. Does not implicitly {@link flyteidl.core.Container.verify|verify} messages. + * @param message Container message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IContainer, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Identity message from the specified reader or buffer. + * Decodes a Container message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Identity + * @returns Container * @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.core.Identity; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Container; /** - * Verifies an Identity message. + * Verifies a Container 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 OAuth2TokenRequest. */ - interface IOAuth2TokenRequest { - - /** OAuth2TokenRequest name */ - name?: (string|null); + namespace Container { - /** OAuth2TokenRequest type */ - type?: (flyteidl.core.OAuth2TokenRequest.Type|null); + /** Architecture enum. */ + enum Architecture { + UNKNOWN = 0, + AMD64 = 1, + ARM64 = 2, + ARM_V6 = 3, + ARM_V7 = 4 + } + } - /** OAuth2TokenRequest client */ - client?: (flyteidl.core.IOAuth2Client|null); + /** Properties of a IOStrategy. */ + interface IIOStrategy { - /** OAuth2TokenRequest idpDiscoveryEndpoint */ - idpDiscoveryEndpoint?: (string|null); + /** IOStrategy downloadMode */ + downloadMode?: (flyteidl.core.IOStrategy.DownloadMode|null); - /** OAuth2TokenRequest tokenEndpoint */ - tokenEndpoint?: (string|null); + /** IOStrategy uploadMode */ + uploadMode?: (flyteidl.core.IOStrategy.UploadMode|null); } - /** Represents a OAuth2TokenRequest. */ - class OAuth2TokenRequest implements IOAuth2TokenRequest { + /** Represents a IOStrategy. */ + class IOStrategy implements IIOStrategy { /** - * Constructs a new OAuth2TokenRequest. + * Constructs a new IOStrategy. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IOAuth2TokenRequest); - - /** OAuth2TokenRequest name. */ - public name: string; - - /** OAuth2TokenRequest type. */ - public type: flyteidl.core.OAuth2TokenRequest.Type; - - /** OAuth2TokenRequest client. */ - public client?: (flyteidl.core.IOAuth2Client|null); + constructor(properties?: flyteidl.core.IIOStrategy); - /** OAuth2TokenRequest idpDiscoveryEndpoint. */ - public idpDiscoveryEndpoint: string; + /** IOStrategy downloadMode. */ + public downloadMode: flyteidl.core.IOStrategy.DownloadMode; - /** OAuth2TokenRequest tokenEndpoint. */ - public tokenEndpoint: string; + /** IOStrategy uploadMode. */ + public uploadMode: flyteidl.core.IOStrategy.UploadMode; /** - * Creates a new OAuth2TokenRequest instance using the specified properties. + * Creates a new IOStrategy instance using the specified properties. * @param [properties] Properties to set - * @returns OAuth2TokenRequest instance + * @returns IOStrategy instance */ - public static create(properties?: flyteidl.core.IOAuth2TokenRequest): flyteidl.core.OAuth2TokenRequest; + public static create(properties?: flyteidl.core.IIOStrategy): flyteidl.core.IOStrategy; /** - * Encodes the specified OAuth2TokenRequest message. Does not implicitly {@link flyteidl.core.OAuth2TokenRequest.verify|verify} messages. - * @param message OAuth2TokenRequest message or plain object to encode + * Encodes the specified IOStrategy message. Does not implicitly {@link flyteidl.core.IOStrategy.verify|verify} messages. + * @param message IOStrategy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IOAuth2TokenRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IIOStrategy, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a OAuth2TokenRequest message from the specified reader or buffer. + * Decodes a IOStrategy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns OAuth2TokenRequest + * @returns IOStrategy * @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.core.OAuth2TokenRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.IOStrategy; /** - * Verifies a OAuth2TokenRequest message. + * Verifies a IOStrategy 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 OAuth2TokenRequest { + namespace IOStrategy { - /** Type enum. */ - enum Type { - CLIENT_CREDENTIALS = 0 + /** DownloadMode enum. */ + enum DownloadMode { + DOWNLOAD_EAGER = 0, + DOWNLOAD_STREAM = 1, + DO_NOT_DOWNLOAD = 2 + } + + /** UploadMode enum. */ + enum UploadMode { + UPLOAD_ON_EXIT = 0, + UPLOAD_EAGER = 1, + DO_NOT_UPLOAD = 2 } } - /** Properties of a SecurityContext. */ - interface ISecurityContext { + /** Properties of a DataLoadingConfig. */ + interface IDataLoadingConfig { - /** SecurityContext runAs */ - runAs?: (flyteidl.core.IIdentity|null); + /** DataLoadingConfig enabled */ + enabled?: (boolean|null); - /** SecurityContext secrets */ - secrets?: (flyteidl.core.ISecret[]|null); + /** DataLoadingConfig inputPath */ + inputPath?: (string|null); - /** SecurityContext tokens */ - tokens?: (flyteidl.core.IOAuth2TokenRequest[]|null); - } + /** DataLoadingConfig outputPath */ + outputPath?: (string|null); - /** Represents a SecurityContext. */ - class SecurityContext implements ISecurityContext { + /** DataLoadingConfig format */ + format?: (flyteidl.core.DataLoadingConfig.LiteralMapFormat|null); + + /** DataLoadingConfig ioStrategy */ + ioStrategy?: (flyteidl.core.IIOStrategy|null); + } + + /** Represents a DataLoadingConfig. */ + class DataLoadingConfig implements IDataLoadingConfig { /** - * Constructs a new SecurityContext. + * Constructs a new DataLoadingConfig. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISecurityContext); + constructor(properties?: flyteidl.core.IDataLoadingConfig); - /** SecurityContext runAs. */ - public runAs?: (flyteidl.core.IIdentity|null); + /** DataLoadingConfig enabled. */ + public enabled: boolean; - /** SecurityContext secrets. */ - public secrets: flyteidl.core.ISecret[]; + /** DataLoadingConfig inputPath. */ + public inputPath: string; - /** SecurityContext tokens. */ - public tokens: flyteidl.core.IOAuth2TokenRequest[]; + /** DataLoadingConfig outputPath. */ + public outputPath: string; + + /** DataLoadingConfig format. */ + public format: flyteidl.core.DataLoadingConfig.LiteralMapFormat; + + /** DataLoadingConfig ioStrategy. */ + public ioStrategy?: (flyteidl.core.IIOStrategy|null); /** - * Creates a new SecurityContext instance using the specified properties. + * Creates a new DataLoadingConfig instance using the specified properties. * @param [properties] Properties to set - * @returns SecurityContext instance + * @returns DataLoadingConfig instance */ - public static create(properties?: flyteidl.core.ISecurityContext): flyteidl.core.SecurityContext; + public static create(properties?: flyteidl.core.IDataLoadingConfig): flyteidl.core.DataLoadingConfig; /** - * Encodes the specified SecurityContext message. Does not implicitly {@link flyteidl.core.SecurityContext.verify|verify} messages. - * @param message SecurityContext message or plain object to encode + * Encodes the specified DataLoadingConfig message. Does not implicitly {@link flyteidl.core.DataLoadingConfig.verify|verify} messages. + * @param message DataLoadingConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISecurityContext, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IDataLoadingConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SecurityContext message from the specified reader or buffer. + * Decodes a DataLoadingConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SecurityContext + * @returns DataLoadingConfig * @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.core.SecurityContext; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.DataLoadingConfig; /** - * Verifies a SecurityContext message. + * Verifies a DataLoadingConfig 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 DynamicJobSpec. */ - interface IDynamicJobSpec { + namespace DataLoadingConfig { - /** DynamicJobSpec nodes */ - nodes?: (flyteidl.core.INode[]|null); + /** LiteralMapFormat enum. */ + enum LiteralMapFormat { + JSON = 0, + YAML = 1, + PROTO = 2 + } + } - /** DynamicJobSpec minSuccesses */ - minSuccesses?: (Long|null); + /** Properties of a K8sPod. */ + interface IK8sPod { - /** DynamicJobSpec outputs */ - outputs?: (flyteidl.core.IBinding[]|null); + /** K8sPod metadata */ + metadata?: (flyteidl.core.IK8sObjectMetadata|null); - /** DynamicJobSpec tasks */ - tasks?: (flyteidl.core.ITaskTemplate[]|null); + /** K8sPod podSpec */ + podSpec?: (google.protobuf.IStruct|null); - /** DynamicJobSpec subworkflows */ - subworkflows?: (flyteidl.core.IWorkflowTemplate[]|null); + /** K8sPod dataConfig */ + dataConfig?: (flyteidl.core.IDataLoadingConfig|null); } - /** Represents a DynamicJobSpec. */ - class DynamicJobSpec implements IDynamicJobSpec { + /** Represents a K8sPod. */ + class K8sPod implements IK8sPod { /** - * Constructs a new DynamicJobSpec. + * Constructs a new K8sPod. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IDynamicJobSpec); - - /** DynamicJobSpec nodes. */ - public nodes: flyteidl.core.INode[]; - - /** DynamicJobSpec minSuccesses. */ - public minSuccesses: Long; + constructor(properties?: flyteidl.core.IK8sPod); - /** DynamicJobSpec outputs. */ - public outputs: flyteidl.core.IBinding[]; + /** K8sPod metadata. */ + public metadata?: (flyteidl.core.IK8sObjectMetadata|null); - /** DynamicJobSpec tasks. */ - public tasks: flyteidl.core.ITaskTemplate[]; + /** K8sPod podSpec. */ + public podSpec?: (google.protobuf.IStruct|null); - /** DynamicJobSpec subworkflows. */ - public subworkflows: flyteidl.core.IWorkflowTemplate[]; + /** K8sPod dataConfig. */ + public dataConfig?: (flyteidl.core.IDataLoadingConfig|null); /** - * Creates a new DynamicJobSpec instance using the specified properties. + * Creates a new K8sPod instance using the specified properties. * @param [properties] Properties to set - * @returns DynamicJobSpec instance + * @returns K8sPod instance */ - public static create(properties?: flyteidl.core.IDynamicJobSpec): flyteidl.core.DynamicJobSpec; + public static create(properties?: flyteidl.core.IK8sPod): flyteidl.core.K8sPod; /** - * Encodes the specified DynamicJobSpec message. Does not implicitly {@link flyteidl.core.DynamicJobSpec.verify|verify} messages. - * @param message DynamicJobSpec message or plain object to encode + * Encodes the specified K8sPod message. Does not implicitly {@link flyteidl.core.K8sPod.verify|verify} messages. + * @param message K8sPod message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IDynamicJobSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IK8sPod, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DynamicJobSpec message from the specified reader or buffer. + * Decodes a K8sPod message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DynamicJobSpec + * @returns K8sPod * @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.core.DynamicJobSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.K8sPod; /** - * Verifies a DynamicJobSpec message. + * Verifies a K8sPod 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 ContainerError. */ - interface IContainerError { - - /** ContainerError code */ - code?: (string|null); - - /** ContainerError message */ - message?: (string|null); + /** Properties of a K8sObjectMetadata. */ + interface IK8sObjectMetadata { - /** ContainerError kind */ - kind?: (flyteidl.core.ContainerError.Kind|null); + /** K8sObjectMetadata labels */ + labels?: ({ [k: string]: string }|null); - /** ContainerError origin */ - origin?: (flyteidl.core.ExecutionError.ErrorKind|null); + /** K8sObjectMetadata annotations */ + annotations?: ({ [k: string]: string }|null); } - /** Represents a ContainerError. */ - class ContainerError implements IContainerError { + /** Represents a K8sObjectMetadata. */ + class K8sObjectMetadata implements IK8sObjectMetadata { /** - * Constructs a new ContainerError. + * Constructs a new K8sObjectMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IContainerError); - - /** ContainerError code. */ - public code: string; - - /** ContainerError message. */ - public message: string; + constructor(properties?: flyteidl.core.IK8sObjectMetadata); - /** ContainerError kind. */ - public kind: flyteidl.core.ContainerError.Kind; + /** K8sObjectMetadata labels. */ + public labels: { [k: string]: string }; - /** ContainerError origin. */ - public origin: flyteidl.core.ExecutionError.ErrorKind; + /** K8sObjectMetadata annotations. */ + public annotations: { [k: string]: string }; /** - * Creates a new ContainerError instance using the specified properties. + * Creates a new K8sObjectMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns ContainerError instance + * @returns K8sObjectMetadata instance */ - public static create(properties?: flyteidl.core.IContainerError): flyteidl.core.ContainerError; + public static create(properties?: flyteidl.core.IK8sObjectMetadata): flyteidl.core.K8sObjectMetadata; /** - * Encodes the specified ContainerError message. Does not implicitly {@link flyteidl.core.ContainerError.verify|verify} messages. - * @param message ContainerError message or plain object to encode + * Encodes the specified K8sObjectMetadata message. Does not implicitly {@link flyteidl.core.K8sObjectMetadata.verify|verify} messages. + * @param message K8sObjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IContainerError, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IK8sObjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ContainerError message from the specified reader or buffer. + * Decodes a K8sObjectMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ContainerError + * @returns K8sObjectMetadata * @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.core.ContainerError; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.K8sObjectMetadata; /** - * Verifies a ContainerError message. + * Verifies a K8sObjectMetadata 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 ContainerError { - - /** Kind enum. */ - enum Kind { - NON_RECOVERABLE = 0, - RECOVERABLE = 1 - } - } + /** Properties of a Sql. */ + interface ISql { - /** Properties of an ErrorDocument. */ - interface IErrorDocument { + /** Sql statement */ + statement?: (string|null); - /** ErrorDocument error */ - error?: (flyteidl.core.IContainerError|null); + /** Sql dialect */ + dialect?: (flyteidl.core.Sql.Dialect|null); } - /** Represents an ErrorDocument. */ - class ErrorDocument implements IErrorDocument { + /** Represents a Sql. */ + class Sql implements ISql { /** - * Constructs a new ErrorDocument. + * Constructs a new Sql. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IErrorDocument); + constructor(properties?: flyteidl.core.ISql); - /** ErrorDocument error. */ - public error?: (flyteidl.core.IContainerError|null); + /** Sql statement. */ + public statement: string; + + /** Sql dialect. */ + public dialect: flyteidl.core.Sql.Dialect; /** - * Creates a new ErrorDocument instance using the specified properties. + * Creates a new Sql instance using the specified properties. * @param [properties] Properties to set - * @returns ErrorDocument instance + * @returns Sql instance */ - public static create(properties?: flyteidl.core.IErrorDocument): flyteidl.core.ErrorDocument; + public static create(properties?: flyteidl.core.ISql): flyteidl.core.Sql; /** - * Encodes the specified ErrorDocument message. Does not implicitly {@link flyteidl.core.ErrorDocument.verify|verify} messages. - * @param message ErrorDocument message or plain object to encode + * Encodes the specified Sql message. Does not implicitly {@link flyteidl.core.Sql.verify|verify} messages. + * @param message Sql message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IErrorDocument, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ISql, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ErrorDocument message from the specified reader or buffer. + * Decodes a Sql message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ErrorDocument + * @returns Sql * @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.core.ErrorDocument; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Sql; /** - * Verifies an ErrorDocument message. + * Verifies a Sql 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 Span. */ - interface ISpan { + namespace Sql { - /** Span startTime */ - startTime?: (google.protobuf.ITimestamp|null); + /** Dialect enum. */ + enum Dialect { + UNDEFINED = 0, + ANSI = 1, + HIVE = 2, + OTHER = 3 + } + } - /** Span endTime */ - endTime?: (google.protobuf.ITimestamp|null); + /** Properties of a Secret. */ + interface ISecret { - /** Span workflowId */ - workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** Span nodeId */ - nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + /** Secret group */ + group?: (string|null); - /** Span taskId */ - taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** Secret groupVersion */ + groupVersion?: (string|null); - /** Span operationId */ - operationId?: (string|null); + /** Secret key */ + key?: (string|null); - /** Span spans */ - spans?: (flyteidl.core.ISpan[]|null); + /** Secret mountRequirement */ + mountRequirement?: (flyteidl.core.Secret.MountType|null); } - /** Represents a Span. */ - class Span implements ISpan { + /** Represents a Secret. */ + class Secret implements ISecret { /** - * Constructs a new Span. + * Constructs a new Secret. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ISpan); - - /** Span startTime. */ - public startTime?: (google.protobuf.ITimestamp|null); - - /** Span endTime. */ - public endTime?: (google.protobuf.ITimestamp|null); - - /** Span workflowId. */ - public workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** Span nodeId. */ - public nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + constructor(properties?: flyteidl.core.ISecret); - /** Span taskId. */ - public taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** Secret group. */ + public group: string; - /** Span operationId. */ - public operationId: string; + /** Secret groupVersion. */ + public groupVersion: string; - /** Span spans. */ - public spans: flyteidl.core.ISpan[]; + /** Secret key. */ + public key: string; - /** Span id. */ - public id?: ("workflowId"|"nodeId"|"taskId"|"operationId"); + /** Secret mountRequirement. */ + public mountRequirement: flyteidl.core.Secret.MountType; /** - * Creates a new Span instance using the specified properties. + * Creates a new Secret instance using the specified properties. * @param [properties] Properties to set - * @returns Span instance + * @returns Secret instance */ - public static create(properties?: flyteidl.core.ISpan): flyteidl.core.Span; + public static create(properties?: flyteidl.core.ISecret): flyteidl.core.Secret; /** - * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. - * @param message Span message or plain object to encode + * Encodes the specified Secret message. Does not implicitly {@link flyteidl.core.Secret.verify|verify} messages. + * @param message Secret message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ISpan, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ISecret, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Span message from the specified reader or buffer. + * Decodes a Secret message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Span + * @returns Secret * @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.core.Span; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Secret; /** - * Verifies a Span message. + * Verifies a Secret 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 WorkflowClosure. */ - interface IWorkflowClosure { + namespace Secret { - /** WorkflowClosure workflow */ - workflow?: (flyteidl.core.IWorkflowTemplate|null); + /** MountType enum. */ + enum MountType { + ANY = 0, + ENV_VAR = 1, + FILE = 2 + } + } - /** WorkflowClosure tasks */ - tasks?: (flyteidl.core.ITaskTemplate[]|null); + /** Properties of a OAuth2Client. */ + interface IOAuth2Client { + + /** OAuth2Client clientId */ + clientId?: (string|null); + + /** OAuth2Client clientSecret */ + clientSecret?: (flyteidl.core.ISecret|null); } - /** Represents a WorkflowClosure. */ - class WorkflowClosure implements IWorkflowClosure { + /** Represents a OAuth2Client. */ + class OAuth2Client implements IOAuth2Client { /** - * Constructs a new WorkflowClosure. + * Constructs a new OAuth2Client. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.IWorkflowClosure); + constructor(properties?: flyteidl.core.IOAuth2Client); - /** WorkflowClosure workflow. */ - public workflow?: (flyteidl.core.IWorkflowTemplate|null); + /** OAuth2Client clientId. */ + public clientId: string; - /** WorkflowClosure tasks. */ - public tasks: flyteidl.core.ITaskTemplate[]; + /** OAuth2Client clientSecret. */ + public clientSecret?: (flyteidl.core.ISecret|null); /** - * Creates a new WorkflowClosure instance using the specified properties. + * Creates a new OAuth2Client instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowClosure instance + * @returns OAuth2Client instance */ - public static create(properties?: flyteidl.core.IWorkflowClosure): flyteidl.core.WorkflowClosure; + public static create(properties?: flyteidl.core.IOAuth2Client): flyteidl.core.OAuth2Client; /** - * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.core.WorkflowClosure.verify|verify} messages. - * @param message WorkflowClosure message or plain object to encode + * Encodes the specified OAuth2Client message. Does not implicitly {@link flyteidl.core.OAuth2Client.verify|verify} messages. + * @param message OAuth2Client message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IOAuth2Client, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowClosure message from the specified reader or buffer. + * Decodes a OAuth2Client 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 OAuth2Client * @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.core.WorkflowClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.OAuth2Client; /** - * Verifies a WorkflowClosure message. + * Verifies a OAuth2Client 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 event. */ - namespace event { - - /** Properties of a WorkflowExecutionEvent. */ - interface IWorkflowExecutionEvent { - - /** WorkflowExecutionEvent executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** WorkflowExecutionEvent producerId */ - producerId?: (string|null); - /** WorkflowExecutionEvent phase */ - phase?: (flyteidl.core.WorkflowExecution.Phase|null); + /** Properties of an Identity. */ + interface IIdentity { - /** WorkflowExecutionEvent occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** Identity iamRole */ + iamRole?: (string|null); - /** WorkflowExecutionEvent outputUri */ - outputUri?: (string|null); + /** Identity k8sServiceAccount */ + k8sServiceAccount?: (string|null); - /** WorkflowExecutionEvent error */ - error?: (flyteidl.core.IExecutionError|null); + /** Identity oauth2Client */ + oauth2Client?: (flyteidl.core.IOAuth2Client|null); - /** WorkflowExecutionEvent outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); + /** Identity executionIdentity */ + executionIdentity?: (string|null); } - /** Represents a WorkflowExecutionEvent. */ - class WorkflowExecutionEvent implements IWorkflowExecutionEvent { + /** Represents an Identity. */ + class Identity implements IIdentity { /** - * Constructs a new WorkflowExecutionEvent. + * Constructs a new Identity. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IWorkflowExecutionEvent); - - /** WorkflowExecutionEvent executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** WorkflowExecutionEvent producerId. */ - public producerId: string; - - /** WorkflowExecutionEvent phase. */ - public phase: flyteidl.core.WorkflowExecution.Phase; - - /** WorkflowExecutionEvent occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + constructor(properties?: flyteidl.core.IIdentity); - /** WorkflowExecutionEvent outputUri. */ - public outputUri: string; + /** Identity iamRole. */ + public iamRole: string; - /** WorkflowExecutionEvent error. */ - public error?: (flyteidl.core.IExecutionError|null); + /** Identity k8sServiceAccount. */ + public k8sServiceAccount: string; - /** WorkflowExecutionEvent outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); + /** Identity oauth2Client. */ + public oauth2Client?: (flyteidl.core.IOAuth2Client|null); - /** WorkflowExecutionEvent outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** Identity executionIdentity. */ + public executionIdentity: string; /** - * Creates a new WorkflowExecutionEvent instance using the specified properties. + * Creates a new Identity instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionEvent instance + * @returns Identity instance */ - public static create(properties?: flyteidl.event.IWorkflowExecutionEvent): flyteidl.event.WorkflowExecutionEvent; + public static create(properties?: flyteidl.core.IIdentity): flyteidl.core.Identity; /** - * 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 Identity message. Does not implicitly {@link flyteidl.core.Identity.verify|verify} messages. + * @param message Identity 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.core.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. + * Decodes an Identity 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 Identity * @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.core.Identity; /** - * Verifies a WorkflowExecutionEvent message. + * Verifies an Identity 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 OAuth2TokenRequest. */ + interface IOAuth2TokenRequest { - /** NodeExecutionEvent producerId */ - producerId?: (string|null); + /** OAuth2TokenRequest name */ + name?: (string|null); - /** NodeExecutionEvent phase */ - phase?: (flyteidl.core.NodeExecution.Phase|null); + /** OAuth2TokenRequest type */ + type?: (flyteidl.core.OAuth2TokenRequest.Type|null); - /** NodeExecutionEvent occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** OAuth2TokenRequest client */ + client?: (flyteidl.core.IOAuth2Client|null); - /** NodeExecutionEvent inputUri */ - inputUri?: (string|null); + /** OAuth2TokenRequest idpDiscoveryEndpoint */ + idpDiscoveryEndpoint?: (string|null); - /** NodeExecutionEvent inputData */ - inputData?: (flyteidl.core.ILiteralMap|null); + /** OAuth2TokenRequest tokenEndpoint */ + tokenEndpoint?: (string|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); - } - - /** Represents a NodeExecutionEvent. */ - class NodeExecutionEvent implements INodeExecutionEvent { + /** Represents a OAuth2TokenRequest. */ + class OAuth2TokenRequest implements IOAuth2TokenRequest { /** - * Constructs a new NodeExecutionEvent. + * Constructs a new OAuth2TokenRequest. * @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; + constructor(properties?: flyteidl.core.IOAuth2TokenRequest); - /** NodeExecutionEvent reportedAt. */ - public reportedAt?: (google.protobuf.ITimestamp|null); + /** OAuth2TokenRequest name. */ + public name: string; - /** NodeExecutionEvent isArray. */ - public isArray: boolean; + /** OAuth2TokenRequest type. */ + public type: flyteidl.core.OAuth2TokenRequest.Type; - /** NodeExecutionEvent inputValue. */ - public inputValue?: ("inputUri"|"inputData"); + /** OAuth2TokenRequest client. */ + public client?: (flyteidl.core.IOAuth2Client|null); - /** NodeExecutionEvent outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** OAuth2TokenRequest idpDiscoveryEndpoint. */ + public idpDiscoveryEndpoint: string; - /** NodeExecutionEvent targetMetadata. */ - public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + /** OAuth2TokenRequest tokenEndpoint. */ + public tokenEndpoint: string; /** - * Creates a new NodeExecutionEvent instance using the specified properties. + * Creates a new OAuth2TokenRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionEvent instance + * @returns OAuth2TokenRequest instance */ - public static create(properties?: flyteidl.event.INodeExecutionEvent): flyteidl.event.NodeExecutionEvent; + public static create(properties?: flyteidl.core.IOAuth2TokenRequest): flyteidl.core.OAuth2TokenRequest; /** - * 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 OAuth2TokenRequest message. Does not implicitly {@link flyteidl.core.OAuth2TokenRequest.verify|verify} messages. + * @param message OAuth2TokenRequest 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.core.IOAuth2TokenRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionEvent message from the specified reader or buffer. + * Decodes a OAuth2TokenRequest 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 OAuth2TokenRequest * @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.core.OAuth2TokenRequest; /** - * Verifies a NodeExecutionEvent message. + * Verifies a OAuth2TokenRequest 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 { + namespace OAuth2TokenRequest { - /** WorkflowNodeMetadata executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Type enum. */ + enum Type { + CLIENT_CREDENTIALS = 0 + } } - /** Represents a WorkflowNodeMetadata. */ - class WorkflowNodeMetadata implements IWorkflowNodeMetadata { + /** Properties of a SecurityContext. */ + interface ISecurityContext { + + /** SecurityContext runAs */ + runAs?: (flyteidl.core.IIdentity|null); + + /** SecurityContext secrets */ + secrets?: (flyteidl.core.ISecret[]|null); + + /** SecurityContext tokens */ + tokens?: (flyteidl.core.IOAuth2TokenRequest[]|null); + } + + /** Represents a SecurityContext. */ + class SecurityContext implements ISecurityContext { /** - * Constructs a new WorkflowNodeMetadata. + * Constructs a new SecurityContext. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IWorkflowNodeMetadata); + constructor(properties?: flyteidl.core.ISecurityContext); - /** WorkflowNodeMetadata executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** SecurityContext runAs. */ + public runAs?: (flyteidl.core.IIdentity|null); + + /** SecurityContext secrets. */ + public secrets: flyteidl.core.ISecret[]; + + /** SecurityContext tokens. */ + public tokens: flyteidl.core.IOAuth2TokenRequest[]; /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * Creates a new SecurityContext instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowNodeMetadata instance + * @returns SecurityContext instance */ - public static create(properties?: flyteidl.event.IWorkflowNodeMetadata): flyteidl.event.WorkflowNodeMetadata; + public static create(properties?: flyteidl.core.ISecurityContext): flyteidl.core.SecurityContext; /** - * 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 SecurityContext message. Does not implicitly {@link flyteidl.core.SecurityContext.verify|verify} messages. + * @param message SecurityContext 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.core.ISecurityContext, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a SecurityContext 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 SecurityContext * @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.core.SecurityContext; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a SecurityContext 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 { + /** Properties of a DynamicJobSpec. */ + interface IDynamicJobSpec { - /** TaskNodeMetadata cacheStatus */ - cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + /** DynamicJobSpec nodes */ + nodes?: (flyteidl.core.INode[]|null); - /** TaskNodeMetadata catalogKey */ - catalogKey?: (flyteidl.core.ICatalogMetadata|null); + /** DynamicJobSpec minSuccesses */ + minSuccesses?: (Long|null); - /** TaskNodeMetadata reservationStatus */ - reservationStatus?: (flyteidl.core.CatalogReservation.Status|null); + /** DynamicJobSpec outputs */ + outputs?: (flyteidl.core.IBinding[]|null); - /** TaskNodeMetadata checkpointUri */ - checkpointUri?: (string|null); + /** DynamicJobSpec tasks */ + tasks?: (flyteidl.core.ITaskTemplate[]|null); - /** TaskNodeMetadata dynamicWorkflow */ - dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); + /** DynamicJobSpec subworkflows */ + subworkflows?: (flyteidl.core.IWorkflowTemplate[]|null); } - /** Represents a TaskNodeMetadata. */ - class TaskNodeMetadata implements ITaskNodeMetadata { + /** Represents a DynamicJobSpec. */ + class DynamicJobSpec implements IDynamicJobSpec { /** - * Constructs a new TaskNodeMetadata. + * Constructs a new DynamicJobSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ITaskNodeMetadata); + constructor(properties?: flyteidl.core.IDynamicJobSpec); - /** TaskNodeMetadata cacheStatus. */ - public cacheStatus: flyteidl.core.CatalogCacheStatus; + /** DynamicJobSpec nodes. */ + public nodes: flyteidl.core.INode[]; - /** TaskNodeMetadata catalogKey. */ - public catalogKey?: (flyteidl.core.ICatalogMetadata|null); + /** DynamicJobSpec minSuccesses. */ + public minSuccesses: Long; - /** TaskNodeMetadata reservationStatus. */ - public reservationStatus: flyteidl.core.CatalogReservation.Status; + /** DynamicJobSpec outputs. */ + public outputs: flyteidl.core.IBinding[]; - /** TaskNodeMetadata checkpointUri. */ - public checkpointUri: string; + /** DynamicJobSpec tasks. */ + public tasks: flyteidl.core.ITaskTemplate[]; - /** TaskNodeMetadata dynamicWorkflow. */ - public dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); + /** DynamicJobSpec subworkflows. */ + public subworkflows: flyteidl.core.IWorkflowTemplate[]; /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * Creates a new DynamicJobSpec instance using the specified properties. * @param [properties] Properties to set - * @returns TaskNodeMetadata instance + * @returns DynamicJobSpec instance */ - public static create(properties?: flyteidl.event.ITaskNodeMetadata): flyteidl.event.TaskNodeMetadata; + public static create(properties?: flyteidl.core.IDynamicJobSpec): flyteidl.core.DynamicJobSpec; /** - * 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 DynamicJobSpec message. Does not implicitly {@link flyteidl.core.DynamicJobSpec.verify|verify} messages. + * @param message DynamicJobSpec 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.core.IDynamicJobSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * Decodes a DynamicJobSpec 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 DynamicJobSpec * @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.core.DynamicJobSpec; /** - * Verifies a TaskNodeMetadata message. + * Verifies a DynamicJobSpec 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 ContainerError. */ + interface IContainerError { - /** DynamicWorkflowNodeMetadata id */ - id?: (flyteidl.core.IIdentifier|null); + /** ContainerError code */ + code?: (string|null); - /** DynamicWorkflowNodeMetadata compiledWorkflow */ - compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** ContainerError message */ + message?: (string|null); - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ - dynamicJobSpecUri?: (string|null); + /** ContainerError kind */ + kind?: (flyteidl.core.ContainerError.Kind|null); + + /** ContainerError origin */ + origin?: (flyteidl.core.ExecutionError.ErrorKind|null); } - /** Represents a DynamicWorkflowNodeMetadata. */ - class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { + /** Represents a ContainerError. */ + class ContainerError implements IContainerError { /** - * Constructs a new DynamicWorkflowNodeMetadata. + * Constructs a new ContainerError. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata); + constructor(properties?: flyteidl.core.IContainerError); - /** DynamicWorkflowNodeMetadata id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** ContainerError code. */ + public code: string; - /** DynamicWorkflowNodeMetadata compiledWorkflow. */ - public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** ContainerError message. */ + public message: string; - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ - public dynamicJobSpecUri: string; + /** ContainerError kind. */ + public kind: flyteidl.core.ContainerError.Kind; + + /** ContainerError origin. */ + public origin: flyteidl.core.ExecutionError.ErrorKind; /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * Creates a new ContainerError instance using the specified properties. * @param [properties] Properties to set - * @returns DynamicWorkflowNodeMetadata instance + * @returns ContainerError instance */ - public static create(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata): flyteidl.event.DynamicWorkflowNodeMetadata; + public static create(properties?: flyteidl.core.IContainerError): flyteidl.core.ContainerError; /** - * 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 ContainerError message. Does not implicitly {@link flyteidl.core.ContainerError.verify|verify} messages. + * @param message ContainerError 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.core.IContainerError, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a ContainerError 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 ContainerError * @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.core.ContainerError; /** - * Verifies a DynamicWorkflowNodeMetadata message. + * Verifies a ContainerError 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 { + namespace ContainerError { - /** ParentTaskExecutionMetadata id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** Kind enum. */ + enum Kind { + NON_RECOVERABLE = 0, + RECOVERABLE = 1 + } } - /** Represents a ParentTaskExecutionMetadata. */ - class ParentTaskExecutionMetadata implements IParentTaskExecutionMetadata { + /** Properties of an ErrorDocument. */ + interface IErrorDocument { + + /** ErrorDocument error */ + error?: (flyteidl.core.IContainerError|null); + } + + /** Represents an ErrorDocument. */ + class ErrorDocument implements IErrorDocument { /** - * Constructs a new ParentTaskExecutionMetadata. + * Constructs a new ErrorDocument. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IParentTaskExecutionMetadata); + constructor(properties?: flyteidl.core.IErrorDocument); - /** ParentTaskExecutionMetadata id. */ - public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** ErrorDocument error. */ + public error?: (flyteidl.core.IContainerError|null); /** - * Creates a new ParentTaskExecutionMetadata instance using the specified properties. + * Creates a new ErrorDocument instance using the specified properties. * @param [properties] Properties to set - * @returns ParentTaskExecutionMetadata instance + * @returns ErrorDocument instance */ - public static create(properties?: flyteidl.event.IParentTaskExecutionMetadata): flyteidl.event.ParentTaskExecutionMetadata; + public static create(properties?: flyteidl.core.IErrorDocument): flyteidl.core.ErrorDocument; /** - * 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 ErrorDocument message. Does not implicitly {@link flyteidl.core.ErrorDocument.verify|verify} messages. + * @param message ErrorDocument 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.core.IErrorDocument, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. + * Decodes an ErrorDocument 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 ErrorDocument * @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.core.ErrorDocument; /** - * Verifies a ParentTaskExecutionMetadata message. + * Verifies an ErrorDocument 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 a Span. */ + interface ISpan { - /** ParentNodeExecutionMetadata nodeId */ - nodeId?: (string|null); + /** Span startTime */ + startTime?: (google.protobuf.ITimestamp|null); + + /** Span endTime */ + endTime?: (google.protobuf.ITimestamp|null); + + /** Span workflowId */ + workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Span nodeId */ + nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** Span taskId */ + taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** Span operationId */ + operationId?: (string|null); + + /** Span spans */ + spans?: (flyteidl.core.ISpan[]|null); } - /** Represents a ParentNodeExecutionMetadata. */ - class ParentNodeExecutionMetadata implements IParentNodeExecutionMetadata { + /** Represents a Span. */ + class Span implements ISpan { /** - * Constructs a new ParentNodeExecutionMetadata. + * Constructs a new Span. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IParentNodeExecutionMetadata); + constructor(properties?: flyteidl.core.ISpan); - /** ParentNodeExecutionMetadata nodeId. */ - public nodeId: string; + /** Span startTime. */ + public startTime?: (google.protobuf.ITimestamp|null); + + /** Span endTime. */ + public endTime?: (google.protobuf.ITimestamp|null); + + /** Span workflowId. */ + public workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Span nodeId. */ + public nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** Span taskId. */ + public taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** Span operationId. */ + public operationId: string; + + /** Span spans. */ + public spans: flyteidl.core.ISpan[]; + + /** Span id. */ + public id?: ("workflowId"|"nodeId"|"taskId"|"operationId"); /** - * Creates a new ParentNodeExecutionMetadata instance using the specified properties. + * Creates a new Span instance using the specified properties. * @param [properties] Properties to set - * @returns ParentNodeExecutionMetadata instance + * @returns Span instance */ - public static create(properties?: flyteidl.event.IParentNodeExecutionMetadata): flyteidl.event.ParentNodeExecutionMetadata; + public static create(properties?: flyteidl.core.ISpan): flyteidl.core.Span; /** - * 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 Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. + * @param message Span 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.core.ISpan, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. + * Decodes a Span 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 Span * @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.core.Span; /** - * Verifies a ParentNodeExecutionMetadata message. + * Verifies a Span 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 WorkflowClosure. */ + interface IWorkflowClosure { - /** EventReason reason */ - reason?: (string|null); + /** WorkflowClosure workflow */ + workflow?: (flyteidl.core.IWorkflowTemplate|null); - /** EventReason occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** WorkflowClosure tasks */ + tasks?: (flyteidl.core.ITaskTemplate[]|null); } - /** Represents an EventReason. */ - class EventReason implements IEventReason { + /** Represents a WorkflowClosure. */ + class WorkflowClosure implements IWorkflowClosure { /** - * Constructs a new EventReason. + * Constructs a new WorkflowClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IEventReason); + constructor(properties?: flyteidl.core.IWorkflowClosure); - /** EventReason reason. */ - public reason: string; + /** WorkflowClosure workflow. */ + public workflow?: (flyteidl.core.IWorkflowTemplate|null); - /** EventReason occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + /** WorkflowClosure tasks. */ + public tasks: flyteidl.core.ITaskTemplate[]; /** - * Creates a new EventReason instance using the specified properties. + * Creates a new WorkflowClosure instance using the specified properties. * @param [properties] Properties to set - * @returns EventReason instance + * @returns WorkflowClosure instance */ - public static create(properties?: flyteidl.event.IEventReason): flyteidl.event.EventReason; + public static create(properties?: flyteidl.core.IWorkflowClosure): flyteidl.core.WorkflowClosure; /** - * 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 WorkflowClosure message. Does not implicitly {@link flyteidl.core.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.event.IEventReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EventReason 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 EventReason + * @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.event.EventReason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowClosure; /** - * Verifies an EventReason 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 TaskExecutionEvent. */ - interface ITaskExecutionEvent { - - /** TaskExecutionEvent taskId */ - taskId?: (flyteidl.core.IIdentifier|null); - - /** TaskExecutionEvent parentNodeExecutionId */ - parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** TaskExecutionEvent retryAttempt */ - retryAttempt?: (number|null); - - /** TaskExecutionEvent phase */ - phase?: (flyteidl.core.TaskExecution.Phase|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); + /** Namespace event. */ + namespace event { - /** TaskExecutionEvent outputUri */ - outputUri?: (string|null); + /** Properties of a CloudEventWorkflowExecution. */ + interface ICloudEventWorkflowExecution { - /** TaskExecutionEvent error */ - error?: (flyteidl.core.IExecutionError|null); + /** CloudEventWorkflowExecution rawEvent */ + rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - /** TaskExecutionEvent outputData */ + /** CloudEventWorkflowExecution outputData */ outputData?: (flyteidl.core.ILiteralMap|null); - /** TaskExecutionEvent customInfo */ - customInfo?: (google.protobuf.IStruct|null); - - /** TaskExecutionEvent phaseVersion */ - phaseVersion?: (number|null); - - /** TaskExecutionEvent reason */ - reason?: (string|null); + /** CloudEventWorkflowExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); - /** TaskExecutionEvent reasons */ - reasons?: (flyteidl.event.IEventReason[]|null); + /** CloudEventWorkflowExecution inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); - /** TaskExecutionEvent taskType */ - taskType?: (string|null); + /** CloudEventWorkflowExecution scheduledAt */ + scheduledAt?: (google.protobuf.ITimestamp|null); - /** TaskExecutionEvent metadata */ - metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + /** CloudEventWorkflowExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); - /** TaskExecutionEvent eventVersion */ - eventVersion?: (number|null); + /** CloudEventWorkflowExecution parentNodeExecution */ + parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); - /** TaskExecutionEvent reportedAt */ - reportedAt?: (google.protobuf.ITimestamp|null); + /** CloudEventWorkflowExecution referenceExecution */ + referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a TaskExecutionEvent. */ - class TaskExecutionEvent implements ITaskExecutionEvent { + /** Represents a CloudEventWorkflowExecution. */ + class CloudEventWorkflowExecution implements ICloudEventWorkflowExecution { /** - * Constructs a new TaskExecutionEvent. + * Constructs a new CloudEventWorkflowExecution. * @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; + constructor(properties?: flyteidl.event.ICloudEventWorkflowExecution); - /** TaskExecutionEvent producerId. */ - public producerId: string; - - /** TaskExecutionEvent logs. */ - public logs: flyteidl.core.ITaskLog[]; + /** CloudEventWorkflowExecution rawEvent. */ + public rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - /** TaskExecutionEvent occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + /** CloudEventWorkflowExecution outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); - /** TaskExecutionEvent inputUri. */ - public inputUri: string; + /** CloudEventWorkflowExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); - /** TaskExecutionEvent inputData. */ + /** CloudEventWorkflowExecution inputData. */ public inputData?: (flyteidl.core.ILiteralMap|null); - /** TaskExecutionEvent outputUri. */ - public outputUri: string; + /** CloudEventWorkflowExecution scheduledAt. */ + public scheduledAt?: (google.protobuf.ITimestamp|null); - /** TaskExecutionEvent error. */ - public error?: (flyteidl.core.IExecutionError|null); + /** CloudEventWorkflowExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; - /** TaskExecutionEvent outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); + /** CloudEventWorkflowExecution parentNodeExecution. */ + public parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); - /** TaskExecutionEvent customInfo. */ - public customInfo?: (google.protobuf.IStruct|null); + /** CloudEventWorkflowExecution referenceExecution. */ + public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** TaskExecutionEvent phaseVersion. */ - public phaseVersion: number; + /** + * 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; - /** TaskExecutionEvent reason. */ - public reason: string; + /** + * 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.event.ICloudEventWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; - /** TaskExecutionEvent reasons. */ - public reasons: flyteidl.event.IEventReason[]; + /** + * 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 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.event.CloudEventWorkflowExecution; - /** TaskExecutionEvent taskType. */ - public taskType: string; + /** + * 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); + } - /** TaskExecutionEvent metadata. */ - public metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + /** Properties of a CloudEventNodeExecution. */ + interface ICloudEventNodeExecution { - /** TaskExecutionEvent eventVersion. */ - public eventVersion: number; + /** CloudEventNodeExecution rawEvent */ + rawEvent?: (flyteidl.event.INodeExecutionEvent|null); + } - /** TaskExecutionEvent reportedAt. */ - public reportedAt?: (google.protobuf.ITimestamp|null); + /** Represents a CloudEventNodeExecution. */ + class CloudEventNodeExecution implements ICloudEventNodeExecution { - /** TaskExecutionEvent inputValue. */ - public inputValue?: ("inputUri"|"inputData"); + /** + * Constructs a new CloudEventNodeExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventNodeExecution); - /** TaskExecutionEvent outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** CloudEventNodeExecution rawEvent. */ + public rawEvent?: (flyteidl.event.INodeExecutionEvent|null); /** - * Creates a new TaskExecutionEvent instance using the specified properties. + * Creates a new CloudEventNodeExecution instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionEvent instance + * @returns CloudEventNodeExecution instance */ - public static create(properties?: flyteidl.event.ITaskExecutionEvent): flyteidl.event.TaskExecutionEvent; + public static create(properties?: flyteidl.event.ICloudEventNodeExecution): flyteidl.event.CloudEventNodeExecution; /** - * 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 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.event.ITaskExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ICloudEventNodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionEvent 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 TaskExecutionEvent + * @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.event.TaskExecutionEvent; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventNodeExecution; /** - * Verifies a TaskExecutionEvent 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 an ExternalResourceInfo. */ - interface IExternalResourceInfo { + /** Properties of a CloudEventTaskExecution. */ + interface ICloudEventTaskExecution { - /** ExternalResourceInfo externalId */ - externalId?: (string|null); + /** CloudEventTaskExecution rawEvent */ + rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); - /** ExternalResourceInfo index */ - index?: (number|null); + /** CloudEventTaskExecution outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); - /** ExternalResourceInfo retryAttempt */ - retryAttempt?: (number|null); + /** CloudEventTaskExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); - /** ExternalResourceInfo phase */ - phase?: (flyteidl.core.TaskExecution.Phase|null); + /** CloudEventTaskExecution inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); - /** ExternalResourceInfo cacheStatus */ - cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + /** CloudEventTaskExecution scheduledAt */ + scheduledAt?: (google.protobuf.ITimestamp|null); - /** ExternalResourceInfo logs */ - logs?: (flyteidl.core.ITaskLog[]|null); + /** CloudEventTaskExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventTaskExecution parentNodeExecution */ + parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** CloudEventTaskExecution referenceExecution */ + referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents an ExternalResourceInfo. */ - class ExternalResourceInfo implements IExternalResourceInfo { + /** Represents a CloudEventTaskExecution. */ + class CloudEventTaskExecution implements ICloudEventTaskExecution { /** - * Constructs a new ExternalResourceInfo. + * Constructs a new CloudEventTaskExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IExternalResourceInfo); + constructor(properties?: flyteidl.event.ICloudEventTaskExecution); - /** ExternalResourceInfo externalId. */ - public externalId: string; + /** CloudEventTaskExecution rawEvent. */ + public rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); - /** ExternalResourceInfo index. */ - public index: number; + /** CloudEventTaskExecution outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); - /** ExternalResourceInfo retryAttempt. */ - public retryAttempt: number; + /** CloudEventTaskExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); - /** ExternalResourceInfo phase. */ - public phase: flyteidl.core.TaskExecution.Phase; + /** CloudEventTaskExecution inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); - /** ExternalResourceInfo cacheStatus. */ - public cacheStatus: flyteidl.core.CatalogCacheStatus; + /** CloudEventTaskExecution scheduledAt. */ + public scheduledAt?: (google.protobuf.ITimestamp|null); - /** ExternalResourceInfo logs. */ - public logs: flyteidl.core.ITaskLog[]; + /** CloudEventTaskExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventTaskExecution parentNodeExecution. */ + public parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** CloudEventTaskExecution referenceExecution. */ + public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new ExternalResourceInfo instance using the specified properties. + * Creates a new CloudEventTaskExecution instance using the specified properties. * @param [properties] Properties to set - * @returns ExternalResourceInfo instance + * @returns CloudEventTaskExecution instance */ - public static create(properties?: flyteidl.event.IExternalResourceInfo): flyteidl.event.ExternalResourceInfo; + public static create(properties?: flyteidl.event.ICloudEventTaskExecution): flyteidl.event.CloudEventTaskExecution; /** - * 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 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.event.IExternalResourceInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ICloudEventTaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExternalResourceInfo 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 ExternalResourceInfo + * @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.event.ExternalResourceInfo; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventTaskExecution; /** - * Verifies an ExternalResourceInfo 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 ResourcePoolInfo. */ - interface IResourcePoolInfo { + /** Properties of a CloudEventExecutionStart. */ + interface ICloudEventExecutionStart { - /** ResourcePoolInfo allocationToken */ - allocationToken?: (string|null); + /** CloudEventExecutionStart executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ResourcePoolInfo namespace */ - namespace?: (string|null); + /** CloudEventExecutionStart launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventExecutionStart artifactKeys */ + artifactKeys?: (string[]|null); } - /** Represents a ResourcePoolInfo. */ - class ResourcePoolInfo implements IResourcePoolInfo { + /** Represents a CloudEventExecutionStart. */ + class CloudEventExecutionStart implements ICloudEventExecutionStart { /** - * Constructs a new ResourcePoolInfo. + * Constructs a new CloudEventExecutionStart. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IResourcePoolInfo); + constructor(properties?: flyteidl.event.ICloudEventExecutionStart); - /** ResourcePoolInfo allocationToken. */ - public allocationToken: string; + /** CloudEventExecutionStart executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ResourcePoolInfo namespace. */ - public namespace: 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 artifactKeys. */ + public artifactKeys: string[]; /** - * Creates a new ResourcePoolInfo instance using the specified properties. + * Creates a new CloudEventExecutionStart instance using the specified properties. * @param [properties] Properties to set - * @returns ResourcePoolInfo instance + * @returns CloudEventExecutionStart instance */ - public static create(properties?: flyteidl.event.IResourcePoolInfo): flyteidl.event.ResourcePoolInfo; + public static create(properties?: flyteidl.event.ICloudEventExecutionStart): flyteidl.event.CloudEventExecutionStart; /** - * 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 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.event.IResourcePoolInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ICloudEventExecutionStart, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ResourcePoolInfo 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 ResourcePoolInfo + * @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.event.ResourcePoolInfo; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventExecutionStart; /** - * Verifies a ResourcePoolInfo 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 TaskExecutionMetadata. */ - interface ITaskExecutionMetadata { - - /** TaskExecutionMetadata generatedName */ - generatedName?: (string|null); + /** Properties of a WorkflowExecutionEvent. */ + interface IWorkflowExecutionEvent { - /** TaskExecutionMetadata externalResources */ - externalResources?: (flyteidl.event.IExternalResourceInfo[]|null); + /** WorkflowExecutionEvent executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** TaskExecutionMetadata resourcePoolInfo */ - resourcePoolInfo?: (flyteidl.event.IResourcePoolInfo[]|null); + /** WorkflowExecutionEvent producerId */ + producerId?: (string|null); - /** TaskExecutionMetadata pluginIdentifier */ - pluginIdentifier?: (string|null); + /** WorkflowExecutionEvent phase */ + phase?: (flyteidl.core.WorkflowExecution.Phase|null); - /** TaskExecutionMetadata instanceClass */ - instanceClass?: (flyteidl.event.TaskExecutionMetadata.InstanceClass|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 TaskExecutionMetadata. */ - class TaskExecutionMetadata implements ITaskExecutionMetadata { + /** Represents a WorkflowExecutionEvent. */ + class WorkflowExecutionEvent implements IWorkflowExecutionEvent { /** - * Constructs a new TaskExecutionMetadata. + * Constructs a new WorkflowExecutionEvent. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ITaskExecutionMetadata); + constructor(properties?: flyteidl.event.IWorkflowExecutionEvent); - /** TaskExecutionMetadata generatedName. */ - public generatedName: string; + /** WorkflowExecutionEvent executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** TaskExecutionMetadata externalResources. */ - public externalResources: flyteidl.event.IExternalResourceInfo[]; + /** WorkflowExecutionEvent producerId. */ + public producerId: string; - /** TaskExecutionMetadata resourcePoolInfo. */ - public resourcePoolInfo: flyteidl.event.IResourcePoolInfo[]; + /** WorkflowExecutionEvent phase. */ + public phase: flyteidl.core.WorkflowExecution.Phase; - /** TaskExecutionMetadata pluginIdentifier. */ - public pluginIdentifier: string; + /** WorkflowExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); - /** TaskExecutionMetadata instanceClass. */ - public instanceClass: flyteidl.event.TaskExecutionMetadata.InstanceClass; + /** 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 TaskExecutionMetadata instance using the specified properties. + * Creates a new WorkflowExecutionEvent instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionMetadata instance + * @returns WorkflowExecutionEvent instance */ - public static create(properties?: flyteidl.event.ITaskExecutionMetadata): flyteidl.event.TaskExecutionMetadata; + public static create(properties?: flyteidl.event.IWorkflowExecutionEvent): flyteidl.event.WorkflowExecutionEvent; /** - * 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 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.event.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IWorkflowExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionMetadata 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 TaskExecutionMetadata + * @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.event.TaskExecutionMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.WorkflowExecutionEvent; /** - * Verifies a TaskExecutionMetadata message. + * 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); } - namespace TaskExecutionMetadata { + /** Properties of a NodeExecutionEvent. */ + interface INodeExecutionEvent { - /** InstanceClass enum. */ - enum InstanceClass { - DEFAULT = 0, - INTERRUPTIBLE = 1 - } - } - } + /** NodeExecutionEvent id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); - /** Namespace admin. */ - namespace admin { + /** NodeExecutionEvent producerId */ + producerId?: (string|null); - /** State enum. */ - enum State { - RETRYABLE_FAILURE = 0, - PERMANENT_FAILURE = 1, - PENDING = 2, - RUNNING = 3, - SUCCEEDED = 4 - } + /** NodeExecutionEvent phase */ + phase?: (flyteidl.core.NodeExecution.Phase|null); - /** Properties of a TaskExecutionMetadata. */ - interface ITaskExecutionMetadata { + /** NodeExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); - /** TaskExecutionMetadata taskExecutionId */ - taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** NodeExecutionEvent inputUri */ + inputUri?: (string|null); - /** TaskExecutionMetadata namespace */ - namespace?: (string|null); + /** NodeExecutionEvent inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); - /** TaskExecutionMetadata labels */ - labels?: ({ [k: string]: string }|null); + /** NodeExecutionEvent outputUri */ + outputUri?: (string|null); - /** TaskExecutionMetadata annotations */ - annotations?: ({ [k: string]: string }|null); + /** NodeExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); - /** TaskExecutionMetadata k8sServiceAccount */ - k8sServiceAccount?: (string|null); + /** NodeExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); - /** TaskExecutionMetadata environmentVariables */ - environmentVariables?: ({ [k: string]: string }|null); - } + /** NodeExecutionEvent workflowNodeMetadata */ + workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); - /** Represents a TaskExecutionMetadata. */ - class TaskExecutionMetadata implements ITaskExecutionMetadata { + /** NodeExecutionEvent taskNodeMetadata */ + taskNodeMetadata?: (flyteidl.event.ITaskNodeMetadata|null); - /** - * Constructs a new TaskExecutionMetadata. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.ITaskExecutionMetadata); + /** NodeExecutionEvent parentTaskMetadata */ + parentTaskMetadata?: (flyteidl.event.IParentTaskExecutionMetadata|null); - /** TaskExecutionMetadata taskExecutionId. */ - public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** NodeExecutionEvent parentNodeMetadata */ + parentNodeMetadata?: (flyteidl.event.IParentNodeExecutionMetadata|null); - /** TaskExecutionMetadata namespace. */ - public namespace: string; + /** NodeExecutionEvent retryGroup */ + retryGroup?: (string|null); - /** TaskExecutionMetadata labels. */ - public labels: { [k: string]: string }; + /** NodeExecutionEvent specNodeId */ + specNodeId?: (string|null); - /** TaskExecutionMetadata annotations. */ - public annotations: { [k: string]: string }; + /** NodeExecutionEvent nodeName */ + nodeName?: (string|null); - /** TaskExecutionMetadata k8sServiceAccount. */ - public k8sServiceAccount: string; + /** NodeExecutionEvent eventVersion */ + eventVersion?: (number|null); - /** TaskExecutionMetadata environmentVariables. */ - public environmentVariables: { [k: string]: string }; + /** NodeExecutionEvent isParent */ + isParent?: (boolean|null); - /** - * Creates a new TaskExecutionMetadata instance using the specified properties. - * @param [properties] Properties to set - * @returns TaskExecutionMetadata instance - */ - public static create(properties?: flyteidl.admin.ITaskExecutionMetadata): flyteidl.admin.TaskExecutionMetadata; + /** NodeExecutionEvent isDynamic */ + isDynamic?: (boolean|null); - /** - * 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.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + /** NodeExecutionEvent deckUri */ + deckUri?: (string|null); - /** - * 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 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.TaskExecutionMetadata; + /** NodeExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); - /** - * 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); + /** NodeExecutionEvent isArray */ + isArray?: (boolean|null); } - /** Properties of a CreateTaskRequest. */ - interface ICreateTaskRequest { + /** Represents a NodeExecutionEvent. */ + class NodeExecutionEvent implements INodeExecutionEvent { - /** CreateTaskRequest inputs */ - inputs?: (flyteidl.core.ILiteralMap|null); + /** + * Constructs a new NodeExecutionEvent. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.INodeExecutionEvent); - /** CreateTaskRequest template */ - template?: (flyteidl.core.ITaskTemplate|null); + /** NodeExecutionEvent id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); - /** CreateTaskRequest outputPrefix */ - outputPrefix?: (string|null); + /** NodeExecutionEvent producerId. */ + public producerId: string; - /** CreateTaskRequest taskExecutionMetadata */ - taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); - } + /** NodeExecutionEvent phase. */ + public phase: flyteidl.core.NodeExecution.Phase; - /** Represents a CreateTaskRequest. */ - class CreateTaskRequest implements ICreateTaskRequest { + /** NodeExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); - /** - * Constructs a new CreateTaskRequest. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.ICreateTaskRequest); + /** NodeExecutionEvent inputUri. */ + public inputUri: string; - /** CreateTaskRequest inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); + /** NodeExecutionEvent inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); - /** CreateTaskRequest template. */ - public template?: (flyteidl.core.ITaskTemplate|null); + /** NodeExecutionEvent outputUri. */ + public outputUri: string; - /** CreateTaskRequest outputPrefix. */ - public outputPrefix: string; + /** NodeExecutionEvent error. */ + public error?: (flyteidl.core.IExecutionError|null); - /** CreateTaskRequest taskExecutionMetadata. */ - public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + /** NodeExecutionEvent outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); - /** - * Creates a new CreateTaskRequest instance using the specified properties. + /** 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 inputValue. */ + public inputValue?: ("inputUri"|"inputData"); + + /** NodeExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** NodeExecutionEvent targetMetadata. */ + public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + + /** + * Creates a new NodeExecutionEvent instance using the specified properties. * @param [properties] Properties to set - * @returns CreateTaskRequest instance + * @returns NodeExecutionEvent instance */ - public static create(properties?: flyteidl.admin.ICreateTaskRequest): flyteidl.admin.CreateTaskRequest; + public static create(properties?: flyteidl.event.INodeExecutionEvent): flyteidl.event.NodeExecutionEvent; /** - * 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 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.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.INodeExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateTaskRequest 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 CreateTaskRequest + * @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.CreateTaskRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.NodeExecutionEvent; /** - * Verifies a CreateTaskRequest 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 CreateTaskResponse. */ - interface ICreateTaskResponse { + /** Properties of a WorkflowNodeMetadata. */ + interface IWorkflowNodeMetadata { - /** CreateTaskResponse resourceMeta */ - resourceMeta?: (Uint8Array|null); + /** WorkflowNodeMetadata executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a CreateTaskResponse. */ - class CreateTaskResponse implements ICreateTaskResponse { + /** Represents a WorkflowNodeMetadata. */ + class WorkflowNodeMetadata implements IWorkflowNodeMetadata { /** - * Constructs a new CreateTaskResponse. + * Constructs a new WorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICreateTaskResponse); + constructor(properties?: flyteidl.event.IWorkflowNodeMetadata); - /** CreateTaskResponse resourceMeta. */ - public resourceMeta: Uint8Array; + /** WorkflowNodeMetadata executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new CreateTaskResponse instance using the specified properties. + * Creates a new WorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns CreateTaskResponse instance + * @returns WorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.ICreateTaskResponse): flyteidl.admin.CreateTaskResponse; + public static create(properties?: flyteidl.event.IWorkflowNodeMetadata): flyteidl.event.WorkflowNodeMetadata; /** - * 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 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.ICreateTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateTaskResponse 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 CreateTaskResponse + * @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.CreateTaskResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.WorkflowNodeMetadata; /** - * Verifies a CreateTaskResponse 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 GetTaskRequest. */ - interface IGetTaskRequest { + /** Properties of a TaskNodeMetadata. */ + interface ITaskNodeMetadata { - /** GetTaskRequest taskType */ - taskType?: (string|null); + /** TaskNodeMetadata cacheStatus */ + cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); - /** GetTaskRequest resourceMeta */ - resourceMeta?: (Uint8Array|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 GetTaskRequest. */ - class GetTaskRequest implements IGetTaskRequest { + /** Represents a TaskNodeMetadata. */ + class TaskNodeMetadata implements ITaskNodeMetadata { /** - * Constructs a new GetTaskRequest. + * Constructs a new TaskNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskRequest); + constructor(properties?: flyteidl.event.ITaskNodeMetadata); - /** GetTaskRequest taskType. */ - public taskType: string; + /** TaskNodeMetadata cacheStatus. */ + public cacheStatus: flyteidl.core.CatalogCacheStatus; - /** GetTaskRequest resourceMeta. */ - public resourceMeta: Uint8Array; + /** 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 GetTaskRequest instance using the specified properties. + * Creates a new TaskNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskRequest instance + * @returns TaskNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IGetTaskRequest): flyteidl.admin.GetTaskRequest; + public static create(properties?: flyteidl.event.ITaskNodeMetadata): flyteidl.event.TaskNodeMetadata; /** - * 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 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.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskRequest 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 GetTaskRequest + * @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.GetTaskRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskNodeMetadata; /** - * Verifies a GetTaskRequest 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 GetTaskResponse. */ - interface IGetTaskResponse { + /** Properties of a DynamicWorkflowNodeMetadata. */ + interface IDynamicWorkflowNodeMetadata { - /** GetTaskResponse resource */ - resource?: (flyteidl.admin.IResource|null); + /** DynamicWorkflowNodeMetadata id */ + id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } - /** Represents a GetTaskResponse. */ - class GetTaskResponse implements IGetTaskResponse { + /** Represents a DynamicWorkflowNodeMetadata. */ + class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { /** - * Constructs a new GetTaskResponse. + * Constructs a new DynamicWorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskResponse); + constructor(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata); - /** GetTaskResponse resource. */ - public resource?: (flyteidl.admin.IResource|null); + /** DynamicWorkflowNodeMetadata id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; /** - * Creates a new GetTaskResponse instance using the specified properties. + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskResponse instance + * @returns DynamicWorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IGetTaskResponse): flyteidl.admin.GetTaskResponse; + public static create(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata): flyteidl.event.DynamicWorkflowNodeMetadata; /** - * 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 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.IGetTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskResponse 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 GetTaskResponse + * @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.GetTaskResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.DynamicWorkflowNodeMetadata; /** - * Verifies a GetTaskResponse 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 Resource. */ - interface IResource { - - /** Resource state */ - state?: (flyteidl.admin.State|null); - - /** Resource outputs */ - outputs?: (flyteidl.core.ILiteralMap|null); + /** Properties of a ParentTaskExecutionMetadata. */ + interface IParentTaskExecutionMetadata { - /** Resource message */ - message?: (string|null); + /** ParentTaskExecutionMetadata id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); } - /** Represents a Resource. */ - class Resource implements IResource { + /** Represents a ParentTaskExecutionMetadata. */ + class ParentTaskExecutionMetadata implements IParentTaskExecutionMetadata { /** - * Constructs a new Resource. + * Constructs a new ParentTaskExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IResource); - - /** Resource state. */ - public state: flyteidl.admin.State; + constructor(properties?: flyteidl.event.IParentTaskExecutionMetadata); - /** Resource outputs. */ - public outputs?: (flyteidl.core.ILiteralMap|null); - - /** Resource message. */ - public message: string; + /** ParentTaskExecutionMetadata id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); /** - * Creates a new Resource instance using the specified properties. + * Creates a new ParentTaskExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns Resource instance + * @returns ParentTaskExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.IResource): flyteidl.admin.Resource; + public static create(properties?: flyteidl.event.IParentTaskExecutionMetadata): flyteidl.event.ParentTaskExecutionMetadata; /** - * 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 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.IResource, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IParentTaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Resource 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 Resource + * @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.Resource; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ParentTaskExecutionMetadata; /** - * Verifies a Resource 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 DeleteTaskRequest. */ - interface IDeleteTaskRequest { - - /** DeleteTaskRequest taskType */ - taskType?: (string|null); + /** Properties of a ParentNodeExecutionMetadata. */ + interface IParentNodeExecutionMetadata { - /** DeleteTaskRequest resourceMeta */ - resourceMeta?: (Uint8Array|null); + /** ParentNodeExecutionMetadata nodeId */ + nodeId?: (string|null); } - /** Represents a DeleteTaskRequest. */ - class DeleteTaskRequest implements IDeleteTaskRequest { + /** Represents a ParentNodeExecutionMetadata. */ + class ParentNodeExecutionMetadata implements IParentNodeExecutionMetadata { /** - * Constructs a new DeleteTaskRequest. + * Constructs a new ParentNodeExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDeleteTaskRequest); - - /** DeleteTaskRequest taskType. */ - public taskType: string; + constructor(properties?: flyteidl.event.IParentNodeExecutionMetadata); - /** DeleteTaskRequest resourceMeta. */ - public resourceMeta: Uint8Array; + /** ParentNodeExecutionMetadata nodeId. */ + public nodeId: string; /** - * Creates a new DeleteTaskRequest instance using the specified properties. + * Creates a new ParentNodeExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns DeleteTaskRequest instance + * @returns ParentNodeExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.IDeleteTaskRequest): flyteidl.admin.DeleteTaskRequest; + public static create(properties?: flyteidl.event.IParentNodeExecutionMetadata): flyteidl.event.ParentNodeExecutionMetadata; /** - * 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 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.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IParentNodeExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DeleteTaskRequest 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 DeleteTaskRequest + * @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.DeleteTaskRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ParentNodeExecutionMetadata; /** - * Verifies a DeleteTaskRequest 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 DeleteTaskResponse. */ - interface IDeleteTaskResponse { + /** Properties of an EventReason. */ + interface IEventReason { + + /** EventReason reason */ + reason?: (string|null); + + /** EventReason occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); } - /** Represents a DeleteTaskResponse. */ - class DeleteTaskResponse implements IDeleteTaskResponse { + /** Represents an EventReason. */ + class EventReason implements IEventReason { /** - * Constructs a new DeleteTaskResponse. + * Constructs a new EventReason. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDeleteTaskResponse); + constructor(properties?: flyteidl.event.IEventReason); + + /** EventReason reason. */ + public reason: string; + + /** EventReason occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); /** - * Creates a new DeleteTaskResponse instance using the specified properties. + * Creates a new EventReason instance using the specified properties. * @param [properties] Properties to set - * @returns DeleteTaskResponse instance + * @returns EventReason instance */ - public static create(properties?: flyteidl.admin.IDeleteTaskResponse): flyteidl.admin.DeleteTaskResponse; + public static create(properties?: flyteidl.event.IEventReason): flyteidl.event.EventReason; /** - * 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 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.IDeleteTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IEventReason, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DeleteTaskResponse 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 DeleteTaskResponse + * @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.DeleteTaskResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.EventReason; /** - * Verifies a DeleteTaskResponse 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 ClusterAssignment. */ - interface IClusterAssignment { + /** Properties of a TaskExecutionEvent. */ + interface ITaskExecutionEvent { - /** ClusterAssignment clusterPoolName */ - clusterPoolName?: (string|null); - } + /** TaskExecutionEvent taskId */ + taskId?: (flyteidl.core.IIdentifier|null); - /** Represents a ClusterAssignment. */ - class ClusterAssignment implements IClusterAssignment { + /** TaskExecutionEvent parentNodeExecutionId */ + parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - /** - * Constructs a new ClusterAssignment. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IClusterAssignment); + /** TaskExecutionEvent retryAttempt */ + retryAttempt?: (number|null); - /** ClusterAssignment clusterPoolName. */ - public clusterPoolName: string; + /** TaskExecutionEvent phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); - /** - * Creates a new ClusterAssignment instance using the specified properties. - * @param [properties] Properties to set - * @returns ClusterAssignment instance - */ - public static create(properties?: flyteidl.admin.IClusterAssignment): flyteidl.admin.ClusterAssignment; + /** TaskExecutionEvent producerId */ + producerId?: (string|null); - /** - * 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.IClusterAssignment, writer?: $protobuf.Writer): $protobuf.Writer; + /** TaskExecutionEvent logs */ + logs?: (flyteidl.core.ITaskLog[]|null); - /** - * 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 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.ClusterAssignment; + /** TaskExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); - /** - * 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); - } + /** TaskExecutionEvent inputUri */ + inputUri?: (string|null); - /** Properties of a NamedEntityIdentifier. */ - interface INamedEntityIdentifier { + /** TaskExecutionEvent inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); - /** NamedEntityIdentifier project */ - project?: (string|null); + /** TaskExecutionEvent outputUri */ + outputUri?: (string|null); - /** NamedEntityIdentifier domain */ - domain?: (string|null); + /** TaskExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); - /** NamedEntityIdentifier name */ - name?: (string|null); - } + /** TaskExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); - /** Represents a NamedEntityIdentifier. */ - class NamedEntityIdentifier implements INamedEntityIdentifier { + /** TaskExecutionEvent customInfo */ + customInfo?: (google.protobuf.IStruct|null); - /** - * Constructs a new NamedEntityIdentifier. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.INamedEntityIdentifier); + /** TaskExecutionEvent phaseVersion */ + phaseVersion?: (number|null); - /** NamedEntityIdentifier project. */ - public project: string; + /** TaskExecutionEvent reason */ + reason?: (string|null); - /** NamedEntityIdentifier domain. */ - public domain: string; + /** TaskExecutionEvent reasons */ + reasons?: (flyteidl.event.IEventReason[]|null); - /** NamedEntityIdentifier name. */ - public name: string; + /** TaskExecutionEvent taskType */ + taskType?: (string|null); - /** - * Creates a new NamedEntityIdentifier instance using the specified properties. - * @param [properties] Properties to set - * @returns NamedEntityIdentifier instance - */ - public static create(properties?: flyteidl.admin.INamedEntityIdentifier): flyteidl.admin.NamedEntityIdentifier; + /** TaskExecutionEvent metadata */ + metadata?: (flyteidl.event.ITaskExecutionMetadata|null); - /** - * 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.admin.INamedEntityIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + /** TaskExecutionEvent eventVersion */ + eventVersion?: (number|null); - /** - * 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 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.admin.NamedEntityIdentifier; + /** TaskExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a TaskExecutionEvent. */ + class TaskExecutionEvent implements ITaskExecutionEvent { /** - * Verifies a NamedEntityIdentifier message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not + * Constructs a new TaskExecutionEvent. + * @param [properties] Properties to set */ - public static verify(message: { [k: string]: any }): (string|null); - } + constructor(properties?: flyteidl.event.ITaskExecutionEvent); - /** NamedEntityState enum. */ - enum NamedEntityState { - NAMED_ENTITY_ACTIVE = 0, - NAMED_ENTITY_ARCHIVED = 1, - SYSTEM_GENERATED = 2 - } + /** TaskExecutionEvent taskId. */ + public taskId?: (flyteidl.core.IIdentifier|null); - /** Properties of a NamedEntityMetadata. */ - interface INamedEntityMetadata { + /** TaskExecutionEvent parentNodeExecutionId. */ + public parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - /** NamedEntityMetadata description */ - description?: (string|null); + /** TaskExecutionEvent retryAttempt. */ + public retryAttempt: number; - /** NamedEntityMetadata state */ - state?: (flyteidl.admin.NamedEntityState|null); - } + /** TaskExecutionEvent phase. */ + public phase: flyteidl.core.TaskExecution.Phase; - /** Represents a NamedEntityMetadata. */ - class NamedEntityMetadata implements INamedEntityMetadata { + /** TaskExecutionEvent producerId. */ + public producerId: string; - /** - * Constructs a new NamedEntityMetadata. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.INamedEntityMetadata); + /** TaskExecutionEvent logs. */ + public logs: flyteidl.core.ITaskLog[]; - /** NamedEntityMetadata description. */ - public description: string; + /** TaskExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); - /** NamedEntityMetadata state. */ - public state: flyteidl.admin.NamedEntityState; + /** 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"); + + /** TaskExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); /** - * Creates a new NamedEntityMetadata instance using the specified properties. + * Creates a new TaskExecutionEvent instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityMetadata instance + * @returns TaskExecutionEvent instance */ - public static create(properties?: flyteidl.admin.INamedEntityMetadata): flyteidl.admin.NamedEntityMetadata; + public static create(properties?: flyteidl.event.ITaskExecutionEvent): flyteidl.event.TaskExecutionEvent; /** - * 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 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.INamedEntityMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ITaskExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityMetadata 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 NamedEntityMetadata + * @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.NamedEntityMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskExecutionEvent; /** - * Verifies a NamedEntityMetadata 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 NamedEntity. */ - interface INamedEntity { + /** Properties of an ExternalResourceInfo. */ + interface IExternalResourceInfo { - /** NamedEntity resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); + /** ExternalResourceInfo externalId */ + externalId?: (string|null); - /** NamedEntity id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** ExternalResourceInfo index */ + index?: (number|null); - /** NamedEntity metadata */ - metadata?: (flyteidl.admin.INamedEntityMetadata|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); } - /** Represents a NamedEntity. */ - class NamedEntity implements INamedEntity { + /** Represents an ExternalResourceInfo. */ + class ExternalResourceInfo implements IExternalResourceInfo { /** - * Constructs a new NamedEntity. + * Constructs a new ExternalResourceInfo. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntity); + constructor(properties?: flyteidl.event.IExternalResourceInfo); - /** NamedEntity resourceType. */ - public resourceType: flyteidl.core.ResourceType; + /** ExternalResourceInfo externalId. */ + public externalId: string; - /** NamedEntity id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** ExternalResourceInfo index. */ + public index: number; - /** NamedEntity metadata. */ - public metadata?: (flyteidl.admin.INamedEntityMetadata|null); + /** 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[]; /** - * Creates a new NamedEntity instance using the specified properties. + * Creates a new ExternalResourceInfo instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntity instance + * @returns ExternalResourceInfo instance */ - public static create(properties?: flyteidl.admin.INamedEntity): flyteidl.admin.NamedEntity; + public static create(properties?: flyteidl.event.IExternalResourceInfo): flyteidl.event.ExternalResourceInfo; /** - * 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 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.INamedEntity, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IExternalResourceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntity 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 NamedEntity + * @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.NamedEntity; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ExternalResourceInfo; /** - * Verifies a NamedEntity 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 Sort. */ - interface ISort { + /** Properties of a ResourcePoolInfo. */ + interface IResourcePoolInfo { - /** Sort key */ - key?: (string|null); + /** ResourcePoolInfo allocationToken */ + allocationToken?: (string|null); - /** Sort direction */ - direction?: (flyteidl.admin.Sort.Direction|null); + /** ResourcePoolInfo namespace */ + namespace?: (string|null); } - /** Represents a Sort. */ - class Sort implements ISort { + /** Represents a ResourcePoolInfo. */ + class ResourcePoolInfo implements IResourcePoolInfo { /** - * Constructs a new Sort. + * Constructs a new ResourcePoolInfo. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISort); + constructor(properties?: flyteidl.event.IResourcePoolInfo); - /** Sort key. */ - public key: string; + /** ResourcePoolInfo allocationToken. */ + public allocationToken: string; - /** Sort direction. */ - public direction: flyteidl.admin.Sort.Direction; + /** ResourcePoolInfo namespace. */ + public namespace: string; /** - * Creates a new Sort instance using the specified properties. + * Creates a new ResourcePoolInfo instance using the specified properties. * @param [properties] Properties to set - * @returns Sort instance + * @returns ResourcePoolInfo instance */ - public static create(properties?: flyteidl.admin.ISort): flyteidl.admin.Sort; + public static create(properties?: flyteidl.event.IResourcePoolInfo): flyteidl.event.ResourcePoolInfo; /** - * 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 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.ISort, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IResourcePoolInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Sort 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 Sort + * @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.Sort; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ResourcePoolInfo; /** - * Verifies a Sort 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); } - namespace Sort { + /** Properties of a TaskExecutionMetadata. */ + interface ITaskExecutionMetadata { - /** Direction enum. */ - enum Direction { - DESCENDING = 0, - ASCENDING = 1 - } - } + /** TaskExecutionMetadata generatedName */ + generatedName?: (string|null); - /** Properties of a NamedEntityIdentifierListRequest. */ - interface INamedEntityIdentifierListRequest { + /** TaskExecutionMetadata externalResources */ + externalResources?: (flyteidl.event.IExternalResourceInfo[]|null); - /** NamedEntityIdentifierListRequest project */ - project?: (string|null); + /** TaskExecutionMetadata resourcePoolInfo */ + resourcePoolInfo?: (flyteidl.event.IResourcePoolInfo[]|null); - /** NamedEntityIdentifierListRequest domain */ - domain?: (string|null); + /** TaskExecutionMetadata pluginIdentifier */ + pluginIdentifier?: (string|null); - /** NamedEntityIdentifierListRequest limit */ - limit?: (number|null); + /** TaskExecutionMetadata instanceClass */ + instanceClass?: (flyteidl.event.TaskExecutionMetadata.InstanceClass|null); + } - /** NamedEntityIdentifierListRequest token */ - token?: (string|null); - - /** NamedEntityIdentifierListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); - - /** NamedEntityIdentifierListRequest filters */ - filters?: (string|null); - } - - /** Represents a NamedEntityIdentifierListRequest. */ - class NamedEntityIdentifierListRequest implements INamedEntityIdentifierListRequest { + /** Represents a TaskExecutionMetadata. */ + class TaskExecutionMetadata implements ITaskExecutionMetadata { /** - * Constructs a new NamedEntityIdentifierListRequest. + * Constructs a new TaskExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityIdentifierListRequest); - - /** NamedEntityIdentifierListRequest project. */ - public project: string; + constructor(properties?: flyteidl.event.ITaskExecutionMetadata); - /** NamedEntityIdentifierListRequest domain. */ - public domain: string; + /** TaskExecutionMetadata generatedName. */ + public generatedName: string; - /** NamedEntityIdentifierListRequest limit. */ - public limit: number; + /** TaskExecutionMetadata externalResources. */ + public externalResources: flyteidl.event.IExternalResourceInfo[]; - /** NamedEntityIdentifierListRequest token. */ - public token: string; + /** TaskExecutionMetadata resourcePoolInfo. */ + public resourcePoolInfo: flyteidl.event.IResourcePoolInfo[]; - /** NamedEntityIdentifierListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** TaskExecutionMetadata pluginIdentifier. */ + public pluginIdentifier: string; - /** NamedEntityIdentifierListRequest filters. */ - public filters: string; + /** TaskExecutionMetadata instanceClass. */ + public instanceClass: flyteidl.event.TaskExecutionMetadata.InstanceClass; /** - * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. + * Creates a new TaskExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityIdentifierListRequest instance + * @returns TaskExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.INamedEntityIdentifierListRequest): flyteidl.admin.NamedEntityIdentifierListRequest; + public static create(properties?: flyteidl.event.ITaskExecutionMetadata): flyteidl.event.TaskExecutionMetadata; /** - * 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 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.INamedEntityIdentifierListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityIdentifierListRequest 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 NamedEntityIdentifierListRequest + * @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.NamedEntityIdentifierListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskExecutionMetadata; /** - * Verifies a NamedEntityIdentifierListRequest 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 NamedEntityListRequest. */ - interface INamedEntityListRequest { + namespace TaskExecutionMetadata { - /** NamedEntityListRequest resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); + /** InstanceClass enum. */ + enum InstanceClass { + DEFAULT = 0, + INTERRUPTIBLE = 1 + } + } + } - /** NamedEntityListRequest project */ - project?: (string|null); + /** Namespace admin. */ + namespace admin { - /** NamedEntityListRequest domain */ - domain?: (string|null); + /** State enum. */ + enum State { + RETRYABLE_FAILURE = 0, + PERMANENT_FAILURE = 1, + PENDING = 2, + RUNNING = 3, + SUCCEEDED = 4 + } - /** NamedEntityListRequest limit */ - limit?: (number|null); + /** Properties of a TaskExecutionMetadata. */ + interface ITaskExecutionMetadata { - /** NamedEntityListRequest token */ - token?: (string|null); + /** TaskExecutionMetadata taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** NamedEntityListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** TaskExecutionMetadata namespace */ + namespace?: (string|null); - /** NamedEntityListRequest filters */ - filters?: (string|null); + /** TaskExecutionMetadata labels */ + labels?: ({ [k: string]: string }|null); + + /** TaskExecutionMetadata annotations */ + annotations?: ({ [k: string]: string }|null); + + /** TaskExecutionMetadata k8sServiceAccount */ + k8sServiceAccount?: (string|null); + + /** TaskExecutionMetadata environmentVariables */ + environmentVariables?: ({ [k: string]: string }|null); } - /** Represents a NamedEntityListRequest. */ - class NamedEntityListRequest implements INamedEntityListRequest { + /** Represents a TaskExecutionMetadata. */ + class TaskExecutionMetadata implements ITaskExecutionMetadata { /** - * Constructs a new NamedEntityListRequest. + * Constructs a new TaskExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityListRequest); - - /** NamedEntityListRequest resourceType. */ - public resourceType: flyteidl.core.ResourceType; + constructor(properties?: flyteidl.admin.ITaskExecutionMetadata); - /** NamedEntityListRequest project. */ - public project: string; + /** TaskExecutionMetadata taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** NamedEntityListRequest domain. */ - public domain: string; + /** TaskExecutionMetadata namespace. */ + public namespace: string; - /** NamedEntityListRequest limit. */ - public limit: number; + /** TaskExecutionMetadata labels. */ + public labels: { [k: string]: string }; - /** NamedEntityListRequest token. */ - public token: string; + /** TaskExecutionMetadata annotations. */ + public annotations: { [k: string]: string }; - /** NamedEntityListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** TaskExecutionMetadata k8sServiceAccount. */ + public k8sServiceAccount: string; - /** NamedEntityListRequest filters. */ - public filters: string; + /** TaskExecutionMetadata environmentVariables. */ + public environmentVariables: { [k: string]: string }; /** - * Creates a new NamedEntityListRequest instance using the specified properties. + * Creates a new TaskExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityListRequest instance + * @returns TaskExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.INamedEntityListRequest): flyteidl.admin.NamedEntityListRequest; + public static create(properties?: flyteidl.admin.ITaskExecutionMetadata): flyteidl.admin.TaskExecutionMetadata; /** - * 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 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.INamedEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityListRequest 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 NamedEntityListRequest + * @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.NamedEntityListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionMetadata; /** - * Verifies a NamedEntityListRequest 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 NamedEntityIdentifierList. */ - interface INamedEntityIdentifierList { + /** Properties of a CreateTaskRequest. */ + interface ICreateTaskRequest { - /** NamedEntityIdentifierList entities */ - entities?: (flyteidl.admin.INamedEntityIdentifier[]|null); + /** CreateTaskRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); - /** NamedEntityIdentifierList token */ - token?: (string|null); + /** CreateTaskRequest template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** CreateTaskRequest outputPrefix */ + outputPrefix?: (string|null); + + /** CreateTaskRequest taskExecutionMetadata */ + taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); } - /** Represents a NamedEntityIdentifierList. */ - class NamedEntityIdentifierList implements INamedEntityIdentifierList { + /** Represents a CreateTaskRequest. */ + class CreateTaskRequest implements ICreateTaskRequest { /** - * Constructs a new NamedEntityIdentifierList. + * Constructs a new CreateTaskRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityIdentifierList); + constructor(properties?: flyteidl.admin.ICreateTaskRequest); - /** NamedEntityIdentifierList entities. */ - public entities: flyteidl.admin.INamedEntityIdentifier[]; + /** CreateTaskRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); - /** NamedEntityIdentifierList token. */ - public token: string; + /** CreateTaskRequest template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** CreateTaskRequest outputPrefix. */ + public outputPrefix: string; + + /** CreateTaskRequest taskExecutionMetadata. */ + public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); /** - * Creates a new NamedEntityIdentifierList instance using the specified properties. + * Creates a new CreateTaskRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityIdentifierList instance + * @returns CreateTaskRequest instance */ - public static create(properties?: flyteidl.admin.INamedEntityIdentifierList): flyteidl.admin.NamedEntityIdentifierList; + public static create(properties?: flyteidl.admin.ICreateTaskRequest): flyteidl.admin.CreateTaskRequest; /** - * 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 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.INamedEntityIdentifierList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityIdentifierList 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 NamedEntityIdentifierList + * @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.NamedEntityIdentifierList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskRequest; /** - * Verifies a NamedEntityIdentifierList 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 NamedEntityList. */ - interface INamedEntityList { - - /** NamedEntityList entities */ - entities?: (flyteidl.admin.INamedEntity[]|null); + /** Properties of a CreateTaskResponse. */ + interface ICreateTaskResponse { - /** NamedEntityList token */ - token?: (string|null); + /** CreateTaskResponse resourceMeta */ + resourceMeta?: (Uint8Array|null); } - /** Represents a NamedEntityList. */ - class NamedEntityList implements INamedEntityList { + /** Represents a CreateTaskResponse. */ + class CreateTaskResponse implements ICreateTaskResponse { /** - * Constructs a new NamedEntityList. + * Constructs a new CreateTaskResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityList); - - /** NamedEntityList entities. */ - public entities: flyteidl.admin.INamedEntity[]; + constructor(properties?: flyteidl.admin.ICreateTaskResponse); - /** NamedEntityList token. */ - public token: string; + /** CreateTaskResponse resourceMeta. */ + public resourceMeta: Uint8Array; /** - * Creates a new NamedEntityList instance using the specified properties. + * Creates a new CreateTaskResponse instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityList instance + * @returns CreateTaskResponse instance */ - public static create(properties?: flyteidl.admin.INamedEntityList): flyteidl.admin.NamedEntityList; + public static create(properties?: flyteidl.admin.ICreateTaskResponse): flyteidl.admin.CreateTaskResponse; /** - * 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 + * 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.INamedEntityList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ICreateTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityList 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 NamedEntityList + * @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.NamedEntityList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskResponse; /** - * Verifies a NamedEntityList 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 NamedEntityGetRequest. */ - interface INamedEntityGetRequest { + /** Properties of a GetTaskRequest. */ + interface IGetTaskRequest { - /** NamedEntityGetRequest resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); + /** GetTaskRequest taskType */ + taskType?: (string|null); - /** NamedEntityGetRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** GetTaskRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); } - /** Represents a NamedEntityGetRequest. */ - class NamedEntityGetRequest implements INamedEntityGetRequest { + /** Represents a GetTaskRequest. */ + class GetTaskRequest implements IGetTaskRequest { /** - * Constructs a new NamedEntityGetRequest. + * Constructs a new GetTaskRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityGetRequest); + constructor(properties?: flyteidl.admin.IGetTaskRequest); - /** NamedEntityGetRequest resourceType. */ - public resourceType: flyteidl.core.ResourceType; + /** GetTaskRequest taskType. */ + public taskType: string; - /** NamedEntityGetRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** GetTaskRequest resourceMeta. */ + public resourceMeta: Uint8Array; /** - * Creates a new NamedEntityGetRequest instance using the specified properties. + * Creates a new GetTaskRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityGetRequest instance + * @returns GetTaskRequest instance */ - public static create(properties?: flyteidl.admin.INamedEntityGetRequest): flyteidl.admin.NamedEntityGetRequest; + public static create(properties?: flyteidl.admin.IGetTaskRequest): flyteidl.admin.GetTaskRequest; /** - * 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 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.INamedEntityGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityGetRequest 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 NamedEntityGetRequest + * @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.NamedEntityGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskRequest; /** - * Verifies a NamedEntityGetRequest 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 NamedEntityUpdateRequest. */ - interface INamedEntityUpdateRequest { - - /** NamedEntityUpdateRequest resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); - - /** NamedEntityUpdateRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** Properties of a GetTaskResponse. */ + interface IGetTaskResponse { - /** NamedEntityUpdateRequest metadata */ - metadata?: (flyteidl.admin.INamedEntityMetadata|null); + /** GetTaskResponse resource */ + resource?: (flyteidl.admin.IResource|null); } - /** Represents a NamedEntityUpdateRequest. */ - class NamedEntityUpdateRequest implements INamedEntityUpdateRequest { + /** Represents a GetTaskResponse. */ + class GetTaskResponse implements IGetTaskResponse { /** - * Constructs a new NamedEntityUpdateRequest. + * Constructs a new GetTaskResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityUpdateRequest); - - /** NamedEntityUpdateRequest resourceType. */ - public resourceType: flyteidl.core.ResourceType; - - /** NamedEntityUpdateRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + constructor(properties?: flyteidl.admin.IGetTaskResponse); - /** NamedEntityUpdateRequest metadata. */ - public metadata?: (flyteidl.admin.INamedEntityMetadata|null); + /** GetTaskResponse resource. */ + public resource?: (flyteidl.admin.IResource|null); /** - * Creates a new NamedEntityUpdateRequest instance using the specified properties. + * Creates a new GetTaskResponse instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityUpdateRequest instance + * @returns GetTaskResponse instance */ - public static create(properties?: flyteidl.admin.INamedEntityUpdateRequest): flyteidl.admin.NamedEntityUpdateRequest; + public static create(properties?: flyteidl.admin.IGetTaskResponse): flyteidl.admin.GetTaskResponse; /** - * 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 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.INamedEntityUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityUpdateRequest 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 NamedEntityUpdateRequest + * @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.NamedEntityUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskResponse; /** - * Verifies a NamedEntityUpdateRequest 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 NamedEntityUpdateResponse. */ - interface INamedEntityUpdateResponse { + /** 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); } - /** Represents a NamedEntityUpdateResponse. */ - class NamedEntityUpdateResponse implements INamedEntityUpdateResponse { + /** Represents a Resource. */ + class Resource implements IResource { /** - * Constructs a new NamedEntityUpdateResponse. + * Constructs a new Resource. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityUpdateResponse); + constructor(properties?: flyteidl.admin.IResource); + + /** Resource state. */ + public state: flyteidl.admin.State; + + /** Resource outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); + + /** Resource message. */ + public message: string; /** - * Creates a new NamedEntityUpdateResponse instance using the specified properties. + * Creates a new Resource instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityUpdateResponse instance + * @returns Resource instance */ - public static create(properties?: flyteidl.admin.INamedEntityUpdateResponse): flyteidl.admin.NamedEntityUpdateResponse; + public static create(properties?: flyteidl.admin.IResource): flyteidl.admin.Resource; /** - * 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 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.INamedEntityUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityUpdateResponse 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 NamedEntityUpdateResponse + * @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.NamedEntityUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Resource; /** - * Verifies a NamedEntityUpdateResponse 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 an ObjectGetRequest. */ - interface IObjectGetRequest { + /** Properties of a DeleteTaskRequest. */ + interface IDeleteTaskRequest { - /** ObjectGetRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** DeleteTaskRequest taskType */ + taskType?: (string|null); + + /** DeleteTaskRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); } - /** Represents an ObjectGetRequest. */ - class ObjectGetRequest implements IObjectGetRequest { + /** Represents a DeleteTaskRequest. */ + class DeleteTaskRequest implements IDeleteTaskRequest { /** - * Constructs a new ObjectGetRequest. + * Constructs a new DeleteTaskRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IObjectGetRequest); + constructor(properties?: flyteidl.admin.IDeleteTaskRequest); - /** ObjectGetRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** DeleteTaskRequest taskType. */ + public taskType: string; + + /** DeleteTaskRequest resourceMeta. */ + public resourceMeta: Uint8Array; /** - * Creates a new ObjectGetRequest instance using the specified properties. + * Creates a new DeleteTaskRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ObjectGetRequest instance + * @returns DeleteTaskRequest instance */ - public static create(properties?: flyteidl.admin.IObjectGetRequest): flyteidl.admin.ObjectGetRequest; + public static create(properties?: flyteidl.admin.IDeleteTaskRequest): flyteidl.admin.DeleteTaskRequest; /** - * 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 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.IObjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ObjectGetRequest 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 ObjectGetRequest + * @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.ObjectGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskRequest; /** - * Verifies an ObjectGetRequest 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 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); - - /** ResourceListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** Properties of a DeleteTaskResponse. */ + interface IDeleteTaskResponse { } - /** Represents a ResourceListRequest. */ - class ResourceListRequest implements IResourceListRequest { + /** Represents a DeleteTaskResponse. */ + class DeleteTaskResponse implements IDeleteTaskResponse { /** - * Constructs a new ResourceListRequest. + * Constructs a new DeleteTaskResponse. * @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; - - /** ResourceListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + constructor(properties?: flyteidl.admin.IDeleteTaskResponse); /** - * Creates a new ResourceListRequest instance using the specified properties. + * Creates a new DeleteTaskResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ResourceListRequest instance + * @returns DeleteTaskResponse instance */ - public static create(properties?: flyteidl.admin.IResourceListRequest): flyteidl.admin.ResourceListRequest; + public static create(properties?: flyteidl.admin.IDeleteTaskResponse): flyteidl.admin.DeleteTaskResponse; /** - * 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 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.IResourceListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDeleteTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ResourceListRequest 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 ResourceListRequest + * @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.ResourceListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskResponse; /** - * Verifies a ResourceListRequest 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 an EmailNotification. */ - interface IEmailNotification { + /** Properties of a ClusterAssignment. */ + interface IClusterAssignment { - /** EmailNotification recipientsEmail */ - recipientsEmail?: (string[]|null); + /** ClusterAssignment clusterPoolName */ + clusterPoolName?: (string|null); } - /** Represents an EmailNotification. */ - class EmailNotification implements IEmailNotification { + /** Represents a ClusterAssignment. */ + class ClusterAssignment implements IClusterAssignment { /** - * Constructs a new EmailNotification. + * Constructs a new ClusterAssignment. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEmailNotification); + constructor(properties?: flyteidl.admin.IClusterAssignment); - /** EmailNotification recipientsEmail. */ - public recipientsEmail: string[]; + /** ClusterAssignment clusterPoolName. */ + public clusterPoolName: string; /** - * Creates a new EmailNotification instance using the specified properties. + * Creates a new ClusterAssignment instance using the specified properties. * @param [properties] Properties to set - * @returns EmailNotification instance + * @returns ClusterAssignment instance */ - public static create(properties?: flyteidl.admin.IEmailNotification): flyteidl.admin.EmailNotification; + public static create(properties?: flyteidl.admin.IClusterAssignment): flyteidl.admin.ClusterAssignment; /** - * 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 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.IEmailNotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IClusterAssignment, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EmailNotification 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 EmailNotification + * @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.EmailNotification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterAssignment; /** - * Verifies an EmailNotification 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 PagerDutyNotification. */ - interface IPagerDutyNotification { + /** Properties of a NamedEntityIdentifier. */ + interface INamedEntityIdentifier { - /** PagerDutyNotification recipientsEmail */ - recipientsEmail?: (string[]|null); + /** NamedEntityIdentifier project */ + project?: (string|null); + + /** NamedEntityIdentifier domain */ + domain?: (string|null); + + /** NamedEntityIdentifier name */ + name?: (string|null); } - /** Represents a PagerDutyNotification. */ - class PagerDutyNotification implements IPagerDutyNotification { + /** Represents a NamedEntityIdentifier. */ + class NamedEntityIdentifier implements INamedEntityIdentifier { /** - * Constructs a new PagerDutyNotification. + * Constructs a new NamedEntityIdentifier. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IPagerDutyNotification); + constructor(properties?: flyteidl.admin.INamedEntityIdentifier); - /** PagerDutyNotification recipientsEmail. */ - public recipientsEmail: string[]; + /** NamedEntityIdentifier project. */ + public project: string; + + /** NamedEntityIdentifier domain. */ + public domain: string; + + /** NamedEntityIdentifier name. */ + public name: string; /** - * Creates a new PagerDutyNotification instance using the specified properties. + * Creates a new NamedEntityIdentifier instance using the specified properties. * @param [properties] Properties to set - * @returns PagerDutyNotification instance + * @returns NamedEntityIdentifier instance */ - public static create(properties?: flyteidl.admin.IPagerDutyNotification): flyteidl.admin.PagerDutyNotification; + public static create(properties?: flyteidl.admin.INamedEntityIdentifier): flyteidl.admin.NamedEntityIdentifier; /** - * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. - * @param message PagerDutyNotification 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.admin.IPagerDutyNotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PagerDutyNotification 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 PagerDutyNotification + * @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.admin.PagerDutyNotification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifier; /** - * Verifies a PagerDutyNotification 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 SlackNotification. */ - interface ISlackNotification { + /** NamedEntityState enum. */ + enum NamedEntityState { + NAMED_ENTITY_ACTIVE = 0, + NAMED_ENTITY_ARCHIVED = 1, + SYSTEM_GENERATED = 2 + } - /** SlackNotification recipientsEmail */ - recipientsEmail?: (string[]|null); + /** Properties of a NamedEntityMetadata. */ + interface INamedEntityMetadata { + + /** NamedEntityMetadata description */ + description?: (string|null); + + /** NamedEntityMetadata state */ + state?: (flyteidl.admin.NamedEntityState|null); } - /** Represents a SlackNotification. */ - class SlackNotification implements ISlackNotification { + /** Represents a NamedEntityMetadata. */ + class NamedEntityMetadata implements INamedEntityMetadata { /** - * Constructs a new SlackNotification. + * Constructs a new NamedEntityMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISlackNotification); + constructor(properties?: flyteidl.admin.INamedEntityMetadata); - /** SlackNotification recipientsEmail. */ - public recipientsEmail: string[]; + /** NamedEntityMetadata description. */ + public description: string; + + /** NamedEntityMetadata state. */ + public state: flyteidl.admin.NamedEntityState; /** - * Creates a new SlackNotification instance using the specified properties. + * Creates a new NamedEntityMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns SlackNotification instance + * @returns NamedEntityMetadata instance */ - public static create(properties?: flyteidl.admin.ISlackNotification): flyteidl.admin.SlackNotification; + public static create(properties?: flyteidl.admin.INamedEntityMetadata): flyteidl.admin.NamedEntityMetadata; /** - * 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 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.admin.ISlackNotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SlackNotification 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 SlackNotification + * @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.admin.SlackNotification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityMetadata; /** - * Verifies a SlackNotification 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 Notification. */ - interface INotification { - - /** Notification phases */ - phases?: (flyteidl.core.WorkflowExecution.Phase[]|null); + /** Properties of a NamedEntity. */ + interface INamedEntity { - /** Notification email */ - email?: (flyteidl.admin.IEmailNotification|null); + /** NamedEntity resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); - /** Notification pagerDuty */ - pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + /** NamedEntity id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** Notification slack */ - slack?: (flyteidl.admin.ISlackNotification|null); + /** NamedEntity metadata */ + metadata?: (flyteidl.admin.INamedEntityMetadata|null); } - /** Represents a Notification. */ - class Notification implements INotification { + /** Represents a NamedEntity. */ + class NamedEntity implements INamedEntity { /** - * Constructs a new Notification. + * Constructs a new NamedEntity. * @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); + constructor(properties?: flyteidl.admin.INamedEntity); - /** Notification pagerDuty. */ - public pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + /** NamedEntity resourceType. */ + public resourceType: flyteidl.core.ResourceType; - /** Notification slack. */ - public slack?: (flyteidl.admin.ISlackNotification|null); + /** NamedEntity id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** Notification type. */ - public type?: ("email"|"pagerDuty"|"slack"); + /** NamedEntity metadata. */ + public metadata?: (flyteidl.admin.INamedEntityMetadata|null); /** - * Creates a new Notification instance using the specified properties. + * Creates a new NamedEntity instance using the specified properties. * @param [properties] Properties to set - * @returns Notification instance + * @returns NamedEntity instance */ - public static create(properties?: flyteidl.admin.INotification): flyteidl.admin.Notification; + public static create(properties?: flyteidl.admin.INamedEntity): flyteidl.admin.NamedEntity; /** - * 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 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.admin.INotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntity, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Notification 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 Notification + * @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.admin.Notification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntity; /** - * Verifies a Notification 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 an UrlBlob. */ - interface IUrlBlob { + /** Properties of a Sort. */ + interface ISort { - /** UrlBlob url */ - url?: (string|null); + /** Sort key */ + key?: (string|null); - /** UrlBlob bytes */ - bytes?: (Long|null); + /** Sort direction */ + direction?: (flyteidl.admin.Sort.Direction|null); } - /** Represents an UrlBlob. */ - class UrlBlob implements IUrlBlob { + /** Represents a Sort. */ + class Sort implements ISort { /** - * Constructs a new UrlBlob. + * Constructs a new Sort. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IUrlBlob); + constructor(properties?: flyteidl.admin.ISort); - /** UrlBlob url. */ - public url: string; + /** Sort key. */ + public key: string; - /** UrlBlob bytes. */ - public bytes: Long; + /** Sort direction. */ + public direction: flyteidl.admin.Sort.Direction; /** - * Creates a new UrlBlob instance using the specified properties. + * Creates a new Sort instance using the specified properties. * @param [properties] Properties to set - * @returns UrlBlob instance + * @returns Sort instance */ - public static create(properties?: flyteidl.admin.IUrlBlob): flyteidl.admin.UrlBlob; + public static create(properties?: flyteidl.admin.ISort): flyteidl.admin.Sort; /** - * 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 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.admin.IUrlBlob, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISort, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an UrlBlob 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 UrlBlob + * @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.admin.UrlBlob; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Sort; /** - * Verifies an UrlBlob 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 Labels. */ - interface ILabels { + namespace Sort { - /** Labels values */ - values?: ({ [k: string]: string }|null); + /** Direction enum. */ + enum Direction { + DESCENDING = 0, + ASCENDING = 1 + } } - /** Represents a Labels. */ - class Labels implements ILabels { + /** 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); + + /** NamedEntityIdentifierListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityIdentifierListRequest filters */ + filters?: (string|null); + } + + /** Represents a NamedEntityIdentifierListRequest. */ + class NamedEntityIdentifierListRequest implements INamedEntityIdentifierListRequest { /** - * Constructs a new Labels. + * Constructs a new NamedEntityIdentifierListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILabels); + constructor(properties?: flyteidl.admin.INamedEntityIdentifierListRequest); - /** Labels values. */ - public values: { [k: string]: string }; + /** NamedEntityIdentifierListRequest project. */ + public project: string; + + /** NamedEntityIdentifierListRequest domain. */ + public domain: string; + + /** NamedEntityIdentifierListRequest limit. */ + public limit: number; + + /** NamedEntityIdentifierListRequest token. */ + public token: string; + + /** NamedEntityIdentifierListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityIdentifierListRequest filters. */ + public filters: string; /** - * Creates a new Labels instance using the specified properties. + * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Labels instance + * @returns NamedEntityIdentifierListRequest instance */ - public static create(properties?: flyteidl.admin.ILabels): flyteidl.admin.Labels; + public static create(properties?: flyteidl.admin.INamedEntityIdentifierListRequest): flyteidl.admin.NamedEntityIdentifierListRequest; /** - * 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 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.admin.ILabels, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityIdentifierListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Labels 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 Labels + * @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.admin.Labels; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifierListRequest; /** - * Verifies a Labels 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 an Annotations. */ - interface IAnnotations { + /** Properties of a NamedEntityListRequest. */ + interface INamedEntityListRequest { - /** Annotations values */ - values?: ({ [k: string]: string }|null); + /** 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); + + /** NamedEntityListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityListRequest filters */ + filters?: (string|null); } - /** Represents an Annotations. */ - class Annotations implements IAnnotations { + /** Represents a NamedEntityListRequest. */ + class NamedEntityListRequest implements INamedEntityListRequest { /** - * Constructs a new Annotations. + * Constructs a new NamedEntityListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAnnotations); + constructor(properties?: flyteidl.admin.INamedEntityListRequest); - /** Annotations values. */ - public values: { [k: string]: string }; + /** 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; /** - * Creates a new Annotations instance using the specified properties. + * Creates a new NamedEntityListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Annotations instance + * @returns NamedEntityListRequest instance */ - public static create(properties?: flyteidl.admin.IAnnotations): flyteidl.admin.Annotations; + public static create(properties?: flyteidl.admin.INamedEntityListRequest): flyteidl.admin.NamedEntityListRequest; /** - * 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 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.IAnnotations, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Annotations message from the specified reader or buffer. + * 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 Annotations + * @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.Annotations; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityListRequest; /** - * Verifies an Annotations message. + * 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); } - /** Properties of an Envs. */ - interface IEnvs { + /** Properties of a NamedEntityIdentifierList. */ + interface INamedEntityIdentifierList { - /** Envs values */ - values?: (flyteidl.core.IKeyValuePair[]|null); + /** NamedEntityIdentifierList entities */ + entities?: (flyteidl.admin.INamedEntityIdentifier[]|null); + + /** NamedEntityIdentifierList token */ + token?: (string|null); } - /** Represents an Envs. */ - class Envs implements IEnvs { + /** Represents a NamedEntityIdentifierList. */ + class NamedEntityIdentifierList implements INamedEntityIdentifierList { /** - * Constructs a new Envs. + * Constructs a new NamedEntityIdentifierList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEnvs); + constructor(properties?: flyteidl.admin.INamedEntityIdentifierList); - /** Envs values. */ - public values: flyteidl.core.IKeyValuePair[]; + /** NamedEntityIdentifierList entities. */ + public entities: flyteidl.admin.INamedEntityIdentifier[]; + + /** NamedEntityIdentifierList token. */ + public token: string; /** - * Creates a new Envs instance using the specified properties. + * Creates a new NamedEntityIdentifierList instance using the specified properties. * @param [properties] Properties to set - * @returns Envs instance + * @returns NamedEntityIdentifierList instance */ - public static create(properties?: flyteidl.admin.IEnvs): flyteidl.admin.Envs; + public static create(properties?: flyteidl.admin.INamedEntityIdentifierList): flyteidl.admin.NamedEntityIdentifierList; /** - * 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 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.admin.IEnvs, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityIdentifierList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Envs 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 Envs + * @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.admin.Envs; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifierList; /** - * Verifies an Envs 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 an AuthRole. */ - interface IAuthRole { + /** Properties of a NamedEntityList. */ + interface INamedEntityList { - /** AuthRole assumableIamRole */ - assumableIamRole?: (string|null); + /** NamedEntityList entities */ + entities?: (flyteidl.admin.INamedEntity[]|null); - /** AuthRole kubernetesServiceAccount */ - kubernetesServiceAccount?: (string|null); + /** NamedEntityList token */ + token?: (string|null); } - /** Represents an AuthRole. */ - class AuthRole implements IAuthRole { + /** Represents a NamedEntityList. */ + class NamedEntityList implements INamedEntityList { /** - * Constructs a new AuthRole. + * Constructs a new NamedEntityList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAuthRole); + constructor(properties?: flyteidl.admin.INamedEntityList); - /** AuthRole assumableIamRole. */ - public assumableIamRole: string; + /** NamedEntityList entities. */ + public entities: flyteidl.admin.INamedEntity[]; - /** AuthRole kubernetesServiceAccount. */ - public kubernetesServiceAccount: string; + /** NamedEntityList token. */ + public token: string; /** - * Creates a new AuthRole instance using the specified properties. + * Creates a new NamedEntityList instance using the specified properties. * @param [properties] Properties to set - * @returns AuthRole instance + * @returns NamedEntityList instance */ - public static create(properties?: flyteidl.admin.IAuthRole): flyteidl.admin.AuthRole; + public static create(properties?: flyteidl.admin.INamedEntityList): flyteidl.admin.NamedEntityList; /** - * 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 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.admin.IAuthRole, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an AuthRole 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 AuthRole + * @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.admin.AuthRole; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityList; /** - * Verifies an AuthRole 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 RawOutputDataConfig. */ - interface IRawOutputDataConfig { + /** Properties of a NamedEntityGetRequest. */ + interface INamedEntityGetRequest { - /** RawOutputDataConfig outputLocationPrefix */ - outputLocationPrefix?: (string|null); + /** NamedEntityGetRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); + + /** NamedEntityGetRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); } - /** Represents a RawOutputDataConfig. */ - class RawOutputDataConfig implements IRawOutputDataConfig { + /** Represents a NamedEntityGetRequest. */ + class NamedEntityGetRequest implements INamedEntityGetRequest { /** - * Constructs a new RawOutputDataConfig. + * Constructs a new NamedEntityGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IRawOutputDataConfig); + constructor(properties?: flyteidl.admin.INamedEntityGetRequest); - /** RawOutputDataConfig outputLocationPrefix. */ - public outputLocationPrefix: string; + /** NamedEntityGetRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; + + /** NamedEntityGetRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); /** - * Creates a new RawOutputDataConfig instance using the specified properties. + * Creates a new NamedEntityGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns RawOutputDataConfig instance + * @returns NamedEntityGetRequest instance */ - public static create(properties?: flyteidl.admin.IRawOutputDataConfig): flyteidl.admin.RawOutputDataConfig; + public static create(properties?: flyteidl.admin.INamedEntityGetRequest): flyteidl.admin.NamedEntityGetRequest; /** - * 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 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.admin.IRawOutputDataConfig, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a RawOutputDataConfig 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 RawOutputDataConfig + * @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.admin.RawOutputDataConfig; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityGetRequest; /** - * Verifies a RawOutputDataConfig 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 FlyteURLs. */ - interface IFlyteURLs { + /** Properties of a NamedEntityUpdateRequest. */ + interface INamedEntityUpdateRequest { - /** FlyteURLs inputs */ - inputs?: (string|null); + /** NamedEntityUpdateRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); - /** FlyteURLs outputs */ - outputs?: (string|null); + /** NamedEntityUpdateRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** FlyteURLs deck */ - deck?: (string|null); + /** NamedEntityUpdateRequest metadata */ + metadata?: (flyteidl.admin.INamedEntityMetadata|null); } - /** Represents a FlyteURLs. */ - class FlyteURLs implements IFlyteURLs { + /** Represents a NamedEntityUpdateRequest. */ + class NamedEntityUpdateRequest implements INamedEntityUpdateRequest { /** - * Constructs a new FlyteURLs. + * Constructs a new NamedEntityUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IFlyteURLs); + constructor(properties?: flyteidl.admin.INamedEntityUpdateRequest); - /** FlyteURLs inputs. */ - public inputs: string; + /** NamedEntityUpdateRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; - /** FlyteURLs outputs. */ - public outputs: string; + /** NamedEntityUpdateRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** FlyteURLs deck. */ - public deck: string; + /** NamedEntityUpdateRequest metadata. */ + public metadata?: (flyteidl.admin.INamedEntityMetadata|null); /** - * Creates a new FlyteURLs instance using the specified properties. + * Creates a new NamedEntityUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns FlyteURLs instance + * @returns NamedEntityUpdateRequest instance */ - public static create(properties?: flyteidl.admin.IFlyteURLs): flyteidl.admin.FlyteURLs; + public static create(properties?: flyteidl.admin.INamedEntityUpdateRequest): flyteidl.admin.NamedEntityUpdateRequest; /** - * 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 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.admin.IFlyteURLs, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a FlyteURLs 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 FlyteURLs + * @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.admin.FlyteURLs; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityUpdateRequest; /** - * Verifies a FlyteURLs 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 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); - - /** DescriptionEntity tags */ - tags?: (string[]|null); + /** Properties of a NamedEntityUpdateResponse. */ + interface INamedEntityUpdateResponse { } - /** Represents a DescriptionEntity. */ - class DescriptionEntity implements IDescriptionEntity { + /** Represents a NamedEntityUpdateResponse. */ + class NamedEntityUpdateResponse implements INamedEntityUpdateResponse { /** - * Constructs a new DescriptionEntity. + * Constructs a new NamedEntityUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDescriptionEntity); - - /** DescriptionEntity id. */ - public id?: (flyteidl.core.IIdentifier|null); - - /** 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[]; + constructor(properties?: flyteidl.admin.INamedEntityUpdateResponse); /** - * Creates a new DescriptionEntity instance using the specified properties. + * Creates a new NamedEntityUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns DescriptionEntity instance + * @returns NamedEntityUpdateResponse instance */ - public static create(properties?: flyteidl.admin.IDescriptionEntity): flyteidl.admin.DescriptionEntity; + public static create(properties?: flyteidl.admin.INamedEntityUpdateResponse): flyteidl.admin.NamedEntityUpdateResponse; /** - * 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 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.admin.IDescriptionEntity, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DescriptionEntity 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 DescriptionEntity + * @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.admin.DescriptionEntity; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityUpdateResponse; /** - * Verifies a DescriptionEntity 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); } - /** 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); - - /** Description uri */ - uri?: (string|null); - - /** Description format */ - format?: (flyteidl.admin.DescriptionFormat|null); + /** Properties of an ObjectGetRequest. */ + interface IObjectGetRequest { - /** Description iconLink */ - iconLink?: (string|null); + /** ObjectGetRequest id */ + id?: (flyteidl.core.IIdentifier|null); } - /** Represents a Description. */ - class Description implements IDescription { + /** Represents an ObjectGetRequest. */ + class ObjectGetRequest implements IObjectGetRequest { /** - * Constructs a new Description. + * Constructs a new ObjectGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDescription); - - /** Description value. */ - public value: string; - - /** Description uri. */ - public uri: string; - - /** Description format. */ - public format: flyteidl.admin.DescriptionFormat; - - /** Description iconLink. */ - public iconLink: string; + constructor(properties?: flyteidl.admin.IObjectGetRequest); - /** Description content. */ - public content?: ("value"|"uri"); + /** ObjectGetRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); /** - * Creates a new Description instance using the specified properties. + * Creates a new ObjectGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Description instance + * @returns ObjectGetRequest instance */ - public static create(properties?: flyteidl.admin.IDescription): flyteidl.admin.Description; + public static create(properties?: flyteidl.admin.IObjectGetRequest): flyteidl.admin.ObjectGetRequest; /** - * 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 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.admin.IDescription, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IObjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Description 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 Description + * @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.admin.Description; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ObjectGetRequest; /** - * Verifies a Description 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 a SourceCode. */ - interface ISourceCode { + /** Properties of a ResourceListRequest. */ + interface IResourceListRequest { - /** SourceCode link */ - link?: (string|null); - } + /** ResourceListRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** Represents a SourceCode. */ - class SourceCode implements ISourceCode { + /** ResourceListRequest limit */ + limit?: (number|null); + + /** ResourceListRequest token */ + token?: (string|null); + + /** ResourceListRequest filters */ + filters?: (string|null); + + /** ResourceListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + } + + /** Represents a ResourceListRequest. */ + class ResourceListRequest implements IResourceListRequest { /** - * Constructs a new SourceCode. + * Constructs a new ResourceListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISourceCode); + constructor(properties?: flyteidl.admin.IResourceListRequest); - /** SourceCode link. */ - public link: string; + /** ResourceListRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|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 SourceCode instance using the specified properties. + * Creates a new ResourceListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns SourceCode instance + * @returns ResourceListRequest instance */ - public static create(properties?: flyteidl.admin.ISourceCode): flyteidl.admin.SourceCode; + public static create(properties?: flyteidl.admin.IResourceListRequest): flyteidl.admin.ResourceListRequest; /** - * 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 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.admin.ISourceCode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IResourceListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SourceCode 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 SourceCode + * @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.admin.SourceCode; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ResourceListRequest; /** - * Verifies a SourceCode 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 DescriptionEntityList. */ - interface IDescriptionEntityList { - - /** DescriptionEntityList descriptionEntities */ - descriptionEntities?: (flyteidl.admin.IDescriptionEntity[]|null); + /** Properties of an EmailNotification. */ + interface IEmailNotification { - /** DescriptionEntityList token */ - token?: (string|null); + /** EmailNotification recipientsEmail */ + recipientsEmail?: (string[]|null); } - /** Represents a DescriptionEntityList. */ - class DescriptionEntityList implements IDescriptionEntityList { + /** Represents an EmailNotification. */ + class EmailNotification implements IEmailNotification { /** - * Constructs a new DescriptionEntityList. + * Constructs a new EmailNotification. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDescriptionEntityList); - - /** DescriptionEntityList descriptionEntities. */ - public descriptionEntities: flyteidl.admin.IDescriptionEntity[]; + constructor(properties?: flyteidl.admin.IEmailNotification); - /** DescriptionEntityList token. */ - public token: string; + /** EmailNotification recipientsEmail. */ + public recipientsEmail: string[]; /** - * Creates a new DescriptionEntityList instance using the specified properties. + * Creates a new EmailNotification instance using the specified properties. * @param [properties] Properties to set - * @returns DescriptionEntityList instance + * @returns EmailNotification instance */ - public static create(properties?: flyteidl.admin.IDescriptionEntityList): flyteidl.admin.DescriptionEntityList; + public static create(properties?: flyteidl.admin.IEmailNotification): flyteidl.admin.EmailNotification; /** - * 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 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.IDescriptionEntityList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEmailNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DescriptionEntityList message from the specified reader or buffer. + * 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 DescriptionEntityList + * @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.DescriptionEntityList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EmailNotification; /** - * Verifies a DescriptionEntityList message. + * 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); } - /** 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); + /** Properties of a PagerDutyNotification. */ + interface IPagerDutyNotification { - /** DescriptionEntityListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** PagerDutyNotification recipientsEmail */ + recipientsEmail?: (string[]|null); } - /** Represents a DescriptionEntityListRequest. */ - class DescriptionEntityListRequest implements IDescriptionEntityListRequest { + /** Represents a PagerDutyNotification. */ + class PagerDutyNotification implements IPagerDutyNotification { /** - * Constructs a new DescriptionEntityListRequest. + * Constructs a new PagerDutyNotification. * @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; - - /** DescriptionEntityListRequest filters. */ - public filters: string; + constructor(properties?: flyteidl.admin.IPagerDutyNotification); - /** DescriptionEntityListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** PagerDutyNotification recipientsEmail. */ + public recipientsEmail: string[]; /** - * Creates a new DescriptionEntityListRequest instance using the specified properties. + * Creates a new PagerDutyNotification instance using the specified properties. * @param [properties] Properties to set - * @returns DescriptionEntityListRequest instance + * @returns PagerDutyNotification instance */ - public static create(properties?: flyteidl.admin.IDescriptionEntityListRequest): flyteidl.admin.DescriptionEntityListRequest; + public static create(properties?: flyteidl.admin.IPagerDutyNotification): flyteidl.admin.PagerDutyNotification; /** - * 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 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.admin.IDescriptionEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPagerDutyNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DescriptionEntityListRequest 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 DescriptionEntityListRequest + * @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.admin.DescriptionEntityListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PagerDutyNotification; /** - * Verifies a DescriptionEntityListRequest 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 EventErrorAlreadyInTerminalState. */ - interface IEventErrorAlreadyInTerminalState { + /** Properties of a SlackNotification. */ + interface ISlackNotification { - /** EventErrorAlreadyInTerminalState currentPhase */ - currentPhase?: (string|null); + /** SlackNotification recipientsEmail */ + recipientsEmail?: (string[]|null); } - /** Represents an EventErrorAlreadyInTerminalState. */ - class EventErrorAlreadyInTerminalState implements IEventErrorAlreadyInTerminalState { + /** Represents a SlackNotification. */ + class SlackNotification implements ISlackNotification { /** - * Constructs a new EventErrorAlreadyInTerminalState. + * Constructs a new SlackNotification. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState); + constructor(properties?: flyteidl.admin.ISlackNotification); - /** EventErrorAlreadyInTerminalState currentPhase. */ - public currentPhase: string; + /** SlackNotification recipientsEmail. */ + public recipientsEmail: string[]; /** - * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. + * Creates a new SlackNotification instance using the specified properties. * @param [properties] Properties to set - * @returns EventErrorAlreadyInTerminalState instance + * @returns SlackNotification instance */ - public static create(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState): flyteidl.admin.EventErrorAlreadyInTerminalState; + public static create(properties?: flyteidl.admin.ISlackNotification): flyteidl.admin.SlackNotification; /** - * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. - * @param message EventErrorAlreadyInTerminalState 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.admin.IEventErrorAlreadyInTerminalState, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISlackNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EventErrorAlreadyInTerminalState 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 EventErrorAlreadyInTerminalState + * @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.admin.EventErrorAlreadyInTerminalState; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SlackNotification; /** - * Verifies an EventErrorAlreadyInTerminalState 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 an EventErrorIncompatibleCluster. */ - interface IEventErrorIncompatibleCluster { + /** Properties of a Notification. */ + interface INotification { - /** EventErrorIncompatibleCluster cluster */ - cluster?: (string|null); + /** Notification phases */ + phases?: (flyteidl.core.WorkflowExecution.Phase[]|null); + + /** Notification email */ + email?: (flyteidl.admin.IEmailNotification|null); + + /** Notification pagerDuty */ + pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + + /** Notification slack */ + slack?: (flyteidl.admin.ISlackNotification|null); } - /** Represents an EventErrorIncompatibleCluster. */ - class EventErrorIncompatibleCluster implements IEventErrorIncompatibleCluster { + /** Represents a Notification. */ + class Notification implements INotification { /** - * Constructs a new EventErrorIncompatibleCluster. + * Constructs a new Notification. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEventErrorIncompatibleCluster); + constructor(properties?: flyteidl.admin.INotification); - /** EventErrorIncompatibleCluster cluster. */ - public cluster: 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 EventErrorIncompatibleCluster instance using the specified properties. + * Creates a new Notification instance using the specified properties. * @param [properties] Properties to set - * @returns EventErrorIncompatibleCluster instance + * @returns Notification instance */ - public static create(properties?: flyteidl.admin.IEventErrorIncompatibleCluster): flyteidl.admin.EventErrorIncompatibleCluster; + public static create(properties?: flyteidl.admin.INotification): flyteidl.admin.Notification; /** - * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. - * @param message EventErrorIncompatibleCluster 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.admin.IEventErrorIncompatibleCluster, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INotification, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EventErrorIncompatibleCluster 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 EventErrorIncompatibleCluster + * @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.admin.EventErrorIncompatibleCluster; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Notification; /** - * Verifies an EventErrorIncompatibleCluster 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 an EventFailureReason. */ - interface IEventFailureReason { + /** Properties of an UrlBlob. */ + interface IUrlBlob { - /** EventFailureReason alreadyInTerminalState */ - alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + /** UrlBlob url */ + url?: (string|null); - /** EventFailureReason incompatibleCluster */ - incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); + /** UrlBlob bytes */ + bytes?: (Long|null); } - /** Represents an EventFailureReason. */ - class EventFailureReason implements IEventFailureReason { + /** Represents an UrlBlob. */ + class UrlBlob implements IUrlBlob { /** - * Constructs a new EventFailureReason. + * Constructs a new UrlBlob. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEventFailureReason); - - /** EventFailureReason alreadyInTerminalState. */ - public alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + constructor(properties?: flyteidl.admin.IUrlBlob); - /** EventFailureReason incompatibleCluster. */ - public incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); + /** UrlBlob url. */ + public url: string; - /** EventFailureReason reason. */ - public reason?: ("alreadyInTerminalState"|"incompatibleCluster"); + /** UrlBlob bytes. */ + public bytes: Long; /** - * Creates a new EventFailureReason instance using the specified properties. + * Creates a new UrlBlob instance using the specified properties. * @param [properties] Properties to set - * @returns EventFailureReason instance + * @returns UrlBlob instance */ - public static create(properties?: flyteidl.admin.IEventFailureReason): flyteidl.admin.EventFailureReason; + public static create(properties?: flyteidl.admin.IUrlBlob): flyteidl.admin.UrlBlob; /** - * 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 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.admin.IEventFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IUrlBlob, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EventFailureReason 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 EventFailureReason + * @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.admin.EventFailureReason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.UrlBlob; /** - * Verifies an EventFailureReason 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); } - /** Properties of a WorkflowExecutionEventRequest. */ - interface IWorkflowExecutionEventRequest { - - /** WorkflowExecutionEventRequest requestId */ - requestId?: (string|null); + /** Properties of a Labels. */ + interface ILabels { - /** WorkflowExecutionEventRequest event */ - event?: (flyteidl.event.IWorkflowExecutionEvent|null); + /** Labels values */ + values?: ({ [k: string]: string }|null); } - /** Represents a WorkflowExecutionEventRequest. */ - class WorkflowExecutionEventRequest implements IWorkflowExecutionEventRequest { + /** Represents a Labels. */ + class Labels implements ILabels { /** - * Constructs a new WorkflowExecutionEventRequest. + * Constructs a new Labels. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionEventRequest); - - /** WorkflowExecutionEventRequest requestId. */ - public requestId: string; + constructor(properties?: flyteidl.admin.ILabels); - /** WorkflowExecutionEventRequest event. */ - public event?: (flyteidl.event.IWorkflowExecutionEvent|null); + /** Labels values. */ + public values: { [k: string]: string }; /** - * Creates a new WorkflowExecutionEventRequest instance using the specified properties. + * Creates a new Labels instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionEventRequest instance + * @returns Labels instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionEventRequest): flyteidl.admin.WorkflowExecutionEventRequest; + public static create(properties?: flyteidl.admin.ILabels): flyteidl.admin.Labels; /** - * 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 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.IWorkflowExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILabels, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionEventRequest message from the specified reader or buffer. + * 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 WorkflowExecutionEventRequest + * @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.WorkflowExecutionEventRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Labels; /** - * Verifies a WorkflowExecutionEventRequest message. + * 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); } - /** Properties of a WorkflowExecutionEventResponse. */ - interface IWorkflowExecutionEventResponse { + /** Properties of an Annotations. */ + interface IAnnotations { + + /** Annotations values */ + values?: ({ [k: string]: string }|null); } - /** Represents a WorkflowExecutionEventResponse. */ - class WorkflowExecutionEventResponse implements IWorkflowExecutionEventResponse { + /** Represents an Annotations. */ + class Annotations implements IAnnotations { /** - * Constructs a new WorkflowExecutionEventResponse. + * Constructs a new Annotations. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionEventResponse); + constructor(properties?: flyteidl.admin.IAnnotations); + + /** Annotations values. */ + public values: { [k: string]: string }; /** - * Creates a new WorkflowExecutionEventResponse instance using the specified properties. + * Creates a new Annotations instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionEventResponse instance + * @returns Annotations instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionEventResponse): flyteidl.admin.WorkflowExecutionEventResponse; + public static create(properties?: flyteidl.admin.IAnnotations): flyteidl.admin.Annotations; /** - * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. - * @param message WorkflowExecutionEventResponse 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.IWorkflowExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAnnotations, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionEventResponse 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 WorkflowExecutionEventResponse + * @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.WorkflowExecutionEventResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Annotations; /** - * Verifies a WorkflowExecutionEventResponse 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 NodeExecutionEventRequest. */ - interface INodeExecutionEventRequest { - - /** NodeExecutionEventRequest requestId */ - requestId?: (string|null); + /** Properties of an Envs. */ + interface IEnvs { - /** NodeExecutionEventRequest event */ - event?: (flyteidl.event.INodeExecutionEvent|null); + /** Envs values */ + values?: (flyteidl.core.IKeyValuePair[]|null); } - /** Represents a NodeExecutionEventRequest. */ - class NodeExecutionEventRequest implements INodeExecutionEventRequest { + /** Represents an Envs. */ + class Envs implements IEnvs { /** - * Constructs a new NodeExecutionEventRequest. + * Constructs a new Envs. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionEventRequest); - - /** NodeExecutionEventRequest requestId. */ - public requestId: string; + constructor(properties?: flyteidl.admin.IEnvs); - /** NodeExecutionEventRequest event. */ - public event?: (flyteidl.event.INodeExecutionEvent|null); + /** Envs values. */ + public values: flyteidl.core.IKeyValuePair[]; /** - * Creates a new NodeExecutionEventRequest instance using the specified properties. + * Creates a new Envs instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionEventRequest instance + * @returns Envs instance */ - public static create(properties?: flyteidl.admin.INodeExecutionEventRequest): flyteidl.admin.NodeExecutionEventRequest; + public static create(properties?: flyteidl.admin.IEnvs): flyteidl.admin.Envs; /** - * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. - * @param message NodeExecutionEventRequest 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.INodeExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEnvs, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionEventRequest 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 NodeExecutionEventRequest + * @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.NodeExecutionEventRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Envs; /** - * Verifies a NodeExecutionEventRequest 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 NodeExecutionEventResponse. */ - interface INodeExecutionEventResponse { + /** Properties of an AuthRole. */ + interface IAuthRole { + + /** AuthRole assumableIamRole */ + assumableIamRole?: (string|null); + + /** AuthRole kubernetesServiceAccount */ + kubernetesServiceAccount?: (string|null); } - /** Represents a NodeExecutionEventResponse. */ - class NodeExecutionEventResponse implements INodeExecutionEventResponse { + /** Represents an AuthRole. */ + class AuthRole implements IAuthRole { /** - * Constructs a new NodeExecutionEventResponse. + * Constructs a new AuthRole. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionEventResponse); + constructor(properties?: flyteidl.admin.IAuthRole); + + /** AuthRole assumableIamRole. */ + public assumableIamRole: string; + + /** AuthRole kubernetesServiceAccount. */ + public kubernetesServiceAccount: string; /** - * Creates a new NodeExecutionEventResponse instance using the specified properties. + * Creates a new AuthRole instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionEventResponse instance + * @returns AuthRole instance */ - public static create(properties?: flyteidl.admin.INodeExecutionEventResponse): flyteidl.admin.NodeExecutionEventResponse; + public static create(properties?: flyteidl.admin.IAuthRole): flyteidl.admin.AuthRole; /** - * 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 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.INodeExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAuthRole, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionEventResponse 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 NodeExecutionEventResponse + * @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.NodeExecutionEventResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AuthRole; /** - * Verifies a NodeExecutionEventResponse 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 TaskExecutionEventRequest. */ - interface ITaskExecutionEventRequest { - - /** TaskExecutionEventRequest requestId */ - requestId?: (string|null); + /** Properties of a RawOutputDataConfig. */ + interface IRawOutputDataConfig { - /** TaskExecutionEventRequest event */ - event?: (flyteidl.event.ITaskExecutionEvent|null); + /** RawOutputDataConfig outputLocationPrefix */ + outputLocationPrefix?: (string|null); } - /** Represents a TaskExecutionEventRequest. */ - class TaskExecutionEventRequest implements ITaskExecutionEventRequest { + /** Represents a RawOutputDataConfig. */ + class RawOutputDataConfig implements IRawOutputDataConfig { /** - * Constructs a new TaskExecutionEventRequest. + * Constructs a new RawOutputDataConfig. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionEventRequest); - - /** TaskExecutionEventRequest requestId. */ - public requestId: string; + constructor(properties?: flyteidl.admin.IRawOutputDataConfig); - /** TaskExecutionEventRequest event. */ - public event?: (flyteidl.event.ITaskExecutionEvent|null); + /** RawOutputDataConfig outputLocationPrefix. */ + public outputLocationPrefix: string; /** - * Creates a new TaskExecutionEventRequest instance using the specified properties. + * Creates a new RawOutputDataConfig instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionEventRequest instance + * @returns RawOutputDataConfig instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionEventRequest): flyteidl.admin.TaskExecutionEventRequest; + public static create(properties?: flyteidl.admin.IRawOutputDataConfig): flyteidl.admin.RawOutputDataConfig; /** - * 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 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.ITaskExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IRawOutputDataConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionEventRequest 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 TaskExecutionEventRequest + * @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.TaskExecutionEventRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.RawOutputDataConfig; /** - * Verifies a TaskExecutionEventRequest 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 a TaskExecutionEventResponse. */ - interface ITaskExecutionEventResponse { + /** Properties of a FlyteURLs. */ + interface IFlyteURLs { + + /** FlyteURLs inputs */ + inputs?: (string|null); + + /** FlyteURLs outputs */ + outputs?: (string|null); + + /** FlyteURLs deck */ + deck?: (string|null); } - /** Represents a TaskExecutionEventResponse. */ - class TaskExecutionEventResponse implements ITaskExecutionEventResponse { + /** Represents a FlyteURLs. */ + class FlyteURLs implements IFlyteURLs { /** - * Constructs a new TaskExecutionEventResponse. + * Constructs a new FlyteURLs. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionEventResponse); + constructor(properties?: flyteidl.admin.IFlyteURLs); + + /** FlyteURLs inputs. */ + public inputs: string; + + /** FlyteURLs outputs. */ + public outputs: string; + + /** FlyteURLs deck. */ + public deck: string; /** - * Creates a new TaskExecutionEventResponse instance using the specified properties. + * Creates a new FlyteURLs instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionEventResponse instance + * @returns FlyteURLs instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionEventResponse): flyteidl.admin.TaskExecutionEventResponse; + public static create(properties?: flyteidl.admin.IFlyteURLs): flyteidl.admin.FlyteURLs; /** - * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. - * @param message TaskExecutionEventResponse 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.ITaskExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IFlyteURLs, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionEventResponse 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 TaskExecutionEventResponse + * @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.TaskExecutionEventResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FlyteURLs; /** - * Verifies a TaskExecutionEventResponse 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 ExecutionCreateRequest. */ - interface IExecutionCreateRequest { + /** Properties of a DescriptionEntity. */ + interface IDescriptionEntity { - /** ExecutionCreateRequest project */ - project?: (string|null); + /** DescriptionEntity id */ + id?: (flyteidl.core.IIdentifier|null); - /** ExecutionCreateRequest domain */ - domain?: (string|null); + /** DescriptionEntity shortDescription */ + shortDescription?: (string|null); - /** ExecutionCreateRequest name */ - name?: (string|null); + /** DescriptionEntity longDescription */ + longDescription?: (flyteidl.admin.IDescription|null); - /** ExecutionCreateRequest spec */ - spec?: (flyteidl.admin.IExecutionSpec|null); + /** DescriptionEntity sourceCode */ + sourceCode?: (flyteidl.admin.ISourceCode|null); - /** ExecutionCreateRequest inputs */ - inputs?: (flyteidl.core.ILiteralMap|null); + /** DescriptionEntity tags */ + tags?: (string[]|null); } - /** Represents an ExecutionCreateRequest. */ - class ExecutionCreateRequest implements IExecutionCreateRequest { + /** Represents a DescriptionEntity. */ + class DescriptionEntity implements IDescriptionEntity { /** - * Constructs a new ExecutionCreateRequest. + * Constructs a new DescriptionEntity. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionCreateRequest); + constructor(properties?: flyteidl.admin.IDescriptionEntity); - /** ExecutionCreateRequest project. */ - public project: string; + /** DescriptionEntity id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** ExecutionCreateRequest domain. */ - public domain: string; + /** DescriptionEntity shortDescription. */ + public shortDescription: string; - /** ExecutionCreateRequest name. */ - public name: string; + /** DescriptionEntity longDescription. */ + public longDescription?: (flyteidl.admin.IDescription|null); - /** ExecutionCreateRequest spec. */ - public spec?: (flyteidl.admin.IExecutionSpec|null); + /** DescriptionEntity sourceCode. */ + public sourceCode?: (flyteidl.admin.ISourceCode|null); - /** ExecutionCreateRequest inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); + /** DescriptionEntity tags. */ + public tags: string[]; /** - * Creates a new ExecutionCreateRequest instance using the specified properties. + * Creates a new DescriptionEntity instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionCreateRequest instance + * @returns DescriptionEntity instance */ - public static create(properties?: flyteidl.admin.IExecutionCreateRequest): flyteidl.admin.ExecutionCreateRequest; + public static create(properties?: flyteidl.admin.IDescriptionEntity): flyteidl.admin.DescriptionEntity; /** - * 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 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.IExecutionCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescriptionEntity, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionCreateRequest 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 ExecutionCreateRequest + * @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.ExecutionCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntity; /** - * Verifies an ExecutionCreateRequest 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 an ExecutionRelaunchRequest. */ - interface IExecutionRelaunchRequest { + /** DescriptionFormat enum. */ + enum DescriptionFormat { + DESCRIPTION_FORMAT_UNKNOWN = 0, + DESCRIPTION_FORMAT_MARKDOWN = 1, + DESCRIPTION_FORMAT_HTML = 2, + DESCRIPTION_FORMAT_RST = 3 + } - /** ExecutionRelaunchRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Properties of a Description. */ + interface IDescription { - /** ExecutionRelaunchRequest name */ - name?: (string|null); + /** Description value */ + value?: (string|null); - /** ExecutionRelaunchRequest overwriteCache */ - overwriteCache?: (boolean|null); + /** Description uri */ + uri?: (string|null); + + /** Description format */ + format?: (flyteidl.admin.DescriptionFormat|null); + + /** Description iconLink */ + iconLink?: (string|null); } - /** Represents an ExecutionRelaunchRequest. */ - class ExecutionRelaunchRequest implements IExecutionRelaunchRequest { + /** Represents a Description. */ + class Description implements IDescription { /** - * Constructs a new ExecutionRelaunchRequest. + * Constructs a new Description. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionRelaunchRequest); + constructor(properties?: flyteidl.admin.IDescription); - /** ExecutionRelaunchRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Description value. */ + public value: string; - /** ExecutionRelaunchRequest name. */ - public name: string; + /** Description uri. */ + public uri: string; - /** ExecutionRelaunchRequest overwriteCache. */ - public overwriteCache: boolean; + /** Description format. */ + public format: flyteidl.admin.DescriptionFormat; + + /** Description iconLink. */ + public iconLink: string; + + /** Description content. */ + public content?: ("value"|"uri"); /** - * Creates a new ExecutionRelaunchRequest instance using the specified properties. + * Creates a new Description instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionRelaunchRequest instance + * @returns Description instance */ - public static create(properties?: flyteidl.admin.IExecutionRelaunchRequest): flyteidl.admin.ExecutionRelaunchRequest; + public static create(properties?: flyteidl.admin.IDescription): flyteidl.admin.Description; /** - * 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 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.IExecutionRelaunchRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescription, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionRelaunchRequest 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 ExecutionRelaunchRequest + * @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.ExecutionRelaunchRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Description; /** - * Verifies an ExecutionRelaunchRequest 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 an ExecutionRecoverRequest. */ - interface IExecutionRecoverRequest { - - /** ExecutionRecoverRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** ExecutionRecoverRequest name */ - name?: (string|null); + /** Properties of a SourceCode. */ + interface ISourceCode { - /** ExecutionRecoverRequest metadata */ - metadata?: (flyteidl.admin.IExecutionMetadata|null); + /** SourceCode link */ + link?: (string|null); } - /** Represents an ExecutionRecoverRequest. */ - class ExecutionRecoverRequest implements IExecutionRecoverRequest { + /** Represents a SourceCode. */ + class SourceCode implements ISourceCode { /** - * Constructs a new ExecutionRecoverRequest. + * Constructs a new SourceCode. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionRecoverRequest); - - /** ExecutionRecoverRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** ExecutionRecoverRequest name. */ - public name: string; + constructor(properties?: flyteidl.admin.ISourceCode); - /** ExecutionRecoverRequest metadata. */ - public metadata?: (flyteidl.admin.IExecutionMetadata|null); + /** SourceCode link. */ + public link: string; /** - * Creates a new ExecutionRecoverRequest instance using the specified properties. + * Creates a new SourceCode instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionRecoverRequest instance + * @returns SourceCode instance */ - public static create(properties?: flyteidl.admin.IExecutionRecoverRequest): flyteidl.admin.ExecutionRecoverRequest; + public static create(properties?: flyteidl.admin.ISourceCode): flyteidl.admin.SourceCode; /** - * 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 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.IExecutionRecoverRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISourceCode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionRecoverRequest 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 ExecutionRecoverRequest + * @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.ExecutionRecoverRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SourceCode; /** - * Verifies an ExecutionRecoverRequest 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 an ExecutionCreateResponse. */ - interface IExecutionCreateResponse { + /** Properties of a DescriptionEntityList. */ + interface IDescriptionEntityList { - /** ExecutionCreateResponse id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** DescriptionEntityList descriptionEntities */ + descriptionEntities?: (flyteidl.admin.IDescriptionEntity[]|null); + + /** DescriptionEntityList token */ + token?: (string|null); } - /** Represents an ExecutionCreateResponse. */ - class ExecutionCreateResponse implements IExecutionCreateResponse { + /** Represents a DescriptionEntityList. */ + class DescriptionEntityList implements IDescriptionEntityList { /** - * Constructs a new ExecutionCreateResponse. + * Constructs a new DescriptionEntityList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionCreateResponse); + constructor(properties?: flyteidl.admin.IDescriptionEntityList); - /** ExecutionCreateResponse id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** DescriptionEntityList descriptionEntities. */ + public descriptionEntities: flyteidl.admin.IDescriptionEntity[]; + + /** DescriptionEntityList token. */ + public token: string; /** - * Creates a new ExecutionCreateResponse instance using the specified properties. + * Creates a new DescriptionEntityList instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionCreateResponse instance + * @returns DescriptionEntityList instance */ - public static create(properties?: flyteidl.admin.IExecutionCreateResponse): flyteidl.admin.ExecutionCreateResponse; + public static create(properties?: flyteidl.admin.IDescriptionEntityList): flyteidl.admin.DescriptionEntityList; /** - * 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 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.IExecutionCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescriptionEntityList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionCreateResponse 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 ExecutionCreateResponse + * @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.ExecutionCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityList; /** - * Verifies an ExecutionCreateResponse 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 WorkflowExecutionGetRequest. */ - interface IWorkflowExecutionGetRequest { + /** Properties of a DescriptionEntityListRequest. */ + interface IDescriptionEntityListRequest { - /** WorkflowExecutionGetRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** 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 WorkflowExecutionGetRequest. */ - class WorkflowExecutionGetRequest implements IWorkflowExecutionGetRequest { + /** Represents a DescriptionEntityListRequest. */ + class DescriptionEntityListRequest implements IDescriptionEntityListRequest { /** - * Constructs a new WorkflowExecutionGetRequest. + * Constructs a new DescriptionEntityListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetRequest); + constructor(properties?: flyteidl.admin.IDescriptionEntityListRequest); - /** WorkflowExecutionGetRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** 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 WorkflowExecutionGetRequest instance using the specified properties. + * Creates a new DescriptionEntityListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetRequest instance + * @returns DescriptionEntityListRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetRequest): flyteidl.admin.WorkflowExecutionGetRequest; + public static create(properties?: flyteidl.admin.IDescriptionEntityListRequest): flyteidl.admin.DescriptionEntityListRequest; /** - * 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 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.IWorkflowExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescriptionEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetRequest 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 WorkflowExecutionGetRequest + * @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.WorkflowExecutionGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityListRequest; /** - * Verifies a WorkflowExecutionGetRequest 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 Execution. */ - interface IExecution { - - /** Execution id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** Execution spec */ - spec?: (flyteidl.admin.IExecutionSpec|null); + /** Properties of an EventErrorAlreadyInTerminalState. */ + interface IEventErrorAlreadyInTerminalState { - /** Execution closure */ - closure?: (flyteidl.admin.IExecutionClosure|null); + /** EventErrorAlreadyInTerminalState currentPhase */ + currentPhase?: (string|null); } - /** Represents an Execution. */ - class Execution implements IExecution { + /** Represents an EventErrorAlreadyInTerminalState. */ + class EventErrorAlreadyInTerminalState implements IEventErrorAlreadyInTerminalState { /** - * Constructs a new Execution. + * Constructs a new EventErrorAlreadyInTerminalState. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecution); - - /** Execution id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** Execution spec. */ - public spec?: (flyteidl.admin.IExecutionSpec|null); + constructor(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState); - /** Execution closure. */ - public closure?: (flyteidl.admin.IExecutionClosure|null); + /** EventErrorAlreadyInTerminalState currentPhase. */ + public currentPhase: string; /** - * Creates a new Execution instance using the specified properties. + * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. * @param [properties] Properties to set - * @returns Execution instance + * @returns EventErrorAlreadyInTerminalState instance */ - public static create(properties?: flyteidl.admin.IExecution): flyteidl.admin.Execution; + public static create(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState): flyteidl.admin.EventErrorAlreadyInTerminalState; /** - * 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 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.IExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEventErrorAlreadyInTerminalState, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Execution 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 Execution + * @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.Execution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorAlreadyInTerminalState; /** - * Verifies an Execution 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 an ExecutionList. */ - interface IExecutionList { - - /** ExecutionList executions */ - executions?: (flyteidl.admin.IExecution[]|null); + /** Properties of an EventErrorIncompatibleCluster. */ + interface IEventErrorIncompatibleCluster { - /** ExecutionList token */ - token?: (string|null); + /** EventErrorIncompatibleCluster cluster */ + cluster?: (string|null); } - /** Represents an ExecutionList. */ - class ExecutionList implements IExecutionList { + /** Represents an EventErrorIncompatibleCluster. */ + class EventErrorIncompatibleCluster implements IEventErrorIncompatibleCluster { /** - * Constructs a new ExecutionList. + * Constructs a new EventErrorIncompatibleCluster. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionList); - - /** ExecutionList executions. */ - public executions: flyteidl.admin.IExecution[]; + constructor(properties?: flyteidl.admin.IEventErrorIncompatibleCluster); - /** ExecutionList token. */ - public token: string; + /** EventErrorIncompatibleCluster cluster. */ + public cluster: string; /** - * Creates a new ExecutionList instance using the specified properties. + * Creates a new EventErrorIncompatibleCluster instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionList instance + * @returns EventErrorIncompatibleCluster instance */ - public static create(properties?: flyteidl.admin.IExecutionList): flyteidl.admin.ExecutionList; + public static create(properties?: flyteidl.admin.IEventErrorIncompatibleCluster): flyteidl.admin.EventErrorIncompatibleCluster; /** - * 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 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.IExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEventErrorIncompatibleCluster, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionList 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 ExecutionList + * @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.ExecutionList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorIncompatibleCluster; /** - * Verifies an ExecutionList 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 a LiteralMapBlob. */ - interface ILiteralMapBlob { + /** Properties of an EventFailureReason. */ + interface IEventFailureReason { - /** LiteralMapBlob values */ - values?: (flyteidl.core.ILiteralMap|null); + /** EventFailureReason alreadyInTerminalState */ + alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); - /** LiteralMapBlob uri */ - uri?: (string|null); + /** EventFailureReason incompatibleCluster */ + incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); } - /** Represents a LiteralMapBlob. */ - class LiteralMapBlob implements ILiteralMapBlob { + /** Represents an EventFailureReason. */ + class EventFailureReason implements IEventFailureReason { /** - * Constructs a new LiteralMapBlob. + * Constructs a new EventFailureReason. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILiteralMapBlob); + constructor(properties?: flyteidl.admin.IEventFailureReason); - /** LiteralMapBlob values. */ - public values?: (flyteidl.core.ILiteralMap|null); + /** EventFailureReason alreadyInTerminalState. */ + public alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); - /** LiteralMapBlob uri. */ - public uri: string; + /** EventFailureReason incompatibleCluster. */ + public incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); - /** LiteralMapBlob data. */ - public data?: ("values"|"uri"); + /** EventFailureReason reason. */ + public reason?: ("alreadyInTerminalState"|"incompatibleCluster"); /** - * Creates a new LiteralMapBlob instance using the specified properties. + * Creates a new EventFailureReason instance using the specified properties. * @param [properties] Properties to set - * @returns LiteralMapBlob instance + * @returns EventFailureReason instance */ - public static create(properties?: flyteidl.admin.ILiteralMapBlob): flyteidl.admin.LiteralMapBlob; + public static create(properties?: flyteidl.admin.IEventFailureReason): flyteidl.admin.EventFailureReason; /** - * 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 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.ILiteralMapBlob, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEventFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LiteralMapBlob 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 LiteralMapBlob + * @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.LiteralMapBlob; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventFailureReason; /** - * Verifies a LiteralMapBlob 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 an AbortMetadata. */ - interface IAbortMetadata { + /** Properties of a WorkflowExecutionEventRequest. */ + interface IWorkflowExecutionEventRequest { - /** AbortMetadata cause */ - cause?: (string|null); + /** WorkflowExecutionEventRequest requestId */ + requestId?: (string|null); - /** AbortMetadata principal */ - principal?: (string|null); + /** WorkflowExecutionEventRequest event */ + event?: (flyteidl.event.IWorkflowExecutionEvent|null); } - /** Represents an AbortMetadata. */ - class AbortMetadata implements IAbortMetadata { + /** Represents a WorkflowExecutionEventRequest. */ + class WorkflowExecutionEventRequest implements IWorkflowExecutionEventRequest { /** - * Constructs a new AbortMetadata. + * Constructs a new WorkflowExecutionEventRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAbortMetadata); + constructor(properties?: flyteidl.admin.IWorkflowExecutionEventRequest); - /** AbortMetadata cause. */ - public cause: string; + /** WorkflowExecutionEventRequest requestId. */ + public requestId: string; - /** AbortMetadata principal. */ - public principal: string; + /** WorkflowExecutionEventRequest event. */ + public event?: (flyteidl.event.IWorkflowExecutionEvent|null); /** - * Creates a new AbortMetadata instance using the specified properties. + * Creates a new WorkflowExecutionEventRequest instance using the specified properties. * @param [properties] Properties to set - * @returns AbortMetadata instance + * @returns WorkflowExecutionEventRequest instance */ - public static create(properties?: flyteidl.admin.IAbortMetadata): flyteidl.admin.AbortMetadata; + public static create(properties?: flyteidl.admin.IWorkflowExecutionEventRequest): flyteidl.admin.WorkflowExecutionEventRequest; /** - * 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 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.IAbortMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an AbortMetadata 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 AbortMetadata + * @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.AbortMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionEventRequest; /** - * Verifies an AbortMetadata 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 an ExecutionClosure. */ - interface IExecutionClosure { - - /** ExecutionClosure outputs */ - outputs?: (flyteidl.admin.ILiteralMapBlob|null); - - /** ExecutionClosure error */ - error?: (flyteidl.core.IExecutionError|null); - - /** ExecutionClosure abortCause */ - abortCause?: (string|null); - - /** ExecutionClosure abortMetadata */ - abortMetadata?: (flyteidl.admin.IAbortMetadata|null); - - /** ExecutionClosure outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); - - /** ExecutionClosure computedInputs */ - computedInputs?: (flyteidl.core.ILiteralMap|null); - - /** ExecutionClosure phase */ - phase?: (flyteidl.core.WorkflowExecution.Phase|null); - - /** ExecutionClosure startedAt */ - startedAt?: (google.protobuf.ITimestamp|null); - - /** ExecutionClosure duration */ - duration?: (google.protobuf.IDuration|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); + /** Properties of a WorkflowExecutionEventResponse. */ + interface IWorkflowExecutionEventResponse { } - /** Represents an ExecutionClosure. */ - class ExecutionClosure implements IExecutionClosure { + /** Represents a WorkflowExecutionEventResponse. */ + class WorkflowExecutionEventResponse implements IWorkflowExecutionEventResponse { /** - * Constructs a new ExecutionClosure. + * Constructs a new WorkflowExecutionEventResponse. * @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); - - /** ExecutionClosure updatedAt. */ - public updatedAt?: (google.protobuf.ITimestamp|null); - - /** ExecutionClosure notifications. */ - public notifications: flyteidl.admin.INotification[]; - - /** 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"); + constructor(properties?: flyteidl.admin.IWorkflowExecutionEventResponse); /** - * Creates a new ExecutionClosure instance using the specified properties. + * Creates a new WorkflowExecutionEventResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionClosure instance + * @returns WorkflowExecutionEventResponse instance */ - public static create(properties?: flyteidl.admin.IExecutionClosure): flyteidl.admin.ExecutionClosure; + public static create(properties?: flyteidl.admin.IWorkflowExecutionEventResponse): flyteidl.admin.WorkflowExecutionEventResponse; /** - * 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 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.IExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionClosure 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 ExecutionClosure + * @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.ExecutionClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionEventResponse; /** - * Verifies an ExecutionClosure 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 SystemMetadata. */ - interface ISystemMetadata { + /** Properties of a NodeExecutionEventRequest. */ + interface INodeExecutionEventRequest { - /** SystemMetadata executionCluster */ - executionCluster?: (string|null); + /** NodeExecutionEventRequest requestId */ + requestId?: (string|null); - /** SystemMetadata namespace */ - namespace?: (string|null); + /** NodeExecutionEventRequest event */ + event?: (flyteidl.event.INodeExecutionEvent|null); } - /** Represents a SystemMetadata. */ - class SystemMetadata implements ISystemMetadata { + /** Represents a NodeExecutionEventRequest. */ + class NodeExecutionEventRequest implements INodeExecutionEventRequest { /** - * Constructs a new SystemMetadata. + * Constructs a new NodeExecutionEventRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISystemMetadata); + constructor(properties?: flyteidl.admin.INodeExecutionEventRequest); - /** SystemMetadata executionCluster. */ - public executionCluster: string; + /** NodeExecutionEventRequest requestId. */ + public requestId: string; - /** SystemMetadata namespace. */ - public namespace: string; + /** NodeExecutionEventRequest event. */ + public event?: (flyteidl.event.INodeExecutionEvent|null); /** - * Creates a new SystemMetadata instance using the specified properties. + * Creates a new NodeExecutionEventRequest instance using the specified properties. * @param [properties] Properties to set - * @returns SystemMetadata instance + * @returns NodeExecutionEventRequest instance */ - public static create(properties?: flyteidl.admin.ISystemMetadata): flyteidl.admin.SystemMetadata; + public static create(properties?: flyteidl.admin.INodeExecutionEventRequest): flyteidl.admin.NodeExecutionEventRequest; /** - * 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 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.ISystemMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SystemMetadata 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 SystemMetadata + * @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.SystemMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionEventRequest; /** - * Verifies a SystemMetadata 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 ExecutionMetadata. */ - interface IExecutionMetadata { + /** Properties of a NodeExecutionEventResponse. */ + interface INodeExecutionEventResponse { + } - /** ExecutionMetadata mode */ - mode?: (flyteidl.admin.ExecutionMetadata.ExecutionMode|null); + /** Represents a NodeExecutionEventResponse. */ + class NodeExecutionEventResponse implements INodeExecutionEventResponse { - /** ExecutionMetadata principal */ - principal?: (string|null); - - /** ExecutionMetadata nesting */ - nesting?: (number|null); - - /** ExecutionMetadata scheduledAt */ - scheduledAt?: (google.protobuf.ITimestamp|null); - - /** ExecutionMetadata parentNodeExecution */ - parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); + /** + * Constructs a new NodeExecutionEventResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionEventResponse); - /** ExecutionMetadata referenceExecution */ - referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** + * Creates a new NodeExecutionEventResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionEventResponse instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionEventResponse): flyteidl.admin.NodeExecutionEventResponse; - /** ExecutionMetadata systemMetadata */ - systemMetadata?: (flyteidl.admin.ISystemMetadata|null); - } + /** + * 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.INodeExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; - /** Represents an ExecutionMetadata. */ - class ExecutionMetadata implements IExecutionMetadata { + /** + * 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 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.NodeExecutionEventResponse; /** - * Constructs a new ExecutionMetadata. - * @param [properties] Properties to set + * Verifies a NodeExecutionEventResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - constructor(properties?: flyteidl.admin.IExecutionMetadata); + public static verify(message: { [k: string]: any }): (string|null); + } - /** ExecutionMetadata mode. */ - public mode: flyteidl.admin.ExecutionMetadata.ExecutionMode; + /** Properties of a TaskExecutionEventRequest. */ + interface ITaskExecutionEventRequest { - /** ExecutionMetadata principal. */ - public principal: string; + /** TaskExecutionEventRequest requestId */ + requestId?: (string|null); - /** ExecutionMetadata nesting. */ - public nesting: number; + /** TaskExecutionEventRequest event */ + event?: (flyteidl.event.ITaskExecutionEvent|null); + } - /** ExecutionMetadata scheduledAt. */ - public scheduledAt?: (google.protobuf.ITimestamp|null); + /** Represents a TaskExecutionEventRequest. */ + class TaskExecutionEventRequest implements ITaskExecutionEventRequest { - /** ExecutionMetadata parentNodeExecution. */ - public parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); + /** + * Constructs a new TaskExecutionEventRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionEventRequest); - /** ExecutionMetadata referenceExecution. */ - public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** TaskExecutionEventRequest requestId. */ + public requestId: string; - /** ExecutionMetadata systemMetadata. */ - public systemMetadata?: (flyteidl.admin.ISystemMetadata|null); + /** TaskExecutionEventRequest event. */ + public event?: (flyteidl.event.ITaskExecutionEvent|null); /** - * Creates a new ExecutionMetadata instance using the specified properties. + * Creates a new TaskExecutionEventRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionMetadata instance + * @returns TaskExecutionEventRequest instance */ - public static create(properties?: flyteidl.admin.IExecutionMetadata): flyteidl.admin.ExecutionMetadata; + public static create(properties?: flyteidl.admin.ITaskExecutionEventRequest): flyteidl.admin.TaskExecutionEventRequest; /** - * 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 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.IExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionMetadata 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 ExecutionMetadata + * @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.ExecutionMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionEventRequest; /** - * Verifies an ExecutionMetadata 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); } - namespace ExecutionMetadata { - - /** ExecutionMode enum. */ - enum ExecutionMode { - MANUAL = 0, - SCHEDULED = 1, - SYSTEM = 2, - RELAUNCH = 3, - CHILD_WORKFLOW = 4, - RECOVERED = 5 - } - } - - /** Properties of a NotificationList. */ - interface INotificationList { - - /** NotificationList notifications */ - notifications?: (flyteidl.admin.INotification[]|null); + /** Properties of a TaskExecutionEventResponse. */ + interface ITaskExecutionEventResponse { } - /** Represents a NotificationList. */ - class NotificationList implements INotificationList { + /** Represents a TaskExecutionEventResponse. */ + class TaskExecutionEventResponse implements ITaskExecutionEventResponse { /** - * Constructs a new NotificationList. + * Constructs a new TaskExecutionEventResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INotificationList); - - /** NotificationList notifications. */ - public notifications: flyteidl.admin.INotification[]; + constructor(properties?: flyteidl.admin.ITaskExecutionEventResponse); /** - * Creates a new NotificationList instance using the specified properties. + * Creates a new TaskExecutionEventResponse instance using the specified properties. * @param [properties] Properties to set - * @returns NotificationList instance + * @returns TaskExecutionEventResponse instance */ - public static create(properties?: flyteidl.admin.INotificationList): flyteidl.admin.NotificationList; + public static create(properties?: flyteidl.admin.ITaskExecutionEventResponse): flyteidl.admin.TaskExecutionEventResponse; /** - * 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 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.INotificationList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NotificationList 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 NotificationList + * @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.NotificationList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionEventResponse; /** - * Verifies a NotificationList 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 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); + /** 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); + /** Represents an ExecutionCreateRequest. */ + class ExecutionCreateRequest implements IExecutionCreateRequest { - /** ExecutionSpec clusterAssignment */ - clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + /** + * Constructs a new ExecutionCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionCreateRequest); - /** ExecutionSpec interruptible */ - interruptible?: (google.protobuf.IBoolValue|null); + /** ExecutionCreateRequest project. */ + public project: string; - /** ExecutionSpec overwriteCache */ - overwriteCache?: (boolean|null); + /** ExecutionCreateRequest domain. */ + public domain: string; - /** ExecutionSpec envs */ - envs?: (flyteidl.admin.IEnvs|null); + /** ExecutionCreateRequest name. */ + public name: string; - /** ExecutionSpec tags */ - tags?: (string[]|null); - } + /** ExecutionCreateRequest spec. */ + public spec?: (flyteidl.admin.IExecutionSpec|null); - /** Represents an ExecutionSpec. */ - class ExecutionSpec implements IExecutionSpec { + /** ExecutionCreateRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); /** - * Constructs a new ExecutionSpec. + * Creates a new ExecutionCreateRequest instance using the specified properties. * @param [properties] Properties to set + * @returns ExecutionCreateRequest instance */ - constructor(properties?: flyteidl.admin.IExecutionSpec); + public static create(properties?: flyteidl.admin.IExecutionCreateRequest): flyteidl.admin.ExecutionCreateRequest; - /** ExecutionSpec launchPlan. */ - public launchPlan?: (flyteidl.core.IIdentifier|null); + /** + * 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.IExecutionCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; - /** ExecutionSpec inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); + /** + * 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 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.ExecutionCreateRequest; - /** ExecutionSpec metadata. */ - public metadata?: (flyteidl.admin.IExecutionMetadata|null); - - /** ExecutionSpec notifications. */ - public notifications?: (flyteidl.admin.INotificationList|null); - - /** ExecutionSpec disableAll. */ - public disableAll: boolean; - - /** ExecutionSpec labels. */ - public labels?: (flyteidl.admin.ILabels|null); + /** + * 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); + } - /** ExecutionSpec annotations. */ - public annotations?: (flyteidl.admin.IAnnotations|null); + /** Properties of an ExecutionRelaunchRequest. */ + interface IExecutionRelaunchRequest { - /** ExecutionSpec securityContext. */ - public securityContext?: (flyteidl.core.ISecurityContext|null); + /** ExecutionRelaunchRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ExecutionSpec authRole. */ - public authRole?: (flyteidl.admin.IAuthRole|null); + /** ExecutionRelaunchRequest name */ + name?: (string|null); - /** ExecutionSpec qualityOfService. */ - public qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** ExecutionRelaunchRequest overwriteCache */ + overwriteCache?: (boolean|null); + } - /** ExecutionSpec maxParallelism. */ - public maxParallelism: number; + /** Represents an ExecutionRelaunchRequest. */ + class ExecutionRelaunchRequest implements IExecutionRelaunchRequest { - /** ExecutionSpec rawOutputDataConfig. */ - public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + /** + * Constructs a new ExecutionRelaunchRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionRelaunchRequest); - /** ExecutionSpec clusterAssignment. */ - public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + /** ExecutionRelaunchRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ExecutionSpec interruptible. */ - public interruptible?: (google.protobuf.IBoolValue|null); + /** ExecutionRelaunchRequest name. */ + public name: string; - /** ExecutionSpec overwriteCache. */ + /** ExecutionRelaunchRequest overwriteCache. */ public overwriteCache: boolean; - /** ExecutionSpec envs. */ - public envs?: (flyteidl.admin.IEnvs|null); - - /** ExecutionSpec tags. */ - public tags: string[]; - - /** ExecutionSpec notificationOverrides. */ - public notificationOverrides?: ("notifications"|"disableAll"); - /** - * Creates a new ExecutionSpec instance using the specified properties. + * Creates a new ExecutionRelaunchRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionSpec instance + * @returns ExecutionRelaunchRequest instance */ - public static create(properties?: flyteidl.admin.IExecutionSpec): flyteidl.admin.ExecutionSpec; + public static create(properties?: flyteidl.admin.IExecutionRelaunchRequest): flyteidl.admin.ExecutionRelaunchRequest; /** - * 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 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.IExecutionSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionRelaunchRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionSpec 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 ExecutionSpec + * @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.ExecutionSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionRelaunchRequest; /** - * Verifies an ExecutionSpec 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 an ExecutionTerminateRequest. */ - interface IExecutionTerminateRequest { + /** Properties of an ExecutionRecoverRequest. */ + interface IExecutionRecoverRequest { - /** ExecutionTerminateRequest id */ + /** ExecutionRecoverRequest id */ id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ExecutionTerminateRequest cause */ - cause?: (string|null); + /** ExecutionRecoverRequest name */ + name?: (string|null); + + /** ExecutionRecoverRequest metadata */ + metadata?: (flyteidl.admin.IExecutionMetadata|null); } - /** Represents an ExecutionTerminateRequest. */ - class ExecutionTerminateRequest implements IExecutionTerminateRequest { + /** Represents an ExecutionRecoverRequest. */ + class ExecutionRecoverRequest implements IExecutionRecoverRequest { /** - * Constructs a new ExecutionTerminateRequest. + * Constructs a new ExecutionRecoverRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionTerminateRequest); + constructor(properties?: flyteidl.admin.IExecutionRecoverRequest); - /** ExecutionTerminateRequest id. */ + /** ExecutionRecoverRequest id. */ public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ExecutionTerminateRequest cause. */ - public cause: string; + /** ExecutionRecoverRequest name. */ + public name: string; + + /** ExecutionRecoverRequest metadata. */ + public metadata?: (flyteidl.admin.IExecutionMetadata|null); /** - * Creates a new ExecutionTerminateRequest instance using the specified properties. + * Creates a new ExecutionRecoverRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionTerminateRequest instance + * @returns ExecutionRecoverRequest instance */ - public static create(properties?: flyteidl.admin.IExecutionTerminateRequest): flyteidl.admin.ExecutionTerminateRequest; + public static create(properties?: flyteidl.admin.IExecutionRecoverRequest): flyteidl.admin.ExecutionRecoverRequest; /** - * 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 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.IExecutionTerminateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionRecoverRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionTerminateRequest 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 ExecutionTerminateRequest + * @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.ExecutionTerminateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionRecoverRequest; /** - * Verifies an ExecutionTerminateRequest 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 an ExecutionTerminateResponse. */ - interface IExecutionTerminateResponse { + /** Properties of an ExecutionCreateResponse. */ + interface IExecutionCreateResponse { + + /** ExecutionCreateResponse id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents an ExecutionTerminateResponse. */ - class ExecutionTerminateResponse implements IExecutionTerminateResponse { + /** Represents an ExecutionCreateResponse. */ + class ExecutionCreateResponse implements IExecutionCreateResponse { /** - * Constructs a new ExecutionTerminateResponse. + * Constructs a new ExecutionCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionTerminateResponse); + constructor(properties?: flyteidl.admin.IExecutionCreateResponse); + + /** ExecutionCreateResponse id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new ExecutionTerminateResponse instance using the specified properties. + * Creates a new ExecutionCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionTerminateResponse instance + * @returns ExecutionCreateResponse instance */ - public static create(properties?: flyteidl.admin.IExecutionTerminateResponse): flyteidl.admin.ExecutionTerminateResponse; + public static create(properties?: flyteidl.admin.IExecutionCreateResponse): flyteidl.admin.ExecutionCreateResponse; /** - * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. - * @param message ExecutionTerminateResponse 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.IExecutionTerminateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionTerminateResponse 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 ExecutionTerminateResponse + * @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.ExecutionTerminateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionCreateResponse; /** - * Verifies an ExecutionTerminateResponse 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 WorkflowExecutionGetDataRequest. */ - interface IWorkflowExecutionGetDataRequest { + /** Properties of a WorkflowExecutionGetRequest. */ + interface IWorkflowExecutionGetRequest { - /** WorkflowExecutionGetDataRequest id */ + /** WorkflowExecutionGetRequest id */ id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a WorkflowExecutionGetDataRequest. */ - class WorkflowExecutionGetDataRequest implements IWorkflowExecutionGetDataRequest { + /** Represents a WorkflowExecutionGetRequest. */ + class WorkflowExecutionGetRequest implements IWorkflowExecutionGetRequest { /** - * Constructs a new WorkflowExecutionGetDataRequest. + * Constructs a new WorkflowExecutionGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest); + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetRequest); - /** WorkflowExecutionGetDataRequest id. */ + /** WorkflowExecutionGetRequest id. */ public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. + * Creates a new WorkflowExecutionGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetDataRequest instance + * @returns WorkflowExecutionGetRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest): flyteidl.admin.WorkflowExecutionGetDataRequest; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetRequest): flyteidl.admin.WorkflowExecutionGetRequest; /** - * 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 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.IWorkflowExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetDataRequest 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 WorkflowExecutionGetDataRequest + * @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.WorkflowExecutionGetDataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetRequest; /** - * Verifies a WorkflowExecutionGetDataRequest 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); } - /** Properties of a WorkflowExecutionGetDataResponse. */ - interface IWorkflowExecutionGetDataResponse { - - /** WorkflowExecutionGetDataResponse outputs */ - outputs?: (flyteidl.admin.IUrlBlob|null); + /** Properties of an Execution. */ + interface IExecution { - /** WorkflowExecutionGetDataResponse inputs */ - inputs?: (flyteidl.admin.IUrlBlob|null); + /** Execution id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** WorkflowExecutionGetDataResponse fullInputs */ - fullInputs?: (flyteidl.core.ILiteralMap|null); + /** Execution spec */ + spec?: (flyteidl.admin.IExecutionSpec|null); - /** WorkflowExecutionGetDataResponse fullOutputs */ - fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** Execution closure */ + closure?: (flyteidl.admin.IExecutionClosure|null); } - /** Represents a WorkflowExecutionGetDataResponse. */ - class WorkflowExecutionGetDataResponse implements IWorkflowExecutionGetDataResponse { + /** Represents an Execution. */ + class Execution implements IExecution { /** - * Constructs a new WorkflowExecutionGetDataResponse. + * Constructs a new Execution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse); - - /** WorkflowExecutionGetDataResponse outputs. */ - public outputs?: (flyteidl.admin.IUrlBlob|null); + constructor(properties?: flyteidl.admin.IExecution); - /** WorkflowExecutionGetDataResponse inputs. */ - public inputs?: (flyteidl.admin.IUrlBlob|null); + /** Execution id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** WorkflowExecutionGetDataResponse fullInputs. */ - public fullInputs?: (flyteidl.core.ILiteralMap|null); + /** Execution spec. */ + public spec?: (flyteidl.admin.IExecutionSpec|null); - /** WorkflowExecutionGetDataResponse fullOutputs. */ - public fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** Execution closure. */ + public closure?: (flyteidl.admin.IExecutionClosure|null); /** - * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. + * Creates a new Execution instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetDataResponse instance + * @returns Execution instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse): flyteidl.admin.WorkflowExecutionGetDataResponse; + public static create(properties?: flyteidl.admin.IExecution): flyteidl.admin.Execution; /** - * 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 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.IWorkflowExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetDataResponse 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 WorkflowExecutionGetDataResponse + * @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.WorkflowExecutionGetDataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Execution; /** - * Verifies a WorkflowExecutionGetDataResponse 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); } - /** ExecutionState enum. */ - enum ExecutionState { - EXECUTION_ACTIVE = 0, - EXECUTION_ARCHIVED = 1 - } - - /** Properties of an ExecutionUpdateRequest. */ - interface IExecutionUpdateRequest { + /** Properties of an ExecutionList. */ + interface IExecutionList { - /** ExecutionUpdateRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ExecutionList executions */ + executions?: (flyteidl.admin.IExecution[]|null); - /** ExecutionUpdateRequest state */ - state?: (flyteidl.admin.ExecutionState|null); + /** ExecutionList token */ + token?: (string|null); } - /** Represents an ExecutionUpdateRequest. */ - class ExecutionUpdateRequest implements IExecutionUpdateRequest { + /** Represents an ExecutionList. */ + class ExecutionList implements IExecutionList { /** - * Constructs a new ExecutionUpdateRequest. + * Constructs a new ExecutionList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionUpdateRequest); + constructor(properties?: flyteidl.admin.IExecutionList); - /** ExecutionUpdateRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ExecutionList executions. */ + public executions: flyteidl.admin.IExecution[]; - /** ExecutionUpdateRequest state. */ - public state: flyteidl.admin.ExecutionState; + /** ExecutionList token. */ + public token: string; /** - * Creates a new ExecutionUpdateRequest instance using the specified properties. + * Creates a new ExecutionList instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionUpdateRequest instance + * @returns ExecutionList instance */ - public static create(properties?: flyteidl.admin.IExecutionUpdateRequest): flyteidl.admin.ExecutionUpdateRequest; + public static create(properties?: flyteidl.admin.IExecutionList): flyteidl.admin.ExecutionList; /** - * 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 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.IExecutionUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionUpdateRequest 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 ExecutionUpdateRequest + * @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.ExecutionUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionList; /** - * Verifies an ExecutionUpdateRequest 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 an ExecutionStateChangeDetails. */ - interface IExecutionStateChangeDetails { - - /** ExecutionStateChangeDetails state */ - state?: (flyteidl.admin.ExecutionState|null); + /** Properties of a LiteralMapBlob. */ + interface ILiteralMapBlob { - /** ExecutionStateChangeDetails occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** LiteralMapBlob values */ + values?: (flyteidl.core.ILiteralMap|null); - /** ExecutionStateChangeDetails principal */ - principal?: (string|null); + /** LiteralMapBlob uri */ + uri?: (string|null); } - /** Represents an ExecutionStateChangeDetails. */ - class ExecutionStateChangeDetails implements IExecutionStateChangeDetails { + /** Represents a LiteralMapBlob. */ + class LiteralMapBlob implements ILiteralMapBlob { /** - * Constructs a new ExecutionStateChangeDetails. + * Constructs a new LiteralMapBlob. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionStateChangeDetails); + constructor(properties?: flyteidl.admin.ILiteralMapBlob); - /** ExecutionStateChangeDetails state. */ - public state: flyteidl.admin.ExecutionState; + /** LiteralMapBlob values. */ + public values?: (flyteidl.core.ILiteralMap|null); - /** ExecutionStateChangeDetails occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + /** LiteralMapBlob uri. */ + public uri: string; - /** ExecutionStateChangeDetails principal. */ - public principal: string; + /** LiteralMapBlob data. */ + public data?: ("values"|"uri"); /** - * Creates a new ExecutionStateChangeDetails instance using the specified properties. + * Creates a new LiteralMapBlob instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionStateChangeDetails instance + * @returns LiteralMapBlob instance */ - public static create(properties?: flyteidl.admin.IExecutionStateChangeDetails): flyteidl.admin.ExecutionStateChangeDetails; + public static create(properties?: flyteidl.admin.ILiteralMapBlob): flyteidl.admin.LiteralMapBlob; /** - * 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 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.IExecutionStateChangeDetails, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILiteralMapBlob, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionStateChangeDetails 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 ExecutionStateChangeDetails + * @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.ExecutionStateChangeDetails; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LiteralMapBlob; /** - * Verifies an ExecutionStateChangeDetails 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 an ExecutionUpdateResponse. */ - interface IExecutionUpdateResponse { + /** Properties of an AbortMetadata. */ + interface IAbortMetadata { + + /** AbortMetadata cause */ + cause?: (string|null); + + /** AbortMetadata principal */ + principal?: (string|null); } - /** Represents an ExecutionUpdateResponse. */ - class ExecutionUpdateResponse implements IExecutionUpdateResponse { + /** Represents an AbortMetadata. */ + class AbortMetadata implements IAbortMetadata { /** - * Constructs a new ExecutionUpdateResponse. + * Constructs a new AbortMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionUpdateResponse); + constructor(properties?: flyteidl.admin.IAbortMetadata); + + /** AbortMetadata cause. */ + public cause: string; + + /** AbortMetadata principal. */ + public principal: string; /** - * Creates a new ExecutionUpdateResponse instance using the specified properties. + * Creates a new AbortMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionUpdateResponse instance + * @returns AbortMetadata instance */ - public static create(properties?: flyteidl.admin.IExecutionUpdateResponse): flyteidl.admin.ExecutionUpdateResponse; + public static create(properties?: flyteidl.admin.IAbortMetadata): flyteidl.admin.AbortMetadata; /** - * 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 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.IExecutionUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAbortMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionUpdateResponse 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 ExecutionUpdateResponse + * @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.ExecutionUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AbortMetadata; /** - * Verifies an ExecutionUpdateResponse 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 a WorkflowExecutionGetMetricsRequest. */ - interface IWorkflowExecutionGetMetricsRequest { + /** Properties of an ExecutionClosure. */ + interface IExecutionClosure { - /** WorkflowExecutionGetMetricsRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ExecutionClosure outputs */ + outputs?: (flyteidl.admin.ILiteralMapBlob|null); - /** WorkflowExecutionGetMetricsRequest depth */ - depth?: (number|null); - } + /** ExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); - /** Represents a WorkflowExecutionGetMetricsRequest. */ - class WorkflowExecutionGetMetricsRequest implements IWorkflowExecutionGetMetricsRequest { + /** ExecutionClosure abortCause */ + abortCause?: (string|null); - /** - * Constructs a new WorkflowExecutionGetMetricsRequest. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest); + /** ExecutionClosure abortMetadata */ + abortMetadata?: (flyteidl.admin.IAbortMetadata|null); - /** WorkflowExecutionGetMetricsRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** ExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); - /** WorkflowExecutionGetMetricsRequest depth. */ - public depth: number; + /** ExecutionClosure computedInputs */ + computedInputs?: (flyteidl.core.ILiteralMap|null); - /** - * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowExecutionGetMetricsRequest instance - */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): flyteidl.admin.WorkflowExecutionGetMetricsRequest; + /** ExecutionClosure phase */ + phase?: (flyteidl.core.WorkflowExecution.Phase|null); - /** - * 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.IWorkflowExecutionGetMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + /** ExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); - /** - * 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 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.WorkflowExecutionGetMetricsRequest; + /** ExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); - /** - * 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); - } + /** ExecutionClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); - /** Properties of a WorkflowExecutionGetMetricsResponse. */ - interface IWorkflowExecutionGetMetricsResponse { + /** ExecutionClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); - /** WorkflowExecutionGetMetricsResponse span */ - span?: (flyteidl.core.ISpan|null); + /** ExecutionClosure notifications */ + notifications?: (flyteidl.admin.INotification[]|null); + + /** ExecutionClosure workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** ExecutionClosure stateChangeDetails */ + stateChangeDetails?: (flyteidl.admin.IExecutionStateChangeDetails|null); } - /** Represents a WorkflowExecutionGetMetricsResponse. */ - class WorkflowExecutionGetMetricsResponse implements IWorkflowExecutionGetMetricsResponse { + /** Represents an ExecutionClosure. */ + class ExecutionClosure implements IExecutionClosure { /** - * Constructs a new WorkflowExecutionGetMetricsResponse. + * Constructs a new ExecutionClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse); + constructor(properties?: flyteidl.admin.IExecutionClosure); - /** WorkflowExecutionGetMetricsResponse span. */ - public span?: (flyteidl.core.ISpan|null); + /** 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); + + /** ExecutionClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure notifications. */ + public notifications: flyteidl.admin.INotification[]; + + /** 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 WorkflowExecutionGetMetricsResponse instance using the specified properties. + * Creates a new ExecutionClosure instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetMetricsResponse instance + * @returns ExecutionClosure instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse): flyteidl.admin.WorkflowExecutionGetMetricsResponse; + public static create(properties?: flyteidl.admin.IExecutionClosure): flyteidl.admin.ExecutionClosure; /** - * 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 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.IWorkflowExecutionGetMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetMetricsResponse 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 WorkflowExecutionGetMetricsResponse + * @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.WorkflowExecutionGetMetricsResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionClosure; /** - * Verifies a WorkflowExecutionGetMetricsResponse 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 LaunchPlanCreateRequest. */ - interface ILaunchPlanCreateRequest { + /** Properties of a SystemMetadata. */ + interface ISystemMetadata { - /** LaunchPlanCreateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** SystemMetadata executionCluster */ + executionCluster?: (string|null); - /** LaunchPlanCreateRequest spec */ - spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** SystemMetadata namespace */ + namespace?: (string|null); } - /** Represents a LaunchPlanCreateRequest. */ - class LaunchPlanCreateRequest implements ILaunchPlanCreateRequest { + /** Represents a SystemMetadata. */ + class SystemMetadata implements ISystemMetadata { /** - * Constructs a new LaunchPlanCreateRequest. + * Constructs a new SystemMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanCreateRequest); + constructor(properties?: flyteidl.admin.ISystemMetadata); - /** LaunchPlanCreateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** SystemMetadata executionCluster. */ + public executionCluster: string; - /** LaunchPlanCreateRequest spec. */ - public spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** SystemMetadata namespace. */ + public namespace: string; /** - * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * Creates a new SystemMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanCreateRequest instance + * @returns SystemMetadata instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanCreateRequest): flyteidl.admin.LaunchPlanCreateRequest; + public static create(properties?: flyteidl.admin.ISystemMetadata): flyteidl.admin.SystemMetadata; /** - * 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 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.ILaunchPlanCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISystemMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanCreateRequest 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 LaunchPlanCreateRequest + * @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.LaunchPlanCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SystemMetadata; /** - * Verifies a LaunchPlanCreateRequest 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 LaunchPlanCreateResponse. */ - interface ILaunchPlanCreateResponse { + /** 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); + + /** ExecutionMetadata artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); } - /** Represents a LaunchPlanCreateResponse. */ - class LaunchPlanCreateResponse implements ILaunchPlanCreateResponse { + /** Represents an ExecutionMetadata. */ + class ExecutionMetadata implements IExecutionMetadata { /** - * Constructs a new LaunchPlanCreateResponse. + * Constructs a new ExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanCreateResponse); + 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); + + /** ExecutionMetadata artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; /** - * Creates a new LaunchPlanCreateResponse instance using the specified properties. + * Creates a new ExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanCreateResponse instance + * @returns ExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanCreateResponse): flyteidl.admin.LaunchPlanCreateResponse; + public static create(properties?: flyteidl.admin.IExecutionMetadata): flyteidl.admin.ExecutionMetadata; /** - * 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 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.ILaunchPlanCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanCreateResponse 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 LaunchPlanCreateResponse + * @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.LaunchPlanCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionMetadata; /** - * Verifies a LaunchPlanCreateResponse 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); } - /** LaunchPlanState enum. */ - enum LaunchPlanState { - INACTIVE = 0, - ACTIVE = 1 - } - - /** Properties of a LaunchPlan. */ - interface ILaunchPlan { + namespace ExecutionMetadata { - /** LaunchPlan id */ - id?: (flyteidl.core.IIdentifier|null); + /** ExecutionMode enum. */ + enum ExecutionMode { + MANUAL = 0, + SCHEDULED = 1, + SYSTEM = 2, + RELAUNCH = 3, + CHILD_WORKFLOW = 4, + RECOVERED = 5 + } + } - /** LaunchPlan spec */ - spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** Properties of a NotificationList. */ + interface INotificationList { - /** LaunchPlan closure */ - closure?: (flyteidl.admin.ILaunchPlanClosure|null); + /** NotificationList notifications */ + notifications?: (flyteidl.admin.INotification[]|null); } - /** Represents a LaunchPlan. */ - class LaunchPlan implements ILaunchPlan { + /** Represents a NotificationList. */ + class NotificationList implements INotificationList { /** - * Constructs a new LaunchPlan. + * Constructs a new NotificationList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlan); - - /** LaunchPlan id. */ - public id?: (flyteidl.core.IIdentifier|null); - - /** LaunchPlan spec. */ - public spec?: (flyteidl.admin.ILaunchPlanSpec|null); + constructor(properties?: flyteidl.admin.INotificationList); - /** LaunchPlan closure. */ - public closure?: (flyteidl.admin.ILaunchPlanClosure|null); + /** NotificationList notifications. */ + public notifications: flyteidl.admin.INotification[]; /** - * Creates a new LaunchPlan instance using the specified properties. + * Creates a new NotificationList instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlan instance + * @returns NotificationList instance */ - public static create(properties?: flyteidl.admin.ILaunchPlan): flyteidl.admin.LaunchPlan; + public static create(properties?: flyteidl.admin.INotificationList): flyteidl.admin.NotificationList; /** - * 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 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.ILaunchPlan, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INotificationList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlan 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 LaunchPlan + * @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.LaunchPlan; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NotificationList; /** - * Verifies a LaunchPlan 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 LaunchPlanList. */ - interface ILaunchPlanList { + /** Properties of an ExecutionSpec. */ + interface IExecutionSpec { - /** LaunchPlanList launchPlans */ - launchPlans?: (flyteidl.admin.ILaunchPlan[]|null); + /** ExecutionSpec launchPlan */ + launchPlan?: (flyteidl.core.IIdentifier|null); - /** LaunchPlanList token */ - token?: (string|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); + + /** ExecutionSpec securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** ExecutionSpec authRole */ + authRole?: (flyteidl.admin.IAuthRole|null); + + /** ExecutionSpec qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** ExecutionSpec maxParallelism */ + maxParallelism?: (number|null); + + /** ExecutionSpec rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|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); } - /** Represents a LaunchPlanList. */ - class LaunchPlanList implements ILaunchPlanList { + /** Represents an ExecutionSpec. */ + class ExecutionSpec implements IExecutionSpec { /** - * Constructs a new LaunchPlanList. + * Constructs a new ExecutionSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanList); + constructor(properties?: flyteidl.admin.IExecutionSpec); - /** LaunchPlanList launchPlans. */ - public launchPlans: flyteidl.admin.ILaunchPlan[]; + /** ExecutionSpec launchPlan. */ + public launchPlan?: (flyteidl.core.IIdentifier|null); - /** LaunchPlanList token. */ - public token: string; + /** ExecutionSpec inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionSpec metadata. */ + public metadata?: (flyteidl.admin.IExecutionMetadata|null); + + /** 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 notificationOverrides. */ + public notificationOverrides?: ("notifications"|"disableAll"); /** - * Creates a new LaunchPlanList instance using the specified properties. + * Creates a new ExecutionSpec instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanList instance + * @returns ExecutionSpec instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanList): flyteidl.admin.LaunchPlanList; + public static create(properties?: flyteidl.admin.IExecutionSpec): flyteidl.admin.ExecutionSpec; /** - * 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 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.ILaunchPlanList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanList 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 LaunchPlanList + * @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.LaunchPlanList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionSpec; /** - * Verifies a LaunchPlanList 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 Auth. */ - interface IAuth { + /** Properties of an ExecutionTerminateRequest. */ + interface IExecutionTerminateRequest { - /** Auth assumableIamRole */ - assumableIamRole?: (string|null); + /** ExecutionTerminateRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Auth kubernetesServiceAccount */ - kubernetesServiceAccount?: (string|null); + /** ExecutionTerminateRequest cause */ + cause?: (string|null); } - /** Represents an Auth. */ - class Auth implements IAuth { + /** Represents an ExecutionTerminateRequest. */ + class ExecutionTerminateRequest implements IExecutionTerminateRequest { /** - * Constructs a new Auth. + * Constructs a new ExecutionTerminateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAuth); + constructor(properties?: flyteidl.admin.IExecutionTerminateRequest); - /** Auth assumableIamRole. */ - public assumableIamRole: string; + /** ExecutionTerminateRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Auth kubernetesServiceAccount. */ - public kubernetesServiceAccount: string; + /** ExecutionTerminateRequest cause. */ + public cause: string; /** - * Creates a new Auth instance using the specified properties. + * Creates a new ExecutionTerminateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Auth instance + * @returns ExecutionTerminateRequest instance */ - public static create(properties?: flyteidl.admin.IAuth): flyteidl.admin.Auth; + public static create(properties?: flyteidl.admin.IExecutionTerminateRequest): flyteidl.admin.ExecutionTerminateRequest; /** - * 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 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.IAuth, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionTerminateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Auth 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 Auth + * @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.Auth; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionTerminateRequest; /** - * Verifies an Auth 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 a LaunchPlanSpec. */ - interface ILaunchPlanSpec { - - /** LaunchPlanSpec workflowId */ - workflowId?: (flyteidl.core.IIdentifier|null); + /** Properties of an ExecutionTerminateResponse. */ + interface IExecutionTerminateResponse { + } - /** LaunchPlanSpec entityMetadata */ - entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); + /** Represents an ExecutionTerminateResponse. */ + class ExecutionTerminateResponse implements IExecutionTerminateResponse { - /** LaunchPlanSpec defaultInputs */ - defaultInputs?: (flyteidl.core.IParameterMap|null); + /** + * Constructs a new ExecutionTerminateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionTerminateResponse); - /** LaunchPlanSpec fixedInputs */ - fixedInputs?: (flyteidl.core.ILiteralMap|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; - /** LaunchPlanSpec role */ - role?: (string|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; - /** LaunchPlanSpec 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; - /** LaunchPlanSpec 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); + } - /** LaunchPlanSpec auth */ - auth?: (flyteidl.admin.IAuth|null); + /** Properties of a WorkflowExecutionGetDataRequest. */ + interface IWorkflowExecutionGetDataRequest { - /** LaunchPlanSpec authRole */ - authRole?: (flyteidl.admin.IAuthRole|null); + /** WorkflowExecutionGetDataRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|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); - } - - /** Represents a LaunchPlanSpec. */ - class LaunchPlanSpec implements ILaunchPlanSpec { + /** Represents a WorkflowExecutionGetDataRequest. */ + class WorkflowExecutionGetDataRequest implements IWorkflowExecutionGetDataRequest { /** - * Constructs a new LaunchPlanSpec. + * Constructs a new WorkflowExecutionGetDataRequest. * @param [properties] Properties to set */ - 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); - - /** 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; + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest); - /** LaunchPlanSpec envs. */ - public envs?: (flyteidl.admin.IEnvs|null); + /** WorkflowExecutionGetDataRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new LaunchPlanSpec instance using the specified properties. + * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanSpec instance + * @returns WorkflowExecutionGetDataRequest instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanSpec): flyteidl.admin.LaunchPlanSpec; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest): flyteidl.admin.WorkflowExecutionGetDataRequest; /** - * 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 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.ILaunchPlanSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanSpec 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 LaunchPlanSpec + * @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.LaunchPlanSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetDataRequest; /** - * Verifies a LaunchPlanSpec 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 LaunchPlanClosure. */ - interface ILaunchPlanClosure { - - /** LaunchPlanClosure state */ - state?: (flyteidl.admin.LaunchPlanState|null); + /** Properties of a WorkflowExecutionGetDataResponse. */ + interface IWorkflowExecutionGetDataResponse { - /** LaunchPlanClosure expectedInputs */ - expectedInputs?: (flyteidl.core.IParameterMap|null); + /** WorkflowExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); - /** LaunchPlanClosure expectedOutputs */ - expectedOutputs?: (flyteidl.core.IVariableMap|null); + /** WorkflowExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); - /** LaunchPlanClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); + /** WorkflowExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); - /** LaunchPlanClosure updatedAt */ - updatedAt?: (google.protobuf.ITimestamp|null); + /** WorkflowExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); } - /** Represents a LaunchPlanClosure. */ - class LaunchPlanClosure implements ILaunchPlanClosure { + /** Represents a WorkflowExecutionGetDataResponse. */ + class WorkflowExecutionGetDataResponse implements IWorkflowExecutionGetDataResponse { /** - * Constructs a new LaunchPlanClosure. + * Constructs a new WorkflowExecutionGetDataResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanClosure); - - /** LaunchPlanClosure state. */ - public state: flyteidl.admin.LaunchPlanState; + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse); - /** LaunchPlanClosure expectedInputs. */ - public expectedInputs?: (flyteidl.core.IParameterMap|null); + /** WorkflowExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); - /** LaunchPlanClosure expectedOutputs. */ - public expectedOutputs?: (flyteidl.core.IVariableMap|null); + /** WorkflowExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); - /** LaunchPlanClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); + /** WorkflowExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); - /** LaunchPlanClosure updatedAt. */ - public updatedAt?: (google.protobuf.ITimestamp|null); + /** WorkflowExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); /** - * Creates a new LaunchPlanClosure instance using the specified properties. + * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanClosure instance + * @returns WorkflowExecutionGetDataResponse instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanClosure): flyteidl.admin.LaunchPlanClosure; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse): flyteidl.admin.WorkflowExecutionGetDataResponse; /** - * 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 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.ILaunchPlanClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanClosure 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 LaunchPlanClosure + * @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.LaunchPlanClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetDataResponse; /** - * Verifies a LaunchPlanClosure 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 a LaunchPlanMetadata. */ - interface ILaunchPlanMetadata { + /** ExecutionState enum. */ + enum ExecutionState { + EXECUTION_ACTIVE = 0, + EXECUTION_ARCHIVED = 1 + } - /** LaunchPlanMetadata schedule */ - schedule?: (flyteidl.admin.ISchedule|null); + /** Properties of an ExecutionUpdateRequest. */ + interface IExecutionUpdateRequest { - /** LaunchPlanMetadata notifications */ - notifications?: (flyteidl.admin.INotification[]|null); + /** ExecutionUpdateRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionUpdateRequest state */ + state?: (flyteidl.admin.ExecutionState|null); } - /** Represents a LaunchPlanMetadata. */ - class LaunchPlanMetadata implements ILaunchPlanMetadata { + /** Represents an ExecutionUpdateRequest. */ + class ExecutionUpdateRequest implements IExecutionUpdateRequest { /** - * Constructs a new LaunchPlanMetadata. + * Constructs a new ExecutionUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanMetadata); + constructor(properties?: flyteidl.admin.IExecutionUpdateRequest); - /** LaunchPlanMetadata schedule. */ - public schedule?: (flyteidl.admin.ISchedule|null); + /** ExecutionUpdateRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** LaunchPlanMetadata notifications. */ - public notifications: flyteidl.admin.INotification[]; + /** ExecutionUpdateRequest state. */ + public state: flyteidl.admin.ExecutionState; /** - * Creates a new LaunchPlanMetadata instance using the specified properties. + * Creates a new ExecutionUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanMetadata instance + * @returns ExecutionUpdateRequest instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanMetadata): flyteidl.admin.LaunchPlanMetadata; + public static create(properties?: flyteidl.admin.IExecutionUpdateRequest): flyteidl.admin.ExecutionUpdateRequest; /** - * 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 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.ILaunchPlanMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanMetadata 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 LaunchPlanMetadata + * @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.LaunchPlanMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionUpdateRequest; /** - * Verifies a LaunchPlanMetadata 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 a LaunchPlanUpdateRequest. */ - interface ILaunchPlanUpdateRequest { + /** Properties of an ExecutionStateChangeDetails. */ + interface IExecutionStateChangeDetails { - /** LaunchPlanUpdateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** ExecutionStateChangeDetails state */ + state?: (flyteidl.admin.ExecutionState|null); - /** LaunchPlanUpdateRequest state */ - state?: (flyteidl.admin.LaunchPlanState|null); + /** ExecutionStateChangeDetails occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionStateChangeDetails principal */ + principal?: (string|null); } - /** Represents a LaunchPlanUpdateRequest. */ - class LaunchPlanUpdateRequest implements ILaunchPlanUpdateRequest { + /** Represents an ExecutionStateChangeDetails. */ + class ExecutionStateChangeDetails implements IExecutionStateChangeDetails { /** - * Constructs a new LaunchPlanUpdateRequest. + * Constructs a new ExecutionStateChangeDetails. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanUpdateRequest); + constructor(properties?: flyteidl.admin.IExecutionStateChangeDetails); - /** LaunchPlanUpdateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** ExecutionStateChangeDetails state. */ + public state: flyteidl.admin.ExecutionState; - /** LaunchPlanUpdateRequest state. */ - public state: flyteidl.admin.LaunchPlanState; + /** ExecutionStateChangeDetails occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); - /** - * Creates a new LaunchPlanUpdateRequest instance using the specified properties. + /** ExecutionStateChangeDetails principal. */ + public principal: string; + + /** + * Creates a new ExecutionStateChangeDetails instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanUpdateRequest instance + * @returns ExecutionStateChangeDetails instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanUpdateRequest): flyteidl.admin.LaunchPlanUpdateRequest; + public static create(properties?: flyteidl.admin.IExecutionStateChangeDetails): flyteidl.admin.ExecutionStateChangeDetails; /** - * 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 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.ILaunchPlanUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionStateChangeDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanUpdateRequest 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 LaunchPlanUpdateRequest + * @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.LaunchPlanUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionStateChangeDetails; /** - * Verifies a LaunchPlanUpdateRequest 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 LaunchPlanUpdateResponse. */ - interface ILaunchPlanUpdateResponse { + /** Properties of an ExecutionUpdateResponse. */ + interface IExecutionUpdateResponse { } - /** Represents a LaunchPlanUpdateResponse. */ - class LaunchPlanUpdateResponse implements ILaunchPlanUpdateResponse { + /** Represents an ExecutionUpdateResponse. */ + class ExecutionUpdateResponse implements IExecutionUpdateResponse { /** - * Constructs a new LaunchPlanUpdateResponse. + * Constructs a new ExecutionUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanUpdateResponse); + constructor(properties?: flyteidl.admin.IExecutionUpdateResponse); /** - * Creates a new LaunchPlanUpdateResponse instance using the specified properties. + * Creates a new ExecutionUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanUpdateResponse instance + * @returns ExecutionUpdateResponse instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanUpdateResponse): flyteidl.admin.LaunchPlanUpdateResponse; + public static create(properties?: flyteidl.admin.IExecutionUpdateResponse): flyteidl.admin.ExecutionUpdateResponse; /** - * 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 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.ILaunchPlanUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanUpdateResponse 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 LaunchPlanUpdateResponse + * @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.LaunchPlanUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionUpdateResponse; /** - * Verifies a LaunchPlanUpdateResponse 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 ActiveLaunchPlanRequest. */ - interface IActiveLaunchPlanRequest { + /** Properties of a WorkflowExecutionGetMetricsRequest. */ + interface IWorkflowExecutionGetMetricsRequest { - /** ActiveLaunchPlanRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** WorkflowExecutionGetMetricsRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionGetMetricsRequest depth */ + depth?: (number|null); } - /** Represents an ActiveLaunchPlanRequest. */ - class ActiveLaunchPlanRequest implements IActiveLaunchPlanRequest { + /** Represents a WorkflowExecutionGetMetricsRequest. */ + class WorkflowExecutionGetMetricsRequest implements IWorkflowExecutionGetMetricsRequest { /** - * Constructs a new ActiveLaunchPlanRequest. + * Constructs a new WorkflowExecutionGetMetricsRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IActiveLaunchPlanRequest); + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest); - /** ActiveLaunchPlanRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** WorkflowExecutionGetMetricsRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionGetMetricsRequest depth. */ + public depth: number; /** - * Creates a new ActiveLaunchPlanRequest instance using the specified properties. + * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ActiveLaunchPlanRequest instance + * @returns WorkflowExecutionGetMetricsRequest instance */ - public static create(properties?: flyteidl.admin.IActiveLaunchPlanRequest): flyteidl.admin.ActiveLaunchPlanRequest; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): flyteidl.admin.WorkflowExecutionGetMetricsRequest; /** - * 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 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.IActiveLaunchPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ActiveLaunchPlanRequest 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 ActiveLaunchPlanRequest + * @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.ActiveLaunchPlanRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsRequest; /** - * Verifies an ActiveLaunchPlanRequest 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 ActiveLaunchPlanListRequest. */ - interface IActiveLaunchPlanListRequest { - - /** ActiveLaunchPlanListRequest project */ - project?: (string|null); - - /** ActiveLaunchPlanListRequest domain */ - domain?: (string|null); - - /** ActiveLaunchPlanListRequest limit */ - limit?: (number|null); - - /** ActiveLaunchPlanListRequest token */ - token?: (string|null); + /** Properties of a WorkflowExecutionGetMetricsResponse. */ + interface IWorkflowExecutionGetMetricsResponse { - /** ActiveLaunchPlanListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** WorkflowExecutionGetMetricsResponse span */ + span?: (flyteidl.core.ISpan|null); } - /** Represents an ActiveLaunchPlanListRequest. */ - class ActiveLaunchPlanListRequest implements IActiveLaunchPlanListRequest { + /** Represents a WorkflowExecutionGetMetricsResponse. */ + class WorkflowExecutionGetMetricsResponse implements IWorkflowExecutionGetMetricsResponse { /** - * Constructs a new ActiveLaunchPlanListRequest. + * Constructs a new WorkflowExecutionGetMetricsResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IActiveLaunchPlanListRequest); - - /** ActiveLaunchPlanListRequest project. */ - public project: string; - - /** ActiveLaunchPlanListRequest domain. */ - public domain: string; - - /** ActiveLaunchPlanListRequest limit. */ - public limit: number; - - /** ActiveLaunchPlanListRequest token. */ - public token: string; + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse); - /** ActiveLaunchPlanListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** WorkflowExecutionGetMetricsResponse span. */ + public span?: (flyteidl.core.ISpan|null); /** - * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. + * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ActiveLaunchPlanListRequest instance + * @returns WorkflowExecutionGetMetricsResponse instance */ - public static create(properties?: flyteidl.admin.IActiveLaunchPlanListRequest): flyteidl.admin.ActiveLaunchPlanListRequest; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse): flyteidl.admin.WorkflowExecutionGetMetricsResponse; /** - * 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 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.IActiveLaunchPlanListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. + * 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 ActiveLaunchPlanListRequest + * @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.ActiveLaunchPlanListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsResponse; /** - * Verifies an ActiveLaunchPlanListRequest message. + * 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); } - /** FixedRateUnit enum. */ - enum FixedRateUnit { - MINUTE = 0, - HOUR = 1, - DAY = 2 - } - - /** Properties of a FixedRate. */ - interface IFixedRate { + /** Properties of a LaunchPlanCreateRequest. */ + interface ILaunchPlanCreateRequest { - /** FixedRate value */ - value?: (number|null); + /** LaunchPlanCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); - /** FixedRate unit */ - unit?: (flyteidl.admin.FixedRateUnit|null); + /** LaunchPlanCreateRequest spec */ + spec?: (flyteidl.admin.ILaunchPlanSpec|null); } - /** Represents a FixedRate. */ - class FixedRate implements IFixedRate { + /** Represents a LaunchPlanCreateRequest. */ + class LaunchPlanCreateRequest implements ILaunchPlanCreateRequest { /** - * Constructs a new FixedRate. + * Constructs a new LaunchPlanCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IFixedRate); + constructor(properties?: flyteidl.admin.ILaunchPlanCreateRequest); - /** FixedRate value. */ - public value: number; + /** LaunchPlanCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** FixedRate unit. */ - public unit: flyteidl.admin.FixedRateUnit; + /** LaunchPlanCreateRequest spec. */ + public spec?: (flyteidl.admin.ILaunchPlanSpec|null); /** - * Creates a new FixedRate instance using the specified properties. + * Creates a new LaunchPlanCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns FixedRate instance + * @returns LaunchPlanCreateRequest instance */ - public static create(properties?: flyteidl.admin.IFixedRate): flyteidl.admin.FixedRate; + public static create(properties?: flyteidl.admin.ILaunchPlanCreateRequest): flyteidl.admin.LaunchPlanCreateRequest; /** - * 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 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.IFixedRate, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a FixedRate 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 FixedRate + * @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.FixedRate; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanCreateRequest; /** - * Verifies a FixedRate 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 CronSchedule. */ - interface ICronSchedule { - - /** CronSchedule schedule */ - schedule?: (string|null); - - /** CronSchedule offset */ - offset?: (string|null); + /** Properties of a LaunchPlanCreateResponse. */ + interface ILaunchPlanCreateResponse { } - /** Represents a CronSchedule. */ - class CronSchedule implements ICronSchedule { + /** Represents a LaunchPlanCreateResponse. */ + class LaunchPlanCreateResponse implements ILaunchPlanCreateResponse { /** - * Constructs a new CronSchedule. + * Constructs a new LaunchPlanCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICronSchedule); - - /** CronSchedule schedule. */ - public schedule: string; - - /** CronSchedule offset. */ - public offset: string; + constructor(properties?: flyteidl.admin.ILaunchPlanCreateResponse); /** - * Creates a new CronSchedule instance using the specified properties. + * Creates a new LaunchPlanCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns CronSchedule instance + * @returns LaunchPlanCreateResponse instance */ - public static create(properties?: flyteidl.admin.ICronSchedule): flyteidl.admin.CronSchedule; + public static create(properties?: flyteidl.admin.ILaunchPlanCreateResponse): flyteidl.admin.LaunchPlanCreateResponse; /** - * 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 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.ICronSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CronSchedule 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 CronSchedule + * @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.CronSchedule; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanCreateResponse; /** - * Verifies a CronSchedule 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); } - /** Properties of a Schedule. */ - interface ISchedule { + /** LaunchPlanState enum. */ + enum LaunchPlanState { + INACTIVE = 0, + ACTIVE = 1 + } - /** Schedule cronExpression */ - cronExpression?: (string|null); + /** Properties of a LaunchPlan. */ + interface ILaunchPlan { - /** Schedule rate */ - rate?: (flyteidl.admin.IFixedRate|null); + /** LaunchPlan id */ + id?: (flyteidl.core.IIdentifier|null); - /** Schedule cronSchedule */ - cronSchedule?: (flyteidl.admin.ICronSchedule|null); + /** LaunchPlan spec */ + spec?: (flyteidl.admin.ILaunchPlanSpec|null); - /** Schedule kickoffTimeInputArg */ - kickoffTimeInputArg?: (string|null); + /** LaunchPlan closure */ + closure?: (flyteidl.admin.ILaunchPlanClosure|null); } - /** Represents a Schedule. */ - class Schedule implements ISchedule { + /** Represents a LaunchPlan. */ + class LaunchPlan implements ILaunchPlan { /** - * Constructs a new Schedule. + * Constructs a new LaunchPlan. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISchedule); - - /** Schedule cronExpression. */ - public cronExpression: string; - - /** Schedule rate. */ - public rate?: (flyteidl.admin.IFixedRate|null); + constructor(properties?: flyteidl.admin.ILaunchPlan); - /** Schedule cronSchedule. */ - public cronSchedule?: (flyteidl.admin.ICronSchedule|null); + /** LaunchPlan id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** Schedule kickoffTimeInputArg. */ - public kickoffTimeInputArg: string; + /** LaunchPlan spec. */ + public spec?: (flyteidl.admin.ILaunchPlanSpec|null); - /** Schedule ScheduleExpression. */ - public ScheduleExpression?: ("cronExpression"|"rate"|"cronSchedule"); + /** LaunchPlan closure. */ + public closure?: (flyteidl.admin.ILaunchPlanClosure|null); /** - * Creates a new Schedule instance using the specified properties. + * Creates a new LaunchPlan instance using the specified properties. * @param [properties] Properties to set - * @returns Schedule instance + * @returns LaunchPlan instance */ - public static create(properties?: flyteidl.admin.ISchedule): flyteidl.admin.Schedule; + public static create(properties?: flyteidl.admin.ILaunchPlan): flyteidl.admin.LaunchPlan; /** - * 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 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.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlan, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Schedule 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 Schedule + * @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.Schedule; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlan; /** - * Verifies a Schedule 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); } - /** 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 - } - - /** Properties of a TaskResourceSpec. */ - interface ITaskResourceSpec { - - /** TaskResourceSpec cpu */ - cpu?: (string|null); - - /** TaskResourceSpec gpu */ - gpu?: (string|null); - - /** TaskResourceSpec memory */ - memory?: (string|null); + /** Properties of a LaunchPlanList. */ + interface ILaunchPlanList { - /** TaskResourceSpec storage */ - storage?: (string|null); + /** LaunchPlanList launchPlans */ + launchPlans?: (flyteidl.admin.ILaunchPlan[]|null); - /** TaskResourceSpec ephemeralStorage */ - ephemeralStorage?: (string|null); + /** LaunchPlanList token */ + token?: (string|null); } - /** Represents a TaskResourceSpec. */ - class TaskResourceSpec implements ITaskResourceSpec { + /** Represents a LaunchPlanList. */ + class LaunchPlanList implements ILaunchPlanList { /** - * Constructs a new TaskResourceSpec. + * Constructs a new LaunchPlanList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskResourceSpec); - - /** TaskResourceSpec cpu. */ - public cpu: string; - - /** TaskResourceSpec gpu. */ - public gpu: string; - - /** TaskResourceSpec memory. */ - public memory: string; + constructor(properties?: flyteidl.admin.ILaunchPlanList); - /** TaskResourceSpec storage. */ - public storage: string; + /** LaunchPlanList launchPlans. */ + public launchPlans: flyteidl.admin.ILaunchPlan[]; - /** TaskResourceSpec ephemeralStorage. */ - public ephemeralStorage: string; + /** LaunchPlanList token. */ + public token: string; /** - * Creates a new TaskResourceSpec instance using the specified properties. + * Creates a new LaunchPlanList instance using the specified properties. * @param [properties] Properties to set - * @returns TaskResourceSpec instance + * @returns LaunchPlanList instance */ - public static create(properties?: flyteidl.admin.ITaskResourceSpec): flyteidl.admin.TaskResourceSpec; + public static create(properties?: flyteidl.admin.ILaunchPlanList): flyteidl.admin.LaunchPlanList; /** - * 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 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.ITaskResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskResourceSpec 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 TaskResourceSpec + * @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.TaskResourceSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanList; /** - * Verifies a TaskResourceSpec 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 TaskResourceAttributes. */ - interface ITaskResourceAttributes { + /** Properties of an Auth. */ + interface IAuth { - /** TaskResourceAttributes defaults */ - defaults?: (flyteidl.admin.ITaskResourceSpec|null); + /** Auth assumableIamRole */ + assumableIamRole?: (string|null); - /** TaskResourceAttributes limits */ - limits?: (flyteidl.admin.ITaskResourceSpec|null); + /** Auth kubernetesServiceAccount */ + kubernetesServiceAccount?: (string|null); } - /** Represents a TaskResourceAttributes. */ - class TaskResourceAttributes implements ITaskResourceAttributes { + /** Represents an Auth. */ + class Auth implements IAuth { /** - * Constructs a new TaskResourceAttributes. + * Constructs a new Auth. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskResourceAttributes); + constructor(properties?: flyteidl.admin.IAuth); - /** TaskResourceAttributes defaults. */ - public defaults?: (flyteidl.admin.ITaskResourceSpec|null); + /** Auth assumableIamRole. */ + public assumableIamRole: string; - /** TaskResourceAttributes limits. */ - public limits?: (flyteidl.admin.ITaskResourceSpec|null); + /** Auth kubernetesServiceAccount. */ + public kubernetesServiceAccount: string; /** - * Creates a new TaskResourceAttributes instance using the specified properties. + * Creates a new Auth instance using the specified properties. * @param [properties] Properties to set - * @returns TaskResourceAttributes instance + * @returns Auth instance */ - public static create(properties?: flyteidl.admin.ITaskResourceAttributes): flyteidl.admin.TaskResourceAttributes; + public static create(properties?: flyteidl.admin.IAuth): flyteidl.admin.Auth; /** - * 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 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.ITaskResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAuth, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskResourceAttributes 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 TaskResourceAttributes + * @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.TaskResourceAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Auth; /** - * Verifies a TaskResourceAttributes 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 a ClusterResourceAttributes. */ - interface IClusterResourceAttributes { + /** Properties of a LaunchPlanSpec. */ + interface ILaunchPlanSpec { - /** ClusterResourceAttributes attributes */ - attributes?: ({ [k: string]: string }|null); - } + /** LaunchPlanSpec workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); - /** Represents a ClusterResourceAttributes. */ - class ClusterResourceAttributes implements IClusterResourceAttributes { + /** LaunchPlanSpec entityMetadata */ + entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); - /** - * Constructs a new ClusterResourceAttributes. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IClusterResourceAttributes); + /** LaunchPlanSpec defaultInputs */ + defaultInputs?: (flyteidl.core.IParameterMap|null); - /** ClusterResourceAttributes attributes. */ - public attributes: { [k: string]: string }; + /** LaunchPlanSpec fixedInputs */ + fixedInputs?: (flyteidl.core.ILiteralMap|null); - /** - * Creates a new ClusterResourceAttributes instance using the specified properties. - * @param [properties] Properties to set - * @returns ClusterResourceAttributes instance - */ - public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; + /** LaunchPlanSpec role */ + role?: (string|null); - /** - * 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.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + /** LaunchPlanSpec labels */ + labels?: (flyteidl.admin.ILabels|null); - /** - * 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 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.ClusterResourceAttributes; + /** LaunchPlanSpec annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); - /** - * 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); - } + /** LaunchPlanSpec auth */ + auth?: (flyteidl.admin.IAuth|null); - /** Properties of an ExecutionQueueAttributes. */ - interface IExecutionQueueAttributes { + /** LaunchPlanSpec authRole */ + authRole?: (flyteidl.admin.IAuthRole|null); - /** ExecutionQueueAttributes tags */ - tags?: (string[]|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); } - /** Represents an ExecutionQueueAttributes. */ - class ExecutionQueueAttributes implements IExecutionQueueAttributes { + /** 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); /** - * 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 { - - /** MissingPluginBehavior enum. */ - enum MissingPluginBehavior { - FAIL = 0, - USE_DEFAULT = 1 - } - } + /** Properties of a LaunchPlanUpdateRequest. */ + interface ILaunchPlanUpdateRequest { - /** 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); - - /** PluginOverrides overrides. */ - public overrides: flyteidl.admin.IPluginOverride[]; + constructor(properties?: flyteidl.admin.ILaunchPlanUpdateRequest); + + /** 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); + /** 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); + 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); } - /** 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); /** - * 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 { + + /** 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; + + /** 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 NodeExecutionGetRequest. */ - interface INodeExecutionGetRequest { + /** Properties of a Schedule. */ + interface ISchedule { - /** NodeExecutionGetRequest id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** Schedule cronExpression */ + cronExpression?: (string|null); + + /** Schedule rate */ + rate?: (flyteidl.admin.IFixedRate|null); + + /** Schedule cronSchedule */ + cronSchedule?: (flyteidl.admin.ICronSchedule|null); + + /** Schedule kickoffTimeInputArg */ + kickoffTimeInputArg?: (string|null); } - /** Represents a NodeExecutionGetRequest. */ - class NodeExecutionGetRequest implements INodeExecutionGetRequest { + /** Represents a Schedule. */ + class Schedule implements ISchedule { /** - * Constructs a new NodeExecutionGetRequest. + * Constructs a new Schedule. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionGetRequest); + constructor(properties?: flyteidl.admin.ISchedule); - /** NodeExecutionGetRequest id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** Schedule cronExpression. */ + public cronExpression: string; + + /** 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 NodeExecutionGetRequest instance using the specified properties. + * Creates a new Schedule instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionGetRequest instance + * @returns Schedule instance */ - public static create(properties?: flyteidl.admin.INodeExecutionGetRequest): flyteidl.admin.NodeExecutionGetRequest; + public static create(properties?: flyteidl.admin.ISchedule): flyteidl.admin.Schedule; /** - * 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 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.INodeExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionGetRequest 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 NodeExecutionGetRequest + * @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.NodeExecutionGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Schedule; /** - * Verifies a NodeExecutionGetRequest 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 NodeExecutionListRequest. */ - interface INodeExecutionListRequest { + /** 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 + } - /** NodeExecutionListRequest workflowExecutionId */ - workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Properties of a TaskResourceSpec. */ + interface ITaskResourceSpec { - /** NodeExecutionListRequest limit */ - limit?: (number|null); + /** TaskResourceSpec cpu */ + cpu?: (string|null); - /** NodeExecutionListRequest token */ - token?: (string|null); + /** TaskResourceSpec gpu */ + gpu?: (string|null); - /** NodeExecutionListRequest filters */ - filters?: (string|null); + /** TaskResourceSpec memory */ + memory?: (string|null); - /** NodeExecutionListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** TaskResourceSpec storage */ + storage?: (string|null); - /** NodeExecutionListRequest uniqueParentId */ - uniqueParentId?: (string|null); + /** TaskResourceSpec ephemeralStorage */ + ephemeralStorage?: (string|null); } - /** Represents a NodeExecutionListRequest. */ - class NodeExecutionListRequest implements INodeExecutionListRequest { + /** Represents a TaskResourceSpec. */ + class TaskResourceSpec implements ITaskResourceSpec { /** - * Constructs a new NodeExecutionListRequest. + * Constructs a new TaskResourceSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionListRequest); - - /** NodeExecutionListRequest workflowExecutionId. */ - public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.ITaskResourceSpec); - /** NodeExecutionListRequest limit. */ - public limit: number; + /** TaskResourceSpec cpu. */ + public cpu: string; - /** NodeExecutionListRequest token. */ - public token: string; + /** TaskResourceSpec gpu. */ + public gpu: string; - /** NodeExecutionListRequest filters. */ - public filters: string; + /** TaskResourceSpec memory. */ + public memory: string; - /** NodeExecutionListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** TaskResourceSpec storage. */ + public storage: string; - /** NodeExecutionListRequest uniqueParentId. */ - public uniqueParentId: string; + /** TaskResourceSpec ephemeralStorage. */ + public ephemeralStorage: string; /** - * Creates a new NodeExecutionListRequest instance using the specified properties. + * Creates a new TaskResourceSpec instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionListRequest instance + * @returns TaskResourceSpec instance */ - public static create(properties?: flyteidl.admin.INodeExecutionListRequest): flyteidl.admin.NodeExecutionListRequest; + public static create(properties?: flyteidl.admin.ITaskResourceSpec): flyteidl.admin.TaskResourceSpec; /** - * 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 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.INodeExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionListRequest 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 NodeExecutionListRequest + * @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.NodeExecutionListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceSpec; /** - * Verifies a NodeExecutionListRequest 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 NodeExecutionForTaskListRequest. */ - interface INodeExecutionForTaskListRequest { + /** Properties of a TaskResourceAttributes. */ + interface ITaskResourceAttributes { - /** NodeExecutionForTaskListRequest taskExecutionId */ - taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** NodeExecutionForTaskListRequest limit */ - limit?: (number|null); - - /** NodeExecutionForTaskListRequest token */ - token?: (string|null); - - /** NodeExecutionForTaskListRequest filters */ - filters?: (string|null); + /** TaskResourceAttributes defaults */ + defaults?: (flyteidl.admin.ITaskResourceSpec|null); - /** NodeExecutionForTaskListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** TaskResourceAttributes limits */ + limits?: (flyteidl.admin.ITaskResourceSpec|null); } - /** Represents a NodeExecutionForTaskListRequest. */ - class NodeExecutionForTaskListRequest implements INodeExecutionForTaskListRequest { + /** Represents a TaskResourceAttributes. */ + class TaskResourceAttributes implements ITaskResourceAttributes { /** - * Constructs a new NodeExecutionForTaskListRequest. + * Constructs a new TaskResourceAttributes. * @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; + constructor(properties?: flyteidl.admin.ITaskResourceAttributes); - /** NodeExecutionForTaskListRequest filters. */ - public filters: string; + /** TaskResourceAttributes defaults. */ + public defaults?: (flyteidl.admin.ITaskResourceSpec|null); - /** NodeExecutionForTaskListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** TaskResourceAttributes limits. */ + public limits?: (flyteidl.admin.ITaskResourceSpec|null); /** - * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. + * Creates a new TaskResourceAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionForTaskListRequest instance + * @returns TaskResourceAttributes instance */ - public static create(properties?: flyteidl.admin.INodeExecutionForTaskListRequest): flyteidl.admin.NodeExecutionForTaskListRequest; + public static create(properties?: flyteidl.admin.ITaskResourceAttributes): flyteidl.admin.TaskResourceAttributes; /** - * 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 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.INodeExecutionForTaskListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionForTaskListRequest 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 NodeExecutionForTaskListRequest + * @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.NodeExecutionForTaskListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceAttributes; /** - * Verifies a NodeExecutionForTaskListRequest 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 a NodeExecution. */ - interface INodeExecution { - - /** NodeExecution id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** NodeExecution inputUri */ - inputUri?: (string|null); - - /** NodeExecution closure */ - closure?: (flyteidl.admin.INodeExecutionClosure|null); + /** Properties of a ClusterResourceAttributes. */ + interface IClusterResourceAttributes { - /** NodeExecution metadata */ - metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + /** ClusterResourceAttributes attributes */ + attributes?: ({ [k: string]: string }|null); } - /** Represents a NodeExecution. */ - class NodeExecution implements INodeExecution { + /** Represents a ClusterResourceAttributes. */ + class ClusterResourceAttributes implements IClusterResourceAttributes { /** - * Constructs a new NodeExecution. + * Constructs a new ClusterResourceAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecution); - - /** NodeExecution id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** NodeExecution inputUri. */ - public inputUri: string; - - /** NodeExecution closure. */ - public closure?: (flyteidl.admin.INodeExecutionClosure|null); + constructor(properties?: flyteidl.admin.IClusterResourceAttributes); - /** NodeExecution metadata. */ - public metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + /** ClusterResourceAttributes attributes. */ + public attributes: { [k: string]: string }; /** - * Creates a new NodeExecution instance using the specified properties. + * Creates a new ClusterResourceAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecution instance + * @returns ClusterResourceAttributes instance */ - public static create(properties?: flyteidl.admin.INodeExecution): flyteidl.admin.NodeExecution; + public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; /** - * 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 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.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecution 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 NodeExecution + * @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.NodeExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterResourceAttributes; /** - * Verifies a NodeExecution 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); } - /** Properties of a NodeExecutionMetaData. */ - interface INodeExecutionMetaData { - - /** NodeExecutionMetaData retryGroup */ - retryGroup?: (string|null); - - /** NodeExecutionMetaData isParentNode */ - isParentNode?: (boolean|null); - - /** NodeExecutionMetaData specNodeId */ - specNodeId?: (string|null); - - /** NodeExecutionMetaData isDynamic */ - isDynamic?: (boolean|null); + /** Properties of an ExecutionQueueAttributes. */ + interface IExecutionQueueAttributes { - /** NodeExecutionMetaData isArray */ - isArray?: (boolean|null); + /** ExecutionQueueAttributes tags */ + tags?: (string[]|null); } - /** Represents a NodeExecutionMetaData. */ - class NodeExecutionMetaData implements INodeExecutionMetaData { + /** Represents an ExecutionQueueAttributes. */ + class ExecutionQueueAttributes implements IExecutionQueueAttributes { /** - * Constructs a new NodeExecutionMetaData. + * Constructs a new ExecutionQueueAttributes. * @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.IExecutionQueueAttributes); - /** NodeExecutionMetaData isArray. */ - public isArray: boolean; + /** ExecutionQueueAttributes tags. */ + public tags: string[]; /** - * Creates a new NodeExecutionMetaData instance using the specified properties. + * Creates a new ExecutionQueueAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionMetaData instance + * @returns ExecutionQueueAttributes instance */ - public static create(properties?: flyteidl.admin.INodeExecutionMetaData): flyteidl.admin.NodeExecutionMetaData; + public static create(properties?: flyteidl.admin.IExecutionQueueAttributes): flyteidl.admin.ExecutionQueueAttributes; /** - * 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 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.INodeExecutionMetaData, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionQueueAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionMetaData 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 NodeExecutionMetaData + * @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.NodeExecutionMetaData; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionQueueAttributes; /** - * Verifies a NodeExecutionMetaData 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 a NodeExecutionList. */ - interface INodeExecutionList { - - /** NodeExecutionList nodeExecutions */ - nodeExecutions?: (flyteidl.admin.INodeExecution[]|null); + /** Properties of an ExecutionClusterLabel. */ + interface IExecutionClusterLabel { - /** NodeExecutionList token */ - token?: (string|null); + /** ExecutionClusterLabel value */ + value?: (string|null); } - /** Represents a NodeExecutionList. */ - class NodeExecutionList implements INodeExecutionList { + /** Represents an ExecutionClusterLabel. */ + class ExecutionClusterLabel implements IExecutionClusterLabel { /** - * Constructs a new NodeExecutionList. + * Constructs a new ExecutionClusterLabel. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionList); - - /** NodeExecutionList nodeExecutions. */ - public nodeExecutions: flyteidl.admin.INodeExecution[]; + constructor(properties?: flyteidl.admin.IExecutionClusterLabel); - /** NodeExecutionList token. */ - public token: string; + /** ExecutionClusterLabel value. */ + public value: string; /** - * Creates a new NodeExecutionList instance using the specified properties. + * Creates a new ExecutionClusterLabel instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionList instance + * @returns ExecutionClusterLabel instance */ - public static create(properties?: flyteidl.admin.INodeExecutionList): flyteidl.admin.NodeExecutionList; + public static create(properties?: flyteidl.admin.IExecutionClusterLabel): flyteidl.admin.ExecutionClusterLabel; /** - * 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 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.INodeExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionClusterLabel, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionList message from the specified reader or buffer. + * 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 NodeExecutionList + * @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.NodeExecutionList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionClusterLabel; /** - * Verifies a NodeExecutionList message. + * 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); } - /** Properties of a NodeExecutionClosure. */ - interface INodeExecutionClosure { - - /** NodeExecutionClosure outputUri */ - outputUri?: (string|null); - - /** NodeExecutionClosure error */ - error?: (flyteidl.core.IExecutionError|null); + /** Properties of a PluginOverride. */ + interface IPluginOverride { - /** NodeExecutionClosure outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); + /** PluginOverride taskType */ + taskType?: (string|null); - /** NodeExecutionClosure phase */ - phase?: (flyteidl.core.NodeExecution.Phase|null); + /** PluginOverride pluginId */ + pluginId?: (string[]|null); - /** NodeExecutionClosure startedAt */ - startedAt?: (google.protobuf.ITimestamp|null); + /** PluginOverride missingPluginBehavior */ + missingPluginBehavior?: (flyteidl.admin.PluginOverride.MissingPluginBehavior|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); - - /** NodeExecutionClosure dynamicJobSpecUri */ - dynamicJobSpecUri?: (string|null); - } - - /** Represents a NodeExecutionClosure. */ - class NodeExecutionClosure implements INodeExecutionClosure { + /** Represents a PluginOverride. */ + class PluginOverride implements IPluginOverride { /** - * Constructs a new NodeExecutionClosure. + * Constructs a new PluginOverride. * @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; + constructor(properties?: flyteidl.admin.IPluginOverride); - /** NodeExecutionClosure dynamicJobSpecUri. */ - public dynamicJobSpecUri: string; + /** PluginOverride taskType. */ + public taskType: string; - /** NodeExecutionClosure outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** PluginOverride pluginId. */ + public pluginId: string[]; - /** NodeExecutionClosure targetMetadata. */ - public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + /** PluginOverride missingPluginBehavior. */ + public missingPluginBehavior: flyteidl.admin.PluginOverride.MissingPluginBehavior; /** - * Creates a new NodeExecutionClosure instance using the specified properties. + * Creates a new PluginOverride instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionClosure instance + * @returns PluginOverride instance */ - public static create(properties?: flyteidl.admin.INodeExecutionClosure): flyteidl.admin.NodeExecutionClosure; + public static create(properties?: flyteidl.admin.IPluginOverride): flyteidl.admin.PluginOverride; /** - * 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 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.INodeExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPluginOverride, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionClosure 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 NodeExecutionClosure + * @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.NodeExecutionClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverride; /** - * Verifies a NodeExecutionClosure 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 a WorkflowNodeMetadata. */ - interface IWorkflowNodeMetadata { + namespace PluginOverride { - /** WorkflowNodeMetadata executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** MissingPluginBehavior enum. */ + enum MissingPluginBehavior { + FAIL = 0, + USE_DEFAULT = 1 + } } - /** Represents a WorkflowNodeMetadata. */ - class WorkflowNodeMetadata implements IWorkflowNodeMetadata { + /** Properties of a PluginOverrides. */ + interface IPluginOverrides { + + /** PluginOverrides overrides */ + overrides?: (flyteidl.admin.IPluginOverride[]|null); + } + + /** Represents a PluginOverrides. */ + class PluginOverrides implements IPluginOverrides { /** - * Constructs a new WorkflowNodeMetadata. + * Constructs a new PluginOverrides. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowNodeMetadata); + constructor(properties?: flyteidl.admin.IPluginOverrides); - /** WorkflowNodeMetadata executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** PluginOverrides overrides. */ + public overrides: flyteidl.admin.IPluginOverride[]; /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * Creates a new PluginOverrides instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowNodeMetadata instance + * @returns PluginOverrides instance */ - public static create(properties?: flyteidl.admin.IWorkflowNodeMetadata): flyteidl.admin.WorkflowNodeMetadata; + public static create(properties?: flyteidl.admin.IPluginOverrides): flyteidl.admin.PluginOverrides; /** - * 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 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.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPluginOverrides, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowNodeMetadata 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 WorkflowNodeMetadata + * @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.WorkflowNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverrides; /** - * Verifies a WorkflowNodeMetadata 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 a TaskNodeMetadata. */ - interface ITaskNodeMetadata { + /** Properties of a WorkflowExecutionConfig. */ + interface IWorkflowExecutionConfig { - /** TaskNodeMetadata cacheStatus */ - cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + /** WorkflowExecutionConfig maxParallelism */ + maxParallelism?: (number|null); - /** TaskNodeMetadata catalogKey */ - catalogKey?: (flyteidl.core.ICatalogMetadata|null); + /** WorkflowExecutionConfig securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); - /** TaskNodeMetadata checkpointUri */ - checkpointUri?: (string|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); } - /** Represents a TaskNodeMetadata. */ - class TaskNodeMetadata implements ITaskNodeMetadata { + /** Represents a WorkflowExecutionConfig. */ + class WorkflowExecutionConfig implements IWorkflowExecutionConfig { /** - * Constructs a new TaskNodeMetadata. + * Constructs a new WorkflowExecutionConfig. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskNodeMetadata); + constructor(properties?: flyteidl.admin.IWorkflowExecutionConfig); - /** TaskNodeMetadata cacheStatus. */ - public cacheStatus: flyteidl.core.CatalogCacheStatus; + /** WorkflowExecutionConfig maxParallelism. */ + public maxParallelism: number; - /** TaskNodeMetadata catalogKey. */ - public catalogKey?: (flyteidl.core.ICatalogMetadata|null); + /** WorkflowExecutionConfig securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); - /** TaskNodeMetadata checkpointUri. */ - public checkpointUri: string; + /** 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); /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * Creates a new WorkflowExecutionConfig instance using the specified properties. * @param [properties] Properties to set - * @returns TaskNodeMetadata instance + * @returns WorkflowExecutionConfig instance */ - public static create(properties?: flyteidl.admin.ITaskNodeMetadata): flyteidl.admin.TaskNodeMetadata; + public static create(properties?: flyteidl.admin.IWorkflowExecutionConfig): flyteidl.admin.WorkflowExecutionConfig; /** - * 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 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.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskNodeMetadata 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 TaskNodeMetadata + * @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.TaskNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionConfig; /** - * Verifies a TaskNodeMetadata 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 DynamicWorkflowNodeMetadata. */ - interface IDynamicWorkflowNodeMetadata { + /** Properties of a MatchingAttributes. */ + interface IMatchingAttributes { - /** DynamicWorkflowNodeMetadata id */ - id?: (flyteidl.core.IIdentifier|null); + /** MatchingAttributes taskResourceAttributes */ + taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - /** DynamicWorkflowNodeMetadata compiledWorkflow */ - compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** MatchingAttributes clusterResourceAttributes */ + clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ - dynamicJobSpecUri?: (string|null); - } + /** MatchingAttributes executionQueueAttributes */ + executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); - /** Represents a DynamicWorkflowNodeMetadata. */ - class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { + /** MatchingAttributes executionClusterLabel */ + executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); - /** - * Constructs a new DynamicWorkflowNodeMetadata. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata); + /** MatchingAttributes qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); - /** DynamicWorkflowNodeMetadata id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** MatchingAttributes pluginOverrides */ + pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); - /** DynamicWorkflowNodeMetadata compiledWorkflow. */ - public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** MatchingAttributes workflowExecutionConfig */ + workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ - public dynamicJobSpecUri: string; + /** MatchingAttributes clusterAssignment */ + clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + } + + /** Represents a MatchingAttributes. */ + class MatchingAttributes implements IMatchingAttributes { /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * Constructs a new MatchingAttributes. * @param [properties] Properties to set - * @returns DynamicWorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata): flyteidl.admin.DynamicWorkflowNodeMetadata; + constructor(properties?: flyteidl.admin.IMatchingAttributes); - /** - * 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.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + /** MatchingAttributes taskResourceAttributes. */ + public taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - /** - * 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 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.DynamicWorkflowNodeMetadata; + /** MatchingAttributes clusterResourceAttributes. */ + public clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); - /** - * 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); - } + /** MatchingAttributes executionQueueAttributes. */ + public executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); - /** Properties of a NodeExecutionGetDataRequest. */ - interface INodeExecutionGetDataRequest { + /** MatchingAttributes executionClusterLabel. */ + public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); - /** NodeExecutionGetDataRequest id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); - } + /** MatchingAttributes qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); - /** Represents a NodeExecutionGetDataRequest. */ - class NodeExecutionGetDataRequest implements INodeExecutionGetDataRequest { + /** MatchingAttributes pluginOverrides. */ + public pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); - /** - * Constructs a new NodeExecutionGetDataRequest. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.INodeExecutionGetDataRequest); + /** MatchingAttributes workflowExecutionConfig. */ + public workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); - /** NodeExecutionGetDataRequest id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** MatchingAttributes clusterAssignment. */ + public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** MatchingAttributes target. */ + public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"); /** - * Creates a new NodeExecutionGetDataRequest instance using the specified properties. + * Creates a new MatchingAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionGetDataRequest instance + * @returns MatchingAttributes instance */ - public static create(properties?: flyteidl.admin.INodeExecutionGetDataRequest): flyteidl.admin.NodeExecutionGetDataRequest; + public static create(properties?: flyteidl.admin.IMatchingAttributes): flyteidl.admin.MatchingAttributes; /** - * 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 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.INodeExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IMatchingAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionGetDataRequest 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 NodeExecutionGetDataRequest + * @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.NodeExecutionGetDataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchingAttributes; /** - * Verifies a NodeExecutionGetDataRequest 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); } - /** Properties of a NodeExecutionGetDataResponse. */ - interface INodeExecutionGetDataResponse { - - /** NodeExecutionGetDataResponse inputs */ - inputs?: (flyteidl.admin.IUrlBlob|null); + /** Properties of a MatchableAttributesConfiguration. */ + interface IMatchableAttributesConfiguration { - /** NodeExecutionGetDataResponse outputs */ - outputs?: (flyteidl.admin.IUrlBlob|null); + /** MatchableAttributesConfiguration attributes */ + attributes?: (flyteidl.admin.IMatchingAttributes|null); - /** NodeExecutionGetDataResponse fullInputs */ - fullInputs?: (flyteidl.core.ILiteralMap|null); + /** MatchableAttributesConfiguration domain */ + domain?: (string|null); - /** NodeExecutionGetDataResponse fullOutputs */ - fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** MatchableAttributesConfiguration project */ + project?: (string|null); - /** NodeExecutionGetDataResponse dynamicWorkflow */ - dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + /** MatchableAttributesConfiguration workflow */ + workflow?: (string|null); - /** NodeExecutionGetDataResponse flyteUrls */ - flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** MatchableAttributesConfiguration launchPlan */ + launchPlan?: (string|null); } - /** Represents a NodeExecutionGetDataResponse. */ - class NodeExecutionGetDataResponse implements INodeExecutionGetDataResponse { + /** Represents a MatchableAttributesConfiguration. */ + class MatchableAttributesConfiguration implements IMatchableAttributesConfiguration { /** - * Constructs a new NodeExecutionGetDataResponse. + * Constructs a new MatchableAttributesConfiguration. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionGetDataResponse); - - /** NodeExecutionGetDataResponse inputs. */ - public inputs?: (flyteidl.admin.IUrlBlob|null); + constructor(properties?: flyteidl.admin.IMatchableAttributesConfiguration); - /** NodeExecutionGetDataResponse outputs. */ - public outputs?: (flyteidl.admin.IUrlBlob|null); + /** MatchableAttributesConfiguration attributes. */ + public attributes?: (flyteidl.admin.IMatchingAttributes|null); - /** NodeExecutionGetDataResponse fullInputs. */ - public fullInputs?: (flyteidl.core.ILiteralMap|null); + /** MatchableAttributesConfiguration domain. */ + public domain: string; - /** NodeExecutionGetDataResponse fullOutputs. */ - public fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** MatchableAttributesConfiguration project. */ + public project: string; - /** NodeExecutionGetDataResponse dynamicWorkflow. */ - public dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + /** MatchableAttributesConfiguration workflow. */ + public workflow: string; - /** NodeExecutionGetDataResponse flyteUrls. */ - public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** MatchableAttributesConfiguration launchPlan. */ + public launchPlan: string; /** - * Creates a new NodeExecutionGetDataResponse instance using the specified properties. + * Creates a new MatchableAttributesConfiguration instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionGetDataResponse instance + * @returns MatchableAttributesConfiguration instance */ - public static create(properties?: flyteidl.admin.INodeExecutionGetDataResponse): flyteidl.admin.NodeExecutionGetDataResponse; + public static create(properties?: flyteidl.admin.IMatchableAttributesConfiguration): flyteidl.admin.MatchableAttributesConfiguration; /** - * 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 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.INodeExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IMatchableAttributesConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionGetDataResponse 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 NodeExecutionGetDataResponse + * @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.NodeExecutionGetDataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchableAttributesConfiguration; /** - * Verifies a NodeExecutionGetDataResponse 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 EmailMessage. */ - interface IEmailMessage { - - /** EmailMessage recipientsEmail */ - recipientsEmail?: (string[]|null); - - /** EmailMessage senderEmail */ - senderEmail?: (string|null); - - /** EmailMessage subjectLine */ - subjectLine?: (string|null); + /** Properties of a ListMatchableAttributesRequest. */ + interface IListMatchableAttributesRequest { - /** EmailMessage body */ - body?: (string|null); + /** ListMatchableAttributesRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); } - /** Represents an EmailMessage. */ - class EmailMessage implements IEmailMessage { + /** Represents a ListMatchableAttributesRequest. */ + class ListMatchableAttributesRequest implements IListMatchableAttributesRequest { /** - * Constructs a new EmailMessage. + * Constructs a new ListMatchableAttributesRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEmailMessage); - - /** EmailMessage recipientsEmail. */ - public recipientsEmail: string[]; - - /** EmailMessage senderEmail. */ - public senderEmail: string; - - /** EmailMessage subjectLine. */ - public subjectLine: string; + constructor(properties?: flyteidl.admin.IListMatchableAttributesRequest); - /** EmailMessage body. */ - public body: string; + /** ListMatchableAttributesRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; /** - * Creates a new EmailMessage instance using the specified properties. + * Creates a new ListMatchableAttributesRequest instance using the specified properties. * @param [properties] Properties to set - * @returns EmailMessage instance + * @returns ListMatchableAttributesRequest instance */ - public static create(properties?: flyteidl.admin.IEmailMessage): flyteidl.admin.EmailMessage; + public static create(properties?: flyteidl.admin.IListMatchableAttributesRequest): flyteidl.admin.ListMatchableAttributesRequest; /** - * 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 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.IEmailMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListMatchableAttributesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EmailMessage 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 EmailMessage + * @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.EmailMessage; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesRequest; /** - * Verifies an EmailMessage 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 a Domain. */ - interface IDomain { - - /** Domain id */ - id?: (string|null); + /** Properties of a ListMatchableAttributesResponse. */ + interface IListMatchableAttributesResponse { - /** Domain name */ - name?: (string|null); + /** ListMatchableAttributesResponse configurations */ + configurations?: (flyteidl.admin.IMatchableAttributesConfiguration[]|null); } - /** Represents a Domain. */ - class Domain implements IDomain { + /** Represents a ListMatchableAttributesResponse. */ + class ListMatchableAttributesResponse implements IListMatchableAttributesResponse { /** - * Constructs a new Domain. + * Constructs a new ListMatchableAttributesResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDomain); + constructor(properties?: flyteidl.admin.IListMatchableAttributesResponse); - /** Domain id. */ - public id: string; - - /** Domain name. */ - public name: string; + /** ListMatchableAttributesResponse configurations. */ + public configurations: flyteidl.admin.IMatchableAttributesConfiguration[]; /** - * Creates a new Domain instance using the specified properties. + * Creates a new ListMatchableAttributesResponse instance using the specified properties. * @param [properties] Properties to set - * @returns Domain instance + * @returns ListMatchableAttributesResponse instance */ - public static create(properties?: flyteidl.admin.IDomain): flyteidl.admin.Domain; + public static create(properties?: flyteidl.admin.IListMatchableAttributesResponse): flyteidl.admin.ListMatchableAttributesResponse; /** - * 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 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.IDomain, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListMatchableAttributesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Domain 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 Domain + * @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.Domain; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesResponse; /** - * Verifies a Domain 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 Project. */ - interface IProject { - - /** Project id */ - id?: (string|null); - - /** Project name */ - name?: (string|null); - - /** Project domains */ - domains?: (flyteidl.admin.IDomain[]|null); - - /** Project description */ - description?: (string|null); - - /** Project labels */ - labels?: (flyteidl.admin.ILabels|null); + /** Properties of a NodeExecutionGetRequest. */ + interface INodeExecutionGetRequest { - /** Project state */ - state?: (flyteidl.admin.Project.ProjectState|null); + /** NodeExecutionGetRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); } - /** Represents a Project. */ - class Project implements IProject { + /** Represents a NodeExecutionGetRequest. */ + class NodeExecutionGetRequest implements INodeExecutionGetRequest { /** - * Constructs a new Project. + * Constructs a new NodeExecutionGetRequest. * @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[]; - - /** Project description. */ - public description: string; - - /** Project labels. */ - public labels?: (flyteidl.admin.ILabels|null); + constructor(properties?: flyteidl.admin.INodeExecutionGetRequest); - /** Project state. */ - public state: flyteidl.admin.Project.ProjectState; + /** NodeExecutionGetRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); /** - * Creates a new Project instance using the specified properties. + * Creates a new NodeExecutionGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Project instance + * @returns NodeExecutionGetRequest instance */ - public static create(properties?: flyteidl.admin.IProject): flyteidl.admin.Project; + public static create(properties?: flyteidl.admin.INodeExecutionGetRequest): flyteidl.admin.NodeExecutionGetRequest; /** - * 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 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.IProject, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Project 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 Project + * @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.Project; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetRequest; /** - * Verifies a Project 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); } - namespace Project { - - /** ProjectState enum. */ - enum ProjectState { - ACTIVE = 0, - ARCHIVED = 1, - SYSTEM_GENERATED = 2 - } - } + /** Properties of a NodeExecutionListRequest. */ + interface INodeExecutionListRequest { - /** Properties of a Projects. */ - interface IProjects { + /** NodeExecutionListRequest workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Projects projects */ - projects?: (flyteidl.admin.IProject[]|null); + /** NodeExecutionListRequest limit */ + limit?: (number|null); - /** Projects token */ + /** NodeExecutionListRequest token */ token?: (string|null); + + /** NodeExecutionListRequest filters */ + filters?: (string|null); + + /** NodeExecutionListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NodeExecutionListRequest uniqueParentId */ + uniqueParentId?: (string|null); } - /** Represents a Projects. */ - class Projects implements IProjects { + /** Represents a NodeExecutionListRequest. */ + class NodeExecutionListRequest implements INodeExecutionListRequest { /** - * Constructs a new Projects. + * Constructs a new NodeExecutionListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjects); + constructor(properties?: flyteidl.admin.INodeExecutionListRequest); - /** Projects projects. */ - public projects: flyteidl.admin.IProject[]; + /** NodeExecutionListRequest workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Projects token. */ + /** NodeExecutionListRequest limit. */ + public limit: number; + + /** 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 Projects instance using the specified properties. + * Creates a new NodeExecutionListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Projects instance + * @returns NodeExecutionListRequest instance */ - public static create(properties?: flyteidl.admin.IProjects): flyteidl.admin.Projects; + public static create(properties?: flyteidl.admin.INodeExecutionListRequest): flyteidl.admin.NodeExecutionListRequest; /** - * 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 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.IProjects, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Projects 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 Projects + * @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.Projects; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionListRequest; /** - * Verifies a Projects 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 ProjectListRequest. */ - interface IProjectListRequest { + /** Properties of a NodeExecutionForTaskListRequest. */ + interface INodeExecutionForTaskListRequest { - /** ProjectListRequest limit */ + /** NodeExecutionForTaskListRequest taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** NodeExecutionForTaskListRequest limit */ limit?: (number|null); - /** ProjectListRequest token */ + /** NodeExecutionForTaskListRequest token */ token?: (string|null); - /** ProjectListRequest filters */ + /** NodeExecutionForTaskListRequest filters */ filters?: (string|null); - /** ProjectListRequest sortBy */ + /** NodeExecutionForTaskListRequest sortBy */ sortBy?: (flyteidl.admin.ISort|null); } - /** Represents a ProjectListRequest. */ - class ProjectListRequest implements IProjectListRequest { + /** Represents a NodeExecutionForTaskListRequest. */ + class NodeExecutionForTaskListRequest implements INodeExecutionForTaskListRequest { /** - * Constructs a new ProjectListRequest. + * Constructs a new NodeExecutionForTaskListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectListRequest); + constructor(properties?: flyteidl.admin.INodeExecutionForTaskListRequest); - /** ProjectListRequest limit. */ + /** NodeExecutionForTaskListRequest taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** NodeExecutionForTaskListRequest limit. */ public limit: number; - /** ProjectListRequest token. */ + /** NodeExecutionForTaskListRequest token. */ public token: string; - /** ProjectListRequest filters. */ + /** NodeExecutionForTaskListRequest filters. */ public filters: string; - /** ProjectListRequest sortBy. */ + /** NodeExecutionForTaskListRequest sortBy. */ public sortBy?: (flyteidl.admin.ISort|null); /** - * Creates a new ProjectListRequest instance using the specified properties. + * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectListRequest instance + * @returns NodeExecutionForTaskListRequest instance */ - public static create(properties?: flyteidl.admin.IProjectListRequest): flyteidl.admin.ProjectListRequest; + public static create(properties?: flyteidl.admin.INodeExecutionForTaskListRequest): flyteidl.admin.NodeExecutionForTaskListRequest; /** - * 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 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.IProjectListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionForTaskListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectListRequest 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 ProjectListRequest + * @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.ProjectListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionForTaskListRequest; /** - * Verifies a ProjectListRequest 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 a ProjectRegisterRequest. */ - interface IProjectRegisterRequest { + /** Properties of a NodeExecution. */ + interface INodeExecution { - /** ProjectRegisterRequest project */ - project?: (flyteidl.admin.IProject|null); - } + /** NodeExecution id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); - /** Represents a ProjectRegisterRequest. */ - class ProjectRegisterRequest implements IProjectRegisterRequest { + /** NodeExecution inputUri */ + inputUri?: (string|null); - /** - * Constructs a new ProjectRegisterRequest. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IProjectRegisterRequest); + /** NodeExecution closure */ + closure?: (flyteidl.admin.INodeExecutionClosure|null); - /** ProjectRegisterRequest project. */ - public project?: (flyteidl.admin.IProject|null); + /** NodeExecution metadata */ + metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + } + + /** Represents a NodeExecution. */ + class NodeExecution implements INodeExecution { /** - * Creates a new ProjectRegisterRequest instance using the specified properties. + * Constructs a new NodeExecution. * @param [properties] Properties to set - * @returns ProjectRegisterRequest instance */ - public static create(properties?: flyteidl.admin.IProjectRegisterRequest): flyteidl.admin.ProjectRegisterRequest; + constructor(properties?: flyteidl.admin.INodeExecution); - /** - * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. - * @param message ProjectRegisterRequest message or plain object to encode + /** NodeExecution id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** NodeExecution inputUri. */ + public inputUri: string; + + /** NodeExecution closure. */ + public closure?: (flyteidl.admin.INodeExecutionClosure|null); + + /** NodeExecution metadata. */ + public metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + + /** + * Creates a new NodeExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecution instance + */ + public static create(properties?: flyteidl.admin.INodeExecution): flyteidl.admin.NodeExecution; + + /** + * 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.IProjectRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectRegisterRequest 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 ProjectRegisterRequest + * @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.ProjectRegisterRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecution; /** - * Verifies a ProjectRegisterRequest 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 ProjectRegisterResponse. */ - interface IProjectRegisterResponse { + /** Properties of a NodeExecutionMetaData. */ + interface INodeExecutionMetaData { + + /** NodeExecutionMetaData retryGroup */ + retryGroup?: (string|null); + + /** NodeExecutionMetaData isParentNode */ + isParentNode?: (boolean|null); + + /** NodeExecutionMetaData specNodeId */ + specNodeId?: (string|null); + + /** NodeExecutionMetaData isDynamic */ + isDynamic?: (boolean|null); + + /** NodeExecutionMetaData isArray */ + isArray?: (boolean|null); } - /** Represents a ProjectRegisterResponse. */ - class ProjectRegisterResponse implements IProjectRegisterResponse { + /** Represents a NodeExecutionMetaData. */ + class NodeExecutionMetaData implements INodeExecutionMetaData { /** - * Constructs a new ProjectRegisterResponse. + * Constructs a new NodeExecutionMetaData. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectRegisterResponse); + 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; + + /** NodeExecutionMetaData isArray. */ + public isArray: boolean; /** - * Creates a new ProjectRegisterResponse instance using the specified properties. + * Creates a new NodeExecutionMetaData instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectRegisterResponse instance + * @returns NodeExecutionMetaData instance */ - public static create(properties?: flyteidl.admin.IProjectRegisterResponse): flyteidl.admin.ProjectRegisterResponse; + public static create(properties?: flyteidl.admin.INodeExecutionMetaData): flyteidl.admin.NodeExecutionMetaData; /** - * 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 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 */ - public static encode(message: flyteidl.admin.IProjectRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionMetaData, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectRegisterResponse message from the specified reader or buffer. + * 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 ProjectRegisterResponse + * @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.ProjectRegisterResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionMetaData; /** - * Verifies a ProjectRegisterResponse message. + * 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); } - /** Properties of a ProjectUpdateResponse. */ - interface IProjectUpdateResponse { + /** Properties of a NodeExecutionList. */ + interface INodeExecutionList { + + /** NodeExecutionList nodeExecutions */ + nodeExecutions?: (flyteidl.admin.INodeExecution[]|null); + + /** NodeExecutionList token */ + token?: (string|null); } - /** Represents a ProjectUpdateResponse. */ - class ProjectUpdateResponse implements IProjectUpdateResponse { + /** Represents a NodeExecutionList. */ + class NodeExecutionList implements INodeExecutionList { /** - * Constructs a new ProjectUpdateResponse. + * Constructs a new NodeExecutionList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectUpdateResponse); + constructor(properties?: flyteidl.admin.INodeExecutionList); + + /** NodeExecutionList nodeExecutions. */ + public nodeExecutions: flyteidl.admin.INodeExecution[]; + + /** NodeExecutionList token. */ + public token: string; /** - * Creates a new ProjectUpdateResponse instance using the specified properties. + * Creates a new NodeExecutionList instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectUpdateResponse instance + * @returns NodeExecutionList instance */ - public static create(properties?: flyteidl.admin.IProjectUpdateResponse): flyteidl.admin.ProjectUpdateResponse; + public static create(properties?: flyteidl.admin.INodeExecutionList): flyteidl.admin.NodeExecutionList; /** - * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. - * @param message ProjectUpdateResponse 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.IProjectUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectUpdateResponse 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 ProjectUpdateResponse + * @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.ProjectUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionList; /** - * Verifies a ProjectUpdateResponse 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 ProjectAttributes. */ - interface IProjectAttributes { + /** Properties of a NodeExecutionClosure. */ + interface INodeExecutionClosure { - /** ProjectAttributes project */ - project?: (string|null); + /** NodeExecutionClosure outputUri */ + outputUri?: (string|null); - /** ProjectAttributes matchingAttributes */ - matchingAttributes?: (flyteidl.admin.IMatchingAttributes|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); + + /** NodeExecutionClosure dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } - /** Represents a ProjectAttributes. */ - class ProjectAttributes implements IProjectAttributes { + /** Represents a NodeExecutionClosure. */ + class NodeExecutionClosure implements INodeExecutionClosure { /** - * Constructs a new ProjectAttributes. + * Constructs a new NodeExecutionClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributes); + constructor(properties?: flyteidl.admin.INodeExecutionClosure); - /** ProjectAttributes project. */ - public project: string; + /** NodeExecutionClosure outputUri. */ + public outputUri: string; - /** ProjectAttributes matchingAttributes. */ - public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** 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"); + + /** NodeExecutionClosure targetMetadata. */ + public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); /** - * Creates a new ProjectAttributes instance using the specified properties. + * Creates a new NodeExecutionClosure instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributes instance + * @returns NodeExecutionClosure instance */ - public static create(properties?: flyteidl.admin.IProjectAttributes): flyteidl.admin.ProjectAttributes; + public static create(properties?: flyteidl.admin.INodeExecutionClosure): flyteidl.admin.NodeExecutionClosure; /** - * 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 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.IProjectAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributes 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 ProjectAttributes + * @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.ProjectAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionClosure; /** - * Verifies a ProjectAttributes 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 ProjectAttributesUpdateRequest. */ - interface IProjectAttributesUpdateRequest { - - /** ProjectAttributesUpdateRequest attributes */ - attributes?: (flyteidl.admin.IProjectAttributes|null); + /** Properties of a WorkflowNodeMetadata. */ + interface IWorkflowNodeMetadata { + + /** WorkflowNodeMetadata executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a ProjectAttributesUpdateRequest. */ - class ProjectAttributesUpdateRequest implements IProjectAttributesUpdateRequest { + /** Represents a WorkflowNodeMetadata. */ + class WorkflowNodeMetadata implements IWorkflowNodeMetadata { /** - * Constructs a new ProjectAttributesUpdateRequest. + * Constructs a new WorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesUpdateRequest); + constructor(properties?: flyteidl.admin.IWorkflowNodeMetadata); - /** ProjectAttributesUpdateRequest attributes. */ - public attributes?: (flyteidl.admin.IProjectAttributes|null); + /** WorkflowNodeMetadata executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. + * Creates a new WorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesUpdateRequest instance + * @returns WorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesUpdateRequest): flyteidl.admin.ProjectAttributesUpdateRequest; + public static create(properties?: flyteidl.admin.IWorkflowNodeMetadata): flyteidl.admin.WorkflowNodeMetadata; /** - * 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 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.IProjectAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesUpdateRequest 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 ProjectAttributesUpdateRequest + * @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.ProjectAttributesUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowNodeMetadata; /** - * Verifies a ProjectAttributesUpdateRequest 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 ProjectAttributesUpdateResponse. */ - interface IProjectAttributesUpdateResponse { + /** 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); } - /** Represents a ProjectAttributesUpdateResponse. */ - class ProjectAttributesUpdateResponse implements IProjectAttributesUpdateResponse { + /** Represents a TaskNodeMetadata. */ + class TaskNodeMetadata implements ITaskNodeMetadata { /** - * Constructs a new ProjectAttributesUpdateResponse. + * Constructs a new TaskNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesUpdateResponse); + 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; /** - * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. + * Creates a new TaskNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesUpdateResponse instance + * @returns TaskNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesUpdateResponse): flyteidl.admin.ProjectAttributesUpdateResponse; + public static create(properties?: flyteidl.admin.ITaskNodeMetadata): flyteidl.admin.TaskNodeMetadata; /** - * 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 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.IProjectAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesUpdateResponse 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 ProjectAttributesUpdateResponse + * @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.ProjectAttributesUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskNodeMetadata; /** - * Verifies a ProjectAttributesUpdateResponse 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 ProjectAttributesGetRequest. */ - interface IProjectAttributesGetRequest { + /** Properties of a DynamicWorkflowNodeMetadata. */ + interface IDynamicWorkflowNodeMetadata { - /** ProjectAttributesGetRequest project */ - project?: (string|null); + /** DynamicWorkflowNodeMetadata id */ + id?: (flyteidl.core.IIdentifier|null); - /** ProjectAttributesGetRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** DynamicWorkflowNodeMetadata compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } - /** Represents a ProjectAttributesGetRequest. */ - class ProjectAttributesGetRequest implements IProjectAttributesGetRequest { + /** Represents a DynamicWorkflowNodeMetadata. */ + class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { /** - * Constructs a new ProjectAttributesGetRequest. + * Constructs a new DynamicWorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesGetRequest); + constructor(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata); - /** ProjectAttributesGetRequest project. */ - public project: string; + /** DynamicWorkflowNodeMetadata id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** ProjectAttributesGetRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** DynamicWorkflowNodeMetadata compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; /** - * Creates a new ProjectAttributesGetRequest instance using the specified properties. + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesGetRequest instance + * @returns DynamicWorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesGetRequest): flyteidl.admin.ProjectAttributesGetRequest; + public static create(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata): flyteidl.admin.DynamicWorkflowNodeMetadata; /** - * 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 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.IProjectAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesGetRequest 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 ProjectAttributesGetRequest + * @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.ProjectAttributesGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DynamicWorkflowNodeMetadata; /** - * Verifies a ProjectAttributesGetRequest 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 ProjectAttributesGetResponse. */ - interface IProjectAttributesGetResponse { + /** Properties of a NodeExecutionGetDataRequest. */ + interface INodeExecutionGetDataRequest { - /** ProjectAttributesGetResponse attributes */ - attributes?: (flyteidl.admin.IProjectAttributes|null); + /** NodeExecutionGetDataRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); } - /** Represents a ProjectAttributesGetResponse. */ - class ProjectAttributesGetResponse implements IProjectAttributesGetResponse { + /** Represents a NodeExecutionGetDataRequest. */ + class NodeExecutionGetDataRequest implements INodeExecutionGetDataRequest { /** - * Constructs a new ProjectAttributesGetResponse. + * Constructs a new NodeExecutionGetDataRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesGetResponse); + constructor(properties?: flyteidl.admin.INodeExecutionGetDataRequest); - /** ProjectAttributesGetResponse attributes. */ - public attributes?: (flyteidl.admin.IProjectAttributes|null); + /** NodeExecutionGetDataRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); /** - * Creates a new ProjectAttributesGetResponse instance using the specified properties. + * Creates a new NodeExecutionGetDataRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesGetResponse instance + * @returns NodeExecutionGetDataRequest instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesGetResponse): flyteidl.admin.ProjectAttributesGetResponse; + public static create(properties?: flyteidl.admin.INodeExecutionGetDataRequest): flyteidl.admin.NodeExecutionGetDataRequest; /** - * 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 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.IProjectAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesGetResponse 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 ProjectAttributesGetResponse + * @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.ProjectAttributesGetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetDataRequest; /** - * Verifies a ProjectAttributesGetResponse 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 a ProjectAttributesDeleteRequest. */ - interface IProjectAttributesDeleteRequest { + /** Properties of a NodeExecutionGetDataResponse. */ + interface INodeExecutionGetDataResponse { - /** ProjectAttributesDeleteRequest project */ - project?: (string|null); + /** NodeExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); - /** ProjectAttributesDeleteRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** NodeExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); + + /** NodeExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse dynamicWorkflow */ + dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + + /** NodeExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); } - /** Represents a ProjectAttributesDeleteRequest. */ - class ProjectAttributesDeleteRequest implements IProjectAttributesDeleteRequest { + /** Represents a NodeExecutionGetDataResponse. */ + class NodeExecutionGetDataResponse implements INodeExecutionGetDataResponse { /** - * Constructs a new ProjectAttributesDeleteRequest. + * Constructs a new NodeExecutionGetDataResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesDeleteRequest); + constructor(properties?: flyteidl.admin.INodeExecutionGetDataResponse); - /** ProjectAttributesDeleteRequest project. */ - public project: string; + /** NodeExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); - /** ProjectAttributesDeleteRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** NodeExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); + + /** NodeExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse dynamicWorkflow. */ + public dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + + /** NodeExecutionGetDataResponse flyteUrls. */ + public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); /** - * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. + * Creates a new NodeExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesDeleteRequest instance + * @returns NodeExecutionGetDataResponse instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesDeleteRequest): flyteidl.admin.ProjectAttributesDeleteRequest; + public static create(properties?: flyteidl.admin.INodeExecutionGetDataResponse): flyteidl.admin.NodeExecutionGetDataResponse; /** - * 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 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.IProjectAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesDeleteRequest 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 ProjectAttributesDeleteRequest + * @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.ProjectAttributesDeleteRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetDataResponse; /** - * Verifies a ProjectAttributesDeleteRequest 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); } - /** Properties of a ProjectAttributesDeleteResponse. */ - interface IProjectAttributesDeleteResponse { + /** Properties of an EmailMessage. */ + interface IEmailMessage { + + /** EmailMessage recipientsEmail */ + recipientsEmail?: (string[]|null); + + /** EmailMessage senderEmail */ + senderEmail?: (string|null); + + /** EmailMessage subjectLine */ + subjectLine?: (string|null); + + /** EmailMessage body */ + body?: (string|null); } - /** Represents a ProjectAttributesDeleteResponse. */ - class ProjectAttributesDeleteResponse implements IProjectAttributesDeleteResponse { + /** Represents an EmailMessage. */ + class EmailMessage implements IEmailMessage { /** - * Constructs a new ProjectAttributesDeleteResponse. + * Constructs a new EmailMessage. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesDeleteResponse); + constructor(properties?: flyteidl.admin.IEmailMessage); + + /** EmailMessage recipientsEmail. */ + public recipientsEmail: string[]; + + /** EmailMessage senderEmail. */ + public senderEmail: string; + + /** EmailMessage subjectLine. */ + public subjectLine: string; + + /** EmailMessage body. */ + public body: string; /** - * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. + * Creates a new EmailMessage instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesDeleteResponse instance + * @returns EmailMessage instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesDeleteResponse): flyteidl.admin.ProjectAttributesDeleteResponse; + public static create(properties?: flyteidl.admin.IEmailMessage): flyteidl.admin.EmailMessage; /** - * 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 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.IProjectAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEmailMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesDeleteResponse 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 ProjectAttributesDeleteResponse + * @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.ProjectAttributesDeleteResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EmailMessage; /** - * Verifies a ProjectAttributesDeleteResponse 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 ProjectDomainAttributes. */ - interface IProjectDomainAttributes { - - /** ProjectDomainAttributes project */ - project?: (string|null); + /** Properties of a Domain. */ + interface IDomain { - /** ProjectDomainAttributes domain */ - domain?: (string|null); + /** Domain id */ + id?: (string|null); - /** ProjectDomainAttributes matchingAttributes */ - matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** Domain name */ + name?: (string|null); } - /** Represents a ProjectDomainAttributes. */ - class ProjectDomainAttributes implements IProjectDomainAttributes { + /** Represents a Domain. */ + class Domain implements IDomain { /** - * Constructs a new ProjectDomainAttributes. + * Constructs a new Domain. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributes); - - /** ProjectDomainAttributes project. */ - public project: string; + constructor(properties?: flyteidl.admin.IDomain); - /** ProjectDomainAttributes domain. */ - public domain: string; + /** Domain id. */ + public id: string; - /** ProjectDomainAttributes matchingAttributes. */ - public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** Domain name. */ + public name: string; /** - * Creates a new ProjectDomainAttributes instance using the specified properties. + * Creates a new Domain instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributes instance + * @returns Domain instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributes): flyteidl.admin.ProjectDomainAttributes; + public static create(properties?: flyteidl.admin.IDomain): flyteidl.admin.Domain; /** - * 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 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.IProjectDomainAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDomain, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributes 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 ProjectDomainAttributes + * @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.ProjectDomainAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Domain; /** - * Verifies a ProjectDomainAttributes 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 ProjectDomainAttributesUpdateRequest. */ - interface IProjectDomainAttributesUpdateRequest { + /** Properties of a Project. */ + interface IProject { - /** ProjectDomainAttributesUpdateRequest attributes */ - attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** Project id */ + id?: (string|null); + + /** Project name */ + name?: (string|null); + + /** Project domains */ + domains?: (flyteidl.admin.IDomain[]|null); + + /** Project description */ + description?: (string|null); + + /** Project labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** Project state */ + state?: (flyteidl.admin.Project.ProjectState|null); } - /** Represents a ProjectDomainAttributesUpdateRequest. */ - class ProjectDomainAttributesUpdateRequest implements IProjectDomainAttributesUpdateRequest { + /** Represents a Project. */ + class Project implements IProject { /** - * Constructs a new ProjectDomainAttributesUpdateRequest. + * Constructs a new Project. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest); + constructor(properties?: flyteidl.admin.IProject); - /** ProjectDomainAttributesUpdateRequest attributes. */ - public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** Project id. */ + public id: string; + + /** Project name. */ + public name: string; + + /** Project domains. */ + public domains: flyteidl.admin.IDomain[]; + + /** Project description. */ + public description: string; + + /** Project labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** Project state. */ + public state: flyteidl.admin.Project.ProjectState; /** - * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. + * Creates a new Project instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesUpdateRequest instance + * @returns Project instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest): flyteidl.admin.ProjectDomainAttributesUpdateRequest; + public static create(properties?: flyteidl.admin.IProject): flyteidl.admin.Project; /** - * 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 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.IProjectDomainAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProject, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesUpdateRequest 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 ProjectDomainAttributesUpdateRequest + * @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.ProjectDomainAttributesUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Project; /** - * Verifies a ProjectDomainAttributesUpdateRequest 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 ProjectDomainAttributesUpdateResponse. */ - interface IProjectDomainAttributesUpdateResponse { + namespace Project { + + /** ProjectState enum. */ + enum ProjectState { + ACTIVE = 0, + ARCHIVED = 1, + SYSTEM_GENERATED = 2 + } } - /** Represents a ProjectDomainAttributesUpdateResponse. */ - class ProjectDomainAttributesUpdateResponse implements IProjectDomainAttributesUpdateResponse { + /** Properties of a Projects. */ + interface IProjects { + + /** Projects projects */ + projects?: (flyteidl.admin.IProject[]|null); + + /** Projects token */ + token?: (string|null); + } + + /** Represents a Projects. */ + class Projects implements IProjects { /** - * Constructs a new ProjectDomainAttributesUpdateResponse. + * Constructs a new Projects. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse); + constructor(properties?: flyteidl.admin.IProjects); + + /** Projects projects. */ + public projects: flyteidl.admin.IProject[]; + + /** Projects token. */ + public token: string; /** - * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. + * Creates a new Projects instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesUpdateResponse instance + * @returns Projects instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse): flyteidl.admin.ProjectDomainAttributesUpdateResponse; + public static create(properties?: flyteidl.admin.IProjects): flyteidl.admin.Projects; /** - * 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 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.IProjectDomainAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjects, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesUpdateResponse 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 ProjectDomainAttributesUpdateResponse + * @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.ProjectDomainAttributesUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Projects; /** - * Verifies a ProjectDomainAttributesUpdateResponse 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 ProjectDomainAttributesGetRequest. */ - interface IProjectDomainAttributesGetRequest { + /** Properties of a ProjectListRequest. */ + interface IProjectListRequest { - /** ProjectDomainAttributesGetRequest project */ - project?: (string|null); + /** ProjectListRequest limit */ + limit?: (number|null); - /** ProjectDomainAttributesGetRequest domain */ - domain?: (string|null); + /** ProjectListRequest token */ + token?: (string|null); - /** ProjectDomainAttributesGetRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** ProjectListRequest filters */ + filters?: (string|null); + + /** ProjectListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); } - /** Represents a ProjectDomainAttributesGetRequest. */ - class ProjectDomainAttributesGetRequest implements IProjectDomainAttributesGetRequest { + /** Represents a ProjectListRequest. */ + class ProjectListRequest implements IProjectListRequest { /** - * Constructs a new ProjectDomainAttributesGetRequest. + * Constructs a new ProjectListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest); + constructor(properties?: flyteidl.admin.IProjectListRequest); - /** ProjectDomainAttributesGetRequest project. */ - public project: string; + /** ProjectListRequest limit. */ + public limit: number; - /** ProjectDomainAttributesGetRequest domain. */ - public domain: string; + /** ProjectListRequest token. */ + public token: string; - /** ProjectDomainAttributesGetRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** ProjectListRequest filters. */ + public filters: string; + + /** ProjectListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); /** - * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. + * Creates a new ProjectListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesGetRequest instance + * @returns ProjectListRequest instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest): flyteidl.admin.ProjectDomainAttributesGetRequest; + public static create(properties?: flyteidl.admin.IProjectListRequest): flyteidl.admin.ProjectListRequest; /** - * 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 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.IProjectDomainAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesGetRequest 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 ProjectDomainAttributesGetRequest + * @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.ProjectDomainAttributesGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectListRequest; /** - * Verifies a ProjectDomainAttributesGetRequest 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 ProjectDomainAttributesGetResponse. */ - interface IProjectDomainAttributesGetResponse { + /** Properties of a ProjectRegisterRequest. */ + interface IProjectRegisterRequest { - /** ProjectDomainAttributesGetResponse attributes */ - attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** ProjectRegisterRequest project */ + project?: (flyteidl.admin.IProject|null); } - /** Represents a ProjectDomainAttributesGetResponse. */ - class ProjectDomainAttributesGetResponse implements IProjectDomainAttributesGetResponse { + /** Represents a ProjectRegisterRequest. */ + class ProjectRegisterRequest implements IProjectRegisterRequest { /** - * Constructs a new ProjectDomainAttributesGetResponse. + * Constructs a new ProjectRegisterRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse); + constructor(properties?: flyteidl.admin.IProjectRegisterRequest); - /** ProjectDomainAttributesGetResponse attributes. */ - public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** ProjectRegisterRequest project. */ + public project?: (flyteidl.admin.IProject|null); /** - * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. + * Creates a new ProjectRegisterRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesGetResponse instance + * @returns ProjectRegisterRequest instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse): flyteidl.admin.ProjectDomainAttributesGetResponse; + public static create(properties?: flyteidl.admin.IProjectRegisterRequest): flyteidl.admin.ProjectRegisterRequest; /** - * 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 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.IProjectDomainAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesGetResponse 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 ProjectDomainAttributesGetResponse + * @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.ProjectDomainAttributesGetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectRegisterRequest; /** - * Verifies a ProjectDomainAttributesGetResponse 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 ProjectDomainAttributesDeleteRequest. */ - interface IProjectDomainAttributesDeleteRequest { - - /** ProjectDomainAttributesDeleteRequest project */ - project?: (string|null); - - /** ProjectDomainAttributesDeleteRequest domain */ - domain?: (string|null); - - /** ProjectDomainAttributesDeleteRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** Properties of a ProjectRegisterResponse. */ + interface IProjectRegisterResponse { } - /** Represents a ProjectDomainAttributesDeleteRequest. */ - class ProjectDomainAttributesDeleteRequest implements IProjectDomainAttributesDeleteRequest { + /** Represents a ProjectRegisterResponse. */ + class ProjectRegisterResponse implements IProjectRegisterResponse { /** - * Constructs a new ProjectDomainAttributesDeleteRequest. + * Constructs a new ProjectRegisterResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest); - - /** ProjectDomainAttributesDeleteRequest project. */ - public project: string; - - /** ProjectDomainAttributesDeleteRequest domain. */ - public domain: string; - - /** ProjectDomainAttributesDeleteRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + constructor(properties?: flyteidl.admin.IProjectRegisterResponse); /** - * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. + * Creates a new ProjectRegisterResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesDeleteRequest instance + * @returns ProjectRegisterResponse instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest): flyteidl.admin.ProjectDomainAttributesDeleteRequest; + public static create(properties?: flyteidl.admin.IProjectRegisterResponse): flyteidl.admin.ProjectRegisterResponse; /** - * 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 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.IProjectDomainAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesDeleteRequest 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 ProjectDomainAttributesDeleteRequest + * @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.ProjectDomainAttributesDeleteRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectRegisterResponse; /** - * Verifies a ProjectDomainAttributesDeleteRequest 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 ProjectDomainAttributesDeleteResponse. */ - interface IProjectDomainAttributesDeleteResponse { + /** Properties of a ProjectUpdateResponse. */ + interface IProjectUpdateResponse { } - /** Represents a ProjectDomainAttributesDeleteResponse. */ - class ProjectDomainAttributesDeleteResponse implements IProjectDomainAttributesDeleteResponse { + /** Represents a ProjectUpdateResponse. */ + class ProjectUpdateResponse implements IProjectUpdateResponse { /** - * Constructs a new ProjectDomainAttributesDeleteResponse. + * Constructs a new ProjectUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse); + constructor(properties?: flyteidl.admin.IProjectUpdateResponse); /** - * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. + * Creates a new ProjectUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesDeleteResponse instance + * @returns ProjectUpdateResponse instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse): flyteidl.admin.ProjectDomainAttributesDeleteResponse; + public static create(properties?: flyteidl.admin.IProjectUpdateResponse): flyteidl.admin.ProjectUpdateResponse; /** - * 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 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.IProjectDomainAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesDeleteResponse 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 ProjectDomainAttributesDeleteResponse + * @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.ProjectDomainAttributesDeleteResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectUpdateResponse; /** - * Verifies a ProjectDomainAttributesDeleteResponse 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 SignalGetOrCreateRequest. */ - interface ISignalGetOrCreateRequest { + /** Properties of a ProjectAttributes. */ + interface IProjectAttributes { - /** SignalGetOrCreateRequest id */ - id?: (flyteidl.core.ISignalIdentifier|null); + /** ProjectAttributes project */ + project?: (string|null); - /** SignalGetOrCreateRequest type */ - type?: (flyteidl.core.ILiteralType|null); + /** ProjectAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); } - /** Represents a SignalGetOrCreateRequest. */ - class SignalGetOrCreateRequest implements ISignalGetOrCreateRequest { + /** Represents a ProjectAttributes. */ + class ProjectAttributes implements IProjectAttributes { /** - * Constructs a new SignalGetOrCreateRequest. + * Constructs a new ProjectAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalGetOrCreateRequest); + constructor(properties?: flyteidl.admin.IProjectAttributes); - /** SignalGetOrCreateRequest id. */ - public id?: (flyteidl.core.ISignalIdentifier|null); + /** ProjectAttributes project. */ + public project: string; - /** SignalGetOrCreateRequest type. */ - public type?: (flyteidl.core.ILiteralType|null); + /** ProjectAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); /** - * Creates a new SignalGetOrCreateRequest instance using the specified properties. + * Creates a new ProjectAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns SignalGetOrCreateRequest instance + * @returns ProjectAttributes instance */ - public static create(properties?: flyteidl.admin.ISignalGetOrCreateRequest): flyteidl.admin.SignalGetOrCreateRequest; + public static create(properties?: flyteidl.admin.IProjectAttributes): flyteidl.admin.ProjectAttributes; /** - * 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 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.ISignalGetOrCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalGetOrCreateRequest 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 SignalGetOrCreateRequest + * @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.SignalGetOrCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributes; /** - * Verifies a SignalGetOrCreateRequest 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 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 ProjectAttributesUpdateRequest. */ + interface IProjectAttributesUpdateRequest { - /** SignalListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** ProjectAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IProjectAttributes|null); } - /** Represents a SignalListRequest. */ - class SignalListRequest implements ISignalListRequest { + /** Represents a ProjectAttributesUpdateRequest. */ + class ProjectAttributesUpdateRequest implements IProjectAttributesUpdateRequest { /** - * Constructs a new SignalListRequest. + * Constructs a new ProjectAttributesUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalListRequest); - - /** SignalListRequest workflowExecutionId. */ - public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** SignalListRequest limit. */ - public limit: number; - - /** SignalListRequest token. */ - public token: string; - - /** SignalListRequest filters. */ - public filters: string; + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateRequest); - /** SignalListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** ProjectAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IProjectAttributes|null); /** - * Creates a new SignalListRequest instance using the specified properties. + * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns SignalListRequest instance + * @returns ProjectAttributesUpdateRequest instance */ - public static create(properties?: flyteidl.admin.ISignalListRequest): flyteidl.admin.SignalListRequest; + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateRequest): flyteidl.admin.ProjectAttributesUpdateRequest; /** - * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. - * @param message SignalListRequest 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.ISignalListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalListRequest 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 SignalListRequest + * @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.SignalListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesUpdateRequest; /** - * Verifies a SignalListRequest 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 SignalList. */ - interface ISignalList { - - /** SignalList signals */ - signals?: (flyteidl.admin.ISignal[]|null); - - /** SignalList token */ - token?: (string|null); + /** Properties of a ProjectAttributesUpdateResponse. */ + interface IProjectAttributesUpdateResponse { } - /** Represents a SignalList. */ - class SignalList implements ISignalList { + /** Represents a ProjectAttributesUpdateResponse. */ + class ProjectAttributesUpdateResponse implements IProjectAttributesUpdateResponse { /** - * Constructs a new SignalList. + * Constructs a new ProjectAttributesUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalList); - - /** SignalList signals. */ - public signals: flyteidl.admin.ISignal[]; - - /** SignalList token. */ - public token: string; + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateResponse); /** - * Creates a new SignalList instance using the specified properties. + * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns SignalList instance + * @returns ProjectAttributesUpdateResponse instance */ - public static create(properties?: flyteidl.admin.ISignalList): flyteidl.admin.SignalList; + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateResponse): flyteidl.admin.ProjectAttributesUpdateResponse; /** - * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. - * @param message SignalList 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.ISignalList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalList 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 SignalList + * @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.SignalList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesUpdateResponse; /** - * Verifies a SignalList 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 a SignalSetRequest. */ - interface ISignalSetRequest { + /** Properties of a ProjectAttributesGetRequest. */ + interface IProjectAttributesGetRequest { - /** SignalSetRequest id */ - id?: (flyteidl.core.ISignalIdentifier|null); + /** ProjectAttributesGetRequest project */ + project?: (string|null); - /** SignalSetRequest value */ - value?: (flyteidl.core.ILiteral|null); + /** ProjectAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); } - /** Represents a SignalSetRequest. */ - class SignalSetRequest implements ISignalSetRequest { + /** Represents a ProjectAttributesGetRequest. */ + class ProjectAttributesGetRequest implements IProjectAttributesGetRequest { /** - * Constructs a new SignalSetRequest. + * Constructs a new ProjectAttributesGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalSetRequest); + constructor(properties?: flyteidl.admin.IProjectAttributesGetRequest); - /** SignalSetRequest id. */ - public id?: (flyteidl.core.ISignalIdentifier|null); + /** ProjectAttributesGetRequest project. */ + public project: string; - /** SignalSetRequest value. */ - public value?: (flyteidl.core.ILiteral|null); + /** ProjectAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; /** - * Creates a new SignalSetRequest instance using the specified properties. + * Creates a new ProjectAttributesGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns SignalSetRequest instance + * @returns ProjectAttributesGetRequest instance */ - public static create(properties?: flyteidl.admin.ISignalSetRequest): flyteidl.admin.SignalSetRequest; + public static create(properties?: flyteidl.admin.IProjectAttributesGetRequest): flyteidl.admin.ProjectAttributesGetRequest; /** - * 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 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.ISignalSetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalSetRequest 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 SignalSetRequest + * @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.SignalSetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesGetRequest; /** - * Verifies a SignalSetRequest 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 SignalSetResponse. */ - interface ISignalSetResponse { + /** Properties of a ProjectAttributesGetResponse. */ + interface IProjectAttributesGetResponse { + + /** ProjectAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IProjectAttributes|null); } - /** Represents a SignalSetResponse. */ - class SignalSetResponse implements ISignalSetResponse { + /** Represents a ProjectAttributesGetResponse. */ + class ProjectAttributesGetResponse implements IProjectAttributesGetResponse { /** - * Constructs a new SignalSetResponse. + * Constructs a new ProjectAttributesGetResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalSetResponse); + constructor(properties?: flyteidl.admin.IProjectAttributesGetResponse); + + /** ProjectAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IProjectAttributes|null); /** - * Creates a new SignalSetResponse instance using the specified properties. + * Creates a new ProjectAttributesGetResponse instance using the specified properties. * @param [properties] Properties to set - * @returns SignalSetResponse instance + * @returns ProjectAttributesGetResponse instance */ - public static create(properties?: flyteidl.admin.ISignalSetResponse): flyteidl.admin.SignalSetResponse; + public static create(properties?: flyteidl.admin.IProjectAttributesGetResponse): flyteidl.admin.ProjectAttributesGetResponse; /** - * 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 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.ISignalSetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalSetResponse 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 SignalSetResponse + * @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.SignalSetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesGetResponse; /** - * Verifies a SignalSetResponse 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 Signal. */ - interface ISignal { - - /** Signal id */ - id?: (flyteidl.core.ISignalIdentifier|null); + /** Properties of a ProjectAttributesDeleteRequest. */ + interface IProjectAttributesDeleteRequest { - /** Signal type */ - type?: (flyteidl.core.ILiteralType|null); + /** ProjectAttributesDeleteRequest project */ + project?: (string|null); - /** Signal value */ - value?: (flyteidl.core.ILiteral|null); + /** ProjectAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); } - /** Represents a Signal. */ - class Signal implements ISignal { + /** Represents a ProjectAttributesDeleteRequest. */ + class ProjectAttributesDeleteRequest implements IProjectAttributesDeleteRequest { /** - * Constructs a new Signal. + * Constructs a new ProjectAttributesDeleteRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignal); - - /** Signal id. */ - public id?: (flyteidl.core.ISignalIdentifier|null); + constructor(properties?: flyteidl.admin.IProjectAttributesDeleteRequest); - /** Signal type. */ - public type?: (flyteidl.core.ILiteralType|null); + /** ProjectAttributesDeleteRequest project. */ + public project: string; - /** Signal value. */ - public value?: (flyteidl.core.ILiteral|null); + /** ProjectAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; /** - * Creates a new Signal instance using the specified properties. + * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Signal instance + * @returns ProjectAttributesDeleteRequest instance */ - public static create(properties?: flyteidl.admin.ISignal): flyteidl.admin.Signal; + public static create(properties?: flyteidl.admin.IProjectAttributesDeleteRequest): flyteidl.admin.ProjectAttributesDeleteRequest; /** - * 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 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.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Signal 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 Signal + * @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.Signal; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesDeleteRequest; /** - * Verifies a Signal 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 TaskCreateRequest. */ - interface ITaskCreateRequest { - - /** TaskCreateRequest id */ - id?: (flyteidl.core.IIdentifier|null); - - /** TaskCreateRequest spec */ - spec?: (flyteidl.admin.ITaskSpec|null); + /** Properties of a ProjectAttributesDeleteResponse. */ + interface IProjectAttributesDeleteResponse { } - /** Represents a TaskCreateRequest. */ - class TaskCreateRequest implements ITaskCreateRequest { + /** Represents a ProjectAttributesDeleteResponse. */ + class ProjectAttributesDeleteResponse implements IProjectAttributesDeleteResponse { /** - * Constructs a new TaskCreateRequest. + * Constructs a new ProjectAttributesDeleteResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskCreateRequest); - - /** TaskCreateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); - - /** TaskCreateRequest spec. */ - public spec?: (flyteidl.admin.ITaskSpec|null); + constructor(properties?: flyteidl.admin.IProjectAttributesDeleteResponse); /** - * Creates a new TaskCreateRequest instance using the specified properties. + * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskCreateRequest instance + * @returns ProjectAttributesDeleteResponse instance */ - public static create(properties?: flyteidl.admin.ITaskCreateRequest): flyteidl.admin.TaskCreateRequest; + public static create(properties?: flyteidl.admin.IProjectAttributesDeleteResponse): flyteidl.admin.ProjectAttributesDeleteResponse; /** - * 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 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.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskCreateRequest 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 TaskCreateRequest + * @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.TaskCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesDeleteResponse; /** - * Verifies a TaskCreateRequest 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 TaskCreateResponse. */ - interface ITaskCreateResponse { - } + /** Properties of a ProjectDomainAttributes. */ + interface IProjectDomainAttributes { - /** Represents a TaskCreateResponse. */ - class TaskCreateResponse implements ITaskCreateResponse { + /** ProjectDomainAttributes project */ + project?: (string|null); - /** - * Constructs a new TaskCreateResponse. + /** ProjectDomainAttributes domain */ + domain?: (string|null); + + /** ProjectDomainAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + } + + /** Represents a ProjectDomainAttributes. */ + class ProjectDomainAttributes implements IProjectDomainAttributes { + + /** + * Constructs a new ProjectDomainAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskCreateResponse); + constructor(properties?: flyteidl.admin.IProjectDomainAttributes); + + /** ProjectDomainAttributes project. */ + public project: string; + + /** ProjectDomainAttributes domain. */ + public domain: string; + + /** ProjectDomainAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); /** - * Creates a new TaskCreateResponse instance using the specified properties. + * Creates a new ProjectDomainAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns TaskCreateResponse instance + * @returns ProjectDomainAttributes instance */ - public static create(properties?: flyteidl.admin.ITaskCreateResponse): flyteidl.admin.TaskCreateResponse; + public static create(properties?: flyteidl.admin.IProjectDomainAttributes): flyteidl.admin.ProjectDomainAttributes; /** - * 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 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.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskCreateResponse 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 TaskCreateResponse + * @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.TaskCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributes; /** - * Verifies a TaskCreateResponse 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); } - /** Properties of a Task. */ - interface ITask { - - /** Task id */ - id?: (flyteidl.core.IIdentifier|null); - - /** Task closure */ - closure?: (flyteidl.admin.ITaskClosure|null); + /** Properties of a ProjectDomainAttributesUpdateRequest. */ + interface IProjectDomainAttributesUpdateRequest { - /** Task shortDescription */ - shortDescription?: (string|null); + /** ProjectDomainAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IProjectDomainAttributes|null); } - /** Represents a Task. */ - class Task implements ITask { + /** Represents a ProjectDomainAttributesUpdateRequest. */ + class ProjectDomainAttributesUpdateRequest implements IProjectDomainAttributesUpdateRequest { /** - * Constructs a new Task. + * Constructs a new ProjectDomainAttributesUpdateRequest. * @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); + constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest); - /** Task shortDescription. */ - public shortDescription: string; + /** ProjectDomainAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); /** - * Creates a new Task instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Task instance + * @returns ProjectDomainAttributesUpdateRequest instance */ - public static create(properties?: flyteidl.admin.ITask): flyteidl.admin.Task; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest): flyteidl.admin.ProjectDomainAttributesUpdateRequest; /** - * 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 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.ITask, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Task 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 Task + * @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.Task; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesUpdateRequest; /** - * Verifies a Task 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 TaskList. */ - interface ITaskList { - - /** TaskList tasks */ - tasks?: (flyteidl.admin.ITask[]|null); - - /** TaskList token */ - token?: (string|null); + /** Properties of a ProjectDomainAttributesUpdateResponse. */ + interface IProjectDomainAttributesUpdateResponse { } - /** Represents a TaskList. */ - class TaskList implements ITaskList { + /** Represents a ProjectDomainAttributesUpdateResponse. */ + class ProjectDomainAttributesUpdateResponse implements IProjectDomainAttributesUpdateResponse { /** - * Constructs a new TaskList. + * Constructs a new ProjectDomainAttributesUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskList); - - /** TaskList tasks. */ - public tasks: flyteidl.admin.ITask[]; - - /** TaskList token. */ - public token: string; + constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse); /** - * Creates a new TaskList instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskList instance + * @returns ProjectDomainAttributesUpdateResponse instance */ - public static create(properties?: flyteidl.admin.ITaskList): flyteidl.admin.TaskList; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse): flyteidl.admin.ProjectDomainAttributesUpdateResponse; /** - * 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 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.ITaskList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskList 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 TaskList + * @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.TaskList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesUpdateResponse; /** - * Verifies a TaskList 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 TaskSpec. */ - interface ITaskSpec { + /** Properties of a ProjectDomainAttributesGetRequest. */ + interface IProjectDomainAttributesGetRequest { - /** TaskSpec template */ - template?: (flyteidl.core.ITaskTemplate|null); + /** ProjectDomainAttributesGetRequest project */ + project?: (string|null); - /** TaskSpec description */ - description?: (flyteidl.admin.IDescriptionEntity|null); + /** ProjectDomainAttributesGetRequest domain */ + domain?: (string|null); + + /** ProjectDomainAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); } - /** Represents a TaskSpec. */ - class TaskSpec implements ITaskSpec { + /** Represents a ProjectDomainAttributesGetRequest. */ + class ProjectDomainAttributesGetRequest implements IProjectDomainAttributesGetRequest { /** - * Constructs a new TaskSpec. + * Constructs a new ProjectDomainAttributesGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskSpec); + constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest); - /** TaskSpec template. */ - public template?: (flyteidl.core.ITaskTemplate|null); + /** ProjectDomainAttributesGetRequest project. */ + public project: string; - /** TaskSpec description. */ - public description?: (flyteidl.admin.IDescriptionEntity|null); + /** ProjectDomainAttributesGetRequest domain. */ + public domain: string; + + /** ProjectDomainAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; /** - * Creates a new TaskSpec instance using the specified properties. + * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskSpec instance + * @returns ProjectDomainAttributesGetRequest instance */ - public static create(properties?: flyteidl.admin.ITaskSpec): flyteidl.admin.TaskSpec; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest): flyteidl.admin.ProjectDomainAttributesGetRequest; /** - * 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 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.ITaskSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskSpec 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 TaskSpec + * @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.TaskSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesGetRequest; /** - * Verifies a TaskSpec 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 TaskClosure. */ - interface ITaskClosure { - - /** TaskClosure compiledTask */ - compiledTask?: (flyteidl.core.ICompiledTask|null); + /** Properties of a ProjectDomainAttributesGetResponse. */ + interface IProjectDomainAttributesGetResponse { - /** TaskClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); + /** ProjectDomainAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IProjectDomainAttributes|null); } - /** Represents a TaskClosure. */ - class TaskClosure implements ITaskClosure { + /** Represents a ProjectDomainAttributesGetResponse. */ + class ProjectDomainAttributesGetResponse implements IProjectDomainAttributesGetResponse { /** - * Constructs a new TaskClosure. + * Constructs a new ProjectDomainAttributesGetResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskClosure); - - /** TaskClosure compiledTask. */ - public compiledTask?: (flyteidl.core.ICompiledTask|null); + constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse); - /** TaskClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); + /** ProjectDomainAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); /** - * Creates a new TaskClosure instance using the specified properties. + * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskClosure instance + * @returns ProjectDomainAttributesGetResponse instance */ - public static create(properties?: flyteidl.admin.ITaskClosure): flyteidl.admin.TaskClosure; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse): flyteidl.admin.ProjectDomainAttributesGetResponse; /** - * 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 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.ITaskClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskClosure 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 TaskClosure + * @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.TaskClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesGetResponse; /** - * Verifies a TaskClosure 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 TaskExecutionGetRequest. */ - interface ITaskExecutionGetRequest { + /** Properties of a ProjectDomainAttributesDeleteRequest. */ + interface IProjectDomainAttributesDeleteRequest { - /** TaskExecutionGetRequest id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); - } + /** ProjectDomainAttributesDeleteRequest project */ + project?: (string|null); - /** Represents a TaskExecutionGetRequest. */ - class TaskExecutionGetRequest implements ITaskExecutionGetRequest { + /** ProjectDomainAttributesDeleteRequest domain */ + domain?: (string|null); - /** - * Constructs a new TaskExecutionGetRequest. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.ITaskExecutionGetRequest); + /** ProjectDomainAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + } - /** TaskExecutionGetRequest id. */ - public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** Represents a ProjectDomainAttributesDeleteRequest. */ + class ProjectDomainAttributesDeleteRequest implements IProjectDomainAttributesDeleteRequest { /** - * Creates a new TaskExecutionGetRequest instance using the specified properties. + * Constructs a new ProjectDomainAttributesDeleteRequest. * @param [properties] Properties to set - * @returns TaskExecutionGetRequest instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionGetRequest): flyteidl.admin.TaskExecutionGetRequest; + constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest); + + /** ProjectDomainAttributesDeleteRequest project. */ + public project: string; + + /** ProjectDomainAttributesDeleteRequest domain. */ + public domain: string; + + /** ProjectDomainAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; /** - * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. - * @param message TaskExecutionGetRequest message or plain object to encode + * 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.ITaskExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionGetRequest 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 TaskExecutionGetRequest + * @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.TaskExecutionGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesDeleteRequest; /** - * Verifies a TaskExecutionGetRequest 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 TaskExecutionListRequest. */ - interface ITaskExecutionListRequest { - - /** TaskExecutionListRequest nodeExecutionId */ - nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** TaskExecutionListRequest limit */ - limit?: (number|null); - - /** TaskExecutionListRequest token */ - token?: (string|null); - - /** TaskExecutionListRequest filters */ - filters?: (string|null); - - /** TaskExecutionListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** Properties of a ProjectDomainAttributesDeleteResponse. */ + interface IProjectDomainAttributesDeleteResponse { } - /** Represents a TaskExecutionListRequest. */ - class TaskExecutionListRequest implements ITaskExecutionListRequest { + /** Represents a ProjectDomainAttributesDeleteResponse. */ + class ProjectDomainAttributesDeleteResponse implements IProjectDomainAttributesDeleteResponse { /** - * Constructs a new TaskExecutionListRequest. + * Constructs a new ProjectDomainAttributesDeleteResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionListRequest); - - /** TaskExecutionListRequest nodeExecutionId. */ - public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** TaskExecutionListRequest limit. */ - public limit: number; - - /** TaskExecutionListRequest token. */ - public token: string; - - /** TaskExecutionListRequest filters. */ - public filters: string; - - /** TaskExecutionListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse); /** - * Creates a new TaskExecutionListRequest instance using the specified properties. + * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionListRequest instance + * @returns ProjectDomainAttributesDeleteResponse instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionListRequest): flyteidl.admin.TaskExecutionListRequest; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse): flyteidl.admin.ProjectDomainAttributesDeleteResponse; /** - * 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 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.ITaskExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionListRequest 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 TaskExecutionListRequest + * @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.TaskExecutionListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesDeleteResponse; /** - * Verifies a TaskExecutionListRequest 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 a TaskExecution. */ - interface ITaskExecution { - - /** TaskExecution id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** TaskExecution inputUri */ - inputUri?: (string|null); + /** Properties of a SignalGetOrCreateRequest. */ + interface ISignalGetOrCreateRequest { - /** TaskExecution closure */ - closure?: (flyteidl.admin.ITaskExecutionClosure|null); + /** SignalGetOrCreateRequest id */ + id?: (flyteidl.core.ISignalIdentifier|null); - /** TaskExecution isParent */ - isParent?: (boolean|null); + /** SignalGetOrCreateRequest type */ + type?: (flyteidl.core.ILiteralType|null); } - /** Represents a TaskExecution. */ - class TaskExecution implements ITaskExecution { + /** Represents a SignalGetOrCreateRequest. */ + class SignalGetOrCreateRequest implements ISignalGetOrCreateRequest { /** - * Constructs a new TaskExecution. + * Constructs a new SignalGetOrCreateRequest. * @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.ISignalGetOrCreateRequest); - /** TaskExecution closure. */ - public closure?: (flyteidl.admin.ITaskExecutionClosure|null); + /** SignalGetOrCreateRequest id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); - /** TaskExecution isParent. */ - public isParent: boolean; + /** SignalGetOrCreateRequest type. */ + public type?: (flyteidl.core.ILiteralType|null); /** - * Creates a new TaskExecution instance using the specified properties. + * Creates a new SignalGetOrCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecution instance + * @returns SignalGetOrCreateRequest instance */ - public static create(properties?: flyteidl.admin.ITaskExecution): flyteidl.admin.TaskExecution; + public static create(properties?: flyteidl.admin.ISignalGetOrCreateRequest): flyteidl.admin.SignalGetOrCreateRequest; /** - * 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 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.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalGetOrCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecution 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 TaskExecution + * @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.TaskExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalGetOrCreateRequest; /** - * Verifies a TaskExecution 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 TaskExecutionList. */ - interface ITaskExecutionList { + /** Properties of a SignalListRequest. */ + interface ISignalListRequest { - /** TaskExecutionList taskExecutions */ - taskExecutions?: (flyteidl.admin.ITaskExecution[]|null); + /** SignalListRequest workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** TaskExecutionList token */ + /** SignalListRequest limit */ + limit?: (number|null); + + /** SignalListRequest token */ token?: (string|null); + + /** SignalListRequest filters */ + filters?: (string|null); + + /** SignalListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); } - /** Represents a TaskExecutionList. */ - class TaskExecutionList implements ITaskExecutionList { + /** Represents a SignalListRequest. */ + class SignalListRequest implements ISignalListRequest { /** - * Constructs a new TaskExecutionList. + * Constructs a new SignalListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionList); + constructor(properties?: flyteidl.admin.ISignalListRequest); - /** TaskExecutionList taskExecutions. */ - public taskExecutions: flyteidl.admin.ITaskExecution[]; + /** SignalListRequest workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** TaskExecutionList token. */ + /** SignalListRequest limit. */ + public limit: number; + + /** SignalListRequest token. */ public token: string; + /** SignalListRequest filters. */ + public filters: string; + + /** SignalListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + /** - * Creates a new TaskExecutionList instance using the specified properties. + * Creates a new SignalListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionList instance + * @returns SignalListRequest instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionList): flyteidl.admin.TaskExecutionList; + public static create(properties?: flyteidl.admin.ISignalListRequest): flyteidl.admin.SignalListRequest; /** - * 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 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.ITaskExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionList 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 TaskExecutionList + * @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.TaskExecutionList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalListRequest; /** - * Verifies a TaskExecutionList 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 TaskExecutionClosure. */ - interface ITaskExecutionClosure { + /** Properties of a SignalList. */ + interface ISignalList { - /** TaskExecutionClosure outputUri */ - outputUri?: (string|null); + /** SignalList signals */ + signals?: (flyteidl.admin.ISignal[]|null); - /** TaskExecutionClosure error */ - error?: (flyteidl.core.IExecutionError|null); + /** SignalList token */ + token?: (string|null); + } - /** TaskExecutionClosure outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); + /** Represents a SignalList. */ + class SignalList implements ISignalList { - /** TaskExecutionClosure phase */ - phase?: (flyteidl.core.TaskExecution.Phase|null); + /** + * Constructs a new SignalList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISignalList); - /** TaskExecutionClosure logs */ - logs?: (flyteidl.core.ITaskLog[]|null); + /** SignalList signals. */ + public signals: flyteidl.admin.ISignal[]; - /** TaskExecutionClosure startedAt */ - startedAt?: (google.protobuf.ITimestamp|null); - - /** TaskExecutionClosure duration */ - duration?: (google.protobuf.IDuration|null); - - /** TaskExecutionClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); - - /** TaskExecutionClosure updatedAt */ - updatedAt?: (google.protobuf.ITimestamp|null); - - /** TaskExecutionClosure customInfo */ - customInfo?: (google.protobuf.IStruct|null); - - /** TaskExecutionClosure reason */ - reason?: (string|null); - - /** TaskExecutionClosure taskType */ - taskType?: (string|null); - - /** TaskExecutionClosure metadata */ - metadata?: (flyteidl.event.ITaskExecutionMetadata|null); - - /** TaskExecutionClosure eventVersion */ - eventVersion?: (number|null); - - /** TaskExecutionClosure reasons */ - reasons?: (flyteidl.admin.IReason[]|null); - } - - /** Represents a TaskExecutionClosure. */ - class TaskExecutionClosure implements ITaskExecutionClosure { - - /** - * Constructs a new TaskExecutionClosure. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.ITaskExecutionClosure); - - /** TaskExecutionClosure outputUri. */ - public outputUri: string; - - /** TaskExecutionClosure error. */ - public error?: (flyteidl.core.IExecutionError|null); - - /** TaskExecutionClosure outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - - /** 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"); + /** SignalList token. */ + public token: string; /** - * Creates a new TaskExecutionClosure instance using the specified properties. + * Creates a new SignalList instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionClosure instance + * @returns SignalList instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionClosure): flyteidl.admin.TaskExecutionClosure; + public static create(properties?: flyteidl.admin.ISignalList): flyteidl.admin.SignalList; /** - * 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 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.ITaskExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionClosure 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 TaskExecutionClosure + * @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.TaskExecutionClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalList; /** - * Verifies a TaskExecutionClosure 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 Reason. */ - interface IReason { + /** Properties of a SignalSetRequest. */ + interface ISignalSetRequest { - /** Reason occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** SignalSetRequest id */ + id?: (flyteidl.core.ISignalIdentifier|null); - /** Reason message */ - message?: (string|null); + /** SignalSetRequest value */ + value?: (flyteidl.core.ILiteral|null); } - /** Represents a Reason. */ - class Reason implements IReason { + /** Represents a SignalSetRequest. */ + class SignalSetRequest implements ISignalSetRequest { /** - * Constructs a new Reason. + * Constructs a new SignalSetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IReason); + constructor(properties?: flyteidl.admin.ISignalSetRequest); - /** Reason occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + /** SignalSetRequest id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); - /** Reason message. */ - public message: string; + /** SignalSetRequest value. */ + public value?: (flyteidl.core.ILiteral|null); /** - * Creates a new Reason instance using the specified properties. + * Creates a new SignalSetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Reason instance + * @returns SignalSetRequest instance */ - public static create(properties?: flyteidl.admin.IReason): flyteidl.admin.Reason; + public static create(properties?: flyteidl.admin.ISignalSetRequest): flyteidl.admin.SignalSetRequest; /** - * 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 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.IReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalSetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Reason 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 Reason + * @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.Reason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetRequest; /** - * Verifies a Reason 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 TaskExecutionGetDataRequest. */ - interface ITaskExecutionGetDataRequest { - - /** TaskExecutionGetDataRequest id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** Properties of a SignalSetResponse. */ + interface ISignalSetResponse { } - /** Represents a TaskExecutionGetDataRequest. */ - class TaskExecutionGetDataRequest implements ITaskExecutionGetDataRequest { + /** Represents a SignalSetResponse. */ + class SignalSetResponse implements ISignalSetResponse { /** - * Constructs a new TaskExecutionGetDataRequest. + * Constructs a new SignalSetResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionGetDataRequest); - - /** TaskExecutionGetDataRequest id. */ - public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.ISignalSetResponse); /** - * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * Creates a new SignalSetResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionGetDataRequest instance + * @returns SignalSetResponse instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionGetDataRequest): flyteidl.admin.TaskExecutionGetDataRequest; + public static create(properties?: flyteidl.admin.ISignalSetResponse): flyteidl.admin.SignalSetResponse; /** - * 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 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.ITaskExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalSetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionGetDataRequest 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 TaskExecutionGetDataRequest + * @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.TaskExecutionGetDataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetResponse; /** - * Verifies a TaskExecutionGetDataRequest 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 TaskExecutionGetDataResponse. */ - interface ITaskExecutionGetDataResponse { - - /** TaskExecutionGetDataResponse inputs */ - inputs?: (flyteidl.admin.IUrlBlob|null); - - /** TaskExecutionGetDataResponse outputs */ - outputs?: (flyteidl.admin.IUrlBlob|null); + /** Properties of a Signal. */ + interface ISignal { - /** TaskExecutionGetDataResponse fullInputs */ - fullInputs?: (flyteidl.core.ILiteralMap|null); + /** Signal id */ + id?: (flyteidl.core.ISignalIdentifier|null); - /** TaskExecutionGetDataResponse fullOutputs */ - fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** Signal type */ + type?: (flyteidl.core.ILiteralType|null); - /** TaskExecutionGetDataResponse flyteUrls */ - flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** Signal value */ + value?: (flyteidl.core.ILiteral|null); } - /** Represents a TaskExecutionGetDataResponse. */ - class TaskExecutionGetDataResponse implements ITaskExecutionGetDataResponse { + /** Represents a Signal. */ + class Signal implements ISignal { /** - * Constructs a new TaskExecutionGetDataResponse. + * Constructs a new Signal. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionGetDataResponse); - - /** TaskExecutionGetDataResponse inputs. */ - public inputs?: (flyteidl.admin.IUrlBlob|null); - - /** TaskExecutionGetDataResponse outputs. */ - public outputs?: (flyteidl.admin.IUrlBlob|null); + constructor(properties?: flyteidl.admin.ISignal); - /** TaskExecutionGetDataResponse fullInputs. */ - public fullInputs?: (flyteidl.core.ILiteralMap|null); + /** Signal id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); - /** TaskExecutionGetDataResponse fullOutputs. */ - public fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** Signal type. */ + public type?: (flyteidl.core.ILiteralType|null); - /** TaskExecutionGetDataResponse flyteUrls. */ - public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** Signal value. */ + public value?: (flyteidl.core.ILiteral|null); /** - * Creates a new TaskExecutionGetDataResponse instance using the specified properties. + * Creates a new Signal instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionGetDataResponse instance + * @returns Signal instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionGetDataResponse): flyteidl.admin.TaskExecutionGetDataResponse; + public static create(properties?: flyteidl.admin.ISignal): flyteidl.admin.Signal; /** - * 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 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.ITaskExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionGetDataResponse 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 TaskExecutionGetDataResponse + * @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.TaskExecutionGetDataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Signal; /** - * Verifies a TaskExecutionGetDataResponse 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 GetVersionResponse. */ - interface IGetVersionResponse { + /** Properties of a TaskCreateRequest. */ + interface ITaskCreateRequest { - /** GetVersionResponse controlPlaneVersion */ - controlPlaneVersion?: (flyteidl.admin.IVersion|null); + /** TaskCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); + + /** TaskCreateRequest spec */ + spec?: (flyteidl.admin.ITaskSpec|null); } - /** Represents a GetVersionResponse. */ - class GetVersionResponse implements IGetVersionResponse { + /** Represents a TaskCreateRequest. */ + class TaskCreateRequest implements ITaskCreateRequest { /** - * Constructs a new GetVersionResponse. + * Constructs a new TaskCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetVersionResponse); + constructor(properties?: flyteidl.admin.ITaskCreateRequest); - /** GetVersionResponse controlPlaneVersion. */ - public controlPlaneVersion?: (flyteidl.admin.IVersion|null); + /** TaskCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** TaskCreateRequest spec. */ + public spec?: (flyteidl.admin.ITaskSpec|null); /** - * Creates a new GetVersionResponse instance using the specified properties. + * Creates a new TaskCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns GetVersionResponse instance + * @returns TaskCreateRequest instance */ - public static create(properties?: flyteidl.admin.IGetVersionResponse): flyteidl.admin.GetVersionResponse; + public static create(properties?: flyteidl.admin.ITaskCreateRequest): flyteidl.admin.TaskCreateRequest; /** - * 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 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.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetVersionResponse 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 GetVersionResponse + * @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.GetVersionResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCreateRequest; /** - * Verifies a GetVersionResponse 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 Version. */ - interface IVersion { - - /** Version Build */ - Build?: (string|null); - - /** Version Version */ - Version?: (string|null); - - /** Version BuildTime */ - BuildTime?: (string|null); + /** Properties of a TaskCreateResponse. */ + interface ITaskCreateResponse { } - /** Represents a Version. */ - class Version implements IVersion { + /** Represents a TaskCreateResponse. */ + class TaskCreateResponse implements ITaskCreateResponse { /** - * Constructs a new Version. + * Constructs a new TaskCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IVersion); - - /** Version Build. */ - public Build: string; - - /** Version Version. */ - public Version: string; - - /** Version BuildTime. */ - public BuildTime: string; + constructor(properties?: flyteidl.admin.ITaskCreateResponse); /** - * Creates a new Version instance using the specified properties. + * Creates a new TaskCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns Version instance + * @returns TaskCreateResponse instance */ - public static create(properties?: flyteidl.admin.IVersion): flyteidl.admin.Version; + public static create(properties?: flyteidl.admin.ITaskCreateResponse): flyteidl.admin.TaskCreateResponse; /** - * 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 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.IVersion, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Version 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 Version + * @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.Version; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCreateResponse; /** - * Verifies a Version 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 GetVersionRequest. */ - interface IGetVersionRequest { + /** 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); } - /** Represents a GetVersionRequest. */ - class GetVersionRequest implements IGetVersionRequest { + /** Represents a Task. */ + class Task implements ITask { /** - * Constructs a new GetVersionRequest. + * Constructs a new Task. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetVersionRequest); + 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; /** - * Creates a new GetVersionRequest instance using the specified properties. + * Creates a new Task instance using the specified properties. * @param [properties] Properties to set - * @returns GetVersionRequest instance + * @returns Task instance */ - public static create(properties?: flyteidl.admin.IGetVersionRequest): flyteidl.admin.GetVersionRequest; + public static create(properties?: flyteidl.admin.ITask): flyteidl.admin.Task; /** - * 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 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.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITask, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetVersionRequest 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 GetVersionRequest + * @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.GetVersionRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Task; /** - * Verifies a GetVersionRequest 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 WorkflowCreateRequest. */ - interface IWorkflowCreateRequest { + /** Properties of a TaskList. */ + interface ITaskList { - /** WorkflowCreateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** TaskList tasks */ + tasks?: (flyteidl.admin.ITask[]|null); - /** WorkflowCreateRequest spec */ - spec?: (flyteidl.admin.IWorkflowSpec|null); + /** TaskList token */ + token?: (string|null); } - /** Represents a WorkflowCreateRequest. */ - class WorkflowCreateRequest implements IWorkflowCreateRequest { + /** Represents a TaskList. */ + class TaskList implements ITaskList { /** - * Constructs a new WorkflowCreateRequest. + * Constructs a new TaskList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowCreateRequest); + constructor(properties?: flyteidl.admin.ITaskList); - /** WorkflowCreateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** TaskList tasks. */ + public tasks: flyteidl.admin.ITask[]; - /** WorkflowCreateRequest spec. */ - public spec?: (flyteidl.admin.IWorkflowSpec|null); + /** TaskList token. */ + public token: string; /** - * Creates a new WorkflowCreateRequest instance using the specified properties. + * Creates a new TaskList instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowCreateRequest instance + * @returns TaskList instance */ - public static create(properties?: flyteidl.admin.IWorkflowCreateRequest): flyteidl.admin.WorkflowCreateRequest; + public static create(properties?: flyteidl.admin.ITaskList): flyteidl.admin.TaskList; /** - * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. - * @param message WorkflowCreateRequest 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.IWorkflowCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowCreateRequest 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 WorkflowCreateRequest + * @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.WorkflowCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskList; /** - * Verifies a WorkflowCreateRequest 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 WorkflowCreateResponse. */ - interface IWorkflowCreateResponse { + /** Properties of a TaskSpec. */ + interface ITaskSpec { + + /** TaskSpec template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskSpec description */ + description?: (flyteidl.admin.IDescriptionEntity|null); } - /** Represents a WorkflowCreateResponse. */ - class WorkflowCreateResponse implements IWorkflowCreateResponse { + /** Represents a TaskSpec. */ + class TaskSpec implements ITaskSpec { /** - * Constructs a new WorkflowCreateResponse. + * Constructs a new TaskSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowCreateResponse); + constructor(properties?: flyteidl.admin.ITaskSpec); + + /** TaskSpec template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskSpec description. */ + public description?: (flyteidl.admin.IDescriptionEntity|null); /** - * Creates a new WorkflowCreateResponse instance using the specified properties. + * Creates a new TaskSpec instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowCreateResponse instance + * @returns TaskSpec instance */ - public static create(properties?: flyteidl.admin.IWorkflowCreateResponse): flyteidl.admin.WorkflowCreateResponse; + public static create(properties?: flyteidl.admin.ITaskSpec): flyteidl.admin.TaskSpec; /** - * 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 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.IWorkflowCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowCreateResponse 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 WorkflowCreateResponse + * @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.WorkflowCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskSpec; /** - * Verifies a WorkflowCreateResponse 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 Workflow. */ - interface IWorkflow { - - /** Workflow id */ - id?: (flyteidl.core.IIdentifier|null); + /** Properties of a TaskClosure. */ + interface ITaskClosure { - /** Workflow closure */ - closure?: (flyteidl.admin.IWorkflowClosure|null); + /** TaskClosure compiledTask */ + compiledTask?: (flyteidl.core.ICompiledTask|null); - /** Workflow shortDescription */ - shortDescription?: (string|null); + /** TaskClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); } - /** Represents a Workflow. */ - class Workflow implements IWorkflow { + /** Represents a TaskClosure. */ + class TaskClosure implements ITaskClosure { /** - * Constructs a new Workflow. + * Constructs a new TaskClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflow); - - /** Workflow id. */ - public id?: (flyteidl.core.IIdentifier|null); + constructor(properties?: flyteidl.admin.ITaskClosure); - /** Workflow closure. */ - public closure?: (flyteidl.admin.IWorkflowClosure|null); + /** TaskClosure compiledTask. */ + public compiledTask?: (flyteidl.core.ICompiledTask|null); - /** Workflow shortDescription. */ - public shortDescription: string; + /** TaskClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); /** - * Creates a new Workflow instance using the specified properties. + * Creates a new TaskClosure instance using the specified properties. * @param [properties] Properties to set - * @returns Workflow instance + * @returns TaskClosure instance */ - public static create(properties?: flyteidl.admin.IWorkflow): flyteidl.admin.Workflow; + public static create(properties?: flyteidl.admin.ITaskClosure): flyteidl.admin.TaskClosure; /** - * 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 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.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Workflow 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 Workflow + * @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.Workflow; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskClosure; /** - * Verifies a Workflow 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 WorkflowList. */ - interface IWorkflowList { - - /** WorkflowList workflows */ - workflows?: (flyteidl.admin.IWorkflow[]|null); + /** Properties of a TaskExecutionGetRequest. */ + interface ITaskExecutionGetRequest { - /** WorkflowList token */ - token?: (string|null); + /** TaskExecutionGetRequest id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); } - /** Represents a WorkflowList. */ - class WorkflowList implements IWorkflowList { + /** Represents a TaskExecutionGetRequest. */ + class TaskExecutionGetRequest implements ITaskExecutionGetRequest { /** - * Constructs a new WorkflowList. + * Constructs a new TaskExecutionGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowList); - - /** WorkflowList workflows. */ - public workflows: flyteidl.admin.IWorkflow[]; + constructor(properties?: flyteidl.admin.ITaskExecutionGetRequest); - /** WorkflowList token. */ - public token: string; + /** TaskExecutionGetRequest id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); /** - * Creates a new WorkflowList instance using the specified properties. + * Creates a new TaskExecutionGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowList instance + * @returns TaskExecutionGetRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowList): flyteidl.admin.WorkflowList; + public static create(properties?: flyteidl.admin.ITaskExecutionGetRequest): flyteidl.admin.TaskExecutionGetRequest; /** - * 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 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.IWorkflowList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowList 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 WorkflowList + * @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.WorkflowList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetRequest; /** - * Verifies a WorkflowList 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 WorkflowSpec. */ - interface IWorkflowSpec { + /** Properties of a TaskExecutionListRequest. */ + interface ITaskExecutionListRequest { - /** WorkflowSpec template */ - template?: (flyteidl.core.IWorkflowTemplate|null); + /** TaskExecutionListRequest nodeExecutionId */ + nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - /** WorkflowSpec subWorkflows */ - subWorkflows?: (flyteidl.core.IWorkflowTemplate[]|null); + /** TaskExecutionListRequest limit */ + limit?: (number|null); - /** WorkflowSpec description */ - description?: (flyteidl.admin.IDescriptionEntity|null); + /** TaskExecutionListRequest token */ + token?: (string|null); + + /** TaskExecutionListRequest filters */ + filters?: (string|null); + + /** TaskExecutionListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); } - /** Represents a WorkflowSpec. */ - class WorkflowSpec implements IWorkflowSpec { + /** Represents a TaskExecutionListRequest. */ + class TaskExecutionListRequest implements ITaskExecutionListRequest { /** - * Constructs a new WorkflowSpec. + * Constructs a new TaskExecutionListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowSpec); + constructor(properties?: flyteidl.admin.ITaskExecutionListRequest); - /** WorkflowSpec template. */ - public template?: (flyteidl.core.IWorkflowTemplate|null); + /** TaskExecutionListRequest nodeExecutionId. */ + public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - /** WorkflowSpec subWorkflows. */ - public subWorkflows: flyteidl.core.IWorkflowTemplate[]; + /** TaskExecutionListRequest limit. */ + public limit: number; - /** WorkflowSpec description. */ - public description?: (flyteidl.admin.IDescriptionEntity|null); + /** TaskExecutionListRequest token. */ + public token: string; + + /** TaskExecutionListRequest filters. */ + public filters: string; + + /** TaskExecutionListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); /** - * Creates a new WorkflowSpec instance using the specified properties. + * Creates a new TaskExecutionListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowSpec instance + * @returns TaskExecutionListRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowSpec): flyteidl.admin.WorkflowSpec; + public static create(properties?: flyteidl.admin.ITaskExecutionListRequest): flyteidl.admin.TaskExecutionListRequest; /** - * 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 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.IWorkflowSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowSpec 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 WorkflowSpec + * @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.WorkflowSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionListRequest; /** - * Verifies a WorkflowSpec 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 WorkflowClosure. */ - interface IWorkflowClosure { + /** Properties of a TaskExecution. */ + interface ITaskExecution { - /** WorkflowClosure compiledWorkflow */ - compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** TaskExecution id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** WorkflowClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); + /** TaskExecution inputUri */ + inputUri?: (string|null); + + /** TaskExecution closure */ + closure?: (flyteidl.admin.ITaskExecutionClosure|null); + + /** TaskExecution isParent */ + isParent?: (boolean|null); } - /** Represents a WorkflowClosure. */ - class WorkflowClosure implements IWorkflowClosure { + /** Represents a TaskExecution. */ + class TaskExecution implements ITaskExecution { /** - * Constructs a new WorkflowClosure. + * Constructs a new TaskExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowClosure); + constructor(properties?: flyteidl.admin.ITaskExecution); - /** WorkflowClosure compiledWorkflow. */ - public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** TaskExecution id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** WorkflowClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); + /** TaskExecution inputUri. */ + public inputUri: string; + + /** TaskExecution closure. */ + public closure?: (flyteidl.admin.ITaskExecutionClosure|null); + + /** TaskExecution isParent. */ + public isParent: boolean; /** - * Creates a new WorkflowClosure instance using the specified properties. + * Creates a new TaskExecution instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowClosure instance + * @returns TaskExecution instance */ - public static create(properties?: flyteidl.admin.IWorkflowClosure): flyteidl.admin.WorkflowClosure; + public static create(properties?: flyteidl.admin.ITaskExecution): flyteidl.admin.TaskExecution; /** - * 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 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.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowClosure 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 WorkflowClosure + * @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.WorkflowClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecution; /** - * Verifies a WorkflowClosure 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 WorkflowErrorExistsDifferentStructure. */ - interface IWorkflowErrorExistsDifferentStructure { + /** Properties of a TaskExecutionList. */ + interface ITaskExecutionList { - /** WorkflowErrorExistsDifferentStructure id */ - id?: (flyteidl.core.IIdentifier|null); + /** TaskExecutionList taskExecutions */ + taskExecutions?: (flyteidl.admin.ITaskExecution[]|null); + + /** TaskExecutionList token */ + token?: (string|null); } - /** Represents a WorkflowErrorExistsDifferentStructure. */ - class WorkflowErrorExistsDifferentStructure implements IWorkflowErrorExistsDifferentStructure { + /** Represents a TaskExecutionList. */ + class TaskExecutionList implements ITaskExecutionList { /** - * Constructs a new WorkflowErrorExistsDifferentStructure. + * Constructs a new TaskExecutionList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure); + constructor(properties?: flyteidl.admin.ITaskExecutionList); - /** WorkflowErrorExistsDifferentStructure id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** TaskExecutionList taskExecutions. */ + public taskExecutions: flyteidl.admin.ITaskExecution[]; + + /** TaskExecutionList token. */ + public token: string; /** - * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. + * Creates a new TaskExecutionList instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowErrorExistsDifferentStructure instance + * @returns TaskExecutionList instance */ - public static create(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure): flyteidl.admin.WorkflowErrorExistsDifferentStructure; + public static create(properties?: flyteidl.admin.ITaskExecutionList): flyteidl.admin.TaskExecutionList; /** - * 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 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.IWorkflowErrorExistsDifferentStructure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowErrorExistsDifferentStructure 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 WorkflowErrorExistsDifferentStructure + * @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.WorkflowErrorExistsDifferentStructure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionList; /** - * Verifies a WorkflowErrorExistsDifferentStructure 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 WorkflowErrorExistsIdenticalStructure. */ - interface IWorkflowErrorExistsIdenticalStructure { + /** Properties of a TaskExecutionClosure. */ + interface ITaskExecutionClosure { - /** WorkflowErrorExistsIdenticalStructure id */ - id?: (flyteidl.core.IIdentifier|null); + /** TaskExecutionClosure outputUri */ + outputUri?: (string|null); + + /** TaskExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionClosure phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); + + /** TaskExecutionClosure logs */ + logs?: (flyteidl.core.ITaskLog[]|null); + + /** TaskExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); + + /** TaskExecutionClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure customInfo */ + customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionClosure reason */ + reason?: (string|null); + + /** TaskExecutionClosure taskType */ + taskType?: (string|null); + + /** TaskExecutionClosure metadata */ + metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionClosure eventVersion */ + eventVersion?: (number|null); + + /** TaskExecutionClosure reasons */ + reasons?: (flyteidl.admin.IReason[]|null); } - /** Represents a WorkflowErrorExistsIdenticalStructure. */ - class WorkflowErrorExistsIdenticalStructure implements IWorkflowErrorExistsIdenticalStructure { + /** Represents a TaskExecutionClosure. */ + class TaskExecutionClosure implements ITaskExecutionClosure { /** - * Constructs a new WorkflowErrorExistsIdenticalStructure. + * Constructs a new TaskExecutionClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure); + constructor(properties?: flyteidl.admin.ITaskExecutionClosure); - /** WorkflowErrorExistsIdenticalStructure id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** TaskExecutionClosure outputUri. */ + public outputUri: string; + + /** TaskExecutionClosure error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionClosure outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** 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 WorkflowErrorExistsIdenticalStructure instance using the specified properties. + * Creates a new TaskExecutionClosure instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowErrorExistsIdenticalStructure instance + * @returns TaskExecutionClosure instance */ - public static create(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; + public static create(properties?: flyteidl.admin.ITaskExecutionClosure): flyteidl.admin.TaskExecutionClosure; /** - * 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 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.IWorkflowErrorExistsIdenticalStructure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowErrorExistsIdenticalStructure 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 WorkflowErrorExistsIdenticalStructure + * @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.WorkflowErrorExistsIdenticalStructure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionClosure; /** - * Verifies a WorkflowErrorExistsIdenticalStructure 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 CreateWorkflowFailureReason. */ - interface ICreateWorkflowFailureReason { + /** Properties of a Reason. */ + interface IReason { - /** CreateWorkflowFailureReason existsDifferentStructure */ - existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + /** Reason occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); - /** CreateWorkflowFailureReason existsIdenticalStructure */ - existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + /** Reason message */ + message?: (string|null); } - /** Represents a CreateWorkflowFailureReason. */ - class CreateWorkflowFailureReason implements ICreateWorkflowFailureReason { + /** Represents a Reason. */ + class Reason implements IReason { /** - * Constructs a new CreateWorkflowFailureReason. + * Constructs a new Reason. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICreateWorkflowFailureReason); - - /** CreateWorkflowFailureReason existsDifferentStructure. */ - public existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + constructor(properties?: flyteidl.admin.IReason); - /** CreateWorkflowFailureReason existsIdenticalStructure. */ - public existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + /** Reason occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); - /** CreateWorkflowFailureReason reason. */ - public reason?: ("existsDifferentStructure"|"existsIdenticalStructure"); + /** Reason message. */ + public message: string; /** - * Creates a new CreateWorkflowFailureReason instance using the specified properties. + * Creates a new Reason instance using the specified properties. * @param [properties] Properties to set - * @returns CreateWorkflowFailureReason instance + * @returns Reason instance */ - public static create(properties?: flyteidl.admin.ICreateWorkflowFailureReason): flyteidl.admin.CreateWorkflowFailureReason; + public static create(properties?: flyteidl.admin.IReason): flyteidl.admin.Reason; /** - * 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 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.ICreateWorkflowFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IReason, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateWorkflowFailureReason 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 CreateWorkflowFailureReason + * @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.CreateWorkflowFailureReason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Reason; /** - * Verifies a CreateWorkflowFailureReason 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 WorkflowAttributes. */ - interface IWorkflowAttributes { - - /** WorkflowAttributes project */ - project?: (string|null); - - /** WorkflowAttributes domain */ - domain?: (string|null); - - /** WorkflowAttributes workflow */ - workflow?: (string|null); + /** Properties of a TaskExecutionGetDataRequest. */ + interface ITaskExecutionGetDataRequest { - /** WorkflowAttributes matchingAttributes */ - matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** TaskExecutionGetDataRequest id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); } - /** Represents a WorkflowAttributes. */ - class WorkflowAttributes implements IWorkflowAttributes { + /** Represents a TaskExecutionGetDataRequest. */ + class TaskExecutionGetDataRequest implements ITaskExecutionGetDataRequest { /** - * Constructs a new WorkflowAttributes. + * Constructs a new TaskExecutionGetDataRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributes); - - /** WorkflowAttributes project. */ - public project: string; - - /** WorkflowAttributes domain. */ - public domain: string; - - /** WorkflowAttributes workflow. */ - public workflow: string; + constructor(properties?: flyteidl.admin.ITaskExecutionGetDataRequest); - /** WorkflowAttributes matchingAttributes. */ - public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** TaskExecutionGetDataRequest id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); /** - * Creates a new WorkflowAttributes instance using the specified properties. + * Creates a new TaskExecutionGetDataRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributes instance + * @returns TaskExecutionGetDataRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributes): flyteidl.admin.WorkflowAttributes; + public static create(properties?: flyteidl.admin.ITaskExecutionGetDataRequest): flyteidl.admin.TaskExecutionGetDataRequest; /** - * 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 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.IWorkflowAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributes 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 WorkflowAttributes + * @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.WorkflowAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetDataRequest; /** - * Verifies a WorkflowAttributes 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 WorkflowAttributesUpdateRequest. */ - interface IWorkflowAttributesUpdateRequest { + /** Properties of a TaskExecutionGetDataResponse. */ + interface ITaskExecutionGetDataResponse { - /** WorkflowAttributesUpdateRequest attributes */ - attributes?: (flyteidl.admin.IWorkflowAttributes|null); - } + /** TaskExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); - /** Represents a WorkflowAttributesUpdateRequest. */ - class WorkflowAttributesUpdateRequest implements IWorkflowAttributesUpdateRequest { + /** TaskExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); - /** - * Constructs a new WorkflowAttributesUpdateRequest. + /** TaskExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + } + + /** Represents a TaskExecutionGetDataResponse. */ + class TaskExecutionGetDataResponse implements ITaskExecutionGetDataResponse { + + /** + * Constructs a new TaskExecutionGetDataResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest); + constructor(properties?: flyteidl.admin.ITaskExecutionGetDataResponse); - /** WorkflowAttributesUpdateRequest attributes. */ - public attributes?: (flyteidl.admin.IWorkflowAttributes|null); + /** TaskExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); + + /** TaskExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|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 WorkflowAttributesUpdateRequest instance using the specified properties. + * Creates a new TaskExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesUpdateRequest instance + * @returns TaskExecutionGetDataResponse instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest): flyteidl.admin.WorkflowAttributesUpdateRequest; + public static create(properties?: flyteidl.admin.ITaskExecutionGetDataResponse): flyteidl.admin.TaskExecutionGetDataResponse; /** - * 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 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.IWorkflowAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesUpdateRequest 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 WorkflowAttributesUpdateRequest + * @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.WorkflowAttributesUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetDataResponse; /** - * Verifies a WorkflowAttributesUpdateRequest 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 WorkflowAttributesUpdateResponse. */ - interface IWorkflowAttributesUpdateResponse { + /** Properties of a GetVersionResponse. */ + interface IGetVersionResponse { + + /** GetVersionResponse controlPlaneVersion */ + controlPlaneVersion?: (flyteidl.admin.IVersion|null); } - /** Represents a WorkflowAttributesUpdateResponse. */ - class WorkflowAttributesUpdateResponse implements IWorkflowAttributesUpdateResponse { + /** Represents a GetVersionResponse. */ + class GetVersionResponse implements IGetVersionResponse { /** - * Constructs a new WorkflowAttributesUpdateResponse. + * Constructs a new GetVersionResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse); + constructor(properties?: flyteidl.admin.IGetVersionResponse); + + /** GetVersionResponse controlPlaneVersion. */ + public controlPlaneVersion?: (flyteidl.admin.IVersion|null); /** - * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. + * Creates a new GetVersionResponse instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesUpdateResponse instance + * @returns GetVersionResponse instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse): flyteidl.admin.WorkflowAttributesUpdateResponse; + public static create(properties?: flyteidl.admin.IGetVersionResponse): flyteidl.admin.GetVersionResponse; /** - * 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 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.IWorkflowAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesUpdateResponse 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 WorkflowAttributesUpdateResponse + * @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.WorkflowAttributesUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetVersionResponse; /** - * Verifies a WorkflowAttributesUpdateResponse 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 WorkflowAttributesGetRequest. */ - interface IWorkflowAttributesGetRequest { - - /** WorkflowAttributesGetRequest project */ - project?: (string|null); + /** Properties of a Version. */ + interface IVersion { - /** WorkflowAttributesGetRequest domain */ - domain?: (string|null); + /** Version Build */ + Build?: (string|null); - /** WorkflowAttributesGetRequest workflow */ - workflow?: (string|null); + /** Version Version */ + Version?: (string|null); - /** WorkflowAttributesGetRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** Version BuildTime */ + BuildTime?: (string|null); } - /** Represents a WorkflowAttributesGetRequest. */ - class WorkflowAttributesGetRequest implements IWorkflowAttributesGetRequest { + /** Represents a Version. */ + class Version implements IVersion { /** - * Constructs a new WorkflowAttributesGetRequest. + * Constructs a new Version. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesGetRequest); - - /** WorkflowAttributesGetRequest project. */ - public project: string; + constructor(properties?: flyteidl.admin.IVersion); - /** WorkflowAttributesGetRequest domain. */ - public domain: string; + /** Version Build. */ + public Build: string; - /** WorkflowAttributesGetRequest workflow. */ - public workflow: string; + /** Version Version. */ + public Version: string; - /** WorkflowAttributesGetRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** Version BuildTime. */ + public BuildTime: string; /** - * Creates a new WorkflowAttributesGetRequest instance using the specified properties. + * Creates a new Version instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesGetRequest instance + * @returns Version instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesGetRequest): flyteidl.admin.WorkflowAttributesGetRequest; + public static create(properties?: flyteidl.admin.IVersion): flyteidl.admin.Version; /** - * 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 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.IWorkflowAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesGetRequest 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 WorkflowAttributesGetRequest + * @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.WorkflowAttributesGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Version; /** - * Verifies a WorkflowAttributesGetRequest 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 WorkflowAttributesGetResponse. */ - interface IWorkflowAttributesGetResponse { - - /** WorkflowAttributesGetResponse attributes */ - attributes?: (flyteidl.admin.IWorkflowAttributes|null); + /** Properties of a GetVersionRequest. */ + interface IGetVersionRequest { } - /** Represents a WorkflowAttributesGetResponse. */ - class WorkflowAttributesGetResponse implements IWorkflowAttributesGetResponse { + /** Represents a GetVersionRequest. */ + class GetVersionRequest implements IGetVersionRequest { /** - * Constructs a new WorkflowAttributesGetResponse. + * Constructs a new GetVersionRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesGetResponse); - - /** WorkflowAttributesGetResponse attributes. */ - public attributes?: (flyteidl.admin.IWorkflowAttributes|null); + constructor(properties?: flyteidl.admin.IGetVersionRequest); /** - * Creates a new WorkflowAttributesGetResponse instance using the specified properties. + * Creates a new GetVersionRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesGetResponse instance + * @returns GetVersionRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesGetResponse): flyteidl.admin.WorkflowAttributesGetResponse; + public static create(properties?: flyteidl.admin.IGetVersionRequest): flyteidl.admin.GetVersionRequest; /** - * 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 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.IWorkflowAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesGetResponse 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 WorkflowAttributesGetResponse + * @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.WorkflowAttributesGetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetVersionRequest; /** - * Verifies a WorkflowAttributesGetResponse 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 WorkflowAttributesDeleteRequest. */ - interface IWorkflowAttributesDeleteRequest { - - /** WorkflowAttributesDeleteRequest project */ - project?: (string|null); - - /** WorkflowAttributesDeleteRequest domain */ - domain?: (string|null); + /** Properties of a WorkflowCreateRequest. */ + interface IWorkflowCreateRequest { - /** WorkflowAttributesDeleteRequest workflow */ - workflow?: (string|null); + /** WorkflowCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); - /** WorkflowAttributesDeleteRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** WorkflowCreateRequest spec */ + spec?: (flyteidl.admin.IWorkflowSpec|null); } - /** Represents a WorkflowAttributesDeleteRequest. */ - class WorkflowAttributesDeleteRequest implements IWorkflowAttributesDeleteRequest { + /** Represents a WorkflowCreateRequest. */ + class WorkflowCreateRequest implements IWorkflowCreateRequest { /** - * Constructs a new WorkflowAttributesDeleteRequest. + * Constructs a new WorkflowCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest); - - /** WorkflowAttributesDeleteRequest project. */ - public project: string; - - /** WorkflowAttributesDeleteRequest domain. */ - public domain: string; + constructor(properties?: flyteidl.admin.IWorkflowCreateRequest); - /** WorkflowAttributesDeleteRequest workflow. */ - public workflow: string; + /** WorkflowCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** WorkflowAttributesDeleteRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** WorkflowCreateRequest spec. */ + public spec?: (flyteidl.admin.IWorkflowSpec|null); /** - * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. + * Creates a new WorkflowCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesDeleteRequest instance + * @returns WorkflowCreateRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest): flyteidl.admin.WorkflowAttributesDeleteRequest; + public static create(properties?: flyteidl.admin.IWorkflowCreateRequest): flyteidl.admin.WorkflowCreateRequest; /** - * 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 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.IWorkflowAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesDeleteRequest 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 WorkflowAttributesDeleteRequest + * @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.WorkflowAttributesDeleteRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowCreateRequest; /** - * Verifies a WorkflowAttributesDeleteRequest 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 WorkflowAttributesDeleteResponse. */ - interface IWorkflowAttributesDeleteResponse { + /** Properties of a WorkflowCreateResponse. */ + interface IWorkflowCreateResponse { } - /** Represents a WorkflowAttributesDeleteResponse. */ - class WorkflowAttributesDeleteResponse implements IWorkflowAttributesDeleteResponse { + /** Represents a WorkflowCreateResponse. */ + class WorkflowCreateResponse implements IWorkflowCreateResponse { /** - * Constructs a new WorkflowAttributesDeleteResponse. + * Constructs a new WorkflowCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse); + constructor(properties?: flyteidl.admin.IWorkflowCreateResponse); /** - * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. + * Creates a new WorkflowCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesDeleteResponse instance + * @returns WorkflowCreateResponse instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse): flyteidl.admin.WorkflowAttributesDeleteResponse; + public static create(properties?: flyteidl.admin.IWorkflowCreateResponse): flyteidl.admin.WorkflowCreateResponse; /** - * 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 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.IWorkflowAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesDeleteResponse 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 WorkflowAttributesDeleteResponse + * @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.WorkflowAttributesDeleteResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowCreateResponse; /** - * Verifies a WorkflowAttributesDeleteResponse 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); } - } - /** Namespace service. */ - namespace service { + /** Properties of a Workflow. */ + interface IWorkflow { - /** Represents an AdminService */ - class AdminService extends $protobuf.rpc.Service { + /** Workflow id */ + id?: (flyteidl.core.IIdentifier|null); - /** - * Constructs a new AdminService service. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - */ - constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + /** Workflow closure */ + closure?: (flyteidl.admin.IWorkflowClosure|null); - /** - * Creates new AdminService service using the specified rpc implementation. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - * @returns RPC service. Useful where requests and/or responses are streamed. - */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AdminService; + /** Workflow shortDescription */ + shortDescription?: (string|null); + } - /** - * Calls CreateTask. - * @param request TaskCreateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskCreateResponse - */ - public createTask(request: flyteidl.admin.ITaskCreateRequest, callback: flyteidl.service.AdminService.CreateTaskCallback): void; + /** Represents a Workflow. */ + class Workflow implements IWorkflow { /** - * Calls CreateTask. - * @param request TaskCreateRequest message or plain object - * @returns Promise + * Constructs a new Workflow. + * @param [properties] Properties to set */ - public createTask(request: flyteidl.admin.ITaskCreateRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflow); - /** - * Calls GetTask. - * @param request ObjectGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and Task - */ - public getTask(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetTaskCallback): void; + /** Workflow id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** - * Calls GetTask. - * @param request ObjectGetRequest message or plain object - * @returns Promise - */ - public getTask(request: flyteidl.admin.IObjectGetRequest): Promise; + /** Workflow closure. */ + public closure?: (flyteidl.admin.IWorkflowClosure|null); - /** - * Calls ListTaskIds. - * @param request NamedEntityIdentifierListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList - */ - public listTaskIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListTaskIdsCallback): void; + /** Workflow shortDescription. */ + public shortDescription: string; /** - * Calls ListTaskIds. - * @param request NamedEntityIdentifierListRequest message or plain object - * @returns Promise + * Creates a new Workflow instance using the specified properties. + * @param [properties] Properties to set + * @returns Workflow instance */ - public listTaskIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + public static create(properties?: flyteidl.admin.IWorkflow): flyteidl.admin.Workflow; /** - * Calls ListTasks. - * @param request ResourceListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskList + * 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 listTasks(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListTasksCallback): void; + public static encode(message: flyteidl.admin.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls ListTasks. - * @param request ResourceListRequest message or plain object - * @returns Promise + * 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 Workflow + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public listTasks(request: flyteidl.admin.IResourceListRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Workflow; /** - * Calls CreateWorkflow. - * @param request WorkflowCreateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowCreateResponse + * Verifies a Workflow message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public createWorkflow(request: flyteidl.admin.IWorkflowCreateRequest, callback: flyteidl.service.AdminService.CreateWorkflowCallback): void; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowList. */ + interface IWorkflowList { + + /** WorkflowList workflows */ + workflows?: (flyteidl.admin.IWorkflow[]|null); + + /** WorkflowList token */ + token?: (string|null); + } + + /** Represents a WorkflowList. */ + class WorkflowList implements IWorkflowList { /** - * Calls CreateWorkflow. - * @param request WorkflowCreateRequest message or plain object - * @returns Promise + * Constructs a new WorkflowList. + * @param [properties] Properties to set */ - public createWorkflow(request: flyteidl.admin.IWorkflowCreateRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflowList); + + /** WorkflowList workflows. */ + public workflows: flyteidl.admin.IWorkflow[]; + + /** WorkflowList token. */ + public token: string; /** - * Calls GetWorkflow. - * @param request ObjectGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and Workflow + * Creates a new WorkflowList instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowList instance */ - public getWorkflow(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetWorkflowCallback): void; + public static create(properties?: flyteidl.admin.IWorkflowList): flyteidl.admin.WorkflowList; /** - * Calls GetWorkflow. - * @param request ObjectGetRequest message or plain object - * @returns Promise + * 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 getWorkflow(request: flyteidl.admin.IObjectGetRequest): Promise; + public static encode(message: flyteidl.admin.IWorkflowList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls ListWorkflowIds. - * @param request NamedEntityIdentifierListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + * 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 WorkflowList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public listWorkflowIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListWorkflowIdsCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowList; /** - * Calls ListWorkflowIds. - * @param request NamedEntityIdentifierListRequest message or plain object - * @returns Promise + * Verifies a WorkflowList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public listWorkflowIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowSpec. */ + interface IWorkflowSpec { + + /** WorkflowSpec template */ + template?: (flyteidl.core.IWorkflowTemplate|null); + + /** WorkflowSpec subWorkflows */ + subWorkflows?: (flyteidl.core.IWorkflowTemplate[]|null); + + /** WorkflowSpec description */ + description?: (flyteidl.admin.IDescriptionEntity|null); + } + + /** Represents a WorkflowSpec. */ + class WorkflowSpec implements IWorkflowSpec { /** - * Calls ListWorkflows. - * @param request ResourceListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowList + * Constructs a new WorkflowSpec. + * @param [properties] Properties to set */ - public listWorkflows(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListWorkflowsCallback): void; + constructor(properties?: flyteidl.admin.IWorkflowSpec); + + /** WorkflowSpec template. */ + public template?: (flyteidl.core.IWorkflowTemplate|null); + + /** WorkflowSpec subWorkflows. */ + public subWorkflows: flyteidl.core.IWorkflowTemplate[]; + + /** WorkflowSpec description. */ + public description?: (flyteidl.admin.IDescriptionEntity|null); /** - * Calls ListWorkflows. - * @param request ResourceListRequest message or plain object - * @returns Promise + * Creates a new WorkflowSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowSpec instance */ - public listWorkflows(request: flyteidl.admin.IResourceListRequest): Promise; + public static create(properties?: flyteidl.admin.IWorkflowSpec): flyteidl.admin.WorkflowSpec; /** - * Calls CreateLaunchPlan. - * @param request LaunchPlanCreateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and LaunchPlanCreateResponse + * 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 createLaunchPlan(request: flyteidl.admin.ILaunchPlanCreateRequest, callback: flyteidl.service.AdminService.CreateLaunchPlanCallback): void; + public static encode(message: flyteidl.admin.IWorkflowSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls CreateLaunchPlan. - * @param request LaunchPlanCreateRequest message or plain object - * @returns Promise + * 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 WorkflowSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public createLaunchPlan(request: flyteidl.admin.ILaunchPlanCreateRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowSpec; /** - * Calls GetLaunchPlan. - * @param request ObjectGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and LaunchPlan + * Verifies a WorkflowSpec message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getLaunchPlan(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetLaunchPlanCallback): void; + public static verify(message: { [k: string]: any }): (string|null); + } - /** - * Calls GetLaunchPlan. - * @param request ObjectGetRequest message or plain object - * @returns Promise - */ - public getLaunchPlan(request: flyteidl.admin.IObjectGetRequest): Promise; + /** Properties of a WorkflowClosure. */ + interface IWorkflowClosure { - /** - * Calls GetActiveLaunchPlan. - * @param request ActiveLaunchPlanRequest message or plain object - * @param callback Node-style callback called with the error, if any, and LaunchPlan - */ - public getActiveLaunchPlan(request: flyteidl.admin.IActiveLaunchPlanRequest, callback: flyteidl.service.AdminService.GetActiveLaunchPlanCallback): void; + /** WorkflowClosure compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** WorkflowClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a WorkflowClosure. */ + class WorkflowClosure implements IWorkflowClosure { /** - * Calls GetActiveLaunchPlan. - * @param request ActiveLaunchPlanRequest message or plain object - * @returns Promise + * Constructs a new WorkflowClosure. + * @param [properties] Properties to set */ - public getActiveLaunchPlan(request: flyteidl.admin.IActiveLaunchPlanRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflowClosure); + + /** WorkflowClosure compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** WorkflowClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); /** - * Calls ListActiveLaunchPlans. - * @param request ActiveLaunchPlanListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and LaunchPlanList + * Creates a new WorkflowClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowClosure instance */ - public listActiveLaunchPlans(request: flyteidl.admin.IActiveLaunchPlanListRequest, callback: flyteidl.service.AdminService.ListActiveLaunchPlansCallback): void; + public static create(properties?: flyteidl.admin.IWorkflowClosure): flyteidl.admin.WorkflowClosure; /** - * Calls ListActiveLaunchPlans. - * @param request ActiveLaunchPlanListRequest message or plain object - * @returns Promise + * 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 listActiveLaunchPlans(request: flyteidl.admin.IActiveLaunchPlanListRequest): Promise; + public static encode(message: flyteidl.admin.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls ListLaunchPlanIds. - * @param request NamedEntityIdentifierListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + * 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 WorkflowClosure + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public listLaunchPlanIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListLaunchPlanIdsCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowClosure; /** - * Calls ListLaunchPlanIds. - * @param request NamedEntityIdentifierListRequest message or plain object - * @returns Promise + * Verifies a WorkflowClosure message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public listLaunchPlanIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowErrorExistsDifferentStructure. */ + interface IWorkflowErrorExistsDifferentStructure { + + /** WorkflowErrorExistsDifferentStructure id */ + id?: (flyteidl.core.IIdentifier|null); + } + + /** Represents a WorkflowErrorExistsDifferentStructure. */ + class WorkflowErrorExistsDifferentStructure implements IWorkflowErrorExistsDifferentStructure { /** - * Calls ListLaunchPlans. - * @param request ResourceListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and LaunchPlanList + * Constructs a new WorkflowErrorExistsDifferentStructure. + * @param [properties] Properties to set */ - public listLaunchPlans(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListLaunchPlansCallback): void; + constructor(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure); + + /** WorkflowErrorExistsDifferentStructure id. */ + public id?: (flyteidl.core.IIdentifier|null); /** - * Calls ListLaunchPlans. - * @param request ResourceListRequest message or plain object - * @returns Promise + * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowErrorExistsDifferentStructure instance */ - public listLaunchPlans(request: flyteidl.admin.IResourceListRequest): Promise; + public static create(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure): flyteidl.admin.WorkflowErrorExistsDifferentStructure; /** - * Calls UpdateLaunchPlan. - * @param request LaunchPlanUpdateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and LaunchPlanUpdateResponse + * 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 updateLaunchPlan(request: flyteidl.admin.ILaunchPlanUpdateRequest, callback: flyteidl.service.AdminService.UpdateLaunchPlanCallback): void; + public static encode(message: flyteidl.admin.IWorkflowErrorExistsDifferentStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls UpdateLaunchPlan. - * @param request LaunchPlanUpdateRequest message or plain object - * @returns Promise + * 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 WorkflowErrorExistsDifferentStructure + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public updateLaunchPlan(request: flyteidl.admin.ILaunchPlanUpdateRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowErrorExistsDifferentStructure; /** - * Calls CreateExecution. - * @param request ExecutionCreateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + * Verifies a WorkflowErrorExistsDifferentStructure message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public createExecution(request: flyteidl.admin.IExecutionCreateRequest, callback: flyteidl.service.AdminService.CreateExecutionCallback): void; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowErrorExistsIdenticalStructure. */ + interface IWorkflowErrorExistsIdenticalStructure { + + /** WorkflowErrorExistsIdenticalStructure id */ + id?: (flyteidl.core.IIdentifier|null); + } + + /** Represents a WorkflowErrorExistsIdenticalStructure. */ + class WorkflowErrorExistsIdenticalStructure implements IWorkflowErrorExistsIdenticalStructure { /** - * Calls CreateExecution. - * @param request ExecutionCreateRequest message or plain object - * @returns Promise + * Constructs a new WorkflowErrorExistsIdenticalStructure. + * @param [properties] Properties to set */ - public createExecution(request: flyteidl.admin.IExecutionCreateRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure); + + /** WorkflowErrorExistsIdenticalStructure id. */ + public id?: (flyteidl.core.IIdentifier|null); /** - * Calls RelaunchExecution. - * @param request ExecutionRelaunchRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowErrorExistsIdenticalStructure instance */ - public relaunchExecution(request: flyteidl.admin.IExecutionRelaunchRequest, callback: flyteidl.service.AdminService.RelaunchExecutionCallback): void; + public static create(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; /** - * Calls RelaunchExecution. - * @param request ExecutionRelaunchRequest message or plain object - * @returns Promise + * 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 relaunchExecution(request: flyteidl.admin.IExecutionRelaunchRequest): Promise; + public static encode(message: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls RecoverExecution. - * @param request ExecutionRecoverRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + * 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 recoverExecution(request: flyteidl.admin.IExecutionRecoverRequest, callback: flyteidl.service.AdminService.RecoverExecutionCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; /** - * Calls RecoverExecution. - * @param request ExecutionRecoverRequest message or plain object - * @returns Promise + * Verifies a WorkflowErrorExistsIdenticalStructure message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public recoverExecution(request: flyteidl.admin.IExecutionRecoverRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a CreateWorkflowFailureReason. */ + interface ICreateWorkflowFailureReason { + + /** CreateWorkflowFailureReason existsDifferentStructure */ + existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + + /** CreateWorkflowFailureReason existsIdenticalStructure */ + existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + } + + /** Represents a CreateWorkflowFailureReason. */ + class CreateWorkflowFailureReason implements ICreateWorkflowFailureReason { /** - * Calls GetExecution. - * @param request WorkflowExecutionGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and Execution + * Constructs a new CreateWorkflowFailureReason. + * @param [properties] Properties to set */ - public getExecution(request: flyteidl.admin.IWorkflowExecutionGetRequest, callback: flyteidl.service.AdminService.GetExecutionCallback): void; + constructor(properties?: flyteidl.admin.ICreateWorkflowFailureReason); + + /** CreateWorkflowFailureReason existsDifferentStructure. */ + public existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + + /** CreateWorkflowFailureReason existsIdenticalStructure. */ + public existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + + /** CreateWorkflowFailureReason reason. */ + public reason?: ("existsDifferentStructure"|"existsIdenticalStructure"); /** - * Calls GetExecution. - * @param request WorkflowExecutionGetRequest message or plain object - * @returns Promise + * Creates a new CreateWorkflowFailureReason instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateWorkflowFailureReason instance */ - public getExecution(request: flyteidl.admin.IWorkflowExecutionGetRequest): Promise; + public static create(properties?: flyteidl.admin.ICreateWorkflowFailureReason): flyteidl.admin.CreateWorkflowFailureReason; /** - * Calls UpdateExecution. - * @param request ExecutionUpdateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ExecutionUpdateResponse + * 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 updateExecution(request: flyteidl.admin.IExecutionUpdateRequest, callback: flyteidl.service.AdminService.UpdateExecutionCallback): void; + public static encode(message: flyteidl.admin.ICreateWorkflowFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls UpdateExecution. - * @param request ExecutionUpdateRequest message or plain object - * @returns Promise + * 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 updateExecution(request: flyteidl.admin.IExecutionUpdateRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateWorkflowFailureReason; /** - * Calls GetExecutionData. - * @param request WorkflowExecutionGetDataRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetDataResponse + * Verifies a CreateWorkflowFailureReason message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getExecutionData(request: flyteidl.admin.IWorkflowExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetExecutionDataCallback): void; + public static verify(message: { [k: string]: any }): (string|null); + } - /** - * Calls GetExecutionData. - * @param request WorkflowExecutionGetDataRequest message or plain object - * @returns Promise - */ - public getExecutionData(request: flyteidl.admin.IWorkflowExecutionGetDataRequest): Promise; + /** Properties of a WorkflowAttributes. */ + interface IWorkflowAttributes { - /** - * Calls ListExecutions. - * @param request ResourceListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ExecutionList - */ - public listExecutions(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListExecutionsCallback): void; + /** WorkflowAttributes project */ + project?: (string|null); - /** - * Calls ListExecutions. - * @param request ResourceListRequest message or plain object - * @returns Promise - */ - public listExecutions(request: flyteidl.admin.IResourceListRequest): Promise; + /** WorkflowAttributes domain */ + domain?: (string|null); - /** - * Calls TerminateExecution. - * @param request ExecutionTerminateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ExecutionTerminateResponse - */ - public terminateExecution(request: flyteidl.admin.IExecutionTerminateRequest, callback: flyteidl.service.AdminService.TerminateExecutionCallback): void; + /** WorkflowAttributes workflow */ + workflow?: (string|null); - /** - * Calls TerminateExecution. - * @param request ExecutionTerminateRequest message or plain object - * @returns Promise - */ - public terminateExecution(request: flyteidl.admin.IExecutionTerminateRequest): Promise; + /** WorkflowAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + } - /** - * Calls GetNodeExecution. - * @param request NodeExecutionGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NodeExecution - */ - public getNodeExecution(request: flyteidl.admin.INodeExecutionGetRequest, callback: flyteidl.service.AdminService.GetNodeExecutionCallback): void; + /** Represents a WorkflowAttributes. */ + class WorkflowAttributes implements IWorkflowAttributes { /** - * Calls GetNodeExecution. - * @param request NodeExecutionGetRequest message or plain object - * @returns Promise + * Constructs a new WorkflowAttributes. + * @param [properties] Properties to set */ - public getNodeExecution(request: flyteidl.admin.INodeExecutionGetRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflowAttributes); - /** - * Calls ListNodeExecutions. - * @param request NodeExecutionListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NodeExecutionList - */ - public listNodeExecutions(request: flyteidl.admin.INodeExecutionListRequest, callback: flyteidl.service.AdminService.ListNodeExecutionsCallback): void; + /** WorkflowAttributes project. */ + public project: string; - /** - * Calls ListNodeExecutions. - * @param request NodeExecutionListRequest message or plain object - * @returns Promise - */ - public listNodeExecutions(request: flyteidl.admin.INodeExecutionListRequest): Promise; + /** WorkflowAttributes domain. */ + public domain: string; - /** - * Calls ListNodeExecutionsForTask. - * @param request NodeExecutionForTaskListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NodeExecutionList - */ - public listNodeExecutionsForTask(request: flyteidl.admin.INodeExecutionForTaskListRequest, callback: flyteidl.service.AdminService.ListNodeExecutionsForTaskCallback): void; + /** WorkflowAttributes workflow. */ + public workflow: string; - /** - * Calls ListNodeExecutionsForTask. - * @param request NodeExecutionForTaskListRequest message or plain object - * @returns Promise - */ - public listNodeExecutionsForTask(request: flyteidl.admin.INodeExecutionForTaskListRequest): Promise; + /** WorkflowAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); /** - * Calls GetNodeExecutionData. - * @param request NodeExecutionGetDataRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NodeExecutionGetDataResponse + * Creates a new WorkflowAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributes instance */ - public getNodeExecutionData(request: flyteidl.admin.INodeExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetNodeExecutionDataCallback): void; + public static create(properties?: flyteidl.admin.IWorkflowAttributes): flyteidl.admin.WorkflowAttributes; /** - * Calls GetNodeExecutionData. - * @param request NodeExecutionGetDataRequest message or plain object - * @returns Promise + * 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 getNodeExecutionData(request: flyteidl.admin.INodeExecutionGetDataRequest): Promise; + public static encode(message: flyteidl.admin.IWorkflowAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls RegisterProject. - * @param request ProjectRegisterRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectRegisterResponse + * 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 WorkflowAttributes + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public registerProject(request: flyteidl.admin.IProjectRegisterRequest, callback: flyteidl.service.AdminService.RegisterProjectCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributes; /** - * Calls RegisterProject. - * @param request ProjectRegisterRequest message or plain object - * @returns Promise + * Verifies a WorkflowAttributes message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public registerProject(request: flyteidl.admin.IProjectRegisterRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } - /** - * Calls UpdateProject. - * @param request Project message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectUpdateResponse - */ - public updateProject(request: flyteidl.admin.IProject, callback: flyteidl.service.AdminService.UpdateProjectCallback): void; + /** Properties of a WorkflowAttributesUpdateRequest. */ + interface IWorkflowAttributesUpdateRequest { - /** - * Calls UpdateProject. - * @param request Project message or plain object - * @returns Promise - */ - public updateProject(request: flyteidl.admin.IProject): Promise; + /** WorkflowAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IWorkflowAttributes|null); + } - /** - * Calls ListProjects. - * @param request ProjectListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and Projects - */ - public listProjects(request: flyteidl.admin.IProjectListRequest, callback: flyteidl.service.AdminService.ListProjectsCallback): void; + /** Represents a WorkflowAttributesUpdateRequest. */ + class WorkflowAttributesUpdateRequest implements IWorkflowAttributesUpdateRequest { /** - * Calls ListProjects. - * @param request ProjectListRequest message or plain object - * @returns Promise + * Constructs a new WorkflowAttributesUpdateRequest. + * @param [properties] Properties to set */ - public listProjects(request: flyteidl.admin.IProjectListRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest); - /** - * Calls CreateWorkflowEvent. - * @param request WorkflowExecutionEventRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowExecutionEventResponse - */ - public createWorkflowEvent(request: flyteidl.admin.IWorkflowExecutionEventRequest, callback: flyteidl.service.AdminService.CreateWorkflowEventCallback): void; + /** WorkflowAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IWorkflowAttributes|null); /** - * Calls CreateWorkflowEvent. - * @param request WorkflowExecutionEventRequest message or plain object - * @returns Promise + * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesUpdateRequest instance */ - public createWorkflowEvent(request: flyteidl.admin.IWorkflowExecutionEventRequest): Promise; + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest): flyteidl.admin.WorkflowAttributesUpdateRequest; /** - * Calls CreateNodeEvent. - * @param request NodeExecutionEventRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NodeExecutionEventResponse + * 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 createNodeEvent(request: flyteidl.admin.INodeExecutionEventRequest, callback: flyteidl.service.AdminService.CreateNodeEventCallback): void; + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls CreateNodeEvent. - * @param request NodeExecutionEventRequest message or plain object - * @returns Promise + * 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 WorkflowAttributesUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public createNodeEvent(request: flyteidl.admin.INodeExecutionEventRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesUpdateRequest; /** - * Calls CreateTaskEvent. - * @param request TaskExecutionEventRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskExecutionEventResponse + * Verifies a WorkflowAttributesUpdateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public createTaskEvent(request: flyteidl.admin.ITaskExecutionEventRequest, callback: flyteidl.service.AdminService.CreateTaskEventCallback): void; + public static verify(message: { [k: string]: any }): (string|null); + } - /** - * Calls CreateTaskEvent. - * @param request TaskExecutionEventRequest message or plain object - * @returns Promise - */ - public createTaskEvent(request: flyteidl.admin.ITaskExecutionEventRequest): Promise; + /** Properties of a WorkflowAttributesUpdateResponse. */ + interface IWorkflowAttributesUpdateResponse { + } + + /** Represents a WorkflowAttributesUpdateResponse. */ + class WorkflowAttributesUpdateResponse implements IWorkflowAttributesUpdateResponse { /** - * Calls GetTaskExecution. - * @param request TaskExecutionGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskExecution + * Constructs a new WorkflowAttributesUpdateResponse. + * @param [properties] Properties to set */ - public getTaskExecution(request: flyteidl.admin.ITaskExecutionGetRequest, callback: flyteidl.service.AdminService.GetTaskExecutionCallback): void; + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse); /** - * Calls GetTaskExecution. - * @param request TaskExecutionGetRequest message or plain object - * @returns Promise + * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesUpdateResponse instance */ - public getTaskExecution(request: flyteidl.admin.ITaskExecutionGetRequest): Promise; + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse): flyteidl.admin.WorkflowAttributesUpdateResponse; /** - * Calls ListTaskExecutions. - * @param request TaskExecutionListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskExecutionList + * 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 listTaskExecutions(request: flyteidl.admin.ITaskExecutionListRequest, callback: flyteidl.service.AdminService.ListTaskExecutionsCallback): void; + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls ListTaskExecutions. - * @param request TaskExecutionListRequest message or plain object - * @returns Promise + * 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 WorkflowAttributesUpdateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public listTaskExecutions(request: flyteidl.admin.ITaskExecutionListRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesUpdateResponse; /** - * Calls GetTaskExecutionData. - * @param request TaskExecutionGetDataRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskExecutionGetDataResponse + * Verifies a WorkflowAttributesUpdateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getTaskExecutionData(request: flyteidl.admin.ITaskExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetTaskExecutionDataCallback): void; + public static verify(message: { [k: string]: any }): (string|null); + } - /** - * Calls GetTaskExecutionData. - * @param request TaskExecutionGetDataRequest message or plain object - * @returns Promise - */ - public getTaskExecutionData(request: flyteidl.admin.ITaskExecutionGetDataRequest): Promise; + /** Properties of a WorkflowAttributesGetRequest. */ + interface IWorkflowAttributesGetRequest { - /** - * Calls UpdateProjectDomainAttributes. - * @param request ProjectDomainAttributesUpdateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesUpdateResponse - */ - public updateProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateProjectDomainAttributesCallback): void; + /** WorkflowAttributesGetRequest project */ + project?: (string|null); + + /** WorkflowAttributesGetRequest domain */ + domain?: (string|null); + + /** WorkflowAttributesGetRequest workflow */ + workflow?: (string|null); + + /** WorkflowAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + } + + /** Represents a WorkflowAttributesGetRequest. */ + class WorkflowAttributesGetRequest implements IWorkflowAttributesGetRequest { /** - * Calls UpdateProjectDomainAttributes. - * @param request ProjectDomainAttributesUpdateRequest message or plain object - * @returns Promise + * Constructs a new WorkflowAttributesGetRequest. + * @param [properties] Properties to set */ - public updateProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesUpdateRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflowAttributesGetRequest); + + /** WorkflowAttributesGetRequest project. */ + public project: string; + + /** WorkflowAttributesGetRequest domain. */ + public domain: string; + + /** WorkflowAttributesGetRequest workflow. */ + public workflow: string; + + /** WorkflowAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; /** - * Calls GetProjectDomainAttributes. - * @param request ProjectDomainAttributesGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesGetResponse + * Creates a new WorkflowAttributesGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesGetRequest instance */ - public getProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesGetRequest, callback: flyteidl.service.AdminService.GetProjectDomainAttributesCallback): void; + public static create(properties?: flyteidl.admin.IWorkflowAttributesGetRequest): flyteidl.admin.WorkflowAttributesGetRequest; /** - * Calls GetProjectDomainAttributes. - * @param request ProjectDomainAttributesGetRequest message or plain object - * @returns Promise + * 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 getProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesGetRequest): Promise; + public static encode(message: flyteidl.admin.IWorkflowAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls DeleteProjectDomainAttributes. - * @param request ProjectDomainAttributesDeleteRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesDeleteResponse + * 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 WorkflowAttributesGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public deleteProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteProjectDomainAttributesCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesGetRequest; /** - * Calls DeleteProjectDomainAttributes. - * @param request ProjectDomainAttributesDeleteRequest message or plain object - * @returns Promise + * Verifies a WorkflowAttributesGetRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public deleteProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesDeleteRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowAttributesGetResponse. */ + interface IWorkflowAttributesGetResponse { + + /** WorkflowAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IWorkflowAttributes|null); + } + + /** Represents a WorkflowAttributesGetResponse. */ + class WorkflowAttributesGetResponse implements IWorkflowAttributesGetResponse { /** - * Calls UpdateProjectAttributes. - * @param request ProjectAttributesUpdateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectAttributesUpdateResponse + * Constructs a new WorkflowAttributesGetResponse. + * @param [properties] Properties to set */ - public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateProjectAttributesCallback): void; + constructor(properties?: flyteidl.admin.IWorkflowAttributesGetResponse); + + /** WorkflowAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IWorkflowAttributes|null); /** - * Calls UpdateProjectAttributes. - * @param request ProjectAttributesUpdateRequest message or plain object - * @returns Promise + * Creates a new WorkflowAttributesGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesGetResponse instance */ - public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest): Promise; + public static create(properties?: flyteidl.admin.IWorkflowAttributesGetResponse): flyteidl.admin.WorkflowAttributesGetResponse; /** - * Calls GetProjectAttributes. - * @param request ProjectAttributesGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectAttributesGetResponse + * 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 getProjectAttributes(request: flyteidl.admin.IProjectAttributesGetRequest, callback: flyteidl.service.AdminService.GetProjectAttributesCallback): void; + public static encode(message: flyteidl.admin.IWorkflowAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls GetProjectAttributes. - * @param request ProjectAttributesGetRequest message or plain object - * @returns Promise + * 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 WorkflowAttributesGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public getProjectAttributes(request: flyteidl.admin.IProjectAttributesGetRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesGetResponse; /** - * Calls DeleteProjectAttributes. - * @param request ProjectAttributesDeleteRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ProjectAttributesDeleteResponse + * Verifies a WorkflowAttributesGetResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public deleteProjectAttributes(request: flyteidl.admin.IProjectAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteProjectAttributesCallback): void; + 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); + + /** WorkflowAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + } + + /** Represents a WorkflowAttributesDeleteRequest. */ + class WorkflowAttributesDeleteRequest implements IWorkflowAttributesDeleteRequest { /** - * Calls DeleteProjectAttributes. - * @param request ProjectAttributesDeleteRequest message or plain object - * @returns Promise + * Constructs a new WorkflowAttributesDeleteRequest. + * @param [properties] Properties to set */ - public deleteProjectAttributes(request: flyteidl.admin.IProjectAttributesDeleteRequest): Promise; + constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest); + + /** WorkflowAttributesDeleteRequest project. */ + public project: string; + + /** WorkflowAttributesDeleteRequest domain. */ + public domain: string; + + /** WorkflowAttributesDeleteRequest workflow. */ + public workflow: string; + + /** WorkflowAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; /** - * Calls UpdateWorkflowAttributes. - * @param request WorkflowAttributesUpdateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowAttributesUpdateResponse + * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesDeleteRequest instance */ - public updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateWorkflowAttributesCallback): void; + public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest): flyteidl.admin.WorkflowAttributesDeleteRequest; /** - * Calls UpdateWorkflowAttributes. - * @param request WorkflowAttributesUpdateRequest message or plain object - * @returns Promise + * 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 updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest): Promise; + public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls GetWorkflowAttributes. - * @param request WorkflowAttributesGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowAttributesGetResponse + * 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 WorkflowAttributesDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public getWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesGetRequest, callback: flyteidl.service.AdminService.GetWorkflowAttributesCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesDeleteRequest; /** - * Calls GetWorkflowAttributes. - * @param request WorkflowAttributesGetRequest message or plain object - * @returns Promise + * Verifies a WorkflowAttributesDeleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesGetRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowAttributesDeleteResponse. */ + interface IWorkflowAttributesDeleteResponse { + } + + /** Represents a WorkflowAttributesDeleteResponse. */ + class WorkflowAttributesDeleteResponse implements IWorkflowAttributesDeleteResponse { /** - * Calls DeleteWorkflowAttributes. - * @param request WorkflowAttributesDeleteRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowAttributesDeleteResponse + * Constructs a new WorkflowAttributesDeleteResponse. + * @param [properties] Properties to set */ - public deleteWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteWorkflowAttributesCallback): void; + constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse); /** - * Calls DeleteWorkflowAttributes. - * @param request WorkflowAttributesDeleteRequest message or plain object - * @returns Promise + * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesDeleteResponse instance */ - public deleteWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesDeleteRequest): Promise; + public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse): flyteidl.admin.WorkflowAttributesDeleteResponse; /** - * Calls ListMatchableAttributes. - * @param request ListMatchableAttributesRequest message or plain object - * @param callback Node-style callback called with the error, if any, and ListMatchableAttributesResponse + * 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 listMatchableAttributes(request: flyteidl.admin.IListMatchableAttributesRequest, callback: flyteidl.service.AdminService.ListMatchableAttributesCallback): void; + public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls ListMatchableAttributes. - * @param request ListMatchableAttributesRequest message or plain object + * 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 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.WorkflowAttributesDeleteResponse; + + /** + * 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); + } + } + + /** Namespace service. */ + namespace service { + + /** Represents an AdminService */ + class AdminService extends $protobuf.rpc.Service { + + /** + * Constructs a new AdminService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new AdminService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AdminService; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskCreateResponse + */ + public createTask(request: flyteidl.admin.ITaskCreateRequest, callback: flyteidl.service.AdminService.CreateTaskCallback): void; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object * @returns Promise */ - public listMatchableAttributes(request: flyteidl.admin.IListMatchableAttributesRequest): Promise; + public createTask(request: flyteidl.admin.ITaskCreateRequest): Promise; + + /** + * Calls GetTask. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Task + */ + public getTask(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetTaskCallback): void; + + /** + * Calls GetTask. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getTask(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls ListTaskIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + */ + public listTaskIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListTaskIdsCallback): void; + + /** + * Calls ListTaskIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @returns Promise + */ + public listTaskIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + + /** + * Calls ListTasks. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskList + */ + public listTasks(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListTasksCallback): void; + + /** + * Calls ListTasks. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listTasks(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls CreateWorkflow. + * @param request WorkflowCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowCreateResponse + */ + public createWorkflow(request: flyteidl.admin.IWorkflowCreateRequest, callback: flyteidl.service.AdminService.CreateWorkflowCallback): void; + + /** + * Calls CreateWorkflow. + * @param request WorkflowCreateRequest message or plain object + * @returns Promise + */ + public createWorkflow(request: flyteidl.admin.IWorkflowCreateRequest): Promise; + + /** + * Calls GetWorkflow. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Workflow + */ + public getWorkflow(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetWorkflowCallback): void; + + /** + * Calls GetWorkflow. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getWorkflow(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls ListWorkflowIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + */ + public listWorkflowIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListWorkflowIdsCallback): void; + + /** + * Calls ListWorkflowIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @returns Promise + */ + public listWorkflowIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + + /** + * Calls ListWorkflows. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowList + */ + public listWorkflows(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListWorkflowsCallback): void; + + /** + * Calls ListWorkflows. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listWorkflows(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls CreateLaunchPlan. + * @param request LaunchPlanCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanCreateResponse + */ + public createLaunchPlan(request: flyteidl.admin.ILaunchPlanCreateRequest, callback: flyteidl.service.AdminService.CreateLaunchPlanCallback): void; + + /** + * Calls CreateLaunchPlan. + * @param request LaunchPlanCreateRequest message or plain object + * @returns Promise + */ + public createLaunchPlan(request: flyteidl.admin.ILaunchPlanCreateRequest): Promise; + + /** + * Calls GetLaunchPlan. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlan + */ + public getLaunchPlan(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetLaunchPlanCallback): void; + + /** + * Calls GetLaunchPlan. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getLaunchPlan(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls GetActiveLaunchPlan. + * @param request ActiveLaunchPlanRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlan + */ + public getActiveLaunchPlan(request: flyteidl.admin.IActiveLaunchPlanRequest, callback: flyteidl.service.AdminService.GetActiveLaunchPlanCallback): void; + + /** + * Calls GetActiveLaunchPlan. + * @param request ActiveLaunchPlanRequest message or plain object + * @returns Promise + */ + public getActiveLaunchPlan(request: flyteidl.admin.IActiveLaunchPlanRequest): Promise; + + /** + * Calls ListActiveLaunchPlans. + * @param request ActiveLaunchPlanListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanList + */ + public listActiveLaunchPlans(request: flyteidl.admin.IActiveLaunchPlanListRequest, callback: flyteidl.service.AdminService.ListActiveLaunchPlansCallback): void; + + /** + * Calls ListActiveLaunchPlans. + * @param request ActiveLaunchPlanListRequest message or plain object + * @returns Promise + */ + public listActiveLaunchPlans(request: flyteidl.admin.IActiveLaunchPlanListRequest): Promise; + + /** + * Calls ListLaunchPlanIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + */ + public listLaunchPlanIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListLaunchPlanIdsCallback): void; + + /** + * Calls ListLaunchPlanIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @returns Promise + */ + public listLaunchPlanIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + + /** + * Calls ListLaunchPlans. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanList + */ + public listLaunchPlans(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListLaunchPlansCallback): void; + + /** + * Calls ListLaunchPlans. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listLaunchPlans(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls UpdateLaunchPlan. + * @param request LaunchPlanUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanUpdateResponse + */ + public updateLaunchPlan(request: flyteidl.admin.ILaunchPlanUpdateRequest, callback: flyteidl.service.AdminService.UpdateLaunchPlanCallback): void; + + /** + * Calls UpdateLaunchPlan. + * @param request LaunchPlanUpdateRequest message or plain object + * @returns Promise + */ + public updateLaunchPlan(request: flyteidl.admin.ILaunchPlanUpdateRequest): Promise; + + /** + * Calls CreateExecution. + * @param request ExecutionCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + */ + public createExecution(request: flyteidl.admin.IExecutionCreateRequest, callback: flyteidl.service.AdminService.CreateExecutionCallback): void; + + /** + * Calls CreateExecution. + * @param request ExecutionCreateRequest message or plain object + * @returns Promise + */ + public createExecution(request: flyteidl.admin.IExecutionCreateRequest): Promise; + + /** + * Calls RelaunchExecution. + * @param request ExecutionRelaunchRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + */ + public relaunchExecution(request: flyteidl.admin.IExecutionRelaunchRequest, callback: flyteidl.service.AdminService.RelaunchExecutionCallback): void; + + /** + * Calls RelaunchExecution. + * @param request ExecutionRelaunchRequest message or plain object + * @returns Promise + */ + public relaunchExecution(request: flyteidl.admin.IExecutionRelaunchRequest): Promise; + + /** + * Calls RecoverExecution. + * @param request ExecutionRecoverRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + */ + public recoverExecution(request: flyteidl.admin.IExecutionRecoverRequest, callback: flyteidl.service.AdminService.RecoverExecutionCallback): void; + + /** + * Calls RecoverExecution. + * @param request ExecutionRecoverRequest message or plain object + * @returns Promise + */ + public recoverExecution(request: flyteidl.admin.IExecutionRecoverRequest): Promise; + + /** + * Calls GetExecution. + * @param request WorkflowExecutionGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Execution + */ + public getExecution(request: flyteidl.admin.IWorkflowExecutionGetRequest, callback: flyteidl.service.AdminService.GetExecutionCallback): void; + + /** + * Calls GetExecution. + * @param request WorkflowExecutionGetRequest message or plain object + * @returns Promise + */ + public getExecution(request: flyteidl.admin.IWorkflowExecutionGetRequest): Promise; + + /** + * Calls UpdateExecution. + * @param request ExecutionUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionUpdateResponse + */ + public updateExecution(request: flyteidl.admin.IExecutionUpdateRequest, callback: flyteidl.service.AdminService.UpdateExecutionCallback): void; + + /** + * Calls UpdateExecution. + * @param request ExecutionUpdateRequest message or plain object + * @returns Promise + */ + public updateExecution(request: flyteidl.admin.IExecutionUpdateRequest): Promise; + + /** + * Calls GetExecutionData. + * @param request WorkflowExecutionGetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetDataResponse + */ + public getExecutionData(request: flyteidl.admin.IWorkflowExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetExecutionDataCallback): void; + + /** + * Calls GetExecutionData. + * @param request WorkflowExecutionGetDataRequest message or plain object + * @returns Promise + */ + public getExecutionData(request: flyteidl.admin.IWorkflowExecutionGetDataRequest): Promise; + + /** + * Calls ListExecutions. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionList + */ + public listExecutions(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListExecutionsCallback): void; + + /** + * Calls ListExecutions. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listExecutions(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls TerminateExecution. + * @param request ExecutionTerminateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionTerminateResponse + */ + public terminateExecution(request: flyteidl.admin.IExecutionTerminateRequest, callback: flyteidl.service.AdminService.TerminateExecutionCallback): void; + + /** + * Calls TerminateExecution. + * @param request ExecutionTerminateRequest message or plain object + * @returns Promise + */ + public terminateExecution(request: flyteidl.admin.IExecutionTerminateRequest): Promise; + + /** + * Calls GetNodeExecution. + * @param request NodeExecutionGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecution + */ + public getNodeExecution(request: flyteidl.admin.INodeExecutionGetRequest, callback: flyteidl.service.AdminService.GetNodeExecutionCallback): void; + + /** + * Calls GetNodeExecution. + * @param request NodeExecutionGetRequest message or plain object + * @returns Promise + */ + public getNodeExecution(request: flyteidl.admin.INodeExecutionGetRequest): Promise; + + /** + * Calls ListNodeExecutions. + * @param request NodeExecutionListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionList + */ + public listNodeExecutions(request: flyteidl.admin.INodeExecutionListRequest, callback: flyteidl.service.AdminService.ListNodeExecutionsCallback): void; + + /** + * Calls ListNodeExecutions. + * @param request NodeExecutionListRequest message or plain object + * @returns Promise + */ + public listNodeExecutions(request: flyteidl.admin.INodeExecutionListRequest): Promise; + + /** + * Calls ListNodeExecutionsForTask. + * @param request NodeExecutionForTaskListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionList + */ + public listNodeExecutionsForTask(request: flyteidl.admin.INodeExecutionForTaskListRequest, callback: flyteidl.service.AdminService.ListNodeExecutionsForTaskCallback): void; + + /** + * Calls ListNodeExecutionsForTask. + * @param request NodeExecutionForTaskListRequest message or plain object + * @returns Promise + */ + public listNodeExecutionsForTask(request: flyteidl.admin.INodeExecutionForTaskListRequest): Promise; + + /** + * Calls GetNodeExecutionData. + * @param request NodeExecutionGetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionGetDataResponse + */ + public getNodeExecutionData(request: flyteidl.admin.INodeExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetNodeExecutionDataCallback): void; + + /** + * Calls GetNodeExecutionData. + * @param request NodeExecutionGetDataRequest message or plain object + * @returns Promise + */ + public getNodeExecutionData(request: flyteidl.admin.INodeExecutionGetDataRequest): Promise; + + /** + * Calls RegisterProject. + * @param request ProjectRegisterRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectRegisterResponse + */ + public registerProject(request: flyteidl.admin.IProjectRegisterRequest, callback: flyteidl.service.AdminService.RegisterProjectCallback): void; + + /** + * Calls RegisterProject. + * @param request ProjectRegisterRequest message or plain object + * @returns Promise + */ + public registerProject(request: flyteidl.admin.IProjectRegisterRequest): Promise; + + /** + * Calls UpdateProject. + * @param request Project message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectUpdateResponse + */ + public updateProject(request: flyteidl.admin.IProject, callback: flyteidl.service.AdminService.UpdateProjectCallback): void; + + /** + * Calls UpdateProject. + * @param request Project message or plain object + * @returns Promise + */ + public updateProject(request: flyteidl.admin.IProject): Promise; + + /** + * Calls ListProjects. + * @param request ProjectListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Projects + */ + public listProjects(request: flyteidl.admin.IProjectListRequest, callback: flyteidl.service.AdminService.ListProjectsCallback): void; + + /** + * Calls ListProjects. + * @param request ProjectListRequest message or plain object + * @returns Promise + */ + public listProjects(request: flyteidl.admin.IProjectListRequest): Promise; + + /** + * Calls CreateWorkflowEvent. + * @param request WorkflowExecutionEventRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowExecutionEventResponse + */ + public createWorkflowEvent(request: flyteidl.admin.IWorkflowExecutionEventRequest, callback: flyteidl.service.AdminService.CreateWorkflowEventCallback): void; + + /** + * Calls CreateWorkflowEvent. + * @param request WorkflowExecutionEventRequest message or plain object + * @returns Promise + */ + public createWorkflowEvent(request: flyteidl.admin.IWorkflowExecutionEventRequest): Promise; + + /** + * Calls CreateNodeEvent. + * @param request NodeExecutionEventRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionEventResponse + */ + public createNodeEvent(request: flyteidl.admin.INodeExecutionEventRequest, callback: flyteidl.service.AdminService.CreateNodeEventCallback): void; + + /** + * Calls CreateNodeEvent. + * @param request NodeExecutionEventRequest message or plain object + * @returns Promise + */ + public createNodeEvent(request: flyteidl.admin.INodeExecutionEventRequest): Promise; + + /** + * Calls CreateTaskEvent. + * @param request TaskExecutionEventRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecutionEventResponse + */ + public createTaskEvent(request: flyteidl.admin.ITaskExecutionEventRequest, callback: flyteidl.service.AdminService.CreateTaskEventCallback): void; + + /** + * Calls CreateTaskEvent. + * @param request TaskExecutionEventRequest message or plain object + * @returns Promise + */ + public createTaskEvent(request: flyteidl.admin.ITaskExecutionEventRequest): Promise; + + /** + * Calls GetTaskExecution. + * @param request TaskExecutionGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecution + */ + public getTaskExecution(request: flyteidl.admin.ITaskExecutionGetRequest, callback: flyteidl.service.AdminService.GetTaskExecutionCallback): void; + + /** + * Calls GetTaskExecution. + * @param request TaskExecutionGetRequest message or plain object + * @returns Promise + */ + public getTaskExecution(request: flyteidl.admin.ITaskExecutionGetRequest): Promise; + + /** + * Calls ListTaskExecutions. + * @param request TaskExecutionListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecutionList + */ + public listTaskExecutions(request: flyteidl.admin.ITaskExecutionListRequest, callback: flyteidl.service.AdminService.ListTaskExecutionsCallback): void; + + /** + * Calls ListTaskExecutions. + * @param request TaskExecutionListRequest message or plain object + * @returns Promise + */ + public listTaskExecutions(request: flyteidl.admin.ITaskExecutionListRequest): Promise; + + /** + * Calls GetTaskExecutionData. + * @param request TaskExecutionGetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecutionGetDataResponse + */ + public getTaskExecutionData(request: flyteidl.admin.ITaskExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetTaskExecutionDataCallback): void; + + /** + * Calls GetTaskExecutionData. + * @param request TaskExecutionGetDataRequest message or plain object + * @returns Promise + */ + public getTaskExecutionData(request: flyteidl.admin.ITaskExecutionGetDataRequest): Promise; + + /** + * Calls UpdateProjectDomainAttributes. + * @param request ProjectDomainAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesUpdateResponse + */ + public updateProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateProjectDomainAttributesCallback): void; + + /** + * Calls UpdateProjectDomainAttributes. + * @param request ProjectDomainAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesUpdateRequest): Promise; + + /** + * Calls GetProjectDomainAttributes. + * @param request ProjectDomainAttributesGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesGetResponse + */ + public getProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesGetRequest, callback: flyteidl.service.AdminService.GetProjectDomainAttributesCallback): void; + + /** + * Calls GetProjectDomainAttributes. + * @param request ProjectDomainAttributesGetRequest message or plain object + * @returns Promise + */ + public getProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesGetRequest): Promise; + + /** + * Calls DeleteProjectDomainAttributes. + * @param request ProjectDomainAttributesDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesDeleteResponse + */ + public deleteProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteProjectDomainAttributesCallback): void; + + /** + * Calls DeleteProjectDomainAttributes. + * @param request ProjectDomainAttributesDeleteRequest message or plain object + * @returns Promise + */ + public deleteProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesDeleteRequest): Promise; + + /** + * Calls UpdateProjectAttributes. + * @param request ProjectAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectAttributesUpdateResponse + */ + public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateProjectAttributesCallback): void; + + /** + * Calls UpdateProjectAttributes. + * @param request ProjectAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest): Promise; + + /** + * Calls GetProjectAttributes. + * @param request ProjectAttributesGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectAttributesGetResponse + */ + public getProjectAttributes(request: flyteidl.admin.IProjectAttributesGetRequest, callback: flyteidl.service.AdminService.GetProjectAttributesCallback): void; + + /** + * Calls GetProjectAttributes. + * @param request ProjectAttributesGetRequest message or plain object + * @returns Promise + */ + public getProjectAttributes(request: flyteidl.admin.IProjectAttributesGetRequest): Promise; + + /** + * Calls DeleteProjectAttributes. + * @param request ProjectAttributesDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectAttributesDeleteResponse + */ + public deleteProjectAttributes(request: flyteidl.admin.IProjectAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteProjectAttributesCallback): void; + + /** + * Calls DeleteProjectAttributes. + * @param request ProjectAttributesDeleteRequest message or plain object + * @returns Promise + */ + public deleteProjectAttributes(request: flyteidl.admin.IProjectAttributesDeleteRequest): Promise; + + /** + * Calls UpdateWorkflowAttributes. + * @param request WorkflowAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowAttributesUpdateResponse + */ + public updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateWorkflowAttributesCallback): void; + + /** + * Calls UpdateWorkflowAttributes. + * @param request WorkflowAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest): Promise; + + /** + * Calls GetWorkflowAttributes. + * @param request WorkflowAttributesGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowAttributesGetResponse + */ + public getWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesGetRequest, callback: flyteidl.service.AdminService.GetWorkflowAttributesCallback): void; + + /** + * Calls GetWorkflowAttributes. + * @param request WorkflowAttributesGetRequest message or plain object + * @returns Promise + */ + public getWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesGetRequest): Promise; + + /** + * Calls DeleteWorkflowAttributes. + * @param request WorkflowAttributesDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowAttributesDeleteResponse + */ + public deleteWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteWorkflowAttributesCallback): void; + + /** + * Calls DeleteWorkflowAttributes. + * @param request WorkflowAttributesDeleteRequest message or plain object + * @returns Promise + */ + public deleteWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesDeleteRequest): Promise; + + /** + * Calls ListMatchableAttributes. + * @param request ListMatchableAttributesRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ListMatchableAttributesResponse + */ + public listMatchableAttributes(request: flyteidl.admin.IListMatchableAttributesRequest, callback: flyteidl.service.AdminService.ListMatchableAttributesCallback): void; + + /** + * Calls ListMatchableAttributes. + * @param request ListMatchableAttributesRequest message or plain object + * @returns Promise + */ + public listMatchableAttributes(request: flyteidl.admin.IListMatchableAttributesRequest): Promise; + + /** + * Calls ListNamedEntities. + * @param request NamedEntityListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityList + */ + public listNamedEntities(request: flyteidl.admin.INamedEntityListRequest, callback: flyteidl.service.AdminService.ListNamedEntitiesCallback): void; + + /** + * Calls ListNamedEntities. + * @param request NamedEntityListRequest message or plain object + * @returns Promise + */ + public listNamedEntities(request: flyteidl.admin.INamedEntityListRequest): Promise; + + /** + * Calls GetNamedEntity. + * @param request NamedEntityGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntity + */ + public getNamedEntity(request: flyteidl.admin.INamedEntityGetRequest, callback: flyteidl.service.AdminService.GetNamedEntityCallback): void; + + /** + * Calls GetNamedEntity. + * @param request NamedEntityGetRequest message or plain object + * @returns Promise + */ + public getNamedEntity(request: flyteidl.admin.INamedEntityGetRequest): Promise; + + /** + * Calls UpdateNamedEntity. + * @param request NamedEntityUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityUpdateResponse + */ + public updateNamedEntity(request: flyteidl.admin.INamedEntityUpdateRequest, callback: flyteidl.service.AdminService.UpdateNamedEntityCallback): void; + + /** + * Calls UpdateNamedEntity. + * @param request NamedEntityUpdateRequest message or plain object + * @returns Promise + */ + public updateNamedEntity(request: flyteidl.admin.INamedEntityUpdateRequest): Promise; + + /** + * Calls GetVersion. + * @param request GetVersionRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetVersionResponse + */ + public getVersion(request: flyteidl.admin.IGetVersionRequest, callback: flyteidl.service.AdminService.GetVersionCallback): void; + + /** + * Calls GetVersion. + * @param request GetVersionRequest message or plain object + * @returns Promise + */ + public getVersion(request: flyteidl.admin.IGetVersionRequest): Promise; + + /** + * Calls GetDescriptionEntity. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DescriptionEntity + */ + public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetDescriptionEntityCallback): void; + + /** + * Calls GetDescriptionEntity. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls ListDescriptionEntities. + * @param request DescriptionEntityListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DescriptionEntityList + */ + public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest, callback: flyteidl.service.AdminService.ListDescriptionEntitiesCallback): void; + + /** + * Calls ListDescriptionEntities. + * @param request DescriptionEntityListRequest message or plain object + * @returns Promise + */ + public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest): Promise; + + /** + * Calls GetExecutionMetrics. + * @param request WorkflowExecutionGetMetricsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse + */ + public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, callback: flyteidl.service.AdminService.GetExecutionMetricsCallback): void; + + /** + * Calls GetExecutionMetrics. + * @param request WorkflowExecutionGetMetricsRequest message or plain object + * @returns Promise + */ + public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): Promise; + } + + namespace AdminService { + + /** + * Callback as used by {@link flyteidl.service.AdminService#createTask}. + * @param error Error, if any + * @param [response] TaskCreateResponse + */ + type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.TaskCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTask}. + * @param error Error, if any + * @param [response] Task + */ + type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.Task) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTaskIds}. + * @param error Error, if any + * @param [response] NamedEntityIdentifierList + */ + type ListTaskIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTasks}. + * @param error Error, if any + * @param [response] TaskList + */ + type ListTasksCallback = (error: (Error|null), response?: flyteidl.admin.TaskList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createWorkflow}. + * @param error Error, if any + * @param [response] WorkflowCreateResponse + */ + type CreateWorkflowCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getWorkflow}. + * @param error Error, if any + * @param [response] Workflow + */ + type GetWorkflowCallback = (error: (Error|null), response?: flyteidl.admin.Workflow) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listWorkflowIds}. + * @param error Error, if any + * @param [response] NamedEntityIdentifierList + */ + type ListWorkflowIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listWorkflows}. + * @param error Error, if any + * @param [response] WorkflowList + */ + type ListWorkflowsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlanCreateResponse + */ + type CreateLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlan + */ + type GetLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlan) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getActiveLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlan + */ + type GetActiveLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlan) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listActiveLaunchPlans}. + * @param error Error, if any + * @param [response] LaunchPlanList + */ + type ListActiveLaunchPlansCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlanIds}. + * @param error Error, if any + * @param [response] NamedEntityIdentifierList + */ + type ListLaunchPlanIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlans}. + * @param error Error, if any + * @param [response] LaunchPlanList + */ + type ListLaunchPlansCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlanUpdateResponse + */ + type UpdateLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createExecution}. + * @param error Error, if any + * @param [response] ExecutionCreateResponse + */ + type CreateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#relaunchExecution}. + * @param error Error, if any + * @param [response] ExecutionCreateResponse + */ + type RelaunchExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#recoverExecution}. + * @param error Error, if any + * @param [response] ExecutionCreateResponse + */ + type RecoverExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecution}. + * @param error Error, if any + * @param [response] Execution + */ + type GetExecutionCallback = (error: (Error|null), response?: flyteidl.admin.Execution) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateExecution}. + * @param error Error, if any + * @param [response] ExecutionUpdateResponse + */ + type UpdateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionData}. + * @param error Error, if any + * @param [response] WorkflowExecutionGetDataResponse + */ + type GetExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetDataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listExecutions}. + * @param error Error, if any + * @param [response] ExecutionList + */ + type ListExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#terminateExecution}. + * @param error Error, if any + * @param [response] ExecutionTerminateResponse + */ + type TerminateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionTerminateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNodeExecution}. + * @param error Error, if any + * @param [response] NodeExecution + */ + type GetNodeExecutionCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecution) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutions}. + * @param error Error, if any + * @param [response] NodeExecutionList + */ + type ListNodeExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutionsForTask}. + * @param error Error, if any + * @param [response] NodeExecutionList + */ + type ListNodeExecutionsForTaskCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNodeExecutionData}. + * @param error Error, if any + * @param [response] NodeExecutionGetDataResponse + */ + type GetNodeExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionGetDataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#registerProject}. + * @param error Error, if any + * @param [response] ProjectRegisterResponse + */ + type RegisterProjectCallback = (error: (Error|null), response?: flyteidl.admin.ProjectRegisterResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProject}. + * @param error Error, if any + * @param [response] ProjectUpdateResponse + */ + type UpdateProjectCallback = (error: (Error|null), response?: flyteidl.admin.ProjectUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listProjects}. + * @param error Error, if any + * @param [response] Projects + */ + type ListProjectsCallback = (error: (Error|null), response?: flyteidl.admin.Projects) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createWorkflowEvent}. + * @param error Error, if any + * @param [response] WorkflowExecutionEventResponse + */ + type CreateWorkflowEventCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionEventResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createNodeEvent}. + * @param error Error, if any + * @param [response] NodeExecutionEventResponse + */ + type CreateNodeEventCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionEventResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createTaskEvent}. + * @param error Error, if any + * @param [response] TaskExecutionEventResponse + */ + type CreateTaskEventCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionEventResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTaskExecution}. + * @param error Error, if any + * @param [response] TaskExecution + */ + type GetTaskExecutionCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecution) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTaskExecutions}. + * @param error Error, if any + * @param [response] TaskExecutionList + */ + type ListTaskExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTaskExecutionData}. + * @param error Error, if any + * @param [response] TaskExecutionGetDataResponse + */ + type GetTaskExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionGetDataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectDomainAttributes}. + * @param error Error, if any + * @param [response] ProjectDomainAttributesUpdateResponse + */ + type UpdateProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getProjectDomainAttributes}. + * @param error Error, if any + * @param [response] ProjectDomainAttributesGetResponse + */ + type GetProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteProjectDomainAttributes}. + * @param error Error, if any + * @param [response] ProjectDomainAttributesDeleteResponse + */ + type DeleteProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesDeleteResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectAttributes}. + * @param error Error, if any + * @param [response] ProjectAttributesUpdateResponse + */ + type UpdateProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getProjectAttributes}. + * @param error Error, if any + * @param [response] ProjectAttributesGetResponse + */ + type GetProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteProjectAttributes}. + * @param error Error, if any + * @param [response] ProjectAttributesDeleteResponse + */ + type DeleteProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesDeleteResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateWorkflowAttributes}. + * @param error Error, if any + * @param [response] WorkflowAttributesUpdateResponse + */ + type UpdateWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getWorkflowAttributes}. + * @param error Error, if any + * @param [response] WorkflowAttributesGetResponse + */ + type GetWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteWorkflowAttributes}. + * @param error Error, if any + * @param [response] WorkflowAttributesDeleteResponse + */ + type DeleteWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesDeleteResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listMatchableAttributes}. + * @param error Error, if any + * @param [response] ListMatchableAttributesResponse + */ + type ListMatchableAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ListMatchableAttributesResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNamedEntities}. + * @param error Error, if any + * @param [response] NamedEntityList + */ + type ListNamedEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNamedEntity}. + * @param error Error, if any + * @param [response] NamedEntity + */ + type GetNamedEntityCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntity) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateNamedEntity}. + * @param error Error, if any + * @param [response] NamedEntityUpdateResponse + */ + type UpdateNamedEntityCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getVersion}. + * @param error Error, if any + * @param [response] GetVersionResponse + */ + type GetVersionCallback = (error: (Error|null), response?: flyteidl.admin.GetVersionResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getDescriptionEntity}. + * @param error Error, if any + * @param [response] DescriptionEntity + */ + type GetDescriptionEntityCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntity) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listDescriptionEntities}. + * @param error Error, if any + * @param [response] DescriptionEntityList + */ + type ListDescriptionEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntityList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}. + * @param error Error, if any + * @param [response] WorkflowExecutionGetMetricsResponse + */ + type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void; + } + + /** Represents an AsyncAgentService */ + class AsyncAgentService extends $protobuf.rpc.Service { + + /** + * Constructs a new AsyncAgentService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new AsyncAgentService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AsyncAgentService; + + /** + * Calls CreateTask. + * @param request CreateTaskRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateTaskResponse + */ + public createTask(request: flyteidl.admin.ICreateTaskRequest, callback: flyteidl.service.AsyncAgentService.CreateTaskCallback): void; + + /** + * Calls CreateTask. + * @param request CreateTaskRequest message or plain object + * @returns Promise + */ + public createTask(request: flyteidl.admin.ICreateTaskRequest): Promise; + + /** + * Calls GetTask. + * @param request GetTaskRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetTaskResponse + */ + public getTask(request: flyteidl.admin.IGetTaskRequest, callback: flyteidl.service.AsyncAgentService.GetTaskCallback): void; + + /** + * Calls GetTask. + * @param request GetTaskRequest message or plain object + * @returns Promise + */ + public getTask(request: flyteidl.admin.IGetTaskRequest): Promise; + + /** + * Calls DeleteTask. + * @param request DeleteTaskRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DeleteTaskResponse + */ + public deleteTask(request: flyteidl.admin.IDeleteTaskRequest, callback: flyteidl.service.AsyncAgentService.DeleteTaskCallback): void; + + /** + * Calls DeleteTask. + * @param request DeleteTaskRequest message or plain object + * @returns Promise + */ + public deleteTask(request: flyteidl.admin.IDeleteTaskRequest): Promise; + } + + namespace AsyncAgentService { + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#createTask}. + * @param error Error, if any + * @param [response] CreateTaskResponse + */ + type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.CreateTaskResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#getTask}. + * @param error Error, if any + * @param [response] GetTaskResponse + */ + type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.GetTaskResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#deleteTask}. + * @param error Error, if any + * @param [response] DeleteTaskResponse + */ + type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.admin.DeleteTaskResponse) => void; + } + + /** Properties of a OAuth2MetadataRequest. */ + interface IOAuth2MetadataRequest { + } + + /** Represents a OAuth2MetadataRequest. */ + class OAuth2MetadataRequest implements IOAuth2MetadataRequest { + + /** + * Constructs a new OAuth2MetadataRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IOAuth2MetadataRequest); + + /** + * Creates a new OAuth2MetadataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns OAuth2MetadataRequest instance + */ + public static create(properties?: flyteidl.service.IOAuth2MetadataRequest): flyteidl.service.OAuth2MetadataRequest; + + /** + * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages. + * @param message OAuth2MetadataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IOAuth2MetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a OAuth2MetadataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OAuth2MetadataRequest + * @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.service.OAuth2MetadataRequest; + + /** + * Verifies a OAuth2MetadataRequest 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 OAuth2MetadataResponse. */ + interface IOAuth2MetadataResponse { + + /** OAuth2MetadataResponse issuer */ + issuer?: (string|null); + + /** OAuth2MetadataResponse authorizationEndpoint */ + authorizationEndpoint?: (string|null); + + /** OAuth2MetadataResponse tokenEndpoint */ + tokenEndpoint?: (string|null); + + /** OAuth2MetadataResponse responseTypesSupported */ + responseTypesSupported?: (string[]|null); + + /** OAuth2MetadataResponse scopesSupported */ + scopesSupported?: (string[]|null); + + /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */ + tokenEndpointAuthMethodsSupported?: (string[]|null); + + /** OAuth2MetadataResponse jwksUri */ + jwksUri?: (string|null); + + /** OAuth2MetadataResponse codeChallengeMethodsSupported */ + codeChallengeMethodsSupported?: (string[]|null); + + /** OAuth2MetadataResponse grantTypesSupported */ + grantTypesSupported?: (string[]|null); + + /** OAuth2MetadataResponse deviceAuthorizationEndpoint */ + deviceAuthorizationEndpoint?: (string|null); + } + + /** Represents a OAuth2MetadataResponse. */ + class OAuth2MetadataResponse implements IOAuth2MetadataResponse { + + /** + * Constructs a new OAuth2MetadataResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IOAuth2MetadataResponse); + + /** OAuth2MetadataResponse issuer. */ + public issuer: string; + + /** OAuth2MetadataResponse authorizationEndpoint. */ + public authorizationEndpoint: string; + + /** OAuth2MetadataResponse tokenEndpoint. */ + public tokenEndpoint: string; + + /** OAuth2MetadataResponse responseTypesSupported. */ + public responseTypesSupported: string[]; + + /** OAuth2MetadataResponse scopesSupported. */ + public scopesSupported: string[]; + + /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. */ + public tokenEndpointAuthMethodsSupported: string[]; + + /** OAuth2MetadataResponse jwksUri. */ + public jwksUri: string; + + /** OAuth2MetadataResponse codeChallengeMethodsSupported. */ + public codeChallengeMethodsSupported: string[]; + + /** OAuth2MetadataResponse grantTypesSupported. */ + public grantTypesSupported: string[]; + + /** OAuth2MetadataResponse deviceAuthorizationEndpoint. */ + public deviceAuthorizationEndpoint: string; + + /** + * Creates a new OAuth2MetadataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns OAuth2MetadataResponse instance + */ + public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse; + + /** + * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages. + * @param message OAuth2MetadataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a OAuth2MetadataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OAuth2MetadataResponse + * @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.service.OAuth2MetadataResponse; + + /** + * Verifies a OAuth2MetadataResponse 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 PublicClientAuthConfigRequest. */ + interface IPublicClientAuthConfigRequest { + } + + /** Represents a PublicClientAuthConfigRequest. */ + class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest { + + /** + * Constructs a new PublicClientAuthConfigRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest); + + /** + * Creates a new PublicClientAuthConfigRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns PublicClientAuthConfigRequest instance + */ + public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest; + + /** + * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages. + * @param message PublicClientAuthConfigRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PublicClientAuthConfigRequest + * @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.service.PublicClientAuthConfigRequest; + + /** + * Verifies a PublicClientAuthConfigRequest 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 PublicClientAuthConfigResponse. */ + interface IPublicClientAuthConfigResponse { + + /** PublicClientAuthConfigResponse clientId */ + clientId?: (string|null); + + /** PublicClientAuthConfigResponse redirectUri */ + redirectUri?: (string|null); + + /** PublicClientAuthConfigResponse scopes */ + scopes?: (string[]|null); + + /** PublicClientAuthConfigResponse authorizationMetadataKey */ + authorizationMetadataKey?: (string|null); + + /** PublicClientAuthConfigResponse serviceHttpEndpoint */ + serviceHttpEndpoint?: (string|null); + + /** PublicClientAuthConfigResponse audience */ + audience?: (string|null); + } + + /** Represents a PublicClientAuthConfigResponse. */ + class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse { + + /** + * Constructs a new PublicClientAuthConfigResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IPublicClientAuthConfigResponse); + + /** PublicClientAuthConfigResponse clientId. */ + public clientId: string; + + /** PublicClientAuthConfigResponse redirectUri. */ + public redirectUri: string; + + /** PublicClientAuthConfigResponse scopes. */ + public scopes: string[]; + + /** PublicClientAuthConfigResponse authorizationMetadataKey. */ + public authorizationMetadataKey: string; + + /** PublicClientAuthConfigResponse serviceHttpEndpoint. */ + public serviceHttpEndpoint: string; + + /** PublicClientAuthConfigResponse audience. */ + public audience: string; + + /** + * Creates a new PublicClientAuthConfigResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns PublicClientAuthConfigResponse instance + */ + public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse; + + /** + * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages. + * @param message PublicClientAuthConfigResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PublicClientAuthConfigResponse + * @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.service.PublicClientAuthConfigResponse; + + /** + * Verifies a PublicClientAuthConfigResponse 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); + } + + /** Represents an AuthMetadataService */ + class AuthMetadataService extends $protobuf.rpc.Service { + + /** + * Constructs a new AuthMetadataService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new AuthMetadataService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AuthMetadataService; + + /** + * Calls GetOAuth2Metadata. + * @param request OAuth2MetadataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and OAuth2MetadataResponse + */ + public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest, callback: flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback): void; + + /** + * Calls GetOAuth2Metadata. + * @param request OAuth2MetadataRequest message or plain object + * @returns Promise + */ + public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise; + + /** + * Calls GetPublicClientConfig. + * @param request PublicClientAuthConfigRequest message or plain object + * @param callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse + */ + public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void; + + /** + * Calls GetPublicClientConfig. + * @param request PublicClientAuthConfigRequest message or plain object + * @returns Promise + */ + public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise; + } + + namespace AuthMetadataService { + + /** + * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}. + * @param error Error, if any + * @param [response] OAuth2MetadataResponse + */ + type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}. + * @param error Error, if any + * @param [response] PublicClientAuthConfigResponse + */ + type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void; + } + + /** Properties of a CreateUploadLocationResponse. */ + interface ICreateUploadLocationResponse { + + /** CreateUploadLocationResponse signedUrl */ + signedUrl?: (string|null); + + /** CreateUploadLocationResponse nativeUrl */ + nativeUrl?: (string|null); + + /** CreateUploadLocationResponse expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateUploadLocationResponse artifact */ + artifact?: (flyteidl.artifact.IArtifact|null); + } + + /** Represents a CreateUploadLocationResponse. */ + class CreateUploadLocationResponse implements ICreateUploadLocationResponse { + + /** + * Constructs a new CreateUploadLocationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateUploadLocationResponse); + + /** CreateUploadLocationResponse signedUrl. */ + public signedUrl: string; + + /** CreateUploadLocationResponse nativeUrl. */ + public nativeUrl: string; + + /** CreateUploadLocationResponse expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateUploadLocationResponse artifact. */ + public artifact?: (flyteidl.artifact.IArtifact|null); + + /** + * Creates a new CreateUploadLocationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateUploadLocationResponse instance + */ + public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse; + + /** + * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages. + * @param message CreateUploadLocationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateUploadLocationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateUploadLocationResponse + * @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.service.CreateUploadLocationResponse; + + /** + * Verifies a CreateUploadLocationResponse 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 CreateUploadLocationRequest. */ + interface ICreateUploadLocationRequest { + + /** CreateUploadLocationRequest project */ + project?: (string|null); + + /** CreateUploadLocationRequest domain */ + domain?: (string|null); + + /** CreateUploadLocationRequest filename */ + filename?: (string|null); + + /** CreateUploadLocationRequest expiresIn */ + expiresIn?: (google.protobuf.IDuration|null); + + /** CreateUploadLocationRequest contentMd5 */ + contentMd5?: (Uint8Array|null); + + /** CreateUploadLocationRequest filenameRoot */ + filenameRoot?: (string|null); + + /** CreateUploadLocationRequest artifactSpec */ + artifactSpec?: (flyteidl.artifact.IArtifactSpec|null); + } + + /** Represents a CreateUploadLocationRequest. */ + class CreateUploadLocationRequest implements ICreateUploadLocationRequest { + + /** + * Constructs a new CreateUploadLocationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateUploadLocationRequest); + + /** CreateUploadLocationRequest project. */ + public project: string; + + /** CreateUploadLocationRequest domain. */ + public domain: string; + + /** CreateUploadLocationRequest filename. */ + public filename: string; + + /** CreateUploadLocationRequest expiresIn. */ + public expiresIn?: (google.protobuf.IDuration|null); + + /** CreateUploadLocationRequest contentMd5. */ + public contentMd5: Uint8Array; + + /** CreateUploadLocationRequest filenameRoot. */ + public filenameRoot: string; + + /** CreateUploadLocationRequest artifactSpec. */ + public artifactSpec?: (flyteidl.artifact.IArtifactSpec|null); + + /** + * Creates a new CreateUploadLocationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateUploadLocationRequest instance + */ + public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest; + + /** + * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages. + * @param message CreateUploadLocationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateUploadLocationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateUploadLocationRequest + * @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.service.CreateUploadLocationRequest; + + /** + * Verifies a CreateUploadLocationRequest 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 CreateDownloadLocationRequest. */ + interface ICreateDownloadLocationRequest { + + /** CreateDownloadLocationRequest nativeUrl */ + nativeUrl?: (string|null); + + /** CreateDownloadLocationRequest expiresIn */ + expiresIn?: (google.protobuf.IDuration|null); + } + + /** Represents a CreateDownloadLocationRequest. */ + class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest { + + /** + * Constructs a new CreateDownloadLocationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest); + + /** CreateDownloadLocationRequest nativeUrl. */ + public nativeUrl: string; + + /** CreateDownloadLocationRequest expiresIn. */ + public expiresIn?: (google.protobuf.IDuration|null); + + /** + * Creates a new CreateDownloadLocationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLocationRequest instance + */ + public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest; + + /** + * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages. + * @param message CreateDownloadLocationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLocationRequest + * @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.service.CreateDownloadLocationRequest; + + /** + * Verifies a CreateDownloadLocationRequest 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 CreateDownloadLocationResponse. */ + interface ICreateDownloadLocationResponse { + + /** CreateDownloadLocationResponse signedUrl */ + signedUrl?: (string|null); + + /** CreateDownloadLocationResponse expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a CreateDownloadLocationResponse. */ + class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse { + + /** + * Constructs a new CreateDownloadLocationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse); + + /** CreateDownloadLocationResponse signedUrl. */ + public signedUrl: string; + + /** CreateDownloadLocationResponse expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new CreateDownloadLocationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLocationResponse instance + */ + public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse; + + /** + * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages. + * @param message CreateDownloadLocationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLocationResponse + * @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.service.CreateDownloadLocationResponse; + + /** + * Verifies a CreateDownloadLocationResponse 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); + } + + /** ArtifactType enum. */ + enum ArtifactType { + ARTIFACT_TYPE_UNDEFINED = 0, + ARTIFACT_TYPE_DECK = 1 + } + + /** Properties of a CreateDownloadLinkRequest. */ + interface ICreateDownloadLinkRequest { + + /** CreateDownloadLinkRequest artifactType */ + artifactType?: (flyteidl.service.ArtifactType|null); + + /** CreateDownloadLinkRequest expiresIn */ + expiresIn?: (google.protobuf.IDuration|null); + + /** CreateDownloadLinkRequest nodeExecutionId */ + nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + } + + /** Represents a CreateDownloadLinkRequest. */ + class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest { + + /** + * Constructs a new CreateDownloadLinkRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest); + + /** CreateDownloadLinkRequest artifactType. */ + public artifactType: flyteidl.service.ArtifactType; + + /** CreateDownloadLinkRequest expiresIn. */ + public expiresIn?: (google.protobuf.IDuration|null); + + /** CreateDownloadLinkRequest nodeExecutionId. */ + public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** CreateDownloadLinkRequest source. */ + public source?: "nodeExecutionId"; + + /** + * Creates a new CreateDownloadLinkRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLinkRequest instance + */ + public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest; + + /** + * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages. + * @param message CreateDownloadLinkRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLinkRequest + * @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.service.CreateDownloadLinkRequest; + + /** + * Verifies a CreateDownloadLinkRequest 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 CreateDownloadLinkResponse. */ + interface ICreateDownloadLinkResponse { + + /** CreateDownloadLinkResponse signedUrl */ + signedUrl?: (string[]|null); + + /** CreateDownloadLinkResponse expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateDownloadLinkResponse preSignedUrls */ + preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + } - /** - * Calls ListNamedEntities. - * @param request NamedEntityListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NamedEntityList - */ - public listNamedEntities(request: flyteidl.admin.INamedEntityListRequest, callback: flyteidl.service.AdminService.ListNamedEntitiesCallback): void; + /** Represents a CreateDownloadLinkResponse. */ + class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse { /** - * Calls ListNamedEntities. - * @param request NamedEntityListRequest message or plain object - * @returns Promise + * Constructs a new CreateDownloadLinkResponse. + * @param [properties] Properties to set */ - public listNamedEntities(request: flyteidl.admin.INamedEntityListRequest): Promise; + constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse); - /** - * Calls GetNamedEntity. - * @param request NamedEntityGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NamedEntity - */ - public getNamedEntity(request: flyteidl.admin.INamedEntityGetRequest, callback: flyteidl.service.AdminService.GetNamedEntityCallback): void; + /** CreateDownloadLinkResponse signedUrl. */ + public signedUrl: string[]; - /** - * Calls GetNamedEntity. - * @param request NamedEntityGetRequest message or plain object - * @returns Promise - */ - public getNamedEntity(request: flyteidl.admin.INamedEntityGetRequest): Promise; + /** CreateDownloadLinkResponse expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); - /** - * Calls UpdateNamedEntity. - * @param request NamedEntityUpdateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and NamedEntityUpdateResponse - */ - public updateNamedEntity(request: flyteidl.admin.INamedEntityUpdateRequest, callback: flyteidl.service.AdminService.UpdateNamedEntityCallback): void; + /** CreateDownloadLinkResponse preSignedUrls. */ + public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); /** - * Calls UpdateNamedEntity. - * @param request NamedEntityUpdateRequest message or plain object - * @returns Promise + * Creates a new CreateDownloadLinkResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLinkResponse instance */ - public updateNamedEntity(request: flyteidl.admin.INamedEntityUpdateRequest): Promise; + public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse; /** - * Calls GetVersion. - * @param request GetVersionRequest message or plain object - * @param callback Node-style callback called with the error, if any, and GetVersionResponse + * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages. + * @param message CreateDownloadLinkResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - public getVersion(request: flyteidl.admin.IGetVersionRequest, callback: flyteidl.service.AdminService.GetVersionCallback): void; + public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls GetVersion. - * @param request GetVersionRequest message or plain object - * @returns Promise + * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLinkResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public getVersion(request: flyteidl.admin.IGetVersionRequest): Promise; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkResponse; /** - * Calls GetDescriptionEntity. - * @param request ObjectGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and DescriptionEntity + * Verifies a CreateDownloadLinkResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetDescriptionEntityCallback): void; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a PreSignedURLs. */ + interface IPreSignedURLs { + + /** PreSignedURLs signedUrl */ + signedUrl?: (string[]|null); + + /** PreSignedURLs expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a PreSignedURLs. */ + class PreSignedURLs implements IPreSignedURLs { /** - * Calls GetDescriptionEntity. - * @param request ObjectGetRequest message or plain object - * @returns Promise + * Constructs a new PreSignedURLs. + * @param [properties] Properties to set */ - public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest): Promise; + constructor(properties?: flyteidl.service.IPreSignedURLs); + + /** PreSignedURLs signedUrl. */ + public signedUrl: string[]; + + /** PreSignedURLs expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); /** - * Calls ListDescriptionEntities. - * @param request DescriptionEntityListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and DescriptionEntityList + * Creates a new PreSignedURLs instance using the specified properties. + * @param [properties] Properties to set + * @returns PreSignedURLs instance */ - public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest, callback: flyteidl.service.AdminService.ListDescriptionEntitiesCallback): void; + public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs; /** - * Calls ListDescriptionEntities. - * @param request DescriptionEntityListRequest message or plain object - * @returns Promise + * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages. + * @param message PreSignedURLs message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest): Promise; + public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls GetExecutionMetrics. - * @param request WorkflowExecutionGetMetricsRequest message or plain object - * @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse + * Decodes a PreSignedURLs message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PreSignedURLs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, callback: flyteidl.service.AdminService.GetExecutionMetricsCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs; /** - * Calls GetExecutionMetrics. - * @param request WorkflowExecutionGetMetricsRequest message or plain object - * @returns Promise + * Verifies a PreSignedURLs message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); } - namespace AdminService { + /** Properties of a GetDataRequest. */ + interface IGetDataRequest { - /** - * Callback as used by {@link flyteidl.service.AdminService#createTask}. - * @param error Error, if any - * @param [response] TaskCreateResponse - */ - type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.TaskCreateResponse) => void; + /** GetDataRequest flyteUrl */ + flyteUrl?: (string|null); - /** - * Callback as used by {@link flyteidl.service.AdminService#getTask}. - * @param error Error, if any - * @param [response] Task - */ - type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.Task) => void; + /** GetDataRequest artifactId */ + artifactId?: (flyteidl.core.IArtifactID|null); + } + + /** Represents a GetDataRequest. */ + class GetDataRequest implements IGetDataRequest { /** - * Callback as used by {@link flyteidl.service.AdminService#listTaskIds}. - * @param error Error, if any - * @param [response] NamedEntityIdentifierList + * Constructs a new GetDataRequest. + * @param [properties] Properties to set */ - type ListTaskIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + constructor(properties?: flyteidl.service.IGetDataRequest); + + /** GetDataRequest flyteUrl. */ + public flyteUrl: string; + + /** GetDataRequest artifactId. */ + public artifactId?: (flyteidl.core.IArtifactID|null); + + /** GetDataRequest query. */ + public query?: ("flyteUrl"|"artifactId"); /** - * Callback as used by {@link flyteidl.service.AdminService#listTasks}. - * @param error Error, if any - * @param [response] TaskList + * Creates a new GetDataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDataRequest instance */ - type ListTasksCallback = (error: (Error|null), response?: flyteidl.admin.TaskList) => void; + public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest; /** - * Callback as used by {@link flyteidl.service.AdminService#createWorkflow}. - * @param error Error, if any - * @param [response] WorkflowCreateResponse + * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages. + * @param message GetDataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - type CreateWorkflowCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowCreateResponse) => void; + public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Callback as used by {@link flyteidl.service.AdminService#getWorkflow}. - * @param error Error, if any - * @param [response] Workflow + * Decodes a GetDataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDataRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - type GetWorkflowCallback = (error: (Error|null), response?: flyteidl.admin.Workflow) => void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest; /** - * Callback as used by {@link flyteidl.service.AdminService#listWorkflowIds}. - * @param error Error, if any - * @param [response] NamedEntityIdentifierList + * Verifies a GetDataRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - type ListWorkflowIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a GetDataResponse. */ + interface IGetDataResponse { + + /** GetDataResponse literalMap */ + literalMap?: (flyteidl.core.ILiteralMap|null); + + /** GetDataResponse preSignedUrls */ + preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + + /** GetDataResponse literal */ + literal?: (flyteidl.core.ILiteral|null); + + /** GetDataResponse artifact */ + artifact?: (flyteidl.artifact.IArtifact|null); + } + + /** Represents a GetDataResponse. */ + class GetDataResponse implements IGetDataResponse { /** - * Callback as used by {@link flyteidl.service.AdminService#listWorkflows}. - * @param error Error, if any - * @param [response] WorkflowList + * Constructs a new GetDataResponse. + * @param [properties] Properties to set */ - type ListWorkflowsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowList) => void; + constructor(properties?: flyteidl.service.IGetDataResponse); + + /** GetDataResponse literalMap. */ + public literalMap?: (flyteidl.core.ILiteralMap|null); + + /** GetDataResponse preSignedUrls. */ + public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + + /** GetDataResponse literal. */ + public literal?: (flyteidl.core.ILiteral|null); + + /** GetDataResponse artifact. */ + public artifact?: (flyteidl.artifact.IArtifact|null); + + /** GetDataResponse data. */ + public data?: ("literalMap"|"preSignedUrls"|"literal"|"artifact"); /** - * Callback as used by {@link flyteidl.service.AdminService#createLaunchPlan}. - * @param error Error, if any - * @param [response] LaunchPlanCreateResponse + * Creates a new GetDataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDataResponse instance */ - type CreateLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanCreateResponse) => void; + public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse; /** - * Callback as used by {@link flyteidl.service.AdminService#getLaunchPlan}. - * @param error Error, if any - * @param [response] LaunchPlan + * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages. + * @param message GetDataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - type GetLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlan) => void; + public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Callback as used by {@link flyteidl.service.AdminService#getActiveLaunchPlan}. - * @param error Error, if any - * @param [response] LaunchPlan + * Decodes a GetDataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDataResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - type GetActiveLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlan) => void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse; /** - * Callback as used by {@link flyteidl.service.AdminService#listActiveLaunchPlans}. - * @param error Error, if any - * @param [response] LaunchPlanList + * Verifies a GetDataResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - type ListActiveLaunchPlansCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanList) => void; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Represents a DataProxyService */ + class DataProxyService extends $protobuf.rpc.Service { /** - * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlanIds}. - * @param error Error, if any - * @param [response] NamedEntityIdentifierList + * Constructs a new DataProxyService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited */ - type ListLaunchPlanIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** - * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlans}. - * @param error Error, if any - * @param [response] LaunchPlanList + * Creates new DataProxyService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. */ - type ListLaunchPlansCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanList) => void; + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService; /** - * Callback as used by {@link flyteidl.service.AdminService#updateLaunchPlan}. - * @param error Error, if any - * @param [response] LaunchPlanUpdateResponse + * Calls CreateUploadLocation. + * @param request CreateUploadLocationRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse */ - type UpdateLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanUpdateResponse) => void; + public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void; /** - * Callback as used by {@link flyteidl.service.AdminService#createExecution}. - * @param error Error, if any - * @param [response] ExecutionCreateResponse + * Calls CreateUploadLocation. + * @param request CreateUploadLocationRequest message or plain object + * @returns Promise */ - type CreateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise; /** - * Callback as used by {@link flyteidl.service.AdminService#relaunchExecution}. - * @param error Error, if any - * @param [response] ExecutionCreateResponse + * Calls CreateDownloadLocation. + * @param request CreateDownloadLocationRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse */ - type RelaunchExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void; /** - * Callback as used by {@link flyteidl.service.AdminService#recoverExecution}. - * @param error Error, if any - * @param [response] ExecutionCreateResponse + * Calls CreateDownloadLocation. + * @param request CreateDownloadLocationRequest message or plain object + * @returns Promise */ - type RecoverExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise; /** - * Callback as used by {@link flyteidl.service.AdminService#getExecution}. - * @param error Error, if any - * @param [response] Execution + * Calls CreateDownloadLink. + * @param request CreateDownloadLinkRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse */ - type GetExecutionCallback = (error: (Error|null), response?: flyteidl.admin.Execution) => void; + public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void; /** - * Callback as used by {@link flyteidl.service.AdminService#updateExecution}. - * @param error Error, if any - * @param [response] ExecutionUpdateResponse + * Calls CreateDownloadLink. + * @param request CreateDownloadLinkRequest message or plain object + * @returns Promise */ - type UpdateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionUpdateResponse) => void; + public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise; /** - * Callback as used by {@link flyteidl.service.AdminService#getExecutionData}. - * @param error Error, if any - * @param [response] WorkflowExecutionGetDataResponse + * Calls GetData. + * @param request GetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetDataResponse */ - type GetExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetDataResponse) => void; + public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void; /** - * Callback as used by {@link flyteidl.service.AdminService#listExecutions}. - * @param error Error, if any - * @param [response] ExecutionList + * Calls GetData. + * @param request GetDataRequest message or plain object + * @returns Promise */ - type ListExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionList) => void; + public getData(request: flyteidl.service.IGetDataRequest): Promise; + } + + namespace DataProxyService { /** - * Callback as used by {@link flyteidl.service.AdminService#terminateExecution}. + * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}. * @param error Error, if any - * @param [response] ExecutionTerminateResponse + * @param [response] CreateUploadLocationResponse */ - type TerminateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionTerminateResponse) => void; + type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void; /** - * Callback as used by {@link flyteidl.service.AdminService#getNodeExecution}. + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}. * @param error Error, if any - * @param [response] NodeExecution + * @param [response] CreateDownloadLocationResponse */ - type GetNodeExecutionCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecution) => void; + type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void; /** - * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutions}. + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}. * @param error Error, if any - * @param [response] NodeExecutionList + * @param [response] CreateDownloadLinkResponse */ - type ListNodeExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionList) => void; + type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void; /** - * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutionsForTask}. + * Callback as used by {@link flyteidl.service.DataProxyService#getData}. * @param error Error, if any - * @param [response] NodeExecutionList + * @param [response] GetDataResponse */ - type ListNodeExecutionsForTaskCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionList) => void; + type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void; + } + + /** Represents an ExternalPluginService */ + class ExternalPluginService extends $protobuf.rpc.Service { /** - * Callback as used by {@link flyteidl.service.AdminService#getNodeExecutionData}. - * @param error Error, if any - * @param [response] NodeExecutionGetDataResponse + * Constructs a new ExternalPluginService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited */ - type GetNodeExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionGetDataResponse) => void; + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** - * Callback as used by {@link flyteidl.service.AdminService#registerProject}. - * @param error Error, if any - * @param [response] ProjectRegisterResponse + * Creates new ExternalPluginService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. */ - type RegisterProjectCallback = (error: (Error|null), response?: flyteidl.admin.ProjectRegisterResponse) => void; + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ExternalPluginService; /** - * Callback as used by {@link flyteidl.service.AdminService#updateProject}. - * @param error Error, if any - * @param [response] ProjectUpdateResponse + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskCreateResponse */ - type UpdateProjectCallback = (error: (Error|null), response?: flyteidl.admin.ProjectUpdateResponse) => void; + public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.ExternalPluginService.CreateTaskCallback): void; /** - * Callback as used by {@link flyteidl.service.AdminService#listProjects}. - * @param error Error, if any - * @param [response] Projects + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @returns Promise */ - type ListProjectsCallback = (error: (Error|null), response?: flyteidl.admin.Projects) => void; + public createTask(request: flyteidl.service.ITaskCreateRequest): Promise; /** - * Callback as used by {@link flyteidl.service.AdminService#createWorkflowEvent}. - * @param error Error, if any - * @param [response] WorkflowExecutionEventResponse + * Calls GetTask. + * @param request TaskGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskGetResponse */ - type CreateWorkflowEventCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionEventResponse) => void; + public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.ExternalPluginService.GetTaskCallback): void; /** - * Callback as used by {@link flyteidl.service.AdminService#createNodeEvent}. - * @param error Error, if any - * @param [response] NodeExecutionEventResponse + * Calls GetTask. + * @param request TaskGetRequest message or plain object + * @returns Promise */ - type CreateNodeEventCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionEventResponse) => void; + public getTask(request: flyteidl.service.ITaskGetRequest): Promise; /** - * Callback as used by {@link flyteidl.service.AdminService#createTaskEvent}. - * @param error Error, if any - * @param [response] TaskExecutionEventResponse + * Calls DeleteTask. + * @param request TaskDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse */ - type CreateTaskEventCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionEventResponse) => void; + public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.ExternalPluginService.DeleteTaskCallback): void; /** - * Callback as used by {@link flyteidl.service.AdminService#getTaskExecution}. - * @param error Error, if any - * @param [response] TaskExecution + * Calls DeleteTask. + * @param request TaskDeleteRequest message or plain object + * @returns Promise */ - type GetTaskExecutionCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecution) => void; + public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise; + } + + namespace ExternalPluginService { /** - * Callback as used by {@link flyteidl.service.AdminService#listTaskExecutions}. + * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}. * @param error Error, if any - * @param [response] TaskExecutionList + * @param [response] TaskCreateResponse */ - type ListTaskExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionList) => void; + type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void; /** - * Callback as used by {@link flyteidl.service.AdminService#getTaskExecutionData}. + * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}. * @param error Error, if any - * @param [response] TaskExecutionGetDataResponse + * @param [response] TaskGetResponse */ - type GetTaskExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionGetDataResponse) => void; + type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void; /** - * Callback as used by {@link flyteidl.service.AdminService#updateProjectDomainAttributes}. + * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}. * @param error Error, if any - * @param [response] ProjectDomainAttributesUpdateResponse + * @param [response] TaskDeleteResponse */ - type UpdateProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesUpdateResponse) => void; + type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void; + } + + /** State enum. */ + enum State { + RETRYABLE_FAILURE = 0, + PERMANENT_FAILURE = 1, + PENDING = 2, + RUNNING = 3, + SUCCEEDED = 4 + } + + /** Properties of a TaskCreateRequest. */ + interface ITaskCreateRequest { + + /** TaskCreateRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskCreateRequest template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskCreateRequest outputPrefix */ + outputPrefix?: (string|null); + } + + /** Represents a TaskCreateRequest. */ + class TaskCreateRequest implements ITaskCreateRequest { /** - * Callback as used by {@link flyteidl.service.AdminService#getProjectDomainAttributes}. - * @param error Error, if any - * @param [response] ProjectDomainAttributesGetResponse + * Constructs a new TaskCreateRequest. + * @param [properties] Properties to set */ - type GetProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesGetResponse) => void; + constructor(properties?: flyteidl.service.ITaskCreateRequest); - /** - * Callback as used by {@link flyteidl.service.AdminService#deleteProjectDomainAttributes}. - * @param error Error, if any - * @param [response] ProjectDomainAttributesDeleteResponse - */ - type DeleteProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesDeleteResponse) => void; + /** TaskCreateRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); - /** - * Callback as used by {@link flyteidl.service.AdminService#updateProjectAttributes}. - * @param error Error, if any - * @param [response] ProjectAttributesUpdateResponse - */ - type UpdateProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesUpdateResponse) => void; + /** TaskCreateRequest template. */ + public template?: (flyteidl.core.ITaskTemplate|null); - /** - * Callback as used by {@link flyteidl.service.AdminService#getProjectAttributes}. - * @param error Error, if any - * @param [response] ProjectAttributesGetResponse - */ - type GetProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesGetResponse) => void; + /** TaskCreateRequest outputPrefix. */ + public outputPrefix: string; /** - * Callback as used by {@link flyteidl.service.AdminService#deleteProjectAttributes}. - * @param error Error, if any - * @param [response] ProjectAttributesDeleteResponse + * Creates a new TaskCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateRequest instance */ - type DeleteProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesDeleteResponse) => void; + public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest; /** - * Callback as used by {@link flyteidl.service.AdminService#updateWorkflowAttributes}. - * @param error Error, if any - * @param [response] WorkflowAttributesUpdateResponse + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages. + * @param message TaskCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - type UpdateWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesUpdateResponse) => void; + public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Callback as used by {@link flyteidl.service.AdminService#getWorkflowAttributes}. - * @param error Error, if any - * @param [response] WorkflowAttributesGetResponse + * 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 TaskCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - type GetWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesGetResponse) => void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateRequest; /** - * Callback as used by {@link flyteidl.service.AdminService#deleteWorkflowAttributes}. - * @param error Error, if any - * @param [response] WorkflowAttributesDeleteResponse + * Verifies a TaskCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - type DeleteWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesDeleteResponse) => void; + public static verify(message: { [k: string]: any }): (string|null); + } - /** - * Callback as used by {@link flyteidl.service.AdminService#listMatchableAttributes}. - * @param error Error, if any - * @param [response] ListMatchableAttributesResponse - */ - type ListMatchableAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ListMatchableAttributesResponse) => void; + /** Properties of a TaskCreateResponse. */ + interface ITaskCreateResponse { - /** - * Callback as used by {@link flyteidl.service.AdminService#listNamedEntities}. - * @param error Error, if any - * @param [response] NamedEntityList - */ - type ListNamedEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityList) => void; + /** TaskCreateResponse jobId */ + jobId?: (string|null); + } - /** - * Callback as used by {@link flyteidl.service.AdminService#getNamedEntity}. - * @param error Error, if any - * @param [response] NamedEntity - */ - type GetNamedEntityCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntity) => void; + /** Represents a TaskCreateResponse. */ + class TaskCreateResponse implements ITaskCreateResponse { /** - * Callback as used by {@link flyteidl.service.AdminService#updateNamedEntity}. - * @param error Error, if any - * @param [response] NamedEntityUpdateResponse + * Constructs a new TaskCreateResponse. + * @param [properties] Properties to set */ - type UpdateNamedEntityCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityUpdateResponse) => void; + constructor(properties?: flyteidl.service.ITaskCreateResponse); + + /** TaskCreateResponse jobId. */ + public jobId: string; /** - * Callback as used by {@link flyteidl.service.AdminService#getVersion}. - * @param error Error, if any - * @param [response] GetVersionResponse + * Creates a new TaskCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateResponse instance */ - type GetVersionCallback = (error: (Error|null), response?: flyteidl.admin.GetVersionResponse) => void; + public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse; /** - * Callback as used by {@link flyteidl.service.AdminService#getDescriptionEntity}. - * @param error Error, if any - * @param [response] DescriptionEntity + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages. + * @param message TaskCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - type GetDescriptionEntityCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntity) => void; + public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Callback as used by {@link flyteidl.service.AdminService#listDescriptionEntities}. - * @param error Error, if any - * @param [response] DescriptionEntityList + * 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 TaskCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - type ListDescriptionEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntityList) => void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateResponse; /** - * Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}. - * @param error Error, if any - * @param [response] WorkflowExecutionGetMetricsResponse + * Verifies a TaskCreateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void; + public static verify(message: { [k: string]: any }): (string|null); } - /** Represents an AsyncAgentService */ - class AsyncAgentService extends $protobuf.rpc.Service { + /** Properties of a TaskGetRequest. */ + interface ITaskGetRequest { - /** - * Constructs a new AsyncAgentService service. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - */ - constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + /** TaskGetRequest taskType */ + taskType?: (string|null); + + /** TaskGetRequest jobId */ + jobId?: (string|null); + } + + /** Represents a TaskGetRequest. */ + class TaskGetRequest implements ITaskGetRequest { /** - * Creates new AsyncAgentService service using the specified rpc implementation. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - * @returns RPC service. Useful where requests and/or responses are streamed. + * Constructs a new TaskGetRequest. + * @param [properties] Properties to set */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AsyncAgentService; + constructor(properties?: flyteidl.service.ITaskGetRequest); + + /** TaskGetRequest taskType. */ + public taskType: string; + + /** TaskGetRequest jobId. */ + public jobId: string; /** - * Calls CreateTask. - * @param request CreateTaskRequest message or plain object - * @param callback Node-style callback called with the error, if any, and CreateTaskResponse + * Creates a new TaskGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskGetRequest instance */ - public createTask(request: flyteidl.admin.ICreateTaskRequest, callback: flyteidl.service.AsyncAgentService.CreateTaskCallback): void; + public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest; /** - * Calls CreateTask. - * @param request CreateTaskRequest message or plain object - * @returns Promise + * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages. + * @param message TaskGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - public createTask(request: flyteidl.admin.ICreateTaskRequest): Promise; + public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls GetTask. - * @param request GetTaskRequest message or plain object - * @param callback Node-style callback called with the error, if any, and GetTaskResponse + * Decodes a TaskGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public getTask(request: flyteidl.admin.IGetTaskRequest, callback: flyteidl.service.AsyncAgentService.GetTaskCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetRequest; /** - * Calls GetTask. - * @param request GetTaskRequest message or plain object - * @returns Promise + * Verifies a TaskGetRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getTask(request: flyteidl.admin.IGetTaskRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a TaskGetResponse. */ + interface ITaskGetResponse { + + /** TaskGetResponse state */ + state?: (flyteidl.service.State|null); + + /** TaskGetResponse outputs */ + outputs?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents a TaskGetResponse. */ + class TaskGetResponse implements ITaskGetResponse { /** - * Calls DeleteTask. - * @param request DeleteTaskRequest message or plain object - * @param callback Node-style callback called with the error, if any, and DeleteTaskResponse + * Constructs a new TaskGetResponse. + * @param [properties] Properties to set */ - public deleteTask(request: flyteidl.admin.IDeleteTaskRequest, callback: flyteidl.service.AsyncAgentService.DeleteTaskCallback): void; + constructor(properties?: flyteidl.service.ITaskGetResponse); + + /** TaskGetResponse state. */ + public state: flyteidl.service.State; + + /** TaskGetResponse outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); /** - * Calls DeleteTask. - * @param request DeleteTaskRequest message or plain object - * @returns Promise + * Creates a new TaskGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskGetResponse instance */ - public deleteTask(request: flyteidl.admin.IDeleteTaskRequest): Promise; - } - - namespace AsyncAgentService { + public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse; /** - * Callback as used by {@link flyteidl.service.AsyncAgentService#createTask}. - * @param error Error, if any - * @param [response] CreateTaskResponse + * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages. + * @param message TaskGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.CreateTaskResponse) => void; + public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Callback as used by {@link flyteidl.service.AsyncAgentService#getTask}. - * @param error Error, if any - * @param [response] GetTaskResponse + * Decodes a TaskGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.GetTaskResponse) => void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetResponse; /** - * Callback as used by {@link flyteidl.service.AsyncAgentService#deleteTask}. - * @param error Error, if any - * @param [response] DeleteTaskResponse + * Verifies a TaskGetResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.admin.DeleteTaskResponse) => void; + public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a OAuth2MetadataRequest. */ - interface IOAuth2MetadataRequest { + /** Properties of a TaskDeleteRequest. */ + interface ITaskDeleteRequest { + + /** TaskDeleteRequest taskType */ + taskType?: (string|null); + + /** TaskDeleteRequest jobId */ + jobId?: (string|null); } - /** Represents a OAuth2MetadataRequest. */ - class OAuth2MetadataRequest implements IOAuth2MetadataRequest { + /** Represents a TaskDeleteRequest. */ + class TaskDeleteRequest implements ITaskDeleteRequest { /** - * Constructs a new OAuth2MetadataRequest. + * Constructs a new TaskDeleteRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IOAuth2MetadataRequest); + constructor(properties?: flyteidl.service.ITaskDeleteRequest); + + /** TaskDeleteRequest taskType. */ + public taskType: string; + + /** TaskDeleteRequest jobId. */ + public jobId: string; /** - * Creates a new OAuth2MetadataRequest instance using the specified properties. + * Creates a new TaskDeleteRequest instance using the specified properties. * @param [properties] Properties to set - * @returns OAuth2MetadataRequest instance + * @returns TaskDeleteRequest instance */ - public static create(properties?: flyteidl.service.IOAuth2MetadataRequest): flyteidl.service.OAuth2MetadataRequest; + public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest; /** - * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages. - * @param message OAuth2MetadataRequest message or plain object to encode + * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages. + * @param message TaskDeleteRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IOAuth2MetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a OAuth2MetadataRequest message from the specified reader or buffer. + * Decodes a TaskDeleteRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns OAuth2MetadataRequest + * @returns TaskDeleteRequest * @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.service.OAuth2MetadataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteRequest; /** - * Verifies a OAuth2MetadataRequest message. + * Verifies a TaskDeleteRequest 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 OAuth2MetadataResponse. */ - interface IOAuth2MetadataResponse { - - /** OAuth2MetadataResponse issuer */ - issuer?: (string|null); - - /** OAuth2MetadataResponse authorizationEndpoint */ - authorizationEndpoint?: (string|null); - - /** OAuth2MetadataResponse tokenEndpoint */ - tokenEndpoint?: (string|null); - - /** OAuth2MetadataResponse responseTypesSupported */ - responseTypesSupported?: (string[]|null); - - /** OAuth2MetadataResponse scopesSupported */ - scopesSupported?: (string[]|null); - - /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */ - tokenEndpointAuthMethodsSupported?: (string[]|null); - - /** OAuth2MetadataResponse jwksUri */ - jwksUri?: (string|null); - - /** OAuth2MetadataResponse codeChallengeMethodsSupported */ - codeChallengeMethodsSupported?: (string[]|null); - - /** OAuth2MetadataResponse grantTypesSupported */ - grantTypesSupported?: (string[]|null); - - /** OAuth2MetadataResponse deviceAuthorizationEndpoint */ - deviceAuthorizationEndpoint?: (string|null); + /** Properties of a TaskDeleteResponse. */ + interface ITaskDeleteResponse { } - /** Represents a OAuth2MetadataResponse. */ - class OAuth2MetadataResponse implements IOAuth2MetadataResponse { + /** Represents a TaskDeleteResponse. */ + class TaskDeleteResponse implements ITaskDeleteResponse { /** - * Constructs a new OAuth2MetadataResponse. + * Constructs a new TaskDeleteResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IOAuth2MetadataResponse); - - /** OAuth2MetadataResponse issuer. */ - public issuer: string; - - /** OAuth2MetadataResponse authorizationEndpoint. */ - public authorizationEndpoint: string; - - /** OAuth2MetadataResponse tokenEndpoint. */ - public tokenEndpoint: string; - - /** OAuth2MetadataResponse responseTypesSupported. */ - public responseTypesSupported: string[]; - - /** OAuth2MetadataResponse scopesSupported. */ - public scopesSupported: string[]; - - /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. */ - public tokenEndpointAuthMethodsSupported: string[]; - - /** OAuth2MetadataResponse jwksUri. */ - public jwksUri: string; - - /** OAuth2MetadataResponse codeChallengeMethodsSupported. */ - public codeChallengeMethodsSupported: string[]; - - /** OAuth2MetadataResponse grantTypesSupported. */ - public grantTypesSupported: string[]; - - /** OAuth2MetadataResponse deviceAuthorizationEndpoint. */ - public deviceAuthorizationEndpoint: string; + constructor(properties?: flyteidl.service.ITaskDeleteResponse); /** - * Creates a new OAuth2MetadataResponse instance using the specified properties. + * Creates a new TaskDeleteResponse instance using the specified properties. * @param [properties] Properties to set - * @returns OAuth2MetadataResponse instance + * @returns TaskDeleteResponse instance */ - public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse; + public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse; /** - * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages. - * @param message OAuth2MetadataResponse message or plain object to encode + * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages. + * @param message TaskDeleteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a OAuth2MetadataResponse message from the specified reader or buffer. + * Decodes a TaskDeleteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns OAuth2MetadataResponse + * @returns TaskDeleteResponse * @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.service.OAuth2MetadataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteResponse; /** - * Verifies a OAuth2MetadataResponse message. + * Verifies a TaskDeleteResponse 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 PublicClientAuthConfigRequest. */ - interface IPublicClientAuthConfigRequest { + /** Properties of a UserInfoRequest. */ + interface IUserInfoRequest { } - /** Represents a PublicClientAuthConfigRequest. */ - class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest { + /** Represents a UserInfoRequest. */ + class UserInfoRequest implements IUserInfoRequest { /** - * Constructs a new PublicClientAuthConfigRequest. + * Constructs a new UserInfoRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest); + constructor(properties?: flyteidl.service.IUserInfoRequest); /** - * Creates a new PublicClientAuthConfigRequest instance using the specified properties. + * Creates a new UserInfoRequest instance using the specified properties. * @param [properties] Properties to set - * @returns PublicClientAuthConfigRequest instance + * @returns UserInfoRequest instance */ - public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest; + public static create(properties?: flyteidl.service.IUserInfoRequest): flyteidl.service.UserInfoRequest; /** - * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages. - * @param message PublicClientAuthConfigRequest message or plain object to encode + * Encodes the specified UserInfoRequest message. Does not implicitly {@link flyteidl.service.UserInfoRequest.verify|verify} messages. + * @param message UserInfoRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.service.IUserInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer. + * Decodes a UserInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PublicClientAuthConfigRequest + * @returns UserInfoRequest * @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.service.PublicClientAuthConfigRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.UserInfoRequest; /** - * Verifies a PublicClientAuthConfigRequest message. + * Verifies a UserInfoRequest 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 PublicClientAuthConfigResponse. */ - interface IPublicClientAuthConfigResponse { + /** Properties of a UserInfoResponse. */ + interface IUserInfoResponse { - /** PublicClientAuthConfigResponse clientId */ - clientId?: (string|null); + /** UserInfoResponse subject */ + subject?: (string|null); - /** PublicClientAuthConfigResponse redirectUri */ - redirectUri?: (string|null); + /** UserInfoResponse name */ + name?: (string|null); - /** PublicClientAuthConfigResponse scopes */ - scopes?: (string[]|null); + /** UserInfoResponse preferredUsername */ + preferredUsername?: (string|null); - /** PublicClientAuthConfigResponse authorizationMetadataKey */ - authorizationMetadataKey?: (string|null); + /** UserInfoResponse givenName */ + givenName?: (string|null); - /** PublicClientAuthConfigResponse serviceHttpEndpoint */ - serviceHttpEndpoint?: (string|null); + /** UserInfoResponse familyName */ + familyName?: (string|null); - /** PublicClientAuthConfigResponse audience */ - audience?: (string|null); + /** UserInfoResponse email */ + email?: (string|null); + + /** UserInfoResponse picture */ + picture?: (string|null); + + /** UserInfoResponse additionalClaims */ + additionalClaims?: (google.protobuf.IStruct|null); } - /** Represents a PublicClientAuthConfigResponse. */ - class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse { + /** Represents a UserInfoResponse. */ + class UserInfoResponse implements IUserInfoResponse { /** - * Constructs a new PublicClientAuthConfigResponse. + * Constructs a new UserInfoResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IPublicClientAuthConfigResponse); + constructor(properties?: flyteidl.service.IUserInfoResponse); - /** PublicClientAuthConfigResponse clientId. */ - public clientId: string; + /** UserInfoResponse subject. */ + public subject: string; - /** PublicClientAuthConfigResponse redirectUri. */ - public redirectUri: string; + /** UserInfoResponse name. */ + public name: string; - /** PublicClientAuthConfigResponse scopes. */ - public scopes: string[]; + /** UserInfoResponse preferredUsername. */ + public preferredUsername: string; - /** PublicClientAuthConfigResponse authorizationMetadataKey. */ - public authorizationMetadataKey: string; + /** UserInfoResponse givenName. */ + public givenName: string; - /** PublicClientAuthConfigResponse serviceHttpEndpoint. */ - public serviceHttpEndpoint: string; + /** UserInfoResponse familyName. */ + public familyName: string; + + /** UserInfoResponse email. */ + public email: string; + + /** UserInfoResponse picture. */ + public picture: string; - /** PublicClientAuthConfigResponse audience. */ - public audience: string; + /** UserInfoResponse additionalClaims. */ + public additionalClaims?: (google.protobuf.IStruct|null); /** - * Creates a new PublicClientAuthConfigResponse instance using the specified properties. + * Creates a new UserInfoResponse instance using the specified properties. * @param [properties] Properties to set - * @returns PublicClientAuthConfigResponse instance + * @returns UserInfoResponse instance */ - public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse; + public static create(properties?: flyteidl.service.IUserInfoResponse): flyteidl.service.UserInfoResponse; /** - * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages. - * @param message PublicClientAuthConfigResponse message or plain object to encode + * Encodes the specified UserInfoResponse message. Does not implicitly {@link flyteidl.service.UserInfoResponse.verify|verify} messages. + * @param message UserInfoResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.service.IUserInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer. + * Decodes a UserInfoResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PublicClientAuthConfigResponse + * @returns UserInfoResponse * @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.service.PublicClientAuthConfigResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.UserInfoResponse; /** - * Verifies a PublicClientAuthConfigResponse message. + * Verifies a UserInfoResponse 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); } - /** Represents an AuthMetadataService */ - class AuthMetadataService extends $protobuf.rpc.Service { + /** Represents an IdentityService */ + class IdentityService extends $protobuf.rpc.Service { /** - * Constructs a new AuthMetadataService service. + * Constructs a new IdentityService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited @@ -19879,1321 +22141,1323 @@ export namespace flyteidl { constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** - * Creates new AuthMetadataService service using the specified rpc implementation. + * Creates new IdentityService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AuthMetadataService; + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IdentityService; /** - * Calls GetOAuth2Metadata. - * @param request OAuth2MetadataRequest message or plain object - * @param callback Node-style callback called with the error, if any, and OAuth2MetadataResponse + * Calls UserInfo. + * @param request UserInfoRequest message or plain object + * @param callback Node-style callback called with the error, if any, and UserInfoResponse */ - public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest, callback: flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback): void; + public userInfo(request: flyteidl.service.IUserInfoRequest, callback: flyteidl.service.IdentityService.UserInfoCallback): void; /** - * Calls GetOAuth2Metadata. - * @param request OAuth2MetadataRequest message or plain object + * Calls UserInfo. + * @param request UserInfoRequest message or plain object * @returns Promise */ - public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise; + public userInfo(request: flyteidl.service.IUserInfoRequest): Promise; + } + + namespace IdentityService { /** - * Calls GetPublicClientConfig. - * @param request PublicClientAuthConfigRequest message or plain object - * @param callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse + * Callback as used by {@link flyteidl.service.IdentityService#userInfo}. + * @param error Error, if any + * @param [response] UserInfoResponse */ - public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void; + type UserInfoCallback = (error: (Error|null), response?: flyteidl.service.UserInfoResponse) => void; + } + + /** Represents a SignalService */ + class SignalService extends $protobuf.rpc.Service { /** - * Calls GetPublicClientConfig. - * @param request PublicClientAuthConfigRequest message or plain object + * Constructs a new SignalService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new SignalService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SignalService; + + /** + * Calls GetOrCreateSignal. + * @param request SignalGetOrCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Signal + */ + public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest, callback: flyteidl.service.SignalService.GetOrCreateSignalCallback): void; + + /** + * Calls GetOrCreateSignal. + * @param request SignalGetOrCreateRequest message or plain object * @returns Promise */ - public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise; + public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest): Promise; + + /** + * Calls ListSignals. + * @param request SignalListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and SignalList + */ + public listSignals(request: flyteidl.admin.ISignalListRequest, callback: flyteidl.service.SignalService.ListSignalsCallback): void; + + /** + * Calls ListSignals. + * @param request SignalListRequest message or plain object + * @returns Promise + */ + public listSignals(request: flyteidl.admin.ISignalListRequest): Promise; + + /** + * Calls SetSignal. + * @param request SignalSetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and SignalSetResponse + */ + public setSignal(request: flyteidl.admin.ISignalSetRequest, callback: flyteidl.service.SignalService.SetSignalCallback): void; + + /** + * Calls SetSignal. + * @param request SignalSetRequest message or plain object + * @returns Promise + */ + public setSignal(request: flyteidl.admin.ISignalSetRequest): Promise; } - namespace AuthMetadataService { + namespace SignalService { /** - * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}. + * Callback as used by {@link flyteidl.service.SignalService#getOrCreateSignal}. * @param error Error, if any - * @param [response] OAuth2MetadataResponse + * @param [response] Signal */ - type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void; + type GetOrCreateSignalCallback = (error: (Error|null), response?: flyteidl.admin.Signal) => void; /** - * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}. + * Callback as used by {@link flyteidl.service.SignalService#listSignals}. * @param error Error, if any - * @param [response] PublicClientAuthConfigResponse + * @param [response] SignalList */ - type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void; + type ListSignalsCallback = (error: (Error|null), response?: flyteidl.admin.SignalList) => void; + + /** + * Callback as used by {@link flyteidl.service.SignalService#setSignal}. + * @param error Error, if any + * @param [response] SignalSetResponse + */ + type SetSignalCallback = (error: (Error|null), response?: flyteidl.admin.SignalSetResponse) => void; } + } - /** Properties of a CreateUploadLocationResponse. */ - interface ICreateUploadLocationResponse { + /** Namespace artifact. */ + namespace artifact { - /** CreateUploadLocationResponse signedUrl */ - signedUrl?: (string|null); + /** Properties of an Artifact. */ + interface IArtifact { - /** CreateUploadLocationResponse nativeUrl */ - nativeUrl?: (string|null); + /** Artifact artifactId */ + artifactId?: (flyteidl.core.IArtifactID|null); - /** CreateUploadLocationResponse expiresAt */ - expiresAt?: (google.protobuf.ITimestamp|null); + /** Artifact spec */ + spec?: (flyteidl.artifact.IArtifactSpec|null); + + /** Artifact tags */ + tags?: (string[]|null); } - /** Represents a CreateUploadLocationResponse. */ - class CreateUploadLocationResponse implements ICreateUploadLocationResponse { + /** Represents an Artifact. */ + class Artifact implements IArtifact { /** - * Constructs a new CreateUploadLocationResponse. + * Constructs a new Artifact. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ICreateUploadLocationResponse); + constructor(properties?: flyteidl.artifact.IArtifact); - /** CreateUploadLocationResponse signedUrl. */ - public signedUrl: string; + /** Artifact artifactId. */ + public artifactId?: (flyteidl.core.IArtifactID|null); - /** CreateUploadLocationResponse nativeUrl. */ - public nativeUrl: string; + /** Artifact spec. */ + public spec?: (flyteidl.artifact.IArtifactSpec|null); - /** CreateUploadLocationResponse expiresAt. */ - public expiresAt?: (google.protobuf.ITimestamp|null); + /** Artifact tags. */ + public tags: string[]; /** - * Creates a new CreateUploadLocationResponse instance using the specified properties. + * Creates a new Artifact instance using the specified properties. * @param [properties] Properties to set - * @returns CreateUploadLocationResponse instance + * @returns Artifact instance */ - public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse; + public static create(properties?: flyteidl.artifact.IArtifact): flyteidl.artifact.Artifact; /** - * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages. - * @param message CreateUploadLocationResponse message or plain object to encode + * Encodes the specified Artifact message. Does not implicitly {@link flyteidl.artifact.Artifact.verify|verify} messages. + * @param message Artifact message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IArtifact, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateUploadLocationResponse message from the specified reader or buffer. + * Decodes an Artifact message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateUploadLocationResponse + * @returns Artifact * @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.service.CreateUploadLocationResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.Artifact; /** - * Verifies a CreateUploadLocationResponse message. + * Verifies an Artifact 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 CreateUploadLocationRequest. */ - interface ICreateUploadLocationRequest { - - /** CreateUploadLocationRequest project */ - project?: (string|null); + /** Properties of a CreateArtifactRequest. */ + interface ICreateArtifactRequest { - /** CreateUploadLocationRequest domain */ - domain?: (string|null); + /** CreateArtifactRequest artifactKey */ + artifactKey?: (flyteidl.core.IArtifactKey|null); - /** CreateUploadLocationRequest filename */ - filename?: (string|null); + /** CreateArtifactRequest version */ + version?: (string|null); - /** CreateUploadLocationRequest expiresIn */ - expiresIn?: (google.protobuf.IDuration|null); + /** CreateArtifactRequest spec */ + spec?: (flyteidl.artifact.IArtifactSpec|null); - /** CreateUploadLocationRequest contentMd5 */ - contentMd5?: (Uint8Array|null); + /** CreateArtifactRequest partitions */ + partitions?: ({ [k: string]: string }|null); - /** CreateUploadLocationRequest filenameRoot */ - filenameRoot?: (string|null); + /** CreateArtifactRequest tag */ + tag?: (string|null); } - /** Represents a CreateUploadLocationRequest. */ - class CreateUploadLocationRequest implements ICreateUploadLocationRequest { + /** Represents a CreateArtifactRequest. */ + class CreateArtifactRequest implements ICreateArtifactRequest { /** - * Constructs a new CreateUploadLocationRequest. + * Constructs a new CreateArtifactRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ICreateUploadLocationRequest); - - /** CreateUploadLocationRequest project. */ - public project: string; + constructor(properties?: flyteidl.artifact.ICreateArtifactRequest); - /** CreateUploadLocationRequest domain. */ - public domain: string; + /** CreateArtifactRequest artifactKey. */ + public artifactKey?: (flyteidl.core.IArtifactKey|null); - /** CreateUploadLocationRequest filename. */ - public filename: string; + /** CreateArtifactRequest version. */ + public version: string; - /** CreateUploadLocationRequest expiresIn. */ - public expiresIn?: (google.protobuf.IDuration|null); + /** CreateArtifactRequest spec. */ + public spec?: (flyteidl.artifact.IArtifactSpec|null); - /** CreateUploadLocationRequest contentMd5. */ - public contentMd5: Uint8Array; + /** CreateArtifactRequest partitions. */ + public partitions: { [k: string]: string }; - /** CreateUploadLocationRequest filenameRoot. */ - public filenameRoot: string; + /** CreateArtifactRequest tag. */ + public tag: string; /** - * Creates a new CreateUploadLocationRequest instance using the specified properties. + * Creates a new CreateArtifactRequest instance using the specified properties. * @param [properties] Properties to set - * @returns CreateUploadLocationRequest instance + * @returns CreateArtifactRequest instance */ - public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest; + public static create(properties?: flyteidl.artifact.ICreateArtifactRequest): flyteidl.artifact.CreateArtifactRequest; /** - * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages. - * @param message CreateUploadLocationRequest message or plain object to encode + * Encodes the specified CreateArtifactRequest message. Does not implicitly {@link flyteidl.artifact.CreateArtifactRequest.verify|verify} messages. + * @param message CreateArtifactRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.ICreateArtifactRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateUploadLocationRequest message from the specified reader or buffer. + * Decodes a CreateArtifactRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateUploadLocationRequest + * @returns CreateArtifactRequest * @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.service.CreateUploadLocationRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.CreateArtifactRequest; /** - * Verifies a CreateUploadLocationRequest message. + * Verifies a CreateArtifactRequest 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 CreateDownloadLocationRequest. */ - interface ICreateDownloadLocationRequest { + /** Properties of an ArtifactSpec. */ + interface IArtifactSpec { - /** CreateDownloadLocationRequest nativeUrl */ - nativeUrl?: (string|null); + /** ArtifactSpec value */ + value?: (flyteidl.core.ILiteral|null); - /** CreateDownloadLocationRequest expiresIn */ - expiresIn?: (google.protobuf.IDuration|null); + /** ArtifactSpec type */ + type?: (flyteidl.core.ILiteralType|null); + + /** ArtifactSpec taskExecution */ + taskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** ArtifactSpec execution */ + execution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ArtifactSpec principal */ + principal?: (string|null); + + /** ArtifactSpec shortDescription */ + shortDescription?: (string|null); + + /** ArtifactSpec longDescription */ + longDescription?: (string|null); + + /** ArtifactSpec userMetadata */ + userMetadata?: (google.protobuf.IAny|null); + + /** ArtifactSpec metadataType */ + metadataType?: (string|null); } - /** Represents a CreateDownloadLocationRequest. */ - class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest { + /** Represents an ArtifactSpec. */ + class ArtifactSpec implements IArtifactSpec { /** - * Constructs a new CreateDownloadLocationRequest. + * Constructs a new ArtifactSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest); + constructor(properties?: flyteidl.artifact.IArtifactSpec); - /** CreateDownloadLocationRequest nativeUrl. */ - public nativeUrl: string; + /** ArtifactSpec value. */ + public value?: (flyteidl.core.ILiteral|null); - /** CreateDownloadLocationRequest expiresIn. */ - public expiresIn?: (google.protobuf.IDuration|null); + /** ArtifactSpec type. */ + public type?: (flyteidl.core.ILiteralType|null); + + /** ArtifactSpec taskExecution. */ + public taskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** ArtifactSpec execution. */ + public execution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ArtifactSpec principal. */ + public principal: string; + + /** ArtifactSpec shortDescription. */ + public shortDescription: string; + + /** ArtifactSpec longDescription. */ + public longDescription: string; + + /** ArtifactSpec userMetadata. */ + public userMetadata?: (google.protobuf.IAny|null); + + /** ArtifactSpec metadataType. */ + public metadataType: string; /** - * Creates a new CreateDownloadLocationRequest instance using the specified properties. + * Creates a new ArtifactSpec instance using the specified properties. * @param [properties] Properties to set - * @returns CreateDownloadLocationRequest instance + * @returns ArtifactSpec instance */ - public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest; + public static create(properties?: flyteidl.artifact.IArtifactSpec): flyteidl.artifact.ArtifactSpec; /** - * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages. - * @param message CreateDownloadLocationRequest message or plain object to encode + * Encodes the specified ArtifactSpec message. Does not implicitly {@link flyteidl.artifact.ArtifactSpec.verify|verify} messages. + * @param message ArtifactSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IArtifactSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer. + * Decodes an ArtifactSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateDownloadLocationRequest + * @returns ArtifactSpec * @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.service.CreateDownloadLocationRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.ArtifactSpec; /** - * Verifies a CreateDownloadLocationRequest message. + * Verifies an ArtifactSpec 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 CreateDownloadLocationResponse. */ - interface ICreateDownloadLocationResponse { - - /** CreateDownloadLocationResponse signedUrl */ - signedUrl?: (string|null); + /** Properties of a CreateArtifactResponse. */ + interface ICreateArtifactResponse { - /** CreateDownloadLocationResponse expiresAt */ - expiresAt?: (google.protobuf.ITimestamp|null); + /** CreateArtifactResponse artifact */ + artifact?: (flyteidl.artifact.IArtifact|null); } - /** Represents a CreateDownloadLocationResponse. */ - class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse { + /** Represents a CreateArtifactResponse. */ + class CreateArtifactResponse implements ICreateArtifactResponse { /** - * Constructs a new CreateDownloadLocationResponse. + * Constructs a new CreateArtifactResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse); - - /** CreateDownloadLocationResponse signedUrl. */ - public signedUrl: string; + constructor(properties?: flyteidl.artifact.ICreateArtifactResponse); - /** CreateDownloadLocationResponse expiresAt. */ - public expiresAt?: (google.protobuf.ITimestamp|null); + /** CreateArtifactResponse artifact. */ + public artifact?: (flyteidl.artifact.IArtifact|null); /** - * Creates a new CreateDownloadLocationResponse instance using the specified properties. + * Creates a new CreateArtifactResponse instance using the specified properties. * @param [properties] Properties to set - * @returns CreateDownloadLocationResponse instance + * @returns CreateArtifactResponse instance */ - public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse; + public static create(properties?: flyteidl.artifact.ICreateArtifactResponse): flyteidl.artifact.CreateArtifactResponse; /** - * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages. - * @param message CreateDownloadLocationResponse message or plain object to encode + * Encodes the specified CreateArtifactResponse message. Does not implicitly {@link flyteidl.artifact.CreateArtifactResponse.verify|verify} messages. + * @param message CreateArtifactResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.ICreateArtifactResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer. + * Decodes a CreateArtifactResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateDownloadLocationResponse + * @returns CreateArtifactResponse * @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.service.CreateDownloadLocationResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.CreateArtifactResponse; /** - * Verifies a CreateDownloadLocationResponse message. + * Verifies a CreateArtifactResponse 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); } - /** ArtifactType enum. */ - enum ArtifactType { - ARTIFACT_TYPE_UNDEFINED = 0, - ARTIFACT_TYPE_DECK = 1 - } - - /** Properties of a CreateDownloadLinkRequest. */ - interface ICreateDownloadLinkRequest { - - /** CreateDownloadLinkRequest artifactType */ - artifactType?: (flyteidl.service.ArtifactType|null); + /** Properties of a GetArtifactRequest. */ + interface IGetArtifactRequest { - /** CreateDownloadLinkRequest expiresIn */ - expiresIn?: (google.protobuf.IDuration|null); + /** GetArtifactRequest query */ + query?: (flyteidl.core.IArtifactQuery|null); - /** CreateDownloadLinkRequest nodeExecutionId */ - nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + /** GetArtifactRequest details */ + details?: (boolean|null); } - /** Represents a CreateDownloadLinkRequest. */ - class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest { + /** Represents a GetArtifactRequest. */ + class GetArtifactRequest implements IGetArtifactRequest { /** - * Constructs a new CreateDownloadLinkRequest. + * Constructs a new GetArtifactRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest); - - /** CreateDownloadLinkRequest artifactType. */ - public artifactType: flyteidl.service.ArtifactType; - - /** CreateDownloadLinkRequest expiresIn. */ - public expiresIn?: (google.protobuf.IDuration|null); + constructor(properties?: flyteidl.artifact.IGetArtifactRequest); - /** CreateDownloadLinkRequest nodeExecutionId. */ - public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + /** GetArtifactRequest query. */ + public query?: (flyteidl.core.IArtifactQuery|null); - /** CreateDownloadLinkRequest source. */ - public source?: "nodeExecutionId"; + /** GetArtifactRequest details. */ + public details: boolean; /** - * Creates a new CreateDownloadLinkRequest instance using the specified properties. + * Creates a new GetArtifactRequest instance using the specified properties. * @param [properties] Properties to set - * @returns CreateDownloadLinkRequest instance + * @returns GetArtifactRequest instance */ - public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest; + public static create(properties?: flyteidl.artifact.IGetArtifactRequest): flyteidl.artifact.GetArtifactRequest; /** - * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages. - * @param message CreateDownloadLinkRequest message or plain object to encode + * Encodes the specified GetArtifactRequest message. Does not implicitly {@link flyteidl.artifact.GetArtifactRequest.verify|verify} messages. + * @param message GetArtifactRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IGetArtifactRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer. + * Decodes a GetArtifactRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateDownloadLinkRequest + * @returns GetArtifactRequest * @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.service.CreateDownloadLinkRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.GetArtifactRequest; /** - * Verifies a CreateDownloadLinkRequest message. + * Verifies a GetArtifactRequest 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 CreateDownloadLinkResponse. */ - interface ICreateDownloadLinkResponse { - - /** CreateDownloadLinkResponse signedUrl */ - signedUrl?: (string[]|null); - - /** CreateDownloadLinkResponse expiresAt */ - expiresAt?: (google.protobuf.ITimestamp|null); + /** Properties of a GetArtifactResponse. */ + interface IGetArtifactResponse { - /** CreateDownloadLinkResponse preSignedUrls */ - preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + /** GetArtifactResponse artifact */ + artifact?: (flyteidl.artifact.IArtifact|null); } - /** Represents a CreateDownloadLinkResponse. */ - class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse { + /** Represents a GetArtifactResponse. */ + class GetArtifactResponse implements IGetArtifactResponse { /** - * Constructs a new CreateDownloadLinkResponse. + * Constructs a new GetArtifactResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse); - - /** CreateDownloadLinkResponse signedUrl. */ - public signedUrl: string[]; + constructor(properties?: flyteidl.artifact.IGetArtifactResponse); - /** CreateDownloadLinkResponse expiresAt. */ - public expiresAt?: (google.protobuf.ITimestamp|null); - - /** CreateDownloadLinkResponse preSignedUrls. */ - public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + /** GetArtifactResponse artifact. */ + public artifact?: (flyteidl.artifact.IArtifact|null); /** - * Creates a new CreateDownloadLinkResponse instance using the specified properties. + * Creates a new GetArtifactResponse instance using the specified properties. * @param [properties] Properties to set - * @returns CreateDownloadLinkResponse instance + * @returns GetArtifactResponse instance */ - public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse; + public static create(properties?: flyteidl.artifact.IGetArtifactResponse): flyteidl.artifact.GetArtifactResponse; /** - * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages. - * @param message CreateDownloadLinkResponse message or plain object to encode + * Encodes the specified GetArtifactResponse message. Does not implicitly {@link flyteidl.artifact.GetArtifactResponse.verify|verify} messages. + * @param message GetArtifactResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IGetArtifactResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer. + * Decodes a GetArtifactResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateDownloadLinkResponse + * @returns GetArtifactResponse * @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.service.CreateDownloadLinkResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.GetArtifactResponse; /** - * Verifies a CreateDownloadLinkResponse message. + * Verifies a GetArtifactResponse 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 PreSignedURLs. */ - interface IPreSignedURLs { + /** Properties of a ListArtifactNamesRequest. */ + interface IListArtifactNamesRequest { - /** PreSignedURLs signedUrl */ - signedUrl?: (string[]|null); + /** ListArtifactNamesRequest project */ + project?: (string|null); - /** PreSignedURLs expiresAt */ - expiresAt?: (google.protobuf.ITimestamp|null); + /** ListArtifactNamesRequest domain */ + domain?: (string|null); } - /** Represents a PreSignedURLs. */ - class PreSignedURLs implements IPreSignedURLs { + /** Represents a ListArtifactNamesRequest. */ + class ListArtifactNamesRequest implements IListArtifactNamesRequest { /** - * Constructs a new PreSignedURLs. + * Constructs a new ListArtifactNamesRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IPreSignedURLs); + constructor(properties?: flyteidl.artifact.IListArtifactNamesRequest); - /** PreSignedURLs signedUrl. */ - public signedUrl: string[]; + /** ListArtifactNamesRequest project. */ + public project: string; - /** PreSignedURLs expiresAt. */ - public expiresAt?: (google.protobuf.ITimestamp|null); + /** ListArtifactNamesRequest domain. */ + public domain: string; /** - * Creates a new PreSignedURLs instance using the specified properties. + * Creates a new ListArtifactNamesRequest instance using the specified properties. * @param [properties] Properties to set - * @returns PreSignedURLs instance + * @returns ListArtifactNamesRequest instance */ - public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs; + public static create(properties?: flyteidl.artifact.IListArtifactNamesRequest): flyteidl.artifact.ListArtifactNamesRequest; /** - * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages. - * @param message PreSignedURLs message or plain object to encode + * Encodes the specified ListArtifactNamesRequest message. Does not implicitly {@link flyteidl.artifact.ListArtifactNamesRequest.verify|verify} messages. + * @param message ListArtifactNamesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IListArtifactNamesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PreSignedURLs message from the specified reader or buffer. + * Decodes a ListArtifactNamesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PreSignedURLs + * @returns ListArtifactNamesRequest * @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.service.PreSignedURLs; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.ListArtifactNamesRequest; /** - * Verifies a PreSignedURLs message. + * Verifies a ListArtifactNamesRequest 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 GetDataRequest. */ - interface IGetDataRequest { + /** Properties of a ListArtifactNamesResponse. */ + interface IListArtifactNamesResponse { - /** GetDataRequest flyteUrl */ - flyteUrl?: (string|null); + /** ListArtifactNamesResponse artifactKeys */ + artifactKeys?: (flyteidl.core.IArtifactKey[]|null); } - /** Represents a GetDataRequest. */ - class GetDataRequest implements IGetDataRequest { + /** Represents a ListArtifactNamesResponse. */ + class ListArtifactNamesResponse implements IListArtifactNamesResponse { /** - * Constructs a new GetDataRequest. + * Constructs a new ListArtifactNamesResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IGetDataRequest); + constructor(properties?: flyteidl.artifact.IListArtifactNamesResponse); - /** GetDataRequest flyteUrl. */ - public flyteUrl: string; + /** ListArtifactNamesResponse artifactKeys. */ + public artifactKeys: flyteidl.core.IArtifactKey[]; /** - * Creates a new GetDataRequest instance using the specified properties. + * Creates a new ListArtifactNamesResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetDataRequest instance + * @returns ListArtifactNamesResponse instance */ - public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest; + public static create(properties?: flyteidl.artifact.IListArtifactNamesResponse): flyteidl.artifact.ListArtifactNamesResponse; /** - * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages. - * @param message GetDataRequest message or plain object to encode + * Encodes the specified ListArtifactNamesResponse message. Does not implicitly {@link flyteidl.artifact.ListArtifactNamesResponse.verify|verify} messages. + * @param message ListArtifactNamesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IListArtifactNamesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetDataRequest message from the specified reader or buffer. + * Decodes a ListArtifactNamesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetDataRequest + * @returns ListArtifactNamesResponse * @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.service.GetDataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.ListArtifactNamesResponse; /** - * Verifies a GetDataRequest message. + * Verifies a ListArtifactNamesResponse 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 GetDataResponse. */ - interface IGetDataResponse { - - /** GetDataResponse literalMap */ - literalMap?: (flyteidl.core.ILiteralMap|null); - - /** GetDataResponse preSignedUrls */ - preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + /** Properties of a ListArtifactsRequest. */ + interface IListArtifactsRequest { - /** GetDataResponse literal */ - literal?: (flyteidl.core.ILiteral|null); + /** ListArtifactsRequest artifactKey */ + artifactKey?: (flyteidl.core.IArtifactKey|null); } - /** Represents a GetDataResponse. */ - class GetDataResponse implements IGetDataResponse { + /** Represents a ListArtifactsRequest. */ + class ListArtifactsRequest implements IListArtifactsRequest { /** - * Constructs a new GetDataResponse. + * Constructs a new ListArtifactsRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IGetDataResponse); - - /** GetDataResponse literalMap. */ - public literalMap?: (flyteidl.core.ILiteralMap|null); - - /** GetDataResponse preSignedUrls. */ - public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); - - /** GetDataResponse literal. */ - public literal?: (flyteidl.core.ILiteral|null); + constructor(properties?: flyteidl.artifact.IListArtifactsRequest); - /** GetDataResponse data. */ - public data?: ("literalMap"|"preSignedUrls"|"literal"); + /** ListArtifactsRequest artifactKey. */ + public artifactKey?: (flyteidl.core.IArtifactKey|null); /** - * Creates a new GetDataResponse instance using the specified properties. + * Creates a new ListArtifactsRequest instance using the specified properties. * @param [properties] Properties to set - * @returns GetDataResponse instance + * @returns ListArtifactsRequest instance */ - public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse; + public static create(properties?: flyteidl.artifact.IListArtifactsRequest): flyteidl.artifact.ListArtifactsRequest; /** - * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages. - * @param message GetDataResponse message or plain object to encode + * Encodes the specified ListArtifactsRequest message. Does not implicitly {@link flyteidl.artifact.ListArtifactsRequest.verify|verify} messages. + * @param message ListArtifactsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IListArtifactsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetDataResponse message from the specified reader or buffer. + * Decodes a ListArtifactsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetDataResponse + * @returns ListArtifactsRequest * @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.service.GetDataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.ListArtifactsRequest; /** - * Verifies a GetDataResponse message. + * Verifies a ListArtifactsRequest 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); } - /** Represents a DataProxyService */ - class DataProxyService extends $protobuf.rpc.Service { - - /** - * Constructs a new DataProxyService service. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - */ - constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); - - /** - * Creates new DataProxyService service using the specified rpc implementation. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - * @returns RPC service. Useful where requests and/or responses are streamed. - */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService; - - /** - * Calls CreateUploadLocation. - * @param request CreateUploadLocationRequest message or plain object - * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse - */ - public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void; - - /** - * Calls CreateUploadLocation. - * @param request CreateUploadLocationRequest message or plain object - * @returns Promise - */ - public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise; - - /** - * Calls CreateDownloadLocation. - * @param request CreateDownloadLocationRequest message or plain object - * @param callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse - */ - public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void; - - /** - * Calls CreateDownloadLocation. - * @param request CreateDownloadLocationRequest message or plain object - * @returns Promise - */ - public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise; - - /** - * Calls CreateDownloadLink. - * @param request CreateDownloadLinkRequest message or plain object - * @param callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse - */ - public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void; + /** Properties of a ListArtifactsResponse. */ + interface IListArtifactsResponse { - /** - * Calls CreateDownloadLink. - * @param request CreateDownloadLinkRequest message or plain object - * @returns Promise - */ - public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise; + /** ListArtifactsResponse artifacts */ + artifacts?: (flyteidl.artifact.IArtifact[]|null); + } - /** - * Calls GetData. - * @param request GetDataRequest message or plain object - * @param callback Node-style callback called with the error, if any, and GetDataResponse - */ - public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void; + /** Represents a ListArtifactsResponse. */ + class ListArtifactsResponse implements IListArtifactsResponse { /** - * Calls GetData. - * @param request GetDataRequest message or plain object - * @returns Promise + * Constructs a new ListArtifactsResponse. + * @param [properties] Properties to set */ - public getData(request: flyteidl.service.IGetDataRequest): Promise; - } + constructor(properties?: flyteidl.artifact.IListArtifactsResponse); - namespace DataProxyService { + /** ListArtifactsResponse artifacts. */ + public artifacts: flyteidl.artifact.IArtifact[]; /** - * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}. - * @param error Error, if any - * @param [response] CreateUploadLocationResponse + * Creates a new ListArtifactsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ListArtifactsResponse instance */ - type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void; + public static create(properties?: flyteidl.artifact.IListArtifactsResponse): flyteidl.artifact.ListArtifactsResponse; /** - * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}. - * @param error Error, if any - * @param [response] CreateDownloadLocationResponse + * Encodes the specified ListArtifactsResponse message. Does not implicitly {@link flyteidl.artifact.ListArtifactsResponse.verify|verify} messages. + * @param message ListArtifactsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void; + public static encode(message: flyteidl.artifact.IListArtifactsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}. - * @param error Error, if any - * @param [response] CreateDownloadLinkResponse + * Decodes a ListArtifactsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListArtifactsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.ListArtifactsResponse; /** - * Callback as used by {@link flyteidl.service.DataProxyService#getData}. - * @param error Error, if any - * @param [response] GetDataResponse + * Verifies a ListArtifactsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void; + public static verify(message: { [k: string]: any }): (string|null); } - /** Represents an ExternalPluginService */ - class ExternalPluginService extends $protobuf.rpc.Service { + /** Properties of an AddTagRequest. */ + interface IAddTagRequest { - /** - * Constructs a new ExternalPluginService service. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - */ - constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + /** AddTagRequest artifactId */ + artifactId?: (flyteidl.core.IArtifactID|null); + + /** AddTagRequest value */ + value?: (string|null); + + /** AddTagRequest overwrite */ + overwrite?: (boolean|null); + } + + /** Represents an AddTagRequest. */ + class AddTagRequest implements IAddTagRequest { /** - * Creates new ExternalPluginService service using the specified rpc implementation. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - * @returns RPC service. Useful where requests and/or responses are streamed. + * Constructs a new AddTagRequest. + * @param [properties] Properties to set */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ExternalPluginService; + constructor(properties?: flyteidl.artifact.IAddTagRequest); + + /** AddTagRequest artifactId. */ + public artifactId?: (flyteidl.core.IArtifactID|null); + + /** AddTagRequest value. */ + public value: string; + + /** AddTagRequest overwrite. */ + public overwrite: boolean; /** - * Calls CreateTask. - * @param request TaskCreateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskCreateResponse + * Creates a new AddTagRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AddTagRequest instance */ - public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.ExternalPluginService.CreateTaskCallback): void; + public static create(properties?: flyteidl.artifact.IAddTagRequest): flyteidl.artifact.AddTagRequest; /** - * Calls CreateTask. - * @param request TaskCreateRequest message or plain object - * @returns Promise + * Encodes the specified AddTagRequest message. Does not implicitly {@link flyteidl.artifact.AddTagRequest.verify|verify} messages. + * @param message AddTagRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - public createTask(request: flyteidl.service.ITaskCreateRequest): Promise; + public static encode(message: flyteidl.artifact.IAddTagRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Calls GetTask. - * @param request TaskGetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskGetResponse + * Decodes an AddTagRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AddTagRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.ExternalPluginService.GetTaskCallback): void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.AddTagRequest; /** - * Calls GetTask. - * @param request TaskGetRequest message or plain object - * @returns Promise + * Verifies an AddTagRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - public getTask(request: flyteidl.service.ITaskGetRequest): Promise; + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of an AddTagResponse. */ + interface IAddTagResponse { + } + + /** Represents an AddTagResponse. */ + class AddTagResponse implements IAddTagResponse { /** - * Calls DeleteTask. - * @param request TaskDeleteRequest message or plain object - * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse + * Constructs a new AddTagResponse. + * @param [properties] Properties to set */ - public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.ExternalPluginService.DeleteTaskCallback): void; + constructor(properties?: flyteidl.artifact.IAddTagResponse); /** - * Calls DeleteTask. - * @param request TaskDeleteRequest message or plain object - * @returns Promise + * Creates a new AddTagResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AddTagResponse instance */ - public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise; - } - - namespace ExternalPluginService { + public static create(properties?: flyteidl.artifact.IAddTagResponse): flyteidl.artifact.AddTagResponse; /** - * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}. - * @param error Error, if any - * @param [response] TaskCreateResponse + * Encodes the specified AddTagResponse message. Does not implicitly {@link flyteidl.artifact.AddTagResponse.verify|verify} messages. + * @param message AddTagResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void; + public static encode(message: flyteidl.artifact.IAddTagResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}. - * @param error Error, if any - * @param [response] TaskGetResponse + * Decodes an AddTagResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AddTagResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.AddTagResponse; /** - * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}. - * @param error Error, if any - * @param [response] TaskDeleteResponse + * Verifies an AddTagResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not */ - type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void; + public static verify(message: { [k: string]: any }): (string|null); } - /** State enum. */ - enum State { - RETRYABLE_FAILURE = 0, - PERMANENT_FAILURE = 1, - PENDING = 2, - RUNNING = 3, - SUCCEEDED = 4 + /** Properties of a CreateTriggerRequest. */ + interface ICreateTriggerRequest { + + /** CreateTriggerRequest triggerLaunchPlan */ + triggerLaunchPlan?: (flyteidl.admin.ILaunchPlan|null); } - /** Properties of a TaskCreateRequest. */ - interface ITaskCreateRequest { + /** Represents a CreateTriggerRequest. */ + class CreateTriggerRequest implements ICreateTriggerRequest { - /** TaskCreateRequest inputs */ - inputs?: (flyteidl.core.ILiteralMap|null); + /** + * Constructs a new CreateTriggerRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.artifact.ICreateTriggerRequest); - /** TaskCreateRequest template */ - template?: (flyteidl.core.ITaskTemplate|null); + /** CreateTriggerRequest triggerLaunchPlan. */ + public triggerLaunchPlan?: (flyteidl.admin.ILaunchPlan|null); - /** TaskCreateRequest outputPrefix */ - outputPrefix?: (string|null); - } + /** + * Creates a new CreateTriggerRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateTriggerRequest instance + */ + public static create(properties?: flyteidl.artifact.ICreateTriggerRequest): flyteidl.artifact.CreateTriggerRequest; - /** Represents a TaskCreateRequest. */ - class TaskCreateRequest implements ITaskCreateRequest { + /** + * Encodes the specified CreateTriggerRequest message. Does not implicitly {@link flyteidl.artifact.CreateTriggerRequest.verify|verify} messages. + * @param message CreateTriggerRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.artifact.ICreateTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Constructs a new TaskCreateRequest. - * @param [properties] Properties to set + * Decodes a CreateTriggerRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateTriggerRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - constructor(properties?: flyteidl.service.ITaskCreateRequest); + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.CreateTriggerRequest; - /** TaskCreateRequest inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); + /** + * Verifies a CreateTriggerRequest 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); + } - /** TaskCreateRequest template. */ - public template?: (flyteidl.core.ITaskTemplate|null); + /** Properties of a CreateTriggerResponse. */ + interface ICreateTriggerResponse { + } - /** TaskCreateRequest outputPrefix. */ - public outputPrefix: string; + /** Represents a CreateTriggerResponse. */ + class CreateTriggerResponse implements ICreateTriggerResponse { /** - * Creates a new TaskCreateRequest instance using the specified properties. + * Constructs a new CreateTriggerResponse. * @param [properties] Properties to set - * @returns TaskCreateRequest instance */ - public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest; + constructor(properties?: flyteidl.artifact.ICreateTriggerResponse); /** - * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages. - * @param message TaskCreateRequest message or plain object to encode + * Creates a new CreateTriggerResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateTriggerResponse instance + */ + public static create(properties?: flyteidl.artifact.ICreateTriggerResponse): flyteidl.artifact.CreateTriggerResponse; + + /** + * Encodes the specified CreateTriggerResponse message. Does not implicitly {@link flyteidl.artifact.CreateTriggerResponse.verify|verify} messages. + * @param message CreateTriggerResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.ICreateTriggerResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskCreateRequest message from the specified reader or buffer. + * Decodes a CreateTriggerResponse 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 CreateTriggerResponse * @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.service.TaskCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.CreateTriggerResponse; /** - * Verifies a TaskCreateRequest message. + * Verifies a CreateTriggerResponse 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 DeleteTriggerRequest. */ + interface IDeleteTriggerRequest { - /** TaskCreateResponse jobId */ - jobId?: (string|null); + /** DeleteTriggerRequest triggerId */ + triggerId?: (flyteidl.core.IIdentifier|null); } - /** Represents a TaskCreateResponse. */ - class TaskCreateResponse implements ITaskCreateResponse { + /** Represents a DeleteTriggerRequest. */ + class DeleteTriggerRequest implements IDeleteTriggerRequest { /** - * Constructs a new TaskCreateResponse. + * Constructs a new DeleteTriggerRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ITaskCreateResponse); + constructor(properties?: flyteidl.artifact.IDeleteTriggerRequest); - /** TaskCreateResponse jobId. */ - public jobId: string; + /** DeleteTriggerRequest triggerId. */ + public triggerId?: (flyteidl.core.IIdentifier|null); /** - * Creates a new TaskCreateResponse instance using the specified properties. + * Creates a new DeleteTriggerRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskCreateResponse instance + * @returns DeleteTriggerRequest instance */ - public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse; + public static create(properties?: flyteidl.artifact.IDeleteTriggerRequest): flyteidl.artifact.DeleteTriggerRequest; /** - * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages. - * @param message TaskCreateResponse message or plain object to encode + * Encodes the specified DeleteTriggerRequest message. Does not implicitly {@link flyteidl.artifact.DeleteTriggerRequest.verify|verify} messages. + * @param message DeleteTriggerRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IDeleteTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskCreateResponse message from the specified reader or buffer. + * Decodes a DeleteTriggerRequest 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 DeleteTriggerRequest * @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.service.TaskCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.DeleteTriggerRequest; /** - * Verifies a TaskCreateResponse message. + * Verifies a DeleteTriggerRequest 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 TaskGetRequest. */ - interface ITaskGetRequest { - - /** TaskGetRequest taskType */ - taskType?: (string|null); - - /** TaskGetRequest jobId */ - jobId?: (string|null); + /** Properties of a DeleteTriggerResponse. */ + interface IDeleteTriggerResponse { } - /** Represents a TaskGetRequest. */ - class TaskGetRequest implements ITaskGetRequest { + /** Represents a DeleteTriggerResponse. */ + class DeleteTriggerResponse implements IDeleteTriggerResponse { /** - * Constructs a new TaskGetRequest. + * Constructs a new DeleteTriggerResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ITaskGetRequest); - - /** TaskGetRequest taskType. */ - public taskType: string; - - /** TaskGetRequest jobId. */ - public jobId: string; + constructor(properties?: flyteidl.artifact.IDeleteTriggerResponse); /** - * Creates a new TaskGetRequest instance using the specified properties. + * Creates a new DeleteTriggerResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskGetRequest instance + * @returns DeleteTriggerResponse instance */ - public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest; + public static create(properties?: flyteidl.artifact.IDeleteTriggerResponse): flyteidl.artifact.DeleteTriggerResponse; /** - * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages. - * @param message TaskGetRequest message or plain object to encode + * Encodes the specified DeleteTriggerResponse message. Does not implicitly {@link flyteidl.artifact.DeleteTriggerResponse.verify|verify} messages. + * @param message DeleteTriggerResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IDeleteTriggerResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskGetRequest message from the specified reader or buffer. + * Decodes a DeleteTriggerResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskGetRequest + * @returns DeleteTriggerResponse * @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.service.TaskGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.DeleteTriggerResponse; /** - * Verifies a TaskGetRequest message. + * Verifies a DeleteTriggerResponse 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 TaskGetResponse. */ - interface ITaskGetResponse { + /** Properties of an ArtifactProducer. */ + interface IArtifactProducer { - /** TaskGetResponse state */ - state?: (flyteidl.service.State|null); + /** ArtifactProducer entityId */ + entityId?: (flyteidl.core.IIdentifier|null); - /** TaskGetResponse outputs */ - outputs?: (flyteidl.core.ILiteralMap|null); + /** ArtifactProducer outputs */ + outputs?: (flyteidl.core.IVariableMap|null); } - /** Represents a TaskGetResponse. */ - class TaskGetResponse implements ITaskGetResponse { + /** Represents an ArtifactProducer. */ + class ArtifactProducer implements IArtifactProducer { /** - * Constructs a new TaskGetResponse. + * Constructs a new ArtifactProducer. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ITaskGetResponse); + constructor(properties?: flyteidl.artifact.IArtifactProducer); - /** TaskGetResponse state. */ - public state: flyteidl.service.State; + /** ArtifactProducer entityId. */ + public entityId?: (flyteidl.core.IIdentifier|null); - /** TaskGetResponse outputs. */ - public outputs?: (flyteidl.core.ILiteralMap|null); + /** ArtifactProducer outputs. */ + public outputs?: (flyteidl.core.IVariableMap|null); /** - * Creates a new TaskGetResponse instance using the specified properties. + * Creates a new ArtifactProducer instance using the specified properties. * @param [properties] Properties to set - * @returns TaskGetResponse instance + * @returns ArtifactProducer instance */ - public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse; + public static create(properties?: flyteidl.artifact.IArtifactProducer): flyteidl.artifact.ArtifactProducer; /** - * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages. - * @param message TaskGetResponse message or plain object to encode + * Encodes the specified ArtifactProducer message. Does not implicitly {@link flyteidl.artifact.ArtifactProducer.verify|verify} messages. + * @param message ArtifactProducer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IArtifactProducer, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskGetResponse message from the specified reader or buffer. + * Decodes an ArtifactProducer message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskGetResponse + * @returns ArtifactProducer * @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.service.TaskGetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.ArtifactProducer; /** - * Verifies a TaskGetResponse message. + * Verifies an ArtifactProducer 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 TaskDeleteRequest. */ - interface ITaskDeleteRequest { - - /** TaskDeleteRequest taskType */ - taskType?: (string|null); + /** Properties of a RegisterProducerRequest. */ + interface IRegisterProducerRequest { - /** TaskDeleteRequest jobId */ - jobId?: (string|null); + /** RegisterProducerRequest producers */ + producers?: (flyteidl.artifact.IArtifactProducer[]|null); } - /** Represents a TaskDeleteRequest. */ - class TaskDeleteRequest implements ITaskDeleteRequest { + /** Represents a RegisterProducerRequest. */ + class RegisterProducerRequest implements IRegisterProducerRequest { /** - * Constructs a new TaskDeleteRequest. + * Constructs a new RegisterProducerRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ITaskDeleteRequest); - - /** TaskDeleteRequest taskType. */ - public taskType: string; + constructor(properties?: flyteidl.artifact.IRegisterProducerRequest); - /** TaskDeleteRequest jobId. */ - public jobId: string; + /** RegisterProducerRequest producers. */ + public producers: flyteidl.artifact.IArtifactProducer[]; /** - * Creates a new TaskDeleteRequest instance using the specified properties. + * Creates a new RegisterProducerRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskDeleteRequest instance + * @returns RegisterProducerRequest instance */ - public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest; + public static create(properties?: flyteidl.artifact.IRegisterProducerRequest): flyteidl.artifact.RegisterProducerRequest; /** - * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages. - * @param message TaskDeleteRequest message or plain object to encode + * Encodes the specified RegisterProducerRequest message. Does not implicitly {@link flyteidl.artifact.RegisterProducerRequest.verify|verify} messages. + * @param message RegisterProducerRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IRegisterProducerRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskDeleteRequest message from the specified reader or buffer. + * Decodes a RegisterProducerRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskDeleteRequest + * @returns RegisterProducerRequest * @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.service.TaskDeleteRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.RegisterProducerRequest; /** - * Verifies a TaskDeleteRequest message. + * Verifies a RegisterProducerRequest 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 TaskDeleteResponse. */ - interface ITaskDeleteResponse { + /** Properties of an ArtifactConsumer. */ + interface IArtifactConsumer { + + /** ArtifactConsumer entityId */ + entityId?: (flyteidl.core.IIdentifier|null); + + /** ArtifactConsumer inputs */ + inputs?: (flyteidl.core.IParameterMap|null); } - /** Represents a TaskDeleteResponse. */ - class TaskDeleteResponse implements ITaskDeleteResponse { + /** Represents an ArtifactConsumer. */ + class ArtifactConsumer implements IArtifactConsumer { /** - * Constructs a new TaskDeleteResponse. + * Constructs a new ArtifactConsumer. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.ITaskDeleteResponse); + constructor(properties?: flyteidl.artifact.IArtifactConsumer); + + /** ArtifactConsumer entityId. */ + public entityId?: (flyteidl.core.IIdentifier|null); + + /** ArtifactConsumer inputs. */ + public inputs?: (flyteidl.core.IParameterMap|null); /** - * Creates a new TaskDeleteResponse instance using the specified properties. + * Creates a new ArtifactConsumer instance using the specified properties. * @param [properties] Properties to set - * @returns TaskDeleteResponse instance + * @returns ArtifactConsumer instance */ - public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse; + public static create(properties?: flyteidl.artifact.IArtifactConsumer): flyteidl.artifact.ArtifactConsumer; /** - * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages. - * @param message TaskDeleteResponse message or plain object to encode + * Encodes the specified ArtifactConsumer message. Does not implicitly {@link flyteidl.artifact.ArtifactConsumer.verify|verify} messages. + * @param message ArtifactConsumer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IArtifactConsumer, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskDeleteResponse message from the specified reader or buffer. + * Decodes an ArtifactConsumer message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskDeleteResponse + * @returns ArtifactConsumer * @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.service.TaskDeleteResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.ArtifactConsumer; /** - * Verifies a TaskDeleteResponse message. + * Verifies an ArtifactConsumer 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 UserInfoRequest. */ - interface IUserInfoRequest { + /** Properties of a RegisterConsumerRequest. */ + interface IRegisterConsumerRequest { + + /** RegisterConsumerRequest consumers */ + consumers?: (flyteidl.artifact.IArtifactConsumer[]|null); } - /** Represents a UserInfoRequest. */ - class UserInfoRequest implements IUserInfoRequest { + /** Represents a RegisterConsumerRequest. */ + class RegisterConsumerRequest implements IRegisterConsumerRequest { /** - * Constructs a new UserInfoRequest. + * Constructs a new RegisterConsumerRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IUserInfoRequest); + constructor(properties?: flyteidl.artifact.IRegisterConsumerRequest); + + /** RegisterConsumerRequest consumers. */ + public consumers: flyteidl.artifact.IArtifactConsumer[]; /** - * Creates a new UserInfoRequest instance using the specified properties. + * Creates a new RegisterConsumerRequest instance using the specified properties. * @param [properties] Properties to set - * @returns UserInfoRequest instance + * @returns RegisterConsumerRequest instance */ - public static create(properties?: flyteidl.service.IUserInfoRequest): flyteidl.service.UserInfoRequest; + public static create(properties?: flyteidl.artifact.IRegisterConsumerRequest): flyteidl.artifact.RegisterConsumerRequest; /** - * Encodes the specified UserInfoRequest message. Does not implicitly {@link flyteidl.service.UserInfoRequest.verify|verify} messages. - * @param message UserInfoRequest message or plain object to encode + * Encodes the specified RegisterConsumerRequest message. Does not implicitly {@link flyteidl.artifact.RegisterConsumerRequest.verify|verify} messages. + * @param message RegisterConsumerRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IUserInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IRegisterConsumerRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a UserInfoRequest message from the specified reader or buffer. + * Decodes a RegisterConsumerRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns UserInfoRequest + * @returns RegisterConsumerRequest * @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.service.UserInfoRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.RegisterConsumerRequest; /** - * Verifies a UserInfoRequest message. + * Verifies a RegisterConsumerRequest 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 UserInfoResponse. */ - interface IUserInfoResponse { - - /** UserInfoResponse subject */ - subject?: (string|null); - - /** UserInfoResponse name */ - name?: (string|null); - - /** UserInfoResponse preferredUsername */ - preferredUsername?: (string|null); - - /** UserInfoResponse givenName */ - givenName?: (string|null); - - /** UserInfoResponse familyName */ - familyName?: (string|null); - - /** UserInfoResponse email */ - email?: (string|null); - - /** UserInfoResponse picture */ - picture?: (string|null); - - /** UserInfoResponse additionalClaims */ - additionalClaims?: (google.protobuf.IStruct|null); + /** Properties of a RegisterResponse. */ + interface IRegisterResponse { } - /** Represents a UserInfoResponse. */ - class UserInfoResponse implements IUserInfoResponse { + /** Represents a RegisterResponse. */ + class RegisterResponse implements IRegisterResponse { /** - * Constructs a new UserInfoResponse. + * Constructs a new RegisterResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.service.IUserInfoResponse); - - /** UserInfoResponse subject. */ - public subject: string; - - /** UserInfoResponse name. */ - public name: string; - - /** UserInfoResponse preferredUsername. */ - public preferredUsername: string; - - /** UserInfoResponse givenName. */ - public givenName: string; - - /** UserInfoResponse familyName. */ - public familyName: string; - - /** UserInfoResponse email. */ - public email: string; - - /** UserInfoResponse picture. */ - public picture: string; - - /** UserInfoResponse additionalClaims. */ - public additionalClaims?: (google.protobuf.IStruct|null); + constructor(properties?: flyteidl.artifact.IRegisterResponse); /** - * Creates a new UserInfoResponse instance using the specified properties. + * Creates a new RegisterResponse instance using the specified properties. * @param [properties] Properties to set - * @returns UserInfoResponse instance + * @returns RegisterResponse instance */ - public static create(properties?: flyteidl.service.IUserInfoResponse): flyteidl.service.UserInfoResponse; + public static create(properties?: flyteidl.artifact.IRegisterResponse): flyteidl.artifact.RegisterResponse; /** - * Encodes the specified UserInfoResponse message. Does not implicitly {@link flyteidl.service.UserInfoResponse.verify|verify} messages. - * @param message UserInfoResponse message or plain object to encode + * Encodes the specified RegisterResponse message. Does not implicitly {@link flyteidl.artifact.RegisterResponse.verify|verify} messages. + * @param message RegisterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.service.IUserInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.artifact.IRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a UserInfoResponse message from the specified reader or buffer. + * Decodes a RegisterResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns UserInfoResponse + * @returns RegisterResponse * @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.service.UserInfoResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.artifact.RegisterResponse; /** - * Verifies a UserInfoResponse message. + * Verifies a RegisterResponse 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); } - /** Represents an IdentityService */ - class IdentityService extends $protobuf.rpc.Service { + /** Represents an ArtifactRegistry */ + class ArtifactRegistry extends $protobuf.rpc.Service { /** - * Constructs a new IdentityService service. + * Constructs a new ArtifactRegistry service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited @@ -21201,124 +23465,163 @@ export namespace flyteidl { constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** - * Creates new IdentityService service using the specified rpc implementation. + * Creates new ArtifactRegistry service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IdentityService; + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ArtifactRegistry; /** - * Calls UserInfo. - * @param request UserInfoRequest message or plain object - * @param callback Node-style callback called with the error, if any, and UserInfoResponse + * Calls CreateArtifact. + * @param request CreateArtifactRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateArtifactResponse */ - public userInfo(request: flyteidl.service.IUserInfoRequest, callback: flyteidl.service.IdentityService.UserInfoCallback): void; + public createArtifact(request: flyteidl.artifact.ICreateArtifactRequest, callback: flyteidl.artifact.ArtifactRegistry.CreateArtifactCallback): void; /** - * Calls UserInfo. - * @param request UserInfoRequest message or plain object + * Calls CreateArtifact. + * @param request CreateArtifactRequest message or plain object * @returns Promise */ - public userInfo(request: flyteidl.service.IUserInfoRequest): Promise; - } + public createArtifact(request: flyteidl.artifact.ICreateArtifactRequest): Promise; - namespace IdentityService { + /** + * Calls GetArtifact. + * @param request GetArtifactRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetArtifactResponse + */ + public getArtifact(request: flyteidl.artifact.IGetArtifactRequest, callback: flyteidl.artifact.ArtifactRegistry.GetArtifactCallback): void; /** - * Callback as used by {@link flyteidl.service.IdentityService#userInfo}. - * @param error Error, if any - * @param [response] UserInfoResponse + * Calls GetArtifact. + * @param request GetArtifactRequest message or plain object + * @returns Promise */ - type UserInfoCallback = (error: (Error|null), response?: flyteidl.service.UserInfoResponse) => void; - } + public getArtifact(request: flyteidl.artifact.IGetArtifactRequest): Promise; - /** Represents a SignalService */ - class SignalService extends $protobuf.rpc.Service { + /** + * Calls CreateTrigger. + * @param request CreateTriggerRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateTriggerResponse + */ + public createTrigger(request: flyteidl.artifact.ICreateTriggerRequest, callback: flyteidl.artifact.ArtifactRegistry.CreateTriggerCallback): void; /** - * Constructs a new SignalService service. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited + * Calls CreateTrigger. + * @param request CreateTriggerRequest message or plain object + * @returns Promise */ - constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + public createTrigger(request: flyteidl.artifact.ICreateTriggerRequest): Promise; /** - * Creates new SignalService service using the specified rpc implementation. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - * @returns RPC service. Useful where requests and/or responses are streamed. + * Calls DeleteTrigger. + * @param request DeleteTriggerRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DeleteTriggerResponse */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SignalService; + public deleteTrigger(request: flyteidl.artifact.IDeleteTriggerRequest, callback: flyteidl.artifact.ArtifactRegistry.DeleteTriggerCallback): void; /** - * Calls GetOrCreateSignal. - * @param request SignalGetOrCreateRequest message or plain object - * @param callback Node-style callback called with the error, if any, and Signal + * Calls DeleteTrigger. + * @param request DeleteTriggerRequest message or plain object + * @returns Promise */ - public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest, callback: flyteidl.service.SignalService.GetOrCreateSignalCallback): void; + public deleteTrigger(request: flyteidl.artifact.IDeleteTriggerRequest): Promise; /** - * Calls GetOrCreateSignal. - * @param request SignalGetOrCreateRequest message or plain object + * Calls AddTag. + * @param request AddTagRequest message or plain object + * @param callback Node-style callback called with the error, if any, and AddTagResponse + */ + public addTag(request: flyteidl.artifact.IAddTagRequest, callback: flyteidl.artifact.ArtifactRegistry.AddTagCallback): void; + + /** + * Calls AddTag. + * @param request AddTagRequest message or plain object * @returns Promise */ - public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest): Promise; + public addTag(request: flyteidl.artifact.IAddTagRequest): Promise; /** - * Calls ListSignals. - * @param request SignalListRequest message or plain object - * @param callback Node-style callback called with the error, if any, and SignalList + * Calls RegisterProducer. + * @param request RegisterProducerRequest message or plain object + * @param callback Node-style callback called with the error, if any, and RegisterResponse */ - public listSignals(request: flyteidl.admin.ISignalListRequest, callback: flyteidl.service.SignalService.ListSignalsCallback): void; + public registerProducer(request: flyteidl.artifact.IRegisterProducerRequest, callback: flyteidl.artifact.ArtifactRegistry.RegisterProducerCallback): void; /** - * Calls ListSignals. - * @param request SignalListRequest message or plain object + * Calls RegisterProducer. + * @param request RegisterProducerRequest message or plain object * @returns Promise */ - public listSignals(request: flyteidl.admin.ISignalListRequest): Promise; + public registerProducer(request: flyteidl.artifact.IRegisterProducerRequest): Promise; /** - * Calls SetSignal. - * @param request SignalSetRequest message or plain object - * @param callback Node-style callback called with the error, if any, and SignalSetResponse + * Calls RegisterConsumer. + * @param request RegisterConsumerRequest message or plain object + * @param callback Node-style callback called with the error, if any, and RegisterResponse */ - public setSignal(request: flyteidl.admin.ISignalSetRequest, callback: flyteidl.service.SignalService.SetSignalCallback): void; + public registerConsumer(request: flyteidl.artifact.IRegisterConsumerRequest, callback: flyteidl.artifact.ArtifactRegistry.RegisterConsumerCallback): void; /** - * Calls SetSignal. - * @param request SignalSetRequest message or plain object + * Calls RegisterConsumer. + * @param request RegisterConsumerRequest message or plain object * @returns Promise */ - public setSignal(request: flyteidl.admin.ISignalSetRequest): Promise; + public registerConsumer(request: flyteidl.artifact.IRegisterConsumerRequest): Promise; } - namespace SignalService { + namespace ArtifactRegistry { /** - * Callback as used by {@link flyteidl.service.SignalService#getOrCreateSignal}. + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#createArtifact}. * @param error Error, if any - * @param [response] Signal + * @param [response] CreateArtifactResponse */ - type GetOrCreateSignalCallback = (error: (Error|null), response?: flyteidl.admin.Signal) => void; + type CreateArtifactCallback = (error: (Error|null), response?: flyteidl.artifact.CreateArtifactResponse) => void; /** - * Callback as used by {@link flyteidl.service.SignalService#listSignals}. + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#getArtifact}. * @param error Error, if any - * @param [response] SignalList + * @param [response] GetArtifactResponse */ - type ListSignalsCallback = (error: (Error|null), response?: flyteidl.admin.SignalList) => void; + type GetArtifactCallback = (error: (Error|null), response?: flyteidl.artifact.GetArtifactResponse) => void; /** - * Callback as used by {@link flyteidl.service.SignalService#setSignal}. + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#createTrigger}. * @param error Error, if any - * @param [response] SignalSetResponse + * @param [response] CreateTriggerResponse */ - type SetSignalCallback = (error: (Error|null), response?: flyteidl.admin.SignalSetResponse) => void; + type CreateTriggerCallback = (error: (Error|null), response?: flyteidl.artifact.CreateTriggerResponse) => void; + + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#deleteTrigger}. + * @param error Error, if any + * @param [response] DeleteTriggerResponse + */ + type DeleteTriggerCallback = (error: (Error|null), response?: flyteidl.artifact.DeleteTriggerResponse) => void; + + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#addTag}. + * @param error Error, if any + * @param [response] AddTagResponse + */ + type AddTagCallback = (error: (Error|null), response?: flyteidl.artifact.AddTagResponse) => void; + + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#registerProducer}. + * @param error Error, if any + * @param [response] RegisterResponse + */ + type RegisterProducerCallback = (error: (Error|null), response?: flyteidl.artifact.RegisterResponse) => void; + + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#registerConsumer}. + * @param error Error, if any + * @param [response] RegisterResponse + */ + type RegisterConsumerCallback = (error: (Error|null), response?: flyteidl.artifact.RegisterResponse) => void; } } } @@ -22107,6 +24410,64 @@ export namespace google { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of an Any. */ + interface IAny { + + /** Any type_url */ + type_url?: (string|null); + + /** Any value */ + value?: (Uint8Array|null); + } + + /** Represents an Any. */ + class Any implements IAny { + + /** + * Constructs a new Any. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IAny); + + /** Any type_url. */ + public type_url: string; + + /** Any value. */ + public value: Uint8Array; + + /** + * Creates a new Any instance using the specified properties. + * @param [properties] Properties to set + * @returns Any instance + */ + public static create(properties?: google.protobuf.IAny): google.protobuf.Any; + + /** + * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. + * @param message Any message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Any message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Any + * @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): google.protobuf.Any; + + /** + * Verifies an Any 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 FileDescriptorSet. */ interface IFileDescriptorSet { diff --git a/flyteidl/gen/pb-js/flyteidl.js b/flyteidl/gen/pb-js/flyteidl.js index 46812b6db7..dccd99555c 100644 --- a/flyteidl/gen/pb-js/flyteidl.js +++ b/flyteidl/gen/pb-js/flyteidl.js @@ -34,49 +34,26 @@ */ var core = {}; - /** - * CatalogCacheStatus enum. - * @name flyteidl.core.CatalogCacheStatus - * @enum {string} - * @property {number} CACHE_DISABLED=0 CACHE_DISABLED value - * @property {number} CACHE_MISS=1 CACHE_MISS value - * @property {number} CACHE_HIT=2 CACHE_HIT value - * @property {number} CACHE_POPULATED=3 CACHE_POPULATED value - * @property {number} CACHE_LOOKUP_FAILURE=4 CACHE_LOOKUP_FAILURE value - * @property {number} CACHE_PUT_FAILURE=5 CACHE_PUT_FAILURE value - * @property {number} CACHE_SKIPPED=6 CACHE_SKIPPED value - */ - core.CatalogCacheStatus = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "CACHE_DISABLED"] = 0; - values[valuesById[1] = "CACHE_MISS"] = 1; - values[valuesById[2] = "CACHE_HIT"] = 2; - values[valuesById[3] = "CACHE_POPULATED"] = 3; - values[valuesById[4] = "CACHE_LOOKUP_FAILURE"] = 4; - values[valuesById[5] = "CACHE_PUT_FAILURE"] = 5; - values[valuesById[6] = "CACHE_SKIPPED"] = 6; - return values; - })(); - - core.CatalogArtifactTag = (function() { + core.ArtifactKey = (function() { /** - * Properties of a CatalogArtifactTag. + * Properties of an ArtifactKey. * @memberof flyteidl.core - * @interface ICatalogArtifactTag - * @property {string|null} [artifactId] CatalogArtifactTag artifactId - * @property {string|null} [name] CatalogArtifactTag name + * @interface IArtifactKey + * @property {string|null} [project] ArtifactKey project + * @property {string|null} [domain] ArtifactKey domain + * @property {string|null} [name] ArtifactKey name */ /** - * Constructs a new CatalogArtifactTag. + * Constructs a new ArtifactKey. * @memberof flyteidl.core - * @classdesc Represents a CatalogArtifactTag. - * @implements ICatalogArtifactTag + * @classdesc Represents an ArtifactKey. + * @implements IArtifactKey * @constructor - * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set + * @param {flyteidl.core.IArtifactKey=} [properties] Properties to set */ - function CatalogArtifactTag(properties) { + function ArtifactKey(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -84,74 +61,87 @@ } /** - * CatalogArtifactTag artifactId. - * @member {string} artifactId - * @memberof flyteidl.core.CatalogArtifactTag + * ArtifactKey project. + * @member {string} project + * @memberof flyteidl.core.ArtifactKey * @instance */ - CatalogArtifactTag.prototype.artifactId = ""; + ArtifactKey.prototype.project = ""; /** - * CatalogArtifactTag name. + * ArtifactKey domain. + * @member {string} domain + * @memberof flyteidl.core.ArtifactKey + * @instance + */ + ArtifactKey.prototype.domain = ""; + + /** + * ArtifactKey name. * @member {string} name - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @instance */ - CatalogArtifactTag.prototype.name = ""; + ArtifactKey.prototype.name = ""; /** - * Creates a new CatalogArtifactTag instance using the specified properties. + * Creates a new ArtifactKey instance using the specified properties. * @function create - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static - * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set - * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag instance + * @param {flyteidl.core.IArtifactKey=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactKey} ArtifactKey instance */ - CatalogArtifactTag.create = function create(properties) { - return new CatalogArtifactTag(properties); + ArtifactKey.create = function create(properties) { + return new ArtifactKey(properties); }; /** - * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. + * Encodes the specified ArtifactKey message. Does not implicitly {@link flyteidl.core.ArtifactKey.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static - * @param {flyteidl.core.ICatalogArtifactTag} message CatalogArtifactTag message or plain object to encode + * @param {flyteidl.core.IArtifactKey} message ArtifactKey message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CatalogArtifactTag.encode = function encode(message, writer) { + ArtifactKey.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.artifactId != null && message.hasOwnProperty("artifactId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.artifactId); + 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 2, wireType 2 =*/18).string(message.name); + writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); return writer; }; /** - * Decodes a CatalogArtifactTag message from the specified reader or buffer. + * Decodes an ArtifactKey message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag + * @returns {flyteidl.core.ArtifactKey} ArtifactKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CatalogArtifactTag.decode = function decode(reader, length) { + ArtifactKey.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.core.CatalogArtifactTag(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactKey(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.artifactId = reader.string(); + message.project = reader.string(); break; case 2: + message.domain = reader.string(); + break; + case 3: message.name = reader.string(); break; default: @@ -163,48 +153,51 @@ }; /** - * Verifies a CatalogArtifactTag message. + * Verifies an ArtifactKey message. * @function verify - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CatalogArtifactTag.verify = function verify(message) { + ArtifactKey.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.artifactId != null && message.hasOwnProperty("artifactId")) - if (!$util.isString(message.artifactId)) - return "artifactId: 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"; return null; }; - return CatalogArtifactTag; + return ArtifactKey; })(); - core.CatalogMetadata = (function() { + core.ArtifactBindingData = (function() { /** - * Properties of a CatalogMetadata. + * Properties of an ArtifactBindingData. * @memberof flyteidl.core - * @interface ICatalogMetadata - * @property {flyteidl.core.IIdentifier|null} [datasetId] CatalogMetadata datasetId - * @property {flyteidl.core.ICatalogArtifactTag|null} [artifactTag] CatalogMetadata artifactTag - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [sourceTaskExecution] CatalogMetadata sourceTaskExecution + * @interface IArtifactBindingData + * @property {number|null} [index] ArtifactBindingData index + * @property {string|null} [partitionKey] ArtifactBindingData partitionKey + * @property {string|null} [transform] ArtifactBindingData transform */ /** - * Constructs a new CatalogMetadata. + * Constructs a new ArtifactBindingData. * @memberof flyteidl.core - * @classdesc Represents a CatalogMetadata. - * @implements ICatalogMetadata + * @classdesc Represents an ArtifactBindingData. + * @implements IArtifactBindingData * @constructor - * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set + * @param {flyteidl.core.IArtifactBindingData=} [properties] Properties to set */ - function CatalogMetadata(properties) { + function ArtifactBindingData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -212,102 +205,88 @@ } /** - * CatalogMetadata datasetId. - * @member {flyteidl.core.IIdentifier|null|undefined} datasetId - * @memberof flyteidl.core.CatalogMetadata - * @instance - */ - CatalogMetadata.prototype.datasetId = null; - - /** - * CatalogMetadata artifactTag. - * @member {flyteidl.core.ICatalogArtifactTag|null|undefined} artifactTag - * @memberof flyteidl.core.CatalogMetadata + * ArtifactBindingData index. + * @member {number} index + * @memberof flyteidl.core.ArtifactBindingData * @instance */ - CatalogMetadata.prototype.artifactTag = null; + ArtifactBindingData.prototype.index = 0; /** - * CatalogMetadata sourceTaskExecution. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} sourceTaskExecution - * @memberof flyteidl.core.CatalogMetadata + * ArtifactBindingData partitionKey. + * @member {string} partitionKey + * @memberof flyteidl.core.ArtifactBindingData * @instance */ - CatalogMetadata.prototype.sourceTaskExecution = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + ArtifactBindingData.prototype.partitionKey = ""; /** - * CatalogMetadata sourceExecution. - * @member {"sourceTaskExecution"|undefined} sourceExecution - * @memberof flyteidl.core.CatalogMetadata + * ArtifactBindingData transform. + * @member {string} transform + * @memberof flyteidl.core.ArtifactBindingData * @instance */ - Object.defineProperty(CatalogMetadata.prototype, "sourceExecution", { - get: $util.oneOfGetter($oneOfFields = ["sourceTaskExecution"]), - set: $util.oneOfSetter($oneOfFields) - }); + ArtifactBindingData.prototype.transform = ""; /** - * Creates a new CatalogMetadata instance using the specified properties. + * Creates a new ArtifactBindingData instance using the specified properties. * @function create - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static - * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set - * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata instance + * @param {flyteidl.core.IArtifactBindingData=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactBindingData} ArtifactBindingData instance */ - CatalogMetadata.create = function create(properties) { - return new CatalogMetadata(properties); + ArtifactBindingData.create = function create(properties) { + return new ArtifactBindingData(properties); }; /** - * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. + * Encodes the specified ArtifactBindingData message. Does not implicitly {@link flyteidl.core.ArtifactBindingData.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static - * @param {flyteidl.core.ICatalogMetadata} message CatalogMetadata message or plain object to encode + * @param {flyteidl.core.IArtifactBindingData} message ArtifactBindingData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CatalogMetadata.encode = function encode(message, writer) { + ArtifactBindingData.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.datasetId != null && message.hasOwnProperty("datasetId")) - $root.flyteidl.core.Identifier.encode(message.datasetId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) - $root.flyteidl.core.CatalogArtifactTag.encode(message.artifactTag, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.sourceTaskExecution, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.index != null && message.hasOwnProperty("index")) + writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.index); + if (message.partitionKey != null && message.hasOwnProperty("partitionKey")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.partitionKey); + if (message.transform != null && message.hasOwnProperty("transform")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.transform); return writer; }; /** - * Decodes a CatalogMetadata message from the specified reader or buffer. + * Decodes an ArtifactBindingData message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata + * @returns {flyteidl.core.ArtifactBindingData} ArtifactBindingData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CatalogMetadata.decode = function decode(reader, length) { + ArtifactBindingData.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.core.CatalogMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactBindingData(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.datasetId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.index = reader.uint32(); break; case 2: - message.artifactTag = $root.flyteidl.core.CatalogArtifactTag.decode(reader, reader.uint32()); + message.partitionKey = reader.string(); break; case 3: - message.sourceTaskExecution = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.transform = reader.string(); break; default: reader.skipType(tag & 7); @@ -318,58 +297,49 @@ }; /** - * Verifies a CatalogMetadata message. + * Verifies an ArtifactBindingData message. * @function verify - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CatalogMetadata.verify = function verify(message) { + ArtifactBindingData.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.datasetId != null && message.hasOwnProperty("datasetId")) { - var error = $root.flyteidl.core.Identifier.verify(message.datasetId); - if (error) - return "datasetId." + error; - } - if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { - var error = $root.flyteidl.core.CatalogArtifactTag.verify(message.artifactTag); - if (error) - return "artifactTag." + error; - } - if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) { - properties.sourceExecution = 1; - { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.sourceTaskExecution); - if (error) - return "sourceTaskExecution." + error; - } - } + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + if (message.partitionKey != null && message.hasOwnProperty("partitionKey")) + if (!$util.isString(message.partitionKey)) + return "partitionKey: string expected"; + if (message.transform != null && message.hasOwnProperty("transform")) + if (!$util.isString(message.transform)) + return "transform: string expected"; return null; }; - return CatalogMetadata; + return ArtifactBindingData; })(); - core.CatalogReservation = (function() { + core.InputBindingData = (function() { /** - * Properties of a CatalogReservation. + * Properties of an InputBindingData. * @memberof flyteidl.core - * @interface ICatalogReservation + * @interface IInputBindingData + * @property {string|null} ["var"] InputBindingData var */ /** - * Constructs a new CatalogReservation. + * Constructs a new InputBindingData. * @memberof flyteidl.core - * @classdesc Represents a CatalogReservation. - * @implements ICatalogReservation + * @classdesc Represents an InputBindingData. + * @implements IInputBindingData * @constructor - * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set + * @param {flyteidl.core.IInputBindingData=} [properties] Properties to set */ - function CatalogReservation(properties) { + function InputBindingData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -377,50 +347,63 @@ } /** - * Creates a new CatalogReservation instance using the specified properties. + * InputBindingData var. + * @member {string} var + * @memberof flyteidl.core.InputBindingData + * @instance + */ + InputBindingData.prototype["var"] = ""; + + /** + * Creates a new InputBindingData instance using the specified properties. * @function create - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static - * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set - * @returns {flyteidl.core.CatalogReservation} CatalogReservation instance + * @param {flyteidl.core.IInputBindingData=} [properties] Properties to set + * @returns {flyteidl.core.InputBindingData} InputBindingData instance */ - CatalogReservation.create = function create(properties) { - return new CatalogReservation(properties); + InputBindingData.create = function create(properties) { + return new InputBindingData(properties); }; /** - * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. + * Encodes the specified InputBindingData message. Does not implicitly {@link flyteidl.core.InputBindingData.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static - * @param {flyteidl.core.ICatalogReservation} message CatalogReservation message or plain object to encode + * @param {flyteidl.core.IInputBindingData} message InputBindingData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CatalogReservation.encode = function encode(message, writer) { + InputBindingData.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); return writer; }; /** - * Decodes a CatalogReservation message from the specified reader or buffer. + * Decodes an InputBindingData message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CatalogReservation} CatalogReservation + * @returns {flyteidl.core.InputBindingData} InputBindingData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CatalogReservation.decode = function decode(reader, length) { + InputBindingData.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.core.CatalogReservation(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.InputBindingData(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message["var"] = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -430,84 +413,45 @@ }; /** - * Verifies a CatalogReservation message. + * Verifies an InputBindingData message. * @function verify - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CatalogReservation.verify = function verify(message) { + InputBindingData.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message["var"] != null && message.hasOwnProperty("var")) + if (!$util.isString(message["var"])) + return "var: string expected"; return null; }; - /** - * Status enum. - * @name flyteidl.core.CatalogReservation.Status - * @enum {string} - * @property {number} RESERVATION_DISABLED=0 RESERVATION_DISABLED value - * @property {number} RESERVATION_ACQUIRED=1 RESERVATION_ACQUIRED value - * @property {number} RESERVATION_EXISTS=2 RESERVATION_EXISTS value - * @property {number} RESERVATION_RELEASED=3 RESERVATION_RELEASED value - * @property {number} RESERVATION_FAILURE=4 RESERVATION_FAILURE value - */ - CatalogReservation.Status = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "RESERVATION_DISABLED"] = 0; - values[valuesById[1] = "RESERVATION_ACQUIRED"] = 1; - values[valuesById[2] = "RESERVATION_EXISTS"] = 2; - values[valuesById[3] = "RESERVATION_RELEASED"] = 3; - values[valuesById[4] = "RESERVATION_FAILURE"] = 4; - return values; - })(); - - return CatalogReservation; - })(); - - /** - * ResourceType enum. - * @name flyteidl.core.ResourceType - * @enum {string} - * @property {number} UNSPECIFIED=0 UNSPECIFIED value - * @property {number} TASK=1 TASK value - * @property {number} WORKFLOW=2 WORKFLOW value - * @property {number} LAUNCH_PLAN=3 LAUNCH_PLAN value - * @property {number} DATASET=4 DATASET value - */ - core.ResourceType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNSPECIFIED"] = 0; - values[valuesById[1] = "TASK"] = 1; - values[valuesById[2] = "WORKFLOW"] = 2; - values[valuesById[3] = "LAUNCH_PLAN"] = 3; - values[valuesById[4] = "DATASET"] = 4; - return values; + return InputBindingData; })(); - core.Identifier = (function() { + core.LabelValue = (function() { /** - * Properties of an Identifier. + * Properties of a LabelValue. * @memberof flyteidl.core - * @interface IIdentifier - * @property {flyteidl.core.ResourceType|null} [resourceType] Identifier resourceType - * @property {string|null} [project] Identifier project - * @property {string|null} [domain] Identifier domain - * @property {string|null} [name] Identifier name - * @property {string|null} [version] Identifier version + * @interface ILabelValue + * @property {string|null} [staticValue] LabelValue staticValue + * @property {flyteidl.core.IArtifactBindingData|null} [triggeredBinding] LabelValue triggeredBinding + * @property {flyteidl.core.IInputBindingData|null} [inputBinding] LabelValue inputBinding */ /** - * Constructs a new Identifier. + * Constructs a new LabelValue. * @memberof flyteidl.core - * @classdesc Represents an Identifier. - * @implements IIdentifier + * @classdesc Represents a LabelValue. + * @implements ILabelValue * @constructor - * @param {flyteidl.core.IIdentifier=} [properties] Properties to set + * @param {flyteidl.core.ILabelValue=} [properties] Properties to set */ - function Identifier(properties) { + function LabelValue(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -515,114 +459,102 @@ } /** - * Identifier resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.core.Identifier + * LabelValue staticValue. + * @member {string} staticValue + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.resourceType = 0; + LabelValue.prototype.staticValue = ""; /** - * Identifier project. - * @member {string} project - * @memberof flyteidl.core.Identifier + * LabelValue triggeredBinding. + * @member {flyteidl.core.IArtifactBindingData|null|undefined} triggeredBinding + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.project = ""; + LabelValue.prototype.triggeredBinding = null; /** - * Identifier domain. - * @member {string} domain - * @memberof flyteidl.core.Identifier + * LabelValue inputBinding. + * @member {flyteidl.core.IInputBindingData|null|undefined} inputBinding + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.domain = ""; + LabelValue.prototype.inputBinding = null; - /** - * Identifier name. - * @member {string} name - * @memberof flyteidl.core.Identifier - * @instance - */ - Identifier.prototype.name = ""; + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Identifier version. - * @member {string} version - * @memberof flyteidl.core.Identifier + * LabelValue value. + * @member {"staticValue"|"triggeredBinding"|"inputBinding"|undefined} value + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.version = ""; + Object.defineProperty(LabelValue.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["staticValue", "triggeredBinding", "inputBinding"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new Identifier instance using the specified properties. + * Creates a new LabelValue instance using the specified properties. * @function create - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static - * @param {flyteidl.core.IIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.Identifier} Identifier instance + * @param {flyteidl.core.ILabelValue=} [properties] Properties to set + * @returns {flyteidl.core.LabelValue} LabelValue instance */ - Identifier.create = function create(properties) { - return new Identifier(properties); + LabelValue.create = function create(properties) { + return new LabelValue(properties); }; /** - * Encodes the specified Identifier message. Does not implicitly {@link flyteidl.core.Identifier.verify|verify} messages. + * Encodes the specified LabelValue message. Does not implicitly {@link flyteidl.core.LabelValue.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static - * @param {flyteidl.core.IIdentifier} message Identifier message or plain object to encode + * @param {flyteidl.core.ILabelValue} message LabelValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Identifier.encode = function encode(message, writer) { + LabelValue.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.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.name); - if (message.version != null && message.hasOwnProperty("version")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.version); + if (message.staticValue != null && message.hasOwnProperty("staticValue")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.staticValue); + if (message.triggeredBinding != null && message.hasOwnProperty("triggeredBinding")) + $root.flyteidl.core.ArtifactBindingData.encode(message.triggeredBinding, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.inputBinding != null && message.hasOwnProperty("inputBinding")) + $root.flyteidl.core.InputBindingData.encode(message.inputBinding, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes an Identifier message from the specified reader or buffer. + * Decodes a LabelValue message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Identifier} Identifier + * @returns {flyteidl.core.LabelValue} LabelValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Identifier.decode = function decode(reader, length) { + LabelValue.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.core.Identifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LabelValue(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resourceType = reader.int32(); + message.staticValue = reader.string(); break; case 2: - message.project = reader.string(); + message.triggeredBinding = $root.flyteidl.core.ArtifactBindingData.decode(reader, reader.uint32()); break; case 3: - message.domain = reader.string(); - break; - case 4: - message.name = reader.string(); - break; - case 5: - message.version = reader.string(); + message.inputBinding = $root.flyteidl.core.InputBindingData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -633,65 +565,67 @@ }; /** - * Verifies an Identifier message. + * Verifies a LabelValue message. * @function verify - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Identifier.verify = function verify(message) { + LabelValue.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; + var properties = {}; + if (message.staticValue != null && message.hasOwnProperty("staticValue")) { + properties.value = 1; + if (!$util.isString(message.staticValue)) + return "staticValue: string expected"; + } + if (message.triggeredBinding != null && message.hasOwnProperty("triggeredBinding")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.ArtifactBindingData.verify(message.triggeredBinding); + if (error) + return "triggeredBinding." + 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.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.version != null && message.hasOwnProperty("version")) - if (!$util.isString(message.version)) - return "version: string expected"; + } + if (message.inputBinding != null && message.hasOwnProperty("inputBinding")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.InputBindingData.verify(message.inputBinding); + if (error) + return "inputBinding." + error; + } + } return null; }; - return Identifier; + return LabelValue; })(); - core.WorkflowExecutionIdentifier = (function() { + core.Partitions = (function() { /** - * Properties of a WorkflowExecutionIdentifier. + * Properties of a Partitions. * @memberof flyteidl.core - * @interface IWorkflowExecutionIdentifier - * @property {string|null} [project] WorkflowExecutionIdentifier project - * @property {string|null} [domain] WorkflowExecutionIdentifier domain - * @property {string|null} [name] WorkflowExecutionIdentifier name + * @interface IPartitions + * @property {Object.|null} [value] Partitions value */ /** - * Constructs a new WorkflowExecutionIdentifier. + * Constructs a new Partitions. * @memberof flyteidl.core - * @classdesc Represents a WorkflowExecutionIdentifier. - * @implements IWorkflowExecutionIdentifier + * @classdesc Represents a Partitions. + * @implements IPartitions * @constructor - * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IPartitions=} [properties] Properties to set */ - function WorkflowExecutionIdentifier(properties) { + function Partitions(properties) { + this.value = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -699,88 +633,70 @@ } /** - * WorkflowExecutionIdentifier project. - * @member {string} project - * @memberof flyteidl.core.WorkflowExecutionIdentifier - * @instance - */ - WorkflowExecutionIdentifier.prototype.project = ""; - - /** - * WorkflowExecutionIdentifier domain. - * @member {string} domain - * @memberof flyteidl.core.WorkflowExecutionIdentifier - * @instance - */ - WorkflowExecutionIdentifier.prototype.domain = ""; - - /** - * WorkflowExecutionIdentifier name. - * @member {string} name - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * Partitions value. + * @member {Object.} value + * @memberof flyteidl.core.Partitions * @instance */ - WorkflowExecutionIdentifier.prototype.name = ""; + Partitions.prototype.value = $util.emptyObject; /** - * Creates a new WorkflowExecutionIdentifier instance using the specified properties. + * Creates a new Partitions instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static - * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier instance + * @param {flyteidl.core.IPartitions=} [properties] Properties to set + * @returns {flyteidl.core.Partitions} Partitions instance */ - WorkflowExecutionIdentifier.create = function create(properties) { - return new WorkflowExecutionIdentifier(properties); + Partitions.create = function create(properties) { + return new Partitions(properties); }; /** - * Encodes the specified WorkflowExecutionIdentifier message. Does not implicitly {@link flyteidl.core.WorkflowExecutionIdentifier.verify|verify} messages. + * Encodes the specified Partitions message. Does not implicitly {@link flyteidl.core.Partitions.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static - * @param {flyteidl.core.IWorkflowExecutionIdentifier} message WorkflowExecutionIdentifier message or plain object to encode + * @param {flyteidl.core.IPartitions} message Partitions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionIdentifier.encode = function encode(message, writer) { + Partitions.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 4, wireType 2 =*/34).string(message.name); + if (message.value != null && message.hasOwnProperty("value")) + for (var keys = Object.keys(message.value), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.LabelValue.encode(message.value[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } return writer; }; /** - * Decodes a WorkflowExecutionIdentifier message from the specified reader or buffer. + * Decodes a Partitions message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier + * @returns {flyteidl.core.Partitions} Partitions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionIdentifier.decode = function decode(reader, length) { + Partitions.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.core.WorkflowExecutionIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Partitions(), key; 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 4: - message.name = reader.string(); + reader.skip().pos++; + if (message.value === $util.emptyObject) + message.value = {}; + key = reader.string(); + reader.pos++; + message.value[key] = $root.flyteidl.core.LabelValue.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -791,50 +707,52 @@ }; /** - * Verifies a WorkflowExecutionIdentifier message. + * Verifies a Partitions message. * @function verify - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionIdentifier.verify = function verify(message) { + Partitions.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.value != null && message.hasOwnProperty("value")) { + if (!$util.isObject(message.value)) + return "value: object expected"; + var key = Object.keys(message.value); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.LabelValue.verify(message.value[key[i]]); + if (error) + return "value." + error; + } + } return null; }; - return WorkflowExecutionIdentifier; + return Partitions; })(); - core.NodeExecutionIdentifier = (function() { + core.ArtifactID = (function() { /** - * Properties of a NodeExecutionIdentifier. + * Properties of an ArtifactID. * @memberof flyteidl.core - * @interface INodeExecutionIdentifier - * @property {string|null} [nodeId] NodeExecutionIdentifier nodeId - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] NodeExecutionIdentifier executionId + * @interface IArtifactID + * @property {flyteidl.core.IArtifactKey|null} [artifactKey] ArtifactID artifactKey + * @property {string|null} [version] ArtifactID version + * @property {flyteidl.core.IPartitions|null} [partitions] ArtifactID partitions */ /** - * Constructs a new NodeExecutionIdentifier. + * Constructs a new ArtifactID. * @memberof flyteidl.core - * @classdesc Represents a NodeExecutionIdentifier. - * @implements INodeExecutionIdentifier + * @classdesc Represents an ArtifactID. + * @implements IArtifactID * @constructor - * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IArtifactID=} [properties] Properties to set */ - function NodeExecutionIdentifier(properties) { + function ArtifactID(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -842,75 +760,102 @@ } /** - * NodeExecutionIdentifier nodeId. - * @member {string} nodeId - * @memberof flyteidl.core.NodeExecutionIdentifier + * ArtifactID artifactKey. + * @member {flyteidl.core.IArtifactKey|null|undefined} artifactKey + * @memberof flyteidl.core.ArtifactID * @instance */ - NodeExecutionIdentifier.prototype.nodeId = ""; + ArtifactID.prototype.artifactKey = null; /** - * NodeExecutionIdentifier executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.core.NodeExecutionIdentifier + * ArtifactID version. + * @member {string} version + * @memberof flyteidl.core.ArtifactID * @instance */ - NodeExecutionIdentifier.prototype.executionId = null; + ArtifactID.prototype.version = ""; /** - * Creates a new NodeExecutionIdentifier instance using the specified properties. + * ArtifactID partitions. + * @member {flyteidl.core.IPartitions|null|undefined} partitions + * @memberof flyteidl.core.ArtifactID + * @instance + */ + ArtifactID.prototype.partitions = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ArtifactID dimensions. + * @member {"partitions"|undefined} dimensions + * @memberof flyteidl.core.ArtifactID + * @instance + */ + Object.defineProperty(ArtifactID.prototype, "dimensions", { + get: $util.oneOfGetter($oneOfFields = ["partitions"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ArtifactID instance using the specified properties. * @function create - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static - * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier instance + * @param {flyteidl.core.IArtifactID=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactID} ArtifactID instance */ - NodeExecutionIdentifier.create = function create(properties) { - return new NodeExecutionIdentifier(properties); + ArtifactID.create = function create(properties) { + return new ArtifactID(properties); }; /** - * Encodes the specified NodeExecutionIdentifier message. Does not implicitly {@link flyteidl.core.NodeExecutionIdentifier.verify|verify} messages. + * Encodes the specified ArtifactID message. Does not implicitly {@link flyteidl.core.ArtifactID.verify|verify} messages. * @function encode - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static - * @param {flyteidl.core.INodeExecutionIdentifier} message NodeExecutionIdentifier message or plain object to encode + * @param {flyteidl.core.IArtifactID} message ArtifactID message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionIdentifier.encode = function encode(message, writer) { + ArtifactID.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); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) + $root.flyteidl.core.ArtifactKey.encode(message.artifactKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.version != null && message.hasOwnProperty("version")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.version); + if (message.partitions != null && message.hasOwnProperty("partitions")) + $root.flyteidl.core.Partitions.encode(message.partitions, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionIdentifier message from the specified reader or buffer. + * Decodes an ArtifactID message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier + * @returns {flyteidl.core.ArtifactID} ArtifactID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionIdentifier.decode = function decode(reader, length) { + ArtifactID.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.core.NodeExecutionIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactID(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.nodeId = reader.string(); + message.artifactKey = $root.flyteidl.core.ArtifactKey.decode(reader, reader.uint32()); break; case 2: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.version = reader.string(); + break; + case 3: + message.partitions = $root.flyteidl.core.Partitions.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -921,50 +866,58 @@ }; /** - * Verifies a NodeExecutionIdentifier message. + * Verifies an ArtifactID message. * @function verify - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionIdentifier.verify = function verify(message) { + ArtifactID.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"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); + var properties = {}; + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) { + var error = $root.flyteidl.core.ArtifactKey.verify(message.artifactKey); if (error) - return "executionId." + error; + return "artifactKey." + error; + } + if (message.version != null && message.hasOwnProperty("version")) + if (!$util.isString(message.version)) + return "version: string expected"; + if (message.partitions != null && message.hasOwnProperty("partitions")) { + properties.dimensions = 1; + { + var error = $root.flyteidl.core.Partitions.verify(message.partitions); + if (error) + return "partitions." + error; + } } return null; }; - return NodeExecutionIdentifier; + return ArtifactID; })(); - core.TaskExecutionIdentifier = (function() { + core.ArtifactTag = (function() { /** - * Properties of a TaskExecutionIdentifier. + * Properties of an ArtifactTag. * @memberof flyteidl.core - * @interface ITaskExecutionIdentifier - * @property {flyteidl.core.IIdentifier|null} [taskId] TaskExecutionIdentifier taskId - * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionIdentifier nodeExecutionId - * @property {number|null} [retryAttempt] TaskExecutionIdentifier retryAttempt + * @interface IArtifactTag + * @property {flyteidl.core.IArtifactKey|null} [artifactKey] ArtifactTag artifactKey + * @property {flyteidl.core.ILabelValue|null} [value] ArtifactTag value */ /** - * Constructs a new TaskExecutionIdentifier. + * Constructs a new ArtifactTag. * @memberof flyteidl.core - * @classdesc Represents a TaskExecutionIdentifier. - * @implements ITaskExecutionIdentifier + * @classdesc Represents an ArtifactTag. + * @implements IArtifactTag * @constructor - * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IArtifactTag=} [properties] Properties to set */ - function TaskExecutionIdentifier(properties) { + function ArtifactTag(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -972,88 +925,75 @@ } /** - * TaskExecutionIdentifier taskId. - * @member {flyteidl.core.IIdentifier|null|undefined} taskId - * @memberof flyteidl.core.TaskExecutionIdentifier - * @instance - */ - TaskExecutionIdentifier.prototype.taskId = null; - - /** - * TaskExecutionIdentifier nodeExecutionId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId - * @memberof flyteidl.core.TaskExecutionIdentifier + * ArtifactTag artifactKey. + * @member {flyteidl.core.IArtifactKey|null|undefined} artifactKey + * @memberof flyteidl.core.ArtifactTag * @instance */ - TaskExecutionIdentifier.prototype.nodeExecutionId = null; + ArtifactTag.prototype.artifactKey = null; /** - * TaskExecutionIdentifier retryAttempt. - * @member {number} retryAttempt - * @memberof flyteidl.core.TaskExecutionIdentifier + * ArtifactTag value. + * @member {flyteidl.core.ILabelValue|null|undefined} value + * @memberof flyteidl.core.ArtifactTag * @instance */ - TaskExecutionIdentifier.prototype.retryAttempt = 0; + ArtifactTag.prototype.value = null; /** - * Creates a new TaskExecutionIdentifier instance using the specified properties. + * Creates a new ArtifactTag instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static - * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier instance + * @param {flyteidl.core.IArtifactTag=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactTag} ArtifactTag instance */ - TaskExecutionIdentifier.create = function create(properties) { - return new TaskExecutionIdentifier(properties); + ArtifactTag.create = function create(properties) { + return new ArtifactTag(properties); }; /** - * Encodes the specified TaskExecutionIdentifier message. Does not implicitly {@link flyteidl.core.TaskExecutionIdentifier.verify|verify} messages. + * Encodes the specified ArtifactTag message. Does not implicitly {@link flyteidl.core.ArtifactTag.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static - * @param {flyteidl.core.ITaskExecutionIdentifier} message TaskExecutionIdentifier message or plain object to encode + * @param {flyteidl.core.IArtifactTag} message ArtifactTag message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionIdentifier.encode = function encode(message, writer) { + ArtifactTag.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.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, 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.artifactKey != null && message.hasOwnProperty("artifactKey")) + $root.flyteidl.core.ArtifactKey.encode(message.artifactKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + $root.flyteidl.core.LabelValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionIdentifier message from the specified reader or buffer. + * Decodes an ArtifactTag message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier + * @returns {flyteidl.core.ArtifactTag} ArtifactTag * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionIdentifier.decode = function decode(reader, length) { + ArtifactTag.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.core.TaskExecutionIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactTag(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.artifactKey = $root.flyteidl.core.ArtifactKey.decode(reader, reader.uint32()); break; case 2: - message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 3: - message.retryAttempt = reader.uint32(); + message.value = $root.flyteidl.core.LabelValue.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -1064,54 +1004,53 @@ }; /** - * Verifies a TaskExecutionIdentifier message. + * Verifies an ArtifactTag message. * @function verify - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionIdentifier.verify = function verify(message) { + ArtifactTag.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.taskId != null && message.hasOwnProperty("taskId")) { - var error = $root.flyteidl.core.Identifier.verify(message.taskId); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) { + var error = $root.flyteidl.core.ArtifactKey.verify(message.artifactKey); if (error) - return "taskId." + error; + return "artifactKey." + error; } - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.LabelValue.verify(message.value); if (error) - return "nodeExecutionId." + error; + return "value." + error; } - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - if (!$util.isInteger(message.retryAttempt)) - return "retryAttempt: integer expected"; return null; }; - return TaskExecutionIdentifier; + return ArtifactTag; })(); - core.SignalIdentifier = (function() { + core.ArtifactQuery = (function() { /** - * Properties of a SignalIdentifier. + * Properties of an ArtifactQuery. * @memberof flyteidl.core - * @interface ISignalIdentifier - * @property {string|null} [signalId] SignalIdentifier signalId - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] SignalIdentifier executionId + * @interface IArtifactQuery + * @property {flyteidl.core.IArtifactID|null} [artifactId] ArtifactQuery artifactId + * @property {flyteidl.core.IArtifactTag|null} [artifactTag] ArtifactQuery artifactTag + * @property {string|null} [uri] ArtifactQuery uri + * @property {flyteidl.core.IArtifactBindingData|null} [binding] ArtifactQuery binding */ /** - * Constructs a new SignalIdentifier. + * Constructs a new ArtifactQuery. * @memberof flyteidl.core - * @classdesc Represents a SignalIdentifier. - * @implements ISignalIdentifier + * @classdesc Represents an ArtifactQuery. + * @implements IArtifactQuery * @constructor - * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IArtifactQuery=} [properties] Properties to set */ - function SignalIdentifier(properties) { + function ArtifactQuery(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1119,75 +1058,115 @@ } /** - * SignalIdentifier signalId. - * @member {string} signalId - * @memberof flyteidl.core.SignalIdentifier + * ArtifactQuery artifactId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactId + * @memberof flyteidl.core.ArtifactQuery * @instance */ - SignalIdentifier.prototype.signalId = ""; + ArtifactQuery.prototype.artifactId = null; /** - * SignalIdentifier executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.core.SignalIdentifier + * ArtifactQuery artifactTag. + * @member {flyteidl.core.IArtifactTag|null|undefined} artifactTag + * @memberof flyteidl.core.ArtifactQuery * @instance */ - SignalIdentifier.prototype.executionId = null; + ArtifactQuery.prototype.artifactTag = null; /** - * Creates a new SignalIdentifier instance using the specified properties. + * ArtifactQuery uri. + * @member {string} uri + * @memberof flyteidl.core.ArtifactQuery + * @instance + */ + ArtifactQuery.prototype.uri = ""; + + /** + * ArtifactQuery binding. + * @member {flyteidl.core.IArtifactBindingData|null|undefined} binding + * @memberof flyteidl.core.ArtifactQuery + * @instance + */ + ArtifactQuery.prototype.binding = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ArtifactQuery identifier. + * @member {"artifactId"|"artifactTag"|"uri"|"binding"|undefined} identifier + * @memberof flyteidl.core.ArtifactQuery + * @instance + */ + Object.defineProperty(ArtifactQuery.prototype, "identifier", { + get: $util.oneOfGetter($oneOfFields = ["artifactId", "artifactTag", "uri", "binding"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ArtifactQuery instance using the specified properties. * @function create - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static - * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier instance + * @param {flyteidl.core.IArtifactQuery=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactQuery} ArtifactQuery instance */ - SignalIdentifier.create = function create(properties) { - return new SignalIdentifier(properties); + ArtifactQuery.create = function create(properties) { + return new ArtifactQuery(properties); }; /** - * Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages. + * Encodes the specified ArtifactQuery message. Does not implicitly {@link flyteidl.core.ArtifactQuery.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static - * @param {flyteidl.core.ISignalIdentifier} message SignalIdentifier message or plain object to encode + * @param {flyteidl.core.IArtifactQuery} message ArtifactQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalIdentifier.encode = function encode(message, writer) { + ArtifactQuery.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signalId != null && message.hasOwnProperty("signalId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) + $root.flyteidl.core.ArtifactTag.encode(message.artifactTag, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); + if (message.binding != null && message.hasOwnProperty("binding")) + $root.flyteidl.core.ArtifactBindingData.encode(message.binding, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a SignalIdentifier message from the specified reader or buffer. + * Decodes an ArtifactQuery message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier + * @returns {flyteidl.core.ArtifactQuery} ArtifactQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalIdentifier.decode = function decode(reader, length) { + ArtifactQuery.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.core.SignalIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactQuery(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.signalId = reader.string(); + message.artifactId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); break; case 2: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.artifactTag = $root.flyteidl.core.ArtifactTag.decode(reader, reader.uint32()); + break; + case 3: + message.uri = reader.string(); + break; + case 4: + message.binding = $root.flyteidl.core.ArtifactBindingData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -1198,51 +1177,78 @@ }; /** - * Verifies a SignalIdentifier message. + * Verifies an ArtifactQuery message. * @function verify - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalIdentifier.verify = function verify(message) { + ArtifactQuery.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signalId != null && message.hasOwnProperty("signalId")) - if (!$util.isString(message.signalId)) - return "signalId: string expected"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); - if (error) - return "executionId." + error; + var properties = {}; + if (message.artifactId != null && message.hasOwnProperty("artifactId")) { + properties.identifier = 1; + { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactId); + if (error) + return "artifactId." + error; + } + } + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { + if (properties.identifier === 1) + return "identifier: multiple values"; + properties.identifier = 1; + { + var error = $root.flyteidl.core.ArtifactTag.verify(message.artifactTag); + if (error) + return "artifactTag." + error; + } + } + if (message.uri != null && message.hasOwnProperty("uri")) { + if (properties.identifier === 1) + return "identifier: multiple values"; + properties.identifier = 1; + if (!$util.isString(message.uri)) + return "uri: string expected"; + } + if (message.binding != null && message.hasOwnProperty("binding")) { + if (properties.identifier === 1) + return "identifier: multiple values"; + properties.identifier = 1; + { + var error = $root.flyteidl.core.ArtifactBindingData.verify(message.binding); + if (error) + return "binding." + error; + } } return null; }; - return SignalIdentifier; + return ArtifactQuery; })(); - core.ConnectionSet = (function() { + core.Trigger = (function() { /** - * Properties of a ConnectionSet. + * Properties of a Trigger. * @memberof flyteidl.core - * @interface IConnectionSet - * @property {Object.|null} [downstream] ConnectionSet downstream - * @property {Object.|null} [upstream] ConnectionSet upstream + * @interface ITrigger + * @property {flyteidl.core.IIdentifier|null} [triggerId] Trigger triggerId + * @property {Array.|null} [triggers] Trigger triggers */ /** - * Constructs a new ConnectionSet. + * Constructs a new Trigger. * @memberof flyteidl.core - * @classdesc Represents a ConnectionSet. - * @implements IConnectionSet + * @classdesc Represents a Trigger. + * @implements ITrigger * @constructor - * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set + * @param {flyteidl.core.ITrigger=} [properties] Properties to set */ - function ConnectionSet(properties) { - this.downstream = {}; - this.upstream = {}; + function Trigger(properties) { + this.triggers = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1250,91 +1256,78 @@ } /** - * ConnectionSet downstream. - * @member {Object.} downstream - * @memberof flyteidl.core.ConnectionSet + * Trigger triggerId. + * @member {flyteidl.core.IIdentifier|null|undefined} triggerId + * @memberof flyteidl.core.Trigger * @instance */ - ConnectionSet.prototype.downstream = $util.emptyObject; + Trigger.prototype.triggerId = null; /** - * ConnectionSet upstream. - * @member {Object.} upstream - * @memberof flyteidl.core.ConnectionSet + * Trigger triggers. + * @member {Array.} triggers + * @memberof flyteidl.core.Trigger * @instance */ - ConnectionSet.prototype.upstream = $util.emptyObject; + Trigger.prototype.triggers = $util.emptyArray; /** - * Creates a new ConnectionSet instance using the specified properties. + * Creates a new Trigger instance using the specified properties. * @function create - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static - * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set - * @returns {flyteidl.core.ConnectionSet} ConnectionSet instance + * @param {flyteidl.core.ITrigger=} [properties] Properties to set + * @returns {flyteidl.core.Trigger} Trigger instance */ - ConnectionSet.create = function create(properties) { - return new ConnectionSet(properties); + Trigger.create = function create(properties) { + return new Trigger(properties); }; /** - * Encodes the specified ConnectionSet message. Does not implicitly {@link flyteidl.core.ConnectionSet.verify|verify} messages. + * Encodes the specified Trigger message. Does not implicitly {@link flyteidl.core.Trigger.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static - * @param {flyteidl.core.IConnectionSet} message ConnectionSet message or plain object to encode + * @param {flyteidl.core.ITrigger} message Trigger message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ConnectionSet.encode = function encode(message, writer) { + Trigger.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.downstream != null && message.hasOwnProperty("downstream")) - for (var keys = Object.keys(message.downstream), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.ConnectionSet.IdList.encode(message.downstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } - if (message.upstream != null && message.hasOwnProperty("upstream")) - for (var keys = Object.keys(message.upstream), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.ConnectionSet.IdList.encode(message.upstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } + if (message.triggerId != null && message.hasOwnProperty("triggerId")) + $root.flyteidl.core.Identifier.encode(message.triggerId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.triggers != null && message.triggers.length) + for (var i = 0; i < message.triggers.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.triggers[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ConnectionSet message from the specified reader or buffer. + * Decodes a Trigger message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ConnectionSet} ConnectionSet + * @returns {flyteidl.core.Trigger} Trigger * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ConnectionSet.decode = function decode(reader, length) { + Trigger.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.core.ConnectionSet(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Trigger(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 7: - reader.skip().pos++; - if (message.downstream === $util.emptyObject) - message.downstream = {}; - key = reader.string(); - reader.pos++; - message.downstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); + case 1: + message.triggerId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; - case 8: - reader.skip().pos++; - if (message.upstream === $util.emptyObject) - message.upstream = {}; - key = reader.string(); - reader.pos++; - message.upstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); + case 2: + if (!(message.triggers && message.triggers.length)) + message.triggers = []; + message.triggers.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1345,179 +1338,78 @@ }; /** - * Verifies a ConnectionSet message. + * Verifies a Trigger message. * @function verify - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ConnectionSet.verify = function verify(message) { + Trigger.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.downstream != null && message.hasOwnProperty("downstream")) { - if (!$util.isObject(message.downstream)) - return "downstream: object expected"; - var key = Object.keys(message.downstream); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.downstream[key[i]]); - if (error) - return "downstream." + error; - } + if (message.triggerId != null && message.hasOwnProperty("triggerId")) { + var error = $root.flyteidl.core.Identifier.verify(message.triggerId); + if (error) + return "triggerId." + error; } - if (message.upstream != null && message.hasOwnProperty("upstream")) { - if (!$util.isObject(message.upstream)) - return "upstream: object expected"; - var key = Object.keys(message.upstream); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.upstream[key[i]]); + if (message.triggers != null && message.hasOwnProperty("triggers")) { + if (!Array.isArray(message.triggers)) + return "triggers: array expected"; + for (var i = 0; i < message.triggers.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.triggers[i]); if (error) - return "upstream." + error; + return "triggers." + error; } } return null; }; - ConnectionSet.IdList = (function() { - - /** - * Properties of an IdList. - * @memberof flyteidl.core.ConnectionSet - * @interface IIdList - * @property {Array.|null} [ids] IdList ids - */ - - /** - * Constructs a new IdList. - * @memberof flyteidl.core.ConnectionSet - * @classdesc Represents an IdList. - * @implements IIdList - * @constructor - * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set - */ - function IdList(properties) { - this.ids = []; - 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]]; - } - - /** - * IdList ids. - * @member {Array.} ids - * @memberof flyteidl.core.ConnectionSet.IdList - * @instance - */ - IdList.prototype.ids = $util.emptyArray; - - /** - * Creates a new IdList instance using the specified properties. - * @function create - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set - * @returns {flyteidl.core.ConnectionSet.IdList} IdList instance - */ - IdList.create = function create(properties) { - return new IdList(properties); - }; - - /** - * Encodes the specified IdList message. Does not implicitly {@link flyteidl.core.ConnectionSet.IdList.verify|verify} messages. - * @function encode - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {flyteidl.core.ConnectionSet.IIdList} message IdList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IdList.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.ids != null && message.ids.length) - for (var i = 0; i < message.ids.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.ids[i]); - return writer; - }; - - /** - * Decodes an IdList message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ConnectionSet.IdList} IdList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IdList.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.core.ConnectionSet.IdList(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (!(message.ids && message.ids.length)) - message.ids = []; - message.ids.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies an IdList message. - * @function verify - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IdList.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.ids != null && message.hasOwnProperty("ids")) { - if (!Array.isArray(message.ids)) - return "ids: array expected"; - for (var i = 0; i < message.ids.length; ++i) - if (!$util.isString(message.ids[i])) - return "ids: string[] expected"; - } - return null; - }; - - return IdList; - })(); + return Trigger; + })(); - return ConnectionSet; + /** + * ResourceType enum. + * @name flyteidl.core.ResourceType + * @enum {string} + * @property {number} UNSPECIFIED=0 UNSPECIFIED value + * @property {number} TASK=1 TASK value + * @property {number} WORKFLOW=2 WORKFLOW value + * @property {number} LAUNCH_PLAN=3 LAUNCH_PLAN value + * @property {number} DATASET=4 DATASET value + */ + core.ResourceType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNSPECIFIED"] = 0; + values[valuesById[1] = "TASK"] = 1; + values[valuesById[2] = "WORKFLOW"] = 2; + values[valuesById[3] = "LAUNCH_PLAN"] = 3; + values[valuesById[4] = "DATASET"] = 4; + return values; })(); - core.CompiledWorkflow = (function() { + core.Identifier = (function() { /** - * Properties of a CompiledWorkflow. + * Properties of an Identifier. * @memberof flyteidl.core - * @interface ICompiledWorkflow - * @property {flyteidl.core.IWorkflowTemplate|null} [template] CompiledWorkflow template - * @property {flyteidl.core.IConnectionSet|null} [connections] CompiledWorkflow connections + * @interface IIdentifier + * @property {flyteidl.core.ResourceType|null} [resourceType] Identifier resourceType + * @property {string|null} [project] Identifier project + * @property {string|null} [domain] Identifier domain + * @property {string|null} [name] Identifier name + * @property {string|null} [version] Identifier version */ /** - * Constructs a new CompiledWorkflow. + * Constructs a new Identifier. * @memberof flyteidl.core - * @classdesc Represents a CompiledWorkflow. - * @implements ICompiledWorkflow + * @classdesc Represents an Identifier. + * @implements IIdentifier * @constructor - * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set + * @param {flyteidl.core.IIdentifier=} [properties] Properties to set */ - function CompiledWorkflow(properties) { + function Identifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1525,75 +1417,114 @@ } /** - * CompiledWorkflow template. - * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template - * @memberof flyteidl.core.CompiledWorkflow + * Identifier resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.core.Identifier * @instance */ - CompiledWorkflow.prototype.template = null; + Identifier.prototype.resourceType = 0; /** - * CompiledWorkflow connections. - * @member {flyteidl.core.IConnectionSet|null|undefined} connections - * @memberof flyteidl.core.CompiledWorkflow + * Identifier project. + * @member {string} project + * @memberof flyteidl.core.Identifier * @instance */ - CompiledWorkflow.prototype.connections = null; + Identifier.prototype.project = ""; /** - * Creates a new CompiledWorkflow instance using the specified properties. + * Identifier domain. + * @member {string} domain + * @memberof flyteidl.core.Identifier + * @instance + */ + Identifier.prototype.domain = ""; + + /** + * Identifier name. + * @member {string} name + * @memberof flyteidl.core.Identifier + * @instance + */ + Identifier.prototype.name = ""; + + /** + * Identifier version. + * @member {string} version + * @memberof flyteidl.core.Identifier + * @instance + */ + Identifier.prototype.version = ""; + + /** + * Creates a new Identifier instance using the specified properties. * @function create - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static - * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set - * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow instance + * @param {flyteidl.core.IIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.Identifier} Identifier instance */ - CompiledWorkflow.create = function create(properties) { - return new CompiledWorkflow(properties); + Identifier.create = function create(properties) { + return new Identifier(properties); }; /** - * Encodes the specified CompiledWorkflow message. Does not implicitly {@link flyteidl.core.CompiledWorkflow.verify|verify} messages. + * Encodes the specified Identifier message. Does not implicitly {@link flyteidl.core.Identifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static - * @param {flyteidl.core.ICompiledWorkflow} message CompiledWorkflow message or plain object to encode + * @param {flyteidl.core.IIdentifier} message Identifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CompiledWorkflow.encode = function encode(message, writer) { + Identifier.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.connections != null && message.hasOwnProperty("connections")) - $root.flyteidl.core.ConnectionSet.encode(message.connections, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + 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.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.name); + if (message.version != null && message.hasOwnProperty("version")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.version); return writer; }; /** - * Decodes a CompiledWorkflow message from the specified reader or buffer. + * Decodes an Identifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow + * @returns {flyteidl.core.Identifier} Identifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CompiledWorkflow.decode = function decode(reader, length) { + Identifier.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.core.CompiledWorkflow(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Identifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); break; case 2: - message.connections = $root.flyteidl.core.ConnectionSet.decode(reader, reader.uint32()); + message.project = reader.string(); + break; + case 3: + message.domain = reader.string(); + break; + case 4: + message.name = reader.string(); + break; + case 5: + message.version = reader.string(); break; default: reader.skipType(tag & 7); @@ -1604,50 +1535,65 @@ }; /** - * Verifies a CompiledWorkflow message. + * Verifies an Identifier message. * @function verify - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CompiledWorkflow.verify = function verify(message) { + Identifier.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.connections != null && message.hasOwnProperty("connections")) { - var error = $root.flyteidl.core.ConnectionSet.verify(message.connections); - if (error) - return "connections." + error; - } + 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.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.version != null && message.hasOwnProperty("version")) + if (!$util.isString(message.version)) + return "version: string expected"; return null; }; - return CompiledWorkflow; + return Identifier; })(); - core.CompiledTask = (function() { + core.WorkflowExecutionIdentifier = (function() { /** - * Properties of a CompiledTask. + * Properties of a WorkflowExecutionIdentifier. * @memberof flyteidl.core - * @interface ICompiledTask - * @property {flyteidl.core.ITaskTemplate|null} [template] CompiledTask template + * @interface IWorkflowExecutionIdentifier + * @property {string|null} [project] WorkflowExecutionIdentifier project + * @property {string|null} [domain] WorkflowExecutionIdentifier domain + * @property {string|null} [name] WorkflowExecutionIdentifier name */ /** - * Constructs a new CompiledTask. + * Constructs a new WorkflowExecutionIdentifier. * @memberof flyteidl.core - * @classdesc Represents a CompiledTask. - * @implements ICompiledTask + * @classdesc Represents a WorkflowExecutionIdentifier. + * @implements IWorkflowExecutionIdentifier * @constructor - * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set */ - function CompiledTask(properties) { + function WorkflowExecutionIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1655,62 +1601,88 @@ } /** - * CompiledTask template. - * @member {flyteidl.core.ITaskTemplate|null|undefined} template - * @memberof flyteidl.core.CompiledTask + * WorkflowExecutionIdentifier project. + * @member {string} project + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @instance */ - CompiledTask.prototype.template = null; + WorkflowExecutionIdentifier.prototype.project = ""; /** - * Creates a new CompiledTask instance using the specified properties. + * WorkflowExecutionIdentifier domain. + * @member {string} domain + * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @instance + */ + WorkflowExecutionIdentifier.prototype.domain = ""; + + /** + * WorkflowExecutionIdentifier name. + * @member {string} name + * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @instance + */ + WorkflowExecutionIdentifier.prototype.name = ""; + + /** + * Creates a new WorkflowExecutionIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set - * @returns {flyteidl.core.CompiledTask} CompiledTask instance + * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier instance */ - CompiledTask.create = function create(properties) { - return new CompiledTask(properties); + WorkflowExecutionIdentifier.create = function create(properties) { + return new WorkflowExecutionIdentifier(properties); }; /** - * Encodes the specified CompiledTask message. Does not implicitly {@link flyteidl.core.CompiledTask.verify|verify} messages. + * Encodes the specified WorkflowExecutionIdentifier message. Does not implicitly {@link flyteidl.core.WorkflowExecutionIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledTask} message CompiledTask message or plain object to encode + * @param {flyteidl.core.IWorkflowExecutionIdentifier} message WorkflowExecutionIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CompiledTask.encode = function encode(message, writer) { + WorkflowExecutionIdentifier.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.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 4, wireType 2 =*/34).string(message.name); return writer; }; /** - * Decodes a CompiledTask message from the specified reader or buffer. + * Decodes a WorkflowExecutionIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CompiledTask} CompiledTask + * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CompiledTask.decode = function decode(reader, length) { + WorkflowExecutionIdentifier.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.core.CompiledTask(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowExecutionIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 4: + message.name = reader.string(); break; default: reader.skipType(tag & 7); @@ -1721,49 +1693,50 @@ }; /** - * Verifies a CompiledTask message. + * Verifies a WorkflowExecutionIdentifier message. * @function verify - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CompiledTask.verify = function verify(message) { + WorkflowExecutionIdentifier.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; - } + 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"; return null; }; - return CompiledTask; + return WorkflowExecutionIdentifier; })(); - core.CompiledWorkflowClosure = (function() { + core.NodeExecutionIdentifier = (function() { /** - * Properties of a CompiledWorkflowClosure. + * Properties of a NodeExecutionIdentifier. * @memberof flyteidl.core - * @interface ICompiledWorkflowClosure - * @property {flyteidl.core.ICompiledWorkflow|null} [primary] CompiledWorkflowClosure primary - * @property {Array.|null} [subWorkflows] CompiledWorkflowClosure subWorkflows - * @property {Array.|null} [tasks] CompiledWorkflowClosure tasks + * @interface INodeExecutionIdentifier + * @property {string|null} [nodeId] NodeExecutionIdentifier nodeId + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] NodeExecutionIdentifier executionId */ /** - * Constructs a new CompiledWorkflowClosure. + * Constructs a new NodeExecutionIdentifier. * @memberof flyteidl.core - * @classdesc Represents a CompiledWorkflowClosure. - * @implements ICompiledWorkflowClosure + * @classdesc Represents a NodeExecutionIdentifier. + * @implements INodeExecutionIdentifier * @constructor - * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set + * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set */ - function CompiledWorkflowClosure(properties) { - this.subWorkflows = []; - this.tasks = []; + function NodeExecutionIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1771,94 +1744,75 @@ } /** - * CompiledWorkflowClosure primary. - * @member {flyteidl.core.ICompiledWorkflow|null|undefined} primary - * @memberof flyteidl.core.CompiledWorkflowClosure - * @instance - */ - CompiledWorkflowClosure.prototype.primary = null; - - /** - * CompiledWorkflowClosure subWorkflows. - * @member {Array.} subWorkflows - * @memberof flyteidl.core.CompiledWorkflowClosure + * NodeExecutionIdentifier nodeId. + * @member {string} nodeId + * @memberof flyteidl.core.NodeExecutionIdentifier * @instance */ - CompiledWorkflowClosure.prototype.subWorkflows = $util.emptyArray; + NodeExecutionIdentifier.prototype.nodeId = ""; /** - * CompiledWorkflowClosure tasks. - * @member {Array.} tasks - * @memberof flyteidl.core.CompiledWorkflowClosure + * NodeExecutionIdentifier executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.core.NodeExecutionIdentifier * @instance */ - CompiledWorkflowClosure.prototype.tasks = $util.emptyArray; + NodeExecutionIdentifier.prototype.executionId = null; /** - * Creates a new CompiledWorkflowClosure instance using the specified properties. + * Creates a new NodeExecutionIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set - * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure instance + * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier instance */ - CompiledWorkflowClosure.create = function create(properties) { - return new CompiledWorkflowClosure(properties); + NodeExecutionIdentifier.create = function create(properties) { + return new NodeExecutionIdentifier(properties); }; /** - * Encodes the specified CompiledWorkflowClosure message. Does not implicitly {@link flyteidl.core.CompiledWorkflowClosure.verify|verify} messages. + * Encodes the specified NodeExecutionIdentifier message. Does not implicitly {@link flyteidl.core.NodeExecutionIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledWorkflowClosure} message CompiledWorkflowClosure message or plain object to encode + * @param {flyteidl.core.INodeExecutionIdentifier} message NodeExecutionIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CompiledWorkflowClosure.encode = function encode(message, writer) { + NodeExecutionIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.primary != null && message.hasOwnProperty("primary")) - $root.flyteidl.core.CompiledWorkflow.encode(message.primary, 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.CompiledWorkflow.encode(message.subWorkflows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.tasks != null && message.tasks.length) - for (var i = 0; i < message.tasks.length; ++i) - $root.flyteidl.core.CompiledTask.encode(message.tasks[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.nodeId); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a CompiledWorkflowClosure message from the specified reader or buffer. + * Decodes a NodeExecutionIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure + * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CompiledWorkflowClosure.decode = function decode(reader, length) { + NodeExecutionIdentifier.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.core.CompiledWorkflowClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeExecutionIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.primary = $root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32()); + message.nodeId = reader.string(); break; case 2: - if (!(message.subWorkflows && message.subWorkflows.length)) - message.subWorkflows = []; - message.subWorkflows.push($root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.core.CompiledTask.decode(reader, reader.uint32())); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -1869,64 +1823,50 @@ }; /** - * Verifies a CompiledWorkflowClosure message. + * Verifies a NodeExecutionIdentifier message. * @function verify - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CompiledWorkflowClosure.verify = function verify(message) { + NodeExecutionIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.primary != null && message.hasOwnProperty("primary")) { - var error = $root.flyteidl.core.CompiledWorkflow.verify(message.primary); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + if (!$util.isString(message.nodeId)) + return "nodeId: string expected"; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); if (error) - return "primary." + 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.CompiledWorkflow.verify(message.subWorkflows[i]); - if (error) - return "subWorkflows." + error; - } - } - 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.core.CompiledTask.verify(message.tasks[i]); - if (error) - return "tasks." + error; - } + return "executionId." + error; } return null; }; - return CompiledWorkflowClosure; + return NodeExecutionIdentifier; })(); - core.IfBlock = (function() { + core.TaskExecutionIdentifier = (function() { /** - * Properties of an IfBlock. + * Properties of a TaskExecutionIdentifier. * @memberof flyteidl.core - * @interface IIfBlock - * @property {flyteidl.core.IBooleanExpression|null} [condition] IfBlock condition - * @property {flyteidl.core.INode|null} [thenNode] IfBlock thenNode + * @interface ITaskExecutionIdentifier + * @property {flyteidl.core.IIdentifier|null} [taskId] TaskExecutionIdentifier taskId + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionIdentifier nodeExecutionId + * @property {number|null} [retryAttempt] TaskExecutionIdentifier retryAttempt */ /** - * Constructs a new IfBlock. + * Constructs a new TaskExecutionIdentifier. * @memberof flyteidl.core - * @classdesc Represents an IfBlock. - * @implements IIfBlock + * @classdesc Represents a TaskExecutionIdentifier. + * @implements ITaskExecutionIdentifier * @constructor - * @param {flyteidl.core.IIfBlock=} [properties] Properties to set + * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set */ - function IfBlock(properties) { + function TaskExecutionIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1934,75 +1874,88 @@ } /** - * IfBlock condition. - * @member {flyteidl.core.IBooleanExpression|null|undefined} condition - * @memberof flyteidl.core.IfBlock + * TaskExecutionIdentifier taskId. + * @member {flyteidl.core.IIdentifier|null|undefined} taskId + * @memberof flyteidl.core.TaskExecutionIdentifier * @instance */ - IfBlock.prototype.condition = null; + TaskExecutionIdentifier.prototype.taskId = null; /** - * IfBlock thenNode. - * @member {flyteidl.core.INode|null|undefined} thenNode - * @memberof flyteidl.core.IfBlock + * TaskExecutionIdentifier nodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId + * @memberof flyteidl.core.TaskExecutionIdentifier * @instance */ - IfBlock.prototype.thenNode = null; + TaskExecutionIdentifier.prototype.nodeExecutionId = null; /** - * Creates a new IfBlock instance using the specified properties. + * TaskExecutionIdentifier retryAttempt. + * @member {number} retryAttempt + * @memberof flyteidl.core.TaskExecutionIdentifier + * @instance + */ + TaskExecutionIdentifier.prototype.retryAttempt = 0; + + /** + * Creates a new TaskExecutionIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static - * @param {flyteidl.core.IIfBlock=} [properties] Properties to set - * @returns {flyteidl.core.IfBlock} IfBlock instance + * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier instance */ - IfBlock.create = function create(properties) { - return new IfBlock(properties); + TaskExecutionIdentifier.create = function create(properties) { + return new TaskExecutionIdentifier(properties); }; /** - * Encodes the specified IfBlock message. Does not implicitly {@link flyteidl.core.IfBlock.verify|verify} messages. + * Encodes the specified TaskExecutionIdentifier message. Does not implicitly {@link flyteidl.core.TaskExecutionIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static - * @param {flyteidl.core.IIfBlock} message IfBlock message or plain object to encode + * @param {flyteidl.core.ITaskExecutionIdentifier} message TaskExecutionIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - IfBlock.encode = function encode(message, writer) { + TaskExecutionIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.condition != null && message.hasOwnProperty("condition")) - $root.flyteidl.core.BooleanExpression.encode(message.condition, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.thenNode != null && message.hasOwnProperty("thenNode")) - $root.flyteidl.core.Node.encode(message.thenNode, writer.uint32(/* id 2, wireType 2 =*/18).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.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, 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); return writer; }; /** - * Decodes an IfBlock message from the specified reader or buffer. + * Decodes a TaskExecutionIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.IfBlock} IfBlock + * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - IfBlock.decode = function decode(reader, length) { + TaskExecutionIdentifier.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.core.IfBlock(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskExecutionIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.condition = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); + message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.thenNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); + message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 3: + message.retryAttempt = reader.uint32(); break; default: reader.skipType(tag & 7); @@ -2013,54 +1966,54 @@ }; /** - * Verifies an IfBlock message. + * Verifies a TaskExecutionIdentifier message. * @function verify - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - IfBlock.verify = function verify(message) { + TaskExecutionIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.condition != null && message.hasOwnProperty("condition")) { - var error = $root.flyteidl.core.BooleanExpression.verify(message.condition); + if (message.taskId != null && message.hasOwnProperty("taskId")) { + var error = $root.flyteidl.core.Identifier.verify(message.taskId); if (error) - return "condition." + error; + return "taskId." + error; } - if (message.thenNode != null && message.hasOwnProperty("thenNode")) { - var error = $root.flyteidl.core.Node.verify(message.thenNode); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); if (error) - return "thenNode." + error; + return "nodeExecutionId." + error; } + if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) + if (!$util.isInteger(message.retryAttempt)) + return "retryAttempt: integer expected"; return null; }; - return IfBlock; + return TaskExecutionIdentifier; })(); - core.IfElseBlock = (function() { + core.SignalIdentifier = (function() { /** - * Properties of an IfElseBlock. + * Properties of a SignalIdentifier. * @memberof flyteidl.core - * @interface IIfElseBlock - * @property {flyteidl.core.IIfBlock|null} ["case"] IfElseBlock case - * @property {Array.|null} [other] IfElseBlock other - * @property {flyteidl.core.INode|null} [elseNode] IfElseBlock elseNode - * @property {flyteidl.core.IError|null} [error] IfElseBlock error + * @interface ISignalIdentifier + * @property {string|null} [signalId] SignalIdentifier signalId + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] SignalIdentifier executionId */ /** - * Constructs a new IfElseBlock. + * Constructs a new SignalIdentifier. * @memberof flyteidl.core - * @classdesc Represents an IfElseBlock. - * @implements IIfElseBlock + * @classdesc Represents a SignalIdentifier. + * @implements ISignalIdentifier * @constructor - * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set + * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set */ - function IfElseBlock(properties) { - this.other = []; + function SignalIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2068,118 +2021,75 @@ } /** - * IfElseBlock case. - * @member {flyteidl.core.IIfBlock|null|undefined} case - * @memberof flyteidl.core.IfElseBlock - * @instance - */ - IfElseBlock.prototype["case"] = null; - - /** - * IfElseBlock other. - * @member {Array.} other - * @memberof flyteidl.core.IfElseBlock - * @instance - */ - IfElseBlock.prototype.other = $util.emptyArray; - - /** - * IfElseBlock elseNode. - * @member {flyteidl.core.INode|null|undefined} elseNode - * @memberof flyteidl.core.IfElseBlock - * @instance - */ - IfElseBlock.prototype.elseNode = null; - - /** - * IfElseBlock error. - * @member {flyteidl.core.IError|null|undefined} error - * @memberof flyteidl.core.IfElseBlock + * SignalIdentifier signalId. + * @member {string} signalId + * @memberof flyteidl.core.SignalIdentifier * @instance */ - IfElseBlock.prototype.error = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + SignalIdentifier.prototype.signalId = ""; /** - * IfElseBlock default. - * @member {"elseNode"|"error"|undefined} default_ - * @memberof flyteidl.core.IfElseBlock + * SignalIdentifier executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.core.SignalIdentifier * @instance */ - Object.defineProperty(IfElseBlock.prototype, "default", { - get: $util.oneOfGetter($oneOfFields = ["elseNode", "error"]), - set: $util.oneOfSetter($oneOfFields) - }); + SignalIdentifier.prototype.executionId = null; /** - * Creates a new IfElseBlock instance using the specified properties. + * Creates a new SignalIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static - * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set - * @returns {flyteidl.core.IfElseBlock} IfElseBlock instance + * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier instance */ - IfElseBlock.create = function create(properties) { - return new IfElseBlock(properties); + SignalIdentifier.create = function create(properties) { + return new SignalIdentifier(properties); }; /** - * Encodes the specified IfElseBlock message. Does not implicitly {@link flyteidl.core.IfElseBlock.verify|verify} messages. + * Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static - * @param {flyteidl.core.IIfElseBlock} message IfElseBlock message or plain object to encode + * @param {flyteidl.core.ISignalIdentifier} message SignalIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - IfElseBlock.encode = function encode(message, writer) { + SignalIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message["case"] != null && message.hasOwnProperty("case")) - $root.flyteidl.core.IfBlock.encode(message["case"], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.other != null && message.other.length) - for (var i = 0; i < message.other.length; ++i) - $root.flyteidl.core.IfBlock.encode(message.other[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.elseNode != null && message.hasOwnProperty("elseNode")) - $root.flyteidl.core.Node.encode(message.elseNode, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.signalId != null && message.hasOwnProperty("signalId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an IfElseBlock message from the specified reader or buffer. + * Decodes a SignalIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.IfElseBlock} IfElseBlock + * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - IfElseBlock.decode = function decode(reader, length) { + SignalIdentifier.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.core.IfElseBlock(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message["case"] = $root.flyteidl.core.IfBlock.decode(reader, reader.uint32()); + message.signalId = reader.string(); break; case 2: - if (!(message.other && message.other.length)) - message.other = []; - message.other.push($root.flyteidl.core.IfBlock.decode(reader, reader.uint32())); - break; - case 3: - message.elseNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); - break; - case 4: - message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2190,73 +2100,73 @@ }; /** - * Verifies an IfElseBlock message. + * Verifies a SignalIdentifier message. * @function verify - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - IfElseBlock.verify = function verify(message) { + SignalIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message["case"] != null && message.hasOwnProperty("case")) { - var error = $root.flyteidl.core.IfBlock.verify(message["case"]); + if (message.signalId != null && message.hasOwnProperty("signalId")) + if (!$util.isString(message.signalId)) + return "signalId: string expected"; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); if (error) - return "case." + error; - } - if (message.other != null && message.hasOwnProperty("other")) { - if (!Array.isArray(message.other)) - return "other: array expected"; - for (var i = 0; i < message.other.length; ++i) { - var error = $root.flyteidl.core.IfBlock.verify(message.other[i]); - if (error) - return "other." + error; - } - } - if (message.elseNode != null && message.hasOwnProperty("elseNode")) { - properties["default"] = 1; - { - var error = $root.flyteidl.core.Node.verify(message.elseNode); - if (error) - return "elseNode." + error; - } - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties["default"] === 1) - return "default: multiple values"; - properties["default"] = 1; - { - var error = $root.flyteidl.core.Error.verify(message.error); - if (error) - return "error." + error; - } + return "executionId." + error; } return null; }; - return IfElseBlock; + return SignalIdentifier; })(); - core.BranchNode = (function() { + /** + * CatalogCacheStatus enum. + * @name flyteidl.core.CatalogCacheStatus + * @enum {string} + * @property {number} CACHE_DISABLED=0 CACHE_DISABLED value + * @property {number} CACHE_MISS=1 CACHE_MISS value + * @property {number} CACHE_HIT=2 CACHE_HIT value + * @property {number} CACHE_POPULATED=3 CACHE_POPULATED value + * @property {number} CACHE_LOOKUP_FAILURE=4 CACHE_LOOKUP_FAILURE value + * @property {number} CACHE_PUT_FAILURE=5 CACHE_PUT_FAILURE value + * @property {number} CACHE_SKIPPED=6 CACHE_SKIPPED value + */ + core.CatalogCacheStatus = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "CACHE_DISABLED"] = 0; + values[valuesById[1] = "CACHE_MISS"] = 1; + values[valuesById[2] = "CACHE_HIT"] = 2; + values[valuesById[3] = "CACHE_POPULATED"] = 3; + values[valuesById[4] = "CACHE_LOOKUP_FAILURE"] = 4; + values[valuesById[5] = "CACHE_PUT_FAILURE"] = 5; + values[valuesById[6] = "CACHE_SKIPPED"] = 6; + return values; + })(); + + core.CatalogArtifactTag = (function() { /** - * Properties of a BranchNode. + * Properties of a CatalogArtifactTag. * @memberof flyteidl.core - * @interface IBranchNode - * @property {flyteidl.core.IIfElseBlock|null} [ifElse] BranchNode ifElse + * @interface ICatalogArtifactTag + * @property {string|null} [artifactId] CatalogArtifactTag artifactId + * @property {string|null} [name] CatalogArtifactTag name */ /** - * Constructs a new BranchNode. + * Constructs a new CatalogArtifactTag. * @memberof flyteidl.core - * @classdesc Represents a BranchNode. - * @implements IBranchNode + * @classdesc Represents a CatalogArtifactTag. + * @implements ICatalogArtifactTag * @constructor - * @param {flyteidl.core.IBranchNode=} [properties] Properties to set + * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set */ - function BranchNode(properties) { + function CatalogArtifactTag(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2264,62 +2174,75 @@ } /** - * BranchNode ifElse. - * @member {flyteidl.core.IIfElseBlock|null|undefined} ifElse - * @memberof flyteidl.core.BranchNode + * CatalogArtifactTag artifactId. + * @member {string} artifactId + * @memberof flyteidl.core.CatalogArtifactTag * @instance */ - BranchNode.prototype.ifElse = null; + CatalogArtifactTag.prototype.artifactId = ""; /** - * Creates a new BranchNode instance using the specified properties. + * CatalogArtifactTag name. + * @member {string} name + * @memberof flyteidl.core.CatalogArtifactTag + * @instance + */ + CatalogArtifactTag.prototype.name = ""; + + /** + * Creates a new CatalogArtifactTag instance using the specified properties. * @function create - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static - * @param {flyteidl.core.IBranchNode=} [properties] Properties to set - * @returns {flyteidl.core.BranchNode} BranchNode instance + * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set + * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag instance */ - BranchNode.create = function create(properties) { - return new BranchNode(properties); + CatalogArtifactTag.create = function create(properties) { + return new CatalogArtifactTag(properties); }; /** - * Encodes the specified BranchNode message. Does not implicitly {@link flyteidl.core.BranchNode.verify|verify} messages. + * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static - * @param {flyteidl.core.IBranchNode} message BranchNode message or plain object to encode + * @param {flyteidl.core.ICatalogArtifactTag} message CatalogArtifactTag message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BranchNode.encode = function encode(message, writer) { + CatalogArtifactTag.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.ifElse != null && message.hasOwnProperty("ifElse")) - $root.flyteidl.core.IfElseBlock.encode(message.ifElse, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.artifactId); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); return writer; }; /** - * Decodes a BranchNode message from the specified reader or buffer. + * Decodes a CatalogArtifactTag message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BranchNode} BranchNode + * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BranchNode.decode = function decode(reader, length) { + CatalogArtifactTag.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.core.BranchNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogArtifactTag(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.ifElse = $root.flyteidl.core.IfElseBlock.decode(reader, reader.uint32()); + message.artifactId = reader.string(); + break; + case 2: + message.name = reader.string(); break; default: reader.skipType(tag & 7); @@ -2330,46 +2253,48 @@ }; /** - * Verifies a BranchNode message. + * Verifies a CatalogArtifactTag message. * @function verify - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BranchNode.verify = function verify(message) { + CatalogArtifactTag.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.ifElse != null && message.hasOwnProperty("ifElse")) { - var error = $root.flyteidl.core.IfElseBlock.verify(message.ifElse); - if (error) - return "ifElse." + error; - } + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + if (!$util.isString(message.artifactId)) + return "artifactId: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; return null; }; - return BranchNode; + return CatalogArtifactTag; })(); - core.TaskNode = (function() { + core.CatalogMetadata = (function() { /** - * Properties of a TaskNode. + * Properties of a CatalogMetadata. * @memberof flyteidl.core - * @interface ITaskNode - * @property {flyteidl.core.IIdentifier|null} [referenceId] TaskNode referenceId - * @property {flyteidl.core.ITaskNodeOverrides|null} [overrides] TaskNode overrides + * @interface ICatalogMetadata + * @property {flyteidl.core.IIdentifier|null} [datasetId] CatalogMetadata datasetId + * @property {flyteidl.core.ICatalogArtifactTag|null} [artifactTag] CatalogMetadata artifactTag + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [sourceTaskExecution] CatalogMetadata sourceTaskExecution */ /** - * Constructs a new TaskNode. + * Constructs a new CatalogMetadata. * @memberof flyteidl.core - * @classdesc Represents a TaskNode. - * @implements ITaskNode + * @classdesc Represents a CatalogMetadata. + * @implements ICatalogMetadata * @constructor - * @param {flyteidl.core.ITaskNode=} [properties] Properties to set + * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set */ - function TaskNode(properties) { + function CatalogMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2377,89 +2302,102 @@ } /** - * TaskNode referenceId. - * @member {flyteidl.core.IIdentifier|null|undefined} referenceId - * @memberof flyteidl.core.TaskNode + * CatalogMetadata datasetId. + * @member {flyteidl.core.IIdentifier|null|undefined} datasetId + * @memberof flyteidl.core.CatalogMetadata * @instance */ - TaskNode.prototype.referenceId = null; + CatalogMetadata.prototype.datasetId = null; /** - * TaskNode overrides. - * @member {flyteidl.core.ITaskNodeOverrides|null|undefined} overrides - * @memberof flyteidl.core.TaskNode + * CatalogMetadata artifactTag. + * @member {flyteidl.core.ICatalogArtifactTag|null|undefined} artifactTag + * @memberof flyteidl.core.CatalogMetadata * @instance */ - TaskNode.prototype.overrides = null; + CatalogMetadata.prototype.artifactTag = null; + + /** + * CatalogMetadata sourceTaskExecution. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} sourceTaskExecution + * @memberof flyteidl.core.CatalogMetadata + * @instance + */ + CatalogMetadata.prototype.sourceTaskExecution = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * TaskNode reference. - * @member {"referenceId"|undefined} reference - * @memberof flyteidl.core.TaskNode + * CatalogMetadata sourceExecution. + * @member {"sourceTaskExecution"|undefined} sourceExecution + * @memberof flyteidl.core.CatalogMetadata * @instance */ - Object.defineProperty(TaskNode.prototype, "reference", { - get: $util.oneOfGetter($oneOfFields = ["referenceId"]), + Object.defineProperty(CatalogMetadata.prototype, "sourceExecution", { + get: $util.oneOfGetter($oneOfFields = ["sourceTaskExecution"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new TaskNode instance using the specified properties. + * Creates a new CatalogMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static - * @param {flyteidl.core.ITaskNode=} [properties] Properties to set - * @returns {flyteidl.core.TaskNode} TaskNode instance + * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set + * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata instance */ - TaskNode.create = function create(properties) { - return new TaskNode(properties); + CatalogMetadata.create = function create(properties) { + return new CatalogMetadata(properties); }; /** - * Encodes the specified TaskNode message. Does not implicitly {@link flyteidl.core.TaskNode.verify|verify} messages. + * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static - * @param {flyteidl.core.ITaskNode} message TaskNode message or plain object to encode + * @param {flyteidl.core.ICatalogMetadata} message CatalogMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskNode.encode = function encode(message, writer) { + CatalogMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.referenceId != null && message.hasOwnProperty("referenceId")) - $root.flyteidl.core.Identifier.encode(message.referenceId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.overrides != null && message.hasOwnProperty("overrides")) - $root.flyteidl.core.TaskNodeOverrides.encode(message.overrides, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.datasetId != null && message.hasOwnProperty("datasetId")) + $root.flyteidl.core.Identifier.encode(message.datasetId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) + $root.flyteidl.core.CatalogArtifactTag.encode(message.artifactTag, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.sourceTaskExecution, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a TaskNode message from the specified reader or buffer. + * Decodes a CatalogMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskNode} TaskNode + * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskNode.decode = function decode(reader, length) { + CatalogMetadata.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.core.TaskNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.referenceId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.datasetId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.overrides = $root.flyteidl.core.TaskNodeOverrides.decode(reader, reader.uint32()); + message.artifactTag = $root.flyteidl.core.CatalogArtifactTag.decode(reader, reader.uint32()); + break; + case 3: + message.sourceTaskExecution = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2470,55 +2408,58 @@ }; /** - * Verifies a TaskNode message. + * Verifies a CatalogMetadata message. * @function verify - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskNode.verify = function verify(message) { + CatalogMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.referenceId != null && message.hasOwnProperty("referenceId")) { - properties.reference = 1; + if (message.datasetId != null && message.hasOwnProperty("datasetId")) { + var error = $root.flyteidl.core.Identifier.verify(message.datasetId); + if (error) + return "datasetId." + error; + } + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { + var error = $root.flyteidl.core.CatalogArtifactTag.verify(message.artifactTag); + if (error) + return "artifactTag." + error; + } + if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) { + properties.sourceExecution = 1; { - var error = $root.flyteidl.core.Identifier.verify(message.referenceId); + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.sourceTaskExecution); if (error) - return "referenceId." + error; + return "sourceTaskExecution." + error; } } - if (message.overrides != null && message.hasOwnProperty("overrides")) { - var error = $root.flyteidl.core.TaskNodeOverrides.verify(message.overrides); - if (error) - return "overrides." + error; - } return null; }; - return TaskNode; + return CatalogMetadata; })(); - core.WorkflowNode = (function() { + core.CatalogReservation = (function() { /** - * Properties of a WorkflowNode. + * Properties of a CatalogReservation. * @memberof flyteidl.core - * @interface IWorkflowNode - * @property {flyteidl.core.IIdentifier|null} [launchplanRef] WorkflowNode launchplanRef - * @property {flyteidl.core.IIdentifier|null} [subWorkflowRef] WorkflowNode subWorkflowRef + * @interface ICatalogReservation */ /** - * Constructs a new WorkflowNode. + * Constructs a new CatalogReservation. * @memberof flyteidl.core - * @classdesc Represents a WorkflowNode. - * @implements IWorkflowNode + * @classdesc Represents a CatalogReservation. + * @implements ICatalogReservation * @constructor - * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set + * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set */ - function WorkflowNode(properties) { + function CatalogReservation(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2526,90 +2467,50 @@ } /** - * WorkflowNode launchplanRef. - * @member {flyteidl.core.IIdentifier|null|undefined} launchplanRef - * @memberof flyteidl.core.WorkflowNode - * @instance - */ - WorkflowNode.prototype.launchplanRef = null; - - /** - * WorkflowNode subWorkflowRef. - * @member {flyteidl.core.IIdentifier|null|undefined} subWorkflowRef - * @memberof flyteidl.core.WorkflowNode - * @instance - */ - WorkflowNode.prototype.subWorkflowRef = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * WorkflowNode reference. - * @member {"launchplanRef"|"subWorkflowRef"|undefined} reference - * @memberof flyteidl.core.WorkflowNode - * @instance - */ - Object.defineProperty(WorkflowNode.prototype, "reference", { - get: $util.oneOfGetter($oneOfFields = ["launchplanRef", "subWorkflowRef"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new WorkflowNode instance using the specified properties. + * Creates a new CatalogReservation instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static - * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowNode} WorkflowNode instance + * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set + * @returns {flyteidl.core.CatalogReservation} CatalogReservation instance */ - WorkflowNode.create = function create(properties) { - return new WorkflowNode(properties); + CatalogReservation.create = function create(properties) { + return new CatalogReservation(properties); }; /** - * Encodes the specified WorkflowNode message. Does not implicitly {@link flyteidl.core.WorkflowNode.verify|verify} messages. + * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static - * @param {flyteidl.core.IWorkflowNode} message WorkflowNode message or plain object to encode + * @param {flyteidl.core.ICatalogReservation} message CatalogReservation message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowNode.encode = function encode(message, writer) { + CatalogReservation.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) - $root.flyteidl.core.Identifier.encode(message.launchplanRef, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) - $root.flyteidl.core.Identifier.encode(message.subWorkflowRef, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowNode message from the specified reader or buffer. + * Decodes a CatalogReservation message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowNode} WorkflowNode + * @returns {flyteidl.core.CatalogReservation} CatalogReservation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowNode.decode = function decode(reader, length) { + CatalogReservation.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.core.WorkflowNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogReservation(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.launchplanRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.subWorkflowRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -2619,59 +2520,63 @@ }; /** - * Verifies a WorkflowNode message. + * Verifies a CatalogReservation message. * @function verify - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowNode.verify = function verify(message) { + CatalogReservation.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) { - properties.reference = 1; - { - var error = $root.flyteidl.core.Identifier.verify(message.launchplanRef); - if (error) - return "launchplanRef." + error; - } - } - if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) { - if (properties.reference === 1) - return "reference: multiple values"; - properties.reference = 1; - { - var error = $root.flyteidl.core.Identifier.verify(message.subWorkflowRef); - if (error) - return "subWorkflowRef." + error; - } - } return null; }; - return WorkflowNode; + /** + * Status enum. + * @name flyteidl.core.CatalogReservation.Status + * @enum {string} + * @property {number} RESERVATION_DISABLED=0 RESERVATION_DISABLED value + * @property {number} RESERVATION_ACQUIRED=1 RESERVATION_ACQUIRED value + * @property {number} RESERVATION_EXISTS=2 RESERVATION_EXISTS value + * @property {number} RESERVATION_RELEASED=3 RESERVATION_RELEASED value + * @property {number} RESERVATION_FAILURE=4 RESERVATION_FAILURE value + */ + CatalogReservation.Status = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "RESERVATION_DISABLED"] = 0; + values[valuesById[1] = "RESERVATION_ACQUIRED"] = 1; + values[valuesById[2] = "RESERVATION_EXISTS"] = 2; + values[valuesById[3] = "RESERVATION_RELEASED"] = 3; + values[valuesById[4] = "RESERVATION_FAILURE"] = 4; + return values; + })(); + + return CatalogReservation; })(); - core.ApproveCondition = (function() { + core.ConnectionSet = (function() { /** - * Properties of an ApproveCondition. + * Properties of a ConnectionSet. * @memberof flyteidl.core - * @interface IApproveCondition - * @property {string|null} [signalId] ApproveCondition signalId + * @interface IConnectionSet + * @property {Object.|null} [downstream] ConnectionSet downstream + * @property {Object.|null} [upstream] ConnectionSet upstream */ /** - * Constructs a new ApproveCondition. + * Constructs a new ConnectionSet. * @memberof flyteidl.core - * @classdesc Represents an ApproveCondition. - * @implements IApproveCondition + * @classdesc Represents a ConnectionSet. + * @implements IConnectionSet * @constructor - * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set + * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set */ - function ApproveCondition(properties) { + function ConnectionSet(properties) { + this.downstream = {}; + this.upstream = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2679,62 +2584,91 @@ } /** - * ApproveCondition signalId. - * @member {string} signalId - * @memberof flyteidl.core.ApproveCondition + * ConnectionSet downstream. + * @member {Object.} downstream + * @memberof flyteidl.core.ConnectionSet * @instance */ - ApproveCondition.prototype.signalId = ""; + ConnectionSet.prototype.downstream = $util.emptyObject; /** - * Creates a new ApproveCondition instance using the specified properties. + * ConnectionSet upstream. + * @member {Object.} upstream + * @memberof flyteidl.core.ConnectionSet + * @instance + */ + ConnectionSet.prototype.upstream = $util.emptyObject; + + /** + * Creates a new ConnectionSet instance using the specified properties. * @function create - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static - * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set - * @returns {flyteidl.core.ApproveCondition} ApproveCondition instance + * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set + * @returns {flyteidl.core.ConnectionSet} ConnectionSet instance */ - ApproveCondition.create = function create(properties) { - return new ApproveCondition(properties); + ConnectionSet.create = function create(properties) { + return new ConnectionSet(properties); }; /** - * Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages. + * Encodes the specified ConnectionSet message. Does not implicitly {@link flyteidl.core.ConnectionSet.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static - * @param {flyteidl.core.IApproveCondition} message ApproveCondition message or plain object to encode + * @param {flyteidl.core.IConnectionSet} message ConnectionSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ApproveCondition.encode = function encode(message, writer) { + ConnectionSet.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signalId != null && message.hasOwnProperty("signalId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); + if (message.downstream != null && message.hasOwnProperty("downstream")) + for (var keys = Object.keys(message.downstream), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.ConnectionSet.IdList.encode(message.downstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + if (message.upstream != null && message.hasOwnProperty("upstream")) + for (var keys = Object.keys(message.upstream), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.ConnectionSet.IdList.encode(message.upstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } return writer; }; /** - * Decodes an ApproveCondition message from the specified reader or buffer. + * Decodes a ConnectionSet message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ApproveCondition} ApproveCondition + * @returns {flyteidl.core.ConnectionSet} ConnectionSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ApproveCondition.decode = function decode(reader, length) { + ConnectionSet.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.core.ApproveCondition(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConnectionSet(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.signalId = reader.string(); + case 7: + reader.skip().pos++; + if (message.downstream === $util.emptyObject) + message.downstream = {}; + key = reader.string(); + reader.pos++; + message.downstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); + break; + case 8: + reader.skip().pos++; + if (message.upstream === $util.emptyObject) + message.upstream = {}; + key = reader.string(); + reader.pos++; + message.upstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2745,45 +2679,179 @@ }; /** - * Verifies an ApproveCondition message. + * Verifies a ConnectionSet message. * @function verify - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ApproveCondition.verify = function verify(message) { + ConnectionSet.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signalId != null && message.hasOwnProperty("signalId")) - if (!$util.isString(message.signalId)) - return "signalId: string expected"; + if (message.downstream != null && message.hasOwnProperty("downstream")) { + if (!$util.isObject(message.downstream)) + return "downstream: object expected"; + var key = Object.keys(message.downstream); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.downstream[key[i]]); + if (error) + return "downstream." + error; + } + } + if (message.upstream != null && message.hasOwnProperty("upstream")) { + if (!$util.isObject(message.upstream)) + return "upstream: object expected"; + var key = Object.keys(message.upstream); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.upstream[key[i]]); + if (error) + return "upstream." + error; + } + } return null; }; - return ApproveCondition; + ConnectionSet.IdList = (function() { + + /** + * Properties of an IdList. + * @memberof flyteidl.core.ConnectionSet + * @interface IIdList + * @property {Array.|null} [ids] IdList ids + */ + + /** + * Constructs a new IdList. + * @memberof flyteidl.core.ConnectionSet + * @classdesc Represents an IdList. + * @implements IIdList + * @constructor + * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set + */ + function IdList(properties) { + this.ids = []; + 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]]; + } + + /** + * IdList ids. + * @member {Array.} ids + * @memberof flyteidl.core.ConnectionSet.IdList + * @instance + */ + IdList.prototype.ids = $util.emptyArray; + + /** + * Creates a new IdList instance using the specified properties. + * @function create + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set + * @returns {flyteidl.core.ConnectionSet.IdList} IdList instance + */ + IdList.create = function create(properties) { + return new IdList(properties); + }; + + /** + * Encodes the specified IdList message. Does not implicitly {@link flyteidl.core.ConnectionSet.IdList.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {flyteidl.core.ConnectionSet.IIdList} message IdList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + IdList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.ids != null && message.ids.length) + for (var i = 0; i < message.ids.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.ids[i]); + return writer; + }; + + /** + * Decodes an IdList message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.ConnectionSet.IdList} IdList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + IdList.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.core.ConnectionSet.IdList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.ids && message.ids.length)) + message.ids = []; + message.ids.push(reader.string()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an IdList message. + * @function verify + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + IdList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ids != null && message.hasOwnProperty("ids")) { + if (!Array.isArray(message.ids)) + return "ids: array expected"; + for (var i = 0; i < message.ids.length; ++i) + if (!$util.isString(message.ids[i])) + return "ids: string[] expected"; + } + return null; + }; + + return IdList; + })(); + + return ConnectionSet; })(); - core.SignalCondition = (function() { + core.CompiledWorkflow = (function() { /** - * Properties of a SignalCondition. + * Properties of a CompiledWorkflow. * @memberof flyteidl.core - * @interface ISignalCondition - * @property {string|null} [signalId] SignalCondition signalId - * @property {flyteidl.core.ILiteralType|null} [type] SignalCondition type - * @property {string|null} [outputVariableName] SignalCondition outputVariableName + * @interface ICompiledWorkflow + * @property {flyteidl.core.IWorkflowTemplate|null} [template] CompiledWorkflow template + * @property {flyteidl.core.IConnectionSet|null} [connections] CompiledWorkflow connections */ /** - * Constructs a new SignalCondition. + * Constructs a new CompiledWorkflow. * @memberof flyteidl.core - * @classdesc Represents a SignalCondition. - * @implements ISignalCondition + * @classdesc Represents a CompiledWorkflow. + * @implements ICompiledWorkflow * @constructor - * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set + * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set */ - function SignalCondition(properties) { + function CompiledWorkflow(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2791,88 +2859,75 @@ } /** - * SignalCondition signalId. - * @member {string} signalId - * @memberof flyteidl.core.SignalCondition - * @instance - */ - SignalCondition.prototype.signalId = ""; - - /** - * SignalCondition type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.core.SignalCondition + * CompiledWorkflow template. + * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template + * @memberof flyteidl.core.CompiledWorkflow * @instance */ - SignalCondition.prototype.type = null; + CompiledWorkflow.prototype.template = null; /** - * SignalCondition outputVariableName. - * @member {string} outputVariableName - * @memberof flyteidl.core.SignalCondition + * CompiledWorkflow connections. + * @member {flyteidl.core.IConnectionSet|null|undefined} connections + * @memberof flyteidl.core.CompiledWorkflow * @instance */ - SignalCondition.prototype.outputVariableName = ""; + CompiledWorkflow.prototype.connections = null; /** - * Creates a new SignalCondition instance using the specified properties. + * Creates a new CompiledWorkflow instance using the specified properties. * @function create - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static - * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set - * @returns {flyteidl.core.SignalCondition} SignalCondition instance + * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set + * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow instance */ - SignalCondition.create = function create(properties) { - return new SignalCondition(properties); + CompiledWorkflow.create = function create(properties) { + return new CompiledWorkflow(properties); }; /** - * Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages. + * Encodes the specified CompiledWorkflow message. Does not implicitly {@link flyteidl.core.CompiledWorkflow.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static - * @param {flyteidl.core.ISignalCondition} message SignalCondition message or plain object to encode + * @param {flyteidl.core.ICompiledWorkflow} message CompiledWorkflow message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalCondition.encode = function encode(message, writer) { + CompiledWorkflow.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signalId != null && message.hasOwnProperty("signalId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); - 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.outputVariableName != null && message.hasOwnProperty("outputVariableName")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputVariableName); + 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.connections != null && message.hasOwnProperty("connections")) + $root.flyteidl.core.ConnectionSet.encode(message.connections, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a SignalCondition message from the specified reader or buffer. + * Decodes a CompiledWorkflow message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SignalCondition} SignalCondition + * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalCondition.decode = function decode(reader, length) { + CompiledWorkflow.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.core.SignalCondition(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledWorkflow(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.signalId = reader.string(); + message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); - break; - case 3: - message.outputVariableName = reader.string(); + message.connections = $root.flyteidl.core.ConnectionSet.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2883,51 +2938,50 @@ }; /** - * Verifies a SignalCondition message. + * Verifies a CompiledWorkflow message. * @function verify - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalCondition.verify = function verify(message) { + CompiledWorkflow.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signalId != null && message.hasOwnProperty("signalId")) - if (!$util.isString(message.signalId)) - return "signalId: string expected"; - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.LiteralType.verify(message.type); + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.WorkflowTemplate.verify(message.template); if (error) - return "type." + error; + return "template." + error; + } + if (message.connections != null && message.hasOwnProperty("connections")) { + var error = $root.flyteidl.core.ConnectionSet.verify(message.connections); + if (error) + return "connections." + error; } - if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName")) - if (!$util.isString(message.outputVariableName)) - return "outputVariableName: string expected"; return null; }; - return SignalCondition; + return CompiledWorkflow; })(); - core.SleepCondition = (function() { + core.CompiledTask = (function() { /** - * Properties of a SleepCondition. + * Properties of a CompiledTask. * @memberof flyteidl.core - * @interface ISleepCondition - * @property {google.protobuf.IDuration|null} [duration] SleepCondition duration + * @interface ICompiledTask + * @property {flyteidl.core.ITaskTemplate|null} [template] CompiledTask template */ /** - * Constructs a new SleepCondition. + * Constructs a new CompiledTask. * @memberof flyteidl.core - * @classdesc Represents a SleepCondition. - * @implements ISleepCondition + * @classdesc Represents a CompiledTask. + * @implements ICompiledTask * @constructor - * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set + * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set */ - function SleepCondition(properties) { + function CompiledTask(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2935,62 +2989,62 @@ } /** - * SleepCondition duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.core.SleepCondition + * CompiledTask template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.core.CompiledTask * @instance */ - SleepCondition.prototype.duration = null; + CompiledTask.prototype.template = null; /** - * Creates a new SleepCondition instance using the specified properties. + * Creates a new CompiledTask instance using the specified properties. * @function create - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static - * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set - * @returns {flyteidl.core.SleepCondition} SleepCondition instance + * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set + * @returns {flyteidl.core.CompiledTask} CompiledTask instance */ - SleepCondition.create = function create(properties) { - return new SleepCondition(properties); + CompiledTask.create = function create(properties) { + return new CompiledTask(properties); }; /** - * Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages. + * Encodes the specified CompiledTask message. Does not implicitly {@link flyteidl.core.CompiledTask.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static - * @param {flyteidl.core.ISleepCondition} message SleepCondition message or plain object to encode + * @param {flyteidl.core.ICompiledTask} message CompiledTask message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SleepCondition.encode = function encode(message, writer) { + CompiledTask.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a SleepCondition message from the specified reader or buffer. + * Decodes a CompiledTask message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SleepCondition} SleepCondition + * @returns {flyteidl.core.CompiledTask} CompiledTask * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SleepCondition.decode = function decode(reader, length) { + CompiledTask.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.core.SleepCondition(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledTask(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3001,47 +3055,49 @@ }; /** - * Verifies a SleepCondition message. + * Verifies a CompiledTask message. * @function verify - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SleepCondition.verify = function verify(message) { + CompiledTask.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.duration != null && message.hasOwnProperty("duration")) { - var error = $root.google.protobuf.Duration.verify(message.duration); + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.template); if (error) - return "duration." + error; + return "template." + error; } return null; }; - return SleepCondition; + return CompiledTask; })(); - core.GateNode = (function() { + core.CompiledWorkflowClosure = (function() { /** - * Properties of a GateNode. + * Properties of a CompiledWorkflowClosure. * @memberof flyteidl.core - * @interface IGateNode - * @property {flyteidl.core.IApproveCondition|null} [approve] GateNode approve - * @property {flyteidl.core.ISignalCondition|null} [signal] GateNode signal - * @property {flyteidl.core.ISleepCondition|null} [sleep] GateNode sleep + * @interface ICompiledWorkflowClosure + * @property {flyteidl.core.ICompiledWorkflow|null} [primary] CompiledWorkflowClosure primary + * @property {Array.|null} [subWorkflows] CompiledWorkflowClosure subWorkflows + * @property {Array.|null} [tasks] CompiledWorkflowClosure tasks */ /** - * Constructs a new GateNode. + * Constructs a new CompiledWorkflowClosure. * @memberof flyteidl.core - * @classdesc Represents a GateNode. - * @implements IGateNode + * @classdesc Represents a CompiledWorkflowClosure. + * @implements ICompiledWorkflowClosure * @constructor - * @param {flyteidl.core.IGateNode=} [properties] Properties to set + * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set */ - function GateNode(properties) { + function CompiledWorkflowClosure(properties) { + this.subWorkflows = []; + this.tasks = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3049,102 +3105,94 @@ } /** - * GateNode approve. - * @member {flyteidl.core.IApproveCondition|null|undefined} approve - * @memberof flyteidl.core.GateNode - * @instance - */ - GateNode.prototype.approve = null; - - /** - * GateNode signal. - * @member {flyteidl.core.ISignalCondition|null|undefined} signal - * @memberof flyteidl.core.GateNode + * CompiledWorkflowClosure primary. + * @member {flyteidl.core.ICompiledWorkflow|null|undefined} primary + * @memberof flyteidl.core.CompiledWorkflowClosure * @instance */ - GateNode.prototype.signal = null; + CompiledWorkflowClosure.prototype.primary = null; /** - * GateNode sleep. - * @member {flyteidl.core.ISleepCondition|null|undefined} sleep - * @memberof flyteidl.core.GateNode + * CompiledWorkflowClosure subWorkflows. + * @member {Array.} subWorkflows + * @memberof flyteidl.core.CompiledWorkflowClosure * @instance */ - GateNode.prototype.sleep = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + CompiledWorkflowClosure.prototype.subWorkflows = $util.emptyArray; /** - * GateNode condition. - * @member {"approve"|"signal"|"sleep"|undefined} condition - * @memberof flyteidl.core.GateNode + * CompiledWorkflowClosure tasks. + * @member {Array.} tasks + * @memberof flyteidl.core.CompiledWorkflowClosure * @instance */ - Object.defineProperty(GateNode.prototype, "condition", { - get: $util.oneOfGetter($oneOfFields = ["approve", "signal", "sleep"]), - set: $util.oneOfSetter($oneOfFields) - }); + CompiledWorkflowClosure.prototype.tasks = $util.emptyArray; /** - * Creates a new GateNode instance using the specified properties. + * Creates a new CompiledWorkflowClosure instance using the specified properties. * @function create - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static - * @param {flyteidl.core.IGateNode=} [properties] Properties to set - * @returns {flyteidl.core.GateNode} GateNode instance + * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set + * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure instance */ - GateNode.create = function create(properties) { - return new GateNode(properties); + CompiledWorkflowClosure.create = function create(properties) { + return new CompiledWorkflowClosure(properties); }; /** - * Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages. + * Encodes the specified CompiledWorkflowClosure message. Does not implicitly {@link flyteidl.core.CompiledWorkflowClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static - * @param {flyteidl.core.IGateNode} message GateNode message or plain object to encode + * @param {flyteidl.core.ICompiledWorkflowClosure} message CompiledWorkflowClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GateNode.encode = function encode(message, writer) { + CompiledWorkflowClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.approve != null && message.hasOwnProperty("approve")) - $root.flyteidl.core.ApproveCondition.encode(message.approve, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.signal != null && message.hasOwnProperty("signal")) - $root.flyteidl.core.SignalCondition.encode(message.signal, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.sleep != null && message.hasOwnProperty("sleep")) - $root.flyteidl.core.SleepCondition.encode(message.sleep, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.primary != null && message.hasOwnProperty("primary")) + $root.flyteidl.core.CompiledWorkflow.encode(message.primary, 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.CompiledWorkflow.encode(message.subWorkflows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tasks != null && message.tasks.length) + for (var i = 0; i < message.tasks.length; ++i) + $root.flyteidl.core.CompiledTask.encode(message.tasks[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a GateNode message from the specified reader or buffer. + * Decodes a CompiledWorkflowClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.GateNode} GateNode + * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GateNode.decode = function decode(reader, length) { + CompiledWorkflowClosure.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.core.GateNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledWorkflowClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.approve = $root.flyteidl.core.ApproveCondition.decode(reader, reader.uint32()); + message.primary = $root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32()); break; case 2: - message.signal = $root.flyteidl.core.SignalCondition.decode(reader, reader.uint32()); + if (!(message.subWorkflows && message.subWorkflows.length)) + message.subWorkflows = []; + message.subWorkflows.push($root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32())); break; case 3: - message.sleep = $root.flyteidl.core.SleepCondition.decode(reader, reader.uint32()); + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.core.CompiledTask.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -3155,72 +3203,64 @@ }; /** - * Verifies a GateNode message. + * Verifies a CompiledWorkflowClosure message. * @function verify - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GateNode.verify = function verify(message) { + CompiledWorkflowClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.approve != null && message.hasOwnProperty("approve")) { - properties.condition = 1; - { - var error = $root.flyteidl.core.ApproveCondition.verify(message.approve); - if (error) - return "approve." + error; - } + if (message.primary != null && message.hasOwnProperty("primary")) { + var error = $root.flyteidl.core.CompiledWorkflow.verify(message.primary); + if (error) + return "primary." + error; } - if (message.signal != null && message.hasOwnProperty("signal")) { - if (properties.condition === 1) - return "condition: multiple values"; - properties.condition = 1; - { - var error = $root.flyteidl.core.SignalCondition.verify(message.signal); + 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.CompiledWorkflow.verify(message.subWorkflows[i]); if (error) - return "signal." + error; + return "subWorkflows." + error; } } - if (message.sleep != null && message.hasOwnProperty("sleep")) { - if (properties.condition === 1) - return "condition: multiple values"; - properties.condition = 1; - { - var error = $root.flyteidl.core.SleepCondition.verify(message.sleep); + 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.core.CompiledTask.verify(message.tasks[i]); if (error) - return "sleep." + error; + return "tasks." + error; } } return null; }; - return GateNode; + return CompiledWorkflowClosure; })(); - core.ArrayNode = (function() { + core.IfBlock = (function() { /** - * Properties of an ArrayNode. + * Properties of an IfBlock. * @memberof flyteidl.core - * @interface IArrayNode - * @property {flyteidl.core.INode|null} [node] ArrayNode node - * @property {number|null} [parallelism] ArrayNode parallelism - * @property {number|null} [minSuccesses] ArrayNode minSuccesses - * @property {number|null} [minSuccessRatio] ArrayNode minSuccessRatio + * @interface IIfBlock + * @property {flyteidl.core.IBooleanExpression|null} [condition] IfBlock condition + * @property {flyteidl.core.INode|null} [thenNode] IfBlock thenNode */ /** - * Constructs a new ArrayNode. + * Constructs a new IfBlock. * @memberof flyteidl.core - * @classdesc Represents an ArrayNode. - * @implements IArrayNode + * @classdesc Represents an IfBlock. + * @implements IIfBlock * @constructor - * @param {flyteidl.core.IArrayNode=} [properties] Properties to set + * @param {flyteidl.core.IIfBlock=} [properties] Properties to set */ - function ArrayNode(properties) { + function IfBlock(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3228,115 +3268,75 @@ } /** - * ArrayNode node. - * @member {flyteidl.core.INode|null|undefined} node - * @memberof flyteidl.core.ArrayNode - * @instance - */ - ArrayNode.prototype.node = null; - - /** - * ArrayNode parallelism. - * @member {number} parallelism - * @memberof flyteidl.core.ArrayNode - * @instance - */ - ArrayNode.prototype.parallelism = 0; - - /** - * ArrayNode minSuccesses. - * @member {number} minSuccesses - * @memberof flyteidl.core.ArrayNode - * @instance - */ - ArrayNode.prototype.minSuccesses = 0; - - /** - * ArrayNode minSuccessRatio. - * @member {number} minSuccessRatio - * @memberof flyteidl.core.ArrayNode + * IfBlock condition. + * @member {flyteidl.core.IBooleanExpression|null|undefined} condition + * @memberof flyteidl.core.IfBlock * @instance */ - ArrayNode.prototype.minSuccessRatio = 0; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + IfBlock.prototype.condition = null; /** - * ArrayNode successCriteria. - * @member {"minSuccesses"|"minSuccessRatio"|undefined} successCriteria - * @memberof flyteidl.core.ArrayNode + * IfBlock thenNode. + * @member {flyteidl.core.INode|null|undefined} thenNode + * @memberof flyteidl.core.IfBlock * @instance */ - Object.defineProperty(ArrayNode.prototype, "successCriteria", { - get: $util.oneOfGetter($oneOfFields = ["minSuccesses", "minSuccessRatio"]), - set: $util.oneOfSetter($oneOfFields) - }); + IfBlock.prototype.thenNode = null; /** - * Creates a new ArrayNode instance using the specified properties. + * Creates a new IfBlock instance using the specified properties. * @function create - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static - * @param {flyteidl.core.IArrayNode=} [properties] Properties to set - * @returns {flyteidl.core.ArrayNode} ArrayNode instance + * @param {flyteidl.core.IIfBlock=} [properties] Properties to set + * @returns {flyteidl.core.IfBlock} IfBlock instance */ - ArrayNode.create = function create(properties) { - return new ArrayNode(properties); + IfBlock.create = function create(properties) { + return new IfBlock(properties); }; /** - * Encodes the specified ArrayNode message. Does not implicitly {@link flyteidl.core.ArrayNode.verify|verify} messages. + * Encodes the specified IfBlock message. Does not implicitly {@link flyteidl.core.IfBlock.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static - * @param {flyteidl.core.IArrayNode} message ArrayNode message or plain object to encode + * @param {flyteidl.core.IIfBlock} message IfBlock message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ArrayNode.encode = function encode(message, writer) { + IfBlock.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.node != null && message.hasOwnProperty("node")) - $root.flyteidl.core.Node.encode(message.node, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parallelism != null && message.hasOwnProperty("parallelism")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.parallelism); - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.minSuccesses); - if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) - writer.uint32(/* id 4, wireType 5 =*/37).float(message.minSuccessRatio); + if (message.condition != null && message.hasOwnProperty("condition")) + $root.flyteidl.core.BooleanExpression.encode(message.condition, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.thenNode != null && message.hasOwnProperty("thenNode")) + $root.flyteidl.core.Node.encode(message.thenNode, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an ArrayNode message from the specified reader or buffer. + * Decodes an IfBlock message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ArrayNode} ArrayNode + * @returns {flyteidl.core.IfBlock} IfBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ArrayNode.decode = function decode(reader, length) { + IfBlock.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.core.ArrayNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.IfBlock(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.node = $root.flyteidl.core.Node.decode(reader, reader.uint32()); + message.condition = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); break; case 2: - message.parallelism = reader.uint32(); - break; - case 3: - message.minSuccesses = reader.uint32(); - break; - case 4: - message.minSuccessRatio = reader.float(); + message.thenNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3347,64 +3347,54 @@ }; /** - * Verifies an ArrayNode message. + * Verifies an IfBlock message. * @function verify - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ArrayNode.verify = function verify(message) { + IfBlock.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.node != null && message.hasOwnProperty("node")) { - var error = $root.flyteidl.core.Node.verify(message.node); + if (message.condition != null && message.hasOwnProperty("condition")) { + var error = $root.flyteidl.core.BooleanExpression.verify(message.condition); if (error) - return "node." + error; - } - if (message.parallelism != null && message.hasOwnProperty("parallelism")) - if (!$util.isInteger(message.parallelism)) - return "parallelism: integer expected"; - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) { - properties.successCriteria = 1; - if (!$util.isInteger(message.minSuccesses)) - return "minSuccesses: integer expected"; + return "condition." + error; } - if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) { - if (properties.successCriteria === 1) - return "successCriteria: multiple values"; - properties.successCriteria = 1; - if (typeof message.minSuccessRatio !== "number") - return "minSuccessRatio: number expected"; + if (message.thenNode != null && message.hasOwnProperty("thenNode")) { + var error = $root.flyteidl.core.Node.verify(message.thenNode); + if (error) + return "thenNode." + error; } return null; }; - return ArrayNode; + return IfBlock; })(); - core.NodeMetadata = (function() { + core.IfElseBlock = (function() { /** - * Properties of a NodeMetadata. + * Properties of an IfElseBlock. * @memberof flyteidl.core - * @interface INodeMetadata - * @property {string|null} [name] NodeMetadata name - * @property {google.protobuf.IDuration|null} [timeout] NodeMetadata timeout - * @property {flyteidl.core.IRetryStrategy|null} [retries] NodeMetadata retries - * @property {boolean|null} [interruptible] NodeMetadata interruptible + * @interface IIfElseBlock + * @property {flyteidl.core.IIfBlock|null} ["case"] IfElseBlock case + * @property {Array.|null} [other] IfElseBlock other + * @property {flyteidl.core.INode|null} [elseNode] IfElseBlock elseNode + * @property {flyteidl.core.IError|null} [error] IfElseBlock error */ /** - * Constructs a new NodeMetadata. + * Constructs a new IfElseBlock. * @memberof flyteidl.core - * @classdesc Represents a NodeMetadata. - * @implements INodeMetadata + * @classdesc Represents an IfElseBlock. + * @implements IIfElseBlock * @constructor - * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set + * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set */ - function NodeMetadata(properties) { + function IfElseBlock(properties) { + this.other = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3412,115 +3402,118 @@ } /** - * NodeMetadata name. - * @member {string} name - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock case. + * @member {flyteidl.core.IIfBlock|null|undefined} case + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.name = ""; + IfElseBlock.prototype["case"] = null; /** - * NodeMetadata timeout. - * @member {google.protobuf.IDuration|null|undefined} timeout - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock other. + * @member {Array.} other + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.timeout = null; + IfElseBlock.prototype.other = $util.emptyArray; /** - * NodeMetadata retries. - * @member {flyteidl.core.IRetryStrategy|null|undefined} retries - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock elseNode. + * @member {flyteidl.core.INode|null|undefined} elseNode + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.retries = null; + IfElseBlock.prototype.elseNode = null; /** - * NodeMetadata interruptible. - * @member {boolean} interruptible - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock error. + * @member {flyteidl.core.IError|null|undefined} error + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.interruptible = false; + IfElseBlock.prototype.error = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * NodeMetadata interruptibleValue. - * @member {"interruptible"|undefined} interruptibleValue - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock default. + * @member {"elseNode"|"error"|undefined} default_ + * @memberof flyteidl.core.IfElseBlock * @instance */ - Object.defineProperty(NodeMetadata.prototype, "interruptibleValue", { - get: $util.oneOfGetter($oneOfFields = ["interruptible"]), + Object.defineProperty(IfElseBlock.prototype, "default", { + get: $util.oneOfGetter($oneOfFields = ["elseNode", "error"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new NodeMetadata instance using the specified properties. + * Creates a new IfElseBlock instance using the specified properties. * @function create - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static - * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set - * @returns {flyteidl.core.NodeMetadata} NodeMetadata instance + * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set + * @returns {flyteidl.core.IfElseBlock} IfElseBlock instance */ - NodeMetadata.create = function create(properties) { - return new NodeMetadata(properties); + IfElseBlock.create = function create(properties) { + return new IfElseBlock(properties); }; /** - * Encodes the specified NodeMetadata message. Does not implicitly {@link flyteidl.core.NodeMetadata.verify|verify} messages. + * Encodes the specified IfElseBlock message. Does not implicitly {@link flyteidl.core.IfElseBlock.verify|verify} messages. * @function encode - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static - * @param {flyteidl.core.INodeMetadata} message NodeMetadata message or plain object to encode + * @param {flyteidl.core.IIfElseBlock} message IfElseBlock message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeMetadata.encode = function encode(message, writer) { + IfElseBlock.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.timeout != null && message.hasOwnProperty("timeout")) - $root.google.protobuf.Duration.encode(message.timeout, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.retries != null && message.hasOwnProperty("retries")) - $root.flyteidl.core.RetryStrategy.encode(message.retries, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.interruptible); + if (message["case"] != null && message.hasOwnProperty("case")) + $root.flyteidl.core.IfBlock.encode(message["case"], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.other != null && message.other.length) + for (var i = 0; i < message.other.length; ++i) + $root.flyteidl.core.IfBlock.encode(message.other[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.elseNode != null && message.hasOwnProperty("elseNode")) + $root.flyteidl.core.Node.encode(message.elseNode, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a NodeMetadata message from the specified reader or buffer. + * Decodes an IfElseBlock message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.NodeMetadata} NodeMetadata + * @returns {flyteidl.core.IfElseBlock} IfElseBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeMetadata.decode = function decode(reader, length) { + IfElseBlock.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.core.NodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.IfElseBlock(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.name = reader.string(); + message["case"] = $root.flyteidl.core.IfBlock.decode(reader, reader.uint32()); break; - case 4: - message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + case 2: + if (!(message.other && message.other.length)) + message.other = []; + message.other.push($root.flyteidl.core.IfBlock.decode(reader, reader.uint32())); break; - case 5: - message.retries = $root.flyteidl.core.RetryStrategy.decode(reader, reader.uint32()); + case 3: + message.elseNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); break; - case 6: - message.interruptible = reader.bool(); + case 4: + message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3531,60 +3524,73 @@ }; /** - * Verifies a NodeMetadata message. + * Verifies an IfElseBlock message. * @function verify - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeMetadata.verify = function verify(message) { + IfElseBlock.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.timeout != null && message.hasOwnProperty("timeout")) { - var error = $root.google.protobuf.Duration.verify(message.timeout); + if (message["case"] != null && message.hasOwnProperty("case")) { + var error = $root.flyteidl.core.IfBlock.verify(message["case"]); if (error) - return "timeout." + error; + return "case." + error; } - if (message.retries != null && message.hasOwnProperty("retries")) { - var error = $root.flyteidl.core.RetryStrategy.verify(message.retries); - if (error) - return "retries." + error; + if (message.other != null && message.hasOwnProperty("other")) { + if (!Array.isArray(message.other)) + return "other: array expected"; + for (var i = 0; i < message.other.length; ++i) { + var error = $root.flyteidl.core.IfBlock.verify(message.other[i]); + if (error) + return "other." + error; + } } - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - properties.interruptibleValue = 1; - if (typeof message.interruptible !== "boolean") - return "interruptible: boolean expected"; + if (message.elseNode != null && message.hasOwnProperty("elseNode")) { + properties["default"] = 1; + { + var error = $root.flyteidl.core.Node.verify(message.elseNode); + if (error) + return "elseNode." + error; + } + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties["default"] === 1) + return "default: multiple values"; + properties["default"] = 1; + { + var error = $root.flyteidl.core.Error.verify(message.error); + if (error) + return "error." + error; + } } return null; }; - return NodeMetadata; + return IfElseBlock; })(); - core.Alias = (function() { + core.BranchNode = (function() { /** - * Properties of an Alias. + * Properties of a BranchNode. * @memberof flyteidl.core - * @interface IAlias - * @property {string|null} ["var"] Alias var - * @property {string|null} [alias] Alias alias + * @interface IBranchNode + * @property {flyteidl.core.IIfElseBlock|null} [ifElse] BranchNode ifElse */ /** - * Constructs a new Alias. + * Constructs a new BranchNode. * @memberof flyteidl.core - * @classdesc Represents an Alias. - * @implements IAlias + * @classdesc Represents a BranchNode. + * @implements IBranchNode * @constructor - * @param {flyteidl.core.IAlias=} [properties] Properties to set + * @param {flyteidl.core.IBranchNode=} [properties] Properties to set */ - function Alias(properties) { + function BranchNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3592,75 +3598,62 @@ } /** - * Alias var. - * @member {string} var - * @memberof flyteidl.core.Alias - * @instance - */ - Alias.prototype["var"] = ""; - - /** - * Alias alias. - * @member {string} alias - * @memberof flyteidl.core.Alias + * BranchNode ifElse. + * @member {flyteidl.core.IIfElseBlock|null|undefined} ifElse + * @memberof flyteidl.core.BranchNode * @instance */ - Alias.prototype.alias = ""; + BranchNode.prototype.ifElse = null; /** - * Creates a new Alias instance using the specified properties. + * Creates a new BranchNode instance using the specified properties. * @function create - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static - * @param {flyteidl.core.IAlias=} [properties] Properties to set - * @returns {flyteidl.core.Alias} Alias instance + * @param {flyteidl.core.IBranchNode=} [properties] Properties to set + * @returns {flyteidl.core.BranchNode} BranchNode instance */ - Alias.create = function create(properties) { - return new Alias(properties); + BranchNode.create = function create(properties) { + return new BranchNode(properties); }; /** - * Encodes the specified Alias message. Does not implicitly {@link flyteidl.core.Alias.verify|verify} messages. + * Encodes the specified BranchNode message. Does not implicitly {@link flyteidl.core.BranchNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static - * @param {flyteidl.core.IAlias} message Alias message or plain object to encode + * @param {flyteidl.core.IBranchNode} message BranchNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Alias.encode = function encode(message, writer) { + BranchNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message["var"] != null && message.hasOwnProperty("var")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); - if (message.alias != null && message.hasOwnProperty("alias")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.alias); + if (message.ifElse != null && message.hasOwnProperty("ifElse")) + $root.flyteidl.core.IfElseBlock.encode(message.ifElse, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an Alias message from the specified reader or buffer. + * Decodes a BranchNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Alias} Alias + * @returns {flyteidl.core.BranchNode} BranchNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Alias.decode = function decode(reader, length) { + BranchNode.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.core.Alias(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BranchNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message["var"] = reader.string(); - break; - case 2: - message.alias = reader.string(); + message.ifElse = $root.flyteidl.core.IfElseBlock.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3671,58 +3664,46 @@ }; /** - * Verifies an Alias message. + * Verifies a BranchNode message. * @function verify - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Alias.verify = function verify(message) { + BranchNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message["var"] != null && message.hasOwnProperty("var")) - if (!$util.isString(message["var"])) - return "var: string expected"; - if (message.alias != null && message.hasOwnProperty("alias")) - if (!$util.isString(message.alias)) - return "alias: string expected"; + if (message.ifElse != null && message.hasOwnProperty("ifElse")) { + var error = $root.flyteidl.core.IfElseBlock.verify(message.ifElse); + if (error) + return "ifElse." + error; + } return null; }; - return Alias; + return BranchNode; })(); - core.Node = (function() { + core.TaskNode = (function() { /** - * Properties of a Node. + * Properties of a TaskNode. * @memberof flyteidl.core - * @interface INode - * @property {string|null} [id] Node id - * @property {flyteidl.core.INodeMetadata|null} [metadata] Node metadata - * @property {Array.|null} [inputs] Node inputs - * @property {Array.|null} [upstreamNodeIds] Node upstreamNodeIds - * @property {Array.|null} [outputAliases] Node outputAliases - * @property {flyteidl.core.ITaskNode|null} [taskNode] Node taskNode - * @property {flyteidl.core.IWorkflowNode|null} [workflowNode] Node workflowNode - * @property {flyteidl.core.IBranchNode|null} [branchNode] Node branchNode - * @property {flyteidl.core.IGateNode|null} [gateNode] Node gateNode - * @property {flyteidl.core.IArrayNode|null} [arrayNode] Node arrayNode + * @interface ITaskNode + * @property {flyteidl.core.IIdentifier|null} [referenceId] TaskNode referenceId + * @property {flyteidl.core.ITaskNodeOverrides|null} [overrides] TaskNode overrides */ /** - * Constructs a new Node. + * Constructs a new TaskNode. * @memberof flyteidl.core - * @classdesc Represents a Node. - * @implements INode + * @classdesc Represents a TaskNode. + * @implements ITaskNode * @constructor - * @param {flyteidl.core.INode=} [properties] Properties to set + * @param {flyteidl.core.ITaskNode=} [properties] Properties to set */ - function Node(properties) { - this.inputs = []; - this.upstreamNodeIds = []; - this.outputAliases = []; + function TaskNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3730,202 +3711,89 @@ } /** - * Node id. - * @member {string} id - * @memberof flyteidl.core.Node + * TaskNode referenceId. + * @member {flyteidl.core.IIdentifier|null|undefined} referenceId + * @memberof flyteidl.core.TaskNode * @instance */ - Node.prototype.id = ""; + TaskNode.prototype.referenceId = null; /** - * Node metadata. - * @member {flyteidl.core.INodeMetadata|null|undefined} metadata - * @memberof flyteidl.core.Node + * TaskNode overrides. + * @member {flyteidl.core.ITaskNodeOverrides|null|undefined} overrides + * @memberof flyteidl.core.TaskNode * @instance */ - Node.prototype.metadata = null; - - /** - * Node inputs. - * @member {Array.} inputs - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.inputs = $util.emptyArray; - - /** - * Node upstreamNodeIds. - * @member {Array.} upstreamNodeIds - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.upstreamNodeIds = $util.emptyArray; - - /** - * Node outputAliases. - * @member {Array.} outputAliases - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.outputAliases = $util.emptyArray; - - /** - * Node taskNode. - * @member {flyteidl.core.ITaskNode|null|undefined} taskNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.taskNode = null; - - /** - * Node workflowNode. - * @member {flyteidl.core.IWorkflowNode|null|undefined} workflowNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.workflowNode = null; - - /** - * Node branchNode. - * @member {flyteidl.core.IBranchNode|null|undefined} branchNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.branchNode = null; - - /** - * Node gateNode. - * @member {flyteidl.core.IGateNode|null|undefined} gateNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.gateNode = null; - - /** - * Node arrayNode. - * @member {flyteidl.core.IArrayNode|null|undefined} arrayNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.arrayNode = null; + TaskNode.prototype.overrides = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * Node target. - * @member {"taskNode"|"workflowNode"|"branchNode"|"gateNode"|"arrayNode"|undefined} target - * @memberof flyteidl.core.Node + * TaskNode reference. + * @member {"referenceId"|undefined} reference + * @memberof flyteidl.core.TaskNode * @instance */ - Object.defineProperty(Node.prototype, "target", { - get: $util.oneOfGetter($oneOfFields = ["taskNode", "workflowNode", "branchNode", "gateNode", "arrayNode"]), + Object.defineProperty(TaskNode.prototype, "reference", { + get: $util.oneOfGetter($oneOfFields = ["referenceId"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Node instance using the specified properties. + * Creates a new TaskNode instance using the specified properties. * @function create - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static - * @param {flyteidl.core.INode=} [properties] Properties to set - * @returns {flyteidl.core.Node} Node instance + * @param {flyteidl.core.ITaskNode=} [properties] Properties to set + * @returns {flyteidl.core.TaskNode} TaskNode instance */ - Node.create = function create(properties) { - return new Node(properties); + TaskNode.create = function create(properties) { + return new TaskNode(properties); }; /** - * Encodes the specified Node message. Does not implicitly {@link flyteidl.core.Node.verify|verify} messages. + * Encodes the specified TaskNode message. Does not implicitly {@link flyteidl.core.TaskNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static - * @param {flyteidl.core.INode} message Node message or plain object to encode + * @param {flyteidl.core.ITaskNode} message TaskNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Node.encode = function encode(message, writer) { + TaskNode.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.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.NodeMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.inputs != null && message.inputs.length) - for (var i = 0; i < message.inputs.length; ++i) - $root.flyteidl.core.Binding.encode(message.inputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.upstreamNodeIds != null && message.upstreamNodeIds.length) - for (var i = 0; i < message.upstreamNodeIds.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.upstreamNodeIds[i]); - if (message.outputAliases != null && message.outputAliases.length) - for (var i = 0; i < message.outputAliases.length; ++i) - $root.flyteidl.core.Alias.encode(message.outputAliases[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.taskNode != null && message.hasOwnProperty("taskNode")) - $root.flyteidl.core.TaskNode.encode(message.taskNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) - $root.flyteidl.core.WorkflowNode.encode(message.workflowNode, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.branchNode != null && message.hasOwnProperty("branchNode")) - $root.flyteidl.core.BranchNode.encode(message.branchNode, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.gateNode != null && message.hasOwnProperty("gateNode")) - $root.flyteidl.core.GateNode.encode(message.gateNode, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) - $root.flyteidl.core.ArrayNode.encode(message.arrayNode, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.referenceId != null && message.hasOwnProperty("referenceId")) + $root.flyteidl.core.Identifier.encode(message.referenceId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.overrides != null && message.hasOwnProperty("overrides")) + $root.flyteidl.core.TaskNodeOverrides.encode(message.overrides, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Node message from the specified reader or buffer. + * Decodes a TaskNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Node} Node + * @returns {flyteidl.core.TaskNode} TaskNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Node.decode = function decode(reader, length) { + TaskNode.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.core.Node(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = reader.string(); + message.referenceId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.metadata = $root.flyteidl.core.NodeMetadata.decode(reader, reader.uint32()); - break; - case 3: - if (!(message.inputs && message.inputs.length)) - message.inputs = []; - message.inputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.upstreamNodeIds && message.upstreamNodeIds.length)) - message.upstreamNodeIds = []; - message.upstreamNodeIds.push(reader.string()); - break; - case 5: - if (!(message.outputAliases && message.outputAliases.length)) - message.outputAliases = []; - message.outputAliases.push($root.flyteidl.core.Alias.decode(reader, reader.uint32())); - break; - case 6: - message.taskNode = $root.flyteidl.core.TaskNode.decode(reader, reader.uint32()); - break; - case 7: - message.workflowNode = $root.flyteidl.core.WorkflowNode.decode(reader, reader.uint32()); - break; - case 8: - message.branchNode = $root.flyteidl.core.BranchNode.decode(reader, reader.uint32()); - break; - case 9: - message.gateNode = $root.flyteidl.core.GateNode.decode(reader, reader.uint32()); - break; - case 10: - message.arrayNode = $root.flyteidl.core.ArrayNode.decode(reader, reader.uint32()); + message.overrides = $root.flyteidl.core.TaskNodeOverrides.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3936,125 +3804,55 @@ }; /** - * Verifies a Node message. + * Verifies a TaskNode message. * @function verify - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Node.verify = function verify(message) { + TaskNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.NodeMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.inputs != null && message.hasOwnProperty("inputs")) { - if (!Array.isArray(message.inputs)) - return "inputs: array expected"; - for (var i = 0; i < message.inputs.length; ++i) { - var error = $root.flyteidl.core.Binding.verify(message.inputs[i]); - if (error) - return "inputs." + error; - } - } - if (message.upstreamNodeIds != null && message.hasOwnProperty("upstreamNodeIds")) { - if (!Array.isArray(message.upstreamNodeIds)) - return "upstreamNodeIds: array expected"; - for (var i = 0; i < message.upstreamNodeIds.length; ++i) - if (!$util.isString(message.upstreamNodeIds[i])) - return "upstreamNodeIds: string[] expected"; - } - if (message.outputAliases != null && message.hasOwnProperty("outputAliases")) { - if (!Array.isArray(message.outputAliases)) - return "outputAliases: array expected"; - for (var i = 0; i < message.outputAliases.length; ++i) { - var error = $root.flyteidl.core.Alias.verify(message.outputAliases[i]); - if (error) - return "outputAliases." + error; - } - } - if (message.taskNode != null && message.hasOwnProperty("taskNode")) { - properties.target = 1; - { - var error = $root.flyteidl.core.TaskNode.verify(message.taskNode); - if (error) - return "taskNode." + error; - } - } - if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.WorkflowNode.verify(message.workflowNode); - if (error) - return "workflowNode." + error; - } - } - if (message.branchNode != null && message.hasOwnProperty("branchNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.BranchNode.verify(message.branchNode); - if (error) - return "branchNode." + error; - } - } - if (message.gateNode != null && message.hasOwnProperty("gateNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; + if (message.referenceId != null && message.hasOwnProperty("referenceId")) { + properties.reference = 1; { - var error = $root.flyteidl.core.GateNode.verify(message.gateNode); + var error = $root.flyteidl.core.Identifier.verify(message.referenceId); if (error) - return "gateNode." + error; + return "referenceId." + error; } } - if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.ArrayNode.verify(message.arrayNode); - if (error) - return "arrayNode." + error; - } + if (message.overrides != null && message.hasOwnProperty("overrides")) { + var error = $root.flyteidl.core.TaskNodeOverrides.verify(message.overrides); + if (error) + return "overrides." + error; } return null; }; - return Node; + return TaskNode; })(); - core.WorkflowMetadata = (function() { + core.WorkflowNode = (function() { /** - * Properties of a WorkflowMetadata. + * Properties of a WorkflowNode. * @memberof flyteidl.core - * @interface IWorkflowMetadata - * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] WorkflowMetadata qualityOfService - * @property {flyteidl.core.WorkflowMetadata.OnFailurePolicy|null} [onFailure] WorkflowMetadata onFailure - * @property {Object.|null} [tags] WorkflowMetadata tags + * @interface IWorkflowNode + * @property {flyteidl.core.IIdentifier|null} [launchplanRef] WorkflowNode launchplanRef + * @property {flyteidl.core.IIdentifier|null} [subWorkflowRef] WorkflowNode subWorkflowRef */ /** - * Constructs a new WorkflowMetadata. + * Constructs a new WorkflowNode. * @memberof flyteidl.core - * @classdesc Represents a WorkflowMetadata. - * @implements IWorkflowMetadata + * @classdesc Represents a WorkflowNode. + * @implements IWorkflowNode * @constructor - * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set */ - function WorkflowMetadata(properties) { - this.tags = {}; + function WorkflowNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4062,94 +3860,89 @@ } /** - * WorkflowMetadata qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.core.WorkflowMetadata + * WorkflowNode launchplanRef. + * @member {flyteidl.core.IIdentifier|null|undefined} launchplanRef + * @memberof flyteidl.core.WorkflowNode * @instance */ - WorkflowMetadata.prototype.qualityOfService = null; + WorkflowNode.prototype.launchplanRef = null; /** - * WorkflowMetadata onFailure. - * @member {flyteidl.core.WorkflowMetadata.OnFailurePolicy} onFailure - * @memberof flyteidl.core.WorkflowMetadata + * WorkflowNode subWorkflowRef. + * @member {flyteidl.core.IIdentifier|null|undefined} subWorkflowRef + * @memberof flyteidl.core.WorkflowNode * @instance */ - WorkflowMetadata.prototype.onFailure = 0; + WorkflowNode.prototype.subWorkflowRef = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * WorkflowMetadata tags. - * @member {Object.} tags - * @memberof flyteidl.core.WorkflowMetadata + * WorkflowNode reference. + * @member {"launchplanRef"|"subWorkflowRef"|undefined} reference + * @memberof flyteidl.core.WorkflowNode * @instance */ - WorkflowMetadata.prototype.tags = $util.emptyObject; + Object.defineProperty(WorkflowNode.prototype, "reference", { + get: $util.oneOfGetter($oneOfFields = ["launchplanRef", "subWorkflowRef"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new WorkflowMetadata instance using the specified properties. + * Creates a new WorkflowNode instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static - * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata instance + * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowNode} WorkflowNode instance */ - WorkflowMetadata.create = function create(properties) { - return new WorkflowMetadata(properties); + WorkflowNode.create = function create(properties) { + return new WorkflowNode(properties); }; /** - * Encodes the specified WorkflowMetadata message. Does not implicitly {@link flyteidl.core.WorkflowMetadata.verify|verify} messages. + * Encodes the specified WorkflowNode message. Does not implicitly {@link flyteidl.core.WorkflowNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static - * @param {flyteidl.core.IWorkflowMetadata} message WorkflowMetadata message or plain object to encode + * @param {flyteidl.core.IWorkflowNode} message WorkflowNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowMetadata.encode = function encode(message, writer) { + WorkflowNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) - $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.onFailure != null && message.hasOwnProperty("onFailure")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.onFailure); - if (message.tags != null && message.hasOwnProperty("tags")) - for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim(); + if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) + $root.flyteidl.core.Identifier.encode(message.launchplanRef, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) + $root.flyteidl.core.Identifier.encode(message.subWorkflowRef, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowMetadata message from the specified reader or buffer. + * Decodes a WorkflowNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata + * @returns {flyteidl.core.WorkflowNode} WorkflowNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowMetadata.decode = function decode(reader, length) { + WorkflowNode.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.core.WorkflowMetadata(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); + message.launchplanRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.onFailure = reader.int32(); - break; - case 3: - reader.skip().pos++; - if (message.tags === $util.emptyObject) - message.tags = {}; - key = reader.string(); - reader.pos++; - message.tags[key] = reader.string(); + message.subWorkflowRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -4160,75 +3953,59 @@ }; /** - * Verifies a WorkflowMetadata message. + * Verifies a WorkflowNode message. * @function verify - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowMetadata.verify = function verify(message) { + WorkflowNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { - var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); - if (error) - return "qualityOfService." + error; + var properties = {}; + if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) { + properties.reference = 1; + { + var error = $root.flyteidl.core.Identifier.verify(message.launchplanRef); + if (error) + return "launchplanRef." + error; + } } - if (message.onFailure != null && message.hasOwnProperty("onFailure")) - switch (message.onFailure) { - default: - return "onFailure: enum value expected"; - case 0: - case 1: - break; + if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) { + if (properties.reference === 1) + return "reference: multiple values"; + properties.reference = 1; + { + var error = $root.flyteidl.core.Identifier.verify(message.subWorkflowRef); + if (error) + return "subWorkflowRef." + error; } - if (message.tags != null && message.hasOwnProperty("tags")) { - if (!$util.isObject(message.tags)) - return "tags: object expected"; - var key = Object.keys(message.tags); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.tags[key[i]])) - return "tags: string{k:string} expected"; } return null; }; - /** - * OnFailurePolicy enum. - * @name flyteidl.core.WorkflowMetadata.OnFailurePolicy - * @enum {string} - * @property {number} FAIL_IMMEDIATELY=0 FAIL_IMMEDIATELY value - * @property {number} FAIL_AFTER_EXECUTABLE_NODES_COMPLETE=1 FAIL_AFTER_EXECUTABLE_NODES_COMPLETE value - */ - WorkflowMetadata.OnFailurePolicy = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "FAIL_IMMEDIATELY"] = 0; - values[valuesById[1] = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE"] = 1; - return values; - })(); - - return WorkflowMetadata; + return WorkflowNode; })(); - core.WorkflowMetadataDefaults = (function() { + core.ApproveCondition = (function() { /** - * Properties of a WorkflowMetadataDefaults. + * Properties of an ApproveCondition. * @memberof flyteidl.core - * @interface IWorkflowMetadataDefaults - * @property {boolean|null} [interruptible] WorkflowMetadataDefaults interruptible + * @interface IApproveCondition + * @property {string|null} [signalId] ApproveCondition signalId */ /** - * Constructs a new WorkflowMetadataDefaults. + * Constructs a new ApproveCondition. * @memberof flyteidl.core - * @classdesc Represents a WorkflowMetadataDefaults. - * @implements IWorkflowMetadataDefaults + * @classdesc Represents an ApproveCondition. + * @implements IApproveCondition * @constructor - * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set + * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set */ - function WorkflowMetadataDefaults(properties) { + function ApproveCondition(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4236,62 +4013,62 @@ } /** - * WorkflowMetadataDefaults interruptible. - * @member {boolean} interruptible - * @memberof flyteidl.core.WorkflowMetadataDefaults + * ApproveCondition signalId. + * @member {string} signalId + * @memberof flyteidl.core.ApproveCondition * @instance */ - WorkflowMetadataDefaults.prototype.interruptible = false; + ApproveCondition.prototype.signalId = ""; /** - * Creates a new WorkflowMetadataDefaults instance using the specified properties. + * Creates a new ApproveCondition instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static - * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults instance + * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set + * @returns {flyteidl.core.ApproveCondition} ApproveCondition instance */ - WorkflowMetadataDefaults.create = function create(properties) { - return new WorkflowMetadataDefaults(properties); + ApproveCondition.create = function create(properties) { + return new ApproveCondition(properties); }; /** - * Encodes the specified WorkflowMetadataDefaults message. Does not implicitly {@link flyteidl.core.WorkflowMetadataDefaults.verify|verify} messages. + * Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static - * @param {flyteidl.core.IWorkflowMetadataDefaults} message WorkflowMetadataDefaults message or plain object to encode + * @param {flyteidl.core.IApproveCondition} message ApproveCondition message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowMetadataDefaults.encode = function encode(message, writer) { + ApproveCondition.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.interruptible); + if (message.signalId != null && message.hasOwnProperty("signalId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); return writer; }; /** - * Decodes a WorkflowMetadataDefaults message from the specified reader or buffer. + * Decodes an ApproveCondition message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults + * @returns {flyteidl.core.ApproveCondition} ApproveCondition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowMetadataDefaults.decode = function decode(reader, length) { + ApproveCondition.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.core.WorkflowMetadataDefaults(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ApproveCondition(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.interruptible = reader.bool(); + message.signalId = reader.string(); break; default: reader.skipType(tag & 7); @@ -4302,51 +4079,45 @@ }; /** - * Verifies a WorkflowMetadataDefaults message. + * Verifies an ApproveCondition message. * @function verify - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowMetadataDefaults.verify = function verify(message) { + ApproveCondition.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - if (typeof message.interruptible !== "boolean") - return "interruptible: boolean expected"; + if (message.signalId != null && message.hasOwnProperty("signalId")) + if (!$util.isString(message.signalId)) + return "signalId: string expected"; return null; }; - return WorkflowMetadataDefaults; + return ApproveCondition; })(); - core.WorkflowTemplate = (function() { + core.SignalCondition = (function() { /** - * Properties of a WorkflowTemplate. + * Properties of a SignalCondition. * @memberof flyteidl.core - * @interface IWorkflowTemplate - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowTemplate id - * @property {flyteidl.core.IWorkflowMetadata|null} [metadata] WorkflowTemplate metadata - * @property {flyteidl.core.ITypedInterface|null} ["interface"] WorkflowTemplate interface - * @property {Array.|null} [nodes] WorkflowTemplate nodes - * @property {Array.|null} [outputs] WorkflowTemplate outputs - * @property {flyteidl.core.INode|null} [failureNode] WorkflowTemplate failureNode - * @property {flyteidl.core.IWorkflowMetadataDefaults|null} [metadataDefaults] WorkflowTemplate metadataDefaults + * @interface ISignalCondition + * @property {string|null} [signalId] SignalCondition signalId + * @property {flyteidl.core.ILiteralType|null} [type] SignalCondition type + * @property {string|null} [outputVariableName] SignalCondition outputVariableName */ /** - * Constructs a new WorkflowTemplate. + * Constructs a new SignalCondition. * @memberof flyteidl.core - * @classdesc Represents a WorkflowTemplate. - * @implements IWorkflowTemplate + * @classdesc Represents a SignalCondition. + * @implements ISignalCondition * @constructor - * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set + * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set */ - function WorkflowTemplate(properties) { - this.nodes = []; - this.outputs = []; + function SignalCondition(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4354,146 +4125,88 @@ } /** - * WorkflowTemplate id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype.id = null; - - /** - * WorkflowTemplate metadata. - * @member {flyteidl.core.IWorkflowMetadata|null|undefined} metadata - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype.metadata = null; - - /** - * WorkflowTemplate interface. - * @member {flyteidl.core.ITypedInterface|null|undefined} interface - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype["interface"] = null; - - /** - * WorkflowTemplate nodes. - * @member {Array.} nodes - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype.nodes = $util.emptyArray; - - /** - * WorkflowTemplate outputs. - * @member {Array.} outputs - * @memberof flyteidl.core.WorkflowTemplate + * SignalCondition signalId. + * @member {string} signalId + * @memberof flyteidl.core.SignalCondition * @instance */ - WorkflowTemplate.prototype.outputs = $util.emptyArray; + SignalCondition.prototype.signalId = ""; /** - * WorkflowTemplate failureNode. - * @member {flyteidl.core.INode|null|undefined} failureNode - * @memberof flyteidl.core.WorkflowTemplate + * SignalCondition type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.core.SignalCondition * @instance */ - WorkflowTemplate.prototype.failureNode = null; + SignalCondition.prototype.type = null; /** - * WorkflowTemplate metadataDefaults. - * @member {flyteidl.core.IWorkflowMetadataDefaults|null|undefined} metadataDefaults - * @memberof flyteidl.core.WorkflowTemplate + * SignalCondition outputVariableName. + * @member {string} outputVariableName + * @memberof flyteidl.core.SignalCondition * @instance */ - WorkflowTemplate.prototype.metadataDefaults = null; + SignalCondition.prototype.outputVariableName = ""; /** - * Creates a new WorkflowTemplate instance using the specified properties. + * Creates a new SignalCondition instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static - * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate instance + * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set + * @returns {flyteidl.core.SignalCondition} SignalCondition instance */ - WorkflowTemplate.create = function create(properties) { - return new WorkflowTemplate(properties); + SignalCondition.create = function create(properties) { + return new SignalCondition(properties); }; /** - * Encodes the specified WorkflowTemplate message. Does not implicitly {@link flyteidl.core.WorkflowTemplate.verify|verify} messages. + * Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static - * @param {flyteidl.core.IWorkflowTemplate} message WorkflowTemplate message or plain object to encode + * @param {flyteidl.core.ISignalCondition} message SignalCondition message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowTemplate.encode = function encode(message, writer) { + SignalCondition.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.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.WorkflowMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message["interface"] != null && message.hasOwnProperty("interface")) - $root.flyteidl.core.TypedInterface.encode(message["interface"], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.nodes != null && message.nodes.length) - for (var i = 0; i < message.nodes.length; ++i) - $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.outputs != null && message.outputs.length) - for (var i = 0; i < message.outputs.length; ++i) - $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.failureNode != null && message.hasOwnProperty("failureNode")) - $root.flyteidl.core.Node.encode(message.failureNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) - $root.flyteidl.core.WorkflowMetadataDefaults.encode(message.metadataDefaults, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.signalId != null && message.hasOwnProperty("signalId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); + 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.outputVariableName != null && message.hasOwnProperty("outputVariableName")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputVariableName); return writer; }; /** - * Decodes a WorkflowTemplate message from the specified reader or buffer. + * Decodes a SignalCondition message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate + * @returns {flyteidl.core.SignalCondition} SignalCondition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowTemplate.decode = function decode(reader, length) { + SignalCondition.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.core.WorkflowTemplate(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalCondition(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.signalId = reader.string(); break; case 2: - message.metadata = $root.flyteidl.core.WorkflowMetadata.decode(reader, reader.uint32()); + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; case 3: - message["interface"] = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.nodes && message.nodes.length)) - message.nodes = []; - message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.outputs && message.outputs.length)) - message.outputs = []; - message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); - break; - case 6: - message.failureNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); - break; - case 7: - message.metadataDefaults = $root.flyteidl.core.WorkflowMetadataDefaults.decode(reader, reader.uint32()); + message.outputVariableName = reader.string(); break; default: reader.skipType(tag & 7); @@ -4504,83 +4217,51 @@ }; /** - * Verifies a WorkflowTemplate message. + * Verifies a SignalCondition message. * @function verify - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowTemplate.verify = function verify(message) { + SignalCondition.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.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.WorkflowMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message["interface"] != null && message.hasOwnProperty("interface")) { - var error = $root.flyteidl.core.TypedInterface.verify(message["interface"]); - if (error) - return "interface." + error; - } - if (message.nodes != null && message.hasOwnProperty("nodes")) { - if (!Array.isArray(message.nodes)) - return "nodes: array expected"; - for (var i = 0; i < message.nodes.length; ++i) { - var error = $root.flyteidl.core.Node.verify(message.nodes[i]); - if (error) - return "nodes." + error; - } - } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - if (!Array.isArray(message.outputs)) - return "outputs: array expected"; - for (var i = 0; i < message.outputs.length; ++i) { - var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); - if (error) - return "outputs." + error; - } - } - if (message.failureNode != null && message.hasOwnProperty("failureNode")) { - var error = $root.flyteidl.core.Node.verify(message.failureNode); - if (error) - return "failureNode." + error; - } - if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) { - var error = $root.flyteidl.core.WorkflowMetadataDefaults.verify(message.metadataDefaults); + if (message.signalId != null && message.hasOwnProperty("signalId")) + if (!$util.isString(message.signalId)) + return "signalId: string expected"; + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); if (error) - return "metadataDefaults." + error; + return "type." + error; } + if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName")) + if (!$util.isString(message.outputVariableName)) + return "outputVariableName: string expected"; return null; }; - return WorkflowTemplate; + return SignalCondition; })(); - core.TaskNodeOverrides = (function() { + core.SleepCondition = (function() { /** - * Properties of a TaskNodeOverrides. + * Properties of a SleepCondition. * @memberof flyteidl.core - * @interface ITaskNodeOverrides - * @property {flyteidl.core.IResources|null} [resources] TaskNodeOverrides resources + * @interface ISleepCondition + * @property {google.protobuf.IDuration|null} [duration] SleepCondition duration */ /** - * Constructs a new TaskNodeOverrides. + * Constructs a new SleepCondition. * @memberof flyteidl.core - * @classdesc Represents a TaskNodeOverrides. - * @implements ITaskNodeOverrides + * @classdesc Represents a SleepCondition. + * @implements ISleepCondition * @constructor - * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set + * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set */ - function TaskNodeOverrides(properties) { + function SleepCondition(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4588,62 +4269,62 @@ } /** - * TaskNodeOverrides resources. - * @member {flyteidl.core.IResources|null|undefined} resources - * @memberof flyteidl.core.TaskNodeOverrides + * SleepCondition duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.core.SleepCondition * @instance */ - TaskNodeOverrides.prototype.resources = null; + SleepCondition.prototype.duration = null; /** - * Creates a new TaskNodeOverrides instance using the specified properties. + * Creates a new SleepCondition instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static - * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set - * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides instance + * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set + * @returns {flyteidl.core.SleepCondition} SleepCondition instance */ - TaskNodeOverrides.create = function create(properties) { - return new TaskNodeOverrides(properties); + SleepCondition.create = function create(properties) { + return new SleepCondition(properties); }; /** - * Encodes the specified TaskNodeOverrides message. Does not implicitly {@link flyteidl.core.TaskNodeOverrides.verify|verify} messages. + * Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static - * @param {flyteidl.core.ITaskNodeOverrides} message TaskNodeOverrides message or plain object to encode + * @param {flyteidl.core.ISleepCondition} message SleepCondition message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskNodeOverrides.encode = function encode(message, writer) { + SleepCondition.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resources != null && message.hasOwnProperty("resources")) - $root.flyteidl.core.Resources.encode(message.resources, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskNodeOverrides message from the specified reader or buffer. + * Decodes a SleepCondition message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides + * @returns {flyteidl.core.SleepCondition} SleepCondition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskNodeOverrides.decode = function decode(reader, length) { + SleepCondition.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.core.TaskNodeOverrides(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SleepCondition(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resources = $root.flyteidl.core.Resources.decode(reader, reader.uint32()); + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -4654,47 +4335,47 @@ }; /** - * Verifies a TaskNodeOverrides message. + * Verifies a SleepCondition message. * @function verify - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskNodeOverrides.verify = function verify(message) { + SleepCondition.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resources != null && message.hasOwnProperty("resources")) { - var error = $root.flyteidl.core.Resources.verify(message.resources); + if (message.duration != null && message.hasOwnProperty("duration")) { + var error = $root.google.protobuf.Duration.verify(message.duration); if (error) - return "resources." + error; + return "duration." + error; } return null; }; - return TaskNodeOverrides; + return SleepCondition; })(); - core.ComparisonExpression = (function() { + core.GateNode = (function() { /** - * Properties of a ComparisonExpression. + * Properties of a GateNode. * @memberof flyteidl.core - * @interface IComparisonExpression - * @property {flyteidl.core.ComparisonExpression.Operator|null} [operator] ComparisonExpression operator - * @property {flyteidl.core.IOperand|null} [leftValue] ComparisonExpression leftValue - * @property {flyteidl.core.IOperand|null} [rightValue] ComparisonExpression rightValue + * @interface IGateNode + * @property {flyteidl.core.IApproveCondition|null} [approve] GateNode approve + * @property {flyteidl.core.ISignalCondition|null} [signal] GateNode signal + * @property {flyteidl.core.ISleepCondition|null} [sleep] GateNode sleep */ /** - * Constructs a new ComparisonExpression. + * Constructs a new GateNode. * @memberof flyteidl.core - * @classdesc Represents a ComparisonExpression. - * @implements IComparisonExpression + * @classdesc Represents a GateNode. + * @implements IGateNode * @constructor - * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set + * @param {flyteidl.core.IGateNode=} [properties] Properties to set */ - function ComparisonExpression(properties) { + function GateNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4702,88 +4383,102 @@ } /** - * ComparisonExpression operator. - * @member {flyteidl.core.ComparisonExpression.Operator} operator - * @memberof flyteidl.core.ComparisonExpression + * GateNode approve. + * @member {flyteidl.core.IApproveCondition|null|undefined} approve + * @memberof flyteidl.core.GateNode * @instance */ - ComparisonExpression.prototype.operator = 0; + GateNode.prototype.approve = null; /** - * ComparisonExpression leftValue. - * @member {flyteidl.core.IOperand|null|undefined} leftValue - * @memberof flyteidl.core.ComparisonExpression + * GateNode signal. + * @member {flyteidl.core.ISignalCondition|null|undefined} signal + * @memberof flyteidl.core.GateNode * @instance */ - ComparisonExpression.prototype.leftValue = null; + GateNode.prototype.signal = null; /** - * ComparisonExpression rightValue. - * @member {flyteidl.core.IOperand|null|undefined} rightValue - * @memberof flyteidl.core.ComparisonExpression + * GateNode sleep. + * @member {flyteidl.core.ISleepCondition|null|undefined} sleep + * @memberof flyteidl.core.GateNode * @instance */ - ComparisonExpression.prototype.rightValue = null; + GateNode.prototype.sleep = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Creates a new ComparisonExpression instance using the specified properties. + * GateNode condition. + * @member {"approve"|"signal"|"sleep"|undefined} condition + * @memberof flyteidl.core.GateNode + * @instance + */ + Object.defineProperty(GateNode.prototype, "condition", { + get: $util.oneOfGetter($oneOfFields = ["approve", "signal", "sleep"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GateNode instance using the specified properties. * @function create - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static - * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set - * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression instance + * @param {flyteidl.core.IGateNode=} [properties] Properties to set + * @returns {flyteidl.core.GateNode} GateNode instance */ - ComparisonExpression.create = function create(properties) { - return new ComparisonExpression(properties); + GateNode.create = function create(properties) { + return new GateNode(properties); }; /** - * Encodes the specified ComparisonExpression message. Does not implicitly {@link flyteidl.core.ComparisonExpression.verify|verify} messages. + * Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static - * @param {flyteidl.core.IComparisonExpression} message ComparisonExpression message or plain object to encode + * @param {flyteidl.core.IGateNode} message GateNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ComparisonExpression.encode = function encode(message, writer) { + GateNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.operator != null && message.hasOwnProperty("operator")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); - if (message.leftValue != null && message.hasOwnProperty("leftValue")) - $root.flyteidl.core.Operand.encode(message.leftValue, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.rightValue != null && message.hasOwnProperty("rightValue")) - $root.flyteidl.core.Operand.encode(message.rightValue, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.approve != null && message.hasOwnProperty("approve")) + $root.flyteidl.core.ApproveCondition.encode(message.approve, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.signal != null && message.hasOwnProperty("signal")) + $root.flyteidl.core.SignalCondition.encode(message.signal, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.sleep != null && message.hasOwnProperty("sleep")) + $root.flyteidl.core.SleepCondition.encode(message.sleep, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a ComparisonExpression message from the specified reader or buffer. + * Decodes a GateNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression + * @returns {flyteidl.core.GateNode} GateNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ComparisonExpression.decode = function decode(reader, length) { + GateNode.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.core.ComparisonExpression(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.GateNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.operator = reader.int32(); + message.approve = $root.flyteidl.core.ApproveCondition.decode(reader, reader.uint32()); break; case 2: - message.leftValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); + message.signal = $root.flyteidl.core.SignalCondition.decode(reader, reader.uint32()); break; case 3: - message.rightValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); + message.sleep = $root.flyteidl.core.SleepCondition.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -4794,86 +4489,72 @@ }; /** - * Verifies a ComparisonExpression message. + * Verifies a GateNode message. * @function verify - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ComparisonExpression.verify = function verify(message) { + GateNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.operator != null && message.hasOwnProperty("operator")) - switch (message.operator) { - default: - return "operator: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; + var properties = {}; + if (message.approve != null && message.hasOwnProperty("approve")) { + properties.condition = 1; + { + var error = $root.flyteidl.core.ApproveCondition.verify(message.approve); + if (error) + return "approve." + error; } - if (message.leftValue != null && message.hasOwnProperty("leftValue")) { - var error = $root.flyteidl.core.Operand.verify(message.leftValue); - if (error) - return "leftValue." + error; } - if (message.rightValue != null && message.hasOwnProperty("rightValue")) { - var error = $root.flyteidl.core.Operand.verify(message.rightValue); - if (error) - return "rightValue." + error; + if (message.signal != null && message.hasOwnProperty("signal")) { + if (properties.condition === 1) + return "condition: multiple values"; + properties.condition = 1; + { + var error = $root.flyteidl.core.SignalCondition.verify(message.signal); + if (error) + return "signal." + error; + } + } + if (message.sleep != null && message.hasOwnProperty("sleep")) { + if (properties.condition === 1) + return "condition: multiple values"; + properties.condition = 1; + { + var error = $root.flyteidl.core.SleepCondition.verify(message.sleep); + if (error) + return "sleep." + error; + } } return null; }; - /** - * Operator enum. - * @name flyteidl.core.ComparisonExpression.Operator - * @enum {string} - * @property {number} EQ=0 EQ value - * @property {number} NEQ=1 NEQ value - * @property {number} GT=2 GT value - * @property {number} GTE=3 GTE value - * @property {number} LT=4 LT value - * @property {number} LTE=5 LTE value - */ - ComparisonExpression.Operator = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "EQ"] = 0; - values[valuesById[1] = "NEQ"] = 1; - values[valuesById[2] = "GT"] = 2; - values[valuesById[3] = "GTE"] = 3; - values[valuesById[4] = "LT"] = 4; - values[valuesById[5] = "LTE"] = 5; - return values; - })(); - - return ComparisonExpression; + return GateNode; })(); - core.Operand = (function() { + core.ArrayNode = (function() { /** - * Properties of an Operand. + * Properties of an ArrayNode. * @memberof flyteidl.core - * @interface IOperand - * @property {flyteidl.core.IPrimitive|null} [primitive] Operand primitive - * @property {string|null} ["var"] Operand var - * @property {flyteidl.core.IScalar|null} [scalar] Operand scalar + * @interface IArrayNode + * @property {flyteidl.core.INode|null} [node] ArrayNode node + * @property {number|null} [parallelism] ArrayNode parallelism + * @property {number|null} [minSuccesses] ArrayNode minSuccesses + * @property {number|null} [minSuccessRatio] ArrayNode minSuccessRatio */ /** - * Constructs a new Operand. + * Constructs a new ArrayNode. * @memberof flyteidl.core - * @classdesc Represents an Operand. - * @implements IOperand + * @classdesc Represents an ArrayNode. + * @implements IArrayNode * @constructor - * @param {flyteidl.core.IOperand=} [properties] Properties to set + * @param {flyteidl.core.IArrayNode=} [properties] Properties to set */ - function Operand(properties) { + function ArrayNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4881,102 +4562,115 @@ } /** - * Operand primitive. - * @member {flyteidl.core.IPrimitive|null|undefined} primitive - * @memberof flyteidl.core.Operand + * ArrayNode node. + * @member {flyteidl.core.INode|null|undefined} node + * @memberof flyteidl.core.ArrayNode * @instance */ - Operand.prototype.primitive = null; + ArrayNode.prototype.node = null; /** - * Operand var. - * @member {string} var - * @memberof flyteidl.core.Operand + * ArrayNode parallelism. + * @member {number} parallelism + * @memberof flyteidl.core.ArrayNode * @instance */ - Operand.prototype["var"] = ""; + ArrayNode.prototype.parallelism = 0; /** - * Operand scalar. - * @member {flyteidl.core.IScalar|null|undefined} scalar - * @memberof flyteidl.core.Operand + * ArrayNode minSuccesses. + * @member {number} minSuccesses + * @memberof flyteidl.core.ArrayNode * @instance */ - Operand.prototype.scalar = null; + ArrayNode.prototype.minSuccesses = 0; + + /** + * ArrayNode minSuccessRatio. + * @member {number} minSuccessRatio + * @memberof flyteidl.core.ArrayNode + * @instance + */ + ArrayNode.prototype.minSuccessRatio = 0; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * Operand val. - * @member {"primitive"|"var"|"scalar"|undefined} val - * @memberof flyteidl.core.Operand + * ArrayNode successCriteria. + * @member {"minSuccesses"|"minSuccessRatio"|undefined} successCriteria + * @memberof flyteidl.core.ArrayNode * @instance */ - Object.defineProperty(Operand.prototype, "val", { - get: $util.oneOfGetter($oneOfFields = ["primitive", "var", "scalar"]), + Object.defineProperty(ArrayNode.prototype, "successCriteria", { + get: $util.oneOfGetter($oneOfFields = ["minSuccesses", "minSuccessRatio"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Operand instance using the specified properties. + * Creates a new ArrayNode instance using the specified properties. * @function create - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static - * @param {flyteidl.core.IOperand=} [properties] Properties to set - * @returns {flyteidl.core.Operand} Operand instance + * @param {flyteidl.core.IArrayNode=} [properties] Properties to set + * @returns {flyteidl.core.ArrayNode} ArrayNode instance */ - Operand.create = function create(properties) { - return new Operand(properties); + ArrayNode.create = function create(properties) { + return new ArrayNode(properties); }; /** - * Encodes the specified Operand message. Does not implicitly {@link flyteidl.core.Operand.verify|verify} messages. + * Encodes the specified ArrayNode message. Does not implicitly {@link flyteidl.core.ArrayNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static - * @param {flyteidl.core.IOperand} message Operand message or plain object to encode + * @param {flyteidl.core.IArrayNode} message ArrayNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Operand.encode = function encode(message, writer) { + ArrayNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.primitive != null && message.hasOwnProperty("primitive")) - $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message["var"] != null && message.hasOwnProperty("var")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message["var"]); - if (message.scalar != null && message.hasOwnProperty("scalar")) - $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.node != null && message.hasOwnProperty("node")) + $root.flyteidl.core.Node.encode(message.node, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.parallelism != null && message.hasOwnProperty("parallelism")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.parallelism); + if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.minSuccesses); + if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) + writer.uint32(/* id 4, wireType 5 =*/37).float(message.minSuccessRatio); return writer; }; /** - * Decodes an Operand message from the specified reader or buffer. + * Decodes an ArrayNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Operand} Operand + * @returns {flyteidl.core.ArrayNode} ArrayNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Operand.decode = function decode(reader, length) { + ArrayNode.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.core.Operand(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArrayNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); + message.node = $root.flyteidl.core.Node.decode(reader, reader.uint32()); break; case 2: - message["var"] = reader.string(); + message.parallelism = reader.uint32(); break; case 3: - message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); + message.minSuccesses = reader.uint32(); + break; + case 4: + message.minSuccessRatio = reader.float(); break; default: reader.skipType(tag & 7); @@ -4987,67 +4681,64 @@ }; /** - * Verifies an Operand message. + * Verifies an ArrayNode message. * @function verify - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Operand.verify = function verify(message) { + ArrayNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.primitive != null && message.hasOwnProperty("primitive")) { - properties.val = 1; - { - var error = $root.flyteidl.core.Primitive.verify(message.primitive); - if (error) - return "primitive." + error; - } + if (message.node != null && message.hasOwnProperty("node")) { + var error = $root.flyteidl.core.Node.verify(message.node); + if (error) + return "node." + error; } - if (message["var"] != null && message.hasOwnProperty("var")) { - if (properties.val === 1) - return "val: multiple values"; - properties.val = 1; - if (!$util.isString(message["var"])) - return "var: string expected"; + if (message.parallelism != null && message.hasOwnProperty("parallelism")) + if (!$util.isInteger(message.parallelism)) + return "parallelism: integer expected"; + if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) { + properties.successCriteria = 1; + if (!$util.isInteger(message.minSuccesses)) + return "minSuccesses: integer expected"; } - if (message.scalar != null && message.hasOwnProperty("scalar")) { - if (properties.val === 1) - return "val: multiple values"; - properties.val = 1; - { - var error = $root.flyteidl.core.Scalar.verify(message.scalar); - if (error) - return "scalar." + error; - } + if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) { + if (properties.successCriteria === 1) + return "successCriteria: multiple values"; + properties.successCriteria = 1; + if (typeof message.minSuccessRatio !== "number") + return "minSuccessRatio: number expected"; } return null; }; - return Operand; + return ArrayNode; })(); - core.BooleanExpression = (function() { + core.NodeMetadata = (function() { /** - * Properties of a BooleanExpression. + * Properties of a NodeMetadata. * @memberof flyteidl.core - * @interface IBooleanExpression - * @property {flyteidl.core.IConjunctionExpression|null} [conjunction] BooleanExpression conjunction - * @property {flyteidl.core.IComparisonExpression|null} [comparison] BooleanExpression comparison + * @interface INodeMetadata + * @property {string|null} [name] NodeMetadata name + * @property {google.protobuf.IDuration|null} [timeout] NodeMetadata timeout + * @property {flyteidl.core.IRetryStrategy|null} [retries] NodeMetadata retries + * @property {boolean|null} [interruptible] NodeMetadata interruptible */ /** - * Constructs a new BooleanExpression. + * Constructs a new NodeMetadata. * @memberof flyteidl.core - * @classdesc Represents a BooleanExpression. - * @implements IBooleanExpression + * @classdesc Represents a NodeMetadata. + * @implements INodeMetadata * @constructor - * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set + * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set */ - function BooleanExpression(properties) { + function NodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5055,89 +4746,115 @@ } /** - * BooleanExpression conjunction. - * @member {flyteidl.core.IConjunctionExpression|null|undefined} conjunction - * @memberof flyteidl.core.BooleanExpression + * NodeMetadata name. + * @member {string} name + * @memberof flyteidl.core.NodeMetadata * @instance */ - BooleanExpression.prototype.conjunction = null; + NodeMetadata.prototype.name = ""; /** - * BooleanExpression comparison. - * @member {flyteidl.core.IComparisonExpression|null|undefined} comparison - * @memberof flyteidl.core.BooleanExpression + * NodeMetadata timeout. + * @member {google.protobuf.IDuration|null|undefined} timeout + * @memberof flyteidl.core.NodeMetadata * @instance */ - BooleanExpression.prototype.comparison = null; + NodeMetadata.prototype.timeout = null; + + /** + * NodeMetadata retries. + * @member {flyteidl.core.IRetryStrategy|null|undefined} retries + * @memberof flyteidl.core.NodeMetadata + * @instance + */ + NodeMetadata.prototype.retries = null; + + /** + * NodeMetadata interruptible. + * @member {boolean} interruptible + * @memberof flyteidl.core.NodeMetadata + * @instance + */ + NodeMetadata.prototype.interruptible = false; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * BooleanExpression expr. - * @member {"conjunction"|"comparison"|undefined} expr - * @memberof flyteidl.core.BooleanExpression + * NodeMetadata interruptibleValue. + * @member {"interruptible"|undefined} interruptibleValue + * @memberof flyteidl.core.NodeMetadata * @instance */ - Object.defineProperty(BooleanExpression.prototype, "expr", { - get: $util.oneOfGetter($oneOfFields = ["conjunction", "comparison"]), + Object.defineProperty(NodeMetadata.prototype, "interruptibleValue", { + get: $util.oneOfGetter($oneOfFields = ["interruptible"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new BooleanExpression instance using the specified properties. + * Creates a new NodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static - * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set - * @returns {flyteidl.core.BooleanExpression} BooleanExpression instance + * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set + * @returns {flyteidl.core.NodeMetadata} NodeMetadata instance */ - BooleanExpression.create = function create(properties) { - return new BooleanExpression(properties); + NodeMetadata.create = function create(properties) { + return new NodeMetadata(properties); }; /** - * Encodes the specified BooleanExpression message. Does not implicitly {@link flyteidl.core.BooleanExpression.verify|verify} messages. + * Encodes the specified NodeMetadata message. Does not implicitly {@link flyteidl.core.NodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static - * @param {flyteidl.core.IBooleanExpression} message BooleanExpression message or plain object to encode + * @param {flyteidl.core.INodeMetadata} message NodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BooleanExpression.encode = function encode(message, writer) { + NodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.conjunction != null && message.hasOwnProperty("conjunction")) - $root.flyteidl.core.ConjunctionExpression.encode(message.conjunction, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.comparison != null && message.hasOwnProperty("comparison")) - $root.flyteidl.core.ComparisonExpression.encode(message.comparison, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.timeout != null && message.hasOwnProperty("timeout")) + $root.google.protobuf.Duration.encode(message.timeout, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.retries != null && message.hasOwnProperty("retries")) + $root.flyteidl.core.RetryStrategy.encode(message.retries, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.interruptible); return writer; }; /** - * Decodes a BooleanExpression message from the specified reader or buffer. + * Decodes a NodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BooleanExpression} BooleanExpression + * @returns {flyteidl.core.NodeMetadata} NodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BooleanExpression.decode = function decode(reader, length) { + NodeMetadata.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.core.BooleanExpression(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.conjunction = $root.flyteidl.core.ConjunctionExpression.decode(reader, reader.uint32()); + message.name = reader.string(); break; - case 2: - message.comparison = $root.flyteidl.core.ComparisonExpression.decode(reader, reader.uint32()); + case 4: + message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 5: + message.retries = $root.flyteidl.core.RetryStrategy.decode(reader, reader.uint32()); + break; + case 6: + message.interruptible = reader.bool(); break; default: reader.skipType(tag & 7); @@ -5148,61 +4865,60 @@ }; /** - * Verifies a BooleanExpression message. + * Verifies a NodeMetadata message. * @function verify - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BooleanExpression.verify = function verify(message) { + NodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.conjunction != null && message.hasOwnProperty("conjunction")) { - properties.expr = 1; - { - var error = $root.flyteidl.core.ConjunctionExpression.verify(message.conjunction); - if (error) - return "conjunction." + error; - } + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.timeout != null && message.hasOwnProperty("timeout")) { + var error = $root.google.protobuf.Duration.verify(message.timeout); + if (error) + return "timeout." + error; } - if (message.comparison != null && message.hasOwnProperty("comparison")) { - if (properties.expr === 1) - return "expr: multiple values"; - properties.expr = 1; - { - var error = $root.flyteidl.core.ComparisonExpression.verify(message.comparison); - if (error) - return "comparison." + error; - } + if (message.retries != null && message.hasOwnProperty("retries")) { + var error = $root.flyteidl.core.RetryStrategy.verify(message.retries); + if (error) + return "retries." + error; + } + if (message.interruptible != null && message.hasOwnProperty("interruptible")) { + properties.interruptibleValue = 1; + if (typeof message.interruptible !== "boolean") + return "interruptible: boolean expected"; } return null; }; - return BooleanExpression; + return NodeMetadata; })(); - core.ConjunctionExpression = (function() { + core.Alias = (function() { /** - * Properties of a ConjunctionExpression. + * Properties of an Alias. * @memberof flyteidl.core - * @interface IConjunctionExpression - * @property {flyteidl.core.ConjunctionExpression.LogicalOperator|null} [operator] ConjunctionExpression operator - * @property {flyteidl.core.IBooleanExpression|null} [leftExpression] ConjunctionExpression leftExpression - * @property {flyteidl.core.IBooleanExpression|null} [rightExpression] ConjunctionExpression rightExpression + * @interface IAlias + * @property {string|null} ["var"] Alias var + * @property {string|null} [alias] Alias alias */ /** - * Constructs a new ConjunctionExpression. + * Constructs a new Alias. * @memberof flyteidl.core - * @classdesc Represents a ConjunctionExpression. - * @implements IConjunctionExpression + * @classdesc Represents an Alias. + * @implements IAlias * @constructor - * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set + * @param {flyteidl.core.IAlias=} [properties] Properties to set */ - function ConjunctionExpression(properties) { + function Alias(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5210,88 +4926,75 @@ } /** - * ConjunctionExpression operator. - * @member {flyteidl.core.ConjunctionExpression.LogicalOperator} operator - * @memberof flyteidl.core.ConjunctionExpression - * @instance - */ - ConjunctionExpression.prototype.operator = 0; - - /** - * ConjunctionExpression leftExpression. - * @member {flyteidl.core.IBooleanExpression|null|undefined} leftExpression - * @memberof flyteidl.core.ConjunctionExpression + * Alias var. + * @member {string} var + * @memberof flyteidl.core.Alias * @instance */ - ConjunctionExpression.prototype.leftExpression = null; + Alias.prototype["var"] = ""; /** - * ConjunctionExpression rightExpression. - * @member {flyteidl.core.IBooleanExpression|null|undefined} rightExpression - * @memberof flyteidl.core.ConjunctionExpression + * Alias alias. + * @member {string} alias + * @memberof flyteidl.core.Alias * @instance */ - ConjunctionExpression.prototype.rightExpression = null; + Alias.prototype.alias = ""; /** - * Creates a new ConjunctionExpression instance using the specified properties. + * Creates a new Alias instance using the specified properties. * @function create - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static - * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set - * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression instance + * @param {flyteidl.core.IAlias=} [properties] Properties to set + * @returns {flyteidl.core.Alias} Alias instance */ - ConjunctionExpression.create = function create(properties) { - return new ConjunctionExpression(properties); + Alias.create = function create(properties) { + return new Alias(properties); }; /** - * Encodes the specified ConjunctionExpression message. Does not implicitly {@link flyteidl.core.ConjunctionExpression.verify|verify} messages. + * Encodes the specified Alias message. Does not implicitly {@link flyteidl.core.Alias.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static - * @param {flyteidl.core.IConjunctionExpression} message ConjunctionExpression message or plain object to encode + * @param {flyteidl.core.IAlias} message Alias message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ConjunctionExpression.encode = function encode(message, writer) { + Alias.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.operator != null && message.hasOwnProperty("operator")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); - if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) - $root.flyteidl.core.BooleanExpression.encode(message.leftExpression, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) - $root.flyteidl.core.BooleanExpression.encode(message.rightExpression, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); + if (message.alias != null && message.hasOwnProperty("alias")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.alias); return writer; }; /** - * Decodes a ConjunctionExpression message from the specified reader or buffer. + * Decodes an Alias message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression + * @returns {flyteidl.core.Alias} Alias * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ConjunctionExpression.decode = function decode(reader, length) { + Alias.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.core.ConjunctionExpression(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Alias(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.operator = reader.int32(); + message["var"] = reader.string(); break; case 2: - message.leftExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); - break; - case 3: - message.rightExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); + message.alias = reader.string(); break; default: reader.skipType(tag & 7); @@ -5302,77 +5005,58 @@ }; /** - * Verifies a ConjunctionExpression message. + * Verifies an Alias message. * @function verify - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ConjunctionExpression.verify = function verify(message) { + Alias.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.operator != null && message.hasOwnProperty("operator")) - switch (message.operator) { - default: - return "operator: enum value expected"; - case 0: - case 1: - break; - } - if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) { - var error = $root.flyteidl.core.BooleanExpression.verify(message.leftExpression); - if (error) - return "leftExpression." + error; - } - if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) { - var error = $root.flyteidl.core.BooleanExpression.verify(message.rightExpression); - if (error) - return "rightExpression." + error; - } + if (message["var"] != null && message.hasOwnProperty("var")) + if (!$util.isString(message["var"])) + return "var: string expected"; + if (message.alias != null && message.hasOwnProperty("alias")) + if (!$util.isString(message.alias)) + return "alias: string expected"; return null; }; - /** - * LogicalOperator enum. - * @name flyteidl.core.ConjunctionExpression.LogicalOperator - * @enum {string} - * @property {number} AND=0 AND value - * @property {number} OR=1 OR value - */ - ConjunctionExpression.LogicalOperator = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "AND"] = 0; - values[valuesById[1] = "OR"] = 1; - return values; - })(); - - return ConjunctionExpression; + return Alias; })(); - core.Primitive = (function() { + core.Node = (function() { /** - * Properties of a Primitive. + * Properties of a Node. * @memberof flyteidl.core - * @interface IPrimitive - * @property {Long|null} [integer] Primitive integer - * @property {number|null} [floatValue] Primitive floatValue - * @property {string|null} [stringValue] Primitive stringValue - * @property {boolean|null} [boolean] Primitive boolean - * @property {google.protobuf.ITimestamp|null} [datetime] Primitive datetime - * @property {google.protobuf.IDuration|null} [duration] Primitive duration + * @interface INode + * @property {string|null} [id] Node id + * @property {flyteidl.core.INodeMetadata|null} [metadata] Node metadata + * @property {Array.|null} [inputs] Node inputs + * @property {Array.|null} [upstreamNodeIds] Node upstreamNodeIds + * @property {Array.|null} [outputAliases] Node outputAliases + * @property {flyteidl.core.ITaskNode|null} [taskNode] Node taskNode + * @property {flyteidl.core.IWorkflowNode|null} [workflowNode] Node workflowNode + * @property {flyteidl.core.IBranchNode|null} [branchNode] Node branchNode + * @property {flyteidl.core.IGateNode|null} [gateNode] Node gateNode + * @property {flyteidl.core.IArrayNode|null} [arrayNode] Node arrayNode */ /** - * Constructs a new Primitive. + * Constructs a new Node. * @memberof flyteidl.core - * @classdesc Represents a Primitive. - * @implements IPrimitive + * @classdesc Represents a Node. + * @implements INode * @constructor - * @param {flyteidl.core.IPrimitive=} [properties] Properties to set + * @param {flyteidl.core.INode=} [properties] Properties to set */ - function Primitive(properties) { + function Node(properties) { + this.inputs = []; + this.upstreamNodeIds = []; + this.outputAliases = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5380,141 +5064,202 @@ } /** - * Primitive integer. - * @member {Long} integer - * @memberof flyteidl.core.Primitive + * Node id. + * @member {string} id + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.integer = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + Node.prototype.id = ""; /** - * Primitive floatValue. - * @member {number} floatValue - * @memberof flyteidl.core.Primitive + * Node metadata. + * @member {flyteidl.core.INodeMetadata|null|undefined} metadata + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.floatValue = 0; + Node.prototype.metadata = null; /** - * Primitive stringValue. - * @member {string} stringValue - * @memberof flyteidl.core.Primitive + * Node inputs. + * @member {Array.} inputs + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.stringValue = ""; + Node.prototype.inputs = $util.emptyArray; /** - * Primitive boolean. - * @member {boolean} boolean - * @memberof flyteidl.core.Primitive + * Node upstreamNodeIds. + * @member {Array.} upstreamNodeIds + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.boolean = false; + Node.prototype.upstreamNodeIds = $util.emptyArray; /** - * Primitive datetime. - * @member {google.protobuf.ITimestamp|null|undefined} datetime - * @memberof flyteidl.core.Primitive + * Node outputAliases. + * @member {Array.} outputAliases + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.datetime = null; + Node.prototype.outputAliases = $util.emptyArray; /** - * Primitive duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.core.Primitive + * Node taskNode. + * @member {flyteidl.core.ITaskNode|null|undefined} taskNode + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.duration = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + Node.prototype.taskNode = null; /** - * Primitive value. - * @member {"integer"|"floatValue"|"stringValue"|"boolean"|"datetime"|"duration"|undefined} value - * @memberof flyteidl.core.Primitive + * Node workflowNode. + * @member {flyteidl.core.IWorkflowNode|null|undefined} workflowNode + * @memberof flyteidl.core.Node * @instance */ - Object.defineProperty(Primitive.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["integer", "floatValue", "stringValue", "boolean", "datetime", "duration"]), - set: $util.oneOfSetter($oneOfFields) - }); + Node.prototype.workflowNode = null; /** - * Creates a new Primitive instance using the specified properties. - * @function create - * @memberof flyteidl.core.Primitive - * @static - * @param {flyteidl.core.IPrimitive=} [properties] Properties to set - * @returns {flyteidl.core.Primitive} Primitive instance + * Node branchNode. + * @member {flyteidl.core.IBranchNode|null|undefined} branchNode + * @memberof flyteidl.core.Node + * @instance */ - Primitive.create = function create(properties) { - return new Primitive(properties); + Node.prototype.branchNode = null; + + /** + * Node gateNode. + * @member {flyteidl.core.IGateNode|null|undefined} gateNode + * @memberof flyteidl.core.Node + * @instance + */ + Node.prototype.gateNode = null; + + /** + * Node arrayNode. + * @member {flyteidl.core.IArrayNode|null|undefined} arrayNode + * @memberof flyteidl.core.Node + * @instance + */ + Node.prototype.arrayNode = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Node target. + * @member {"taskNode"|"workflowNode"|"branchNode"|"gateNode"|"arrayNode"|undefined} target + * @memberof flyteidl.core.Node + * @instance + */ + Object.defineProperty(Node.prototype, "target", { + get: $util.oneOfGetter($oneOfFields = ["taskNode", "workflowNode", "branchNode", "gateNode", "arrayNode"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Node instance using the specified properties. + * @function create + * @memberof flyteidl.core.Node + * @static + * @param {flyteidl.core.INode=} [properties] Properties to set + * @returns {flyteidl.core.Node} Node instance + */ + Node.create = function create(properties) { + return new Node(properties); }; /** - * Encodes the specified Primitive message. Does not implicitly {@link flyteidl.core.Primitive.verify|verify} messages. + * Encodes the specified Node message. Does not implicitly {@link flyteidl.core.Node.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Primitive + * @memberof flyteidl.core.Node * @static - * @param {flyteidl.core.IPrimitive} message Primitive message or plain object to encode + * @param {flyteidl.core.INode} message Node message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Primitive.encode = function encode(message, writer) { + Node.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.integer != null && message.hasOwnProperty("integer")) - writer.uint32(/* id 1, wireType 0 =*/8).int64(message.integer); - if (message.floatValue != null && message.hasOwnProperty("floatValue")) - writer.uint32(/* id 2, wireType 1 =*/17).double(message.floatValue); - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.stringValue); - if (message.boolean != null && message.hasOwnProperty("boolean")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.boolean); - if (message.datetime != null && message.hasOwnProperty("datetime")) - $root.google.protobuf.Timestamp.encode(message.datetime, 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.id != null && message.hasOwnProperty("id")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.NodeMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.inputs != null && message.inputs.length) + for (var i = 0; i < message.inputs.length; ++i) + $root.flyteidl.core.Binding.encode(message.inputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.upstreamNodeIds != null && message.upstreamNodeIds.length) + for (var i = 0; i < message.upstreamNodeIds.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.upstreamNodeIds[i]); + if (message.outputAliases != null && message.outputAliases.length) + for (var i = 0; i < message.outputAliases.length; ++i) + $root.flyteidl.core.Alias.encode(message.outputAliases[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.taskNode != null && message.hasOwnProperty("taskNode")) + $root.flyteidl.core.TaskNode.encode(message.taskNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) + $root.flyteidl.core.WorkflowNode.encode(message.workflowNode, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.branchNode != null && message.hasOwnProperty("branchNode")) + $root.flyteidl.core.BranchNode.encode(message.branchNode, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.gateNode != null && message.hasOwnProperty("gateNode")) + $root.flyteidl.core.GateNode.encode(message.gateNode, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) + $root.flyteidl.core.ArrayNode.encode(message.arrayNode, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); return writer; }; /** - * Decodes a Primitive message from the specified reader or buffer. + * Decodes a Node message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Primitive + * @memberof flyteidl.core.Node * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Primitive} Primitive + * @returns {flyteidl.core.Node} Node * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Primitive.decode = function decode(reader, length) { + Node.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.core.Primitive(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Node(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.integer = reader.int64(); + message.id = reader.string(); break; case 2: - message.floatValue = reader.double(); + message.metadata = $root.flyteidl.core.NodeMetadata.decode(reader, reader.uint32()); break; case 3: - message.stringValue = reader.string(); + if (!(message.inputs && message.inputs.length)) + message.inputs = []; + message.inputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); break; case 4: - message.boolean = reader.bool(); + if (!(message.upstreamNodeIds && message.upstreamNodeIds.length)) + message.upstreamNodeIds = []; + message.upstreamNodeIds.push(reader.string()); break; case 5: - message.datetime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + if (!(message.outputAliases && message.outputAliases.length)) + message.outputAliases = []; + message.outputAliases.push($root.flyteidl.core.Alias.decode(reader, reader.uint32())); break; case 6: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.taskNode = $root.flyteidl.core.TaskNode.decode(reader, reader.uint32()); + break; + case 7: + message.workflowNode = $root.flyteidl.core.WorkflowNode.decode(reader, reader.uint32()); + break; + case 8: + message.branchNode = $root.flyteidl.core.BranchNode.decode(reader, reader.uint32()); + break; + case 9: + message.gateNode = $root.flyteidl.core.GateNode.decode(reader, reader.uint32()); + break; + case 10: + message.arrayNode = $root.flyteidl.core.ArrayNode.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -5525,86 +5270,125 @@ }; /** - * Verifies a Primitive message. + * Verifies a Node message. * @function verify - * @memberof flyteidl.core.Primitive + * @memberof flyteidl.core.Node * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Primitive.verify = function verify(message) { + Node.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.integer != null && message.hasOwnProperty("integer")) { - properties.value = 1; - if (!$util.isInteger(message.integer) && !(message.integer && $util.isInteger(message.integer.low) && $util.isInteger(message.integer.high))) - return "integer: integer|Long expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.NodeMetadata.verify(message.metadata); + if (error) + return "metadata." + error; } - if (message.floatValue != null && message.hasOwnProperty("floatValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (typeof message.floatValue !== "number") - return "floatValue: number expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) { + if (!Array.isArray(message.inputs)) + return "inputs: array expected"; + for (var i = 0; i < message.inputs.length; ++i) { + var error = $root.flyteidl.core.Binding.verify(message.inputs[i]); + if (error) + return "inputs." + error; + } } - if (message.stringValue != null && message.hasOwnProperty("stringValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isString(message.stringValue)) - return "stringValue: string expected"; + if (message.upstreamNodeIds != null && message.hasOwnProperty("upstreamNodeIds")) { + if (!Array.isArray(message.upstreamNodeIds)) + return "upstreamNodeIds: array expected"; + for (var i = 0; i < message.upstreamNodeIds.length; ++i) + if (!$util.isString(message.upstreamNodeIds[i])) + return "upstreamNodeIds: string[] expected"; } - if (message.boolean != null && message.hasOwnProperty("boolean")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (typeof message.boolean !== "boolean") - return "boolean: boolean expected"; + if (message.outputAliases != null && message.hasOwnProperty("outputAliases")) { + if (!Array.isArray(message.outputAliases)) + return "outputAliases: array expected"; + for (var i = 0; i < message.outputAliases.length; ++i) { + var error = $root.flyteidl.core.Alias.verify(message.outputAliases[i]); + if (error) + return "outputAliases." + error; + } } - if (message.datetime != null && message.hasOwnProperty("datetime")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; + if (message.taskNode != null && message.hasOwnProperty("taskNode")) { + properties.target = 1; { - var error = $root.google.protobuf.Timestamp.verify(message.datetime); + var error = $root.flyteidl.core.TaskNode.verify(message.taskNode); if (error) - return "datetime." + error; + return "taskNode." + error; } } - if (message.duration != null && message.hasOwnProperty("duration")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; + if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; { - var error = $root.google.protobuf.Duration.verify(message.duration); + var error = $root.flyteidl.core.WorkflowNode.verify(message.workflowNode); if (error) - return "duration." + error; + return "workflowNode." + error; + } + } + if (message.branchNode != null && message.hasOwnProperty("branchNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.BranchNode.verify(message.branchNode); + if (error) + return "branchNode." + error; + } + } + if (message.gateNode != null && message.hasOwnProperty("gateNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.GateNode.verify(message.gateNode); + if (error) + return "gateNode." + error; + } + } + if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.ArrayNode.verify(message.arrayNode); + if (error) + return "arrayNode." + error; } } return null; }; - return Primitive; + return Node; })(); - core.Void = (function() { + core.WorkflowMetadata = (function() { /** - * Properties of a Void. + * Properties of a WorkflowMetadata. * @memberof flyteidl.core - * @interface IVoid + * @interface IWorkflowMetadata + * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] WorkflowMetadata qualityOfService + * @property {flyteidl.core.WorkflowMetadata.OnFailurePolicy|null} [onFailure] WorkflowMetadata onFailure + * @property {Object.|null} [tags] WorkflowMetadata tags */ /** - * Constructs a new Void. + * Constructs a new WorkflowMetadata. * @memberof flyteidl.core - * @classdesc Represents a Void. - * @implements IVoid + * @classdesc Represents a WorkflowMetadata. + * @implements IWorkflowMetadata * @constructor - * @param {flyteidl.core.IVoid=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set */ - function Void(properties) { + function WorkflowMetadata(properties) { + this.tags = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5612,50 +5396,95 @@ } /** - * Creates a new Void instance using the specified properties. + * WorkflowMetadata qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.core.WorkflowMetadata + * @instance + */ + WorkflowMetadata.prototype.qualityOfService = null; + + /** + * WorkflowMetadata onFailure. + * @member {flyteidl.core.WorkflowMetadata.OnFailurePolicy} onFailure + * @memberof flyteidl.core.WorkflowMetadata + * @instance + */ + WorkflowMetadata.prototype.onFailure = 0; + + /** + * WorkflowMetadata tags. + * @member {Object.} tags + * @memberof flyteidl.core.WorkflowMetadata + * @instance + */ + WorkflowMetadata.prototype.tags = $util.emptyObject; + + /** + * Creates a new WorkflowMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static - * @param {flyteidl.core.IVoid=} [properties] Properties to set - * @returns {flyteidl.core.Void} Void instance + * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata instance */ - Void.create = function create(properties) { - return new Void(properties); + WorkflowMetadata.create = function create(properties) { + return new WorkflowMetadata(properties); }; /** - * Encodes the specified Void message. Does not implicitly {@link flyteidl.core.Void.verify|verify} messages. + * Encodes the specified WorkflowMetadata message. Does not implicitly {@link flyteidl.core.WorkflowMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static - * @param {flyteidl.core.IVoid} message Void message or plain object to encode + * @param {flyteidl.core.IWorkflowMetadata} message WorkflowMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Void.encode = function encode(message, writer) { + WorkflowMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) + $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.onFailure != null && message.hasOwnProperty("onFailure")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.onFailure); + if (message.tags != null && message.hasOwnProperty("tags")) + for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim(); return writer; }; /** - * Decodes a Void message from the specified reader or buffer. + * Decodes a WorkflowMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Void} Void + * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Void.decode = function decode(reader, length) { + WorkflowMetadata.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.core.Void(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadata(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); + break; + case 2: + message.onFailure = reader.int32(); + break; + case 3: + reader.skip().pos++; + if (message.tags === $util.emptyObject) + message.tags = {}; + key = reader.string(); + reader.pos++; + message.tags[key] = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -5665,41 +5494,75 @@ }; /** - * Verifies a Void message. + * Verifies a WorkflowMetadata message. * @function verify - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Void.verify = function verify(message) { + WorkflowMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { + var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); + if (error) + return "qualityOfService." + error; + } + if (message.onFailure != null && message.hasOwnProperty("onFailure")) + switch (message.onFailure) { + default: + return "onFailure: enum value expected"; + case 0: + case 1: + break; + } + if (message.tags != null && message.hasOwnProperty("tags")) { + if (!$util.isObject(message.tags)) + return "tags: object expected"; + var key = Object.keys(message.tags); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.tags[key[i]])) + return "tags: string{k:string} expected"; + } return null; }; - return Void; + /** + * OnFailurePolicy enum. + * @name flyteidl.core.WorkflowMetadata.OnFailurePolicy + * @enum {string} + * @property {number} FAIL_IMMEDIATELY=0 FAIL_IMMEDIATELY value + * @property {number} FAIL_AFTER_EXECUTABLE_NODES_COMPLETE=1 FAIL_AFTER_EXECUTABLE_NODES_COMPLETE value + */ + WorkflowMetadata.OnFailurePolicy = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "FAIL_IMMEDIATELY"] = 0; + values[valuesById[1] = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE"] = 1; + return values; + })(); + + return WorkflowMetadata; })(); - core.Blob = (function() { + core.WorkflowMetadataDefaults = (function() { /** - * Properties of a Blob. + * Properties of a WorkflowMetadataDefaults. * @memberof flyteidl.core - * @interface IBlob - * @property {flyteidl.core.IBlobMetadata|null} [metadata] Blob metadata - * @property {string|null} [uri] Blob uri + * @interface IWorkflowMetadataDefaults + * @property {boolean|null} [interruptible] WorkflowMetadataDefaults interruptible */ /** - * Constructs a new Blob. + * Constructs a new WorkflowMetadataDefaults. * @memberof flyteidl.core - * @classdesc Represents a Blob. - * @implements IBlob + * @classdesc Represents a WorkflowMetadataDefaults. + * @implements IWorkflowMetadataDefaults * @constructor - * @param {flyteidl.core.IBlob=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set */ - function Blob(properties) { + function WorkflowMetadataDefaults(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5707,75 +5570,62 @@ } /** - * Blob metadata. - * @member {flyteidl.core.IBlobMetadata|null|undefined} metadata - * @memberof flyteidl.core.Blob - * @instance - */ - Blob.prototype.metadata = null; - - /** - * Blob uri. - * @member {string} uri - * @memberof flyteidl.core.Blob + * WorkflowMetadataDefaults interruptible. + * @member {boolean} interruptible + * @memberof flyteidl.core.WorkflowMetadataDefaults * @instance */ - Blob.prototype.uri = ""; + WorkflowMetadataDefaults.prototype.interruptible = false; /** - * Creates a new Blob instance using the specified properties. + * Creates a new WorkflowMetadataDefaults instance using the specified properties. * @function create - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static - * @param {flyteidl.core.IBlob=} [properties] Properties to set - * @returns {flyteidl.core.Blob} Blob instance + * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults instance */ - Blob.create = function create(properties) { - return new Blob(properties); + WorkflowMetadataDefaults.create = function create(properties) { + return new WorkflowMetadataDefaults(properties); }; /** - * Encodes the specified Blob message. Does not implicitly {@link flyteidl.core.Blob.verify|verify} messages. + * Encodes the specified WorkflowMetadataDefaults message. Does not implicitly {@link flyteidl.core.WorkflowMetadataDefaults.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static - * @param {flyteidl.core.IBlob} message Blob message or plain object to encode + * @param {flyteidl.core.IWorkflowMetadataDefaults} message WorkflowMetadataDefaults message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Blob.encode = function encode(message, writer) { + WorkflowMetadataDefaults.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.BlobMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.interruptible); return writer; }; /** - * Decodes a Blob message from the specified reader or buffer. + * Decodes a WorkflowMetadataDefaults message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Blob} Blob + * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Blob.decode = function decode(reader, length) { + WorkflowMetadataDefaults.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.core.Blob(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadataDefaults(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.metadata = $root.flyteidl.core.BlobMetadata.decode(reader, reader.uint32()); - break; - case 3: - message.uri = reader.string(); + message.interruptible = reader.bool(); break; default: reader.skipType(tag & 7); @@ -5786,48 +5636,51 @@ }; /** - * Verifies a Blob message. + * Verifies a WorkflowMetadataDefaults message. * @function verify - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Blob.verify = function verify(message) { + WorkflowMetadataDefaults.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.BlobMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + if (typeof message.interruptible !== "boolean") + return "interruptible: boolean expected"; return null; }; - return Blob; + return WorkflowMetadataDefaults; })(); - core.BlobMetadata = (function() { + core.WorkflowTemplate = (function() { /** - * Properties of a BlobMetadata. + * Properties of a WorkflowTemplate. * @memberof flyteidl.core - * @interface IBlobMetadata - * @property {flyteidl.core.IBlobType|null} [type] BlobMetadata type + * @interface IWorkflowTemplate + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowTemplate id + * @property {flyteidl.core.IWorkflowMetadata|null} [metadata] WorkflowTemplate metadata + * @property {flyteidl.core.ITypedInterface|null} ["interface"] WorkflowTemplate interface + * @property {Array.|null} [nodes] WorkflowTemplate nodes + * @property {Array.|null} [outputs] WorkflowTemplate outputs + * @property {flyteidl.core.INode|null} [failureNode] WorkflowTemplate failureNode + * @property {flyteidl.core.IWorkflowMetadataDefaults|null} [metadataDefaults] WorkflowTemplate metadataDefaults */ /** - * Constructs a new BlobMetadata. + * Constructs a new WorkflowTemplate. * @memberof flyteidl.core - * @classdesc Represents a BlobMetadata. - * @implements IBlobMetadata + * @classdesc Represents a WorkflowTemplate. + * @implements IWorkflowTemplate * @constructor - * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set */ - function BlobMetadata(properties) { + function WorkflowTemplate(properties) { + this.nodes = []; + this.outputs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5835,62 +5688,146 @@ } /** - * BlobMetadata type. - * @member {flyteidl.core.IBlobType|null|undefined} type - * @memberof flyteidl.core.BlobMetadata + * WorkflowTemplate id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.core.WorkflowTemplate * @instance */ - BlobMetadata.prototype.type = null; + WorkflowTemplate.prototype.id = null; /** - * Creates a new BlobMetadata instance using the specified properties. - * @function create - * @memberof flyteidl.core.BlobMetadata - * @static - * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set - * @returns {flyteidl.core.BlobMetadata} BlobMetadata instance - */ - BlobMetadata.create = function create(properties) { - return new BlobMetadata(properties); + * WorkflowTemplate metadata. + * @member {flyteidl.core.IWorkflowMetadata|null|undefined} metadata + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.metadata = null; + + /** + * WorkflowTemplate interface. + * @member {flyteidl.core.ITypedInterface|null|undefined} interface + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype["interface"] = null; + + /** + * WorkflowTemplate nodes. + * @member {Array.} nodes + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.nodes = $util.emptyArray; + + /** + * WorkflowTemplate outputs. + * @member {Array.} outputs + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.outputs = $util.emptyArray; + + /** + * WorkflowTemplate failureNode. + * @member {flyteidl.core.INode|null|undefined} failureNode + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.failureNode = null; + + /** + * WorkflowTemplate metadataDefaults. + * @member {flyteidl.core.IWorkflowMetadataDefaults|null|undefined} metadataDefaults + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.metadataDefaults = null; + + /** + * Creates a new WorkflowTemplate instance using the specified properties. + * @function create + * @memberof flyteidl.core.WorkflowTemplate + * @static + * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate instance + */ + WorkflowTemplate.create = function create(properties) { + return new WorkflowTemplate(properties); }; /** - * Encodes the specified BlobMetadata message. Does not implicitly {@link flyteidl.core.BlobMetadata.verify|verify} messages. + * Encodes the specified WorkflowTemplate message. Does not implicitly {@link flyteidl.core.WorkflowTemplate.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BlobMetadata + * @memberof flyteidl.core.WorkflowTemplate * @static - * @param {flyteidl.core.IBlobMetadata} message BlobMetadata message or plain object to encode + * @param {flyteidl.core.IWorkflowTemplate} message WorkflowTemplate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BlobMetadata.encode = function encode(message, writer) { + WorkflowTemplate.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.BlobType.encode(message.type, 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.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.WorkflowMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message["interface"] != null && message.hasOwnProperty("interface")) + $root.flyteidl.core.TypedInterface.encode(message["interface"], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.nodes != null && message.nodes.length) + for (var i = 0; i < message.nodes.length; ++i) + $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.outputs != null && message.outputs.length) + for (var i = 0; i < message.outputs.length; ++i) + $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.failureNode != null && message.hasOwnProperty("failureNode")) + $root.flyteidl.core.Node.encode(message.failureNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) + $root.flyteidl.core.WorkflowMetadataDefaults.encode(message.metadataDefaults, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); return writer; }; /** - * Decodes a BlobMetadata message from the specified reader or buffer. + * Decodes a WorkflowTemplate message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BlobMetadata + * @memberof flyteidl.core.WorkflowTemplate * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BlobMetadata} BlobMetadata + * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BlobMetadata.decode = function decode(reader, length) { + WorkflowTemplate.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.core.BlobMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowTemplate(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.type = $root.flyteidl.core.BlobType.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.metadata = $root.flyteidl.core.WorkflowMetadata.decode(reader, reader.uint32()); + break; + case 3: + message["interface"] = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); + break; + case 4: + if (!(message.nodes && message.nodes.length)) + message.nodes = []; + message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); + break; + case 5: + if (!(message.outputs && message.outputs.length)) + message.outputs = []; + message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); + break; + case 6: + message.failureNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); + break; + case 7: + message.metadataDefaults = $root.flyteidl.core.WorkflowMetadataDefaults.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -5901,46 +5838,83 @@ }; /** - * Verifies a BlobMetadata message. + * Verifies a WorkflowTemplate message. * @function verify - * @memberof flyteidl.core.BlobMetadata + * @memberof flyteidl.core.WorkflowTemplate * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BlobMetadata.verify = function verify(message) { + WorkflowTemplate.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.BlobType.verify(message.type); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "type." + error; + return "id." + error; + } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.WorkflowMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + if (message["interface"] != null && message.hasOwnProperty("interface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message["interface"]); + if (error) + return "interface." + error; + } + if (message.nodes != null && message.hasOwnProperty("nodes")) { + if (!Array.isArray(message.nodes)) + return "nodes: array expected"; + for (var i = 0; i < message.nodes.length; ++i) { + var error = $root.flyteidl.core.Node.verify(message.nodes[i]); + if (error) + return "nodes." + error; + } + } + if (message.outputs != null && message.hasOwnProperty("outputs")) { + if (!Array.isArray(message.outputs)) + return "outputs: array expected"; + for (var i = 0; i < message.outputs.length; ++i) { + var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); + if (error) + return "outputs." + error; + } + } + if (message.failureNode != null && message.hasOwnProperty("failureNode")) { + var error = $root.flyteidl.core.Node.verify(message.failureNode); + if (error) + return "failureNode." + error; + } + if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) { + var error = $root.flyteidl.core.WorkflowMetadataDefaults.verify(message.metadataDefaults); + if (error) + return "metadataDefaults." + error; } return null; }; - return BlobMetadata; + return WorkflowTemplate; })(); - core.Binary = (function() { + core.TaskNodeOverrides = (function() { /** - * Properties of a Binary. + * Properties of a TaskNodeOverrides. * @memberof flyteidl.core - * @interface IBinary - * @property {Uint8Array|null} [value] Binary value - * @property {string|null} [tag] Binary tag + * @interface ITaskNodeOverrides + * @property {flyteidl.core.IResources|null} [resources] TaskNodeOverrides resources */ /** - * Constructs a new Binary. + * Constructs a new TaskNodeOverrides. * @memberof flyteidl.core - * @classdesc Represents a Binary. - * @implements IBinary + * @classdesc Represents a TaskNodeOverrides. + * @implements ITaskNodeOverrides * @constructor - * @param {flyteidl.core.IBinary=} [properties] Properties to set + * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set */ - function Binary(properties) { + function TaskNodeOverrides(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5948,75 +5922,62 @@ } /** - * Binary value. - * @member {Uint8Array} value - * @memberof flyteidl.core.Binary - * @instance - */ - Binary.prototype.value = $util.newBuffer([]); - - /** - * Binary tag. - * @member {string} tag - * @memberof flyteidl.core.Binary + * TaskNodeOverrides resources. + * @member {flyteidl.core.IResources|null|undefined} resources + * @memberof flyteidl.core.TaskNodeOverrides * @instance */ - Binary.prototype.tag = ""; + TaskNodeOverrides.prototype.resources = null; /** - * Creates a new Binary instance using the specified properties. + * Creates a new TaskNodeOverrides instance using the specified properties. * @function create - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static - * @param {flyteidl.core.IBinary=} [properties] Properties to set - * @returns {flyteidl.core.Binary} Binary instance + * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set + * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides instance */ - Binary.create = function create(properties) { - return new Binary(properties); + TaskNodeOverrides.create = function create(properties) { + return new TaskNodeOverrides(properties); }; /** - * Encodes the specified Binary message. Does not implicitly {@link flyteidl.core.Binary.verify|verify} messages. + * Encodes the specified TaskNodeOverrides message. Does not implicitly {@link flyteidl.core.TaskNodeOverrides.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static - * @param {flyteidl.core.IBinary} message Binary message or plain object to encode + * @param {flyteidl.core.ITaskNodeOverrides} message TaskNodeOverrides message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Binary.encode = function encode(message, writer) { + TaskNodeOverrides.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value); - if (message.tag != null && message.hasOwnProperty("tag")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.tag); + if (message.resources != null && message.hasOwnProperty("resources")) + $root.flyteidl.core.Resources.encode(message.resources, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a Binary message from the specified reader or buffer. + * Decodes a TaskNodeOverrides message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Binary} Binary + * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Binary.decode = function decode(reader, length) { + TaskNodeOverrides.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.core.Binary(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskNodeOverrides(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.value = reader.bytes(); - break; - case 2: - message.tag = reader.string(); + message.resources = $root.flyteidl.core.Resources.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6027,47 +5988,47 @@ }; /** - * Verifies a Binary message. + * Verifies a TaskNodeOverrides message. * @function verify - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Binary.verify = function verify(message) { + TaskNodeOverrides.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) - return "value: buffer expected"; - if (message.tag != null && message.hasOwnProperty("tag")) - if (!$util.isString(message.tag)) - return "tag: string expected"; + if (message.resources != null && message.hasOwnProperty("resources")) { + var error = $root.flyteidl.core.Resources.verify(message.resources); + if (error) + return "resources." + error; + } return null; }; - return Binary; + return TaskNodeOverrides; })(); - core.Schema = (function() { + core.ComparisonExpression = (function() { /** - * Properties of a Schema. + * Properties of a ComparisonExpression. * @memberof flyteidl.core - * @interface ISchema - * @property {string|null} [uri] Schema uri - * @property {flyteidl.core.ISchemaType|null} [type] Schema type + * @interface IComparisonExpression + * @property {flyteidl.core.ComparisonExpression.Operator|null} [operator] ComparisonExpression operator + * @property {flyteidl.core.IOperand|null} [leftValue] ComparisonExpression leftValue + * @property {flyteidl.core.IOperand|null} [rightValue] ComparisonExpression rightValue */ /** - * Constructs a new Schema. + * Constructs a new ComparisonExpression. * @memberof flyteidl.core - * @classdesc Represents a Schema. - * @implements ISchema + * @classdesc Represents a ComparisonExpression. + * @implements IComparisonExpression * @constructor - * @param {flyteidl.core.ISchema=} [properties] Properties to set + * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set */ - function Schema(properties) { + function ComparisonExpression(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6075,75 +6036,88 @@ } /** - * Schema uri. - * @member {string} uri - * @memberof flyteidl.core.Schema + * ComparisonExpression operator. + * @member {flyteidl.core.ComparisonExpression.Operator} operator + * @memberof flyteidl.core.ComparisonExpression * @instance */ - Schema.prototype.uri = ""; + ComparisonExpression.prototype.operator = 0; /** - * Schema type. - * @member {flyteidl.core.ISchemaType|null|undefined} type - * @memberof flyteidl.core.Schema + * ComparisonExpression leftValue. + * @member {flyteidl.core.IOperand|null|undefined} leftValue + * @memberof flyteidl.core.ComparisonExpression * @instance */ - Schema.prototype.type = null; + ComparisonExpression.prototype.leftValue = null; /** - * Creates a new Schema instance using the specified properties. + * ComparisonExpression rightValue. + * @member {flyteidl.core.IOperand|null|undefined} rightValue + * @memberof flyteidl.core.ComparisonExpression + * @instance + */ + ComparisonExpression.prototype.rightValue = null; + + /** + * Creates a new ComparisonExpression instance using the specified properties. * @function create - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static - * @param {flyteidl.core.ISchema=} [properties] Properties to set - * @returns {flyteidl.core.Schema} Schema instance + * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set + * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression instance */ - Schema.create = function create(properties) { - return new Schema(properties); + ComparisonExpression.create = function create(properties) { + return new ComparisonExpression(properties); }; /** - * Encodes the specified Schema message. Does not implicitly {@link flyteidl.core.Schema.verify|verify} messages. + * Encodes the specified ComparisonExpression message. Does not implicitly {@link flyteidl.core.ComparisonExpression.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static - * @param {flyteidl.core.ISchema} message Schema message or plain object to encode + * @param {flyteidl.core.IComparisonExpression} message ComparisonExpression message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Schema.encode = function encode(message, writer) { + ComparisonExpression.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.SchemaType.encode(message.type, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.operator != null && message.hasOwnProperty("operator")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); + if (message.leftValue != null && message.hasOwnProperty("leftValue")) + $root.flyteidl.core.Operand.encode(message.leftValue, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.rightValue != null && message.hasOwnProperty("rightValue")) + $root.flyteidl.core.Operand.encode(message.rightValue, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a Schema message from the specified reader or buffer. + * Decodes a ComparisonExpression message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Schema} Schema + * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Schema.decode = function decode(reader, length) { + ComparisonExpression.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.core.Schema(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ComparisonExpression(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.uri = reader.string(); + message.operator = reader.int32(); + break; + case 2: + message.leftValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); break; case 3: - message.type = $root.flyteidl.core.SchemaType.decode(reader, reader.uint32()); + message.rightValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6154,49 +6128,86 @@ }; /** - * Verifies a Schema message. + * Verifies a ComparisonExpression message. * @function verify - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Schema.verify = function verify(message) { + ComparisonExpression.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.SchemaType.verify(message.type); + if (message.operator != null && message.hasOwnProperty("operator")) + switch (message.operator) { + default: + return "operator: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + if (message.leftValue != null && message.hasOwnProperty("leftValue")) { + var error = $root.flyteidl.core.Operand.verify(message.leftValue); if (error) - return "type." + error; + return "leftValue." + error; + } + if (message.rightValue != null && message.hasOwnProperty("rightValue")) { + var error = $root.flyteidl.core.Operand.verify(message.rightValue); + if (error) + return "rightValue." + error; } return null; }; - return Schema; + /** + * Operator enum. + * @name flyteidl.core.ComparisonExpression.Operator + * @enum {string} + * @property {number} EQ=0 EQ value + * @property {number} NEQ=1 NEQ value + * @property {number} GT=2 GT value + * @property {number} GTE=3 GTE value + * @property {number} LT=4 LT value + * @property {number} LTE=5 LTE value + */ + ComparisonExpression.Operator = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "EQ"] = 0; + values[valuesById[1] = "NEQ"] = 1; + values[valuesById[2] = "GT"] = 2; + values[valuesById[3] = "GTE"] = 3; + values[valuesById[4] = "LT"] = 4; + values[valuesById[5] = "LTE"] = 5; + return values; + })(); + + return ComparisonExpression; })(); - core.Union = (function() { + core.Operand = (function() { /** - * Properties of an Union. + * Properties of an Operand. * @memberof flyteidl.core - * @interface IUnion - * @property {flyteidl.core.ILiteral|null} [value] Union value - * @property {flyteidl.core.ILiteralType|null} [type] Union type + * @interface IOperand + * @property {flyteidl.core.IPrimitive|null} [primitive] Operand primitive + * @property {string|null} ["var"] Operand var + * @property {flyteidl.core.IScalar|null} [scalar] Operand scalar */ /** - * Constructs a new Union. + * Constructs a new Operand. * @memberof flyteidl.core - * @classdesc Represents an Union. - * @implements IUnion + * @classdesc Represents an Operand. + * @implements IOperand * @constructor - * @param {flyteidl.core.IUnion=} [properties] Properties to set + * @param {flyteidl.core.IOperand=} [properties] Properties to set */ - function Union(properties) { + function Operand(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6204,75 +6215,102 @@ } /** - * Union value. - * @member {flyteidl.core.ILiteral|null|undefined} value - * @memberof flyteidl.core.Union + * Operand primitive. + * @member {flyteidl.core.IPrimitive|null|undefined} primitive + * @memberof flyteidl.core.Operand * @instance */ - Union.prototype.value = null; + Operand.prototype.primitive = null; /** - * Union type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.core.Union + * Operand var. + * @member {string} var + * @memberof flyteidl.core.Operand * @instance */ - Union.prototype.type = null; + Operand.prototype["var"] = ""; /** - * Creates a new Union instance using the specified properties. + * Operand scalar. + * @member {flyteidl.core.IScalar|null|undefined} scalar + * @memberof flyteidl.core.Operand + * @instance + */ + Operand.prototype.scalar = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Operand val. + * @member {"primitive"|"var"|"scalar"|undefined} val + * @memberof flyteidl.core.Operand + * @instance + */ + Object.defineProperty(Operand.prototype, "val", { + get: $util.oneOfGetter($oneOfFields = ["primitive", "var", "scalar"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Operand instance using the specified properties. * @function create - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static - * @param {flyteidl.core.IUnion=} [properties] Properties to set - * @returns {flyteidl.core.Union} Union instance + * @param {flyteidl.core.IOperand=} [properties] Properties to set + * @returns {flyteidl.core.Operand} Operand instance */ - Union.create = function create(properties) { - return new Union(properties); + Operand.create = function create(properties) { + return new Operand(properties); }; /** - * Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages. + * Encodes the specified Operand message. Does not implicitly {@link flyteidl.core.Operand.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static - * @param {flyteidl.core.IUnion} message Union message or plain object to encode + * @param {flyteidl.core.IOperand} message Operand message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Union.encode = function encode(message, writer) { + Operand.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - $root.flyteidl.core.Literal.encode(message.value, 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.primitive != null && message.hasOwnProperty("primitive")) + $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message["var"]); + if (message.scalar != null && message.hasOwnProperty("scalar")) + $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes an Union message from the specified reader or buffer. + * Decodes an Operand message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Union} Union + * @returns {flyteidl.core.Operand} Operand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Union.decode = function decode(reader, length) { + Operand.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.core.Union(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Operand(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + message["var"] = reader.string(); + break; + case 3: + message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6283,50 +6321,67 @@ }; /** - * Verifies an Union message. + * Verifies an Operand message. * @function verify - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Union.verify = function verify(message) { + Operand.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.flyteidl.core.Literal.verify(message.value); - if (error) - return "value." + error; + var properties = {}; + if (message.primitive != null && message.hasOwnProperty("primitive")) { + properties.val = 1; + { + var error = $root.flyteidl.core.Primitive.verify(message.primitive); + if (error) + return "primitive." + error; + } } - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.LiteralType.verify(message.type); - if (error) - return "type." + error; + if (message["var"] != null && message.hasOwnProperty("var")) { + if (properties.val === 1) + return "val: multiple values"; + properties.val = 1; + if (!$util.isString(message["var"])) + return "var: string expected"; + } + if (message.scalar != null && message.hasOwnProperty("scalar")) { + if (properties.val === 1) + return "val: multiple values"; + properties.val = 1; + { + var error = $root.flyteidl.core.Scalar.verify(message.scalar); + if (error) + return "scalar." + error; + } } return null; }; - return Union; + return Operand; })(); - core.StructuredDatasetMetadata = (function() { + core.BooleanExpression = (function() { /** - * Properties of a StructuredDatasetMetadata. + * Properties of a BooleanExpression. * @memberof flyteidl.core - * @interface IStructuredDatasetMetadata - * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] StructuredDatasetMetadata structuredDatasetType + * @interface IBooleanExpression + * @property {flyteidl.core.IConjunctionExpression|null} [conjunction] BooleanExpression conjunction + * @property {flyteidl.core.IComparisonExpression|null} [comparison] BooleanExpression comparison */ /** - * Constructs a new StructuredDatasetMetadata. + * Constructs a new BooleanExpression. * @memberof flyteidl.core - * @classdesc Represents a StructuredDatasetMetadata. - * @implements IStructuredDatasetMetadata + * @classdesc Represents a BooleanExpression. + * @implements IBooleanExpression * @constructor - * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set + * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set */ - function StructuredDatasetMetadata(properties) { + function BooleanExpression(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6334,62 +6389,89 @@ } /** - * StructuredDatasetMetadata structuredDatasetType. - * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType - * @memberof flyteidl.core.StructuredDatasetMetadata + * BooleanExpression conjunction. + * @member {flyteidl.core.IConjunctionExpression|null|undefined} conjunction + * @memberof flyteidl.core.BooleanExpression * @instance */ - StructuredDatasetMetadata.prototype.structuredDatasetType = null; + BooleanExpression.prototype.conjunction = null; /** - * Creates a new StructuredDatasetMetadata instance using the specified properties. + * BooleanExpression comparison. + * @member {flyteidl.core.IComparisonExpression|null|undefined} comparison + * @memberof flyteidl.core.BooleanExpression + * @instance + */ + BooleanExpression.prototype.comparison = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * BooleanExpression expr. + * @member {"conjunction"|"comparison"|undefined} expr + * @memberof flyteidl.core.BooleanExpression + * @instance + */ + Object.defineProperty(BooleanExpression.prototype, "expr", { + get: $util.oneOfGetter($oneOfFields = ["conjunction", "comparison"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new BooleanExpression instance using the specified properties. * @function create - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static - * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set - * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata instance + * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set + * @returns {flyteidl.core.BooleanExpression} BooleanExpression instance */ - StructuredDatasetMetadata.create = function create(properties) { - return new StructuredDatasetMetadata(properties); + BooleanExpression.create = function create(properties) { + return new BooleanExpression(properties); }; /** - * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages. + * Encodes the specified BooleanExpression message. Does not implicitly {@link flyteidl.core.BooleanExpression.verify|verify} messages. * @function encode - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static - * @param {flyteidl.core.IStructuredDatasetMetadata} message StructuredDatasetMetadata message or plain object to encode + * @param {flyteidl.core.IBooleanExpression} message BooleanExpression message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - StructuredDatasetMetadata.encode = function encode(message, writer) { + BooleanExpression.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) - $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.conjunction != null && message.hasOwnProperty("conjunction")) + $root.flyteidl.core.ConjunctionExpression.encode(message.conjunction, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.comparison != null && message.hasOwnProperty("comparison")) + $root.flyteidl.core.ComparisonExpression.encode(message.comparison, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a StructuredDatasetMetadata message from the specified reader or buffer. + * Decodes a BooleanExpression message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata + * @returns {flyteidl.core.BooleanExpression} BooleanExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - StructuredDatasetMetadata.decode = function decode(reader, length) { + BooleanExpression.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.core.StructuredDatasetMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BooleanExpression(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32()); + message.conjunction = $root.flyteidl.core.ConjunctionExpression.decode(reader, reader.uint32()); + break; + case 2: + message.comparison = $root.flyteidl.core.ComparisonExpression.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6400,46 +6482,61 @@ }; /** - * Verifies a StructuredDatasetMetadata message. + * Verifies a BooleanExpression message. * @function verify - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - StructuredDatasetMetadata.verify = function verify(message) { + BooleanExpression.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) { - var error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType); - if (error) - return "structuredDatasetType." + error; + var properties = {}; + if (message.conjunction != null && message.hasOwnProperty("conjunction")) { + properties.expr = 1; + { + var error = $root.flyteidl.core.ConjunctionExpression.verify(message.conjunction); + if (error) + return "conjunction." + error; + } + } + if (message.comparison != null && message.hasOwnProperty("comparison")) { + if (properties.expr === 1) + return "expr: multiple values"; + properties.expr = 1; + { + var error = $root.flyteidl.core.ComparisonExpression.verify(message.comparison); + if (error) + return "comparison." + error; + } } return null; }; - return StructuredDatasetMetadata; + return BooleanExpression; })(); - core.StructuredDataset = (function() { + core.ConjunctionExpression = (function() { /** - * Properties of a StructuredDataset. + * Properties of a ConjunctionExpression. * @memberof flyteidl.core - * @interface IStructuredDataset - * @property {string|null} [uri] StructuredDataset uri - * @property {flyteidl.core.IStructuredDatasetMetadata|null} [metadata] StructuredDataset metadata + * @interface IConjunctionExpression + * @property {flyteidl.core.ConjunctionExpression.LogicalOperator|null} [operator] ConjunctionExpression operator + * @property {flyteidl.core.IBooleanExpression|null} [leftExpression] ConjunctionExpression leftExpression + * @property {flyteidl.core.IBooleanExpression|null} [rightExpression] ConjunctionExpression rightExpression */ /** - * Constructs a new StructuredDataset. + * Constructs a new ConjunctionExpression. * @memberof flyteidl.core - * @classdesc Represents a StructuredDataset. - * @implements IStructuredDataset + * @classdesc Represents a ConjunctionExpression. + * @implements IConjunctionExpression * @constructor - * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set + * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set */ - function StructuredDataset(properties) { + function ConjunctionExpression(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6447,75 +6544,88 @@ } /** - * StructuredDataset uri. - * @member {string} uri - * @memberof flyteidl.core.StructuredDataset + * ConjunctionExpression operator. + * @member {flyteidl.core.ConjunctionExpression.LogicalOperator} operator + * @memberof flyteidl.core.ConjunctionExpression * @instance */ - StructuredDataset.prototype.uri = ""; + ConjunctionExpression.prototype.operator = 0; /** - * StructuredDataset metadata. - * @member {flyteidl.core.IStructuredDatasetMetadata|null|undefined} metadata - * @memberof flyteidl.core.StructuredDataset + * ConjunctionExpression leftExpression. + * @member {flyteidl.core.IBooleanExpression|null|undefined} leftExpression + * @memberof flyteidl.core.ConjunctionExpression * @instance */ - StructuredDataset.prototype.metadata = null; + ConjunctionExpression.prototype.leftExpression = null; /** - * Creates a new StructuredDataset instance using the specified properties. + * ConjunctionExpression rightExpression. + * @member {flyteidl.core.IBooleanExpression|null|undefined} rightExpression + * @memberof flyteidl.core.ConjunctionExpression + * @instance + */ + ConjunctionExpression.prototype.rightExpression = null; + + /** + * Creates a new ConjunctionExpression instance using the specified properties. * @function create - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static - * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set - * @returns {flyteidl.core.StructuredDataset} StructuredDataset instance + * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set + * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression instance */ - StructuredDataset.create = function create(properties) { - return new StructuredDataset(properties); + ConjunctionExpression.create = function create(properties) { + return new ConjunctionExpression(properties); }; /** - * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages. + * Encodes the specified ConjunctionExpression message. Does not implicitly {@link flyteidl.core.ConjunctionExpression.verify|verify} messages. * @function encode - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static - * @param {flyteidl.core.IStructuredDataset} message StructuredDataset message or plain object to encode + * @param {flyteidl.core.IConjunctionExpression} message ConjunctionExpression message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - StructuredDataset.encode = function encode(message, writer) { + ConjunctionExpression.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.StructuredDatasetMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.operator != null && message.hasOwnProperty("operator")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); + if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) + $root.flyteidl.core.BooleanExpression.encode(message.leftExpression, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) + $root.flyteidl.core.BooleanExpression.encode(message.rightExpression, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a StructuredDataset message from the specified reader or buffer. + * Decodes a ConjunctionExpression message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.StructuredDataset} StructuredDataset + * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - StructuredDataset.decode = function decode(reader, length) { + ConjunctionExpression.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.core.StructuredDataset(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConjunctionExpression(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.uri = reader.string(); + message.operator = reader.int32(); break; case 2: - message.metadata = $root.flyteidl.core.StructuredDatasetMetadata.decode(reader, reader.uint32()); + message.leftExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); + break; + case 3: + message.rightExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6526,56 +6636,77 @@ }; /** - * Verifies a StructuredDataset message. + * Verifies a ConjunctionExpression message. * @function verify - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - StructuredDataset.verify = function verify(message) { + ConjunctionExpression.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.StructuredDatasetMetadata.verify(message.metadata); + if (message.operator != null && message.hasOwnProperty("operator")) + switch (message.operator) { + default: + return "operator: enum value expected"; + case 0: + case 1: + break; + } + if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) { + var error = $root.flyteidl.core.BooleanExpression.verify(message.leftExpression); if (error) - return "metadata." + error; + return "leftExpression." + error; + } + if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) { + var error = $root.flyteidl.core.BooleanExpression.verify(message.rightExpression); + if (error) + return "rightExpression." + error; } return null; }; - return StructuredDataset; + /** + * LogicalOperator enum. + * @name flyteidl.core.ConjunctionExpression.LogicalOperator + * @enum {string} + * @property {number} AND=0 AND value + * @property {number} OR=1 OR value + */ + ConjunctionExpression.LogicalOperator = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "AND"] = 0; + values[valuesById[1] = "OR"] = 1; + return values; + })(); + + return ConjunctionExpression; })(); - core.Scalar = (function() { + core.Primitive = (function() { /** - * Properties of a Scalar. + * Properties of a Primitive. * @memberof flyteidl.core - * @interface IScalar - * @property {flyteidl.core.IPrimitive|null} [primitive] Scalar primitive - * @property {flyteidl.core.IBlob|null} [blob] Scalar blob - * @property {flyteidl.core.IBinary|null} [binary] Scalar binary - * @property {flyteidl.core.ISchema|null} [schema] Scalar schema - * @property {flyteidl.core.IVoid|null} [noneType] Scalar noneType - * @property {flyteidl.core.IError|null} [error] Scalar error - * @property {google.protobuf.IStruct|null} [generic] Scalar generic - * @property {flyteidl.core.IStructuredDataset|null} [structuredDataset] Scalar structuredDataset - * @property {flyteidl.core.IUnion|null} [union] Scalar union + * @interface IPrimitive + * @property {Long|null} [integer] Primitive integer + * @property {number|null} [floatValue] Primitive floatValue + * @property {string|null} [stringValue] Primitive stringValue + * @property {boolean|null} [boolean] Primitive boolean + * @property {google.protobuf.ITimestamp|null} [datetime] Primitive datetime + * @property {google.protobuf.IDuration|null} [duration] Primitive duration */ /** - * Constructs a new Scalar. + * Constructs a new Primitive. * @memberof flyteidl.core - * @classdesc Represents a Scalar. - * @implements IScalar + * @classdesc Represents a Primitive. + * @implements IPrimitive * @constructor - * @param {flyteidl.core.IScalar=} [properties] Properties to set + * @param {flyteidl.core.IPrimitive=} [properties] Properties to set */ - function Scalar(properties) { + function Primitive(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6583,180 +6714,141 @@ } /** - * Scalar primitive. - * @member {flyteidl.core.IPrimitive|null|undefined} primitive - * @memberof flyteidl.core.Scalar - * @instance - */ - Scalar.prototype.primitive = null; - - /** - * Scalar blob. - * @member {flyteidl.core.IBlob|null|undefined} blob - * @memberof flyteidl.core.Scalar - * @instance - */ - Scalar.prototype.blob = null; - - /** - * Scalar binary. - * @member {flyteidl.core.IBinary|null|undefined} binary - * @memberof flyteidl.core.Scalar - * @instance - */ - Scalar.prototype.binary = null; - - /** - * Scalar schema. - * @member {flyteidl.core.ISchema|null|undefined} schema - * @memberof flyteidl.core.Scalar + * Primitive integer. + * @member {Long} integer + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.schema = null; + Primitive.prototype.integer = $util.Long ? $util.Long.fromBits(0,0,false) : 0; /** - * Scalar noneType. - * @member {flyteidl.core.IVoid|null|undefined} noneType - * @memberof flyteidl.core.Scalar + * Primitive floatValue. + * @member {number} floatValue + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.noneType = null; + Primitive.prototype.floatValue = 0; /** - * Scalar error. - * @member {flyteidl.core.IError|null|undefined} error - * @memberof flyteidl.core.Scalar + * Primitive stringValue. + * @member {string} stringValue + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.error = null; + Primitive.prototype.stringValue = ""; /** - * Scalar generic. - * @member {google.protobuf.IStruct|null|undefined} generic - * @memberof flyteidl.core.Scalar + * Primitive boolean. + * @member {boolean} boolean + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.generic = null; + Primitive.prototype.boolean = false; /** - * Scalar structuredDataset. - * @member {flyteidl.core.IStructuredDataset|null|undefined} structuredDataset - * @memberof flyteidl.core.Scalar + * Primitive datetime. + * @member {google.protobuf.ITimestamp|null|undefined} datetime + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.structuredDataset = null; + Primitive.prototype.datetime = null; /** - * Scalar union. - * @member {flyteidl.core.IUnion|null|undefined} union - * @memberof flyteidl.core.Scalar + * Primitive duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.union = null; + Primitive.prototype.duration = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * Scalar value. - * @member {"primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union"|undefined} value - * @memberof flyteidl.core.Scalar + * Primitive value. + * @member {"integer"|"floatValue"|"stringValue"|"boolean"|"datetime"|"duration"|undefined} value + * @memberof flyteidl.core.Primitive * @instance */ - Object.defineProperty(Scalar.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["primitive", "blob", "binary", "schema", "noneType", "error", "generic", "structuredDataset", "union"]), + Object.defineProperty(Primitive.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["integer", "floatValue", "stringValue", "boolean", "datetime", "duration"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Scalar instance using the specified properties. + * Creates a new Primitive instance using the specified properties. * @function create - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static - * @param {flyteidl.core.IScalar=} [properties] Properties to set - * @returns {flyteidl.core.Scalar} Scalar instance + * @param {flyteidl.core.IPrimitive=} [properties] Properties to set + * @returns {flyteidl.core.Primitive} Primitive instance */ - Scalar.create = function create(properties) { - return new Scalar(properties); + Primitive.create = function create(properties) { + return new Primitive(properties); }; /** - * Encodes the specified Scalar message. Does not implicitly {@link flyteidl.core.Scalar.verify|verify} messages. + * Encodes the specified Primitive message. Does not implicitly {@link flyteidl.core.Primitive.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static - * @param {flyteidl.core.IScalar} message Scalar message or plain object to encode + * @param {flyteidl.core.IPrimitive} message Primitive message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Scalar.encode = function encode(message, writer) { + Primitive.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.primitive != null && message.hasOwnProperty("primitive")) - $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.blob != null && message.hasOwnProperty("blob")) - $root.flyteidl.core.Blob.encode(message.blob, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.binary != null && message.hasOwnProperty("binary")) - $root.flyteidl.core.Binary.encode(message.binary, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.schema != null && message.hasOwnProperty("schema")) - $root.flyteidl.core.Schema.encode(message.schema, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.noneType != null && message.hasOwnProperty("noneType")) - $root.flyteidl.core.Void.encode(message.noneType, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.generic != null && message.hasOwnProperty("generic")) - $root.google.protobuf.Struct.encode(message.generic, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) - $root.flyteidl.core.StructuredDataset.encode(message.structuredDataset, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.union != null && message.hasOwnProperty("union")) - $root.flyteidl.core.Union.encode(message.union, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.integer != null && message.hasOwnProperty("integer")) + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.integer); + if (message.floatValue != null && message.hasOwnProperty("floatValue")) + writer.uint32(/* id 2, wireType 1 =*/17).double(message.floatValue); + if (message.stringValue != null && message.hasOwnProperty("stringValue")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.stringValue); + if (message.boolean != null && message.hasOwnProperty("boolean")) + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.boolean); + if (message.datetime != null && message.hasOwnProperty("datetime")) + $root.google.protobuf.Timestamp.encode(message.datetime, 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(); return writer; }; /** - * Decodes a Scalar message from the specified reader or buffer. + * Decodes a Primitive message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Scalar} Scalar + * @returns {flyteidl.core.Primitive} Primitive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Scalar.decode = function decode(reader, length) { + Primitive.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.core.Scalar(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Primitive(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); + message.integer = reader.int64(); break; case 2: - message.blob = $root.flyteidl.core.Blob.decode(reader, reader.uint32()); + message.floatValue = reader.double(); break; case 3: - message.binary = $root.flyteidl.core.Binary.decode(reader, reader.uint32()); + message.stringValue = reader.string(); break; case 4: - message.schema = $root.flyteidl.core.Schema.decode(reader, reader.uint32()); + message.boolean = reader.bool(); break; case 5: - message.noneType = $root.flyteidl.core.Void.decode(reader, reader.uint32()); + message.datetime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 6: - message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); - break; - case 7: - message.generic = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 8: - message.structuredDataset = $root.flyteidl.core.StructuredDataset.decode(reader, reader.uint32()); - break; - case 9: - message.union = $root.flyteidl.core.Union.decode(reader, reader.uint32()); + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6767,132 +6859,86 @@ }; /** - * Verifies a Scalar message. + * Verifies a Primitive message. * @function verify - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Scalar.verify = function verify(message) { + Primitive.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.primitive != null && message.hasOwnProperty("primitive")) { + if (message.integer != null && message.hasOwnProperty("integer")) { properties.value = 1; - { - var error = $root.flyteidl.core.Primitive.verify(message.primitive); - if (error) - return "primitive." + error; - } - } - if (message.blob != null && message.hasOwnProperty("blob")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.Blob.verify(message.blob); - if (error) - return "blob." + error; - } - } - if (message.binary != null && message.hasOwnProperty("binary")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.Binary.verify(message.binary); - if (error) - return "binary." + error; - } - } - if (message.schema != null && message.hasOwnProperty("schema")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.Schema.verify(message.schema); - if (error) - return "schema." + error; - } + if (!$util.isInteger(message.integer) && !(message.integer && $util.isInteger(message.integer.low) && $util.isInteger(message.integer.high))) + return "integer: integer|Long expected"; } - if (message.noneType != null && message.hasOwnProperty("noneType")) { + if (message.floatValue != null && message.hasOwnProperty("floatValue")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; - { - var error = $root.flyteidl.core.Void.verify(message.noneType); - if (error) - return "noneType." + error; - } + if (typeof message.floatValue !== "number") + return "floatValue: number expected"; } - if (message.error != null && message.hasOwnProperty("error")) { + if (message.stringValue != null && message.hasOwnProperty("stringValue")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; - { - var error = $root.flyteidl.core.Error.verify(message.error); - if (error) - return "error." + error; - } + if (!$util.isString(message.stringValue)) + return "stringValue: string expected"; } - if (message.generic != null && message.hasOwnProperty("generic")) { + if (message.boolean != null && message.hasOwnProperty("boolean")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; - { - var error = $root.google.protobuf.Struct.verify(message.generic); - if (error) - return "generic." + error; - } + if (typeof message.boolean !== "boolean") + return "boolean: boolean expected"; } - if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) { + if (message.datetime != null && message.hasOwnProperty("datetime")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; { - var error = $root.flyteidl.core.StructuredDataset.verify(message.structuredDataset); + var error = $root.google.protobuf.Timestamp.verify(message.datetime); if (error) - return "structuredDataset." + error; + return "datetime." + error; } } - if (message.union != null && message.hasOwnProperty("union")) { + if (message.duration != null && message.hasOwnProperty("duration")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; { - var error = $root.flyteidl.core.Union.verify(message.union); + var error = $root.google.protobuf.Duration.verify(message.duration); if (error) - return "union." + error; + return "duration." + error; } } return null; }; - return Scalar; + return Primitive; })(); - core.Literal = (function() { + core.Void = (function() { /** - * Properties of a Literal. + * Properties of a Void. * @memberof flyteidl.core - * @interface ILiteral - * @property {flyteidl.core.IScalar|null} [scalar] Literal scalar - * @property {flyteidl.core.ILiteralCollection|null} [collection] Literal collection - * @property {flyteidl.core.ILiteralMap|null} [map] Literal map - * @property {string|null} [hash] Literal hash + * @interface IVoid */ /** - * Constructs a new Literal. + * Constructs a new Void. * @memberof flyteidl.core - * @classdesc Represents a Literal. - * @implements ILiteral + * @classdesc Represents a Void. + * @implements IVoid * @constructor - * @param {flyteidl.core.ILiteral=} [properties] Properties to set + * @param {flyteidl.core.IVoid=} [properties] Properties to set */ - function Literal(properties) { + function Void(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6900,116 +6946,50 @@ } /** - * Literal scalar. - * @member {flyteidl.core.IScalar|null|undefined} scalar - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.scalar = null; - - /** - * Literal collection. - * @member {flyteidl.core.ILiteralCollection|null|undefined} collection - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.collection = null; - - /** - * Literal map. - * @member {flyteidl.core.ILiteralMap|null|undefined} map - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.map = null; - - /** - * Literal hash. - * @member {string} hash - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.hash = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * Literal value. - * @member {"scalar"|"collection"|"map"|undefined} value - * @memberof flyteidl.core.Literal - * @instance - */ - Object.defineProperty(Literal.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "map"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Literal instance using the specified properties. + * Creates a new Void instance using the specified properties. * @function create - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static - * @param {flyteidl.core.ILiteral=} [properties] Properties to set - * @returns {flyteidl.core.Literal} Literal instance + * @param {flyteidl.core.IVoid=} [properties] Properties to set + * @returns {flyteidl.core.Void} Void instance */ - Literal.create = function create(properties) { - return new Literal(properties); + Void.create = function create(properties) { + return new Void(properties); }; /** - * Encodes the specified Literal message. Does not implicitly {@link flyteidl.core.Literal.verify|verify} messages. + * Encodes the specified Void message. Does not implicitly {@link flyteidl.core.Void.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static - * @param {flyteidl.core.ILiteral} message Literal message or plain object to encode + * @param {flyteidl.core.IVoid} message Void message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Literal.encode = function encode(message, writer) { + Void.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.scalar != null && message.hasOwnProperty("scalar")) - $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.collection != null && message.hasOwnProperty("collection")) - $root.flyteidl.core.LiteralCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.map != null && message.hasOwnProperty("map")) - $root.flyteidl.core.LiteralMap.encode(message.map, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.hash != null && message.hasOwnProperty("hash")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.hash); return writer; }; /** - * Decodes a Literal message from the specified reader or buffer. + * Decodes a Void message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Literal} Literal + * @returns {flyteidl.core.Void} Void * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Literal.decode = function decode(reader, length) { + Void.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.core.Literal(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Void(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); - break; - case 2: - message.collection = $root.flyteidl.core.LiteralCollection.decode(reader, reader.uint32()); - break; - case 3: - message.map = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 4: - message.hash = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -7019,73 +6999,41 @@ }; /** - * Verifies a Literal message. + * Verifies a Void message. * @function verify - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Literal.verify = function verify(message) { + Void.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.scalar != null && message.hasOwnProperty("scalar")) { - properties.value = 1; - { - var error = $root.flyteidl.core.Scalar.verify(message.scalar); - if (error) - return "scalar." + error; - } - } - if (message.collection != null && message.hasOwnProperty("collection")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.LiteralCollection.verify(message.collection); - if (error) - return "collection." + error; - } - } - if (message.map != null && message.hasOwnProperty("map")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.map); - if (error) - return "map." + error; - } - } - if (message.hash != null && message.hasOwnProperty("hash")) - if (!$util.isString(message.hash)) - return "hash: string expected"; return null; }; - return Literal; + return Void; })(); - core.LiteralCollection = (function() { + core.Blob = (function() { /** - * Properties of a LiteralCollection. + * Properties of a Blob. * @memberof flyteidl.core - * @interface ILiteralCollection - * @property {Array.|null} [literals] LiteralCollection literals + * @interface IBlob + * @property {flyteidl.core.IBlobMetadata|null} [metadata] Blob metadata + * @property {string|null} [uri] Blob uri */ /** - * Constructs a new LiteralCollection. + * Constructs a new Blob. * @memberof flyteidl.core - * @classdesc Represents a LiteralCollection. - * @implements ILiteralCollection + * @classdesc Represents a Blob. + * @implements IBlob * @constructor - * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set + * @param {flyteidl.core.IBlob=} [properties] Properties to set */ - function LiteralCollection(properties) { - this.literals = []; + function Blob(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7093,65 +7041,75 @@ } /** - * LiteralCollection literals. - * @member {Array.} literals - * @memberof flyteidl.core.LiteralCollection + * Blob metadata. + * @member {flyteidl.core.IBlobMetadata|null|undefined} metadata + * @memberof flyteidl.core.Blob * @instance */ - LiteralCollection.prototype.literals = $util.emptyArray; + Blob.prototype.metadata = null; /** - * Creates a new LiteralCollection instance using the specified properties. + * Blob uri. + * @member {string} uri + * @memberof flyteidl.core.Blob + * @instance + */ + Blob.prototype.uri = ""; + + /** + * Creates a new Blob instance using the specified properties. * @function create - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static - * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set - * @returns {flyteidl.core.LiteralCollection} LiteralCollection instance + * @param {flyteidl.core.IBlob=} [properties] Properties to set + * @returns {flyteidl.core.Blob} Blob instance */ - LiteralCollection.create = function create(properties) { - return new LiteralCollection(properties); + Blob.create = function create(properties) { + return new Blob(properties); }; /** - * Encodes the specified LiteralCollection message. Does not implicitly {@link flyteidl.core.LiteralCollection.verify|verify} messages. + * Encodes the specified Blob message. Does not implicitly {@link flyteidl.core.Blob.verify|verify} messages. * @function encode - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static - * @param {flyteidl.core.ILiteralCollection} message LiteralCollection message or plain object to encode + * @param {flyteidl.core.IBlob} message Blob message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LiteralCollection.encode = function encode(message, writer) { + Blob.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.literals != null && message.literals.length) - for (var i = 0; i < message.literals.length; ++i) - $root.flyteidl.core.Literal.encode(message.literals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.BlobMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); return writer; }; /** - * Decodes a LiteralCollection message from the specified reader or buffer. + * Decodes a Blob message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.LiteralCollection} LiteralCollection + * @returns {flyteidl.core.Blob} Blob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LiteralCollection.decode = function decode(reader, length) { + Blob.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.core.LiteralCollection(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Blob(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.literals && message.literals.length)) - message.literals = []; - message.literals.push($root.flyteidl.core.Literal.decode(reader, reader.uint32())); + message.metadata = $root.flyteidl.core.BlobMetadata.decode(reader, reader.uint32()); + break; + case 3: + message.uri = reader.string(); break; default: reader.skipType(tag & 7); @@ -7162,50 +7120,48 @@ }; /** - * Verifies a LiteralCollection message. + * Verifies a Blob message. * @function verify - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LiteralCollection.verify = function verify(message) { + Blob.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.literals != null && message.hasOwnProperty("literals")) { - if (!Array.isArray(message.literals)) - return "literals: array expected"; - for (var i = 0; i < message.literals.length; ++i) { - var error = $root.flyteidl.core.Literal.verify(message.literals[i]); - if (error) - return "literals." + error; - } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.BlobMetadata.verify(message.metadata); + if (error) + return "metadata." + error; } + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; return null; }; - return LiteralCollection; + return Blob; })(); - core.LiteralMap = (function() { + core.BlobMetadata = (function() { /** - * Properties of a LiteralMap. + * Properties of a BlobMetadata. * @memberof flyteidl.core - * @interface ILiteralMap - * @property {Object.|null} [literals] LiteralMap literals + * @interface IBlobMetadata + * @property {flyteidl.core.IBlobType|null} [type] BlobMetadata type */ /** - * Constructs a new LiteralMap. + * Constructs a new BlobMetadata. * @memberof flyteidl.core - * @classdesc Represents a LiteralMap. - * @implements ILiteralMap + * @classdesc Represents a BlobMetadata. + * @implements IBlobMetadata * @constructor - * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set + * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set */ - function LiteralMap(properties) { - this.literals = {}; + function BlobMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7213,70 +7169,62 @@ } /** - * LiteralMap literals. - * @member {Object.} literals - * @memberof flyteidl.core.LiteralMap + * BlobMetadata type. + * @member {flyteidl.core.IBlobType|null|undefined} type + * @memberof flyteidl.core.BlobMetadata * @instance */ - LiteralMap.prototype.literals = $util.emptyObject; + BlobMetadata.prototype.type = null; /** - * Creates a new LiteralMap instance using the specified properties. + * Creates a new BlobMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static - * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set - * @returns {flyteidl.core.LiteralMap} LiteralMap instance + * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set + * @returns {flyteidl.core.BlobMetadata} BlobMetadata instance */ - LiteralMap.create = function create(properties) { - return new LiteralMap(properties); + BlobMetadata.create = function create(properties) { + return new BlobMetadata(properties); }; /** - * Encodes the specified LiteralMap message. Does not implicitly {@link flyteidl.core.LiteralMap.verify|verify} messages. + * Encodes the specified BlobMetadata message. Does not implicitly {@link flyteidl.core.BlobMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static - * @param {flyteidl.core.ILiteralMap} message LiteralMap message or plain object to encode + * @param {flyteidl.core.IBlobMetadata} message BlobMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LiteralMap.encode = function encode(message, writer) { + BlobMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.literals != null && message.hasOwnProperty("literals")) - for (var keys = Object.keys(message.literals), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.Literal.encode(message.literals[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.BlobType.encode(message.type, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a LiteralMap message from the specified reader or buffer. + * Decodes a BlobMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.LiteralMap} LiteralMap + * @returns {flyteidl.core.BlobMetadata} BlobMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LiteralMap.decode = function decode(reader, length) { + BlobMetadata.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.core.LiteralMap(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BlobMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.literals === $util.emptyObject) - message.literals = {}; - key = reader.string(); - reader.pos++; - message.literals[key] = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.type = $root.flyteidl.core.BlobType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7287,51 +7235,46 @@ }; /** - * Verifies a LiteralMap message. + * Verifies a BlobMetadata message. * @function verify - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LiteralMap.verify = function verify(message) { + BlobMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.literals != null && message.hasOwnProperty("literals")) { - if (!$util.isObject(message.literals)) - return "literals: object expected"; - var key = Object.keys(message.literals); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.Literal.verify(message.literals[key[i]]); - if (error) - return "literals." + error; - } + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.BlobType.verify(message.type); + if (error) + return "type." + error; } return null; }; - return LiteralMap; + return BlobMetadata; })(); - core.BindingDataCollection = (function() { + core.Binary = (function() { /** - * Properties of a BindingDataCollection. + * Properties of a Binary. * @memberof flyteidl.core - * @interface IBindingDataCollection - * @property {Array.|null} [bindings] BindingDataCollection bindings + * @interface IBinary + * @property {Uint8Array|null} [value] Binary value + * @property {string|null} [tag] Binary tag */ /** - * Constructs a new BindingDataCollection. + * Constructs a new Binary. * @memberof flyteidl.core - * @classdesc Represents a BindingDataCollection. - * @implements IBindingDataCollection + * @classdesc Represents a Binary. + * @implements IBinary * @constructor - * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set + * @param {flyteidl.core.IBinary=} [properties] Properties to set */ - function BindingDataCollection(properties) { - this.bindings = []; + function Binary(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7339,65 +7282,75 @@ } /** - * BindingDataCollection bindings. - * @member {Array.} bindings - * @memberof flyteidl.core.BindingDataCollection + * Binary value. + * @member {Uint8Array} value + * @memberof flyteidl.core.Binary * @instance */ - BindingDataCollection.prototype.bindings = $util.emptyArray; + Binary.prototype.value = $util.newBuffer([]); /** - * Creates a new BindingDataCollection instance using the specified properties. + * Binary tag. + * @member {string} tag + * @memberof flyteidl.core.Binary + * @instance + */ + Binary.prototype.tag = ""; + + /** + * Creates a new Binary instance using the specified properties. * @function create - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static - * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set - * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection instance + * @param {flyteidl.core.IBinary=} [properties] Properties to set + * @returns {flyteidl.core.Binary} Binary instance */ - BindingDataCollection.create = function create(properties) { - return new BindingDataCollection(properties); + Binary.create = function create(properties) { + return new Binary(properties); }; /** - * Encodes the specified BindingDataCollection message. Does not implicitly {@link flyteidl.core.BindingDataCollection.verify|verify} messages. + * Encodes the specified Binary message. Does not implicitly {@link flyteidl.core.Binary.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static - * @param {flyteidl.core.IBindingDataCollection} message BindingDataCollection message or plain object to encode + * @param {flyteidl.core.IBinary} message Binary message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BindingDataCollection.encode = function encode(message, writer) { + Binary.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.bindings != null && message.bindings.length) - for (var i = 0; i < message.bindings.length; ++i) - $root.flyteidl.core.BindingData.encode(message.bindings[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value); + if (message.tag != null && message.hasOwnProperty("tag")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.tag); return writer; }; /** - * Decodes a BindingDataCollection message from the specified reader or buffer. + * Decodes a Binary message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection + * @returns {flyteidl.core.Binary} Binary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BindingDataCollection.decode = function decode(reader, length) { + Binary.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.core.BindingDataCollection(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Binary(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.bindings && message.bindings.length)) - message.bindings = []; - message.bindings.push($root.flyteidl.core.BindingData.decode(reader, reader.uint32())); + message.value = reader.bytes(); + break; + case 2: + message.tag = reader.string(); break; default: reader.skipType(tag & 7); @@ -7408,50 +7361,47 @@ }; /** - * Verifies a BindingDataCollection message. + * Verifies a Binary message. * @function verify - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BindingDataCollection.verify = function verify(message) { + Binary.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.bindings != null && message.hasOwnProperty("bindings")) { - if (!Array.isArray(message.bindings)) - return "bindings: array expected"; - for (var i = 0; i < message.bindings.length; ++i) { - var error = $root.flyteidl.core.BindingData.verify(message.bindings[i]); - if (error) - return "bindings." + error; - } - } + if (message.value != null && message.hasOwnProperty("value")) + if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) + return "value: buffer expected"; + if (message.tag != null && message.hasOwnProperty("tag")) + if (!$util.isString(message.tag)) + return "tag: string expected"; return null; }; - return BindingDataCollection; + return Binary; })(); - core.BindingDataMap = (function() { + core.Schema = (function() { /** - * Properties of a BindingDataMap. + * Properties of a Schema. * @memberof flyteidl.core - * @interface IBindingDataMap - * @property {Object.|null} [bindings] BindingDataMap bindings + * @interface ISchema + * @property {string|null} [uri] Schema uri + * @property {flyteidl.core.ISchemaType|null} [type] Schema type */ /** - * Constructs a new BindingDataMap. + * Constructs a new Schema. * @memberof flyteidl.core - * @classdesc Represents a BindingDataMap. - * @implements IBindingDataMap + * @classdesc Represents a Schema. + * @implements ISchema * @constructor - * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set + * @param {flyteidl.core.ISchema=} [properties] Properties to set */ - function BindingDataMap(properties) { - this.bindings = {}; + function Schema(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7459,70 +7409,75 @@ } /** - * BindingDataMap bindings. - * @member {Object.} bindings - * @memberof flyteidl.core.BindingDataMap + * Schema uri. + * @member {string} uri + * @memberof flyteidl.core.Schema * @instance */ - BindingDataMap.prototype.bindings = $util.emptyObject; + Schema.prototype.uri = ""; /** - * Creates a new BindingDataMap instance using the specified properties. + * Schema type. + * @member {flyteidl.core.ISchemaType|null|undefined} type + * @memberof flyteidl.core.Schema + * @instance + */ + Schema.prototype.type = null; + + /** + * Creates a new Schema instance using the specified properties. * @function create - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static - * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set - * @returns {flyteidl.core.BindingDataMap} BindingDataMap instance + * @param {flyteidl.core.ISchema=} [properties] Properties to set + * @returns {flyteidl.core.Schema} Schema instance */ - BindingDataMap.create = function create(properties) { - return new BindingDataMap(properties); + Schema.create = function create(properties) { + return new Schema(properties); }; /** - * Encodes the specified BindingDataMap message. Does not implicitly {@link flyteidl.core.BindingDataMap.verify|verify} messages. + * Encodes the specified Schema message. Does not implicitly {@link flyteidl.core.Schema.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static - * @param {flyteidl.core.IBindingDataMap} message BindingDataMap message or plain object to encode + * @param {flyteidl.core.ISchema} message Schema message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BindingDataMap.encode = function encode(message, writer) { + Schema.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.bindings != null && message.hasOwnProperty("bindings")) - for (var keys = Object.keys(message.bindings), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.BindingData.encode(message.bindings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.SchemaType.encode(message.type, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a BindingDataMap message from the specified reader or buffer. + * Decodes a Schema message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BindingDataMap} BindingDataMap + * @returns {flyteidl.core.Schema} Schema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BindingDataMap.decode = function decode(reader, length) { + Schema.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.core.BindingDataMap(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Schema(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.bindings === $util.emptyObject) - message.bindings = {}; - key = reader.string(); - reader.pos++; - message.bindings[key] = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); + message.uri = reader.string(); + break; + case 3: + message.type = $root.flyteidl.core.SchemaType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7533,50 +7488,49 @@ }; /** - * Verifies a BindingDataMap message. + * Verifies a Schema message. * @function verify - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BindingDataMap.verify = function verify(message) { + Schema.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.bindings != null && message.hasOwnProperty("bindings")) { - if (!$util.isObject(message.bindings)) - return "bindings: object expected"; - var key = Object.keys(message.bindings); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.BindingData.verify(message.bindings[key[i]]); - if (error) - return "bindings." + error; - } + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.SchemaType.verify(message.type); + if (error) + return "type." + error; } return null; }; - return BindingDataMap; + return Schema; })(); - core.UnionInfo = (function() { + core.Union = (function() { /** - * Properties of an UnionInfo. + * Properties of an Union. * @memberof flyteidl.core - * @interface IUnionInfo - * @property {flyteidl.core.ILiteralType|null} [targetType] UnionInfo targetType + * @interface IUnion + * @property {flyteidl.core.ILiteral|null} [value] Union value + * @property {flyteidl.core.ILiteralType|null} [type] Union type */ /** - * Constructs a new UnionInfo. + * Constructs a new Union. * @memberof flyteidl.core - * @classdesc Represents an UnionInfo. - * @implements IUnionInfo + * @classdesc Represents an Union. + * @implements IUnion * @constructor - * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set + * @param {flyteidl.core.IUnion=} [properties] Properties to set */ - function UnionInfo(properties) { + function Union(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7584,62 +7538,75 @@ } /** - * UnionInfo targetType. - * @member {flyteidl.core.ILiteralType|null|undefined} targetType - * @memberof flyteidl.core.UnionInfo + * Union value. + * @member {flyteidl.core.ILiteral|null|undefined} value + * @memberof flyteidl.core.Union * @instance */ - UnionInfo.prototype.targetType = null; + Union.prototype.value = null; /** - * Creates a new UnionInfo instance using the specified properties. + * Union type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.core.Union + * @instance + */ + Union.prototype.type = null; + + /** + * Creates a new Union instance using the specified properties. * @function create - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static - * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set - * @returns {flyteidl.core.UnionInfo} UnionInfo instance + * @param {flyteidl.core.IUnion=} [properties] Properties to set + * @returns {flyteidl.core.Union} Union instance */ - UnionInfo.create = function create(properties) { - return new UnionInfo(properties); + Union.create = function create(properties) { + return new Union(properties); }; /** - * Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages. + * Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages. * @function encode - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static - * @param {flyteidl.core.IUnionInfo} message UnionInfo message or plain object to encode + * @param {flyteidl.core.IUnion} message Union message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UnionInfo.encode = function encode(message, writer) { + Union.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.targetType != null && message.hasOwnProperty("targetType")) - $root.flyteidl.core.LiteralType.encode(message.targetType, 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 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 an UnionInfo message from the specified reader or buffer. + * Decodes an Union message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.UnionInfo} UnionInfo + * @returns {flyteidl.core.Union} Union * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UnionInfo.decode = function decode(reader, length) { + Union.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.core.UnionInfo(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Union(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.targetType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + break; + case 2: + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7650,49 +7617,50 @@ }; /** - * Verifies an UnionInfo message. + * Verifies an Union message. * @function verify - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UnionInfo.verify = function verify(message) { + Union.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.targetType != null && message.hasOwnProperty("targetType")) { - var error = $root.flyteidl.core.LiteralType.verify(message.targetType); + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.Literal.verify(message.value); if (error) - return "targetType." + error; + return "value." + error; + } + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); + if (error) + return "type." + error; } return null; }; - return UnionInfo; + return Union; })(); - core.BindingData = (function() { + core.StructuredDatasetMetadata = (function() { /** - * Properties of a BindingData. + * Properties of a StructuredDatasetMetadata. * @memberof flyteidl.core - * @interface IBindingData - * @property {flyteidl.core.IScalar|null} [scalar] BindingData scalar - * @property {flyteidl.core.IBindingDataCollection|null} [collection] BindingData collection - * @property {flyteidl.core.IOutputReference|null} [promise] BindingData promise - * @property {flyteidl.core.IBindingDataMap|null} [map] BindingData map - * @property {flyteidl.core.IUnionInfo|null} [union] BindingData union + * @interface IStructuredDatasetMetadata + * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] StructuredDatasetMetadata structuredDatasetType */ /** - * Constructs a new BindingData. + * Constructs a new StructuredDatasetMetadata. * @memberof flyteidl.core - * @classdesc Represents a BindingData. - * @implements IBindingData + * @classdesc Represents a StructuredDatasetMetadata. + * @implements IStructuredDatasetMetadata * @constructor - * @param {flyteidl.core.IBindingData=} [properties] Properties to set + * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set */ - function BindingData(properties) { + function StructuredDatasetMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7700,128 +7668,62 @@ } /** - * BindingData scalar. - * @member {flyteidl.core.IScalar|null|undefined} scalar - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.scalar = null; - - /** - * BindingData collection. - * @member {flyteidl.core.IBindingDataCollection|null|undefined} collection - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.collection = null; - - /** - * BindingData promise. - * @member {flyteidl.core.IOutputReference|null|undefined} promise - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.promise = null; - - /** - * BindingData map. - * @member {flyteidl.core.IBindingDataMap|null|undefined} map - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.map = null; - - /** - * BindingData union. - * @member {flyteidl.core.IUnionInfo|null|undefined} union - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.union = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * BindingData value. - * @member {"scalar"|"collection"|"promise"|"map"|undefined} value - * @memberof flyteidl.core.BindingData + * StructuredDatasetMetadata structuredDatasetType. + * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType + * @memberof flyteidl.core.StructuredDatasetMetadata * @instance */ - Object.defineProperty(BindingData.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "promise", "map"]), - set: $util.oneOfSetter($oneOfFields) - }); + StructuredDatasetMetadata.prototype.structuredDatasetType = null; /** - * Creates a new BindingData instance using the specified properties. + * Creates a new StructuredDatasetMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static - * @param {flyteidl.core.IBindingData=} [properties] Properties to set - * @returns {flyteidl.core.BindingData} BindingData instance + * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set + * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata instance */ - BindingData.create = function create(properties) { - return new BindingData(properties); + StructuredDatasetMetadata.create = function create(properties) { + return new StructuredDatasetMetadata(properties); }; /** - * Encodes the specified BindingData message. Does not implicitly {@link flyteidl.core.BindingData.verify|verify} messages. + * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static - * @param {flyteidl.core.IBindingData} message BindingData message or plain object to encode + * @param {flyteidl.core.IStructuredDatasetMetadata} message StructuredDatasetMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BindingData.encode = function encode(message, writer) { + StructuredDatasetMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.scalar != null && message.hasOwnProperty("scalar")) - $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.collection != null && message.hasOwnProperty("collection")) - $root.flyteidl.core.BindingDataCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.promise != null && message.hasOwnProperty("promise")) - $root.flyteidl.core.OutputReference.encode(message.promise, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.map != null && message.hasOwnProperty("map")) - $root.flyteidl.core.BindingDataMap.encode(message.map, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.union != null && message.hasOwnProperty("union")) - $root.flyteidl.core.UnionInfo.encode(message.union, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) + $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a BindingData message from the specified reader or buffer. + * Decodes a StructuredDatasetMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BindingData} BindingData + * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BindingData.decode = function decode(reader, length) { + StructuredDatasetMetadata.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.core.BindingData(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDatasetMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); - break; - case 2: - message.collection = $root.flyteidl.core.BindingDataCollection.decode(reader, reader.uint32()); - break; - case 3: - message.promise = $root.flyteidl.core.OutputReference.decode(reader, reader.uint32()); - break; - case 4: - message.map = $root.flyteidl.core.BindingDataMap.decode(reader, reader.uint32()); - break; - case 5: - message.union = $root.flyteidl.core.UnionInfo.decode(reader, reader.uint32()); + message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7832,85 +7734,46 @@ }; /** - * Verifies a BindingData message. + * Verifies a StructuredDatasetMetadata message. * @function verify - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BindingData.verify = function verify(message) { + StructuredDatasetMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.scalar != null && message.hasOwnProperty("scalar")) { - properties.value = 1; - { - var error = $root.flyteidl.core.Scalar.verify(message.scalar); - if (error) - return "scalar." + error; - } - } - if (message.collection != null && message.hasOwnProperty("collection")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.BindingDataCollection.verify(message.collection); - if (error) - return "collection." + error; - } - } - if (message.promise != null && message.hasOwnProperty("promise")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.OutputReference.verify(message.promise); - if (error) - return "promise." + error; - } - } - if (message.map != null && message.hasOwnProperty("map")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.BindingDataMap.verify(message.map); - if (error) - return "map." + error; - } - } - if (message.union != null && message.hasOwnProperty("union")) { - var error = $root.flyteidl.core.UnionInfo.verify(message.union); + if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) { + var error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType); if (error) - return "union." + error; + return "structuredDatasetType." + error; } return null; }; - return BindingData; + return StructuredDatasetMetadata; })(); - core.Binding = (function() { + core.StructuredDataset = (function() { /** - * Properties of a Binding. + * Properties of a StructuredDataset. * @memberof flyteidl.core - * @interface IBinding - * @property {string|null} ["var"] Binding var - * @property {flyteidl.core.IBindingData|null} [binding] Binding binding + * @interface IStructuredDataset + * @property {string|null} [uri] StructuredDataset uri + * @property {flyteidl.core.IStructuredDatasetMetadata|null} [metadata] StructuredDataset metadata */ /** - * Constructs a new Binding. + * Constructs a new StructuredDataset. * @memberof flyteidl.core - * @classdesc Represents a Binding. - * @implements IBinding + * @classdesc Represents a StructuredDataset. + * @implements IStructuredDataset * @constructor - * @param {flyteidl.core.IBinding=} [properties] Properties to set + * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set */ - function Binding(properties) { + function StructuredDataset(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7918,75 +7781,75 @@ } /** - * Binding var. - * @member {string} var - * @memberof flyteidl.core.Binding + * StructuredDataset uri. + * @member {string} uri + * @memberof flyteidl.core.StructuredDataset * @instance */ - Binding.prototype["var"] = ""; + StructuredDataset.prototype.uri = ""; /** - * Binding binding. - * @member {flyteidl.core.IBindingData|null|undefined} binding - * @memberof flyteidl.core.Binding + * StructuredDataset metadata. + * @member {flyteidl.core.IStructuredDatasetMetadata|null|undefined} metadata + * @memberof flyteidl.core.StructuredDataset * @instance */ - Binding.prototype.binding = null; + StructuredDataset.prototype.metadata = null; /** - * Creates a new Binding instance using the specified properties. + * Creates a new StructuredDataset instance using the specified properties. * @function create - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static - * @param {flyteidl.core.IBinding=} [properties] Properties to set - * @returns {flyteidl.core.Binding} Binding instance + * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set + * @returns {flyteidl.core.StructuredDataset} StructuredDataset instance */ - Binding.create = function create(properties) { - return new Binding(properties); + StructuredDataset.create = function create(properties) { + return new StructuredDataset(properties); }; /** - * Encodes the specified Binding message. Does not implicitly {@link flyteidl.core.Binding.verify|verify} messages. + * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static - * @param {flyteidl.core.IBinding} message Binding message or plain object to encode + * @param {flyteidl.core.IStructuredDataset} message StructuredDataset message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Binding.encode = function encode(message, writer) { + StructuredDataset.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message["var"] != null && message.hasOwnProperty("var")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); - if (message.binding != null && message.hasOwnProperty("binding")) - $root.flyteidl.core.BindingData.encode(message.binding, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.StructuredDatasetMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Binding message from the specified reader or buffer. + * Decodes a StructuredDataset message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Binding} Binding + * @returns {flyteidl.core.StructuredDataset} StructuredDataset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Binding.decode = function decode(reader, length) { + StructuredDataset.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.core.Binding(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDataset(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message["var"] = reader.string(); + message.uri = reader.string(); break; case 2: - message.binding = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); + message.metadata = $root.flyteidl.core.StructuredDatasetMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7997,49 +7860,56 @@ }; /** - * Verifies a Binding message. + * Verifies a StructuredDataset message. * @function verify - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Binding.verify = function verify(message) { + StructuredDataset.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message["var"] != null && message.hasOwnProperty("var")) - if (!$util.isString(message["var"])) - return "var: string expected"; - if (message.binding != null && message.hasOwnProperty("binding")) { - var error = $root.flyteidl.core.BindingData.verify(message.binding); + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.StructuredDatasetMetadata.verify(message.metadata); if (error) - return "binding." + error; + return "metadata." + error; } return null; }; - return Binding; + return StructuredDataset; })(); - core.KeyValuePair = (function() { - - /** - * Properties of a KeyValuePair. - * @memberof flyteidl.core - * @interface IKeyValuePair - * @property {string|null} [key] KeyValuePair key - * @property {string|null} [value] KeyValuePair value - */ + core.Scalar = (function() { /** - * Constructs a new KeyValuePair. + * Properties of a Scalar. * @memberof flyteidl.core - * @classdesc Represents a KeyValuePair. - * @implements IKeyValuePair + * @interface IScalar + * @property {flyteidl.core.IPrimitive|null} [primitive] Scalar primitive + * @property {flyteidl.core.IBlob|null} [blob] Scalar blob + * @property {flyteidl.core.IBinary|null} [binary] Scalar binary + * @property {flyteidl.core.ISchema|null} [schema] Scalar schema + * @property {flyteidl.core.IVoid|null} [noneType] Scalar noneType + * @property {flyteidl.core.IError|null} [error] Scalar error + * @property {google.protobuf.IStruct|null} [generic] Scalar generic + * @property {flyteidl.core.IStructuredDataset|null} [structuredDataset] Scalar structuredDataset + * @property {flyteidl.core.IUnion|null} [union] Scalar union + */ + + /** + * Constructs a new Scalar. + * @memberof flyteidl.core + * @classdesc Represents a Scalar. + * @implements IScalar * @constructor - * @param {flyteidl.core.IKeyValuePair=} [properties] Properties to set + * @param {flyteidl.core.IScalar=} [properties] Properties to set */ - function KeyValuePair(properties) { + function Scalar(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -8047,75 +7917,180 @@ } /** - * KeyValuePair key. - * @member {string} key - * @memberof flyteidl.core.KeyValuePair + * Scalar primitive. + * @member {flyteidl.core.IPrimitive|null|undefined} primitive + * @memberof flyteidl.core.Scalar * @instance */ - KeyValuePair.prototype.key = ""; + Scalar.prototype.primitive = null; /** - * KeyValuePair value. - * @member {string} value - * @memberof flyteidl.core.KeyValuePair + * Scalar blob. + * @member {flyteidl.core.IBlob|null|undefined} blob + * @memberof flyteidl.core.Scalar * @instance */ - KeyValuePair.prototype.value = ""; + Scalar.prototype.blob = null; /** - * Creates a new KeyValuePair instance using the specified properties. + * Scalar binary. + * @member {flyteidl.core.IBinary|null|undefined} binary + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.binary = null; + + /** + * Scalar schema. + * @member {flyteidl.core.ISchema|null|undefined} schema + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.schema = null; + + /** + * Scalar noneType. + * @member {flyteidl.core.IVoid|null|undefined} noneType + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.noneType = null; + + /** + * Scalar error. + * @member {flyteidl.core.IError|null|undefined} error + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.error = null; + + /** + * Scalar generic. + * @member {google.protobuf.IStruct|null|undefined} generic + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.generic = null; + + /** + * Scalar structuredDataset. + * @member {flyteidl.core.IStructuredDataset|null|undefined} structuredDataset + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.structuredDataset = null; + + /** + * Scalar union. + * @member {flyteidl.core.IUnion|null|undefined} union + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.union = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Scalar value. + * @member {"primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union"|undefined} value + * @memberof flyteidl.core.Scalar + * @instance + */ + Object.defineProperty(Scalar.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["primitive", "blob", "binary", "schema", "noneType", "error", "generic", "structuredDataset", "union"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Scalar instance using the specified properties. * @function create - * @memberof flyteidl.core.KeyValuePair + * @memberof flyteidl.core.Scalar * @static - * @param {flyteidl.core.IKeyValuePair=} [properties] Properties to set - * @returns {flyteidl.core.KeyValuePair} KeyValuePair instance + * @param {flyteidl.core.IScalar=} [properties] Properties to set + * @returns {flyteidl.core.Scalar} Scalar instance */ - KeyValuePair.create = function create(properties) { - return new KeyValuePair(properties); + Scalar.create = function create(properties) { + return new Scalar(properties); }; /** - * Encodes the specified KeyValuePair message. Does not implicitly {@link flyteidl.core.KeyValuePair.verify|verify} messages. + * Encodes the specified Scalar message. Does not implicitly {@link flyteidl.core.Scalar.verify|verify} messages. * @function encode - * @memberof flyteidl.core.KeyValuePair + * @memberof flyteidl.core.Scalar * @static - * @param {flyteidl.core.IKeyValuePair} message KeyValuePair message or plain object to encode + * @param {flyteidl.core.IScalar} message Scalar message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - KeyValuePair.encode = function encode(message, writer) { + Scalar.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.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); + if (message.primitive != null && message.hasOwnProperty("primitive")) + $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.blob != null && message.hasOwnProperty("blob")) + $root.flyteidl.core.Blob.encode(message.blob, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.binary != null && message.hasOwnProperty("binary")) + $root.flyteidl.core.Binary.encode(message.binary, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.schema != null && message.hasOwnProperty("schema")) + $root.flyteidl.core.Schema.encode(message.schema, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.noneType != null && message.hasOwnProperty("noneType")) + $root.flyteidl.core.Void.encode(message.noneType, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.generic != null && message.hasOwnProperty("generic")) + $root.google.protobuf.Struct.encode(message.generic, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) + $root.flyteidl.core.StructuredDataset.encode(message.structuredDataset, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.union != null && message.hasOwnProperty("union")) + $root.flyteidl.core.Union.encode(message.union, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); return writer; }; /** - * Decodes a KeyValuePair message from the specified reader or buffer. + * Decodes a Scalar message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.KeyValuePair + * @memberof flyteidl.core.Scalar * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.KeyValuePair} KeyValuePair + * @returns {flyteidl.core.Scalar} Scalar * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - KeyValuePair.decode = function decode(reader, length) { + Scalar.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.core.KeyValuePair(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Scalar(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.key = reader.string(); + message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); break; case 2: - message.value = reader.string(); + message.blob = $root.flyteidl.core.Blob.decode(reader, reader.uint32()); + break; + case 3: + message.binary = $root.flyteidl.core.Binary.decode(reader, reader.uint32()); + break; + case 4: + message.schema = $root.flyteidl.core.Schema.decode(reader, reader.uint32()); + break; + case 5: + message.noneType = $root.flyteidl.core.Void.decode(reader, reader.uint32()); + break; + case 6: + message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); + break; + case 7: + message.generic = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + case 8: + message.structuredDataset = $root.flyteidl.core.StructuredDataset.decode(reader, reader.uint32()); + break; + case 9: + message.union = $root.flyteidl.core.Union.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -8126,46 +8101,134 @@ }; /** - * Verifies a KeyValuePair message. + * Verifies a Scalar message. * @function verify - * @memberof flyteidl.core.KeyValuePair + * @memberof flyteidl.core.Scalar * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - KeyValuePair.verify = function verify(message) { + Scalar.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.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; + var properties = {}; + if (message.primitive != null && message.hasOwnProperty("primitive")) { + properties.value = 1; + { + var error = $root.flyteidl.core.Primitive.verify(message.primitive); + if (error) + return "primitive." + error; + } + } + if (message.blob != null && message.hasOwnProperty("blob")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Blob.verify(message.blob); + if (error) + return "blob." + error; + } + } + if (message.binary != null && message.hasOwnProperty("binary")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Binary.verify(message.binary); + if (error) + return "binary." + error; + } + } + if (message.schema != null && message.hasOwnProperty("schema")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Schema.verify(message.schema); + if (error) + return "schema." + error; + } + } + if (message.noneType != null && message.hasOwnProperty("noneType")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Void.verify(message.noneType); + if (error) + return "noneType." + error; + } + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Error.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.generic != null && message.hasOwnProperty("generic")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.google.protobuf.Struct.verify(message.generic); + if (error) + return "generic." + error; + } + } + if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.StructuredDataset.verify(message.structuredDataset); + if (error) + return "structuredDataset." + error; + } + } + if (message.union != null && message.hasOwnProperty("union")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Union.verify(message.union); + if (error) + return "union." + error; + } + } return null; }; - return KeyValuePair; + return Scalar; })(); - core.RetryStrategy = (function() { + core.Literal = (function() { /** - * Properties of a RetryStrategy. + * Properties of a Literal. * @memberof flyteidl.core - * @interface IRetryStrategy - * @property {number|null} [retries] RetryStrategy retries + * @interface ILiteral + * @property {flyteidl.core.IScalar|null} [scalar] Literal scalar + * @property {flyteidl.core.ILiteralCollection|null} [collection] Literal collection + * @property {flyteidl.core.ILiteralMap|null} [map] Literal map + * @property {string|null} [hash] Literal hash + * @property {Object.|null} [metadata] Literal metadata */ /** - * Constructs a new RetryStrategy. + * Constructs a new Literal. * @memberof flyteidl.core - * @classdesc Represents a RetryStrategy. - * @implements IRetryStrategy + * @classdesc Represents a Literal. + * @implements ILiteral * @constructor - * @param {flyteidl.core.IRetryStrategy=} [properties] Properties to set + * @param {flyteidl.core.ILiteral=} [properties] Properties to set */ - function RetryStrategy(properties) { + function Literal(properties) { + this.metadata = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -8173,62 +8236,134 @@ } /** - * RetryStrategy retries. - * @member {number} retries - * @memberof flyteidl.core.RetryStrategy + * Literal scalar. + * @member {flyteidl.core.IScalar|null|undefined} scalar + * @memberof flyteidl.core.Literal * @instance */ - RetryStrategy.prototype.retries = 0; + Literal.prototype.scalar = null; /** - * Creates a new RetryStrategy instance using the specified properties. + * Literal collection. + * @member {flyteidl.core.ILiteralCollection|null|undefined} collection + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.collection = null; + + /** + * Literal map. + * @member {flyteidl.core.ILiteralMap|null|undefined} map + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.map = null; + + /** + * Literal hash. + * @member {string} hash + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.hash = ""; + + /** + * Literal metadata. + * @member {Object.} metadata + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.metadata = $util.emptyObject; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Literal value. + * @member {"scalar"|"collection"|"map"|undefined} value + * @memberof flyteidl.core.Literal + * @instance + */ + Object.defineProperty(Literal.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "map"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Literal instance using the specified properties. * @function create - * @memberof flyteidl.core.RetryStrategy + * @memberof flyteidl.core.Literal * @static - * @param {flyteidl.core.IRetryStrategy=} [properties] Properties to set - * @returns {flyteidl.core.RetryStrategy} RetryStrategy instance + * @param {flyteidl.core.ILiteral=} [properties] Properties to set + * @returns {flyteidl.core.Literal} Literal instance */ - RetryStrategy.create = function create(properties) { - return new RetryStrategy(properties); + Literal.create = function create(properties) { + return new Literal(properties); }; /** - * Encodes the specified RetryStrategy message. Does not implicitly {@link flyteidl.core.RetryStrategy.verify|verify} messages. + * Encodes the specified Literal message. Does not implicitly {@link flyteidl.core.Literal.verify|verify} messages. * @function encode - * @memberof flyteidl.core.RetryStrategy + * @memberof flyteidl.core.Literal * @static - * @param {flyteidl.core.IRetryStrategy} message RetryStrategy message or plain object to encode + * @param {flyteidl.core.ILiteral} message Literal message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RetryStrategy.encode = function encode(message, writer) { + Literal.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.retries != null && message.hasOwnProperty("retries")) - writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.retries); + if (message.scalar != null && message.hasOwnProperty("scalar")) + $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.collection != null && message.hasOwnProperty("collection")) + $root.flyteidl.core.LiteralCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.map != null && message.hasOwnProperty("map")) + $root.flyteidl.core.LiteralMap.encode(message.map, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.hash != null && message.hasOwnProperty("hash")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.hash); + if (message.metadata != null && message.hasOwnProperty("metadata")) + for (var keys = Object.keys(message.metadata), i = 0; i < keys.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.metadata[keys[i]]).ldelim(); return writer; }; /** - * Decodes a RetryStrategy message from the specified reader or buffer. + * Decodes a Literal message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.RetryStrategy + * @memberof flyteidl.core.Literal * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.RetryStrategy} RetryStrategy + * @returns {flyteidl.core.Literal} Literal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RetryStrategy.decode = function decode(reader, length) { + Literal.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.core.RetryStrategy(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Literal(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); + break; + case 2: + message.collection = $root.flyteidl.core.LiteralCollection.decode(reader, reader.uint32()); + break; + case 3: + message.map = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 4: + message.hash = reader.string(); + break; case 5: - message.retries = reader.uint32(); + reader.skip().pos++; + if (message.metadata === $util.emptyObject) + message.metadata = {}; + key = reader.string(); + reader.pos++; + message.metadata[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -8239,140 +8374,147 @@ }; /** - * Verifies a RetryStrategy message. + * Verifies a Literal message. * @function verify - * @memberof flyteidl.core.RetryStrategy + * @memberof flyteidl.core.Literal * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RetryStrategy.verify = function verify(message) { + Literal.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.retries != null && message.hasOwnProperty("retries")) - if (!$util.isInteger(message.retries)) - return "retries: integer expected"; + var properties = {}; + if (message.scalar != null && message.hasOwnProperty("scalar")) { + properties.value = 1; + { + var error = $root.flyteidl.core.Scalar.verify(message.scalar); + if (error) + return "scalar." + error; + } + } + if (message.collection != null && message.hasOwnProperty("collection")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.LiteralCollection.verify(message.collection); + if (error) + return "collection." + error; + } + } + if (message.map != null && message.hasOwnProperty("map")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.map); + if (error) + return "map." + error; + } + } + if (message.hash != null && message.hasOwnProperty("hash")) + if (!$util.isString(message.hash)) + return "hash: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + if (!$util.isObject(message.metadata)) + return "metadata: object expected"; + var key = Object.keys(message.metadata); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.metadata[key[i]])) + return "metadata: string{k:string} expected"; + } return null; }; - return RetryStrategy; - })(); - - /** - * SimpleType enum. - * @name flyteidl.core.SimpleType - * @enum {string} - * @property {number} NONE=0 NONE value - * @property {number} INTEGER=1 INTEGER value - * @property {number} FLOAT=2 FLOAT value - * @property {number} STRING=3 STRING value - * @property {number} BOOLEAN=4 BOOLEAN value - * @property {number} DATETIME=5 DATETIME value - * @property {number} DURATION=6 DURATION value - * @property {number} BINARY=7 BINARY value - * @property {number} ERROR=8 ERROR value - * @property {number} STRUCT=9 STRUCT value - */ - core.SimpleType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NONE"] = 0; - values[valuesById[1] = "INTEGER"] = 1; - values[valuesById[2] = "FLOAT"] = 2; - values[valuesById[3] = "STRING"] = 3; - values[valuesById[4] = "BOOLEAN"] = 4; - values[valuesById[5] = "DATETIME"] = 5; - values[valuesById[6] = "DURATION"] = 6; - values[valuesById[7] = "BINARY"] = 7; - values[valuesById[8] = "ERROR"] = 8; - values[valuesById[9] = "STRUCT"] = 9; - return values; + return Literal; })(); - core.SchemaType = (function() { + core.LiteralCollection = (function() { /** - * Properties of a SchemaType. + * Properties of a LiteralCollection. * @memberof flyteidl.core - * @interface ISchemaType - * @property {Array.|null} [columns] SchemaType columns + * @interface ILiteralCollection + * @property {Array.|null} [literals] LiteralCollection literals */ /** - * Constructs a new SchemaType. + * Constructs a new LiteralCollection. * @memberof flyteidl.core - * @classdesc Represents a SchemaType. - * @implements ISchemaType + * @classdesc Represents a LiteralCollection. + * @implements ILiteralCollection * @constructor - * @param {flyteidl.core.ISchemaType=} [properties] Properties to set + * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set */ - function SchemaType(properties) { - this.columns = []; - if (properties) + function LiteralCollection(properties) { + this.literals = []; + 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]]; } /** - * SchemaType columns. - * @member {Array.} columns - * @memberof flyteidl.core.SchemaType + * LiteralCollection literals. + * @member {Array.} literals + * @memberof flyteidl.core.LiteralCollection * @instance */ - SchemaType.prototype.columns = $util.emptyArray; + LiteralCollection.prototype.literals = $util.emptyArray; /** - * Creates a new SchemaType instance using the specified properties. + * Creates a new LiteralCollection instance using the specified properties. * @function create - * @memberof flyteidl.core.SchemaType + * @memberof flyteidl.core.LiteralCollection * @static - * @param {flyteidl.core.ISchemaType=} [properties] Properties to set - * @returns {flyteidl.core.SchemaType} SchemaType instance + * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set + * @returns {flyteidl.core.LiteralCollection} LiteralCollection instance */ - SchemaType.create = function create(properties) { - return new SchemaType(properties); + LiteralCollection.create = function create(properties) { + return new LiteralCollection(properties); }; /** - * Encodes the specified SchemaType message. Does not implicitly {@link flyteidl.core.SchemaType.verify|verify} messages. + * Encodes the specified LiteralCollection message. Does not implicitly {@link flyteidl.core.LiteralCollection.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SchemaType + * @memberof flyteidl.core.LiteralCollection * @static - * @param {flyteidl.core.ISchemaType} message SchemaType message or plain object to encode + * @param {flyteidl.core.ILiteralCollection} message LiteralCollection message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SchemaType.encode = function encode(message, writer) { + LiteralCollection.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.columns != null && message.columns.length) - for (var i = 0; i < message.columns.length; ++i) - $root.flyteidl.core.SchemaType.SchemaColumn.encode(message.columns[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.literals != null && message.literals.length) + for (var i = 0; i < message.literals.length; ++i) + $root.flyteidl.core.Literal.encode(message.literals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a SchemaType message from the specified reader or buffer. + * Decodes a LiteralCollection message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SchemaType + * @memberof flyteidl.core.LiteralCollection * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SchemaType} SchemaType + * @returns {flyteidl.core.LiteralCollection} LiteralCollection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SchemaType.decode = function decode(reader, length) { + LiteralCollection.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.core.SchemaType(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LiteralCollection(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 3: - if (!(message.columns && message.columns.length)) - message.columns = []; - message.columns.push($root.flyteidl.core.SchemaType.SchemaColumn.decode(reader, reader.uint32())); + case 1: + if (!(message.literals && message.literals.length)) + message.literals = []; + message.literals.push($root.flyteidl.core.Literal.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -8383,211 +8525,50 @@ }; /** - * Verifies a SchemaType message. + * Verifies a LiteralCollection message. * @function verify - * @memberof flyteidl.core.SchemaType + * @memberof flyteidl.core.LiteralCollection * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SchemaType.verify = function verify(message) { + LiteralCollection.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.columns != null && message.hasOwnProperty("columns")) { - if (!Array.isArray(message.columns)) - return "columns: array expected"; - for (var i = 0; i < message.columns.length; ++i) { - var error = $root.flyteidl.core.SchemaType.SchemaColumn.verify(message.columns[i]); + if (message.literals != null && message.hasOwnProperty("literals")) { + if (!Array.isArray(message.literals)) + return "literals: array expected"; + for (var i = 0; i < message.literals.length; ++i) { + var error = $root.flyteidl.core.Literal.verify(message.literals[i]); if (error) - return "columns." + error; + return "literals." + error; } } return null; }; - SchemaType.SchemaColumn = (function() { - - /** - * Properties of a SchemaColumn. - * @memberof flyteidl.core.SchemaType - * @interface ISchemaColumn - * @property {string|null} [name] SchemaColumn name - * @property {flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType|null} [type] SchemaColumn type - */ - - /** - * Constructs a new SchemaColumn. - * @memberof flyteidl.core.SchemaType - * @classdesc Represents a SchemaColumn. - * @implements ISchemaColumn - * @constructor - * @param {flyteidl.core.SchemaType.ISchemaColumn=} [properties] Properties to set - */ - function SchemaColumn(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]]; - } - - /** - * SchemaColumn name. - * @member {string} name - * @memberof flyteidl.core.SchemaType.SchemaColumn - * @instance - */ - SchemaColumn.prototype.name = ""; - - /** - * SchemaColumn type. - * @member {flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType} type - * @memberof flyteidl.core.SchemaType.SchemaColumn - * @instance - */ - SchemaColumn.prototype.type = 0; - - /** - * Creates a new SchemaColumn instance using the specified properties. - * @function create - * @memberof flyteidl.core.SchemaType.SchemaColumn - * @static - * @param {flyteidl.core.SchemaType.ISchemaColumn=} [properties] Properties to set - * @returns {flyteidl.core.SchemaType.SchemaColumn} SchemaColumn instance - */ - SchemaColumn.create = function create(properties) { - return new SchemaColumn(properties); - }; - - /** - * Encodes the specified SchemaColumn message. Does not implicitly {@link flyteidl.core.SchemaType.SchemaColumn.verify|verify} messages. - * @function encode - * @memberof flyteidl.core.SchemaType.SchemaColumn - * @static - * @param {flyteidl.core.SchemaType.ISchemaColumn} message SchemaColumn message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SchemaColumn.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.type != null && message.hasOwnProperty("type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - return writer; - }; - - /** - * Decodes a SchemaColumn message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.core.SchemaType.SchemaColumn - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SchemaType.SchemaColumn} SchemaColumn - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SchemaColumn.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.core.SchemaType.SchemaColumn(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.type = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a SchemaColumn message. - * @function verify - * @memberof flyteidl.core.SchemaType.SchemaColumn - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SchemaColumn.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - return null; - }; - - /** - * SchemaColumnType enum. - * @name flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType - * @enum {string} - * @property {number} INTEGER=0 INTEGER value - * @property {number} FLOAT=1 FLOAT value - * @property {number} STRING=2 STRING value - * @property {number} BOOLEAN=3 BOOLEAN value - * @property {number} DATETIME=4 DATETIME value - * @property {number} DURATION=5 DURATION value - */ - SchemaColumn.SchemaColumnType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "INTEGER"] = 0; - values[valuesById[1] = "FLOAT"] = 1; - values[valuesById[2] = "STRING"] = 2; - values[valuesById[3] = "BOOLEAN"] = 3; - values[valuesById[4] = "DATETIME"] = 4; - values[valuesById[5] = "DURATION"] = 5; - return values; - })(); - - return SchemaColumn; - })(); - - return SchemaType; + return LiteralCollection; })(); - core.StructuredDatasetType = (function() { + core.LiteralMap = (function() { /** - * Properties of a StructuredDatasetType. + * Properties of a LiteralMap. * @memberof flyteidl.core - * @interface IStructuredDatasetType - * @property {Array.|null} [columns] StructuredDatasetType columns - * @property {string|null} [format] StructuredDatasetType format - * @property {string|null} [externalSchemaType] StructuredDatasetType externalSchemaType - * @property {Uint8Array|null} [externalSchemaBytes] StructuredDatasetType externalSchemaBytes + * @interface ILiteralMap + * @property {Object.|null} [literals] LiteralMap literals */ /** - * Constructs a new StructuredDatasetType. + * Constructs a new LiteralMap. * @memberof flyteidl.core - * @classdesc Represents a StructuredDatasetType. - * @implements IStructuredDatasetType + * @classdesc Represents a LiteralMap. + * @implements ILiteralMap * @constructor - * @param {flyteidl.core.IStructuredDatasetType=} [properties] Properties to set + * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set */ - function StructuredDatasetType(properties) { - this.columns = []; + function LiteralMap(properties) { + this.literals = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -8595,104 +8576,191 @@ } /** - * StructuredDatasetType columns. - * @member {Array.} columns - * @memberof flyteidl.core.StructuredDatasetType + * LiteralMap literals. + * @member {Object.} literals + * @memberof flyteidl.core.LiteralMap * @instance */ - StructuredDatasetType.prototype.columns = $util.emptyArray; + LiteralMap.prototype.literals = $util.emptyObject; /** - * StructuredDatasetType format. - * @member {string} format - * @memberof flyteidl.core.StructuredDatasetType - * @instance + * Creates a new LiteralMap instance using the specified properties. + * @function create + * @memberof flyteidl.core.LiteralMap + * @static + * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set + * @returns {flyteidl.core.LiteralMap} LiteralMap instance */ - StructuredDatasetType.prototype.format = ""; + LiteralMap.create = function create(properties) { + return new LiteralMap(properties); + }; /** - * StructuredDatasetType externalSchemaType. - * @member {string} externalSchemaType - * @memberof flyteidl.core.StructuredDatasetType - * @instance + * Encodes the specified LiteralMap message. Does not implicitly {@link flyteidl.core.LiteralMap.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.LiteralMap + * @static + * @param {flyteidl.core.ILiteralMap} message LiteralMap message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - StructuredDatasetType.prototype.externalSchemaType = ""; + LiteralMap.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.literals != null && message.hasOwnProperty("literals")) + for (var keys = Object.keys(message.literals), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.Literal.encode(message.literals[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; /** - * StructuredDatasetType externalSchemaBytes. - * @member {Uint8Array} externalSchemaBytes - * @memberof flyteidl.core.StructuredDatasetType + * Decodes a LiteralMap message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.LiteralMap + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.LiteralMap} LiteralMap + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + LiteralMap.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.core.LiteralMap(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + reader.skip().pos++; + if (message.literals === $util.emptyObject) + message.literals = {}; + key = reader.string(); + reader.pos++; + message.literals[key] = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a LiteralMap message. + * @function verify + * @memberof flyteidl.core.LiteralMap + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + LiteralMap.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.literals != null && message.hasOwnProperty("literals")) { + if (!$util.isObject(message.literals)) + return "literals: object expected"; + var key = Object.keys(message.literals); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.Literal.verify(message.literals[key[i]]); + if (error) + return "literals." + error; + } + } + return null; + }; + + return LiteralMap; + })(); + + core.BindingDataCollection = (function() { + + /** + * Properties of a BindingDataCollection. + * @memberof flyteidl.core + * @interface IBindingDataCollection + * @property {Array.|null} [bindings] BindingDataCollection bindings + */ + + /** + * Constructs a new BindingDataCollection. + * @memberof flyteidl.core + * @classdesc Represents a BindingDataCollection. + * @implements IBindingDataCollection + * @constructor + * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set + */ + function BindingDataCollection(properties) { + this.bindings = []; + 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]]; + } + + /** + * BindingDataCollection bindings. + * @member {Array.} bindings + * @memberof flyteidl.core.BindingDataCollection * @instance */ - StructuredDatasetType.prototype.externalSchemaBytes = $util.newBuffer([]); + BindingDataCollection.prototype.bindings = $util.emptyArray; /** - * Creates a new StructuredDatasetType instance using the specified properties. + * Creates a new BindingDataCollection instance using the specified properties. * @function create - * @memberof flyteidl.core.StructuredDatasetType + * @memberof flyteidl.core.BindingDataCollection * @static - * @param {flyteidl.core.IStructuredDatasetType=} [properties] Properties to set - * @returns {flyteidl.core.StructuredDatasetType} StructuredDatasetType instance + * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set + * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection instance */ - StructuredDatasetType.create = function create(properties) { - return new StructuredDatasetType(properties); + BindingDataCollection.create = function create(properties) { + return new BindingDataCollection(properties); }; /** - * Encodes the specified StructuredDatasetType message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.verify|verify} messages. + * Encodes the specified BindingDataCollection message. Does not implicitly {@link flyteidl.core.BindingDataCollection.verify|verify} messages. * @function encode - * @memberof flyteidl.core.StructuredDatasetType + * @memberof flyteidl.core.BindingDataCollection * @static - * @param {flyteidl.core.IStructuredDatasetType} message StructuredDatasetType message or plain object to encode + * @param {flyteidl.core.IBindingDataCollection} message BindingDataCollection message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - StructuredDatasetType.encode = function encode(message, writer) { + BindingDataCollection.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.columns != null && message.columns.length) - for (var i = 0; i < message.columns.length; ++i) - $root.flyteidl.core.StructuredDatasetType.DatasetColumn.encode(message.columns[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.format != null && message.hasOwnProperty("format")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.format); - if (message.externalSchemaType != null && message.hasOwnProperty("externalSchemaType")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.externalSchemaType); - if (message.externalSchemaBytes != null && message.hasOwnProperty("externalSchemaBytes")) - writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.externalSchemaBytes); + if (message.bindings != null && message.bindings.length) + for (var i = 0; i < message.bindings.length; ++i) + $root.flyteidl.core.BindingData.encode(message.bindings[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a StructuredDatasetType message from the specified reader or buffer. + * Decodes a BindingDataCollection message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.StructuredDatasetType + * @memberof flyteidl.core.BindingDataCollection * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.StructuredDatasetType} StructuredDatasetType + * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - StructuredDatasetType.decode = function decode(reader, length) { + BindingDataCollection.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.core.StructuredDatasetType(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingDataCollection(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.columns && message.columns.length)) - message.columns = []; - message.columns.push($root.flyteidl.core.StructuredDatasetType.DatasetColumn.decode(reader, reader.uint32())); - break; - case 2: - message.format = reader.string(); - break; - case 3: - message.externalSchemaType = reader.string(); - break; - case 4: - message.externalSchemaBytes = reader.bytes(); + if (!(message.bindings && message.bindings.length)) + message.bindings = []; + message.bindings.push($root.flyteidl.core.BindingData.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -8703,188 +8771,50 @@ }; /** - * Verifies a StructuredDatasetType message. + * Verifies a BindingDataCollection message. * @function verify - * @memberof flyteidl.core.StructuredDatasetType + * @memberof flyteidl.core.BindingDataCollection * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - StructuredDatasetType.verify = function verify(message) { + BindingDataCollection.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.columns != null && message.hasOwnProperty("columns")) { - if (!Array.isArray(message.columns)) - return "columns: array expected"; - for (var i = 0; i < message.columns.length; ++i) { - var error = $root.flyteidl.core.StructuredDatasetType.DatasetColumn.verify(message.columns[i]); + if (message.bindings != null && message.hasOwnProperty("bindings")) { + if (!Array.isArray(message.bindings)) + return "bindings: array expected"; + for (var i = 0; i < message.bindings.length; ++i) { + var error = $root.flyteidl.core.BindingData.verify(message.bindings[i]); if (error) - return "columns." + error; + return "bindings." + error; } } - if (message.format != null && message.hasOwnProperty("format")) - if (!$util.isString(message.format)) - return "format: string expected"; - if (message.externalSchemaType != null && message.hasOwnProperty("externalSchemaType")) - if (!$util.isString(message.externalSchemaType)) - return "externalSchemaType: string expected"; - if (message.externalSchemaBytes != null && message.hasOwnProperty("externalSchemaBytes")) - if (!(message.externalSchemaBytes && typeof message.externalSchemaBytes.length === "number" || $util.isString(message.externalSchemaBytes))) - return "externalSchemaBytes: buffer expected"; return null; }; - StructuredDatasetType.DatasetColumn = (function() { + return BindingDataCollection; + })(); - /** - * Properties of a DatasetColumn. - * @memberof flyteidl.core.StructuredDatasetType - * @interface IDatasetColumn - * @property {string|null} [name] DatasetColumn name - * @property {flyteidl.core.ILiteralType|null} [literalType] DatasetColumn literalType - */ + core.BindingDataMap = (function() { - /** - * Constructs a new DatasetColumn. - * @memberof flyteidl.core.StructuredDatasetType - * @classdesc Represents a DatasetColumn. - * @implements IDatasetColumn - * @constructor - * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn=} [properties] Properties to set - */ - function DatasetColumn(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]]; - } - - /** - * DatasetColumn name. - * @member {string} name - * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn - * @instance - */ - DatasetColumn.prototype.name = ""; - - /** - * DatasetColumn literalType. - * @member {flyteidl.core.ILiteralType|null|undefined} literalType - * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn - * @instance - */ - DatasetColumn.prototype.literalType = null; - - /** - * Creates a new DatasetColumn instance using the specified properties. - * @function create - * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn - * @static - * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn=} [properties] Properties to set - * @returns {flyteidl.core.StructuredDatasetType.DatasetColumn} DatasetColumn instance - */ - DatasetColumn.create = function create(properties) { - return new DatasetColumn(properties); - }; - - /** - * Encodes the specified DatasetColumn message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.DatasetColumn.verify|verify} messages. - * @function encode - * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn - * @static - * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn} message DatasetColumn message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DatasetColumn.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.literalType != null && message.hasOwnProperty("literalType")) - $root.flyteidl.core.LiteralType.encode(message.literalType, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Decodes a DatasetColumn message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.StructuredDatasetType.DatasetColumn} DatasetColumn - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DatasetColumn.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.core.StructuredDatasetType.DatasetColumn(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.literalType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a DatasetColumn message. - * @function verify - * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DatasetColumn.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.literalType != null && message.hasOwnProperty("literalType")) { - var error = $root.flyteidl.core.LiteralType.verify(message.literalType); - if (error) - return "literalType." + error; - } - return null; - }; - - return DatasetColumn; - })(); - - return StructuredDatasetType; - })(); - - core.BlobType = (function() { - - /** - * Properties of a BlobType. - * @memberof flyteidl.core - * @interface IBlobType - * @property {string|null} [format] BlobType format - * @property {flyteidl.core.BlobType.BlobDimensionality|null} [dimensionality] BlobType dimensionality - */ + /** + * Properties of a BindingDataMap. + * @memberof flyteidl.core + * @interface IBindingDataMap + * @property {Object.|null} [bindings] BindingDataMap bindings + */ /** - * Constructs a new BlobType. + * Constructs a new BindingDataMap. * @memberof flyteidl.core - * @classdesc Represents a BlobType. - * @implements IBlobType + * @classdesc Represents a BindingDataMap. + * @implements IBindingDataMap * @constructor - * @param {flyteidl.core.IBlobType=} [properties] Properties to set + * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set */ - function BlobType(properties) { + function BindingDataMap(properties) { + this.bindings = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -8892,75 +8822,70 @@ } /** - * BlobType format. - * @member {string} format - * @memberof flyteidl.core.BlobType - * @instance - */ - BlobType.prototype.format = ""; - - /** - * BlobType dimensionality. - * @member {flyteidl.core.BlobType.BlobDimensionality} dimensionality - * @memberof flyteidl.core.BlobType + * BindingDataMap bindings. + * @member {Object.} bindings + * @memberof flyteidl.core.BindingDataMap * @instance */ - BlobType.prototype.dimensionality = 0; + BindingDataMap.prototype.bindings = $util.emptyObject; /** - * Creates a new BlobType instance using the specified properties. + * Creates a new BindingDataMap instance using the specified properties. * @function create - * @memberof flyteidl.core.BlobType + * @memberof flyteidl.core.BindingDataMap * @static - * @param {flyteidl.core.IBlobType=} [properties] Properties to set - * @returns {flyteidl.core.BlobType} BlobType instance + * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set + * @returns {flyteidl.core.BindingDataMap} BindingDataMap instance */ - BlobType.create = function create(properties) { - return new BlobType(properties); + BindingDataMap.create = function create(properties) { + return new BindingDataMap(properties); }; /** - * Encodes the specified BlobType message. Does not implicitly {@link flyteidl.core.BlobType.verify|verify} messages. + * Encodes the specified BindingDataMap message. Does not implicitly {@link flyteidl.core.BindingDataMap.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BlobType + * @memberof flyteidl.core.BindingDataMap * @static - * @param {flyteidl.core.IBlobType} message BlobType message or plain object to encode + * @param {flyteidl.core.IBindingDataMap} message BindingDataMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BlobType.encode = function encode(message, writer) { + BindingDataMap.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.format != null && message.hasOwnProperty("format")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.format); - if (message.dimensionality != null && message.hasOwnProperty("dimensionality")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.dimensionality); + if (message.bindings != null && message.hasOwnProperty("bindings")) + for (var keys = Object.keys(message.bindings), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.BindingData.encode(message.bindings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } return writer; }; /** - * Decodes a BlobType message from the specified reader or buffer. + * Decodes a BindingDataMap message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BlobType + * @memberof flyteidl.core.BindingDataMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BlobType} BlobType + * @returns {flyteidl.core.BindingDataMap} BindingDataMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BlobType.decode = function decode(reader, length) { + BindingDataMap.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.core.BlobType(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingDataMap(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.format = reader.string(); - break; - case 2: - message.dimensionality = reader.int32(); + reader.skip().pos++; + if (message.bindings === $util.emptyObject) + message.bindings = {}; + key = reader.string(); + reader.pos++; + message.bindings[key] = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -8971,66 +8896,50 @@ }; /** - * Verifies a BlobType message. + * Verifies a BindingDataMap message. * @function verify - * @memberof flyteidl.core.BlobType + * @memberof flyteidl.core.BindingDataMap * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BlobType.verify = function verify(message) { + BindingDataMap.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.format != null && message.hasOwnProperty("format")) - if (!$util.isString(message.format)) - return "format: string expected"; - if (message.dimensionality != null && message.hasOwnProperty("dimensionality")) - switch (message.dimensionality) { - default: - return "dimensionality: enum value expected"; - case 0: - case 1: - break; + if (message.bindings != null && message.hasOwnProperty("bindings")) { + if (!$util.isObject(message.bindings)) + return "bindings: object expected"; + var key = Object.keys(message.bindings); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.BindingData.verify(message.bindings[key[i]]); + if (error) + return "bindings." + error; } + } return null; }; - /** - * BlobDimensionality enum. - * @name flyteidl.core.BlobType.BlobDimensionality - * @enum {string} - * @property {number} SINGLE=0 SINGLE value - * @property {number} MULTIPART=1 MULTIPART value - */ - BlobType.BlobDimensionality = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "SINGLE"] = 0; - values[valuesById[1] = "MULTIPART"] = 1; - return values; - })(); - - return BlobType; + return BindingDataMap; })(); - core.EnumType = (function() { + core.UnionInfo = (function() { /** - * Properties of an EnumType. + * Properties of an UnionInfo. * @memberof flyteidl.core - * @interface IEnumType - * @property {Array.|null} [values] EnumType values + * @interface IUnionInfo + * @property {flyteidl.core.ILiteralType|null} [targetType] UnionInfo targetType */ /** - * Constructs a new EnumType. + * Constructs a new UnionInfo. * @memberof flyteidl.core - * @classdesc Represents an EnumType. - * @implements IEnumType + * @classdesc Represents an UnionInfo. + * @implements IUnionInfo * @constructor - * @param {flyteidl.core.IEnumType=} [properties] Properties to set + * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set */ - function EnumType(properties) { - this.values = []; + function UnionInfo(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9038,65 +8947,62 @@ } /** - * EnumType values. - * @member {Array.} values - * @memberof flyteidl.core.EnumType + * UnionInfo targetType. + * @member {flyteidl.core.ILiteralType|null|undefined} targetType + * @memberof flyteidl.core.UnionInfo * @instance */ - EnumType.prototype.values = $util.emptyArray; + UnionInfo.prototype.targetType = null; /** - * Creates a new EnumType instance using the specified properties. + * Creates a new UnionInfo instance using the specified properties. * @function create - * @memberof flyteidl.core.EnumType + * @memberof flyteidl.core.UnionInfo * @static - * @param {flyteidl.core.IEnumType=} [properties] Properties to set - * @returns {flyteidl.core.EnumType} EnumType instance + * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set + * @returns {flyteidl.core.UnionInfo} UnionInfo instance */ - EnumType.create = function create(properties) { - return new EnumType(properties); + UnionInfo.create = function create(properties) { + return new UnionInfo(properties); }; /** - * Encodes the specified EnumType message. Does not implicitly {@link flyteidl.core.EnumType.verify|verify} messages. + * Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages. * @function encode - * @memberof flyteidl.core.EnumType + * @memberof flyteidl.core.UnionInfo * @static - * @param {flyteidl.core.IEnumType} message EnumType message or plain object to encode + * @param {flyteidl.core.IUnionInfo} message UnionInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumType.encode = function encode(message, writer) { + UnionInfo.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) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.values[i]); + if (message.targetType != null && message.hasOwnProperty("targetType")) + $root.flyteidl.core.LiteralType.encode(message.targetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an EnumType message from the specified reader or buffer. + * Decodes an UnionInfo message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.EnumType + * @memberof flyteidl.core.UnionInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.EnumType} EnumType + * @returns {flyteidl.core.UnionInfo} UnionInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumType.decode = function decode(reader, length) { + UnionInfo.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.core.EnumType(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.UnionInfo(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.values && message.values.length)) - message.values = []; - message.values.push(reader.string()); + message.targetType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -9107,48 +9013,49 @@ }; /** - * Verifies an EnumType message. + * Verifies an UnionInfo message. * @function verify - * @memberof flyteidl.core.EnumType + * @memberof flyteidl.core.UnionInfo * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EnumType.verify = function verify(message) { + UnionInfo.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) - if (!$util.isString(message.values[i])) - return "values: string[] expected"; + if (message.targetType != null && message.hasOwnProperty("targetType")) { + var error = $root.flyteidl.core.LiteralType.verify(message.targetType); + if (error) + return "targetType." + error; } return null; }; - return EnumType; + return UnionInfo; })(); - core.UnionType = (function() { + core.BindingData = (function() { /** - * Properties of an UnionType. + * Properties of a BindingData. * @memberof flyteidl.core - * @interface IUnionType - * @property {Array.|null} [variants] UnionType variants + * @interface IBindingData + * @property {flyteidl.core.IScalar|null} [scalar] BindingData scalar + * @property {flyteidl.core.IBindingDataCollection|null} [collection] BindingData collection + * @property {flyteidl.core.IOutputReference|null} [promise] BindingData promise + * @property {flyteidl.core.IBindingDataMap|null} [map] BindingData map + * @property {flyteidl.core.IUnionInfo|null} [union] BindingData union */ /** - * Constructs a new UnionType. + * Constructs a new BindingData. * @memberof flyteidl.core - * @classdesc Represents an UnionType. - * @implements IUnionType + * @classdesc Represents a BindingData. + * @implements IBindingData * @constructor - * @param {flyteidl.core.IUnionType=} [properties] Properties to set + * @param {flyteidl.core.IBindingData=} [properties] Properties to set */ - function UnionType(properties) { - this.variants = []; + function BindingData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9156,65 +9063,128 @@ } /** - * UnionType variants. - * @member {Array.} variants - * @memberof flyteidl.core.UnionType + * BindingData scalar. + * @member {flyteidl.core.IScalar|null|undefined} scalar + * @memberof flyteidl.core.BindingData * @instance */ - UnionType.prototype.variants = $util.emptyArray; + BindingData.prototype.scalar = null; /** - * Creates a new UnionType instance using the specified properties. + * BindingData collection. + * @member {flyteidl.core.IBindingDataCollection|null|undefined} collection + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.collection = null; + + /** + * BindingData promise. + * @member {flyteidl.core.IOutputReference|null|undefined} promise + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.promise = null; + + /** + * BindingData map. + * @member {flyteidl.core.IBindingDataMap|null|undefined} map + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.map = null; + + /** + * BindingData union. + * @member {flyteidl.core.IUnionInfo|null|undefined} union + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.union = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * BindingData value. + * @member {"scalar"|"collection"|"promise"|"map"|undefined} value + * @memberof flyteidl.core.BindingData + * @instance + */ + Object.defineProperty(BindingData.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "promise", "map"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new BindingData instance using the specified properties. * @function create - * @memberof flyteidl.core.UnionType + * @memberof flyteidl.core.BindingData * @static - * @param {flyteidl.core.IUnionType=} [properties] Properties to set - * @returns {flyteidl.core.UnionType} UnionType instance + * @param {flyteidl.core.IBindingData=} [properties] Properties to set + * @returns {flyteidl.core.BindingData} BindingData instance */ - UnionType.create = function create(properties) { - return new UnionType(properties); + BindingData.create = function create(properties) { + return new BindingData(properties); }; /** - * Encodes the specified UnionType message. Does not implicitly {@link flyteidl.core.UnionType.verify|verify} messages. + * Encodes the specified BindingData message. Does not implicitly {@link flyteidl.core.BindingData.verify|verify} messages. * @function encode - * @memberof flyteidl.core.UnionType + * @memberof flyteidl.core.BindingData * @static - * @param {flyteidl.core.IUnionType} message UnionType message or plain object to encode + * @param {flyteidl.core.IBindingData} message BindingData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UnionType.encode = function encode(message, writer) { + BindingData.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.variants != null && message.variants.length) - for (var i = 0; i < message.variants.length; ++i) - $root.flyteidl.core.LiteralType.encode(message.variants[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.scalar != null && message.hasOwnProperty("scalar")) + $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.collection != null && message.hasOwnProperty("collection")) + $root.flyteidl.core.BindingDataCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.promise != null && message.hasOwnProperty("promise")) + $root.flyteidl.core.OutputReference.encode(message.promise, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.map != null && message.hasOwnProperty("map")) + $root.flyteidl.core.BindingDataMap.encode(message.map, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.union != null && message.hasOwnProperty("union")) + $root.flyteidl.core.UnionInfo.encode(message.union, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes an UnionType message from the specified reader or buffer. + * Decodes a BindingData message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.UnionType + * @memberof flyteidl.core.BindingData * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.UnionType} UnionType + * @returns {flyteidl.core.BindingData} BindingData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UnionType.decode = function decode(reader, length) { + BindingData.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.core.UnionType(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingData(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.variants && message.variants.length)) - message.variants = []; - message.variants.push($root.flyteidl.core.LiteralType.decode(reader, reader.uint32())); + message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); + break; + case 2: + message.collection = $root.flyteidl.core.BindingDataCollection.decode(reader, reader.uint32()); + break; + case 3: + message.promise = $root.flyteidl.core.OutputReference.decode(reader, reader.uint32()); + break; + case 4: + message.map = $root.flyteidl.core.BindingDataMap.decode(reader, reader.uint32()); + break; + case 5: + message.union = $root.flyteidl.core.UnionInfo.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -9225,49 +9195,85 @@ }; /** - * Verifies an UnionType message. + * Verifies a BindingData message. * @function verify - * @memberof flyteidl.core.UnionType + * @memberof flyteidl.core.BindingData * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UnionType.verify = function verify(message) { + BindingData.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.variants != null && message.hasOwnProperty("variants")) { - if (!Array.isArray(message.variants)) - return "variants: array expected"; - for (var i = 0; i < message.variants.length; ++i) { - var error = $root.flyteidl.core.LiteralType.verify(message.variants[i]); + var properties = {}; + if (message.scalar != null && message.hasOwnProperty("scalar")) { + properties.value = 1; + { + var error = $root.flyteidl.core.Scalar.verify(message.scalar); if (error) - return "variants." + error; + return "scalar." + error; + } + } + if (message.collection != null && message.hasOwnProperty("collection")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.BindingDataCollection.verify(message.collection); + if (error) + return "collection." + error; + } + } + if (message.promise != null && message.hasOwnProperty("promise")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.OutputReference.verify(message.promise); + if (error) + return "promise." + error; + } + } + if (message.map != null && message.hasOwnProperty("map")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.BindingDataMap.verify(message.map); + if (error) + return "map." + error; } } + if (message.union != null && message.hasOwnProperty("union")) { + var error = $root.flyteidl.core.UnionInfo.verify(message.union); + if (error) + return "union." + error; + } return null; }; - return UnionType; + return BindingData; })(); - core.TypeStructure = (function() { + core.Binding = (function() { /** - * Properties of a TypeStructure. + * Properties of a Binding. * @memberof flyteidl.core - * @interface ITypeStructure - * @property {string|null} [tag] TypeStructure tag + * @interface IBinding + * @property {string|null} ["var"] Binding var + * @property {flyteidl.core.IBindingData|null} [binding] Binding binding */ /** - * Constructs a new TypeStructure. + * Constructs a new Binding. * @memberof flyteidl.core - * @classdesc Represents a TypeStructure. - * @implements ITypeStructure + * @classdesc Represents a Binding. + * @implements IBinding * @constructor - * @param {flyteidl.core.ITypeStructure=} [properties] Properties to set + * @param {flyteidl.core.IBinding=} [properties] Properties to set */ - function TypeStructure(properties) { + function Binding(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9275,62 +9281,75 @@ } /** - * TypeStructure tag. - * @member {string} tag - * @memberof flyteidl.core.TypeStructure + * Binding var. + * @member {string} var + * @memberof flyteidl.core.Binding * @instance */ - TypeStructure.prototype.tag = ""; + Binding.prototype["var"] = ""; /** - * Creates a new TypeStructure instance using the specified properties. + * Binding binding. + * @member {flyteidl.core.IBindingData|null|undefined} binding + * @memberof flyteidl.core.Binding + * @instance + */ + Binding.prototype.binding = null; + + /** + * Creates a new Binding instance using the specified properties. * @function create - * @memberof flyteidl.core.TypeStructure + * @memberof flyteidl.core.Binding * @static - * @param {flyteidl.core.ITypeStructure=} [properties] Properties to set - * @returns {flyteidl.core.TypeStructure} TypeStructure instance + * @param {flyteidl.core.IBinding=} [properties] Properties to set + * @returns {flyteidl.core.Binding} Binding instance */ - TypeStructure.create = function create(properties) { - return new TypeStructure(properties); + Binding.create = function create(properties) { + return new Binding(properties); }; /** - * Encodes the specified TypeStructure message. Does not implicitly {@link flyteidl.core.TypeStructure.verify|verify} messages. + * Encodes the specified Binding message. Does not implicitly {@link flyteidl.core.Binding.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TypeStructure + * @memberof flyteidl.core.Binding * @static - * @param {flyteidl.core.ITypeStructure} message TypeStructure message or plain object to encode + * @param {flyteidl.core.IBinding} message Binding message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TypeStructure.encode = function encode(message, writer) { + Binding.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.tag != null && message.hasOwnProperty("tag")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.tag); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); + if (message.binding != null && message.hasOwnProperty("binding")) + $root.flyteidl.core.BindingData.encode(message.binding, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TypeStructure message from the specified reader or buffer. + * Decodes a Binding message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TypeStructure + * @memberof flyteidl.core.Binding * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TypeStructure} TypeStructure + * @returns {flyteidl.core.Binding} Binding * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TypeStructure.decode = function decode(reader, length) { + Binding.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.core.TypeStructure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Binding(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.tag = reader.string(); + message["var"] = reader.string(); + break; + case 2: + message.binding = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -9341,43 +9360,49 @@ }; /** - * Verifies a TypeStructure message. + * Verifies a Binding message. * @function verify - * @memberof flyteidl.core.TypeStructure + * @memberof flyteidl.core.Binding * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TypeStructure.verify = function verify(message) { + Binding.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.tag != null && message.hasOwnProperty("tag")) - if (!$util.isString(message.tag)) - return "tag: string expected"; + if (message["var"] != null && message.hasOwnProperty("var")) + if (!$util.isString(message["var"])) + return "var: string expected"; + if (message.binding != null && message.hasOwnProperty("binding")) { + var error = $root.flyteidl.core.BindingData.verify(message.binding); + if (error) + return "binding." + error; + } return null; }; - return TypeStructure; + return Binding; })(); - core.TypeAnnotation = (function() { + core.KeyValuePair = (function() { /** - * Properties of a TypeAnnotation. + * Properties of a KeyValuePair. * @memberof flyteidl.core - * @interface ITypeAnnotation - * @property {google.protobuf.IStruct|null} [annotations] TypeAnnotation annotations + * @interface IKeyValuePair + * @property {string|null} [key] KeyValuePair key + * @property {string|null} [value] KeyValuePair value */ /** - * Constructs a new TypeAnnotation. + * Constructs a new KeyValuePair. * @memberof flyteidl.core - * @classdesc Represents a TypeAnnotation. - * @implements ITypeAnnotation + * @classdesc Represents a KeyValuePair. + * @implements IKeyValuePair * @constructor - * @param {flyteidl.core.ITypeAnnotation=} [properties] Properties to set + * @param {flyteidl.core.IKeyValuePair=} [properties] Properties to set */ - function TypeAnnotation(properties) { + function KeyValuePair(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9385,62 +9410,75 @@ } /** - * TypeAnnotation annotations. - * @member {google.protobuf.IStruct|null|undefined} annotations - * @memberof flyteidl.core.TypeAnnotation + * KeyValuePair key. + * @member {string} key + * @memberof flyteidl.core.KeyValuePair * @instance */ - TypeAnnotation.prototype.annotations = null; + KeyValuePair.prototype.key = ""; /** - * Creates a new TypeAnnotation instance using the specified properties. + * KeyValuePair value. + * @member {string} value + * @memberof flyteidl.core.KeyValuePair + * @instance + */ + KeyValuePair.prototype.value = ""; + + /** + * Creates a new KeyValuePair instance using the specified properties. * @function create - * @memberof flyteidl.core.TypeAnnotation + * @memberof flyteidl.core.KeyValuePair * @static - * @param {flyteidl.core.ITypeAnnotation=} [properties] Properties to set - * @returns {flyteidl.core.TypeAnnotation} TypeAnnotation instance + * @param {flyteidl.core.IKeyValuePair=} [properties] Properties to set + * @returns {flyteidl.core.KeyValuePair} KeyValuePair instance */ - TypeAnnotation.create = function create(properties) { - return new TypeAnnotation(properties); + KeyValuePair.create = function create(properties) { + return new KeyValuePair(properties); }; /** - * Encodes the specified TypeAnnotation message. Does not implicitly {@link flyteidl.core.TypeAnnotation.verify|verify} messages. + * Encodes the specified KeyValuePair message. Does not implicitly {@link flyteidl.core.KeyValuePair.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TypeAnnotation + * @memberof flyteidl.core.KeyValuePair * @static - * @param {flyteidl.core.ITypeAnnotation} message TypeAnnotation message or plain object to encode + * @param {flyteidl.core.IKeyValuePair} message KeyValuePair message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TypeAnnotation.encode = function encode(message, writer) { + KeyValuePair.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.annotations != null && message.hasOwnProperty("annotations")) - $root.google.protobuf.Struct.encode(message.annotations, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.key != null && message.hasOwnProperty("key")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); return writer; }; /** - * Decodes a TypeAnnotation message from the specified reader or buffer. + * Decodes a KeyValuePair message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TypeAnnotation + * @memberof flyteidl.core.KeyValuePair * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TypeAnnotation} TypeAnnotation + * @returns {flyteidl.core.KeyValuePair} KeyValuePair * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TypeAnnotation.decode = function decode(reader, length) { + KeyValuePair.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.core.TypeAnnotation(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.KeyValuePair(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.annotations = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + message.key = reader.string(); + break; + case 2: + message.value = reader.string(); break; default: reader.skipType(tag & 7); @@ -9451,55 +9489,46 @@ }; /** - * Verifies a TypeAnnotation message. + * Verifies a KeyValuePair message. * @function verify - * @memberof flyteidl.core.TypeAnnotation + * @memberof flyteidl.core.KeyValuePair * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TypeAnnotation.verify = function verify(message) { + KeyValuePair.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.annotations != null && message.hasOwnProperty("annotations")) { - var error = $root.google.protobuf.Struct.verify(message.annotations); - if (error) - return "annotations." + error; - } + if (message.key != null && message.hasOwnProperty("key")) + if (!$util.isString(message.key)) + return "key: string expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; return null; }; - return TypeAnnotation; + return KeyValuePair; })(); - core.LiteralType = (function() { + core.RetryStrategy = (function() { /** - * Properties of a LiteralType. + * Properties of a RetryStrategy. * @memberof flyteidl.core - * @interface ILiteralType - * @property {flyteidl.core.SimpleType|null} [simple] LiteralType simple - * @property {flyteidl.core.ISchemaType|null} [schema] LiteralType schema - * @property {flyteidl.core.ILiteralType|null} [collectionType] LiteralType collectionType - * @property {flyteidl.core.ILiteralType|null} [mapValueType] LiteralType mapValueType - * @property {flyteidl.core.IBlobType|null} [blob] LiteralType blob - * @property {flyteidl.core.IEnumType|null} [enumType] LiteralType enumType - * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] LiteralType structuredDatasetType - * @property {flyteidl.core.IUnionType|null} [unionType] LiteralType unionType - * @property {google.protobuf.IStruct|null} [metadata] LiteralType metadata - * @property {flyteidl.core.ITypeAnnotation|null} [annotation] LiteralType annotation - * @property {flyteidl.core.ITypeStructure|null} [structure] LiteralType structure + * @interface IRetryStrategy + * @property {number|null} [retries] RetryStrategy retries */ /** - * Constructs a new LiteralType. + * Constructs a new RetryStrategy. * @memberof flyteidl.core - * @classdesc Represents a LiteralType. - * @implements ILiteralType + * @classdesc Represents a RetryStrategy. + * @implements IRetryStrategy * @constructor - * @param {flyteidl.core.ILiteralType=} [properties] Properties to set + * @param {flyteidl.core.IRetryStrategy=} [properties] Properties to set */ - function LiteralType(properties) { + function RetryStrategy(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9507,206 +9536,206 @@ } /** - * LiteralType simple. - * @member {flyteidl.core.SimpleType} simple - * @memberof flyteidl.core.LiteralType - * @instance - */ - LiteralType.prototype.simple = 0; - - /** - * LiteralType schema. - * @member {flyteidl.core.ISchemaType|null|undefined} schema - * @memberof flyteidl.core.LiteralType + * RetryStrategy retries. + * @member {number} retries + * @memberof flyteidl.core.RetryStrategy * @instance */ - LiteralType.prototype.schema = null; + RetryStrategy.prototype.retries = 0; /** - * LiteralType collectionType. - * @member {flyteidl.core.ILiteralType|null|undefined} collectionType - * @memberof flyteidl.core.LiteralType - * @instance + * Creates a new RetryStrategy instance using the specified properties. + * @function create + * @memberof flyteidl.core.RetryStrategy + * @static + * @param {flyteidl.core.IRetryStrategy=} [properties] Properties to set + * @returns {flyteidl.core.RetryStrategy} RetryStrategy instance */ - LiteralType.prototype.collectionType = null; + RetryStrategy.create = function create(properties) { + return new RetryStrategy(properties); + }; /** - * LiteralType mapValueType. - * @member {flyteidl.core.ILiteralType|null|undefined} mapValueType - * @memberof flyteidl.core.LiteralType - * @instance + * Encodes the specified RetryStrategy message. Does not implicitly {@link flyteidl.core.RetryStrategy.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.RetryStrategy + * @static + * @param {flyteidl.core.IRetryStrategy} message RetryStrategy message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - LiteralType.prototype.mapValueType = null; + RetryStrategy.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.retries != null && message.hasOwnProperty("retries")) + writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.retries); + return writer; + }; /** - * LiteralType blob. - * @member {flyteidl.core.IBlobType|null|undefined} blob - * @memberof flyteidl.core.LiteralType - * @instance + * Decodes a RetryStrategy message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.RetryStrategy + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.RetryStrategy} RetryStrategy + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LiteralType.prototype.blob = null; + RetryStrategy.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.core.RetryStrategy(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 5: + message.retries = reader.uint32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * LiteralType enumType. - * @member {flyteidl.core.IEnumType|null|undefined} enumType - * @memberof flyteidl.core.LiteralType - * @instance + * Verifies a RetryStrategy message. + * @function verify + * @memberof flyteidl.core.RetryStrategy + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LiteralType.prototype.enumType = null; + RetryStrategy.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.retries != null && message.hasOwnProperty("retries")) + if (!$util.isInteger(message.retries)) + return "retries: integer expected"; + return null; + }; - /** - * LiteralType structuredDatasetType. - * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType - * @memberof flyteidl.core.LiteralType - * @instance - */ - LiteralType.prototype.structuredDatasetType = null; + return RetryStrategy; + })(); - /** - * LiteralType unionType. - * @member {flyteidl.core.IUnionType|null|undefined} unionType - * @memberof flyteidl.core.LiteralType - * @instance - */ - LiteralType.prototype.unionType = null; + /** + * SimpleType enum. + * @name flyteidl.core.SimpleType + * @enum {string} + * @property {number} NONE=0 NONE value + * @property {number} INTEGER=1 INTEGER value + * @property {number} FLOAT=2 FLOAT value + * @property {number} STRING=3 STRING value + * @property {number} BOOLEAN=4 BOOLEAN value + * @property {number} DATETIME=5 DATETIME value + * @property {number} DURATION=6 DURATION value + * @property {number} BINARY=7 BINARY value + * @property {number} ERROR=8 ERROR value + * @property {number} STRUCT=9 STRUCT value + */ + core.SimpleType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "NONE"] = 0; + values[valuesById[1] = "INTEGER"] = 1; + values[valuesById[2] = "FLOAT"] = 2; + values[valuesById[3] = "STRING"] = 3; + values[valuesById[4] = "BOOLEAN"] = 4; + values[valuesById[5] = "DATETIME"] = 5; + values[valuesById[6] = "DURATION"] = 6; + values[valuesById[7] = "BINARY"] = 7; + values[valuesById[8] = "ERROR"] = 8; + values[valuesById[9] = "STRUCT"] = 9; + return values; + })(); - /** - * LiteralType metadata. - * @member {google.protobuf.IStruct|null|undefined} metadata - * @memberof flyteidl.core.LiteralType - * @instance - */ - LiteralType.prototype.metadata = null; + core.SchemaType = (function() { /** - * LiteralType annotation. - * @member {flyteidl.core.ITypeAnnotation|null|undefined} annotation - * @memberof flyteidl.core.LiteralType - * @instance + * Properties of a SchemaType. + * @memberof flyteidl.core + * @interface ISchemaType + * @property {Array.|null} [columns] SchemaType columns */ - LiteralType.prototype.annotation = null; /** - * LiteralType structure. - * @member {flyteidl.core.ITypeStructure|null|undefined} structure - * @memberof flyteidl.core.LiteralType - * @instance + * Constructs a new SchemaType. + * @memberof flyteidl.core + * @classdesc Represents a SchemaType. + * @implements ISchemaType + * @constructor + * @param {flyteidl.core.ISchemaType=} [properties] Properties to set */ - LiteralType.prototype.structure = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + function SchemaType(properties) { + this.columns = []; + 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]]; + } /** - * LiteralType type. - * @member {"simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|"unionType"|undefined} type - * @memberof flyteidl.core.LiteralType + * SchemaType columns. + * @member {Array.} columns + * @memberof flyteidl.core.SchemaType * @instance */ - Object.defineProperty(LiteralType.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["simple", "schema", "collectionType", "mapValueType", "blob", "enumType", "structuredDatasetType", "unionType"]), - set: $util.oneOfSetter($oneOfFields) - }); + SchemaType.prototype.columns = $util.emptyArray; /** - * Creates a new LiteralType instance using the specified properties. + * Creates a new SchemaType instance using the specified properties. * @function create - * @memberof flyteidl.core.LiteralType + * @memberof flyteidl.core.SchemaType * @static - * @param {flyteidl.core.ILiteralType=} [properties] Properties to set - * @returns {flyteidl.core.LiteralType} LiteralType instance + * @param {flyteidl.core.ISchemaType=} [properties] Properties to set + * @returns {flyteidl.core.SchemaType} SchemaType instance */ - LiteralType.create = function create(properties) { - return new LiteralType(properties); + SchemaType.create = function create(properties) { + return new SchemaType(properties); }; /** - * Encodes the specified LiteralType message. Does not implicitly {@link flyteidl.core.LiteralType.verify|verify} messages. + * Encodes the specified SchemaType message. Does not implicitly {@link flyteidl.core.SchemaType.verify|verify} messages. * @function encode - * @memberof flyteidl.core.LiteralType + * @memberof flyteidl.core.SchemaType * @static - * @param {flyteidl.core.ILiteralType} message LiteralType message or plain object to encode + * @param {flyteidl.core.ISchemaType} message SchemaType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LiteralType.encode = function encode(message, writer) { + SchemaType.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.simple != null && message.hasOwnProperty("simple")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.simple); - if (message.schema != null && message.hasOwnProperty("schema")) - $root.flyteidl.core.SchemaType.encode(message.schema, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.collectionType != null && message.hasOwnProperty("collectionType")) - $root.flyteidl.core.LiteralType.encode(message.collectionType, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.mapValueType != null && message.hasOwnProperty("mapValueType")) - $root.flyteidl.core.LiteralType.encode(message.mapValueType, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.blob != null && message.hasOwnProperty("blob")) - $root.flyteidl.core.BlobType.encode(message.blob, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.google.protobuf.Struct.encode(message.metadata, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.enumType != null && message.hasOwnProperty("enumType")) - $root.flyteidl.core.EnumType.encode(message.enumType, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) - $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.annotation != null && message.hasOwnProperty("annotation")) - $root.flyteidl.core.TypeAnnotation.encode(message.annotation, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.unionType != null && message.hasOwnProperty("unionType")) - $root.flyteidl.core.UnionType.encode(message.unionType, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.structure != null && message.hasOwnProperty("structure")) - $root.flyteidl.core.TypeStructure.encode(message.structure, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); + if (message.columns != null && message.columns.length) + for (var i = 0; i < message.columns.length; ++i) + $root.flyteidl.core.SchemaType.SchemaColumn.encode(message.columns[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a LiteralType message from the specified reader or buffer. + * Decodes a SchemaType message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.LiteralType + * @memberof flyteidl.core.SchemaType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.LiteralType} LiteralType + * @returns {flyteidl.core.SchemaType} SchemaType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LiteralType.decode = function decode(reader, length) { + SchemaType.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.core.LiteralType(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SchemaType(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.simple = reader.int32(); - break; - case 2: - message.schema = $root.flyteidl.core.SchemaType.decode(reader, reader.uint32()); - break; case 3: - message.collectionType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); - break; - case 4: - message.mapValueType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); - break; - case 5: - message.blob = $root.flyteidl.core.BlobType.decode(reader, reader.uint32()); - break; - case 7: - message.enumType = $root.flyteidl.core.EnumType.decode(reader, reader.uint32()); - break; - case 8: - message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32()); - break; - case 10: - message.unionType = $root.flyteidl.core.UnionType.decode(reader, reader.uint32()); - break; - case 6: - message.metadata = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 9: - message.annotation = $root.flyteidl.core.TypeAnnotation.decode(reader, reader.uint32()); - break; - case 11: - message.structure = $root.flyteidl.core.TypeStructure.decode(reader, reader.uint32()); + if (!(message.columns && message.columns.length)) + message.columns = []; + message.columns.push($root.flyteidl.core.SchemaType.SchemaColumn.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -9717,147 +9746,211 @@ }; /** - * Verifies a LiteralType message. + * Verifies a SchemaType message. * @function verify - * @memberof flyteidl.core.LiteralType + * @memberof flyteidl.core.SchemaType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LiteralType.verify = function verify(message) { + SchemaType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.simple != null && message.hasOwnProperty("simple")) { - properties.type = 1; - switch (message.simple) { - default: - return "simple: 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.schema != null && message.hasOwnProperty("schema")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.core.SchemaType.verify(message.schema); - if (error) - return "schema." + error; - } - } - if (message.collectionType != null && message.hasOwnProperty("collectionType")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.core.LiteralType.verify(message.collectionType); - if (error) - return "collectionType." + error; - } - } - if (message.mapValueType != null && message.hasOwnProperty("mapValueType")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.core.LiteralType.verify(message.mapValueType); - if (error) - return "mapValueType." + error; - } - } - if (message.blob != null && message.hasOwnProperty("blob")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.core.BlobType.verify(message.blob); - if (error) - return "blob." + error; - } - } - if (message.enumType != null && message.hasOwnProperty("enumType")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.core.EnumType.verify(message.enumType); - if (error) - return "enumType." + error; - } - } - if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType); - if (error) - return "structuredDatasetType." + error; - } - } - if (message.unionType != null && message.hasOwnProperty("unionType")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.core.UnionType.verify(message.unionType); + if (message.columns != null && message.hasOwnProperty("columns")) { + if (!Array.isArray(message.columns)) + return "columns: array expected"; + for (var i = 0; i < message.columns.length; ++i) { + var error = $root.flyteidl.core.SchemaType.SchemaColumn.verify(message.columns[i]); if (error) - return "unionType." + error; + return "columns." + error; } } - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.google.protobuf.Struct.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.annotation != null && message.hasOwnProperty("annotation")) { - var error = $root.flyteidl.core.TypeAnnotation.verify(message.annotation); - if (error) - return "annotation." + error; - } - if (message.structure != null && message.hasOwnProperty("structure")) { - var error = $root.flyteidl.core.TypeStructure.verify(message.structure); - if (error) - return "structure." + error; - } return null; }; - return LiteralType; + SchemaType.SchemaColumn = (function() { + + /** + * Properties of a SchemaColumn. + * @memberof flyteidl.core.SchemaType + * @interface ISchemaColumn + * @property {string|null} [name] SchemaColumn name + * @property {flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType|null} [type] SchemaColumn type + */ + + /** + * Constructs a new SchemaColumn. + * @memberof flyteidl.core.SchemaType + * @classdesc Represents a SchemaColumn. + * @implements ISchemaColumn + * @constructor + * @param {flyteidl.core.SchemaType.ISchemaColumn=} [properties] Properties to set + */ + function SchemaColumn(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]]; + } + + /** + * SchemaColumn name. + * @member {string} name + * @memberof flyteidl.core.SchemaType.SchemaColumn + * @instance + */ + SchemaColumn.prototype.name = ""; + + /** + * SchemaColumn type. + * @member {flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType} type + * @memberof flyteidl.core.SchemaType.SchemaColumn + * @instance + */ + SchemaColumn.prototype.type = 0; + + /** + * Creates a new SchemaColumn instance using the specified properties. + * @function create + * @memberof flyteidl.core.SchemaType.SchemaColumn + * @static + * @param {flyteidl.core.SchemaType.ISchemaColumn=} [properties] Properties to set + * @returns {flyteidl.core.SchemaType.SchemaColumn} SchemaColumn instance + */ + SchemaColumn.create = function create(properties) { + return new SchemaColumn(properties); + }; + + /** + * Encodes the specified SchemaColumn message. Does not implicitly {@link flyteidl.core.SchemaType.SchemaColumn.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.SchemaType.SchemaColumn + * @static + * @param {flyteidl.core.SchemaType.ISchemaColumn} message SchemaColumn message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SchemaColumn.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.type != null && message.hasOwnProperty("type")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); + return writer; + }; + + /** + * Decodes a SchemaColumn message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.SchemaType.SchemaColumn + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.SchemaType.SchemaColumn} SchemaColumn + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SchemaColumn.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.core.SchemaType.SchemaColumn(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + case 2: + message.type = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SchemaColumn message. + * @function verify + * @memberof flyteidl.core.SchemaType.SchemaColumn + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SchemaColumn.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.type != null && message.hasOwnProperty("type")) + switch (message.type) { + default: + return "type: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + return null; + }; + + /** + * SchemaColumnType enum. + * @name flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType + * @enum {string} + * @property {number} INTEGER=0 INTEGER value + * @property {number} FLOAT=1 FLOAT value + * @property {number} STRING=2 STRING value + * @property {number} BOOLEAN=3 BOOLEAN value + * @property {number} DATETIME=4 DATETIME value + * @property {number} DURATION=5 DURATION value + */ + SchemaColumn.SchemaColumnType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "INTEGER"] = 0; + values[valuesById[1] = "FLOAT"] = 1; + values[valuesById[2] = "STRING"] = 2; + values[valuesById[3] = "BOOLEAN"] = 3; + values[valuesById[4] = "DATETIME"] = 4; + values[valuesById[5] = "DURATION"] = 5; + return values; + })(); + + return SchemaColumn; + })(); + + return SchemaType; })(); - core.OutputReference = (function() { + core.StructuredDatasetType = (function() { /** - * Properties of an OutputReference. + * Properties of a StructuredDatasetType. * @memberof flyteidl.core - * @interface IOutputReference - * @property {string|null} [nodeId] OutputReference nodeId - * @property {string|null} ["var"] OutputReference var - * @property {Array.|null} [attrPath] OutputReference attrPath + * @interface IStructuredDatasetType + * @property {Array.|null} [columns] StructuredDatasetType columns + * @property {string|null} [format] StructuredDatasetType format + * @property {string|null} [externalSchemaType] StructuredDatasetType externalSchemaType + * @property {Uint8Array|null} [externalSchemaBytes] StructuredDatasetType externalSchemaBytes */ /** - * Constructs a new OutputReference. + * Constructs a new StructuredDatasetType. * @memberof flyteidl.core - * @classdesc Represents an OutputReference. - * @implements IOutputReference + * @classdesc Represents a StructuredDatasetType. + * @implements IStructuredDatasetType * @constructor - * @param {flyteidl.core.IOutputReference=} [properties] Properties to set + * @param {flyteidl.core.IStructuredDatasetType=} [properties] Properties to set */ - function OutputReference(properties) { - this.attrPath = []; + function StructuredDatasetType(properties) { + this.columns = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9865,91 +9958,104 @@ } /** - * OutputReference nodeId. - * @member {string} nodeId - * @memberof flyteidl.core.OutputReference + * StructuredDatasetType columns. + * @member {Array.} columns + * @memberof flyteidl.core.StructuredDatasetType * @instance */ - OutputReference.prototype.nodeId = ""; + StructuredDatasetType.prototype.columns = $util.emptyArray; /** - * OutputReference var. - * @member {string} var - * @memberof flyteidl.core.OutputReference + * StructuredDatasetType format. + * @member {string} format + * @memberof flyteidl.core.StructuredDatasetType * @instance */ - OutputReference.prototype["var"] = ""; + StructuredDatasetType.prototype.format = ""; /** - * OutputReference attrPath. - * @member {Array.} attrPath - * @memberof flyteidl.core.OutputReference + * StructuredDatasetType externalSchemaType. + * @member {string} externalSchemaType + * @memberof flyteidl.core.StructuredDatasetType * @instance */ - OutputReference.prototype.attrPath = $util.emptyArray; + StructuredDatasetType.prototype.externalSchemaType = ""; /** - * Creates a new OutputReference instance using the specified properties. + * StructuredDatasetType externalSchemaBytes. + * @member {Uint8Array} externalSchemaBytes + * @memberof flyteidl.core.StructuredDatasetType + * @instance + */ + StructuredDatasetType.prototype.externalSchemaBytes = $util.newBuffer([]); + + /** + * Creates a new StructuredDatasetType instance using the specified properties. * @function create - * @memberof flyteidl.core.OutputReference + * @memberof flyteidl.core.StructuredDatasetType * @static - * @param {flyteidl.core.IOutputReference=} [properties] Properties to set - * @returns {flyteidl.core.OutputReference} OutputReference instance + * @param {flyteidl.core.IStructuredDatasetType=} [properties] Properties to set + * @returns {flyteidl.core.StructuredDatasetType} StructuredDatasetType instance */ - OutputReference.create = function create(properties) { - return new OutputReference(properties); + StructuredDatasetType.create = function create(properties) { + return new StructuredDatasetType(properties); }; /** - * Encodes the specified OutputReference message. Does not implicitly {@link flyteidl.core.OutputReference.verify|verify} messages. + * Encodes the specified StructuredDatasetType message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.verify|verify} messages. * @function encode - * @memberof flyteidl.core.OutputReference + * @memberof flyteidl.core.StructuredDatasetType * @static - * @param {flyteidl.core.IOutputReference} message OutputReference message or plain object to encode + * @param {flyteidl.core.IStructuredDatasetType} message StructuredDatasetType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - OutputReference.encode = function encode(message, writer) { + StructuredDatasetType.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); - if (message["var"] != null && message.hasOwnProperty("var")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message["var"]); - if (message.attrPath != null && message.attrPath.length) - for (var i = 0; i < message.attrPath.length; ++i) - $root.flyteidl.core.PromiseAttribute.encode(message.attrPath[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.columns != null && message.columns.length) + for (var i = 0; i < message.columns.length; ++i) + $root.flyteidl.core.StructuredDatasetType.DatasetColumn.encode(message.columns[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.format != null && message.hasOwnProperty("format")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.format); + if (message.externalSchemaType != null && message.hasOwnProperty("externalSchemaType")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.externalSchemaType); + if (message.externalSchemaBytes != null && message.hasOwnProperty("externalSchemaBytes")) + writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.externalSchemaBytes); return writer; }; /** - * Decodes an OutputReference message from the specified reader or buffer. + * Decodes a StructuredDatasetType message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.OutputReference + * @memberof flyteidl.core.StructuredDatasetType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.OutputReference} OutputReference + * @returns {flyteidl.core.StructuredDatasetType} StructuredDatasetType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OutputReference.decode = function decode(reader, length) { + StructuredDatasetType.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.core.OutputReference(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDatasetType(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.nodeId = reader.string(); + if (!(message.columns && message.columns.length)) + message.columns = []; + message.columns.push($root.flyteidl.core.StructuredDatasetType.DatasetColumn.decode(reader, reader.uint32())); break; case 2: - message["var"] = reader.string(); + message.format = reader.string(); break; case 3: - if (!(message.attrPath && message.attrPath.length)) - message.attrPath = []; - message.attrPath.push($root.flyteidl.core.PromiseAttribute.decode(reader, reader.uint32())); + message.externalSchemaType = reader.string(); + break; + case 4: + message.externalSchemaBytes = reader.bytes(); break; default: reader.skipType(tag & 7); @@ -9960,146 +10066,264 @@ }; /** - * Verifies an OutputReference message. + * Verifies a StructuredDatasetType message. * @function verify - * @memberof flyteidl.core.OutputReference + * @memberof flyteidl.core.StructuredDatasetType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OutputReference.verify = function verify(message) { + StructuredDatasetType.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"; - if (message["var"] != null && message.hasOwnProperty("var")) - if (!$util.isString(message["var"])) - return "var: string expected"; - if (message.attrPath != null && message.hasOwnProperty("attrPath")) { - if (!Array.isArray(message.attrPath)) - return "attrPath: array expected"; - for (var i = 0; i < message.attrPath.length; ++i) { - var error = $root.flyteidl.core.PromiseAttribute.verify(message.attrPath[i]); + if (message.columns != null && message.hasOwnProperty("columns")) { + if (!Array.isArray(message.columns)) + return "columns: array expected"; + for (var i = 0; i < message.columns.length; ++i) { + var error = $root.flyteidl.core.StructuredDatasetType.DatasetColumn.verify(message.columns[i]); if (error) - return "attrPath." + error; + return "columns." + error; } } + if (message.format != null && message.hasOwnProperty("format")) + if (!$util.isString(message.format)) + return "format: string expected"; + if (message.externalSchemaType != null && message.hasOwnProperty("externalSchemaType")) + if (!$util.isString(message.externalSchemaType)) + return "externalSchemaType: string expected"; + if (message.externalSchemaBytes != null && message.hasOwnProperty("externalSchemaBytes")) + if (!(message.externalSchemaBytes && typeof message.externalSchemaBytes.length === "number" || $util.isString(message.externalSchemaBytes))) + return "externalSchemaBytes: buffer expected"; return null; }; - return OutputReference; - })(); + StructuredDatasetType.DatasetColumn = (function() { - core.PromiseAttribute = (function() { + /** + * Properties of a DatasetColumn. + * @memberof flyteidl.core.StructuredDatasetType + * @interface IDatasetColumn + * @property {string|null} [name] DatasetColumn name + * @property {flyteidl.core.ILiteralType|null} [literalType] DatasetColumn literalType + */ - /** - * Properties of a PromiseAttribute. - * @memberof flyteidl.core - * @interface IPromiseAttribute - * @property {string|null} [stringValue] PromiseAttribute stringValue - * @property {number|null} [intValue] PromiseAttribute intValue - */ + /** + * Constructs a new DatasetColumn. + * @memberof flyteidl.core.StructuredDatasetType + * @classdesc Represents a DatasetColumn. + * @implements IDatasetColumn + * @constructor + * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn=} [properties] Properties to set + */ + function DatasetColumn(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]]; + } - /** - * Constructs a new PromiseAttribute. - * @memberof flyteidl.core - * @classdesc Represents a PromiseAttribute. - * @implements IPromiseAttribute - * @constructor - * @param {flyteidl.core.IPromiseAttribute=} [properties] Properties to set - */ - function PromiseAttribute(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]]; - } + /** + * DatasetColumn name. + * @member {string} name + * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn + * @instance + */ + DatasetColumn.prototype.name = ""; - /** - * PromiseAttribute stringValue. - * @member {string} stringValue - * @memberof flyteidl.core.PromiseAttribute - * @instance - */ - PromiseAttribute.prototype.stringValue = ""; + /** + * DatasetColumn literalType. + * @member {flyteidl.core.ILiteralType|null|undefined} literalType + * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn + * @instance + */ + DatasetColumn.prototype.literalType = null; - /** - * PromiseAttribute intValue. - * @member {number} intValue - * @memberof flyteidl.core.PromiseAttribute - * @instance - */ - PromiseAttribute.prototype.intValue = 0; + /** + * Creates a new DatasetColumn instance using the specified properties. + * @function create + * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn + * @static + * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn=} [properties] Properties to set + * @returns {flyteidl.core.StructuredDatasetType.DatasetColumn} DatasetColumn instance + */ + DatasetColumn.create = function create(properties) { + return new DatasetColumn(properties); + }; - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + /** + * Encodes the specified DatasetColumn message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.DatasetColumn.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn + * @static + * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn} message DatasetColumn message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + DatasetColumn.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.literalType != null && message.hasOwnProperty("literalType")) + $root.flyteidl.core.LiteralType.encode(message.literalType, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; - /** - * PromiseAttribute value. - * @member {"stringValue"|"intValue"|undefined} value - * @memberof flyteidl.core.PromiseAttribute + /** + * Decodes a DatasetColumn message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.StructuredDatasetType.DatasetColumn} DatasetColumn + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + DatasetColumn.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.core.StructuredDatasetType.DatasetColumn(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + case 2: + message.literalType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a DatasetColumn message. + * @function verify + * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + DatasetColumn.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.literalType != null && message.hasOwnProperty("literalType")) { + var error = $root.flyteidl.core.LiteralType.verify(message.literalType); + if (error) + return "literalType." + error; + } + return null; + }; + + return DatasetColumn; + })(); + + return StructuredDatasetType; + })(); + + core.BlobType = (function() { + + /** + * Properties of a BlobType. + * @memberof flyteidl.core + * @interface IBlobType + * @property {string|null} [format] BlobType format + * @property {flyteidl.core.BlobType.BlobDimensionality|null} [dimensionality] BlobType dimensionality + */ + + /** + * Constructs a new BlobType. + * @memberof flyteidl.core + * @classdesc Represents a BlobType. + * @implements IBlobType + * @constructor + * @param {flyteidl.core.IBlobType=} [properties] Properties to set + */ + function BlobType(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]]; + } + + /** + * BlobType format. + * @member {string} format + * @memberof flyteidl.core.BlobType * @instance */ - Object.defineProperty(PromiseAttribute.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["stringValue", "intValue"]), - set: $util.oneOfSetter($oneOfFields) - }); + BlobType.prototype.format = ""; /** - * Creates a new PromiseAttribute instance using the specified properties. + * BlobType dimensionality. + * @member {flyteidl.core.BlobType.BlobDimensionality} dimensionality + * @memberof flyteidl.core.BlobType + * @instance + */ + BlobType.prototype.dimensionality = 0; + + /** + * Creates a new BlobType instance using the specified properties. * @function create - * @memberof flyteidl.core.PromiseAttribute + * @memberof flyteidl.core.BlobType * @static - * @param {flyteidl.core.IPromiseAttribute=} [properties] Properties to set - * @returns {flyteidl.core.PromiseAttribute} PromiseAttribute instance + * @param {flyteidl.core.IBlobType=} [properties] Properties to set + * @returns {flyteidl.core.BlobType} BlobType instance */ - PromiseAttribute.create = function create(properties) { - return new PromiseAttribute(properties); + BlobType.create = function create(properties) { + return new BlobType(properties); }; /** - * Encodes the specified PromiseAttribute message. Does not implicitly {@link flyteidl.core.PromiseAttribute.verify|verify} messages. + * Encodes the specified BlobType message. Does not implicitly {@link flyteidl.core.BlobType.verify|verify} messages. * @function encode - * @memberof flyteidl.core.PromiseAttribute + * @memberof flyteidl.core.BlobType * @static - * @param {flyteidl.core.IPromiseAttribute} message PromiseAttribute message or plain object to encode + * @param {flyteidl.core.IBlobType} message BlobType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PromiseAttribute.encode = function encode(message, writer) { + BlobType.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.stringValue); - if (message.intValue != null && message.hasOwnProperty("intValue")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.intValue); + if (message.format != null && message.hasOwnProperty("format")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.format); + if (message.dimensionality != null && message.hasOwnProperty("dimensionality")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.dimensionality); return writer; }; /** - * Decodes a PromiseAttribute message from the specified reader or buffer. + * Decodes a BlobType message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.PromiseAttribute + * @memberof flyteidl.core.BlobType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.PromiseAttribute} PromiseAttribute + * @returns {flyteidl.core.BlobType} BlobType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PromiseAttribute.decode = function decode(reader, length) { + BlobType.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.core.PromiseAttribute(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BlobType(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.stringValue = reader.string(); + message.format = reader.string(); break; case 2: - message.intValue = reader.int32(); + message.dimensionality = reader.int32(); break; default: reader.skipType(tag & 7); @@ -10110,54 +10334,66 @@ }; /** - * Verifies a PromiseAttribute message. + * Verifies a BlobType message. * @function verify - * @memberof flyteidl.core.PromiseAttribute + * @memberof flyteidl.core.BlobType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PromiseAttribute.verify = function verify(message) { + BlobType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) { - properties.value = 1; - if (!$util.isString(message.stringValue)) - return "stringValue: string expected"; - } - if (message.intValue != null && message.hasOwnProperty("intValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isInteger(message.intValue)) - return "intValue: integer expected"; - } + if (message.format != null && message.hasOwnProperty("format")) + if (!$util.isString(message.format)) + return "format: string expected"; + if (message.dimensionality != null && message.hasOwnProperty("dimensionality")) + switch (message.dimensionality) { + default: + return "dimensionality: enum value expected"; + case 0: + case 1: + break; + } return null; }; - return PromiseAttribute; + /** + * BlobDimensionality enum. + * @name flyteidl.core.BlobType.BlobDimensionality + * @enum {string} + * @property {number} SINGLE=0 SINGLE value + * @property {number} MULTIPART=1 MULTIPART value + */ + BlobType.BlobDimensionality = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "SINGLE"] = 0; + values[valuesById[1] = "MULTIPART"] = 1; + return values; + })(); + + return BlobType; })(); - core.Error = (function() { + core.EnumType = (function() { /** - * Properties of an Error. + * Properties of an EnumType. * @memberof flyteidl.core - * @interface IError - * @property {string|null} [failedNodeId] Error failedNodeId - * @property {string|null} [message] Error message + * @interface IEnumType + * @property {Array.|null} [values] EnumType values */ /** - * Constructs a new Error. + * Constructs a new EnumType. * @memberof flyteidl.core - * @classdesc Represents an Error. - * @implements IError + * @classdesc Represents an EnumType. + * @implements IEnumType * @constructor - * @param {flyteidl.core.IError=} [properties] Properties to set + * @param {flyteidl.core.IEnumType=} [properties] Properties to set */ - function Error(properties) { + function EnumType(properties) { + this.values = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -10165,75 +10401,65 @@ } /** - * Error failedNodeId. - * @member {string} failedNodeId - * @memberof flyteidl.core.Error - * @instance - */ - Error.prototype.failedNodeId = ""; - - /** - * Error message. - * @member {string} message - * @memberof flyteidl.core.Error + * EnumType values. + * @member {Array.} values + * @memberof flyteidl.core.EnumType * @instance */ - Error.prototype.message = ""; + EnumType.prototype.values = $util.emptyArray; /** - * Creates a new Error instance using the specified properties. + * Creates a new EnumType instance using the specified properties. * @function create - * @memberof flyteidl.core.Error + * @memberof flyteidl.core.EnumType * @static - * @param {flyteidl.core.IError=} [properties] Properties to set - * @returns {flyteidl.core.Error} Error instance + * @param {flyteidl.core.IEnumType=} [properties] Properties to set + * @returns {flyteidl.core.EnumType} EnumType instance */ - Error.create = function create(properties) { - return new Error(properties); + EnumType.create = function create(properties) { + return new EnumType(properties); }; /** - * Encodes the specified Error message. Does not implicitly {@link flyteidl.core.Error.verify|verify} messages. + * Encodes the specified EnumType message. Does not implicitly {@link flyteidl.core.EnumType.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Error + * @memberof flyteidl.core.EnumType * @static - * @param {flyteidl.core.IError} message Error message or plain object to encode + * @param {flyteidl.core.IEnumType} message EnumType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Error.encode = function encode(message, writer) { + EnumType.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.failedNodeId != null && message.hasOwnProperty("failedNodeId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.failedNodeId); - if (message.message != null && message.hasOwnProperty("message")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); + if (message.values != null && message.values.length) + for (var i = 0; i < message.values.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.values[i]); return writer; }; /** - * Decodes an Error message from the specified reader or buffer. + * Decodes an EnumType message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Error + * @memberof flyteidl.core.EnumType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Error} Error + * @returns {flyteidl.core.EnumType} EnumType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Error.decode = function decode(reader, length) { + EnumType.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.core.Error(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.EnumType(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.failedNodeId = reader.string(); - break; - case 2: - message.message = reader.string(); + if (!(message.values && message.values.length)) + message.values = []; + message.values.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -10244,45 +10470,48 @@ }; /** - * Verifies an Error message. + * Verifies an EnumType message. * @function verify - * @memberof flyteidl.core.Error + * @memberof flyteidl.core.EnumType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Error.verify = function verify(message) { + EnumType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.failedNodeId != null && message.hasOwnProperty("failedNodeId")) - if (!$util.isString(message.failedNodeId)) - return "failedNodeId: string expected"; - if (message.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string 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) + if (!$util.isString(message.values[i])) + return "values: string[] expected"; + } return null; }; - return Error; + return EnumType; })(); - core.WorkflowExecution = (function() { + core.UnionType = (function() { /** - * Properties of a WorkflowExecution. + * Properties of an UnionType. * @memberof flyteidl.core - * @interface IWorkflowExecution + * @interface IUnionType + * @property {Array.|null} [variants] UnionType variants */ /** - * Constructs a new WorkflowExecution. + * Constructs a new UnionType. * @memberof flyteidl.core - * @classdesc Represents a WorkflowExecution. - * @implements IWorkflowExecution + * @classdesc Represents an UnionType. + * @implements IUnionType * @constructor - * @param {flyteidl.core.IWorkflowExecution=} [properties] Properties to set + * @param {flyteidl.core.IUnionType=} [properties] Properties to set */ - function WorkflowExecution(properties) { + function UnionType(properties) { + this.variants = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -10290,50 +10519,66 @@ } /** - * Creates a new WorkflowExecution instance using the specified properties. + * UnionType variants. + * @member {Array.} variants + * @memberof flyteidl.core.UnionType + * @instance + */ + UnionType.prototype.variants = $util.emptyArray; + + /** + * Creates a new UnionType instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowExecution + * @memberof flyteidl.core.UnionType * @static - * @param {flyteidl.core.IWorkflowExecution=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowExecution} WorkflowExecution instance + * @param {flyteidl.core.IUnionType=} [properties] Properties to set + * @returns {flyteidl.core.UnionType} UnionType instance */ - WorkflowExecution.create = function create(properties) { - return new WorkflowExecution(properties); + UnionType.create = function create(properties) { + return new UnionType(properties); }; /** - * Encodes the specified WorkflowExecution message. Does not implicitly {@link flyteidl.core.WorkflowExecution.verify|verify} messages. + * Encodes the specified UnionType message. Does not implicitly {@link flyteidl.core.UnionType.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowExecution + * @memberof flyteidl.core.UnionType * @static - * @param {flyteidl.core.IWorkflowExecution} message WorkflowExecution message or plain object to encode + * @param {flyteidl.core.IUnionType} message UnionType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecution.encode = function encode(message, writer) { + UnionType.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.variants != null && message.variants.length) + for (var i = 0; i < message.variants.length; ++i) + $root.flyteidl.core.LiteralType.encode(message.variants[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowExecution message from the specified reader or buffer. + * Decodes an UnionType message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowExecution + * @memberof flyteidl.core.UnionType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowExecution} WorkflowExecution + * @returns {flyteidl.core.UnionType} UnionType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecution.decode = function decode(reader, length) { + UnionType.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.core.WorkflowExecution(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.UnionType(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + if (!(message.variants && message.variants.length)) + message.variants = []; + message.variants.push($root.flyteidl.core.LiteralType.decode(reader, reader.uint32())); + break; default: reader.skipType(tag & 7); break; @@ -10343,69 +10588,49 @@ }; /** - * Verifies a WorkflowExecution message. + * Verifies an UnionType message. * @function verify - * @memberof flyteidl.core.WorkflowExecution + * @memberof flyteidl.core.UnionType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecution.verify = function verify(message) { + UnionType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.variants != null && message.hasOwnProperty("variants")) { + if (!Array.isArray(message.variants)) + return "variants: array expected"; + for (var i = 0; i < message.variants.length; ++i) { + var error = $root.flyteidl.core.LiteralType.verify(message.variants[i]); + if (error) + return "variants." + error; + } + } return null; }; - /** - * Phase enum. - * @name flyteidl.core.WorkflowExecution.Phase - * @enum {string} - * @property {number} UNDEFINED=0 UNDEFINED value - * @property {number} QUEUED=1 QUEUED value - * @property {number} RUNNING=2 RUNNING value - * @property {number} SUCCEEDING=3 SUCCEEDING value - * @property {number} SUCCEEDED=4 SUCCEEDED value - * @property {number} FAILING=5 FAILING value - * @property {number} FAILED=6 FAILED value - * @property {number} ABORTED=7 ABORTED value - * @property {number} TIMED_OUT=8 TIMED_OUT value - * @property {number} ABORTING=9 ABORTING value - */ - WorkflowExecution.Phase = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNDEFINED"] = 0; - values[valuesById[1] = "QUEUED"] = 1; - values[valuesById[2] = "RUNNING"] = 2; - values[valuesById[3] = "SUCCEEDING"] = 3; - values[valuesById[4] = "SUCCEEDED"] = 4; - values[valuesById[5] = "FAILING"] = 5; - values[valuesById[6] = "FAILED"] = 6; - values[valuesById[7] = "ABORTED"] = 7; - values[valuesById[8] = "TIMED_OUT"] = 8; - values[valuesById[9] = "ABORTING"] = 9; - return values; - })(); - - return WorkflowExecution; + return UnionType; })(); - core.NodeExecution = (function() { + core.TypeStructure = (function() { /** - * Properties of a NodeExecution. + * Properties of a TypeStructure. * @memberof flyteidl.core - * @interface INodeExecution + * @interface ITypeStructure + * @property {string|null} [tag] TypeStructure tag */ /** - * Constructs a new NodeExecution. + * Constructs a new TypeStructure. * @memberof flyteidl.core - * @classdesc Represents a NodeExecution. - * @implements INodeExecution + * @classdesc Represents a TypeStructure. + * @implements ITypeStructure * @constructor - * @param {flyteidl.core.INodeExecution=} [properties] Properties to set + * @param {flyteidl.core.ITypeStructure=} [properties] Properties to set */ - function NodeExecution(properties) { + function TypeStructure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -10413,50 +10638,63 @@ } /** - * Creates a new NodeExecution instance using the specified properties. + * TypeStructure tag. + * @member {string} tag + * @memberof flyteidl.core.TypeStructure + * @instance + */ + TypeStructure.prototype.tag = ""; + + /** + * Creates a new TypeStructure instance using the specified properties. * @function create - * @memberof flyteidl.core.NodeExecution + * @memberof flyteidl.core.TypeStructure * @static - * @param {flyteidl.core.INodeExecution=} [properties] Properties to set - * @returns {flyteidl.core.NodeExecution} NodeExecution instance + * @param {flyteidl.core.ITypeStructure=} [properties] Properties to set + * @returns {flyteidl.core.TypeStructure} TypeStructure instance */ - NodeExecution.create = function create(properties) { - return new NodeExecution(properties); + TypeStructure.create = function create(properties) { + return new TypeStructure(properties); }; /** - * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.core.NodeExecution.verify|verify} messages. + * Encodes the specified TypeStructure message. Does not implicitly {@link flyteidl.core.TypeStructure.verify|verify} messages. * @function encode - * @memberof flyteidl.core.NodeExecution + * @memberof flyteidl.core.TypeStructure * @static - * @param {flyteidl.core.INodeExecution} message NodeExecution message or plain object to encode + * @param {flyteidl.core.ITypeStructure} message TypeStructure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecution.encode = function encode(message, writer) { + TypeStructure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.tag != null && message.hasOwnProperty("tag")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.tag); return writer; }; /** - * Decodes a NodeExecution message from the specified reader or buffer. + * Decodes a TypeStructure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.NodeExecution + * @memberof flyteidl.core.TypeStructure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.NodeExecution} NodeExecution + * @returns {flyteidl.core.TypeStructure} TypeStructure * @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) { + TypeStructure.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.core.NodeExecution(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TypeStructure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.tag = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -10466,71 +10704,43 @@ }; /** - * Verifies a NodeExecution message. + * Verifies a TypeStructure message. * @function verify - * @memberof flyteidl.core.NodeExecution + * @memberof flyteidl.core.TypeStructure * @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) { + TypeStructure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.tag != null && message.hasOwnProperty("tag")) + if (!$util.isString(message.tag)) + return "tag: string expected"; return null; }; - /** - * Phase enum. - * @name flyteidl.core.NodeExecution.Phase - * @enum {string} - * @property {number} UNDEFINED=0 UNDEFINED value - * @property {number} QUEUED=1 QUEUED value - * @property {number} RUNNING=2 RUNNING value - * @property {number} SUCCEEDED=3 SUCCEEDED value - * @property {number} FAILING=4 FAILING value - * @property {number} FAILED=5 FAILED value - * @property {number} ABORTED=6 ABORTED value - * @property {number} SKIPPED=7 SKIPPED value - * @property {number} TIMED_OUT=8 TIMED_OUT value - * @property {number} DYNAMIC_RUNNING=9 DYNAMIC_RUNNING value - * @property {number} RECOVERED=10 RECOVERED value - */ - NodeExecution.Phase = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNDEFINED"] = 0; - values[valuesById[1] = "QUEUED"] = 1; - values[valuesById[2] = "RUNNING"] = 2; - values[valuesById[3] = "SUCCEEDED"] = 3; - values[valuesById[4] = "FAILING"] = 4; - values[valuesById[5] = "FAILED"] = 5; - values[valuesById[6] = "ABORTED"] = 6; - values[valuesById[7] = "SKIPPED"] = 7; - values[valuesById[8] = "TIMED_OUT"] = 8; - values[valuesById[9] = "DYNAMIC_RUNNING"] = 9; - values[valuesById[10] = "RECOVERED"] = 10; - return values; - })(); - - return NodeExecution; + return TypeStructure; })(); - core.TaskExecution = (function() { + core.TypeAnnotation = (function() { /** - * Properties of a TaskExecution. + * Properties of a TypeAnnotation. * @memberof flyteidl.core - * @interface ITaskExecution - */ + * @interface ITypeAnnotation + * @property {google.protobuf.IStruct|null} [annotations] TypeAnnotation annotations + */ /** - * Constructs a new TaskExecution. + * Constructs a new TypeAnnotation. * @memberof flyteidl.core - * @classdesc Represents a TaskExecution. - * @implements ITaskExecution + * @classdesc Represents a TypeAnnotation. + * @implements ITypeAnnotation * @constructor - * @param {flyteidl.core.ITaskExecution=} [properties] Properties to set + * @param {flyteidl.core.ITypeAnnotation=} [properties] Properties to set */ - function TaskExecution(properties) { + function TypeAnnotation(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -10538,50 +10748,63 @@ } /** - * Creates a new TaskExecution instance using the specified properties. + * TypeAnnotation annotations. + * @member {google.protobuf.IStruct|null|undefined} annotations + * @memberof flyteidl.core.TypeAnnotation + * @instance + */ + TypeAnnotation.prototype.annotations = null; + + /** + * Creates a new TypeAnnotation instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskExecution + * @memberof flyteidl.core.TypeAnnotation * @static - * @param {flyteidl.core.ITaskExecution=} [properties] Properties to set - * @returns {flyteidl.core.TaskExecution} TaskExecution instance + * @param {flyteidl.core.ITypeAnnotation=} [properties] Properties to set + * @returns {flyteidl.core.TypeAnnotation} TypeAnnotation instance */ - TaskExecution.create = function create(properties) { - return new TaskExecution(properties); + TypeAnnotation.create = function create(properties) { + return new TypeAnnotation(properties); }; /** - * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.core.TaskExecution.verify|verify} messages. + * Encodes the specified TypeAnnotation message. Does not implicitly {@link flyteidl.core.TypeAnnotation.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskExecution + * @memberof flyteidl.core.TypeAnnotation * @static - * @param {flyteidl.core.ITaskExecution} message TaskExecution message or plain object to encode + * @param {flyteidl.core.ITypeAnnotation} message TypeAnnotation message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecution.encode = function encode(message, writer) { + TypeAnnotation.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.annotations != null && message.hasOwnProperty("annotations")) + $root.google.protobuf.Struct.encode(message.annotations, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecution message from the specified reader or buffer. + * Decodes a TypeAnnotation message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskExecution + * @memberof flyteidl.core.TypeAnnotation * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskExecution} TaskExecution + * @returns {flyteidl.core.TypeAnnotation} TypeAnnotation * @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) { + TypeAnnotation.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.core.TaskExecution(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TypeAnnotation(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.annotations = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -10591,69 +10814,55 @@ }; /** - * Verifies a TaskExecution message. + * Verifies a TypeAnnotation message. * @function verify - * @memberof flyteidl.core.TaskExecution + * @memberof flyteidl.core.TypeAnnotation * @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) { + TypeAnnotation.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.annotations != null && message.hasOwnProperty("annotations")) { + var error = $root.google.protobuf.Struct.verify(message.annotations); + if (error) + return "annotations." + error; + } return null; }; - /** - * Phase enum. - * @name flyteidl.core.TaskExecution.Phase - * @enum {string} - * @property {number} UNDEFINED=0 UNDEFINED value - * @property {number} QUEUED=1 QUEUED value - * @property {number} RUNNING=2 RUNNING value - * @property {number} SUCCEEDED=3 SUCCEEDED value - * @property {number} ABORTED=4 ABORTED value - * @property {number} FAILED=5 FAILED value - * @property {number} INITIALIZING=6 INITIALIZING value - * @property {number} WAITING_FOR_RESOURCES=7 WAITING_FOR_RESOURCES value - */ - TaskExecution.Phase = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNDEFINED"] = 0; - values[valuesById[1] = "QUEUED"] = 1; - values[valuesById[2] = "RUNNING"] = 2; - values[valuesById[3] = "SUCCEEDED"] = 3; - values[valuesById[4] = "ABORTED"] = 4; - values[valuesById[5] = "FAILED"] = 5; - values[valuesById[6] = "INITIALIZING"] = 6; - values[valuesById[7] = "WAITING_FOR_RESOURCES"] = 7; - return values; - })(); - - return TaskExecution; + return TypeAnnotation; })(); - core.ExecutionError = (function() { + core.LiteralType = (function() { /** - * Properties of an ExecutionError. + * Properties of a LiteralType. * @memberof flyteidl.core - * @interface IExecutionError - * @property {string|null} [code] ExecutionError code - * @property {string|null} [message] ExecutionError message - * @property {string|null} [errorUri] ExecutionError errorUri - * @property {flyteidl.core.ExecutionError.ErrorKind|null} [kind] ExecutionError kind + * @interface ILiteralType + * @property {flyteidl.core.SimpleType|null} [simple] LiteralType simple + * @property {flyteidl.core.ISchemaType|null} [schema] LiteralType schema + * @property {flyteidl.core.ILiteralType|null} [collectionType] LiteralType collectionType + * @property {flyteidl.core.ILiteralType|null} [mapValueType] LiteralType mapValueType + * @property {flyteidl.core.IBlobType|null} [blob] LiteralType blob + * @property {flyteidl.core.IEnumType|null} [enumType] LiteralType enumType + * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] LiteralType structuredDatasetType + * @property {flyteidl.core.IUnionType|null} [unionType] LiteralType unionType + * @property {google.protobuf.IStruct|null} [metadata] LiteralType metadata + * @property {flyteidl.core.ITypeAnnotation|null} [annotation] LiteralType annotation + * @property {flyteidl.core.ITypeStructure|null} [structure] LiteralType structure */ /** - * Constructs a new ExecutionError. + * Constructs a new LiteralType. * @memberof flyteidl.core - * @classdesc Represents an ExecutionError. - * @implements IExecutionError + * @classdesc Represents a LiteralType. + * @implements ILiteralType * @constructor - * @param {flyteidl.core.IExecutionError=} [properties] Properties to set + * @param {flyteidl.core.ILiteralType=} [properties] Properties to set */ - function ExecutionError(properties) { + function LiteralType(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -10661,101 +10870,206 @@ } /** - * ExecutionError code. - * @member {string} code - * @memberof flyteidl.core.ExecutionError + * LiteralType simple. + * @member {flyteidl.core.SimpleType} simple + * @memberof flyteidl.core.LiteralType * @instance */ - ExecutionError.prototype.code = ""; + LiteralType.prototype.simple = 0; /** - * ExecutionError message. - * @member {string} message - * @memberof flyteidl.core.ExecutionError + * LiteralType schema. + * @member {flyteidl.core.ISchemaType|null|undefined} schema + * @memberof flyteidl.core.LiteralType * @instance */ - ExecutionError.prototype.message = ""; + LiteralType.prototype.schema = null; /** - * ExecutionError errorUri. - * @member {string} errorUri - * @memberof flyteidl.core.ExecutionError + * LiteralType collectionType. + * @member {flyteidl.core.ILiteralType|null|undefined} collectionType + * @memberof flyteidl.core.LiteralType * @instance */ - ExecutionError.prototype.errorUri = ""; + LiteralType.prototype.collectionType = null; /** - * ExecutionError kind. - * @member {flyteidl.core.ExecutionError.ErrorKind} kind - * @memberof flyteidl.core.ExecutionError + * LiteralType mapValueType. + * @member {flyteidl.core.ILiteralType|null|undefined} mapValueType + * @memberof flyteidl.core.LiteralType * @instance */ - ExecutionError.prototype.kind = 0; + LiteralType.prototype.mapValueType = null; /** - * Creates a new ExecutionError instance using the specified properties. + * LiteralType blob. + * @member {flyteidl.core.IBlobType|null|undefined} blob + * @memberof flyteidl.core.LiteralType + * @instance + */ + LiteralType.prototype.blob = null; + + /** + * LiteralType enumType. + * @member {flyteidl.core.IEnumType|null|undefined} enumType + * @memberof flyteidl.core.LiteralType + * @instance + */ + LiteralType.prototype.enumType = null; + + /** + * LiteralType structuredDatasetType. + * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType + * @memberof flyteidl.core.LiteralType + * @instance + */ + LiteralType.prototype.structuredDatasetType = null; + + /** + * LiteralType unionType. + * @member {flyteidl.core.IUnionType|null|undefined} unionType + * @memberof flyteidl.core.LiteralType + * @instance + */ + LiteralType.prototype.unionType = null; + + /** + * LiteralType metadata. + * @member {google.protobuf.IStruct|null|undefined} metadata + * @memberof flyteidl.core.LiteralType + * @instance + */ + LiteralType.prototype.metadata = null; + + /** + * LiteralType annotation. + * @member {flyteidl.core.ITypeAnnotation|null|undefined} annotation + * @memberof flyteidl.core.LiteralType + * @instance + */ + LiteralType.prototype.annotation = null; + + /** + * LiteralType structure. + * @member {flyteidl.core.ITypeStructure|null|undefined} structure + * @memberof flyteidl.core.LiteralType + * @instance + */ + LiteralType.prototype.structure = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * LiteralType type. + * @member {"simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|"unionType"|undefined} type + * @memberof flyteidl.core.LiteralType + * @instance + */ + Object.defineProperty(LiteralType.prototype, "type", { + get: $util.oneOfGetter($oneOfFields = ["simple", "schema", "collectionType", "mapValueType", "blob", "enumType", "structuredDatasetType", "unionType"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new LiteralType instance using the specified properties. * @function create - * @memberof flyteidl.core.ExecutionError + * @memberof flyteidl.core.LiteralType * @static - * @param {flyteidl.core.IExecutionError=} [properties] Properties to set - * @returns {flyteidl.core.ExecutionError} ExecutionError instance + * @param {flyteidl.core.ILiteralType=} [properties] Properties to set + * @returns {flyteidl.core.LiteralType} LiteralType instance */ - ExecutionError.create = function create(properties) { - return new ExecutionError(properties); + LiteralType.create = function create(properties) { + return new LiteralType(properties); }; /** - * Encodes the specified ExecutionError message. Does not implicitly {@link flyteidl.core.ExecutionError.verify|verify} messages. + * Encodes the specified LiteralType message. Does not implicitly {@link flyteidl.core.LiteralType.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ExecutionError + * @memberof flyteidl.core.LiteralType * @static - * @param {flyteidl.core.IExecutionError} message ExecutionError message or plain object to encode + * @param {flyteidl.core.ILiteralType} message LiteralType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionError.encode = function encode(message, writer) { + LiteralType.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.code != null && message.hasOwnProperty("code")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.code); - if (message.message != null && message.hasOwnProperty("message")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); - if (message.errorUri != null && message.hasOwnProperty("errorUri")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.errorUri); - if (message.kind != null && message.hasOwnProperty("kind")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.kind); + if (message.simple != null && message.hasOwnProperty("simple")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.simple); + if (message.schema != null && message.hasOwnProperty("schema")) + $root.flyteidl.core.SchemaType.encode(message.schema, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.collectionType != null && message.hasOwnProperty("collectionType")) + $root.flyteidl.core.LiteralType.encode(message.collectionType, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.mapValueType != null && message.hasOwnProperty("mapValueType")) + $root.flyteidl.core.LiteralType.encode(message.mapValueType, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.blob != null && message.hasOwnProperty("blob")) + $root.flyteidl.core.BlobType.encode(message.blob, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.google.protobuf.Struct.encode(message.metadata, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.enumType != null && message.hasOwnProperty("enumType")) + $root.flyteidl.core.EnumType.encode(message.enumType, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) + $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.annotation != null && message.hasOwnProperty("annotation")) + $root.flyteidl.core.TypeAnnotation.encode(message.annotation, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.unionType != null && message.hasOwnProperty("unionType")) + $root.flyteidl.core.UnionType.encode(message.unionType, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.structure != null && message.hasOwnProperty("structure")) + $root.flyteidl.core.TypeStructure.encode(message.structure, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionError message from the specified reader or buffer. + * Decodes a LiteralType message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ExecutionError + * @memberof flyteidl.core.LiteralType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ExecutionError} ExecutionError + * @returns {flyteidl.core.LiteralType} LiteralType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionError.decode = function decode(reader, length) { + LiteralType.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.core.ExecutionError(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LiteralType(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.code = reader.string(); + message.simple = reader.int32(); break; case 2: - message.message = reader.string(); + message.schema = $root.flyteidl.core.SchemaType.decode(reader, reader.uint32()); break; case 3: - message.errorUri = reader.string(); + message.collectionType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; case 4: - message.kind = reader.int32(); + message.mapValueType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + break; + case 5: + message.blob = $root.flyteidl.core.BlobType.decode(reader, reader.uint32()); + break; + case 7: + message.enumType = $root.flyteidl.core.EnumType.decode(reader, reader.uint32()); + break; + case 8: + message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32()); + break; + case 10: + message.unionType = $root.flyteidl.core.UnionType.decode(reader, reader.uint32()); + break; + case 6: + message.metadata = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + case 9: + message.annotation = $root.flyteidl.core.TypeAnnotation.decode(reader, reader.uint32()); + break; + case 11: + message.structure = $root.flyteidl.core.TypeStructure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -10766,77 +11080,147 @@ }; /** - * Verifies an ExecutionError message. + * Verifies a LiteralType message. * @function verify - * @memberof flyteidl.core.ExecutionError + * @memberof flyteidl.core.LiteralType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionError.verify = function verify(message) { + LiteralType.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.code != null && message.hasOwnProperty("code")) - if (!$util.isString(message.code)) - return "code: string expected"; - if (message.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string expected"; - if (message.errorUri != null && message.hasOwnProperty("errorUri")) - if (!$util.isString(message.errorUri)) - return "errorUri: string expected"; - if (message.kind != null && message.hasOwnProperty("kind")) - switch (message.kind) { + var properties = {}; + if (message.simple != null && message.hasOwnProperty("simple")) { + properties.type = 1; + switch (message.simple) { default: - return "kind: enum value expected"; + return "simple: 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.schema != null && message.hasOwnProperty("schema")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.core.SchemaType.verify(message.schema); + if (error) + return "schema." + error; + } + } + if (message.collectionType != null && message.hasOwnProperty("collectionType")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.core.LiteralType.verify(message.collectionType); + if (error) + return "collectionType." + error; + } + } + if (message.mapValueType != null && message.hasOwnProperty("mapValueType")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.core.LiteralType.verify(message.mapValueType); + if (error) + return "mapValueType." + error; + } + } + if (message.blob != null && message.hasOwnProperty("blob")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.core.BlobType.verify(message.blob); + if (error) + return "blob." + error; + } + } + if (message.enumType != null && message.hasOwnProperty("enumType")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.core.EnumType.verify(message.enumType); + if (error) + return "enumType." + error; + } + } + if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType); + if (error) + return "structuredDatasetType." + error; + } + } + if (message.unionType != null && message.hasOwnProperty("unionType")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.core.UnionType.verify(message.unionType); + if (error) + return "unionType." + error; + } + } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.google.protobuf.Struct.verify(message.metadata); + if (error) + return "metadata." + error; + } + if (message.annotation != null && message.hasOwnProperty("annotation")) { + var error = $root.flyteidl.core.TypeAnnotation.verify(message.annotation); + if (error) + return "annotation." + error; + } + if (message.structure != null && message.hasOwnProperty("structure")) { + var error = $root.flyteidl.core.TypeStructure.verify(message.structure); + if (error) + return "structure." + error; + } return null; }; - /** - * ErrorKind enum. - * @name flyteidl.core.ExecutionError.ErrorKind - * @enum {string} - * @property {number} UNKNOWN=0 UNKNOWN value - * @property {number} USER=1 USER value - * @property {number} SYSTEM=2 SYSTEM value - */ - ExecutionError.ErrorKind = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNKNOWN"] = 0; - values[valuesById[1] = "USER"] = 1; - values[valuesById[2] = "SYSTEM"] = 2; - return values; - })(); - - return ExecutionError; + return LiteralType; })(); - core.TaskLog = (function() { + core.OutputReference = (function() { /** - * Properties of a TaskLog. + * Properties of an OutputReference. * @memberof flyteidl.core - * @interface ITaskLog - * @property {string|null} [uri] TaskLog uri - * @property {string|null} [name] TaskLog name - * @property {flyteidl.core.TaskLog.MessageFormat|null} [messageFormat] TaskLog messageFormat - * @property {google.protobuf.IDuration|null} [ttl] TaskLog ttl + * @interface IOutputReference + * @property {string|null} [nodeId] OutputReference nodeId + * @property {string|null} ["var"] OutputReference var + * @property {Array.|null} [attrPath] OutputReference attrPath */ /** - * Constructs a new TaskLog. + * Constructs a new OutputReference. * @memberof flyteidl.core - * @classdesc Represents a TaskLog. - * @implements ITaskLog + * @classdesc Represents an OutputReference. + * @implements IOutputReference * @constructor - * @param {flyteidl.core.ITaskLog=} [properties] Properties to set + * @param {flyteidl.core.IOutputReference=} [properties] Properties to set */ - function TaskLog(properties) { + function OutputReference(properties) { + this.attrPath = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -10844,101 +11228,91 @@ } /** - * TaskLog uri. - * @member {string} uri - * @memberof flyteidl.core.TaskLog - * @instance - */ - TaskLog.prototype.uri = ""; - - /** - * TaskLog name. - * @member {string} name - * @memberof flyteidl.core.TaskLog + * OutputReference nodeId. + * @member {string} nodeId + * @memberof flyteidl.core.OutputReference * @instance */ - TaskLog.prototype.name = ""; + OutputReference.prototype.nodeId = ""; /** - * TaskLog messageFormat. - * @member {flyteidl.core.TaskLog.MessageFormat} messageFormat - * @memberof flyteidl.core.TaskLog + * OutputReference var. + * @member {string} var + * @memberof flyteidl.core.OutputReference * @instance */ - TaskLog.prototype.messageFormat = 0; + OutputReference.prototype["var"] = ""; /** - * TaskLog ttl. - * @member {google.protobuf.IDuration|null|undefined} ttl - * @memberof flyteidl.core.TaskLog + * OutputReference attrPath. + * @member {Array.} attrPath + * @memberof flyteidl.core.OutputReference * @instance */ - TaskLog.prototype.ttl = null; + OutputReference.prototype.attrPath = $util.emptyArray; /** - * Creates a new TaskLog instance using the specified properties. + * Creates a new OutputReference instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskLog + * @memberof flyteidl.core.OutputReference * @static - * @param {flyteidl.core.ITaskLog=} [properties] Properties to set - * @returns {flyteidl.core.TaskLog} TaskLog instance + * @param {flyteidl.core.IOutputReference=} [properties] Properties to set + * @returns {flyteidl.core.OutputReference} OutputReference instance */ - TaskLog.create = function create(properties) { - return new TaskLog(properties); + OutputReference.create = function create(properties) { + return new OutputReference(properties); }; /** - * Encodes the specified TaskLog message. Does not implicitly {@link flyteidl.core.TaskLog.verify|verify} messages. + * Encodes the specified OutputReference message. Does not implicitly {@link flyteidl.core.OutputReference.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskLog + * @memberof flyteidl.core.OutputReference * @static - * @param {flyteidl.core.ITaskLog} message TaskLog message or plain object to encode + * @param {flyteidl.core.IOutputReference} message OutputReference message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskLog.encode = function encode(message, writer) { + OutputReference.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.messageFormat != null && message.hasOwnProperty("messageFormat")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.messageFormat); - if (message.ttl != null && message.hasOwnProperty("ttl")) - $root.google.protobuf.Duration.encode(message.ttl, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.nodeId); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message["var"]); + if (message.attrPath != null && message.attrPath.length) + for (var i = 0; i < message.attrPath.length; ++i) + $root.flyteidl.core.PromiseAttribute.encode(message.attrPath[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a TaskLog message from the specified reader or buffer. + * Decodes an OutputReference message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskLog + * @memberof flyteidl.core.OutputReference * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskLog} TaskLog + * @returns {flyteidl.core.OutputReference} OutputReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskLog.decode = function decode(reader, length) { + OutputReference.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.core.TaskLog(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.OutputReference(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.uri = reader.string(); + message.nodeId = reader.string(); break; case 2: - message.name = reader.string(); + message["var"] = reader.string(); break; case 3: - message.messageFormat = reader.int32(); - break; - case 4: - message.ttl = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + if (!(message.attrPath && message.attrPath.length)) + message.attrPath = []; + message.attrPath.push($root.flyteidl.core.PromiseAttribute.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -10949,76 +11323,56 @@ }; /** - * Verifies a TaskLog message. + * Verifies an OutputReference message. * @function verify - * @memberof flyteidl.core.TaskLog + * @memberof flyteidl.core.OutputReference * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskLog.verify = function verify(message) { + OutputReference.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.messageFormat != null && message.hasOwnProperty("messageFormat")) - switch (message.messageFormat) { - default: - return "messageFormat: enum value expected"; - case 0: - case 1: - case 2: - break; + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + if (!$util.isString(message.nodeId)) + return "nodeId: string expected"; + if (message["var"] != null && message.hasOwnProperty("var")) + if (!$util.isString(message["var"])) + return "var: string expected"; + if (message.attrPath != null && message.hasOwnProperty("attrPath")) { + if (!Array.isArray(message.attrPath)) + return "attrPath: array expected"; + for (var i = 0; i < message.attrPath.length; ++i) { + var error = $root.flyteidl.core.PromiseAttribute.verify(message.attrPath[i]); + if (error) + return "attrPath." + error; } - if (message.ttl != null && message.hasOwnProperty("ttl")) { - var error = $root.google.protobuf.Duration.verify(message.ttl); - if (error) - return "ttl." + error; } return null; }; - /** - * MessageFormat enum. - * @name flyteidl.core.TaskLog.MessageFormat - * @enum {string} - * @property {number} UNKNOWN=0 UNKNOWN value - * @property {number} CSV=1 CSV value - * @property {number} JSON=2 JSON value - */ - TaskLog.MessageFormat = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNKNOWN"] = 0; - values[valuesById[1] = "CSV"] = 1; - values[valuesById[2] = "JSON"] = 2; - return values; - })(); - - return TaskLog; + return OutputReference; })(); - core.QualityOfServiceSpec = (function() { + core.PromiseAttribute = (function() { /** - * Properties of a QualityOfServiceSpec. + * Properties of a PromiseAttribute. * @memberof flyteidl.core - * @interface IQualityOfServiceSpec - * @property {google.protobuf.IDuration|null} [queueingBudget] QualityOfServiceSpec queueingBudget + * @interface IPromiseAttribute + * @property {string|null} [stringValue] PromiseAttribute stringValue + * @property {number|null} [intValue] PromiseAttribute intValue */ /** - * Constructs a new QualityOfServiceSpec. + * Constructs a new PromiseAttribute. * @memberof flyteidl.core - * @classdesc Represents a QualityOfServiceSpec. - * @implements IQualityOfServiceSpec + * @classdesc Represents a PromiseAttribute. + * @implements IPromiseAttribute * @constructor - * @param {flyteidl.core.IQualityOfServiceSpec=} [properties] Properties to set + * @param {flyteidl.core.IPromiseAttribute=} [properties] Properties to set */ - function QualityOfServiceSpec(properties) { + function PromiseAttribute(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11026,62 +11380,89 @@ } /** - * QualityOfServiceSpec queueingBudget. - * @member {google.protobuf.IDuration|null|undefined} queueingBudget - * @memberof flyteidl.core.QualityOfServiceSpec + * PromiseAttribute stringValue. + * @member {string} stringValue + * @memberof flyteidl.core.PromiseAttribute * @instance */ - QualityOfServiceSpec.prototype.queueingBudget = null; + PromiseAttribute.prototype.stringValue = ""; /** - * Creates a new QualityOfServiceSpec instance using the specified properties. + * PromiseAttribute intValue. + * @member {number} intValue + * @memberof flyteidl.core.PromiseAttribute + * @instance + */ + PromiseAttribute.prototype.intValue = 0; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * PromiseAttribute value. + * @member {"stringValue"|"intValue"|undefined} value + * @memberof flyteidl.core.PromiseAttribute + * @instance + */ + Object.defineProperty(PromiseAttribute.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["stringValue", "intValue"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new PromiseAttribute instance using the specified properties. * @function create - * @memberof flyteidl.core.QualityOfServiceSpec + * @memberof flyteidl.core.PromiseAttribute * @static - * @param {flyteidl.core.IQualityOfServiceSpec=} [properties] Properties to set - * @returns {flyteidl.core.QualityOfServiceSpec} QualityOfServiceSpec instance + * @param {flyteidl.core.IPromiseAttribute=} [properties] Properties to set + * @returns {flyteidl.core.PromiseAttribute} PromiseAttribute instance */ - QualityOfServiceSpec.create = function create(properties) { - return new QualityOfServiceSpec(properties); + PromiseAttribute.create = function create(properties) { + return new PromiseAttribute(properties); }; /** - * Encodes the specified QualityOfServiceSpec message. Does not implicitly {@link flyteidl.core.QualityOfServiceSpec.verify|verify} messages. + * Encodes the specified PromiseAttribute message. Does not implicitly {@link flyteidl.core.PromiseAttribute.verify|verify} messages. * @function encode - * @memberof flyteidl.core.QualityOfServiceSpec + * @memberof flyteidl.core.PromiseAttribute * @static - * @param {flyteidl.core.IQualityOfServiceSpec} message QualityOfServiceSpec message or plain object to encode + * @param {flyteidl.core.IPromiseAttribute} message PromiseAttribute message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - QualityOfServiceSpec.encode = function encode(message, writer) { + PromiseAttribute.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.queueingBudget != null && message.hasOwnProperty("queueingBudget")) - $root.google.protobuf.Duration.encode(message.queueingBudget, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.stringValue != null && message.hasOwnProperty("stringValue")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.stringValue); + if (message.intValue != null && message.hasOwnProperty("intValue")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.intValue); return writer; }; /** - * Decodes a QualityOfServiceSpec message from the specified reader or buffer. + * Decodes a PromiseAttribute message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.QualityOfServiceSpec + * @memberof flyteidl.core.PromiseAttribute * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.QualityOfServiceSpec} QualityOfServiceSpec + * @returns {flyteidl.core.PromiseAttribute} PromiseAttribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - QualityOfServiceSpec.decode = function decode(reader, length) { + PromiseAttribute.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.core.QualityOfServiceSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.PromiseAttribute(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.queueingBudget = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.stringValue = reader.string(); + break; + case 2: + message.intValue = reader.int32(); break; default: reader.skipType(tag & 7); @@ -11092,46 +11473,54 @@ }; /** - * Verifies a QualityOfServiceSpec message. + * Verifies a PromiseAttribute message. * @function verify - * @memberof flyteidl.core.QualityOfServiceSpec + * @memberof flyteidl.core.PromiseAttribute * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - QualityOfServiceSpec.verify = function verify(message) { + PromiseAttribute.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.queueingBudget != null && message.hasOwnProperty("queueingBudget")) { - var error = $root.google.protobuf.Duration.verify(message.queueingBudget); - if (error) - return "queueingBudget." + error; + var properties = {}; + if (message.stringValue != null && message.hasOwnProperty("stringValue")) { + properties.value = 1; + if (!$util.isString(message.stringValue)) + return "stringValue: string expected"; + } + if (message.intValue != null && message.hasOwnProperty("intValue")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + if (!$util.isInteger(message.intValue)) + return "intValue: integer expected"; } return null; }; - return QualityOfServiceSpec; + return PromiseAttribute; })(); - core.QualityOfService = (function() { + core.Error = (function() { /** - * Properties of a QualityOfService. + * Properties of an Error. * @memberof flyteidl.core - * @interface IQualityOfService - * @property {flyteidl.core.QualityOfService.Tier|null} [tier] QualityOfService tier - * @property {flyteidl.core.IQualityOfServiceSpec|null} [spec] QualityOfService spec + * @interface IError + * @property {string|null} [failedNodeId] Error failedNodeId + * @property {string|null} [message] Error message */ /** - * Constructs a new QualityOfService. + * Constructs a new Error. * @memberof flyteidl.core - * @classdesc Represents a QualityOfService. - * @implements IQualityOfService + * @classdesc Represents an Error. + * @implements IError * @constructor - * @param {flyteidl.core.IQualityOfService=} [properties] Properties to set + * @param {flyteidl.core.IError=} [properties] Properties to set */ - function QualityOfService(properties) { + function Error(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11139,89 +11528,75 @@ } /** - * QualityOfService tier. - * @member {flyteidl.core.QualityOfService.Tier} tier - * @memberof flyteidl.core.QualityOfService - * @instance - */ - QualityOfService.prototype.tier = 0; - - /** - * QualityOfService spec. - * @member {flyteidl.core.IQualityOfServiceSpec|null|undefined} spec - * @memberof flyteidl.core.QualityOfService + * Error failedNodeId. + * @member {string} failedNodeId + * @memberof flyteidl.core.Error * @instance */ - QualityOfService.prototype.spec = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + Error.prototype.failedNodeId = ""; /** - * QualityOfService designation. - * @member {"tier"|"spec"|undefined} designation - * @memberof flyteidl.core.QualityOfService + * Error message. + * @member {string} message + * @memberof flyteidl.core.Error * @instance */ - Object.defineProperty(QualityOfService.prototype, "designation", { - get: $util.oneOfGetter($oneOfFields = ["tier", "spec"]), - set: $util.oneOfSetter($oneOfFields) - }); + Error.prototype.message = ""; /** - * Creates a new QualityOfService instance using the specified properties. + * Creates a new Error instance using the specified properties. * @function create - * @memberof flyteidl.core.QualityOfService + * @memberof flyteidl.core.Error * @static - * @param {flyteidl.core.IQualityOfService=} [properties] Properties to set - * @returns {flyteidl.core.QualityOfService} QualityOfService instance + * @param {flyteidl.core.IError=} [properties] Properties to set + * @returns {flyteidl.core.Error} Error instance */ - QualityOfService.create = function create(properties) { - return new QualityOfService(properties); + Error.create = function create(properties) { + return new Error(properties); }; /** - * Encodes the specified QualityOfService message. Does not implicitly {@link flyteidl.core.QualityOfService.verify|verify} messages. + * Encodes the specified Error message. Does not implicitly {@link flyteidl.core.Error.verify|verify} messages. * @function encode - * @memberof flyteidl.core.QualityOfService + * @memberof flyteidl.core.Error * @static - * @param {flyteidl.core.IQualityOfService} message QualityOfService message or plain object to encode + * @param {flyteidl.core.IError} message Error message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - QualityOfService.encode = function encode(message, writer) { + Error.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.tier != null && message.hasOwnProperty("tier")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.tier); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.core.QualityOfServiceSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.failedNodeId != null && message.hasOwnProperty("failedNodeId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.failedNodeId); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); return writer; }; /** - * Decodes a QualityOfService message from the specified reader or buffer. + * Decodes an Error message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.QualityOfService + * @memberof flyteidl.core.Error * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.QualityOfService} QualityOfService + * @returns {flyteidl.core.Error} Error * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - QualityOfService.decode = function decode(reader, length) { + Error.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.core.QualityOfService(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Error(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.tier = reader.int32(); + message.failedNodeId = reader.string(); break; case 2: - message.spec = $root.flyteidl.core.QualityOfServiceSpec.decode(reader, reader.uint32()); + message.message = reader.string(); break; default: reader.skipType(tag & 7); @@ -11232,82 +11607,45 @@ }; /** - * Verifies a QualityOfService message. + * Verifies an Error message. * @function verify - * @memberof flyteidl.core.QualityOfService + * @memberof flyteidl.core.Error * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - QualityOfService.verify = function verify(message) { + Error.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.tier != null && message.hasOwnProperty("tier")) { - properties.designation = 1; - switch (message.tier) { - default: - return "tier: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - } - if (message.spec != null && message.hasOwnProperty("spec")) { - if (properties.designation === 1) - return "designation: multiple values"; - properties.designation = 1; - { - var error = $root.flyteidl.core.QualityOfServiceSpec.verify(message.spec); - if (error) - return "spec." + error; - } - } + if (message.failedNodeId != null && message.hasOwnProperty("failedNodeId")) + if (!$util.isString(message.failedNodeId)) + return "failedNodeId: string expected"; + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; return null; }; - /** - * Tier enum. - * @name flyteidl.core.QualityOfService.Tier - * @enum {string} - * @property {number} UNDEFINED=0 UNDEFINED value - * @property {number} HIGH=1 HIGH value - * @property {number} MEDIUM=2 MEDIUM value - * @property {number} LOW=3 LOW value - */ - QualityOfService.Tier = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNDEFINED"] = 0; - values[valuesById[1] = "HIGH"] = 1; - values[valuesById[2] = "MEDIUM"] = 2; - values[valuesById[3] = "LOW"] = 3; - return values; - })(); - - return QualityOfService; + return Error; })(); - core.Variable = (function() { + core.WorkflowExecution = (function() { /** - * Properties of a Variable. + * Properties of a WorkflowExecution. * @memberof flyteidl.core - * @interface IVariable - * @property {flyteidl.core.ILiteralType|null} [type] Variable type - * @property {string|null} [description] Variable description + * @interface IWorkflowExecution */ /** - * Constructs a new Variable. + * Constructs a new WorkflowExecution. * @memberof flyteidl.core - * @classdesc Represents a Variable. - * @implements IVariable + * @classdesc Represents a WorkflowExecution. + * @implements IWorkflowExecution * @constructor - * @param {flyteidl.core.IVariable=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowExecution=} [properties] Properties to set */ - function Variable(properties) { + function WorkflowExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11315,76 +11653,50 @@ } /** - * Variable type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.core.Variable - * @instance - */ - Variable.prototype.type = null; - - /** - * Variable description. - * @member {string} description - * @memberof flyteidl.core.Variable - * @instance - */ - Variable.prototype.description = ""; - - /** - * Creates a new Variable instance using the specified properties. + * Creates a new WorkflowExecution instance using the specified properties. * @function create - * @memberof flyteidl.core.Variable + * @memberof flyteidl.core.WorkflowExecution * @static - * @param {flyteidl.core.IVariable=} [properties] Properties to set - * @returns {flyteidl.core.Variable} Variable instance + * @param {flyteidl.core.IWorkflowExecution=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowExecution} WorkflowExecution instance */ - Variable.create = function create(properties) { - return new Variable(properties); + WorkflowExecution.create = function create(properties) { + return new WorkflowExecution(properties); }; /** - * Encodes the specified Variable message. Does not implicitly {@link flyteidl.core.Variable.verify|verify} messages. + * Encodes the specified WorkflowExecution message. Does not implicitly {@link flyteidl.core.WorkflowExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Variable + * @memberof flyteidl.core.WorkflowExecution * @static - * @param {flyteidl.core.IVariable} message Variable message or plain object to encode + * @param {flyteidl.core.IWorkflowExecution} message WorkflowExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Variable.encode = function encode(message, writer) { + WorkflowExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.description != null && message.hasOwnProperty("description")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.description); return writer; }; /** - * Decodes a Variable message from the specified reader or buffer. + * Decodes a WorkflowExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Variable + * @memberof flyteidl.core.WorkflowExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Variable} Variable + * @returns {flyteidl.core.WorkflowExecution} WorkflowExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Variable.decode = function decode(reader, length) { + WorkflowExecution.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.core.Variable(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); - break; - case 2: - message.description = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -11394,49 +11706,69 @@ }; /** - * Verifies a Variable message. + * Verifies a WorkflowExecution message. * @function verify - * @memberof flyteidl.core.Variable + * @memberof flyteidl.core.WorkflowExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Variable.verify = function verify(message) { + WorkflowExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.LiteralType.verify(message.type); - if (error) - return "type." + error; - } - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; return null; }; - return Variable; + /** + * Phase enum. + * @name flyteidl.core.WorkflowExecution.Phase + * @enum {string} + * @property {number} UNDEFINED=0 UNDEFINED value + * @property {number} QUEUED=1 QUEUED value + * @property {number} RUNNING=2 RUNNING value + * @property {number} SUCCEEDING=3 SUCCEEDING value + * @property {number} SUCCEEDED=4 SUCCEEDED value + * @property {number} FAILING=5 FAILING value + * @property {number} FAILED=6 FAILED value + * @property {number} ABORTED=7 ABORTED value + * @property {number} TIMED_OUT=8 TIMED_OUT value + * @property {number} ABORTING=9 ABORTING value + */ + WorkflowExecution.Phase = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNDEFINED"] = 0; + values[valuesById[1] = "QUEUED"] = 1; + values[valuesById[2] = "RUNNING"] = 2; + values[valuesById[3] = "SUCCEEDING"] = 3; + values[valuesById[4] = "SUCCEEDED"] = 4; + values[valuesById[5] = "FAILING"] = 5; + values[valuesById[6] = "FAILED"] = 6; + values[valuesById[7] = "ABORTED"] = 7; + values[valuesById[8] = "TIMED_OUT"] = 8; + values[valuesById[9] = "ABORTING"] = 9; + return values; + })(); + + return WorkflowExecution; })(); - core.VariableMap = (function() { + core.NodeExecution = (function() { /** - * Properties of a VariableMap. + * Properties of a NodeExecution. * @memberof flyteidl.core - * @interface IVariableMap - * @property {Object.|null} [variables] VariableMap variables + * @interface INodeExecution */ /** - * Constructs a new VariableMap. + * Constructs a new NodeExecution. * @memberof flyteidl.core - * @classdesc Represents a VariableMap. - * @implements IVariableMap + * @classdesc Represents a NodeExecution. + * @implements INodeExecution * @constructor - * @param {flyteidl.core.IVariableMap=} [properties] Properties to set + * @param {flyteidl.core.INodeExecution=} [properties] Properties to set */ - function VariableMap(properties) { - this.variables = {}; + function NodeExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11444,71 +11776,50 @@ } /** - * VariableMap variables. - * @member {Object.} variables - * @memberof flyteidl.core.VariableMap - * @instance - */ - VariableMap.prototype.variables = $util.emptyObject; - - /** - * Creates a new VariableMap instance using the specified properties. + * Creates a new NodeExecution instance using the specified properties. * @function create - * @memberof flyteidl.core.VariableMap + * @memberof flyteidl.core.NodeExecution * @static - * @param {flyteidl.core.IVariableMap=} [properties] Properties to set - * @returns {flyteidl.core.VariableMap} VariableMap instance + * @param {flyteidl.core.INodeExecution=} [properties] Properties to set + * @returns {flyteidl.core.NodeExecution} NodeExecution instance */ - VariableMap.create = function create(properties) { - return new VariableMap(properties); + NodeExecution.create = function create(properties) { + return new NodeExecution(properties); }; /** - * Encodes the specified VariableMap message. Does not implicitly {@link flyteidl.core.VariableMap.verify|verify} messages. + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.core.NodeExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.core.VariableMap + * @memberof flyteidl.core.NodeExecution * @static - * @param {flyteidl.core.IVariableMap} message VariableMap message or plain object to encode + * @param {flyteidl.core.INodeExecution} message NodeExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - VariableMap.encode = function encode(message, writer) { + NodeExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.variables != null && message.hasOwnProperty("variables")) - for (var keys = Object.keys(message.variables), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.Variable.encode(message.variables[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } return writer; }; /** - * Decodes a VariableMap message from the specified reader or buffer. + * Decodes a NodeExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.VariableMap + * @memberof flyteidl.core.NodeExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.VariableMap} VariableMap + * @returns {flyteidl.core.NodeExecution} NodeExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - VariableMap.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.core.VariableMap(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - reader.skip().pos++; - if (message.variables === $util.emptyObject) - message.variables = {}; - key = reader.string(); - reader.pos++; - message.variables[key] = $root.flyteidl.core.Variable.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -11518,51 +11829,71 @@ }; /** - * Verifies a VariableMap message. + * Verifies a NodeExecution message. * @function verify - * @memberof flyteidl.core.VariableMap + * @memberof flyteidl.core.NodeExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - VariableMap.verify = function verify(message) { + NodeExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.variables != null && message.hasOwnProperty("variables")) { - if (!$util.isObject(message.variables)) - return "variables: object expected"; - var key = Object.keys(message.variables); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.Variable.verify(message.variables[key[i]]); - if (error) - return "variables." + error; - } - } return null; }; - return VariableMap; + /** + * Phase enum. + * @name flyteidl.core.NodeExecution.Phase + * @enum {string} + * @property {number} UNDEFINED=0 UNDEFINED value + * @property {number} QUEUED=1 QUEUED value + * @property {number} RUNNING=2 RUNNING value + * @property {number} SUCCEEDED=3 SUCCEEDED value + * @property {number} FAILING=4 FAILING value + * @property {number} FAILED=5 FAILED value + * @property {number} ABORTED=6 ABORTED value + * @property {number} SKIPPED=7 SKIPPED value + * @property {number} TIMED_OUT=8 TIMED_OUT value + * @property {number} DYNAMIC_RUNNING=9 DYNAMIC_RUNNING value + * @property {number} RECOVERED=10 RECOVERED value + */ + NodeExecution.Phase = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNDEFINED"] = 0; + values[valuesById[1] = "QUEUED"] = 1; + values[valuesById[2] = "RUNNING"] = 2; + values[valuesById[3] = "SUCCEEDED"] = 3; + values[valuesById[4] = "FAILING"] = 4; + values[valuesById[5] = "FAILED"] = 5; + values[valuesById[6] = "ABORTED"] = 6; + values[valuesById[7] = "SKIPPED"] = 7; + values[valuesById[8] = "TIMED_OUT"] = 8; + values[valuesById[9] = "DYNAMIC_RUNNING"] = 9; + values[valuesById[10] = "RECOVERED"] = 10; + return values; + })(); + + return NodeExecution; })(); - core.TypedInterface = (function() { + core.TaskExecution = (function() { /** - * Properties of a TypedInterface. + * Properties of a TaskExecution. * @memberof flyteidl.core - * @interface ITypedInterface - * @property {flyteidl.core.IVariableMap|null} [inputs] TypedInterface inputs - * @property {flyteidl.core.IVariableMap|null} [outputs] TypedInterface outputs + * @interface ITaskExecution */ /** - * Constructs a new TypedInterface. + * Constructs a new TaskExecution. * @memberof flyteidl.core - * @classdesc Represents a TypedInterface. - * @implements ITypedInterface + * @classdesc Represents a TaskExecution. + * @implements ITaskExecution * @constructor - * @param {flyteidl.core.ITypedInterface=} [properties] Properties to set + * @param {flyteidl.core.ITaskExecution=} [properties] Properties to set */ - function TypedInterface(properties) { + function TaskExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11570,76 +11901,50 @@ } /** - * TypedInterface inputs. - * @member {flyteidl.core.IVariableMap|null|undefined} inputs - * @memberof flyteidl.core.TypedInterface - * @instance - */ - TypedInterface.prototype.inputs = null; - - /** - * TypedInterface outputs. - * @member {flyteidl.core.IVariableMap|null|undefined} outputs - * @memberof flyteidl.core.TypedInterface - * @instance - */ - TypedInterface.prototype.outputs = null; - - /** - * Creates a new TypedInterface instance using the specified properties. + * Creates a new TaskExecution instance using the specified properties. * @function create - * @memberof flyteidl.core.TypedInterface + * @memberof flyteidl.core.TaskExecution * @static - * @param {flyteidl.core.ITypedInterface=} [properties] Properties to set - * @returns {flyteidl.core.TypedInterface} TypedInterface instance + * @param {flyteidl.core.ITaskExecution=} [properties] Properties to set + * @returns {flyteidl.core.TaskExecution} TaskExecution instance */ - TypedInterface.create = function create(properties) { - return new TypedInterface(properties); + TaskExecution.create = function create(properties) { + return new TaskExecution(properties); }; /** - * Encodes the specified TypedInterface message. Does not implicitly {@link flyteidl.core.TypedInterface.verify|verify} messages. + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.core.TaskExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TypedInterface + * @memberof flyteidl.core.TaskExecution * @static - * @param {flyteidl.core.ITypedInterface} message TypedInterface message or plain object to encode + * @param {flyteidl.core.ITaskExecution} message TaskExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TypedInterface.encode = function encode(message, writer) { + TaskExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.core.VariableMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.core.VariableMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TypedInterface message from the specified reader or buffer. + * Decodes a TaskExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TypedInterface + * @memberof flyteidl.core.TaskExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TypedInterface} TypedInterface + * @returns {flyteidl.core.TaskExecution} TaskExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TypedInterface.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.core.TypedInterface(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.inputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); - break; - case 2: - message.outputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -11649,52 +11954,69 @@ }; /** - * Verifies a TypedInterface message. + * Verifies a TaskExecution message. * @function verify - * @memberof flyteidl.core.TypedInterface + * @memberof flyteidl.core.TaskExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TypedInterface.verify = function verify(message) { + TaskExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.core.VariableMap.verify(message.inputs); - if (error) - return "inputs." + error; - } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - var error = $root.flyteidl.core.VariableMap.verify(message.outputs); - if (error) - return "outputs." + error; - } return null; }; - return TypedInterface; + /** + * Phase enum. + * @name flyteidl.core.TaskExecution.Phase + * @enum {string} + * @property {number} UNDEFINED=0 UNDEFINED value + * @property {number} QUEUED=1 QUEUED value + * @property {number} RUNNING=2 RUNNING value + * @property {number} SUCCEEDED=3 SUCCEEDED value + * @property {number} ABORTED=4 ABORTED value + * @property {number} FAILED=5 FAILED value + * @property {number} INITIALIZING=6 INITIALIZING value + * @property {number} WAITING_FOR_RESOURCES=7 WAITING_FOR_RESOURCES value + */ + TaskExecution.Phase = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNDEFINED"] = 0; + values[valuesById[1] = "QUEUED"] = 1; + values[valuesById[2] = "RUNNING"] = 2; + values[valuesById[3] = "SUCCEEDED"] = 3; + values[valuesById[4] = "ABORTED"] = 4; + values[valuesById[5] = "FAILED"] = 5; + values[valuesById[6] = "INITIALIZING"] = 6; + values[valuesById[7] = "WAITING_FOR_RESOURCES"] = 7; + return values; + })(); + + return TaskExecution; })(); - core.Parameter = (function() { + core.ExecutionError = (function() { /** - * Properties of a Parameter. + * Properties of an ExecutionError. * @memberof flyteidl.core - * @interface IParameter - * @property {flyteidl.core.IVariable|null} ["var"] Parameter var - * @property {flyteidl.core.ILiteral|null} ["default"] Parameter default - * @property {boolean|null} [required] Parameter required + * @interface IExecutionError + * @property {string|null} [code] ExecutionError code + * @property {string|null} [message] ExecutionError message + * @property {string|null} [errorUri] ExecutionError errorUri + * @property {flyteidl.core.ExecutionError.ErrorKind|null} [kind] ExecutionError kind */ /** - * Constructs a new Parameter. + * Constructs a new ExecutionError. * @memberof flyteidl.core - * @classdesc Represents a Parameter. - * @implements IParameter + * @classdesc Represents an ExecutionError. + * @implements IExecutionError * @constructor - * @param {flyteidl.core.IParameter=} [properties] Properties to set + * @param {flyteidl.core.IExecutionError=} [properties] Properties to set */ - function Parameter(properties) { + function ExecutionError(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11702,102 +12024,101 @@ } /** - * Parameter var. - * @member {flyteidl.core.IVariable|null|undefined} var - * @memberof flyteidl.core.Parameter + * ExecutionError code. + * @member {string} code + * @memberof flyteidl.core.ExecutionError * @instance */ - Parameter.prototype["var"] = null; + ExecutionError.prototype.code = ""; /** - * Parameter default. - * @member {flyteidl.core.ILiteral|null|undefined} default - * @memberof flyteidl.core.Parameter + * ExecutionError message. + * @member {string} message + * @memberof flyteidl.core.ExecutionError * @instance */ - Parameter.prototype["default"] = null; + ExecutionError.prototype.message = ""; /** - * Parameter required. - * @member {boolean} required - * @memberof flyteidl.core.Parameter + * ExecutionError errorUri. + * @member {string} errorUri + * @memberof flyteidl.core.ExecutionError * @instance */ - Parameter.prototype.required = false; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + ExecutionError.prototype.errorUri = ""; /** - * Parameter behavior. - * @member {"default"|"required"|undefined} behavior - * @memberof flyteidl.core.Parameter + * ExecutionError kind. + * @member {flyteidl.core.ExecutionError.ErrorKind} kind + * @memberof flyteidl.core.ExecutionError * @instance */ - Object.defineProperty(Parameter.prototype, "behavior", { - get: $util.oneOfGetter($oneOfFields = ["default", "required"]), - set: $util.oneOfSetter($oneOfFields) - }); + ExecutionError.prototype.kind = 0; /** - * Creates a new Parameter instance using the specified properties. + * Creates a new ExecutionError instance using the specified properties. * @function create - * @memberof flyteidl.core.Parameter + * @memberof flyteidl.core.ExecutionError * @static - * @param {flyteidl.core.IParameter=} [properties] Properties to set - * @returns {flyteidl.core.Parameter} Parameter instance + * @param {flyteidl.core.IExecutionError=} [properties] Properties to set + * @returns {flyteidl.core.ExecutionError} ExecutionError instance */ - Parameter.create = function create(properties) { - return new Parameter(properties); + ExecutionError.create = function create(properties) { + return new ExecutionError(properties); }; /** - * Encodes the specified Parameter message. Does not implicitly {@link flyteidl.core.Parameter.verify|verify} messages. + * Encodes the specified ExecutionError message. Does not implicitly {@link flyteidl.core.ExecutionError.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Parameter + * @memberof flyteidl.core.ExecutionError * @static - * @param {flyteidl.core.IParameter} message Parameter message or plain object to encode + * @param {flyteidl.core.IExecutionError} message ExecutionError message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Parameter.encode = function encode(message, writer) { + ExecutionError.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message["var"] != null && message.hasOwnProperty("var")) - $root.flyteidl.core.Variable.encode(message["var"], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message["default"] != null && message.hasOwnProperty("default")) - $root.flyteidl.core.Literal.encode(message["default"], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.required != null && message.hasOwnProperty("required")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.required); + if (message.code != null && message.hasOwnProperty("code")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.code); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); + if (message.errorUri != null && message.hasOwnProperty("errorUri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.errorUri); + if (message.kind != null && message.hasOwnProperty("kind")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.kind); return writer; }; /** - * Decodes a Parameter message from the specified reader or buffer. + * Decodes an ExecutionError message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Parameter + * @memberof flyteidl.core.ExecutionError * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Parameter} Parameter + * @returns {flyteidl.core.ExecutionError} ExecutionError * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Parameter.decode = function decode(reader, length) { + ExecutionError.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.core.Parameter(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ExecutionError(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message["var"] = $root.flyteidl.core.Variable.decode(reader, reader.uint32()); + message.code = reader.string(); break; case 2: - message["default"] = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.message = reader.string(); break; case 3: - message.required = reader.bool(); + message.errorUri = reader.string(); + break; + case 4: + message.kind = reader.int32(); break; default: reader.skipType(tag & 7); @@ -11808,62 +12129,77 @@ }; /** - * Verifies a Parameter message. + * Verifies an ExecutionError message. * @function verify - * @memberof flyteidl.core.Parameter + * @memberof flyteidl.core.ExecutionError * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Parameter.verify = function verify(message) { + ExecutionError.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message["var"] != null && message.hasOwnProperty("var")) { - var error = $root.flyteidl.core.Variable.verify(message["var"]); - if (error) - return "var." + error; - } - if (message["default"] != null && message.hasOwnProperty("default")) { - properties.behavior = 1; - { - var error = $root.flyteidl.core.Literal.verify(message["default"]); - if (error) - return "default." + error; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isString(message.code)) + return "code: string expected"; + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; + if (message.errorUri != null && message.hasOwnProperty("errorUri")) + if (!$util.isString(message.errorUri)) + return "errorUri: string expected"; + if (message.kind != null && message.hasOwnProperty("kind")) + switch (message.kind) { + default: + return "kind: enum value expected"; + case 0: + case 1: + case 2: + break; } - } - if (message.required != null && message.hasOwnProperty("required")) { - if (properties.behavior === 1) - return "behavior: multiple values"; - properties.behavior = 1; - if (typeof message.required !== "boolean") - return "required: boolean expected"; - } return null; }; - return Parameter; + /** + * ErrorKind enum. + * @name flyteidl.core.ExecutionError.ErrorKind + * @enum {string} + * @property {number} UNKNOWN=0 UNKNOWN value + * @property {number} USER=1 USER value + * @property {number} SYSTEM=2 SYSTEM value + */ + ExecutionError.ErrorKind = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNKNOWN"] = 0; + values[valuesById[1] = "USER"] = 1; + values[valuesById[2] = "SYSTEM"] = 2; + return values; + })(); + + return ExecutionError; })(); - core.ParameterMap = (function() { + core.TaskLog = (function() { /** - * Properties of a ParameterMap. + * Properties of a TaskLog. * @memberof flyteidl.core - * @interface IParameterMap - * @property {Object.|null} [parameters] ParameterMap parameters + * @interface ITaskLog + * @property {string|null} [uri] TaskLog uri + * @property {string|null} [name] TaskLog name + * @property {flyteidl.core.TaskLog.MessageFormat|null} [messageFormat] TaskLog messageFormat + * @property {google.protobuf.IDuration|null} [ttl] TaskLog ttl */ /** - * Constructs a new ParameterMap. + * Constructs a new TaskLog. * @memberof flyteidl.core - * @classdesc Represents a ParameterMap. - * @implements IParameterMap + * @classdesc Represents a TaskLog. + * @implements ITaskLog * @constructor - * @param {flyteidl.core.IParameterMap=} [properties] Properties to set + * @param {flyteidl.core.ITaskLog=} [properties] Properties to set */ - function ParameterMap(properties) { - this.parameters = {}; + function TaskLog(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11871,70 +12207,101 @@ } /** - * ParameterMap parameters. - * @member {Object.} parameters - * @memberof flyteidl.core.ParameterMap + * TaskLog uri. + * @member {string} uri + * @memberof flyteidl.core.TaskLog * @instance */ - ParameterMap.prototype.parameters = $util.emptyObject; + TaskLog.prototype.uri = ""; /** - * Creates a new ParameterMap instance using the specified properties. + * TaskLog name. + * @member {string} name + * @memberof flyteidl.core.TaskLog + * @instance + */ + TaskLog.prototype.name = ""; + + /** + * TaskLog messageFormat. + * @member {flyteidl.core.TaskLog.MessageFormat} messageFormat + * @memberof flyteidl.core.TaskLog + * @instance + */ + TaskLog.prototype.messageFormat = 0; + + /** + * TaskLog ttl. + * @member {google.protobuf.IDuration|null|undefined} ttl + * @memberof flyteidl.core.TaskLog + * @instance + */ + TaskLog.prototype.ttl = null; + + /** + * Creates a new TaskLog instance using the specified properties. * @function create - * @memberof flyteidl.core.ParameterMap + * @memberof flyteidl.core.TaskLog * @static - * @param {flyteidl.core.IParameterMap=} [properties] Properties to set - * @returns {flyteidl.core.ParameterMap} ParameterMap instance + * @param {flyteidl.core.ITaskLog=} [properties] Properties to set + * @returns {flyteidl.core.TaskLog} TaskLog instance */ - ParameterMap.create = function create(properties) { - return new ParameterMap(properties); + TaskLog.create = function create(properties) { + return new TaskLog(properties); }; /** - * Encodes the specified ParameterMap message. Does not implicitly {@link flyteidl.core.ParameterMap.verify|verify} messages. + * Encodes the specified TaskLog message. Does not implicitly {@link flyteidl.core.TaskLog.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ParameterMap + * @memberof flyteidl.core.TaskLog * @static - * @param {flyteidl.core.IParameterMap} message ParameterMap message or plain object to encode + * @param {flyteidl.core.ITaskLog} message TaskLog message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ParameterMap.encode = function encode(message, writer) { + TaskLog.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.parameters != null && message.hasOwnProperty("parameters")) - for (var keys = Object.keys(message.parameters), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.Parameter.encode(message.parameters[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.messageFormat != null && message.hasOwnProperty("messageFormat")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.messageFormat); + if (message.ttl != null && message.hasOwnProperty("ttl")) + $root.google.protobuf.Duration.encode(message.ttl, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a ParameterMap message from the specified reader or buffer. + * Decodes a TaskLog message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ParameterMap + * @memberof flyteidl.core.TaskLog * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ParameterMap} ParameterMap + * @returns {flyteidl.core.TaskLog} TaskLog * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ParameterMap.decode = function decode(reader, length) { + TaskLog.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.core.ParameterMap(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskLog(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.parameters === $util.emptyObject) - message.parameters = {}; - key = reader.string(); - reader.pos++; - message.parameters[key] = $root.flyteidl.core.Parameter.decode(reader, reader.uint32()); + message.uri = reader.string(); + break; + case 2: + message.name = reader.string(); + break; + case 3: + message.messageFormat = reader.int32(); + break; + case 4: + message.ttl = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -11945,53 +12312,76 @@ }; /** - * Verifies a ParameterMap message. + * Verifies a TaskLog message. * @function verify - * @memberof flyteidl.core.ParameterMap + * @memberof flyteidl.core.TaskLog * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ParameterMap.verify = function verify(message) { + TaskLog.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.parameters != null && message.hasOwnProperty("parameters")) { - if (!$util.isObject(message.parameters)) - return "parameters: object expected"; - var key = Object.keys(message.parameters); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.Parameter.verify(message.parameters[key[i]]); - if (error) - return "parameters." + error; + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.messageFormat != null && message.hasOwnProperty("messageFormat")) + switch (message.messageFormat) { + default: + return "messageFormat: enum value expected"; + case 0: + case 1: + case 2: + break; } + if (message.ttl != null && message.hasOwnProperty("ttl")) { + var error = $root.google.protobuf.Duration.verify(message.ttl); + if (error) + return "ttl." + error; } return null; }; - return ParameterMap; + /** + * MessageFormat enum. + * @name flyteidl.core.TaskLog.MessageFormat + * @enum {string} + * @property {number} UNKNOWN=0 UNKNOWN value + * @property {number} CSV=1 CSV value + * @property {number} JSON=2 JSON value + */ + TaskLog.MessageFormat = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNKNOWN"] = 0; + values[valuesById[1] = "CSV"] = 1; + values[valuesById[2] = "JSON"] = 2; + return values; + })(); + + return TaskLog; })(); - core.Resources = (function() { + core.QualityOfServiceSpec = (function() { /** - * Properties of a Resources. + * Properties of a QualityOfServiceSpec. * @memberof flyteidl.core - * @interface IResources - * @property {Array.|null} [requests] Resources requests - * @property {Array.|null} [limits] Resources limits + * @interface IQualityOfServiceSpec + * @property {google.protobuf.IDuration|null} [queueingBudget] QualityOfServiceSpec queueingBudget */ /** - * Constructs a new Resources. + * Constructs a new QualityOfServiceSpec. * @memberof flyteidl.core - * @classdesc Represents a Resources. - * @implements IResources + * @classdesc Represents a QualityOfServiceSpec. + * @implements IQualityOfServiceSpec * @constructor - * @param {flyteidl.core.IResources=} [properties] Properties to set + * @param {flyteidl.core.IQualityOfServiceSpec=} [properties] Properties to set */ - function Resources(properties) { - this.requests = []; - this.limits = []; + function QualityOfServiceSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -11999,81 +12389,62 @@ } /** - * Resources requests. - * @member {Array.} requests - * @memberof flyteidl.core.Resources - * @instance - */ - Resources.prototype.requests = $util.emptyArray; - - /** - * Resources limits. - * @member {Array.} limits - * @memberof flyteidl.core.Resources + * QualityOfServiceSpec queueingBudget. + * @member {google.protobuf.IDuration|null|undefined} queueingBudget + * @memberof flyteidl.core.QualityOfServiceSpec * @instance */ - Resources.prototype.limits = $util.emptyArray; + QualityOfServiceSpec.prototype.queueingBudget = null; /** - * Creates a new Resources instance using the specified properties. + * Creates a new QualityOfServiceSpec instance using the specified properties. * @function create - * @memberof flyteidl.core.Resources + * @memberof flyteidl.core.QualityOfServiceSpec * @static - * @param {flyteidl.core.IResources=} [properties] Properties to set - * @returns {flyteidl.core.Resources} Resources instance + * @param {flyteidl.core.IQualityOfServiceSpec=} [properties] Properties to set + * @returns {flyteidl.core.QualityOfServiceSpec} QualityOfServiceSpec instance */ - Resources.create = function create(properties) { - return new Resources(properties); + QualityOfServiceSpec.create = function create(properties) { + return new QualityOfServiceSpec(properties); }; /** - * Encodes the specified Resources message. Does not implicitly {@link flyteidl.core.Resources.verify|verify} messages. + * Encodes the specified QualityOfServiceSpec message. Does not implicitly {@link flyteidl.core.QualityOfServiceSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Resources + * @memberof flyteidl.core.QualityOfServiceSpec * @static - * @param {flyteidl.core.IResources} message Resources message or plain object to encode + * @param {flyteidl.core.IQualityOfServiceSpec} message QualityOfServiceSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Resources.encode = function encode(message, writer) { + QualityOfServiceSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.requests != null && message.requests.length) - for (var i = 0; i < message.requests.length; ++i) - $root.flyteidl.core.Resources.ResourceEntry.encode(message.requests[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limits != null && message.limits.length) - for (var i = 0; i < message.limits.length; ++i) - $root.flyteidl.core.Resources.ResourceEntry.encode(message.limits[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.queueingBudget != null && message.hasOwnProperty("queueingBudget")) + $root.google.protobuf.Duration.encode(message.queueingBudget, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a Resources message from the specified reader or buffer. + * Decodes a QualityOfServiceSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Resources + * @memberof flyteidl.core.QualityOfServiceSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Resources} Resources + * @returns {flyteidl.core.QualityOfServiceSpec} QualityOfServiceSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Resources.decode = function decode(reader, length) { + QualityOfServiceSpec.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.core.Resources(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.QualityOfServiceSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.requests && message.requests.length)) - message.requests = []; - message.requests.push($root.flyteidl.core.Resources.ResourceEntry.decode(reader, reader.uint32())); - break; - case 2: - if (!(message.limits && message.limits.length)) - message.limits = []; - message.limits.push($root.flyteidl.core.Resources.ResourceEntry.decode(reader, reader.uint32())); + message.queueingBudget = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -12084,218 +12455,46 @@ }; /** - * Verifies a Resources message. + * Verifies a QualityOfServiceSpec message. * @function verify - * @memberof flyteidl.core.Resources + * @memberof flyteidl.core.QualityOfServiceSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Resources.verify = function verify(message) { + QualityOfServiceSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.requests != null && message.hasOwnProperty("requests")) { - if (!Array.isArray(message.requests)) - return "requests: array expected"; - for (var i = 0; i < message.requests.length; ++i) { - var error = $root.flyteidl.core.Resources.ResourceEntry.verify(message.requests[i]); - if (error) - return "requests." + error; - } - } - if (message.limits != null && message.hasOwnProperty("limits")) { - if (!Array.isArray(message.limits)) - return "limits: array expected"; - for (var i = 0; i < message.limits.length; ++i) { - var error = $root.flyteidl.core.Resources.ResourceEntry.verify(message.limits[i]); - if (error) - return "limits." + error; - } + if (message.queueingBudget != null && message.hasOwnProperty("queueingBudget")) { + var error = $root.google.protobuf.Duration.verify(message.queueingBudget); + if (error) + return "queueingBudget." + error; } return null; }; - /** - * ResourceName enum. - * @name flyteidl.core.Resources.ResourceName - * @enum {string} - * @property {number} UNKNOWN=0 UNKNOWN value - * @property {number} CPU=1 CPU value - * @property {number} GPU=2 GPU value - * @property {number} MEMORY=3 MEMORY value - * @property {number} STORAGE=4 STORAGE value - * @property {number} EPHEMERAL_STORAGE=5 EPHEMERAL_STORAGE value - */ - Resources.ResourceName = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNKNOWN"] = 0; - values[valuesById[1] = "CPU"] = 1; - values[valuesById[2] = "GPU"] = 2; - values[valuesById[3] = "MEMORY"] = 3; - values[valuesById[4] = "STORAGE"] = 4; - values[valuesById[5] = "EPHEMERAL_STORAGE"] = 5; - return values; - })(); - - Resources.ResourceEntry = (function() { - - /** - * Properties of a ResourceEntry. - * @memberof flyteidl.core.Resources - * @interface IResourceEntry - * @property {flyteidl.core.Resources.ResourceName|null} [name] ResourceEntry name - * @property {string|null} [value] ResourceEntry value - */ - - /** - * Constructs a new ResourceEntry. - * @memberof flyteidl.core.Resources - * @classdesc Represents a ResourceEntry. - * @implements IResourceEntry - * @constructor - * @param {flyteidl.core.Resources.IResourceEntry=} [properties] Properties to set - */ - function ResourceEntry(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]]; - } - - /** - * ResourceEntry name. - * @member {flyteidl.core.Resources.ResourceName} name - * @memberof flyteidl.core.Resources.ResourceEntry - * @instance - */ - ResourceEntry.prototype.name = 0; - - /** - * ResourceEntry value. - * @member {string} value - * @memberof flyteidl.core.Resources.ResourceEntry - * @instance - */ - ResourceEntry.prototype.value = ""; - - /** - * Creates a new ResourceEntry instance using the specified properties. - * @function create - * @memberof flyteidl.core.Resources.ResourceEntry - * @static - * @param {flyteidl.core.Resources.IResourceEntry=} [properties] Properties to set - * @returns {flyteidl.core.Resources.ResourceEntry} ResourceEntry instance - */ - ResourceEntry.create = function create(properties) { - return new ResourceEntry(properties); - }; - - /** - * Encodes the specified ResourceEntry message. Does not implicitly {@link flyteidl.core.Resources.ResourceEntry.verify|verify} messages. - * @function encode - * @memberof flyteidl.core.Resources.ResourceEntry - * @static - * @param {flyteidl.core.Resources.IResourceEntry} message ResourceEntry message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ResourceEntry.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.name); - if (message.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); - return writer; - }; - - /** - * Decodes a ResourceEntry message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.core.Resources.ResourceEntry - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Resources.ResourceEntry} ResourceEntry - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ResourceEntry.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.core.Resources.ResourceEntry(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.int32(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a ResourceEntry message. - * @function verify - * @memberof flyteidl.core.Resources.ResourceEntry - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ResourceEntry.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - switch (message.name) { - default: - return "name: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - return null; - }; - - return ResourceEntry; - })(); - - return Resources; + return QualityOfServiceSpec; })(); - core.RuntimeMetadata = (function() { + core.QualityOfService = (function() { /** - * Properties of a RuntimeMetadata. + * Properties of a QualityOfService. * @memberof flyteidl.core - * @interface IRuntimeMetadata - * @property {flyteidl.core.RuntimeMetadata.RuntimeType|null} [type] RuntimeMetadata type - * @property {string|null} [version] RuntimeMetadata version - * @property {string|null} [flavor] RuntimeMetadata flavor + * @interface IQualityOfService + * @property {flyteidl.core.QualityOfService.Tier|null} [tier] QualityOfService tier + * @property {flyteidl.core.IQualityOfServiceSpec|null} [spec] QualityOfService spec */ /** - * Constructs a new RuntimeMetadata. + * Constructs a new QualityOfService. * @memberof flyteidl.core - * @classdesc Represents a RuntimeMetadata. - * @implements IRuntimeMetadata + * @classdesc Represents a QualityOfService. + * @implements IQualityOfService * @constructor - * @param {flyteidl.core.IRuntimeMetadata=} [properties] Properties to set + * @param {flyteidl.core.IQualityOfService=} [properties] Properties to set */ - function RuntimeMetadata(properties) { + function QualityOfService(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -12303,88 +12502,89 @@ } /** - * RuntimeMetadata type. - * @member {flyteidl.core.RuntimeMetadata.RuntimeType} type - * @memberof flyteidl.core.RuntimeMetadata + * QualityOfService tier. + * @member {flyteidl.core.QualityOfService.Tier} tier + * @memberof flyteidl.core.QualityOfService * @instance */ - RuntimeMetadata.prototype.type = 0; + QualityOfService.prototype.tier = 0; /** - * RuntimeMetadata version. - * @member {string} version - * @memberof flyteidl.core.RuntimeMetadata + * QualityOfService spec. + * @member {flyteidl.core.IQualityOfServiceSpec|null|undefined} spec + * @memberof flyteidl.core.QualityOfService * @instance */ - RuntimeMetadata.prototype.version = ""; + QualityOfService.prototype.spec = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * RuntimeMetadata flavor. - * @member {string} flavor - * @memberof flyteidl.core.RuntimeMetadata + * QualityOfService designation. + * @member {"tier"|"spec"|undefined} designation + * @memberof flyteidl.core.QualityOfService * @instance */ - RuntimeMetadata.prototype.flavor = ""; + Object.defineProperty(QualityOfService.prototype, "designation", { + get: $util.oneOfGetter($oneOfFields = ["tier", "spec"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new RuntimeMetadata instance using the specified properties. + * Creates a new QualityOfService instance using the specified properties. * @function create - * @memberof flyteidl.core.RuntimeMetadata + * @memberof flyteidl.core.QualityOfService * @static - * @param {flyteidl.core.IRuntimeMetadata=} [properties] Properties to set - * @returns {flyteidl.core.RuntimeMetadata} RuntimeMetadata instance + * @param {flyteidl.core.IQualityOfService=} [properties] Properties to set + * @returns {flyteidl.core.QualityOfService} QualityOfService instance */ - RuntimeMetadata.create = function create(properties) { - return new RuntimeMetadata(properties); + QualityOfService.create = function create(properties) { + return new QualityOfService(properties); }; /** - * Encodes the specified RuntimeMetadata message. Does not implicitly {@link flyteidl.core.RuntimeMetadata.verify|verify} messages. + * Encodes the specified QualityOfService message. Does not implicitly {@link flyteidl.core.QualityOfService.verify|verify} messages. * @function encode - * @memberof flyteidl.core.RuntimeMetadata + * @memberof flyteidl.core.QualityOfService * @static - * @param {flyteidl.core.IRuntimeMetadata} message RuntimeMetadata message or plain object to encode + * @param {flyteidl.core.IQualityOfService} message QualityOfService message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RuntimeMetadata.encode = function encode(message, writer) { + QualityOfService.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.type != null && message.hasOwnProperty("type")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type); - if (message.version != null && message.hasOwnProperty("version")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.version); - if (message.flavor != null && message.hasOwnProperty("flavor")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.flavor); + if (message.tier != null && message.hasOwnProperty("tier")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.tier); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.core.QualityOfServiceSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a RuntimeMetadata message from the specified reader or buffer. + * Decodes a QualityOfService message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.RuntimeMetadata + * @memberof flyteidl.core.QualityOfService * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.RuntimeMetadata} RuntimeMetadata + * @returns {flyteidl.core.QualityOfService} QualityOfService * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RuntimeMetadata.decode = function decode(reader, length) { + QualityOfService.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.core.RuntimeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.QualityOfService(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.type = reader.int32(); + message.tier = reader.int32(); break; case 2: - message.version = reader.string(); - break; - case 3: - message.flavor = reader.string(); + message.spec = $root.flyteidl.core.QualityOfServiceSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -12395,79 +12595,84 @@ }; /** - * Verifies a RuntimeMetadata message. + * Verifies a QualityOfService message. * @function verify - * @memberof flyteidl.core.RuntimeMetadata + * @memberof flyteidl.core.QualityOfService * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RuntimeMetadata.verify = function verify(message) { + QualityOfService.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { + var properties = {}; + if (message.tier != null && message.hasOwnProperty("tier")) { + properties.designation = 1; + switch (message.tier) { default: - return "type: enum value expected"; + return "tier: enum value expected"; case 0: case 1: + case 2: + case 3: break; } - if (message.version != null && message.hasOwnProperty("version")) - if (!$util.isString(message.version)) - return "version: string expected"; - if (message.flavor != null && message.hasOwnProperty("flavor")) - if (!$util.isString(message.flavor)) - return "flavor: string expected"; + } + if (message.spec != null && message.hasOwnProperty("spec")) { + if (properties.designation === 1) + return "designation: multiple values"; + properties.designation = 1; + { + var error = $root.flyteidl.core.QualityOfServiceSpec.verify(message.spec); + if (error) + return "spec." + error; + } + } return null; }; /** - * RuntimeType enum. - * @name flyteidl.core.RuntimeMetadata.RuntimeType + * Tier enum. + * @name flyteidl.core.QualityOfService.Tier * @enum {string} - * @property {number} OTHER=0 OTHER value - * @property {number} FLYTE_SDK=1 FLYTE_SDK value + * @property {number} UNDEFINED=0 UNDEFINED value + * @property {number} HIGH=1 HIGH value + * @property {number} MEDIUM=2 MEDIUM value + * @property {number} LOW=3 LOW value */ - RuntimeMetadata.RuntimeType = (function() { + QualityOfService.Tier = (function() { var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "OTHER"] = 0; - values[valuesById[1] = "FLYTE_SDK"] = 1; + values[valuesById[0] = "UNDEFINED"] = 0; + values[valuesById[1] = "HIGH"] = 1; + values[valuesById[2] = "MEDIUM"] = 2; + values[valuesById[3] = "LOW"] = 3; return values; })(); - return RuntimeMetadata; + return QualityOfService; })(); - core.TaskMetadata = (function() { + core.Variable = (function() { /** - * Properties of a TaskMetadata. + * Properties of a Variable. * @memberof flyteidl.core - * @interface ITaskMetadata - * @property {boolean|null} [discoverable] TaskMetadata discoverable - * @property {flyteidl.core.IRuntimeMetadata|null} [runtime] TaskMetadata runtime - * @property {google.protobuf.IDuration|null} [timeout] TaskMetadata timeout - * @property {flyteidl.core.IRetryStrategy|null} [retries] TaskMetadata retries - * @property {string|null} [discoveryVersion] TaskMetadata discoveryVersion - * @property {string|null} [deprecatedErrorMessage] TaskMetadata deprecatedErrorMessage - * @property {boolean|null} [interruptible] TaskMetadata interruptible - * @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable - * @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck - * @property {Object.|null} [tags] TaskMetadata tags - * @property {string|null} [podTemplateName] TaskMetadata podTemplateName + * @interface IVariable + * @property {flyteidl.core.ILiteralType|null} [type] Variable type + * @property {string|null} [description] Variable description + * @property {flyteidl.core.IArtifactID|null} [artifactPartialId] Variable artifactPartialId + * @property {flyteidl.core.IArtifactTag|null} [artifactTag] Variable artifactTag */ /** - * Constructs a new TaskMetadata. + * Constructs a new Variable. * @memberof flyteidl.core - * @classdesc Represents a TaskMetadata. - * @implements ITaskMetadata + * @classdesc Represents a Variable. + * @implements IVariable * @constructor - * @param {flyteidl.core.ITaskMetadata=} [properties] Properties to set + * @param {flyteidl.core.IVariable=} [properties] Properties to set */ - function TaskMetadata(properties) { - this.tags = {}; + function Variable(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -12475,212 +12680,101 @@ } /** - * TaskMetadata discoverable. - * @member {boolean} discoverable - * @memberof flyteidl.core.TaskMetadata + * Variable type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.core.Variable * @instance */ - TaskMetadata.prototype.discoverable = false; + Variable.prototype.type = null; /** - * TaskMetadata runtime. - * @member {flyteidl.core.IRuntimeMetadata|null|undefined} runtime - * @memberof flyteidl.core.TaskMetadata + * Variable description. + * @member {string} description + * @memberof flyteidl.core.Variable * @instance */ - TaskMetadata.prototype.runtime = null; + Variable.prototype.description = ""; /** - * TaskMetadata timeout. - * @member {google.protobuf.IDuration|null|undefined} timeout - * @memberof flyteidl.core.TaskMetadata + * Variable artifactPartialId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactPartialId + * @memberof flyteidl.core.Variable * @instance */ - TaskMetadata.prototype.timeout = null; + Variable.prototype.artifactPartialId = null; /** - * TaskMetadata retries. - * @member {flyteidl.core.IRetryStrategy|null|undefined} retries - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.retries = null; - - /** - * TaskMetadata discoveryVersion. - * @member {string} discoveryVersion - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.discoveryVersion = ""; - - /** - * TaskMetadata deprecatedErrorMessage. - * @member {string} deprecatedErrorMessage - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.deprecatedErrorMessage = ""; - - /** - * TaskMetadata interruptible. - * @member {boolean} interruptible - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.interruptible = false; - - /** - * TaskMetadata cacheSerializable. - * @member {boolean} cacheSerializable - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.cacheSerializable = false; - - /** - * TaskMetadata generatesDeck. - * @member {boolean} generatesDeck - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.generatesDeck = false; - - /** - * TaskMetadata tags. - * @member {Object.} tags - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.tags = $util.emptyObject; - - /** - * TaskMetadata podTemplateName. - * @member {string} podTemplateName - * @memberof flyteidl.core.TaskMetadata - * @instance - */ - TaskMetadata.prototype.podTemplateName = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * TaskMetadata interruptibleValue. - * @member {"interruptible"|undefined} interruptibleValue - * @memberof flyteidl.core.TaskMetadata + * Variable artifactTag. + * @member {flyteidl.core.IArtifactTag|null|undefined} artifactTag + * @memberof flyteidl.core.Variable * @instance */ - Object.defineProperty(TaskMetadata.prototype, "interruptibleValue", { - get: $util.oneOfGetter($oneOfFields = ["interruptible"]), - set: $util.oneOfSetter($oneOfFields) - }); + Variable.prototype.artifactTag = null; /** - * Creates a new TaskMetadata instance using the specified properties. + * Creates a new Variable instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskMetadata + * @memberof flyteidl.core.Variable * @static - * @param {flyteidl.core.ITaskMetadata=} [properties] Properties to set - * @returns {flyteidl.core.TaskMetadata} TaskMetadata instance + * @param {flyteidl.core.IVariable=} [properties] Properties to set + * @returns {flyteidl.core.Variable} Variable instance */ - TaskMetadata.create = function create(properties) { - return new TaskMetadata(properties); + Variable.create = function create(properties) { + return new Variable(properties); }; /** - * Encodes the specified TaskMetadata message. Does not implicitly {@link flyteidl.core.TaskMetadata.verify|verify} messages. + * Encodes the specified Variable message. Does not implicitly {@link flyteidl.core.Variable.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskMetadata + * @memberof flyteidl.core.Variable * @static - * @param {flyteidl.core.ITaskMetadata} message TaskMetadata message or plain object to encode + * @param {flyteidl.core.IVariable} message Variable message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskMetadata.encode = function encode(message, writer) { + Variable.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.discoverable != null && message.hasOwnProperty("discoverable")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.discoverable); - if (message.runtime != null && message.hasOwnProperty("runtime")) - $root.flyteidl.core.RuntimeMetadata.encode(message.runtime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.timeout != null && message.hasOwnProperty("timeout")) - $root.google.protobuf.Duration.encode(message.timeout, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.retries != null && message.hasOwnProperty("retries")) - $root.flyteidl.core.RetryStrategy.encode(message.retries, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.discoveryVersion != null && message.hasOwnProperty("discoveryVersion")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.discoveryVersion); - if (message.deprecatedErrorMessage != null && message.hasOwnProperty("deprecatedErrorMessage")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.deprecatedErrorMessage); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - writer.uint32(/* id 8, wireType 0 =*/64).bool(message.interruptible); - if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable")) - writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable); - if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.generatesDeck); - if (message.tags != null && message.hasOwnProperty("tags")) - for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) - writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim(); - if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName")) - writer.uint32(/* id 12, wireType 2 =*/98).string(message.podTemplateName); + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.description != null && message.hasOwnProperty("description")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.description); + if (message.artifactPartialId != null && message.hasOwnProperty("artifactPartialId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactPartialId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) + $root.flyteidl.core.ArtifactTag.encode(message.artifactTag, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a TaskMetadata message from the specified reader or buffer. + * Decodes a Variable message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskMetadata + * @memberof flyteidl.core.Variable * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskMetadata} TaskMetadata + * @returns {flyteidl.core.Variable} Variable * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskMetadata.decode = function decode(reader, length) { + Variable.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.core.TaskMetadata(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Variable(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.discoverable = reader.bool(); + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; case 2: - message.runtime = $root.flyteidl.core.RuntimeMetadata.decode(reader, reader.uint32()); - break; - case 4: - message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 5: - message.retries = $root.flyteidl.core.RetryStrategy.decode(reader, reader.uint32()); - break; - case 6: - message.discoveryVersion = reader.string(); - break; - case 7: - message.deprecatedErrorMessage = reader.string(); - break; - case 8: - message.interruptible = reader.bool(); - break; - case 9: - message.cacheSerializable = reader.bool(); - break; - case 10: - message.generatesDeck = reader.bool(); + message.description = reader.string(); break; - case 11: - reader.skip().pos++; - if (message.tags === $util.emptyObject) - message.tags = {}; - key = reader.string(); - reader.pos++; - message.tags[key] = reader.string(); + case 3: + message.artifactPartialId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); break; - case 12: - message.podTemplateName = reader.string(); + case 4: + message.artifactTag = $root.flyteidl.core.ArtifactTag.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -12691,98 +12785,59 @@ }; /** - * Verifies a TaskMetadata message. + * Verifies a Variable message. * @function verify - * @memberof flyteidl.core.TaskMetadata + * @memberof flyteidl.core.Variable * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskMetadata.verify = function verify(message) { + Variable.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.discoverable != null && message.hasOwnProperty("discoverable")) - if (typeof message.discoverable !== "boolean") - return "discoverable: boolean expected"; - if (message.runtime != null && message.hasOwnProperty("runtime")) { - var error = $root.flyteidl.core.RuntimeMetadata.verify(message.runtime); + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); if (error) - return "runtime." + error; + return "type." + error; } - if (message.timeout != null && message.hasOwnProperty("timeout")) { - var error = $root.google.protobuf.Duration.verify(message.timeout); + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; + if (message.artifactPartialId != null && message.hasOwnProperty("artifactPartialId")) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactPartialId); if (error) - return "timeout." + error; + return "artifactPartialId." + error; } - if (message.retries != null && message.hasOwnProperty("retries")) { - var error = $root.flyteidl.core.RetryStrategy.verify(message.retries); + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { + var error = $root.flyteidl.core.ArtifactTag.verify(message.artifactTag); if (error) - return "retries." + error; - } - if (message.discoveryVersion != null && message.hasOwnProperty("discoveryVersion")) - if (!$util.isString(message.discoveryVersion)) - return "discoveryVersion: string expected"; - if (message.deprecatedErrorMessage != null && message.hasOwnProperty("deprecatedErrorMessage")) - if (!$util.isString(message.deprecatedErrorMessage)) - return "deprecatedErrorMessage: string expected"; - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - properties.interruptibleValue = 1; - if (typeof message.interruptible !== "boolean") - return "interruptible: boolean expected"; - } - if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable")) - if (typeof message.cacheSerializable !== "boolean") - return "cacheSerializable: boolean expected"; - if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck")) - if (typeof message.generatesDeck !== "boolean") - return "generatesDeck: boolean expected"; - if (message.tags != null && message.hasOwnProperty("tags")) { - if (!$util.isObject(message.tags)) - return "tags: object expected"; - var key = Object.keys(message.tags); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.tags[key[i]])) - return "tags: string{k:string} expected"; + return "artifactTag." + error; } - if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName")) - if (!$util.isString(message.podTemplateName)) - return "podTemplateName: string expected"; return null; }; - return TaskMetadata; + return Variable; })(); - core.TaskTemplate = (function() { + core.VariableMap = (function() { /** - * Properties of a TaskTemplate. + * Properties of a VariableMap. * @memberof flyteidl.core - * @interface ITaskTemplate - * @property {flyteidl.core.IIdentifier|null} [id] TaskTemplate id - * @property {string|null} [type] TaskTemplate type - * @property {flyteidl.core.ITaskMetadata|null} [metadata] TaskTemplate metadata - * @property {flyteidl.core.ITypedInterface|null} ["interface"] TaskTemplate interface - * @property {google.protobuf.IStruct|null} [custom] TaskTemplate custom - * @property {flyteidl.core.IContainer|null} [container] TaskTemplate container - * @property {flyteidl.core.IK8sPod|null} [k8sPod] TaskTemplate k8sPod - * @property {flyteidl.core.ISql|null} [sql] TaskTemplate sql - * @property {number|null} [taskTypeVersion] TaskTemplate taskTypeVersion - * @property {flyteidl.core.ISecurityContext|null} [securityContext] TaskTemplate securityContext - * @property {Object.|null} [config] TaskTemplate config + * @interface IVariableMap + * @property {Object.|null} [variables] VariableMap variables */ /** - * Constructs a new TaskTemplate. + * Constructs a new VariableMap. * @memberof flyteidl.core - * @classdesc Represents a TaskTemplate. - * @implements ITaskTemplate + * @classdesc Represents a VariableMap. + * @implements IVariableMap * @constructor - * @param {flyteidl.core.ITaskTemplate=} [properties] Properties to set + * @param {flyteidl.core.IVariableMap=} [properties] Properties to set */ - function TaskTemplate(properties) { - this.config = {}; + function VariableMap(properties) { + this.variables = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -12790,215 +12845,204 @@ } /** - * TaskTemplate id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.core.TaskTemplate - * @instance - */ - TaskTemplate.prototype.id = null; - - /** - * TaskTemplate type. - * @member {string} type - * @memberof flyteidl.core.TaskTemplate + * VariableMap variables. + * @member {Object.} variables + * @memberof flyteidl.core.VariableMap * @instance */ - TaskTemplate.prototype.type = ""; + VariableMap.prototype.variables = $util.emptyObject; /** - * TaskTemplate metadata. - * @member {flyteidl.core.ITaskMetadata|null|undefined} metadata - * @memberof flyteidl.core.TaskTemplate - * @instance + * Creates a new VariableMap instance using the specified properties. + * @function create + * @memberof flyteidl.core.VariableMap + * @static + * @param {flyteidl.core.IVariableMap=} [properties] Properties to set + * @returns {flyteidl.core.VariableMap} VariableMap instance */ - TaskTemplate.prototype.metadata = null; + VariableMap.create = function create(properties) { + return new VariableMap(properties); + }; /** - * TaskTemplate interface. - * @member {flyteidl.core.ITypedInterface|null|undefined} interface - * @memberof flyteidl.core.TaskTemplate - * @instance + * Encodes the specified VariableMap message. Does not implicitly {@link flyteidl.core.VariableMap.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.VariableMap + * @static + * @param {flyteidl.core.IVariableMap} message VariableMap message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - TaskTemplate.prototype["interface"] = null; + VariableMap.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.variables != null && message.hasOwnProperty("variables")) + for (var keys = Object.keys(message.variables), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.Variable.encode(message.variables[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; /** - * TaskTemplate custom. - * @member {google.protobuf.IStruct|null|undefined} custom - * @memberof flyteidl.core.TaskTemplate - * @instance + * Decodes a VariableMap message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.VariableMap + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.VariableMap} VariableMap + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskTemplate.prototype.custom = null; + VariableMap.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.core.VariableMap(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + reader.skip().pos++; + if (message.variables === $util.emptyObject) + message.variables = {}; + key = reader.string(); + reader.pos++; + message.variables[key] = $root.flyteidl.core.Variable.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * TaskTemplate container. - * @member {flyteidl.core.IContainer|null|undefined} container - * @memberof flyteidl.core.TaskTemplate - * @instance + * Verifies a VariableMap message. + * @function verify + * @memberof flyteidl.core.VariableMap + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskTemplate.prototype.container = null; + VariableMap.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.variables != null && message.hasOwnProperty("variables")) { + if (!$util.isObject(message.variables)) + return "variables: object expected"; + var key = Object.keys(message.variables); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.Variable.verify(message.variables[key[i]]); + if (error) + return "variables." + error; + } + } + return null; + }; - /** - * TaskTemplate k8sPod. - * @member {flyteidl.core.IK8sPod|null|undefined} k8sPod - * @memberof flyteidl.core.TaskTemplate - * @instance - */ - TaskTemplate.prototype.k8sPod = null; + return VariableMap; + })(); - /** - * TaskTemplate sql. - * @member {flyteidl.core.ISql|null|undefined} sql - * @memberof flyteidl.core.TaskTemplate - * @instance - */ - TaskTemplate.prototype.sql = null; + core.TypedInterface = (function() { /** - * TaskTemplate taskTypeVersion. - * @member {number} taskTypeVersion - * @memberof flyteidl.core.TaskTemplate - * @instance + * Properties of a TypedInterface. + * @memberof flyteidl.core + * @interface ITypedInterface + * @property {flyteidl.core.IVariableMap|null} [inputs] TypedInterface inputs + * @property {flyteidl.core.IVariableMap|null} [outputs] TypedInterface outputs */ - TaskTemplate.prototype.taskTypeVersion = 0; /** - * TaskTemplate securityContext. - * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext - * @memberof flyteidl.core.TaskTemplate - * @instance + * Constructs a new TypedInterface. + * @memberof flyteidl.core + * @classdesc Represents a TypedInterface. + * @implements ITypedInterface + * @constructor + * @param {flyteidl.core.ITypedInterface=} [properties] Properties to set */ - TaskTemplate.prototype.securityContext = null; + function TypedInterface(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]]; + } /** - * TaskTemplate config. - * @member {Object.} config - * @memberof flyteidl.core.TaskTemplate + * TypedInterface inputs. + * @member {flyteidl.core.IVariableMap|null|undefined} inputs + * @memberof flyteidl.core.TypedInterface * @instance */ - TaskTemplate.prototype.config = $util.emptyObject; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + TypedInterface.prototype.inputs = null; /** - * TaskTemplate target. - * @member {"container"|"k8sPod"|"sql"|undefined} target - * @memberof flyteidl.core.TaskTemplate + * TypedInterface outputs. + * @member {flyteidl.core.IVariableMap|null|undefined} outputs + * @memberof flyteidl.core.TypedInterface * @instance */ - Object.defineProperty(TaskTemplate.prototype, "target", { - get: $util.oneOfGetter($oneOfFields = ["container", "k8sPod", "sql"]), - set: $util.oneOfSetter($oneOfFields) - }); + TypedInterface.prototype.outputs = null; /** - * Creates a new TaskTemplate instance using the specified properties. + * Creates a new TypedInterface instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskTemplate + * @memberof flyteidl.core.TypedInterface * @static - * @param {flyteidl.core.ITaskTemplate=} [properties] Properties to set - * @returns {flyteidl.core.TaskTemplate} TaskTemplate instance + * @param {flyteidl.core.ITypedInterface=} [properties] Properties to set + * @returns {flyteidl.core.TypedInterface} TypedInterface instance */ - TaskTemplate.create = function create(properties) { - return new TaskTemplate(properties); + TypedInterface.create = function create(properties) { + return new TypedInterface(properties); }; /** - * Encodes the specified TaskTemplate message. Does not implicitly {@link flyteidl.core.TaskTemplate.verify|verify} messages. + * Encodes the specified TypedInterface message. Does not implicitly {@link flyteidl.core.TypedInterface.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskTemplate + * @memberof flyteidl.core.TypedInterface * @static - * @param {flyteidl.core.ITaskTemplate} message TaskTemplate message or plain object to encode + * @param {flyteidl.core.ITypedInterface} message TypedInterface message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskTemplate.encode = function encode(message, writer) { + TypedInterface.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.type != null && message.hasOwnProperty("type")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.type); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.TaskMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message["interface"] != null && message.hasOwnProperty("interface")) - $root.flyteidl.core.TypedInterface.encode(message["interface"], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.custom != null && message.hasOwnProperty("custom")) - $root.google.protobuf.Struct.encode(message.custom, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.container != null && message.hasOwnProperty("container")) - $root.flyteidl.core.Container.encode(message.container, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.taskTypeVersion != null && message.hasOwnProperty("taskTypeVersion")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.taskTypeVersion); - if (message.securityContext != null && message.hasOwnProperty("securityContext")) - $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.config != null && message.hasOwnProperty("config")) - for (var keys = Object.keys(message.config), i = 0; i < keys.length; ++i) - writer.uint32(/* id 16, wireType 2 =*/130).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.config[keys[i]]).ldelim(); - if (message.k8sPod != null && message.hasOwnProperty("k8sPod")) - $root.flyteidl.core.K8sPod.encode(message.k8sPod, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.sql != null && message.hasOwnProperty("sql")) - $root.flyteidl.core.Sql.encode(message.sql, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.core.VariableMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.core.VariableMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskTemplate message from the specified reader or buffer. + * Decodes a TypedInterface message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskTemplate + * @memberof flyteidl.core.TypedInterface * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskTemplate} TaskTemplate + * @returns {flyteidl.core.TypedInterface} TypedInterface * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskTemplate.decode = function decode(reader, length) { + TypedInterface.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.core.TaskTemplate(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TypedInterface(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.inputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); break; case 2: - message.type = reader.string(); - break; - case 3: - message.metadata = $root.flyteidl.core.TaskMetadata.decode(reader, reader.uint32()); - break; - case 4: - message["interface"] = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); - break; - case 5: - message.custom = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 6: - message.container = $root.flyteidl.core.Container.decode(reader, reader.uint32()); + message.outputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); break; - case 17: - message.k8sPod = $root.flyteidl.core.K8sPod.decode(reader, reader.uint32()); - break; - case 18: - message.sql = $root.flyteidl.core.Sql.decode(reader, reader.uint32()); - break; - case 7: - message.taskTypeVersion = reader.int32(); - break; - case 8: - message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); - break; - case 16: - reader.skip().pos++; - if (message.config === $util.emptyObject) - message.config = {}; - key = reader.string(); - reader.pos++; - message.config[key] = reader.string(); - break; - default: - reader.skipType(tag & 7); + default: + reader.skipType(tag & 7); break; } } @@ -13006,108 +13050,54 @@ }; /** - * Verifies a TaskTemplate message. + * Verifies a TypedInterface message. * @function verify - * @memberof flyteidl.core.TaskTemplate + * @memberof flyteidl.core.TypedInterface * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskTemplate.verify = function verify(message) { + TypedInterface.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.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.type != null && message.hasOwnProperty("type")) - if (!$util.isString(message.type)) - return "type: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.TaskMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message["interface"] != null && message.hasOwnProperty("interface")) { - var error = $root.flyteidl.core.TypedInterface.verify(message["interface"]); - if (error) - return "interface." + error; - } - if (message.custom != null && message.hasOwnProperty("custom")) { - var error = $root.google.protobuf.Struct.verify(message.custom); + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.core.VariableMap.verify(message.inputs); if (error) - return "custom." + error; - } - if (message.container != null && message.hasOwnProperty("container")) { - properties.target = 1; - { - var error = $root.flyteidl.core.Container.verify(message.container); - if (error) - return "container." + error; - } - } - if (message.k8sPod != null && message.hasOwnProperty("k8sPod")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.K8sPod.verify(message.k8sPod); - if (error) - return "k8sPod." + error; - } - } - if (message.sql != null && message.hasOwnProperty("sql")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.Sql.verify(message.sql); - if (error) - return "sql." + error; - } + return "inputs." + error; } - if (message.taskTypeVersion != null && message.hasOwnProperty("taskTypeVersion")) - if (!$util.isInteger(message.taskTypeVersion)) - return "taskTypeVersion: integer expected"; - if (message.securityContext != null && message.hasOwnProperty("securityContext")) { - var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); + if (message.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.core.VariableMap.verify(message.outputs); if (error) - return "securityContext." + error; - } - if (message.config != null && message.hasOwnProperty("config")) { - if (!$util.isObject(message.config)) - return "config: object expected"; - var key = Object.keys(message.config); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.config[key[i]])) - return "config: string{k:string} expected"; + return "outputs." + error; } return null; }; - return TaskTemplate; + return TypedInterface; })(); - core.ContainerPort = (function() { + core.Parameter = (function() { /** - * Properties of a ContainerPort. + * Properties of a Parameter. * @memberof flyteidl.core - * @interface IContainerPort - * @property {number|null} [containerPort] ContainerPort containerPort + * @interface IParameter + * @property {flyteidl.core.IVariable|null} ["var"] Parameter var + * @property {flyteidl.core.ILiteral|null} ["default"] Parameter default + * @property {boolean|null} [required] Parameter required + * @property {flyteidl.core.IArtifactQuery|null} [artifactQuery] Parameter artifactQuery + * @property {flyteidl.core.IArtifactID|null} [artifactId] Parameter artifactId */ /** - * Constructs a new ContainerPort. + * Constructs a new Parameter. * @memberof flyteidl.core - * @classdesc Represents a ContainerPort. - * @implements IContainerPort + * @classdesc Represents a Parameter. + * @implements IParameter * @constructor - * @param {flyteidl.core.IContainerPort=} [properties] Properties to set + * @param {flyteidl.core.IParameter=} [properties] Properties to set */ - function ContainerPort(properties) { + function Parameter(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -13115,62 +13105,128 @@ } /** - * ContainerPort containerPort. - * @member {number} containerPort - * @memberof flyteidl.core.ContainerPort + * Parameter var. + * @member {flyteidl.core.IVariable|null|undefined} var + * @memberof flyteidl.core.Parameter * @instance */ - ContainerPort.prototype.containerPort = 0; + Parameter.prototype["var"] = null; /** - * Creates a new ContainerPort instance using the specified properties. + * Parameter default. + * @member {flyteidl.core.ILiteral|null|undefined} default + * @memberof flyteidl.core.Parameter + * @instance + */ + Parameter.prototype["default"] = null; + + /** + * Parameter required. + * @member {boolean} required + * @memberof flyteidl.core.Parameter + * @instance + */ + Parameter.prototype.required = false; + + /** + * Parameter artifactQuery. + * @member {flyteidl.core.IArtifactQuery|null|undefined} artifactQuery + * @memberof flyteidl.core.Parameter + * @instance + */ + Parameter.prototype.artifactQuery = null; + + /** + * Parameter artifactId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactId + * @memberof flyteidl.core.Parameter + * @instance + */ + Parameter.prototype.artifactId = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Parameter behavior. + * @member {"default"|"required"|"artifactQuery"|"artifactId"|undefined} behavior + * @memberof flyteidl.core.Parameter + * @instance + */ + Object.defineProperty(Parameter.prototype, "behavior", { + get: $util.oneOfGetter($oneOfFields = ["default", "required", "artifactQuery", "artifactId"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Parameter instance using the specified properties. * @function create - * @memberof flyteidl.core.ContainerPort + * @memberof flyteidl.core.Parameter * @static - * @param {flyteidl.core.IContainerPort=} [properties] Properties to set - * @returns {flyteidl.core.ContainerPort} ContainerPort instance + * @param {flyteidl.core.IParameter=} [properties] Properties to set + * @returns {flyteidl.core.Parameter} Parameter instance */ - ContainerPort.create = function create(properties) { - return new ContainerPort(properties); + Parameter.create = function create(properties) { + return new Parameter(properties); }; /** - * Encodes the specified ContainerPort message. Does not implicitly {@link flyteidl.core.ContainerPort.verify|verify} messages. + * Encodes the specified Parameter message. Does not implicitly {@link flyteidl.core.Parameter.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ContainerPort + * @memberof flyteidl.core.Parameter * @static - * @param {flyteidl.core.IContainerPort} message ContainerPort message or plain object to encode + * @param {flyteidl.core.IParameter} message Parameter message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ContainerPort.encode = function encode(message, writer) { + Parameter.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.containerPort != null && message.hasOwnProperty("containerPort")) - writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.containerPort); + if (message["var"] != null && message.hasOwnProperty("var")) + $root.flyteidl.core.Variable.encode(message["var"], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message["default"] != null && message.hasOwnProperty("default")) + $root.flyteidl.core.Literal.encode(message["default"], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.required != null && message.hasOwnProperty("required")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.required); + if (message.artifactQuery != null && message.hasOwnProperty("artifactQuery")) + $root.flyteidl.core.ArtifactQuery.encode(message.artifactQuery, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a ContainerPort message from the specified reader or buffer. + * Decodes a Parameter message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ContainerPort + * @memberof flyteidl.core.Parameter * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ContainerPort} ContainerPort + * @returns {flyteidl.core.Parameter} Parameter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ContainerPort.decode = function decode(reader, length) { + Parameter.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.core.ContainerPort(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Parameter(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.containerPort = reader.uint32(); + message["var"] = $root.flyteidl.core.Variable.decode(reader, reader.uint32()); + break; + case 2: + message["default"] = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + break; + case 3: + message.required = reader.bool(); + break; + case 4: + message.artifactQuery = $root.flyteidl.core.ArtifactQuery.decode(reader, reader.uint32()); + break; + case 5: + message.artifactId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -13181,56 +13237,82 @@ }; /** - * Verifies a ContainerPort message. + * Verifies a Parameter message. * @function verify - * @memberof flyteidl.core.ContainerPort + * @memberof flyteidl.core.Parameter * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ContainerPort.verify = function verify(message) { + Parameter.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.containerPort != null && message.hasOwnProperty("containerPort")) - if (!$util.isInteger(message.containerPort)) - return "containerPort: integer expected"; + var properties = {}; + if (message["var"] != null && message.hasOwnProperty("var")) { + var error = $root.flyteidl.core.Variable.verify(message["var"]); + if (error) + return "var." + error; + } + if (message["default"] != null && message.hasOwnProperty("default")) { + properties.behavior = 1; + { + var error = $root.flyteidl.core.Literal.verify(message["default"]); + if (error) + return "default." + error; + } + } + if (message.required != null && message.hasOwnProperty("required")) { + if (properties.behavior === 1) + return "behavior: multiple values"; + properties.behavior = 1; + if (typeof message.required !== "boolean") + return "required: boolean expected"; + } + if (message.artifactQuery != null && message.hasOwnProperty("artifactQuery")) { + if (properties.behavior === 1) + return "behavior: multiple values"; + properties.behavior = 1; + { + var error = $root.flyteidl.core.ArtifactQuery.verify(message.artifactQuery); + if (error) + return "artifactQuery." + error; + } + } + if (message.artifactId != null && message.hasOwnProperty("artifactId")) { + if (properties.behavior === 1) + return "behavior: multiple values"; + properties.behavior = 1; + { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactId); + if (error) + return "artifactId." + error; + } + } return null; }; - return ContainerPort; + return Parameter; })(); - core.Container = (function() { + core.ParameterMap = (function() { /** - * Properties of a Container. + * Properties of a ParameterMap. * @memberof flyteidl.core - * @interface IContainer - * @property {string|null} [image] Container image - * @property {Array.|null} [command] Container command - * @property {Array.|null} [args] Container args - * @property {flyteidl.core.IResources|null} [resources] Container resources - * @property {Array.|null} [env] Container env - * @property {Array.|null} [config] Container config - * @property {Array.|null} [ports] Container ports - * @property {flyteidl.core.IDataLoadingConfig|null} [dataConfig] Container dataConfig - * @property {flyteidl.core.Container.Architecture|null} [architecture] Container architecture + * @interface IParameterMap + * @property {Object.|null} [parameters] ParameterMap parameters */ /** - * Constructs a new Container. + * Constructs a new ParameterMap. * @memberof flyteidl.core - * @classdesc Represents a Container. - * @implements IContainer + * @classdesc Represents a ParameterMap. + * @implements IParameterMap * @constructor - * @param {flyteidl.core.IContainer=} [properties] Properties to set + * @param {flyteidl.core.IParameterMap=} [properties] Properties to set */ - function Container(properties) { - this.command = []; - this.args = []; - this.env = []; - this.config = []; - this.ports = []; + function ParameterMap(properties) { + this.parameters = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -13238,181 +13320,209 @@ } /** - * Container image. - * @member {string} image - * @memberof flyteidl.core.Container + * ParameterMap parameters. + * @member {Object.} parameters + * @memberof flyteidl.core.ParameterMap * @instance */ - Container.prototype.image = ""; + ParameterMap.prototype.parameters = $util.emptyObject; /** - * Container command. - * @member {Array.} command - * @memberof flyteidl.core.Container - * @instance + * Creates a new ParameterMap instance using the specified properties. + * @function create + * @memberof flyteidl.core.ParameterMap + * @static + * @param {flyteidl.core.IParameterMap=} [properties] Properties to set + * @returns {flyteidl.core.ParameterMap} ParameterMap instance */ - Container.prototype.command = $util.emptyArray; + ParameterMap.create = function create(properties) { + return new ParameterMap(properties); + }; /** - * Container args. - * @member {Array.} args - * @memberof flyteidl.core.Container - * @instance + * Encodes the specified ParameterMap message. Does not implicitly {@link flyteidl.core.ParameterMap.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.ParameterMap + * @static + * @param {flyteidl.core.IParameterMap} message ParameterMap message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - Container.prototype.args = $util.emptyArray; + ParameterMap.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.parameters != null && message.hasOwnProperty("parameters")) + for (var keys = Object.keys(message.parameters), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.Parameter.encode(message.parameters[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; /** - * Container resources. - * @member {flyteidl.core.IResources|null|undefined} resources - * @memberof flyteidl.core.Container - * @instance + * Decodes a ParameterMap message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.ParameterMap + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.ParameterMap} ParameterMap + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Container.prototype.resources = null; + ParameterMap.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.core.ParameterMap(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + reader.skip().pos++; + if (message.parameters === $util.emptyObject) + message.parameters = {}; + key = reader.string(); + reader.pos++; + message.parameters[key] = $root.flyteidl.core.Parameter.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Container env. - * @member {Array.} env - * @memberof flyteidl.core.Container - * @instance + * Verifies a ParameterMap message. + * @function verify + * @memberof flyteidl.core.ParameterMap + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Container.prototype.env = $util.emptyArray; + ParameterMap.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.parameters != null && message.hasOwnProperty("parameters")) { + if (!$util.isObject(message.parameters)) + return "parameters: object expected"; + var key = Object.keys(message.parameters); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.Parameter.verify(message.parameters[key[i]]); + if (error) + return "parameters." + error; + } + } + return null; + }; + + return ParameterMap; + })(); + + core.Resources = (function() { /** - * Container config. - * @member {Array.} config - * @memberof flyteidl.core.Container - * @instance + * Properties of a Resources. + * @memberof flyteidl.core + * @interface IResources + * @property {Array.|null} [requests] Resources requests + * @property {Array.|null} [limits] Resources limits */ - Container.prototype.config = $util.emptyArray; /** - * Container ports. - * @member {Array.} ports - * @memberof flyteidl.core.Container - * @instance + * Constructs a new Resources. + * @memberof flyteidl.core + * @classdesc Represents a Resources. + * @implements IResources + * @constructor + * @param {flyteidl.core.IResources=} [properties] Properties to set */ - Container.prototype.ports = $util.emptyArray; + function Resources(properties) { + this.requests = []; + this.limits = []; + 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]]; + } /** - * Container dataConfig. - * @member {flyteidl.core.IDataLoadingConfig|null|undefined} dataConfig - * @memberof flyteidl.core.Container + * Resources requests. + * @member {Array.} requests + * @memberof flyteidl.core.Resources * @instance */ - Container.prototype.dataConfig = null; + Resources.prototype.requests = $util.emptyArray; /** - * Container architecture. - * @member {flyteidl.core.Container.Architecture} architecture - * @memberof flyteidl.core.Container + * Resources limits. + * @member {Array.} limits + * @memberof flyteidl.core.Resources * @instance */ - Container.prototype.architecture = 0; + Resources.prototype.limits = $util.emptyArray; /** - * Creates a new Container instance using the specified properties. + * Creates a new Resources instance using the specified properties. * @function create - * @memberof flyteidl.core.Container + * @memberof flyteidl.core.Resources * @static - * @param {flyteidl.core.IContainer=} [properties] Properties to set - * @returns {flyteidl.core.Container} Container instance + * @param {flyteidl.core.IResources=} [properties] Properties to set + * @returns {flyteidl.core.Resources} Resources instance */ - Container.create = function create(properties) { - return new Container(properties); + Resources.create = function create(properties) { + return new Resources(properties); }; /** - * Encodes the specified Container message. Does not implicitly {@link flyteidl.core.Container.verify|verify} messages. + * Encodes the specified Resources message. Does not implicitly {@link flyteidl.core.Resources.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Container + * @memberof flyteidl.core.Resources * @static - * @param {flyteidl.core.IContainer} message Container message or plain object to encode + * @param {flyteidl.core.IResources} message Resources message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Container.encode = function encode(message, writer) { + Resources.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.image != null && message.hasOwnProperty("image")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.image); - if (message.command != null && message.command.length) - for (var i = 0; i < message.command.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.command[i]); - if (message.args != null && message.args.length) - for (var i = 0; i < message.args.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.args[i]); - if (message.resources != null && message.hasOwnProperty("resources")) - $root.flyteidl.core.Resources.encode(message.resources, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.env != null && message.env.length) - for (var i = 0; i < message.env.length; ++i) - $root.flyteidl.core.KeyValuePair.encode(message.env[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.config != null && message.config.length) - for (var i = 0; i < message.config.length; ++i) - $root.flyteidl.core.KeyValuePair.encode(message.config[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.ports != null && message.ports.length) - for (var i = 0; i < message.ports.length; ++i) - $root.flyteidl.core.ContainerPort.encode(message.ports[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) - $root.flyteidl.core.DataLoadingConfig.encode(message.dataConfig, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.architecture != null && message.hasOwnProperty("architecture")) - writer.uint32(/* id 10, wireType 0 =*/80).int32(message.architecture); + if (message.requests != null && message.requests.length) + for (var i = 0; i < message.requests.length; ++i) + $root.flyteidl.core.Resources.ResourceEntry.encode(message.requests[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limits != null && message.limits.length) + for (var i = 0; i < message.limits.length; ++i) + $root.flyteidl.core.Resources.ResourceEntry.encode(message.limits[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Container message from the specified reader or buffer. + * Decodes a Resources message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Container + * @memberof flyteidl.core.Resources * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Container} Container + * @returns {flyteidl.core.Resources} Resources * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Container.decode = function decode(reader, length) { + Resources.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.core.Container(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Resources(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.image = reader.string(); + if (!(message.requests && message.requests.length)) + message.requests = []; + message.requests.push($root.flyteidl.core.Resources.ResourceEntry.decode(reader, reader.uint32())); break; case 2: - if (!(message.command && message.command.length)) - message.command = []; - message.command.push(reader.string()); - break; - case 3: - if (!(message.args && message.args.length)) - message.args = []; - message.args.push(reader.string()); - break; - case 4: - message.resources = $root.flyteidl.core.Resources.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.env && message.env.length)) - message.env = []; - message.env.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.config && message.config.length)) - message.config = []; - message.config.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); - break; - case 7: - if (!(message.ports && message.ports.length)) - message.ports = []; - message.ports.push($root.flyteidl.core.ContainerPort.decode(reader, reader.uint32())); - break; - case 9: - message.dataConfig = $root.flyteidl.core.DataLoadingConfig.decode(reader, reader.uint32()); - break; - case 10: - message.architecture = reader.int32(); + if (!(message.limits && message.limits.length)) + message.limits = []; + message.limits.push($root.flyteidl.core.Resources.ResourceEntry.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -13423,126 +13533,218 @@ }; /** - * Verifies a Container message. + * Verifies a Resources message. * @function verify - * @memberof flyteidl.core.Container + * @memberof flyteidl.core.Resources * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Container.verify = function verify(message) { + Resources.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.image != null && message.hasOwnProperty("image")) - if (!$util.isString(message.image)) - return "image: string expected"; - if (message.command != null && message.hasOwnProperty("command")) { - if (!Array.isArray(message.command)) - return "command: array expected"; - for (var i = 0; i < message.command.length; ++i) - if (!$util.isString(message.command[i])) - return "command: string[] expected"; - } - if (message.args != null && message.hasOwnProperty("args")) { - if (!Array.isArray(message.args)) - return "args: array expected"; - for (var i = 0; i < message.args.length; ++i) - if (!$util.isString(message.args[i])) - return "args: string[] expected"; - } - if (message.resources != null && message.hasOwnProperty("resources")) { - var error = $root.flyteidl.core.Resources.verify(message.resources); - if (error) - return "resources." + error; - } - if (message.env != null && message.hasOwnProperty("env")) { - if (!Array.isArray(message.env)) - return "env: array expected"; - for (var i = 0; i < message.env.length; ++i) { - var error = $root.flyteidl.core.KeyValuePair.verify(message.env[i]); - if (error) - return "env." + error; - } - } - if (message.config != null && message.hasOwnProperty("config")) { - if (!Array.isArray(message.config)) - return "config: array expected"; - for (var i = 0; i < message.config.length; ++i) { - var error = $root.flyteidl.core.KeyValuePair.verify(message.config[i]); + if (message.requests != null && message.hasOwnProperty("requests")) { + if (!Array.isArray(message.requests)) + return "requests: array expected"; + for (var i = 0; i < message.requests.length; ++i) { + var error = $root.flyteidl.core.Resources.ResourceEntry.verify(message.requests[i]); if (error) - return "config." + error; + return "requests." + error; } } - if (message.ports != null && message.hasOwnProperty("ports")) { - if (!Array.isArray(message.ports)) - return "ports: array expected"; - for (var i = 0; i < message.ports.length; ++i) { - var error = $root.flyteidl.core.ContainerPort.verify(message.ports[i]); + if (message.limits != null && message.hasOwnProperty("limits")) { + if (!Array.isArray(message.limits)) + return "limits: array expected"; + for (var i = 0; i < message.limits.length; ++i) { + var error = $root.flyteidl.core.Resources.ResourceEntry.verify(message.limits[i]); if (error) - return "ports." + error; + return "limits." + error; } } - if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) { - var error = $root.flyteidl.core.DataLoadingConfig.verify(message.dataConfig); - if (error) - return "dataConfig." + error; - } - if (message.architecture != null && message.hasOwnProperty("architecture")) - switch (message.architecture) { - default: - return "architecture: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; /** - * Architecture enum. - * @name flyteidl.core.Container.Architecture + * ResourceName enum. + * @name flyteidl.core.Resources.ResourceName * @enum {string} * @property {number} UNKNOWN=0 UNKNOWN value - * @property {number} AMD64=1 AMD64 value - * @property {number} ARM64=2 ARM64 value - * @property {number} ARM_V6=3 ARM_V6 value - * @property {number} ARM_V7=4 ARM_V7 value + * @property {number} CPU=1 CPU value + * @property {number} GPU=2 GPU value + * @property {number} MEMORY=3 MEMORY value + * @property {number} STORAGE=4 STORAGE value + * @property {number} EPHEMERAL_STORAGE=5 EPHEMERAL_STORAGE value */ - Container.Architecture = (function() { + Resources.ResourceName = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "UNKNOWN"] = 0; - values[valuesById[1] = "AMD64"] = 1; - values[valuesById[2] = "ARM64"] = 2; - values[valuesById[3] = "ARM_V6"] = 3; - values[valuesById[4] = "ARM_V7"] = 4; + values[valuesById[1] = "CPU"] = 1; + values[valuesById[2] = "GPU"] = 2; + values[valuesById[3] = "MEMORY"] = 3; + values[valuesById[4] = "STORAGE"] = 4; + values[valuesById[5] = "EPHEMERAL_STORAGE"] = 5; return values; })(); - return Container; + Resources.ResourceEntry = (function() { + + /** + * Properties of a ResourceEntry. + * @memberof flyteidl.core.Resources + * @interface IResourceEntry + * @property {flyteidl.core.Resources.ResourceName|null} [name] ResourceEntry name + * @property {string|null} [value] ResourceEntry value + */ + + /** + * Constructs a new ResourceEntry. + * @memberof flyteidl.core.Resources + * @classdesc Represents a ResourceEntry. + * @implements IResourceEntry + * @constructor + * @param {flyteidl.core.Resources.IResourceEntry=} [properties] Properties to set + */ + function ResourceEntry(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]]; + } + + /** + * ResourceEntry name. + * @member {flyteidl.core.Resources.ResourceName} name + * @memberof flyteidl.core.Resources.ResourceEntry + * @instance + */ + ResourceEntry.prototype.name = 0; + + /** + * ResourceEntry value. + * @member {string} value + * @memberof flyteidl.core.Resources.ResourceEntry + * @instance + */ + ResourceEntry.prototype.value = ""; + + /** + * Creates a new ResourceEntry instance using the specified properties. + * @function create + * @memberof flyteidl.core.Resources.ResourceEntry + * @static + * @param {flyteidl.core.Resources.IResourceEntry=} [properties] Properties to set + * @returns {flyteidl.core.Resources.ResourceEntry} ResourceEntry instance + */ + ResourceEntry.create = function create(properties) { + return new ResourceEntry(properties); + }; + + /** + * Encodes the specified ResourceEntry message. Does not implicitly {@link flyteidl.core.Resources.ResourceEntry.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.Resources.ResourceEntry + * @static + * @param {flyteidl.core.Resources.IResourceEntry} message ResourceEntry message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResourceEntry.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.name); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); + return writer; + }; + + /** + * Decodes a ResourceEntry message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.Resources.ResourceEntry + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.Resources.ResourceEntry} ResourceEntry + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResourceEntry.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.core.Resources.ResourceEntry(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.name = reader.int32(); + break; + case 2: + message.value = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a ResourceEntry message. + * @function verify + * @memberof flyteidl.core.Resources.ResourceEntry + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResourceEntry.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + switch (message.name) { + default: + return "name: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; + return null; + }; + + return ResourceEntry; + })(); + + return Resources; })(); - core.IOStrategy = (function() { + core.RuntimeMetadata = (function() { /** - * Properties of a IOStrategy. + * Properties of a RuntimeMetadata. * @memberof flyteidl.core - * @interface IIOStrategy - * @property {flyteidl.core.IOStrategy.DownloadMode|null} [downloadMode] IOStrategy downloadMode - * @property {flyteidl.core.IOStrategy.UploadMode|null} [uploadMode] IOStrategy uploadMode + * @interface IRuntimeMetadata + * @property {flyteidl.core.RuntimeMetadata.RuntimeType|null} [type] RuntimeMetadata type + * @property {string|null} [version] RuntimeMetadata version + * @property {string|null} [flavor] RuntimeMetadata flavor */ /** - * Constructs a new IOStrategy. + * Constructs a new RuntimeMetadata. * @memberof flyteidl.core - * @classdesc Represents a IOStrategy. - * @implements IIOStrategy + * @classdesc Represents a RuntimeMetadata. + * @implements IRuntimeMetadata * @constructor - * @param {flyteidl.core.IIOStrategy=} [properties] Properties to set + * @param {flyteidl.core.IRuntimeMetadata=} [properties] Properties to set */ - function IOStrategy(properties) { + function RuntimeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -13550,75 +13752,88 @@ } /** - * IOStrategy downloadMode. - * @member {flyteidl.core.IOStrategy.DownloadMode} downloadMode - * @memberof flyteidl.core.IOStrategy + * RuntimeMetadata type. + * @member {flyteidl.core.RuntimeMetadata.RuntimeType} type + * @memberof flyteidl.core.RuntimeMetadata * @instance */ - IOStrategy.prototype.downloadMode = 0; + RuntimeMetadata.prototype.type = 0; /** - * IOStrategy uploadMode. - * @member {flyteidl.core.IOStrategy.UploadMode} uploadMode - * @memberof flyteidl.core.IOStrategy + * RuntimeMetadata version. + * @member {string} version + * @memberof flyteidl.core.RuntimeMetadata * @instance */ - IOStrategy.prototype.uploadMode = 0; + RuntimeMetadata.prototype.version = ""; /** - * Creates a new IOStrategy instance using the specified properties. + * RuntimeMetadata flavor. + * @member {string} flavor + * @memberof flyteidl.core.RuntimeMetadata + * @instance + */ + RuntimeMetadata.prototype.flavor = ""; + + /** + * Creates a new RuntimeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.IOStrategy + * @memberof flyteidl.core.RuntimeMetadata * @static - * @param {flyteidl.core.IIOStrategy=} [properties] Properties to set - * @returns {flyteidl.core.IOStrategy} IOStrategy instance + * @param {flyteidl.core.IRuntimeMetadata=} [properties] Properties to set + * @returns {flyteidl.core.RuntimeMetadata} RuntimeMetadata instance */ - IOStrategy.create = function create(properties) { - return new IOStrategy(properties); + RuntimeMetadata.create = function create(properties) { + return new RuntimeMetadata(properties); }; /** - * Encodes the specified IOStrategy message. Does not implicitly {@link flyteidl.core.IOStrategy.verify|verify} messages. + * Encodes the specified RuntimeMetadata message. Does not implicitly {@link flyteidl.core.RuntimeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.IOStrategy + * @memberof flyteidl.core.RuntimeMetadata * @static - * @param {flyteidl.core.IIOStrategy} message IOStrategy message or plain object to encode + * @param {flyteidl.core.IRuntimeMetadata} message RuntimeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - IOStrategy.encode = function encode(message, writer) { + RuntimeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.downloadMode != null && message.hasOwnProperty("downloadMode")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.downloadMode); - if (message.uploadMode != null && message.hasOwnProperty("uploadMode")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.uploadMode); + if (message.type != null && message.hasOwnProperty("type")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type); + if (message.version != null && message.hasOwnProperty("version")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.version); + if (message.flavor != null && message.hasOwnProperty("flavor")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.flavor); return writer; }; /** - * Decodes a IOStrategy message from the specified reader or buffer. + * Decodes a RuntimeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.IOStrategy + * @memberof flyteidl.core.RuntimeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.IOStrategy} IOStrategy + * @returns {flyteidl.core.RuntimeMetadata} RuntimeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - IOStrategy.decode = function decode(reader, length) { + RuntimeMetadata.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.core.IOStrategy(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.RuntimeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.downloadMode = reader.int32(); + message.type = reader.int32(); break; case 2: - message.uploadMode = reader.int32(); + message.version = reader.string(); + break; + case 3: + message.flavor = reader.string(); break; default: reader.skipType(tag & 7); @@ -13629,94 +13844,79 @@ }; /** - * Verifies a IOStrategy message. + * Verifies a RuntimeMetadata message. * @function verify - * @memberof flyteidl.core.IOStrategy + * @memberof flyteidl.core.RuntimeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - IOStrategy.verify = function verify(message) { + RuntimeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.downloadMode != null && message.hasOwnProperty("downloadMode")) - switch (message.downloadMode) { - default: - return "downloadMode: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.uploadMode != null && message.hasOwnProperty("uploadMode")) - switch (message.uploadMode) { + if (message.type != null && message.hasOwnProperty("type")) + switch (message.type) { default: - return "uploadMode: enum value expected"; + return "type: enum value expected"; case 0: case 1: - case 2: break; } + if (message.version != null && message.hasOwnProperty("version")) + if (!$util.isString(message.version)) + return "version: string expected"; + if (message.flavor != null && message.hasOwnProperty("flavor")) + if (!$util.isString(message.flavor)) + return "flavor: string expected"; return null; }; /** - * DownloadMode enum. - * @name flyteidl.core.IOStrategy.DownloadMode - * @enum {string} - * @property {number} DOWNLOAD_EAGER=0 DOWNLOAD_EAGER value - * @property {number} DOWNLOAD_STREAM=1 DOWNLOAD_STREAM value - * @property {number} DO_NOT_DOWNLOAD=2 DO_NOT_DOWNLOAD value - */ - IOStrategy.DownloadMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DOWNLOAD_EAGER"] = 0; - values[valuesById[1] = "DOWNLOAD_STREAM"] = 1; - values[valuesById[2] = "DO_NOT_DOWNLOAD"] = 2; - return values; - })(); - - /** - * UploadMode enum. - * @name flyteidl.core.IOStrategy.UploadMode + * RuntimeType enum. + * @name flyteidl.core.RuntimeMetadata.RuntimeType * @enum {string} - * @property {number} UPLOAD_ON_EXIT=0 UPLOAD_ON_EXIT value - * @property {number} UPLOAD_EAGER=1 UPLOAD_EAGER value - * @property {number} DO_NOT_UPLOAD=2 DO_NOT_UPLOAD value + * @property {number} OTHER=0 OTHER value + * @property {number} FLYTE_SDK=1 FLYTE_SDK value */ - IOStrategy.UploadMode = (function() { + RuntimeMetadata.RuntimeType = (function() { var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UPLOAD_ON_EXIT"] = 0; - values[valuesById[1] = "UPLOAD_EAGER"] = 1; - values[valuesById[2] = "DO_NOT_UPLOAD"] = 2; + values[valuesById[0] = "OTHER"] = 0; + values[valuesById[1] = "FLYTE_SDK"] = 1; return values; })(); - return IOStrategy; + return RuntimeMetadata; })(); - core.DataLoadingConfig = (function() { + core.TaskMetadata = (function() { /** - * Properties of a DataLoadingConfig. + * Properties of a TaskMetadata. * @memberof flyteidl.core - * @interface IDataLoadingConfig - * @property {boolean|null} [enabled] DataLoadingConfig enabled - * @property {string|null} [inputPath] DataLoadingConfig inputPath - * @property {string|null} [outputPath] DataLoadingConfig outputPath - * @property {flyteidl.core.DataLoadingConfig.LiteralMapFormat|null} [format] DataLoadingConfig format - * @property {flyteidl.core.IIOStrategy|null} [ioStrategy] DataLoadingConfig ioStrategy + * @interface ITaskMetadata + * @property {boolean|null} [discoverable] TaskMetadata discoverable + * @property {flyteidl.core.IRuntimeMetadata|null} [runtime] TaskMetadata runtime + * @property {google.protobuf.IDuration|null} [timeout] TaskMetadata timeout + * @property {flyteidl.core.IRetryStrategy|null} [retries] TaskMetadata retries + * @property {string|null} [discoveryVersion] TaskMetadata discoveryVersion + * @property {string|null} [deprecatedErrorMessage] TaskMetadata deprecatedErrorMessage + * @property {boolean|null} [interruptible] TaskMetadata interruptible + * @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable + * @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck + * @property {Object.|null} [tags] TaskMetadata tags + * @property {string|null} [podTemplateName] TaskMetadata podTemplateName */ /** - * Constructs a new DataLoadingConfig. + * Constructs a new TaskMetadata. * @memberof flyteidl.core - * @classdesc Represents a DataLoadingConfig. - * @implements IDataLoadingConfig + * @classdesc Represents a TaskMetadata. + * @implements ITaskMetadata * @constructor - * @param {flyteidl.core.IDataLoadingConfig=} [properties] Properties to set + * @param {flyteidl.core.ITaskMetadata=} [properties] Properties to set */ - function DataLoadingConfig(properties) { + function TaskMetadata(properties) { + this.tags = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -13724,114 +13924,212 @@ } /** - * DataLoadingConfig enabled. - * @member {boolean} enabled - * @memberof flyteidl.core.DataLoadingConfig + * TaskMetadata discoverable. + * @member {boolean} discoverable + * @memberof flyteidl.core.TaskMetadata * @instance */ - DataLoadingConfig.prototype.enabled = false; + TaskMetadata.prototype.discoverable = false; /** - * DataLoadingConfig inputPath. - * @member {string} inputPath - * @memberof flyteidl.core.DataLoadingConfig + * TaskMetadata runtime. + * @member {flyteidl.core.IRuntimeMetadata|null|undefined} runtime + * @memberof flyteidl.core.TaskMetadata * @instance */ - DataLoadingConfig.prototype.inputPath = ""; + TaskMetadata.prototype.runtime = null; /** - * DataLoadingConfig outputPath. - * @member {string} outputPath - * @memberof flyteidl.core.DataLoadingConfig + * TaskMetadata timeout. + * @member {google.protobuf.IDuration|null|undefined} timeout + * @memberof flyteidl.core.TaskMetadata * @instance */ - DataLoadingConfig.prototype.outputPath = ""; + TaskMetadata.prototype.timeout = null; /** - * DataLoadingConfig format. - * @member {flyteidl.core.DataLoadingConfig.LiteralMapFormat} format - * @memberof flyteidl.core.DataLoadingConfig + * TaskMetadata retries. + * @member {flyteidl.core.IRetryStrategy|null|undefined} retries + * @memberof flyteidl.core.TaskMetadata * @instance */ - DataLoadingConfig.prototype.format = 0; + TaskMetadata.prototype.retries = null; /** - * DataLoadingConfig ioStrategy. - * @member {flyteidl.core.IIOStrategy|null|undefined} ioStrategy - * @memberof flyteidl.core.DataLoadingConfig + * TaskMetadata discoveryVersion. + * @member {string} discoveryVersion + * @memberof flyteidl.core.TaskMetadata * @instance */ - DataLoadingConfig.prototype.ioStrategy = null; + TaskMetadata.prototype.discoveryVersion = ""; /** - * Creates a new DataLoadingConfig instance using the specified properties. - * @function create - * @memberof flyteidl.core.DataLoadingConfig - * @static - * @param {flyteidl.core.IDataLoadingConfig=} [properties] Properties to set - * @returns {flyteidl.core.DataLoadingConfig} DataLoadingConfig instance + * TaskMetadata deprecatedErrorMessage. + * @member {string} deprecatedErrorMessage + * @memberof flyteidl.core.TaskMetadata + * @instance */ - DataLoadingConfig.create = function create(properties) { - return new DataLoadingConfig(properties); - }; + TaskMetadata.prototype.deprecatedErrorMessage = ""; /** - * Encodes the specified DataLoadingConfig message. Does not implicitly {@link flyteidl.core.DataLoadingConfig.verify|verify} messages. + * TaskMetadata interruptible. + * @member {boolean} interruptible + * @memberof flyteidl.core.TaskMetadata + * @instance + */ + TaskMetadata.prototype.interruptible = false; + + /** + * TaskMetadata cacheSerializable. + * @member {boolean} cacheSerializable + * @memberof flyteidl.core.TaskMetadata + * @instance + */ + TaskMetadata.prototype.cacheSerializable = false; + + /** + * TaskMetadata generatesDeck. + * @member {boolean} generatesDeck + * @memberof flyteidl.core.TaskMetadata + * @instance + */ + TaskMetadata.prototype.generatesDeck = false; + + /** + * TaskMetadata tags. + * @member {Object.} tags + * @memberof flyteidl.core.TaskMetadata + * @instance + */ + TaskMetadata.prototype.tags = $util.emptyObject; + + /** + * TaskMetadata podTemplateName. + * @member {string} podTemplateName + * @memberof flyteidl.core.TaskMetadata + * @instance + */ + TaskMetadata.prototype.podTemplateName = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * TaskMetadata interruptibleValue. + * @member {"interruptible"|undefined} interruptibleValue + * @memberof flyteidl.core.TaskMetadata + * @instance + */ + Object.defineProperty(TaskMetadata.prototype, "interruptibleValue", { + get: $util.oneOfGetter($oneOfFields = ["interruptible"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new TaskMetadata instance using the specified properties. + * @function create + * @memberof flyteidl.core.TaskMetadata + * @static + * @param {flyteidl.core.ITaskMetadata=} [properties] Properties to set + * @returns {flyteidl.core.TaskMetadata} TaskMetadata instance + */ + TaskMetadata.create = function create(properties) { + return new TaskMetadata(properties); + }; + + /** + * Encodes the specified TaskMetadata message. Does not implicitly {@link flyteidl.core.TaskMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.DataLoadingConfig + * @memberof flyteidl.core.TaskMetadata * @static - * @param {flyteidl.core.IDataLoadingConfig} message DataLoadingConfig message or plain object to encode + * @param {flyteidl.core.ITaskMetadata} message TaskMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DataLoadingConfig.encode = function encode(message, writer) { + TaskMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.enabled != null && message.hasOwnProperty("enabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enabled); - if (message.inputPath != null && message.hasOwnProperty("inputPath")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputPath); - if (message.outputPath != null && message.hasOwnProperty("outputPath")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPath); - if (message.format != null && message.hasOwnProperty("format")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.format); - if (message.ioStrategy != null && message.hasOwnProperty("ioStrategy")) - $root.flyteidl.core.IOStrategy.encode(message.ioStrategy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.discoverable != null && message.hasOwnProperty("discoverable")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.discoverable); + if (message.runtime != null && message.hasOwnProperty("runtime")) + $root.flyteidl.core.RuntimeMetadata.encode(message.runtime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.timeout != null && message.hasOwnProperty("timeout")) + $root.google.protobuf.Duration.encode(message.timeout, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.retries != null && message.hasOwnProperty("retries")) + $root.flyteidl.core.RetryStrategy.encode(message.retries, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.discoveryVersion != null && message.hasOwnProperty("discoveryVersion")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.discoveryVersion); + if (message.deprecatedErrorMessage != null && message.hasOwnProperty("deprecatedErrorMessage")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.deprecatedErrorMessage); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + writer.uint32(/* id 8, wireType 0 =*/64).bool(message.interruptible); + if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable")) + writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable); + if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck")) + writer.uint32(/* id 10, wireType 0 =*/80).bool(message.generatesDeck); + if (message.tags != null && message.hasOwnProperty("tags")) + for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) + writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim(); + if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName")) + writer.uint32(/* id 12, wireType 2 =*/98).string(message.podTemplateName); return writer; }; /** - * Decodes a DataLoadingConfig message from the specified reader or buffer. + * Decodes a TaskMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.DataLoadingConfig + * @memberof flyteidl.core.TaskMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.DataLoadingConfig} DataLoadingConfig + * @returns {flyteidl.core.TaskMetadata} TaskMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DataLoadingConfig.decode = function decode(reader, length) { + TaskMetadata.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.core.DataLoadingConfig(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskMetadata(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.enabled = reader.bool(); + message.discoverable = reader.bool(); break; case 2: - message.inputPath = reader.string(); - break; - case 3: - message.outputPath = reader.string(); + message.runtime = $root.flyteidl.core.RuntimeMetadata.decode(reader, reader.uint32()); break; case 4: - message.format = reader.int32(); + message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; case 5: - message.ioStrategy = $root.flyteidl.core.IOStrategy.decode(reader, reader.uint32()); + message.retries = $root.flyteidl.core.RetryStrategy.decode(reader, reader.uint32()); + break; + case 6: + message.discoveryVersion = reader.string(); + break; + case 7: + message.deprecatedErrorMessage = reader.string(); + break; + case 8: + message.interruptible = reader.bool(); + break; + case 9: + message.cacheSerializable = reader.bool(); + break; + case 10: + message.generatesDeck = reader.bool(); + break; + case 11: + reader.skip().pos++; + if (message.tags === $util.emptyObject) + message.tags = {}; + key = reader.string(); + reader.pos++; + message.tags[key] = reader.string(); + break; + case 12: + message.podTemplateName = reader.string(); break; default: reader.skipType(tag & 7); @@ -13842,81 +14140,98 @@ }; /** - * Verifies a DataLoadingConfig message. + * Verifies a TaskMetadata message. * @function verify - * @memberof flyteidl.core.DataLoadingConfig + * @memberof flyteidl.core.TaskMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DataLoadingConfig.verify = function verify(message) { + TaskMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.enabled != null && message.hasOwnProperty("enabled")) - if (typeof message.enabled !== "boolean") - return "enabled: boolean expected"; - if (message.inputPath != null && message.hasOwnProperty("inputPath")) - if (!$util.isString(message.inputPath)) - return "inputPath: string expected"; - if (message.outputPath != null && message.hasOwnProperty("outputPath")) - if (!$util.isString(message.outputPath)) - return "outputPath: string expected"; - if (message.format != null && message.hasOwnProperty("format")) - switch (message.format) { - default: - return "format: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.ioStrategy != null && message.hasOwnProperty("ioStrategy")) { - var error = $root.flyteidl.core.IOStrategy.verify(message.ioStrategy); + var properties = {}; + if (message.discoverable != null && message.hasOwnProperty("discoverable")) + if (typeof message.discoverable !== "boolean") + return "discoverable: boolean expected"; + if (message.runtime != null && message.hasOwnProperty("runtime")) { + var error = $root.flyteidl.core.RuntimeMetadata.verify(message.runtime); if (error) - return "ioStrategy." + error; + return "runtime." + error; + } + if (message.timeout != null && message.hasOwnProperty("timeout")) { + var error = $root.google.protobuf.Duration.verify(message.timeout); + if (error) + return "timeout." + error; + } + if (message.retries != null && message.hasOwnProperty("retries")) { + var error = $root.flyteidl.core.RetryStrategy.verify(message.retries); + if (error) + return "retries." + error; + } + if (message.discoveryVersion != null && message.hasOwnProperty("discoveryVersion")) + if (!$util.isString(message.discoveryVersion)) + return "discoveryVersion: string expected"; + if (message.deprecatedErrorMessage != null && message.hasOwnProperty("deprecatedErrorMessage")) + if (!$util.isString(message.deprecatedErrorMessage)) + return "deprecatedErrorMessage: string expected"; + if (message.interruptible != null && message.hasOwnProperty("interruptible")) { + properties.interruptibleValue = 1; + if (typeof message.interruptible !== "boolean") + return "interruptible: boolean expected"; + } + if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable")) + if (typeof message.cacheSerializable !== "boolean") + return "cacheSerializable: boolean expected"; + if (message.generatesDeck != null && message.hasOwnProperty("generatesDeck")) + if (typeof message.generatesDeck !== "boolean") + return "generatesDeck: boolean expected"; + if (message.tags != null && message.hasOwnProperty("tags")) { + if (!$util.isObject(message.tags)) + return "tags: object expected"; + var key = Object.keys(message.tags); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.tags[key[i]])) + return "tags: string{k:string} expected"; } + if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName")) + if (!$util.isString(message.podTemplateName)) + return "podTemplateName: string expected"; return null; }; - /** - * LiteralMapFormat enum. - * @name flyteidl.core.DataLoadingConfig.LiteralMapFormat - * @enum {string} - * @property {number} JSON=0 JSON value - * @property {number} YAML=1 YAML value - * @property {number} PROTO=2 PROTO value - */ - DataLoadingConfig.LiteralMapFormat = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "JSON"] = 0; - values[valuesById[1] = "YAML"] = 1; - values[valuesById[2] = "PROTO"] = 2; - return values; - })(); - - return DataLoadingConfig; + return TaskMetadata; })(); - core.K8sPod = (function() { + core.TaskTemplate = (function() { /** - * Properties of a K8sPod. + * Properties of a TaskTemplate. * @memberof flyteidl.core - * @interface IK8sPod - * @property {flyteidl.core.IK8sObjectMetadata|null} [metadata] K8sPod metadata - * @property {google.protobuf.IStruct|null} [podSpec] K8sPod podSpec - * @property {flyteidl.core.IDataLoadingConfig|null} [dataConfig] K8sPod dataConfig + * @interface ITaskTemplate + * @property {flyteidl.core.IIdentifier|null} [id] TaskTemplate id + * @property {string|null} [type] TaskTemplate type + * @property {flyteidl.core.ITaskMetadata|null} [metadata] TaskTemplate metadata + * @property {flyteidl.core.ITypedInterface|null} ["interface"] TaskTemplate interface + * @property {google.protobuf.IStruct|null} [custom] TaskTemplate custom + * @property {flyteidl.core.IContainer|null} [container] TaskTemplate container + * @property {flyteidl.core.IK8sPod|null} [k8sPod] TaskTemplate k8sPod + * @property {flyteidl.core.ISql|null} [sql] TaskTemplate sql + * @property {number|null} [taskTypeVersion] TaskTemplate taskTypeVersion + * @property {flyteidl.core.ISecurityContext|null} [securityContext] TaskTemplate securityContext + * @property {Object.|null} [config] TaskTemplate config */ /** - * Constructs a new K8sPod. + * Constructs a new TaskTemplate. * @memberof flyteidl.core - * @classdesc Represents a K8sPod. - * @implements IK8sPod + * @classdesc Represents a TaskTemplate. + * @implements ITaskTemplate * @constructor - * @param {flyteidl.core.IK8sPod=} [properties] Properties to set + * @param {flyteidl.core.ITaskTemplate=} [properties] Properties to set */ - function K8sPod(properties) { + function TaskTemplate(properties) { + this.config = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -13924,88 +14239,212 @@ } /** - * K8sPod metadata. - * @member {flyteidl.core.IK8sObjectMetadata|null|undefined} metadata - * @memberof flyteidl.core.K8sPod + * TaskTemplate id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.core.TaskTemplate * @instance */ - K8sPod.prototype.metadata = null; + TaskTemplate.prototype.id = null; /** - * K8sPod podSpec. - * @member {google.protobuf.IStruct|null|undefined} podSpec - * @memberof flyteidl.core.K8sPod + * TaskTemplate type. + * @member {string} type + * @memberof flyteidl.core.TaskTemplate * @instance */ - K8sPod.prototype.podSpec = null; + TaskTemplate.prototype.type = ""; /** - * K8sPod dataConfig. - * @member {flyteidl.core.IDataLoadingConfig|null|undefined} dataConfig - * @memberof flyteidl.core.K8sPod + * TaskTemplate metadata. + * @member {flyteidl.core.ITaskMetadata|null|undefined} metadata + * @memberof flyteidl.core.TaskTemplate * @instance */ - K8sPod.prototype.dataConfig = null; + TaskTemplate.prototype.metadata = null; /** - * Creates a new K8sPod instance using the specified properties. + * TaskTemplate interface. + * @member {flyteidl.core.ITypedInterface|null|undefined} interface + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype["interface"] = null; + + /** + * TaskTemplate custom. + * @member {google.protobuf.IStruct|null|undefined} custom + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype.custom = null; + + /** + * TaskTemplate container. + * @member {flyteidl.core.IContainer|null|undefined} container + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype.container = null; + + /** + * TaskTemplate k8sPod. + * @member {flyteidl.core.IK8sPod|null|undefined} k8sPod + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype.k8sPod = null; + + /** + * TaskTemplate sql. + * @member {flyteidl.core.ISql|null|undefined} sql + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype.sql = null; + + /** + * TaskTemplate taskTypeVersion. + * @member {number} taskTypeVersion + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype.taskTypeVersion = 0; + + /** + * TaskTemplate securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype.securityContext = null; + + /** + * TaskTemplate config. + * @member {Object.} config + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + TaskTemplate.prototype.config = $util.emptyObject; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * TaskTemplate target. + * @member {"container"|"k8sPod"|"sql"|undefined} target + * @memberof flyteidl.core.TaskTemplate + * @instance + */ + Object.defineProperty(TaskTemplate.prototype, "target", { + get: $util.oneOfGetter($oneOfFields = ["container", "k8sPod", "sql"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new TaskTemplate instance using the specified properties. * @function create - * @memberof flyteidl.core.K8sPod + * @memberof flyteidl.core.TaskTemplate * @static - * @param {flyteidl.core.IK8sPod=} [properties] Properties to set - * @returns {flyteidl.core.K8sPod} K8sPod instance + * @param {flyteidl.core.ITaskTemplate=} [properties] Properties to set + * @returns {flyteidl.core.TaskTemplate} TaskTemplate instance */ - K8sPod.create = function create(properties) { - return new K8sPod(properties); + TaskTemplate.create = function create(properties) { + return new TaskTemplate(properties); }; /** - * Encodes the specified K8sPod message. Does not implicitly {@link flyteidl.core.K8sPod.verify|verify} messages. + * Encodes the specified TaskTemplate message. Does not implicitly {@link flyteidl.core.TaskTemplate.verify|verify} messages. * @function encode - * @memberof flyteidl.core.K8sPod + * @memberof flyteidl.core.TaskTemplate * @static - * @param {flyteidl.core.IK8sPod} message K8sPod message or plain object to encode + * @param {flyteidl.core.ITaskTemplate} message TaskTemplate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - K8sPod.encode = function encode(message, writer) { + TaskTemplate.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.type != null && message.hasOwnProperty("type")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.type); if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.K8sObjectMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.podSpec != null && message.hasOwnProperty("podSpec")) - $root.google.protobuf.Struct.encode(message.podSpec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) - $root.flyteidl.core.DataLoadingConfig.encode(message.dataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + $root.flyteidl.core.TaskMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message["interface"] != null && message.hasOwnProperty("interface")) + $root.flyteidl.core.TypedInterface.encode(message["interface"], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.custom != null && message.hasOwnProperty("custom")) + $root.google.protobuf.Struct.encode(message.custom, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.container != null && message.hasOwnProperty("container")) + $root.flyteidl.core.Container.encode(message.container, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.taskTypeVersion != null && message.hasOwnProperty("taskTypeVersion")) + writer.uint32(/* id 7, wireType 0 =*/56).int32(message.taskTypeVersion); + if (message.securityContext != null && message.hasOwnProperty("securityContext")) + $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.config != null && message.hasOwnProperty("config")) + for (var keys = Object.keys(message.config), i = 0; i < keys.length; ++i) + writer.uint32(/* id 16, wireType 2 =*/130).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.config[keys[i]]).ldelim(); + if (message.k8sPod != null && message.hasOwnProperty("k8sPod")) + $root.flyteidl.core.K8sPod.encode(message.k8sPod, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); + if (message.sql != null && message.hasOwnProperty("sql")) + $root.flyteidl.core.Sql.encode(message.sql, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); return writer; }; /** - * Decodes a K8sPod message from the specified reader or buffer. + * Decodes a TaskTemplate message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.K8sPod + * @memberof flyteidl.core.TaskTemplate * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.K8sPod} K8sPod + * @returns {flyteidl.core.TaskTemplate} TaskTemplate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - K8sPod.decode = function decode(reader, length) { + TaskTemplate.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.core.K8sPod(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskTemplate(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.metadata = $root.flyteidl.core.K8sObjectMetadata.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.podSpec = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + message.type = reader.string(); break; case 3: - message.dataConfig = $root.flyteidl.core.DataLoadingConfig.decode(reader, reader.uint32()); + message.metadata = $root.flyteidl.core.TaskMetadata.decode(reader, reader.uint32()); + break; + case 4: + message["interface"] = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); + break; + case 5: + message.custom = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + case 6: + message.container = $root.flyteidl.core.Container.decode(reader, reader.uint32()); + break; + case 17: + message.k8sPod = $root.flyteidl.core.K8sPod.decode(reader, reader.uint32()); + break; + case 18: + message.sql = $root.flyteidl.core.Sql.decode(reader, reader.uint32()); + break; + case 7: + message.taskTypeVersion = reader.int32(); + break; + case 8: + message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); + break; + case 16: + reader.skip().pos++; + if (message.config === $util.emptyObject) + message.config = {}; + key = reader.string(); + reader.pos++; + message.config[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -14016,58 +14455,108 @@ }; /** - * Verifies a K8sPod message. + * Verifies a TaskTemplate message. * @function verify - * @memberof flyteidl.core.K8sPod + * @memberof flyteidl.core.TaskTemplate * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - K8sPod.verify = function verify(message) { + TaskTemplate.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.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.type != null && message.hasOwnProperty("type")) + if (!$util.isString(message.type)) + return "type: string expected"; if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.K8sObjectMetadata.verify(message.metadata); + var error = $root.flyteidl.core.TaskMetadata.verify(message.metadata); if (error) return "metadata." + error; } - if (message.podSpec != null && message.hasOwnProperty("podSpec")) { - var error = $root.google.protobuf.Struct.verify(message.podSpec); + if (message["interface"] != null && message.hasOwnProperty("interface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message["interface"]); if (error) - return "podSpec." + error; + return "interface." + error; } - if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) { - var error = $root.flyteidl.core.DataLoadingConfig.verify(message.dataConfig); + if (message.custom != null && message.hasOwnProperty("custom")) { + var error = $root.google.protobuf.Struct.verify(message.custom); if (error) - return "dataConfig." + error; + return "custom." + error; } - return null; - }; - - return K8sPod; - })(); - - core.K8sObjectMetadata = (function() { - - /** - * Properties of a K8sObjectMetadata. - * @memberof flyteidl.core - * @interface IK8sObjectMetadata - * @property {Object.|null} [labels] K8sObjectMetadata labels - * @property {Object.|null} [annotations] K8sObjectMetadata annotations + if (message.container != null && message.hasOwnProperty("container")) { + properties.target = 1; + { + var error = $root.flyteidl.core.Container.verify(message.container); + if (error) + return "container." + error; + } + } + if (message.k8sPod != null && message.hasOwnProperty("k8sPod")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.K8sPod.verify(message.k8sPod); + if (error) + return "k8sPod." + error; + } + } + if (message.sql != null && message.hasOwnProperty("sql")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.Sql.verify(message.sql); + if (error) + return "sql." + error; + } + } + if (message.taskTypeVersion != null && message.hasOwnProperty("taskTypeVersion")) + if (!$util.isInteger(message.taskTypeVersion)) + return "taskTypeVersion: 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.config != null && message.hasOwnProperty("config")) { + if (!$util.isObject(message.config)) + return "config: object expected"; + var key = Object.keys(message.config); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.config[key[i]])) + return "config: string{k:string} expected"; + } + return null; + }; + + return TaskTemplate; + })(); + + core.ContainerPort = (function() { + + /** + * Properties of a ContainerPort. + * @memberof flyteidl.core + * @interface IContainerPort + * @property {number|null} [containerPort] ContainerPort containerPort */ /** - * Constructs a new K8sObjectMetadata. + * Constructs a new ContainerPort. * @memberof flyteidl.core - * @classdesc Represents a K8sObjectMetadata. - * @implements IK8sObjectMetadata + * @classdesc Represents a ContainerPort. + * @implements IContainerPort * @constructor - * @param {flyteidl.core.IK8sObjectMetadata=} [properties] Properties to set + * @param {flyteidl.core.IContainerPort=} [properties] Properties to set */ - function K8sObjectMetadata(properties) { - this.labels = {}; - this.annotations = {}; + function ContainerPort(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14075,87 +14564,62 @@ } /** - * K8sObjectMetadata labels. - * @member {Object.} labels - * @memberof flyteidl.core.K8sObjectMetadata - * @instance - */ - K8sObjectMetadata.prototype.labels = $util.emptyObject; - - /** - * K8sObjectMetadata annotations. - * @member {Object.} annotations - * @memberof flyteidl.core.K8sObjectMetadata + * ContainerPort containerPort. + * @member {number} containerPort + * @memberof flyteidl.core.ContainerPort * @instance */ - K8sObjectMetadata.prototype.annotations = $util.emptyObject; + ContainerPort.prototype.containerPort = 0; /** - * Creates a new K8sObjectMetadata instance using the specified properties. + * Creates a new ContainerPort instance using the specified properties. * @function create - * @memberof flyteidl.core.K8sObjectMetadata + * @memberof flyteidl.core.ContainerPort * @static - * @param {flyteidl.core.IK8sObjectMetadata=} [properties] Properties to set - * @returns {flyteidl.core.K8sObjectMetadata} K8sObjectMetadata instance + * @param {flyteidl.core.IContainerPort=} [properties] Properties to set + * @returns {flyteidl.core.ContainerPort} ContainerPort instance */ - K8sObjectMetadata.create = function create(properties) { - return new K8sObjectMetadata(properties); + ContainerPort.create = function create(properties) { + return new ContainerPort(properties); }; /** - * Encodes the specified K8sObjectMetadata message. Does not implicitly {@link flyteidl.core.K8sObjectMetadata.verify|verify} messages. + * Encodes the specified ContainerPort message. Does not implicitly {@link flyteidl.core.ContainerPort.verify|verify} messages. * @function encode - * @memberof flyteidl.core.K8sObjectMetadata + * @memberof flyteidl.core.ContainerPort * @static - * @param {flyteidl.core.IK8sObjectMetadata} message K8sObjectMetadata message or plain object to encode + * @param {flyteidl.core.IContainerPort} message ContainerPort message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - K8sObjectMetadata.encode = function encode(message, writer) { + ContainerPort.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.labels != null && message.hasOwnProperty("labels")) - for (var keys = Object.keys(message.labels), 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.labels[keys[i]]).ldelim(); - if (message.annotations != null && message.hasOwnProperty("annotations")) - for (var keys = Object.keys(message.annotations), 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.annotations[keys[i]]).ldelim(); + if (message.containerPort != null && message.hasOwnProperty("containerPort")) + writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.containerPort); return writer; }; /** - * Decodes a K8sObjectMetadata message from the specified reader or buffer. + * Decodes a ContainerPort message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.K8sObjectMetadata + * @memberof flyteidl.core.ContainerPort * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.K8sObjectMetadata} K8sObjectMetadata + * @returns {flyteidl.core.ContainerPort} ContainerPort * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - K8sObjectMetadata.decode = function decode(reader, length) { + ContainerPort.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.core.K8sObjectMetadata(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ContainerPort(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.labels === $util.emptyObject) - message.labels = {}; - key = reader.string(); - reader.pos++; - message.labels[key] = reader.string(); - break; - case 2: - reader.skip().pos++; - if (message.annotations === $util.emptyObject) - message.annotations = {}; - key = reader.string(); - reader.pos++; - message.annotations[key] = reader.string(); + message.containerPort = reader.uint32(); break; default: reader.skipType(tag & 7); @@ -14166,57 +14630,56 @@ }; /** - * Verifies a K8sObjectMetadata message. + * Verifies a ContainerPort message. * @function verify - * @memberof flyteidl.core.K8sObjectMetadata + * @memberof flyteidl.core.ContainerPort * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - K8sObjectMetadata.verify = function verify(message) { + ContainerPort.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - 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.annotations != null && message.hasOwnProperty("annotations")) { - if (!$util.isObject(message.annotations)) - return "annotations: object expected"; - var key = Object.keys(message.annotations); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.annotations[key[i]])) - return "annotations: string{k:string} expected"; - } + if (message.containerPort != null && message.hasOwnProperty("containerPort")) + if (!$util.isInteger(message.containerPort)) + return "containerPort: integer expected"; return null; }; - return K8sObjectMetadata; + return ContainerPort; })(); - core.Sql = (function() { + core.Container = (function() { /** - * Properties of a Sql. + * Properties of a Container. * @memberof flyteidl.core - * @interface ISql - * @property {string|null} [statement] Sql statement - * @property {flyteidl.core.Sql.Dialect|null} [dialect] Sql dialect + * @interface IContainer + * @property {string|null} [image] Container image + * @property {Array.|null} [command] Container command + * @property {Array.|null} [args] Container args + * @property {flyteidl.core.IResources|null} [resources] Container resources + * @property {Array.|null} [env] Container env + * @property {Array.|null} [config] Container config + * @property {Array.|null} [ports] Container ports + * @property {flyteidl.core.IDataLoadingConfig|null} [dataConfig] Container dataConfig + * @property {flyteidl.core.Container.Architecture|null} [architecture] Container architecture */ /** - * Constructs a new Sql. + * Constructs a new Container. * @memberof flyteidl.core - * @classdesc Represents a Sql. - * @implements ISql + * @classdesc Represents a Container. + * @implements IContainer * @constructor - * @param {flyteidl.core.ISql=} [properties] Properties to set + * @param {flyteidl.core.IContainer=} [properties] Properties to set */ - function Sql(properties) { + function Container(properties) { + this.command = []; + this.args = []; + this.env = []; + this.config = []; + this.ports = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14224,75 +14687,181 @@ } /** - * Sql statement. - * @member {string} statement - * @memberof flyteidl.core.Sql + * Container image. + * @member {string} image + * @memberof flyteidl.core.Container * @instance */ - Sql.prototype.statement = ""; + Container.prototype.image = ""; /** - * Sql dialect. - * @member {flyteidl.core.Sql.Dialect} dialect - * @memberof flyteidl.core.Sql + * Container command. + * @member {Array.} command + * @memberof flyteidl.core.Container * @instance */ - Sql.prototype.dialect = 0; + Container.prototype.command = $util.emptyArray; /** - * Creates a new Sql instance using the specified properties. + * Container args. + * @member {Array.} args + * @memberof flyteidl.core.Container + * @instance + */ + Container.prototype.args = $util.emptyArray; + + /** + * Container resources. + * @member {flyteidl.core.IResources|null|undefined} resources + * @memberof flyteidl.core.Container + * @instance + */ + Container.prototype.resources = null; + + /** + * Container env. + * @member {Array.} env + * @memberof flyteidl.core.Container + * @instance + */ + Container.prototype.env = $util.emptyArray; + + /** + * Container config. + * @member {Array.} config + * @memberof flyteidl.core.Container + * @instance + */ + Container.prototype.config = $util.emptyArray; + + /** + * Container ports. + * @member {Array.} ports + * @memberof flyteidl.core.Container + * @instance + */ + Container.prototype.ports = $util.emptyArray; + + /** + * Container dataConfig. + * @member {flyteidl.core.IDataLoadingConfig|null|undefined} dataConfig + * @memberof flyteidl.core.Container + * @instance + */ + Container.prototype.dataConfig = null; + + /** + * Container architecture. + * @member {flyteidl.core.Container.Architecture} architecture + * @memberof flyteidl.core.Container + * @instance + */ + Container.prototype.architecture = 0; + + /** + * Creates a new Container instance using the specified properties. * @function create - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Container * @static - * @param {flyteidl.core.ISql=} [properties] Properties to set - * @returns {flyteidl.core.Sql} Sql instance + * @param {flyteidl.core.IContainer=} [properties] Properties to set + * @returns {flyteidl.core.Container} Container instance */ - Sql.create = function create(properties) { - return new Sql(properties); + Container.create = function create(properties) { + return new Container(properties); }; /** - * Encodes the specified Sql message. Does not implicitly {@link flyteidl.core.Sql.verify|verify} messages. + * Encodes the specified Container message. Does not implicitly {@link flyteidl.core.Container.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Container * @static - * @param {flyteidl.core.ISql} message Sql message or plain object to encode + * @param {flyteidl.core.IContainer} message Container message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Sql.encode = function encode(message, writer) { + Container.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.statement != null && message.hasOwnProperty("statement")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.statement); - if (message.dialect != null && message.hasOwnProperty("dialect")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.dialect); + if (message.image != null && message.hasOwnProperty("image")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.image); + if (message.command != null && message.command.length) + for (var i = 0; i < message.command.length; ++i) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.command[i]); + if (message.args != null && message.args.length) + for (var i = 0; i < message.args.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.args[i]); + if (message.resources != null && message.hasOwnProperty("resources")) + $root.flyteidl.core.Resources.encode(message.resources, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.env != null && message.env.length) + for (var i = 0; i < message.env.length; ++i) + $root.flyteidl.core.KeyValuePair.encode(message.env[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.config != null && message.config.length) + for (var i = 0; i < message.config.length; ++i) + $root.flyteidl.core.KeyValuePair.encode(message.config[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.ports != null && message.ports.length) + for (var i = 0; i < message.ports.length; ++i) + $root.flyteidl.core.ContainerPort.encode(message.ports[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) + $root.flyteidl.core.DataLoadingConfig.encode(message.dataConfig, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.architecture != null && message.hasOwnProperty("architecture")) + writer.uint32(/* id 10, wireType 0 =*/80).int32(message.architecture); return writer; }; /** - * Decodes a Sql message from the specified reader or buffer. + * Decodes a Container message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Container * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Sql} Sql + * @returns {flyteidl.core.Container} Container * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Sql.decode = function decode(reader, length) { + Container.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.core.Sql(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Container(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.statement = reader.string(); + message.image = reader.string(); break; case 2: - message.dialect = reader.int32(); + if (!(message.command && message.command.length)) + message.command = []; + message.command.push(reader.string()); + break; + case 3: + if (!(message.args && message.args.length)) + message.args = []; + message.args.push(reader.string()); + break; + case 4: + message.resources = $root.flyteidl.core.Resources.decode(reader, reader.uint32()); + break; + case 5: + if (!(message.env && message.env.length)) + message.env = []; + message.env.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); + break; + case 6: + if (!(message.config && message.config.length)) + message.config = []; + message.config.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); + break; + case 7: + if (!(message.ports && message.ports.length)) + message.ports = []; + message.ports.push($root.flyteidl.core.ContainerPort.decode(reader, reader.uint32())); + break; + case 9: + message.dataConfig = $root.flyteidl.core.DataLoadingConfig.decode(reader, reader.uint32()); + break; + case 10: + message.architecture = reader.int32(); break; default: reader.skipType(tag & 7); @@ -14303,74 +14872,126 @@ }; /** - * Verifies a Sql message. + * Verifies a Container message. * @function verify - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Container * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Sql.verify = function verify(message) { + Container.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.statement != null && message.hasOwnProperty("statement")) - if (!$util.isString(message.statement)) - return "statement: string expected"; - if (message.dialect != null && message.hasOwnProperty("dialect")) - switch (message.dialect) { + if (message.image != null && message.hasOwnProperty("image")) + if (!$util.isString(message.image)) + return "image: string expected"; + if (message.command != null && message.hasOwnProperty("command")) { + if (!Array.isArray(message.command)) + return "command: array expected"; + for (var i = 0; i < message.command.length; ++i) + if (!$util.isString(message.command[i])) + return "command: string[] expected"; + } + if (message.args != null && message.hasOwnProperty("args")) { + if (!Array.isArray(message.args)) + return "args: array expected"; + for (var i = 0; i < message.args.length; ++i) + if (!$util.isString(message.args[i])) + return "args: string[] expected"; + } + if (message.resources != null && message.hasOwnProperty("resources")) { + var error = $root.flyteidl.core.Resources.verify(message.resources); + if (error) + return "resources." + error; + } + if (message.env != null && message.hasOwnProperty("env")) { + if (!Array.isArray(message.env)) + return "env: array expected"; + for (var i = 0; i < message.env.length; ++i) { + var error = $root.flyteidl.core.KeyValuePair.verify(message.env[i]); + if (error) + return "env." + error; + } + } + if (message.config != null && message.hasOwnProperty("config")) { + if (!Array.isArray(message.config)) + return "config: array expected"; + for (var i = 0; i < message.config.length; ++i) { + var error = $root.flyteidl.core.KeyValuePair.verify(message.config[i]); + if (error) + return "config." + error; + } + } + if (message.ports != null && message.hasOwnProperty("ports")) { + if (!Array.isArray(message.ports)) + return "ports: array expected"; + for (var i = 0; i < message.ports.length; ++i) { + var error = $root.flyteidl.core.ContainerPort.verify(message.ports[i]); + if (error) + return "ports." + error; + } + } + if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) { + var error = $root.flyteidl.core.DataLoadingConfig.verify(message.dataConfig); + if (error) + return "dataConfig." + error; + } + if (message.architecture != null && message.hasOwnProperty("architecture")) + switch (message.architecture) { default: - return "dialect: enum value expected"; + return "architecture: enum value expected"; case 0: case 1: case 2: case 3: + case 4: break; } return null; }; /** - * Dialect enum. - * @name flyteidl.core.Sql.Dialect + * Architecture enum. + * @name flyteidl.core.Container.Architecture * @enum {string} - * @property {number} UNDEFINED=0 UNDEFINED value - * @property {number} ANSI=1 ANSI value - * @property {number} HIVE=2 HIVE value - * @property {number} OTHER=3 OTHER value + * @property {number} UNKNOWN=0 UNKNOWN value + * @property {number} AMD64=1 AMD64 value + * @property {number} ARM64=2 ARM64 value + * @property {number} ARM_V6=3 ARM_V6 value + * @property {number} ARM_V7=4 ARM_V7 value */ - Sql.Dialect = (function() { + Container.Architecture = (function() { var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNDEFINED"] = 0; - values[valuesById[1] = "ANSI"] = 1; - values[valuesById[2] = "HIVE"] = 2; - values[valuesById[3] = "OTHER"] = 3; + values[valuesById[0] = "UNKNOWN"] = 0; + values[valuesById[1] = "AMD64"] = 1; + values[valuesById[2] = "ARM64"] = 2; + values[valuesById[3] = "ARM_V6"] = 3; + values[valuesById[4] = "ARM_V7"] = 4; return values; })(); - return Sql; + return Container; })(); - core.Secret = (function() { + core.IOStrategy = (function() { /** - * Properties of a Secret. + * Properties of a IOStrategy. * @memberof flyteidl.core - * @interface ISecret - * @property {string|null} [group] Secret group - * @property {string|null} [groupVersion] Secret groupVersion - * @property {string|null} [key] Secret key - * @property {flyteidl.core.Secret.MountType|null} [mountRequirement] Secret mountRequirement + * @interface IIOStrategy + * @property {flyteidl.core.IOStrategy.DownloadMode|null} [downloadMode] IOStrategy downloadMode + * @property {flyteidl.core.IOStrategy.UploadMode|null} [uploadMode] IOStrategy uploadMode */ /** - * Constructs a new Secret. + * Constructs a new IOStrategy. * @memberof flyteidl.core - * @classdesc Represents a Secret. - * @implements ISecret + * @classdesc Represents a IOStrategy. + * @implements IIOStrategy * @constructor - * @param {flyteidl.core.ISecret=} [properties] Properties to set + * @param {flyteidl.core.IIOStrategy=} [properties] Properties to set */ - function Secret(properties) { + function IOStrategy(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14378,101 +14999,75 @@ } /** - * Secret group. - * @member {string} group - * @memberof flyteidl.core.Secret + * IOStrategy downloadMode. + * @member {flyteidl.core.IOStrategy.DownloadMode} downloadMode + * @memberof flyteidl.core.IOStrategy * @instance */ - Secret.prototype.group = ""; + IOStrategy.prototype.downloadMode = 0; /** - * Secret groupVersion. - * @member {string} groupVersion - * @memberof flyteidl.core.Secret + * IOStrategy uploadMode. + * @member {flyteidl.core.IOStrategy.UploadMode} uploadMode + * @memberof flyteidl.core.IOStrategy * @instance */ - Secret.prototype.groupVersion = ""; + IOStrategy.prototype.uploadMode = 0; /** - * Secret key. - * @member {string} key - * @memberof flyteidl.core.Secret - * @instance + * Creates a new IOStrategy instance using the specified properties. + * @function create + * @memberof flyteidl.core.IOStrategy + * @static + * @param {flyteidl.core.IIOStrategy=} [properties] Properties to set + * @returns {flyteidl.core.IOStrategy} IOStrategy instance */ - Secret.prototype.key = ""; + IOStrategy.create = function create(properties) { + return new IOStrategy(properties); + }; /** - * Secret mountRequirement. - * @member {flyteidl.core.Secret.MountType} mountRequirement - * @memberof flyteidl.core.Secret - * @instance - */ - Secret.prototype.mountRequirement = 0; - - /** - * Creates a new Secret instance using the specified properties. - * @function create - * @memberof flyteidl.core.Secret - * @static - * @param {flyteidl.core.ISecret=} [properties] Properties to set - * @returns {flyteidl.core.Secret} Secret instance - */ - Secret.create = function create(properties) { - return new Secret(properties); - }; - - /** - * Encodes the specified Secret message. Does not implicitly {@link flyteidl.core.Secret.verify|verify} messages. + * Encodes the specified IOStrategy message. Does not implicitly {@link flyteidl.core.IOStrategy.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Secret + * @memberof flyteidl.core.IOStrategy * @static - * @param {flyteidl.core.ISecret} message Secret message or plain object to encode + * @param {flyteidl.core.IIOStrategy} message IOStrategy message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Secret.encode = function encode(message, writer) { + IOStrategy.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.group != null && message.hasOwnProperty("group")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.group); - if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.groupVersion); - if (message.key != null && message.hasOwnProperty("key")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.key); - if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.mountRequirement); + if (message.downloadMode != null && message.hasOwnProperty("downloadMode")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.downloadMode); + if (message.uploadMode != null && message.hasOwnProperty("uploadMode")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.uploadMode); return writer; }; /** - * Decodes a Secret message from the specified reader or buffer. + * Decodes a IOStrategy message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Secret + * @memberof flyteidl.core.IOStrategy * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Secret} Secret + * @returns {flyteidl.core.IOStrategy} IOStrategy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Secret.decode = function decode(reader, length) { + IOStrategy.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.core.Secret(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.IOStrategy(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.group = reader.string(); + message.downloadMode = reader.int32(); break; case 2: - message.groupVersion = reader.string(); - break; - case 3: - message.key = reader.string(); - break; - case 4: - message.mountRequirement = reader.int32(); + message.uploadMode = reader.int32(); break; default: reader.skipType(tag & 7); @@ -14483,29 +15078,29 @@ }; /** - * Verifies a Secret message. + * Verifies a IOStrategy message. * @function verify - * @memberof flyteidl.core.Secret + * @memberof flyteidl.core.IOStrategy * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Secret.verify = function verify(message) { + IOStrategy.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.group != null && message.hasOwnProperty("group")) - if (!$util.isString(message.group)) - return "group: string expected"; - if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) - if (!$util.isString(message.groupVersion)) - return "groupVersion: string expected"; - if (message.key != null && message.hasOwnProperty("key")) - if (!$util.isString(message.key)) - return "key: string expected"; - if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) - switch (message.mountRequirement) { + if (message.downloadMode != null && message.hasOwnProperty("downloadMode")) + switch (message.downloadMode) { default: - return "mountRequirement: enum value expected"; + return "downloadMode: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.uploadMode != null && message.hasOwnProperty("uploadMode")) + switch (message.uploadMode) { + default: + return "uploadMode: enum value expected"; case 0: case 1: case 2: @@ -14515,43 +15110,62 @@ }; /** - * MountType enum. - * @name flyteidl.core.Secret.MountType + * DownloadMode enum. + * @name flyteidl.core.IOStrategy.DownloadMode * @enum {string} - * @property {number} ANY=0 ANY value - * @property {number} ENV_VAR=1 ENV_VAR value - * @property {number} FILE=2 FILE value + * @property {number} DOWNLOAD_EAGER=0 DOWNLOAD_EAGER value + * @property {number} DOWNLOAD_STREAM=1 DOWNLOAD_STREAM value + * @property {number} DO_NOT_DOWNLOAD=2 DO_NOT_DOWNLOAD value */ - Secret.MountType = (function() { + IOStrategy.DownloadMode = (function() { var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ANY"] = 0; - values[valuesById[1] = "ENV_VAR"] = 1; - values[valuesById[2] = "FILE"] = 2; + values[valuesById[0] = "DOWNLOAD_EAGER"] = 0; + values[valuesById[1] = "DOWNLOAD_STREAM"] = 1; + values[valuesById[2] = "DO_NOT_DOWNLOAD"] = 2; return values; })(); - return Secret; + /** + * UploadMode enum. + * @name flyteidl.core.IOStrategy.UploadMode + * @enum {string} + * @property {number} UPLOAD_ON_EXIT=0 UPLOAD_ON_EXIT value + * @property {number} UPLOAD_EAGER=1 UPLOAD_EAGER value + * @property {number} DO_NOT_UPLOAD=2 DO_NOT_UPLOAD value + */ + IOStrategy.UploadMode = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UPLOAD_ON_EXIT"] = 0; + values[valuesById[1] = "UPLOAD_EAGER"] = 1; + values[valuesById[2] = "DO_NOT_UPLOAD"] = 2; + return values; + })(); + + return IOStrategy; })(); - core.OAuth2Client = (function() { + core.DataLoadingConfig = (function() { /** - * Properties of a OAuth2Client. + * Properties of a DataLoadingConfig. * @memberof flyteidl.core - * @interface IOAuth2Client - * @property {string|null} [clientId] OAuth2Client clientId - * @property {flyteidl.core.ISecret|null} [clientSecret] OAuth2Client clientSecret + * @interface IDataLoadingConfig + * @property {boolean|null} [enabled] DataLoadingConfig enabled + * @property {string|null} [inputPath] DataLoadingConfig inputPath + * @property {string|null} [outputPath] DataLoadingConfig outputPath + * @property {flyteidl.core.DataLoadingConfig.LiteralMapFormat|null} [format] DataLoadingConfig format + * @property {flyteidl.core.IIOStrategy|null} [ioStrategy] DataLoadingConfig ioStrategy */ /** - * Constructs a new OAuth2Client. + * Constructs a new DataLoadingConfig. * @memberof flyteidl.core - * @classdesc Represents a OAuth2Client. - * @implements IOAuth2Client + * @classdesc Represents a DataLoadingConfig. + * @implements IDataLoadingConfig * @constructor - * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set + * @param {flyteidl.core.IDataLoadingConfig=} [properties] Properties to set */ - function OAuth2Client(properties) { + function DataLoadingConfig(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14559,75 +15173,114 @@ } /** - * OAuth2Client clientId. - * @member {string} clientId - * @memberof flyteidl.core.OAuth2Client + * DataLoadingConfig enabled. + * @member {boolean} enabled + * @memberof flyteidl.core.DataLoadingConfig * @instance */ - OAuth2Client.prototype.clientId = ""; + DataLoadingConfig.prototype.enabled = false; /** - * OAuth2Client clientSecret. - * @member {flyteidl.core.ISecret|null|undefined} clientSecret - * @memberof flyteidl.core.OAuth2Client + * DataLoadingConfig inputPath. + * @member {string} inputPath + * @memberof flyteidl.core.DataLoadingConfig * @instance */ - OAuth2Client.prototype.clientSecret = null; + DataLoadingConfig.prototype.inputPath = ""; /** - * Creates a new OAuth2Client instance using the specified properties. + * DataLoadingConfig outputPath. + * @member {string} outputPath + * @memberof flyteidl.core.DataLoadingConfig + * @instance + */ + DataLoadingConfig.prototype.outputPath = ""; + + /** + * DataLoadingConfig format. + * @member {flyteidl.core.DataLoadingConfig.LiteralMapFormat} format + * @memberof flyteidl.core.DataLoadingConfig + * @instance + */ + DataLoadingConfig.prototype.format = 0; + + /** + * DataLoadingConfig ioStrategy. + * @member {flyteidl.core.IIOStrategy|null|undefined} ioStrategy + * @memberof flyteidl.core.DataLoadingConfig + * @instance + */ + DataLoadingConfig.prototype.ioStrategy = null; + + /** + * Creates a new DataLoadingConfig instance using the specified properties. * @function create - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.DataLoadingConfig * @static - * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set - * @returns {flyteidl.core.OAuth2Client} OAuth2Client instance + * @param {flyteidl.core.IDataLoadingConfig=} [properties] Properties to set + * @returns {flyteidl.core.DataLoadingConfig} DataLoadingConfig instance */ - OAuth2Client.create = function create(properties) { - return new OAuth2Client(properties); + DataLoadingConfig.create = function create(properties) { + return new DataLoadingConfig(properties); }; /** - * Encodes the specified OAuth2Client message. Does not implicitly {@link flyteidl.core.OAuth2Client.verify|verify} messages. + * Encodes the specified DataLoadingConfig message. Does not implicitly {@link flyteidl.core.DataLoadingConfig.verify|verify} messages. * @function encode - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.DataLoadingConfig * @static - * @param {flyteidl.core.IOAuth2Client} message OAuth2Client message or plain object to encode + * @param {flyteidl.core.IDataLoadingConfig} message DataLoadingConfig message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - OAuth2Client.encode = function encode(message, writer) { + DataLoadingConfig.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.clientId != null && message.hasOwnProperty("clientId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.clientId); - if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) - $root.flyteidl.core.Secret.encode(message.clientSecret, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.enabled != null && message.hasOwnProperty("enabled")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enabled); + if (message.inputPath != null && message.hasOwnProperty("inputPath")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputPath); + if (message.outputPath != null && message.hasOwnProperty("outputPath")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPath); + if (message.format != null && message.hasOwnProperty("format")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.format); + if (message.ioStrategy != null && message.hasOwnProperty("ioStrategy")) + $root.flyteidl.core.IOStrategy.encode(message.ioStrategy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a OAuth2Client message from the specified reader or buffer. + * Decodes a DataLoadingConfig message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.DataLoadingConfig * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.OAuth2Client} OAuth2Client + * @returns {flyteidl.core.DataLoadingConfig} DataLoadingConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OAuth2Client.decode = function decode(reader, length) { + DataLoadingConfig.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.core.OAuth2Client(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.DataLoadingConfig(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.clientId = reader.string(); + message.enabled = reader.bool(); break; case 2: - message.clientSecret = $root.flyteidl.core.Secret.decode(reader, reader.uint32()); + message.inputPath = reader.string(); + break; + case 3: + message.outputPath = reader.string(); + break; + case 4: + message.format = reader.int32(); + break; + case 5: + message.ioStrategy = $root.flyteidl.core.IOStrategy.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -14638,51 +15291,81 @@ }; /** - * Verifies a OAuth2Client message. + * Verifies a DataLoadingConfig message. * @function verify - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.DataLoadingConfig * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OAuth2Client.verify = function verify(message) { + DataLoadingConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.clientId != null && message.hasOwnProperty("clientId")) - if (!$util.isString(message.clientId)) - return "clientId: string expected"; - if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) { - var error = $root.flyteidl.core.Secret.verify(message.clientSecret); + if (message.enabled != null && message.hasOwnProperty("enabled")) + if (typeof message.enabled !== "boolean") + return "enabled: boolean expected"; + if (message.inputPath != null && message.hasOwnProperty("inputPath")) + if (!$util.isString(message.inputPath)) + return "inputPath: string expected"; + if (message.outputPath != null && message.hasOwnProperty("outputPath")) + if (!$util.isString(message.outputPath)) + return "outputPath: string expected"; + if (message.format != null && message.hasOwnProperty("format")) + switch (message.format) { + default: + return "format: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.ioStrategy != null && message.hasOwnProperty("ioStrategy")) { + var error = $root.flyteidl.core.IOStrategy.verify(message.ioStrategy); if (error) - return "clientSecret." + error; + return "ioStrategy." + error; } return null; }; - return OAuth2Client; + /** + * LiteralMapFormat enum. + * @name flyteidl.core.DataLoadingConfig.LiteralMapFormat + * @enum {string} + * @property {number} JSON=0 JSON value + * @property {number} YAML=1 YAML value + * @property {number} PROTO=2 PROTO value + */ + DataLoadingConfig.LiteralMapFormat = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "JSON"] = 0; + values[valuesById[1] = "YAML"] = 1; + values[valuesById[2] = "PROTO"] = 2; + return values; + })(); + + return DataLoadingConfig; })(); - core.Identity = (function() { + core.K8sPod = (function() { /** - * Properties of an Identity. + * Properties of a K8sPod. * @memberof flyteidl.core - * @interface IIdentity - * @property {string|null} [iamRole] Identity iamRole - * @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount - * @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client - * @property {string|null} [executionIdentity] Identity executionIdentity + * @interface IK8sPod + * @property {flyteidl.core.IK8sObjectMetadata|null} [metadata] K8sPod metadata + * @property {google.protobuf.IStruct|null} [podSpec] K8sPod podSpec + * @property {flyteidl.core.IDataLoadingConfig|null} [dataConfig] K8sPod dataConfig */ /** - * Constructs a new Identity. + * Constructs a new K8sPod. * @memberof flyteidl.core - * @classdesc Represents an Identity. - * @implements IIdentity + * @classdesc Represents a K8sPod. + * @implements IK8sPod * @constructor - * @param {flyteidl.core.IIdentity=} [properties] Properties to set + * @param {flyteidl.core.IK8sPod=} [properties] Properties to set */ - function Identity(properties) { + function K8sPod(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14690,101 +15373,88 @@ } /** - * Identity iamRole. - * @member {string} iamRole - * @memberof flyteidl.core.Identity - * @instance - */ - Identity.prototype.iamRole = ""; - - /** - * Identity k8sServiceAccount. - * @member {string} k8sServiceAccount - * @memberof flyteidl.core.Identity + * K8sPod metadata. + * @member {flyteidl.core.IK8sObjectMetadata|null|undefined} metadata + * @memberof flyteidl.core.K8sPod * @instance */ - Identity.prototype.k8sServiceAccount = ""; + K8sPod.prototype.metadata = null; /** - * Identity oauth2Client. - * @member {flyteidl.core.IOAuth2Client|null|undefined} oauth2Client - * @memberof flyteidl.core.Identity + * K8sPod podSpec. + * @member {google.protobuf.IStruct|null|undefined} podSpec + * @memberof flyteidl.core.K8sPod * @instance */ - Identity.prototype.oauth2Client = null; + K8sPod.prototype.podSpec = null; /** - * Identity executionIdentity. - * @member {string} executionIdentity - * @memberof flyteidl.core.Identity + * K8sPod dataConfig. + * @member {flyteidl.core.IDataLoadingConfig|null|undefined} dataConfig + * @memberof flyteidl.core.K8sPod * @instance */ - Identity.prototype.executionIdentity = ""; + K8sPod.prototype.dataConfig = null; /** - * Creates a new Identity instance using the specified properties. + * Creates a new K8sPod instance using the specified properties. * @function create - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.K8sPod * @static - * @param {flyteidl.core.IIdentity=} [properties] Properties to set - * @returns {flyteidl.core.Identity} Identity instance + * @param {flyteidl.core.IK8sPod=} [properties] Properties to set + * @returns {flyteidl.core.K8sPod} K8sPod instance */ - Identity.create = function create(properties) { - return new Identity(properties); + K8sPod.create = function create(properties) { + return new K8sPod(properties); }; /** - * Encodes the specified Identity message. Does not implicitly {@link flyteidl.core.Identity.verify|verify} messages. + * Encodes the specified K8sPod message. Does not implicitly {@link flyteidl.core.K8sPod.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.K8sPod * @static - * @param {flyteidl.core.IIdentity} message Identity message or plain object to encode + * @param {flyteidl.core.IK8sPod} message K8sPod message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Identity.encode = function encode(message, writer) { + K8sPod.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.iamRole != null && message.hasOwnProperty("iamRole")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.iamRole); - if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount); - if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) - $root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.executionIdentity); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.K8sObjectMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.podSpec != null && message.hasOwnProperty("podSpec")) + $root.google.protobuf.Struct.encode(message.podSpec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) + $root.flyteidl.core.DataLoadingConfig.encode(message.dataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes an Identity message from the specified reader or buffer. + * Decodes a K8sPod message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.K8sPod * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Identity} Identity + * @returns {flyteidl.core.K8sPod} K8sPod * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Identity.decode = function decode(reader, length) { + K8sPod.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.core.Identity(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.K8sPod(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.iamRole = reader.string(); + message.metadata = $root.flyteidl.core.K8sObjectMetadata.decode(reader, reader.uint32()); break; case 2: - message.k8sServiceAccount = reader.string(); + message.podSpec = $root.google.protobuf.Struct.decode(reader, reader.uint32()); break; case 3: - message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); - break; - case 4: - message.executionIdentity = reader.string(); + message.dataConfig = $root.flyteidl.core.DataLoadingConfig.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -14795,58 +15465,58 @@ }; /** - * Verifies an Identity message. + * Verifies a K8sPod message. * @function verify - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.K8sPod * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Identity.verify = function verify(message) { + K8sPod.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.iamRole != null && message.hasOwnProperty("iamRole")) - if (!$util.isString(message.iamRole)) - return "iamRole: string expected"; - if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) - if (!$util.isString(message.k8sServiceAccount)) - return "k8sServiceAccount: string expected"; - if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) { - var error = $root.flyteidl.core.OAuth2Client.verify(message.oauth2Client); + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.K8sObjectMetadata.verify(message.metadata); if (error) - return "oauth2Client." + error; + return "metadata." + error; + } + if (message.podSpec != null && message.hasOwnProperty("podSpec")) { + var error = $root.google.protobuf.Struct.verify(message.podSpec); + if (error) + return "podSpec." + error; + } + if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) { + var error = $root.flyteidl.core.DataLoadingConfig.verify(message.dataConfig); + if (error) + return "dataConfig." + error; } - if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) - if (!$util.isString(message.executionIdentity)) - return "executionIdentity: string expected"; return null; }; - return Identity; + return K8sPod; })(); - core.OAuth2TokenRequest = (function() { + core.K8sObjectMetadata = (function() { /** - * Properties of a OAuth2TokenRequest. + * Properties of a K8sObjectMetadata. * @memberof flyteidl.core - * @interface IOAuth2TokenRequest - * @property {string|null} [name] OAuth2TokenRequest name - * @property {flyteidl.core.OAuth2TokenRequest.Type|null} [type] OAuth2TokenRequest type - * @property {flyteidl.core.IOAuth2Client|null} [client] OAuth2TokenRequest client - * @property {string|null} [idpDiscoveryEndpoint] OAuth2TokenRequest idpDiscoveryEndpoint - * @property {string|null} [tokenEndpoint] OAuth2TokenRequest tokenEndpoint + * @interface IK8sObjectMetadata + * @property {Object.|null} [labels] K8sObjectMetadata labels + * @property {Object.|null} [annotations] K8sObjectMetadata annotations */ /** - * Constructs a new OAuth2TokenRequest. + * Constructs a new K8sObjectMetadata. * @memberof flyteidl.core - * @classdesc Represents a OAuth2TokenRequest. - * @implements IOAuth2TokenRequest + * @classdesc Represents a K8sObjectMetadata. + * @implements IK8sObjectMetadata * @constructor - * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set + * @param {flyteidl.core.IK8sObjectMetadata=} [properties] Properties to set */ - function OAuth2TokenRequest(properties) { + function K8sObjectMetadata(properties) { + this.labels = {}; + this.annotations = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14854,114 +15524,87 @@ } /** - * OAuth2TokenRequest name. - * @member {string} name - * @memberof flyteidl.core.OAuth2TokenRequest - * @instance - */ - OAuth2TokenRequest.prototype.name = ""; - - /** - * OAuth2TokenRequest type. - * @member {flyteidl.core.OAuth2TokenRequest.Type} type - * @memberof flyteidl.core.OAuth2TokenRequest + * K8sObjectMetadata labels. + * @member {Object.} labels + * @memberof flyteidl.core.K8sObjectMetadata * @instance */ - OAuth2TokenRequest.prototype.type = 0; + K8sObjectMetadata.prototype.labels = $util.emptyObject; /** - * OAuth2TokenRequest client. - * @member {flyteidl.core.IOAuth2Client|null|undefined} client - * @memberof flyteidl.core.OAuth2TokenRequest + * K8sObjectMetadata annotations. + * @member {Object.} annotations + * @memberof flyteidl.core.K8sObjectMetadata * @instance */ - OAuth2TokenRequest.prototype.client = null; + K8sObjectMetadata.prototype.annotations = $util.emptyObject; /** - * OAuth2TokenRequest idpDiscoveryEndpoint. - * @member {string} idpDiscoveryEndpoint - * @memberof flyteidl.core.OAuth2TokenRequest - * @instance + * Creates a new K8sObjectMetadata instance using the specified properties. + * @function create + * @memberof flyteidl.core.K8sObjectMetadata + * @static + * @param {flyteidl.core.IK8sObjectMetadata=} [properties] Properties to set + * @returns {flyteidl.core.K8sObjectMetadata} K8sObjectMetadata instance */ - OAuth2TokenRequest.prototype.idpDiscoveryEndpoint = ""; + K8sObjectMetadata.create = function create(properties) { + return new K8sObjectMetadata(properties); + }; /** - * OAuth2TokenRequest tokenEndpoint. - * @member {string} tokenEndpoint - * @memberof flyteidl.core.OAuth2TokenRequest - * @instance + * Encodes the specified K8sObjectMetadata message. Does not implicitly {@link flyteidl.core.K8sObjectMetadata.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.K8sObjectMetadata + * @static + * @param {flyteidl.core.IK8sObjectMetadata} message K8sObjectMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - OAuth2TokenRequest.prototype.tokenEndpoint = ""; - - /** - * Creates a new OAuth2TokenRequest instance using the specified properties. - * @function create - * @memberof flyteidl.core.OAuth2TokenRequest - * @static - * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set - * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest instance - */ - OAuth2TokenRequest.create = function create(properties) { - return new OAuth2TokenRequest(properties); - }; - - /** - * Encodes the specified OAuth2TokenRequest message. Does not implicitly {@link flyteidl.core.OAuth2TokenRequest.verify|verify} messages. - * @function encode - * @memberof flyteidl.core.OAuth2TokenRequest - * @static - * @param {flyteidl.core.IOAuth2TokenRequest} message OAuth2TokenRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - OAuth2TokenRequest.encode = function encode(message, writer) { + K8sObjectMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.type != null && message.hasOwnProperty("type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - if (message.client != null && message.hasOwnProperty("client")) - $root.flyteidl.core.OAuth2Client.encode(message.client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.idpDiscoveryEndpoint); - if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.tokenEndpoint); + if (message.labels != null && message.hasOwnProperty("labels")) + for (var keys = Object.keys(message.labels), 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.labels[keys[i]]).ldelim(); + if (message.annotations != null && message.hasOwnProperty("annotations")) + for (var keys = Object.keys(message.annotations), 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.annotations[keys[i]]).ldelim(); return writer; }; /** - * Decodes a OAuth2TokenRequest message from the specified reader or buffer. + * Decodes a K8sObjectMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.OAuth2TokenRequest + * @memberof flyteidl.core.K8sObjectMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest + * @returns {flyteidl.core.K8sObjectMetadata} K8sObjectMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OAuth2TokenRequest.decode = function decode(reader, length) { + K8sObjectMetadata.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.core.OAuth2TokenRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.K8sObjectMetadata(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.name = reader.string(); + reader.skip().pos++; + if (message.labels === $util.emptyObject) + message.labels = {}; + key = reader.string(); + reader.pos++; + message.labels[key] = reader.string(); break; case 2: - message.type = reader.int32(); - break; - case 3: - message.client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); - break; - case 4: - message.idpDiscoveryEndpoint = reader.string(); - break; - case 5: - message.tokenEndpoint = reader.string(); + reader.skip().pos++; + if (message.annotations === $util.emptyObject) + message.annotations = {}; + key = reader.string(); + reader.pos++; + message.annotations[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -14972,77 +15615,57 @@ }; /** - * Verifies a OAuth2TokenRequest message. + * Verifies a K8sObjectMetadata message. * @function verify - * @memberof flyteidl.core.OAuth2TokenRequest + * @memberof flyteidl.core.K8sObjectMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OAuth2TokenRequest.verify = function verify(message) { + K8sObjectMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - break; - } - if (message.client != null && message.hasOwnProperty("client")) { - var error = $root.flyteidl.core.OAuth2Client.verify(message.client); - if (error) - return "client." + 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.annotations != null && message.hasOwnProperty("annotations")) { + if (!$util.isObject(message.annotations)) + return "annotations: object expected"; + var key = Object.keys(message.annotations); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.annotations[key[i]])) + return "annotations: string{k:string} expected"; } - if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) - if (!$util.isString(message.idpDiscoveryEndpoint)) - return "idpDiscoveryEndpoint: string expected"; - if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) - if (!$util.isString(message.tokenEndpoint)) - return "tokenEndpoint: string expected"; return null; }; - /** - * Type enum. - * @name flyteidl.core.OAuth2TokenRequest.Type - * @enum {string} - * @property {number} CLIENT_CREDENTIALS=0 CLIENT_CREDENTIALS value - */ - OAuth2TokenRequest.Type = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "CLIENT_CREDENTIALS"] = 0; - return values; - })(); - - return OAuth2TokenRequest; + return K8sObjectMetadata; })(); - core.SecurityContext = (function() { + core.Sql = (function() { /** - * Properties of a SecurityContext. + * Properties of a Sql. * @memberof flyteidl.core - * @interface ISecurityContext - * @property {flyteidl.core.IIdentity|null} [runAs] SecurityContext runAs - * @property {Array.|null} [secrets] SecurityContext secrets - * @property {Array.|null} [tokens] SecurityContext tokens + * @interface ISql + * @property {string|null} [statement] Sql statement + * @property {flyteidl.core.Sql.Dialect|null} [dialect] Sql dialect */ /** - * Constructs a new SecurityContext. + * Constructs a new Sql. * @memberof flyteidl.core - * @classdesc Represents a SecurityContext. - * @implements ISecurityContext + * @classdesc Represents a Sql. + * @implements ISql * @constructor - * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set + * @param {flyteidl.core.ISql=} [properties] Properties to set */ - function SecurityContext(properties) { - this.secrets = []; - this.tokens = []; + function Sql(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15050,94 +15673,75 @@ } /** - * SecurityContext runAs. - * @member {flyteidl.core.IIdentity|null|undefined} runAs - * @memberof flyteidl.core.SecurityContext - * @instance - */ - SecurityContext.prototype.runAs = null; - - /** - * SecurityContext secrets. - * @member {Array.} secrets - * @memberof flyteidl.core.SecurityContext + * Sql statement. + * @member {string} statement + * @memberof flyteidl.core.Sql * @instance */ - SecurityContext.prototype.secrets = $util.emptyArray; + Sql.prototype.statement = ""; /** - * SecurityContext tokens. - * @member {Array.} tokens - * @memberof flyteidl.core.SecurityContext + * Sql dialect. + * @member {flyteidl.core.Sql.Dialect} dialect + * @memberof flyteidl.core.Sql * @instance */ - SecurityContext.prototype.tokens = $util.emptyArray; + Sql.prototype.dialect = 0; /** - * Creates a new SecurityContext instance using the specified properties. + * Creates a new Sql instance using the specified properties. * @function create - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.Sql * @static - * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set - * @returns {flyteidl.core.SecurityContext} SecurityContext instance + * @param {flyteidl.core.ISql=} [properties] Properties to set + * @returns {flyteidl.core.Sql} Sql instance */ - SecurityContext.create = function create(properties) { - return new SecurityContext(properties); + Sql.create = function create(properties) { + return new Sql(properties); }; /** - * Encodes the specified SecurityContext message. Does not implicitly {@link flyteidl.core.SecurityContext.verify|verify} messages. + * Encodes the specified Sql message. Does not implicitly {@link flyteidl.core.Sql.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.Sql * @static - * @param {flyteidl.core.ISecurityContext} message SecurityContext message or plain object to encode + * @param {flyteidl.core.ISql} message Sql message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SecurityContext.encode = function encode(message, writer) { + Sql.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.runAs != null && message.hasOwnProperty("runAs")) - $root.flyteidl.core.Identity.encode(message.runAs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.secrets != null && message.secrets.length) - for (var i = 0; i < message.secrets.length; ++i) - $root.flyteidl.core.Secret.encode(message.secrets[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.tokens != null && message.tokens.length) - for (var i = 0; i < message.tokens.length; ++i) - $root.flyteidl.core.OAuth2TokenRequest.encode(message.tokens[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.statement != null && message.hasOwnProperty("statement")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.statement); + if (message.dialect != null && message.hasOwnProperty("dialect")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.dialect); return writer; }; /** - * Decodes a SecurityContext message from the specified reader or buffer. + * Decodes a Sql message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.Sql * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SecurityContext} SecurityContext + * @returns {flyteidl.core.Sql} Sql * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SecurityContext.decode = function decode(reader, length) { + Sql.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.core.SecurityContext(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Sql(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.runAs = $root.flyteidl.core.Identity.decode(reader, reader.uint32()); + message.statement = reader.string(); break; case 2: - if (!(message.secrets && message.secrets.length)) - message.secrets = []; - message.secrets.push($root.flyteidl.core.Secret.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.tokens && message.tokens.length)) - message.tokens = []; - message.tokens.push($root.flyteidl.core.OAuth2TokenRequest.decode(reader, reader.uint32())); + message.dialect = reader.int32(); break; default: reader.skipType(tag & 7); @@ -15148,71 +15752,74 @@ }; /** - * Verifies a SecurityContext message. + * Verifies a Sql message. * @function verify - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.Sql * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SecurityContext.verify = function verify(message) { + Sql.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.runAs != null && message.hasOwnProperty("runAs")) { - var error = $root.flyteidl.core.Identity.verify(message.runAs); - if (error) - return "runAs." + error; - } - if (message.secrets != null && message.hasOwnProperty("secrets")) { - if (!Array.isArray(message.secrets)) - return "secrets: array expected"; - for (var i = 0; i < message.secrets.length; ++i) { - var error = $root.flyteidl.core.Secret.verify(message.secrets[i]); - if (error) - return "secrets." + error; - } - } - if (message.tokens != null && message.hasOwnProperty("tokens")) { - if (!Array.isArray(message.tokens)) - return "tokens: array expected"; - for (var i = 0; i < message.tokens.length; ++i) { - var error = $root.flyteidl.core.OAuth2TokenRequest.verify(message.tokens[i]); - if (error) - return "tokens." + error; + if (message.statement != null && message.hasOwnProperty("statement")) + if (!$util.isString(message.statement)) + return "statement: string expected"; + if (message.dialect != null && message.hasOwnProperty("dialect")) + switch (message.dialect) { + default: + return "dialect: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; } - } return null; }; - return SecurityContext; + /** + * Dialect enum. + * @name flyteidl.core.Sql.Dialect + * @enum {string} + * @property {number} UNDEFINED=0 UNDEFINED value + * @property {number} ANSI=1 ANSI value + * @property {number} HIVE=2 HIVE value + * @property {number} OTHER=3 OTHER value + */ + Sql.Dialect = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNDEFINED"] = 0; + values[valuesById[1] = "ANSI"] = 1; + values[valuesById[2] = "HIVE"] = 2; + values[valuesById[3] = "OTHER"] = 3; + return values; + })(); + + return Sql; })(); - core.DynamicJobSpec = (function() { + core.Secret = (function() { /** - * Properties of a DynamicJobSpec. + * Properties of a Secret. * @memberof flyteidl.core - * @interface IDynamicJobSpec - * @property {Array.|null} [nodes] DynamicJobSpec nodes - * @property {Long|null} [minSuccesses] DynamicJobSpec minSuccesses - * @property {Array.|null} [outputs] DynamicJobSpec outputs - * @property {Array.|null} [tasks] DynamicJobSpec tasks - * @property {Array.|null} [subworkflows] DynamicJobSpec subworkflows + * @interface ISecret + * @property {string|null} [group] Secret group + * @property {string|null} [groupVersion] Secret groupVersion + * @property {string|null} [key] Secret key + * @property {flyteidl.core.Secret.MountType|null} [mountRequirement] Secret mountRequirement */ /** - * Constructs a new DynamicJobSpec. + * Constructs a new Secret. * @memberof flyteidl.core - * @classdesc Represents a DynamicJobSpec. - * @implements IDynamicJobSpec + * @classdesc Represents a Secret. + * @implements ISecret * @constructor - * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set + * @param {flyteidl.core.ISecret=} [properties] Properties to set */ - function DynamicJobSpec(properties) { - this.nodes = []; - this.outputs = []; - this.tasks = []; - this.subworkflows = []; + function Secret(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15220,126 +15827,101 @@ } /** - * DynamicJobSpec nodes. - * @member {Array.} nodes - * @memberof flyteidl.core.DynamicJobSpec - * @instance - */ - DynamicJobSpec.prototype.nodes = $util.emptyArray; - - /** - * DynamicJobSpec minSuccesses. - * @member {Long} minSuccesses - * @memberof flyteidl.core.DynamicJobSpec + * Secret group. + * @member {string} group + * @memberof flyteidl.core.Secret * @instance */ - DynamicJobSpec.prototype.minSuccesses = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + Secret.prototype.group = ""; /** - * DynamicJobSpec outputs. - * @member {Array.} outputs - * @memberof flyteidl.core.DynamicJobSpec + * Secret groupVersion. + * @member {string} groupVersion + * @memberof flyteidl.core.Secret * @instance */ - DynamicJobSpec.prototype.outputs = $util.emptyArray; + Secret.prototype.groupVersion = ""; /** - * DynamicJobSpec tasks. - * @member {Array.} tasks - * @memberof flyteidl.core.DynamicJobSpec + * Secret key. + * @member {string} key + * @memberof flyteidl.core.Secret * @instance */ - DynamicJobSpec.prototype.tasks = $util.emptyArray; + Secret.prototype.key = ""; /** - * DynamicJobSpec subworkflows. - * @member {Array.} subworkflows - * @memberof flyteidl.core.DynamicJobSpec + * Secret mountRequirement. + * @member {flyteidl.core.Secret.MountType} mountRequirement + * @memberof flyteidl.core.Secret * @instance */ - DynamicJobSpec.prototype.subworkflows = $util.emptyArray; + Secret.prototype.mountRequirement = 0; /** - * Creates a new DynamicJobSpec instance using the specified properties. + * Creates a new Secret instance using the specified properties. * @function create - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Secret * @static - * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set - * @returns {flyteidl.core.DynamicJobSpec} DynamicJobSpec instance + * @param {flyteidl.core.ISecret=} [properties] Properties to set + * @returns {flyteidl.core.Secret} Secret instance */ - DynamicJobSpec.create = function create(properties) { - return new DynamicJobSpec(properties); + Secret.create = function create(properties) { + return new Secret(properties); }; /** - * Encodes the specified DynamicJobSpec message. Does not implicitly {@link flyteidl.core.DynamicJobSpec.verify|verify} messages. + * Encodes the specified Secret message. Does not implicitly {@link flyteidl.core.Secret.verify|verify} messages. * @function encode - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Secret * @static - * @param {flyteidl.core.IDynamicJobSpec} message DynamicJobSpec message or plain object to encode + * @param {flyteidl.core.ISecret} message Secret message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DynamicJobSpec.encode = function encode(message, writer) { + Secret.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodes != null && message.nodes.length) - for (var i = 0; i < message.nodes.length; ++i) - $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.minSuccesses); - if (message.outputs != null && message.outputs.length) - for (var i = 0; i < message.outputs.length; ++i) - $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.tasks != null && message.tasks.length) - for (var i = 0; i < message.tasks.length; ++i) - $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 4, wireType 2 =*/34).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 5, wireType 2 =*/42).fork()).ldelim(); + if (message.group != null && message.hasOwnProperty("group")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.group); + if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.groupVersion); + if (message.key != null && message.hasOwnProperty("key")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.key); + if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.mountRequirement); return writer; }; /** - * Decodes a DynamicJobSpec message from the specified reader or buffer. + * Decodes a Secret message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Secret * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.DynamicJobSpec} DynamicJobSpec + * @returns {flyteidl.core.Secret} Secret * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DynamicJobSpec.decode = function decode(reader, length) { + Secret.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.core.DynamicJobSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Secret(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.nodes && message.nodes.length)) - message.nodes = []; - message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); + message.group = reader.string(); break; case 2: - message.minSuccesses = reader.int64(); + message.groupVersion = reader.string(); break; case 3: - if (!(message.outputs && message.outputs.length)) - message.outputs = []; - message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); + message.key = reader.string(); break; case 4: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.subworkflows && message.subworkflows.length)) - message.subworkflows = []; - message.subworkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32())); + message.mountRequirement = reader.int32(); break; default: reader.skipType(tag & 7); @@ -15350,82 +15932,75 @@ }; /** - * Verifies a DynamicJobSpec message. + * Verifies a Secret message. * @function verify - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Secret * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DynamicJobSpec.verify = function verify(message) { + Secret.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodes != null && message.hasOwnProperty("nodes")) { - if (!Array.isArray(message.nodes)) - return "nodes: array expected"; - for (var i = 0; i < message.nodes.length; ++i) { - var error = $root.flyteidl.core.Node.verify(message.nodes[i]); - if (error) - return "nodes." + error; - } - } - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) - if (!$util.isInteger(message.minSuccesses) && !(message.minSuccesses && $util.isInteger(message.minSuccesses.low) && $util.isInteger(message.minSuccesses.high))) - return "minSuccesses: integer|Long expected"; - if (message.outputs != null && message.hasOwnProperty("outputs")) { - if (!Array.isArray(message.outputs)) - return "outputs: array expected"; - for (var i = 0; i < message.outputs.length; ++i) { - var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); - if (error) - return "outputs." + error; - } - } - 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.core.TaskTemplate.verify(message.tasks[i]); - if (error) - return "tasks." + 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.group != null && message.hasOwnProperty("group")) + if (!$util.isString(message.group)) + return "group: string expected"; + if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) + if (!$util.isString(message.groupVersion)) + return "groupVersion: string expected"; + if (message.key != null && message.hasOwnProperty("key")) + if (!$util.isString(message.key)) + return "key: string expected"; + if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) + switch (message.mountRequirement) { + default: + return "mountRequirement: enum value expected"; + case 0: + case 1: + case 2: + break; } - } return null; }; - return DynamicJobSpec; + /** + * MountType enum. + * @name flyteidl.core.Secret.MountType + * @enum {string} + * @property {number} ANY=0 ANY value + * @property {number} ENV_VAR=1 ENV_VAR value + * @property {number} FILE=2 FILE value + */ + Secret.MountType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "ANY"] = 0; + values[valuesById[1] = "ENV_VAR"] = 1; + values[valuesById[2] = "FILE"] = 2; + return values; + })(); + + return Secret; })(); - core.ContainerError = (function() { + core.OAuth2Client = (function() { /** - * Properties of a ContainerError. + * Properties of a OAuth2Client. * @memberof flyteidl.core - * @interface IContainerError - * @property {string|null} [code] ContainerError code - * @property {string|null} [message] ContainerError message - * @property {flyteidl.core.ContainerError.Kind|null} [kind] ContainerError kind - * @property {flyteidl.core.ExecutionError.ErrorKind|null} [origin] ContainerError origin + * @interface IOAuth2Client + * @property {string|null} [clientId] OAuth2Client clientId + * @property {flyteidl.core.ISecret|null} [clientSecret] OAuth2Client clientSecret */ /** - * Constructs a new ContainerError. + * Constructs a new OAuth2Client. * @memberof flyteidl.core - * @classdesc Represents a ContainerError. - * @implements IContainerError + * @classdesc Represents a OAuth2Client. + * @implements IOAuth2Client * @constructor - * @param {flyteidl.core.IContainerError=} [properties] Properties to set + * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set */ - function ContainerError(properties) { + function OAuth2Client(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15433,101 +16008,75 @@ } /** - * ContainerError code. - * @member {string} code - * @memberof flyteidl.core.ContainerError - * @instance - */ - ContainerError.prototype.code = ""; - - /** - * ContainerError message. - * @member {string} message - * @memberof flyteidl.core.ContainerError - * @instance - */ - ContainerError.prototype.message = ""; - - /** - * ContainerError kind. - * @member {flyteidl.core.ContainerError.Kind} kind - * @memberof flyteidl.core.ContainerError + * OAuth2Client clientId. + * @member {string} clientId + * @memberof flyteidl.core.OAuth2Client * @instance */ - ContainerError.prototype.kind = 0; + OAuth2Client.prototype.clientId = ""; /** - * ContainerError origin. - * @member {flyteidl.core.ExecutionError.ErrorKind} origin - * @memberof flyteidl.core.ContainerError + * OAuth2Client clientSecret. + * @member {flyteidl.core.ISecret|null|undefined} clientSecret + * @memberof flyteidl.core.OAuth2Client * @instance */ - ContainerError.prototype.origin = 0; + OAuth2Client.prototype.clientSecret = null; /** - * Creates a new ContainerError instance using the specified properties. + * Creates a new OAuth2Client instance using the specified properties. * @function create - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.OAuth2Client * @static - * @param {flyteidl.core.IContainerError=} [properties] Properties to set - * @returns {flyteidl.core.ContainerError} ContainerError instance + * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set + * @returns {flyteidl.core.OAuth2Client} OAuth2Client instance */ - ContainerError.create = function create(properties) { - return new ContainerError(properties); + OAuth2Client.create = function create(properties) { + return new OAuth2Client(properties); }; /** - * Encodes the specified ContainerError message. Does not implicitly {@link flyteidl.core.ContainerError.verify|verify} messages. + * Encodes the specified OAuth2Client message. Does not implicitly {@link flyteidl.core.OAuth2Client.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.OAuth2Client * @static - * @param {flyteidl.core.IContainerError} message ContainerError message or plain object to encode + * @param {flyteidl.core.IOAuth2Client} message OAuth2Client message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ContainerError.encode = function encode(message, writer) { + OAuth2Client.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.code != null && message.hasOwnProperty("code")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.code); - if (message.message != null && message.hasOwnProperty("message")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); - if (message.kind != null && message.hasOwnProperty("kind")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.kind); - if (message.origin != null && message.hasOwnProperty("origin")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.origin); + if (message.clientId != null && message.hasOwnProperty("clientId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.clientId); + if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) + $root.flyteidl.core.Secret.encode(message.clientSecret, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ContainerError message from the specified reader or buffer. + * Decodes a OAuth2Client message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.OAuth2Client * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ContainerError} ContainerError + * @returns {flyteidl.core.OAuth2Client} OAuth2Client * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ContainerError.decode = function decode(reader, length) { + OAuth2Client.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.core.ContainerError(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.OAuth2Client(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.code = reader.string(); + message.clientId = reader.string(); break; case 2: - message.message = reader.string(); - break; - case 3: - message.kind = reader.int32(); - break; - case 4: - message.origin = reader.int32(); + message.clientSecret = $root.flyteidl.core.Secret.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -15538,77 +16087,51 @@ }; /** - * Verifies a ContainerError message. + * Verifies a OAuth2Client message. * @function verify - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.OAuth2Client * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ContainerError.verify = function verify(message) { + OAuth2Client.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.code != null && message.hasOwnProperty("code")) - if (!$util.isString(message.code)) - return "code: string expected"; - if (message.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string expected"; - if (message.kind != null && message.hasOwnProperty("kind")) - switch (message.kind) { - default: - return "kind: enum value expected"; - case 0: - case 1: - break; - } - if (message.origin != null && message.hasOwnProperty("origin")) - switch (message.origin) { - default: - return "origin: enum value expected"; - case 0: - case 1: - case 2: - break; - } + if (message.clientId != null && message.hasOwnProperty("clientId")) + if (!$util.isString(message.clientId)) + return "clientId: string expected"; + if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) { + var error = $root.flyteidl.core.Secret.verify(message.clientSecret); + if (error) + return "clientSecret." + error; + } return null; }; - /** - * Kind enum. - * @name flyteidl.core.ContainerError.Kind - * @enum {string} - * @property {number} NON_RECOVERABLE=0 NON_RECOVERABLE value - * @property {number} RECOVERABLE=1 RECOVERABLE value - */ - ContainerError.Kind = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NON_RECOVERABLE"] = 0; - values[valuesById[1] = "RECOVERABLE"] = 1; - return values; - })(); - - return ContainerError; + return OAuth2Client; })(); - core.ErrorDocument = (function() { + core.Identity = (function() { /** - * Properties of an ErrorDocument. + * Properties of an Identity. * @memberof flyteidl.core - * @interface IErrorDocument - * @property {flyteidl.core.IContainerError|null} [error] ErrorDocument error + * @interface IIdentity + * @property {string|null} [iamRole] Identity iamRole + * @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount + * @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client + * @property {string|null} [executionIdentity] Identity executionIdentity */ /** - * Constructs a new ErrorDocument. + * Constructs a new Identity. * @memberof flyteidl.core - * @classdesc Represents an ErrorDocument. - * @implements IErrorDocument + * @classdesc Represents an Identity. + * @implements IIdentity * @constructor - * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set + * @param {flyteidl.core.IIdentity=} [properties] Properties to set */ - function ErrorDocument(properties) { + function Identity(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15616,62 +16139,101 @@ } /** - * ErrorDocument error. - * @member {flyteidl.core.IContainerError|null|undefined} error - * @memberof flyteidl.core.ErrorDocument + * Identity iamRole. + * @member {string} iamRole + * @memberof flyteidl.core.Identity * @instance */ - ErrorDocument.prototype.error = null; + Identity.prototype.iamRole = ""; /** - * Creates a new ErrorDocument instance using the specified properties. + * Identity k8sServiceAccount. + * @member {string} k8sServiceAccount + * @memberof flyteidl.core.Identity + * @instance + */ + Identity.prototype.k8sServiceAccount = ""; + + /** + * Identity oauth2Client. + * @member {flyteidl.core.IOAuth2Client|null|undefined} oauth2Client + * @memberof flyteidl.core.Identity + * @instance + */ + Identity.prototype.oauth2Client = null; + + /** + * Identity executionIdentity. + * @member {string} executionIdentity + * @memberof flyteidl.core.Identity + * @instance + */ + Identity.prototype.executionIdentity = ""; + + /** + * Creates a new Identity instance using the specified properties. * @function create - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.core.Identity * @static - * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set - * @returns {flyteidl.core.ErrorDocument} ErrorDocument instance + * @param {flyteidl.core.IIdentity=} [properties] Properties to set + * @returns {flyteidl.core.Identity} Identity instance */ - ErrorDocument.create = function create(properties) { - return new ErrorDocument(properties); + Identity.create = function create(properties) { + return new Identity(properties); }; /** - * Encodes the specified ErrorDocument message. Does not implicitly {@link flyteidl.core.ErrorDocument.verify|verify} messages. + * Encodes the specified Identity message. Does not implicitly {@link flyteidl.core.Identity.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.core.Identity * @static - * @param {flyteidl.core.IErrorDocument} message ErrorDocument message or plain object to encode + * @param {flyteidl.core.IIdentity} message Identity message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ErrorDocument.encode = function encode(message, writer) { + Identity.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ContainerError.encode(message.error, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.iamRole != null && message.hasOwnProperty("iamRole")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.iamRole); + if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount); + if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) + $root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.executionIdentity); return writer; }; /** - * Decodes an ErrorDocument message from the specified reader or buffer. + * Decodes an Identity message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.core.Identity * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ErrorDocument} ErrorDocument + * @returns {flyteidl.core.Identity} Identity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ErrorDocument.decode = function decode(reader, length) { + Identity.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.core.ErrorDocument(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Identity(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.error = $root.flyteidl.core.ContainerError.decode(reader, reader.uint32()); + message.iamRole = reader.string(); + break; + case 2: + message.k8sServiceAccount = reader.string(); + break; + case 3: + message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); + break; + case 4: + message.executionIdentity = reader.string(); break; default: reader.skipType(tag & 7); @@ -15682,52 +16244,58 @@ }; /** - * Verifies an ErrorDocument message. + * Verifies an Identity message. * @function verify - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.core.Identity * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ErrorDocument.verify = function verify(message) { + Identity.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.error != null && message.hasOwnProperty("error")) { - var error = $root.flyteidl.core.ContainerError.verify(message.error); + if (message.iamRole != null && message.hasOwnProperty("iamRole")) + if (!$util.isString(message.iamRole)) + return "iamRole: string expected"; + if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) + if (!$util.isString(message.k8sServiceAccount)) + return "k8sServiceAccount: string expected"; + if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) { + var error = $root.flyteidl.core.OAuth2Client.verify(message.oauth2Client); if (error) - return "error." + error; + return "oauth2Client." + error; } + if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) + if (!$util.isString(message.executionIdentity)) + return "executionIdentity: string expected"; return null; }; - return ErrorDocument; + return Identity; })(); - core.Span = (function() { + core.OAuth2TokenRequest = (function() { /** - * Properties of a Span. + * Properties of a OAuth2TokenRequest. * @memberof flyteidl.core - * @interface ISpan - * @property {google.protobuf.ITimestamp|null} [startTime] Span startTime - * @property {google.protobuf.ITimestamp|null} [endTime] Span endTime - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowId] Span workflowId - * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeId] Span nodeId - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskId] Span taskId - * @property {string|null} [operationId] Span operationId - * @property {Array.|null} [spans] Span spans + * @interface IOAuth2TokenRequest + * @property {string|null} [name] OAuth2TokenRequest name + * @property {flyteidl.core.OAuth2TokenRequest.Type|null} [type] OAuth2TokenRequest type + * @property {flyteidl.core.IOAuth2Client|null} [client] OAuth2TokenRequest client + * @property {string|null} [idpDiscoveryEndpoint] OAuth2TokenRequest idpDiscoveryEndpoint + * @property {string|null} [tokenEndpoint] OAuth2TokenRequest tokenEndpoint */ /** - * Constructs a new Span. + * Constructs a new OAuth2TokenRequest. * @memberof flyteidl.core - * @classdesc Represents a Span. - * @implements ISpan + * @classdesc Represents a OAuth2TokenRequest. + * @implements IOAuth2TokenRequest * @constructor - * @param {flyteidl.core.ISpan=} [properties] Properties to set + * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set */ - function Span(properties) { - this.spans = []; + function OAuth2TokenRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15735,157 +16303,114 @@ } /** - * Span startTime. - * @member {google.protobuf.ITimestamp|null|undefined} startTime - * @memberof flyteidl.core.Span - * @instance - */ - Span.prototype.startTime = null; - - /** - * Span endTime. - * @member {google.protobuf.ITimestamp|null|undefined} endTime - * @memberof flyteidl.core.Span - * @instance - */ - Span.prototype.endTime = null; - - /** - * Span workflowId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowId - * @memberof flyteidl.core.Span - * @instance - */ - Span.prototype.workflowId = null; - - /** - * Span nodeId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeId - * @memberof flyteidl.core.Span + * OAuth2TokenRequest name. + * @member {string} name + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Span.prototype.nodeId = null; + OAuth2TokenRequest.prototype.name = ""; /** - * Span taskId. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskId - * @memberof flyteidl.core.Span + * OAuth2TokenRequest type. + * @member {flyteidl.core.OAuth2TokenRequest.Type} type + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Span.prototype.taskId = null; + OAuth2TokenRequest.prototype.type = 0; /** - * Span operationId. - * @member {string} operationId - * @memberof flyteidl.core.Span + * OAuth2TokenRequest client. + * @member {flyteidl.core.IOAuth2Client|null|undefined} client + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Span.prototype.operationId = ""; + OAuth2TokenRequest.prototype.client = null; /** - * Span spans. - * @member {Array.} spans - * @memberof flyteidl.core.Span + * OAuth2TokenRequest idpDiscoveryEndpoint. + * @member {string} idpDiscoveryEndpoint + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Span.prototype.spans = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + OAuth2TokenRequest.prototype.idpDiscoveryEndpoint = ""; /** - * Span id. - * @member {"workflowId"|"nodeId"|"taskId"|"operationId"|undefined} id - * @memberof flyteidl.core.Span + * OAuth2TokenRequest tokenEndpoint. + * @member {string} tokenEndpoint + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Object.defineProperty(Span.prototype, "id", { - get: $util.oneOfGetter($oneOfFields = ["workflowId", "nodeId", "taskId", "operationId"]), - set: $util.oneOfSetter($oneOfFields) - }); + OAuth2TokenRequest.prototype.tokenEndpoint = ""; /** - * Creates a new Span instance using the specified properties. + * Creates a new OAuth2TokenRequest instance using the specified properties. * @function create - * @memberof flyteidl.core.Span + * @memberof flyteidl.core.OAuth2TokenRequest * @static - * @param {flyteidl.core.ISpan=} [properties] Properties to set - * @returns {flyteidl.core.Span} Span instance + * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set + * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest instance */ - Span.create = function create(properties) { - return new Span(properties); + OAuth2TokenRequest.create = function create(properties) { + return new OAuth2TokenRequest(properties); }; /** - * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. + * Encodes the specified OAuth2TokenRequest message. Does not implicitly {@link flyteidl.core.OAuth2TokenRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Span + * @memberof flyteidl.core.OAuth2TokenRequest * @static - * @param {flyteidl.core.ISpan} message Span message or plain object to encode + * @param {flyteidl.core.IOAuth2TokenRequest} message OAuth2TokenRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Span.encode = function encode(message, writer) { + OAuth2TokenRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.startTime != null && message.hasOwnProperty("startTime")) - $root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.endTime != null && message.hasOwnProperty("endTime")) - $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.workflowId != null && message.hasOwnProperty("workflowId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.nodeId != null && message.hasOwnProperty("nodeId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.taskId != null && message.hasOwnProperty("taskId")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.operationId != null && message.hasOwnProperty("operationId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.operationId); - if (message.spans != null && message.spans.length) - for (var i = 0; i < message.spans.length; ++i) - $root.flyteidl.core.Span.encode(message.spans[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.type != null && message.hasOwnProperty("type")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); + if (message.client != null && message.hasOwnProperty("client")) + $root.flyteidl.core.OAuth2Client.encode(message.client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.idpDiscoveryEndpoint); + if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.tokenEndpoint); return writer; }; /** - * Decodes a Span message from the specified reader or buffer. + * Decodes a OAuth2TokenRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Span + * @memberof flyteidl.core.OAuth2TokenRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Span} Span + * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Span.decode = function decode(reader, length) { + OAuth2TokenRequest.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.core.Span(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.OAuth2TokenRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.name = reader.string(); break; case 2: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.type = reader.int32(); break; case 3: - message.workflowId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); break; case 4: - message.nodeId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.idpDiscoveryEndpoint = reader.string(); break; case 5: - message.taskId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 6: - message.operationId = reader.string(); - break; - case 7: - if (!(message.spans && message.spans.length)) - message.spans = []; - message.spans.push($root.flyteidl.core.Span.decode(reader, reader.uint32())); + message.tokenEndpoint = reader.string(); break; default: reader.skipType(tag & 7); @@ -15896,97 +16421,77 @@ }; /** - * Verifies a Span message. + * Verifies a OAuth2TokenRequest message. * @function verify - * @memberof flyteidl.core.Span + * @memberof flyteidl.core.OAuth2TokenRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Span.verify = function verify(message) { + OAuth2TokenRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.startTime != null && message.hasOwnProperty("startTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.startTime); - if (error) - return "startTime." + error; - } - if (message.endTime != null && message.hasOwnProperty("endTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.endTime); - if (error) - return "endTime." + error; - } - if (message.workflowId != null && message.hasOwnProperty("workflowId")) { - properties.id = 1; - { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowId); - if (error) - return "workflowId." + error; - } - } - if (message.nodeId != null && message.hasOwnProperty("nodeId")) { - if (properties.id === 1) - return "id: multiple values"; - properties.id = 1; - { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeId); - if (error) - return "nodeId." + error; - } - } - if (message.taskId != null && message.hasOwnProperty("taskId")) { - if (properties.id === 1) - return "id: multiple values"; - properties.id = 1; - { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskId); - if (error) - return "taskId." + error; - } - } - if (message.operationId != null && message.hasOwnProperty("operationId")) { - if (properties.id === 1) - return "id: multiple values"; - properties.id = 1; - if (!$util.isString(message.operationId)) - return "operationId: string expected"; - } - if (message.spans != null && message.hasOwnProperty("spans")) { - if (!Array.isArray(message.spans)) - return "spans: array expected"; - for (var i = 0; i < message.spans.length; ++i) { - var error = $root.flyteidl.core.Span.verify(message.spans[i]); - if (error) - return "spans." + error; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.type != null && message.hasOwnProperty("type")) + switch (message.type) { + default: + return "type: enum value expected"; + case 0: + break; } + if (message.client != null && message.hasOwnProperty("client")) { + var error = $root.flyteidl.core.OAuth2Client.verify(message.client); + if (error) + return "client." + error; } + if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) + if (!$util.isString(message.idpDiscoveryEndpoint)) + return "idpDiscoveryEndpoint: string expected"; + if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) + if (!$util.isString(message.tokenEndpoint)) + return "tokenEndpoint: string expected"; return null; }; - return Span; + /** + * Type enum. + * @name flyteidl.core.OAuth2TokenRequest.Type + * @enum {string} + * @property {number} CLIENT_CREDENTIALS=0 CLIENT_CREDENTIALS value + */ + OAuth2TokenRequest.Type = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "CLIENT_CREDENTIALS"] = 0; + return values; + })(); + + return OAuth2TokenRequest; })(); - core.WorkflowClosure = (function() { + core.SecurityContext = (function() { /** - * Properties of a WorkflowClosure. + * Properties of a SecurityContext. * @memberof flyteidl.core - * @interface IWorkflowClosure - * @property {flyteidl.core.IWorkflowTemplate|null} [workflow] WorkflowClosure workflow - * @property {Array.|null} [tasks] WorkflowClosure tasks + * @interface ISecurityContext + * @property {flyteidl.core.IIdentity|null} [runAs] SecurityContext runAs + * @property {Array.|null} [secrets] SecurityContext secrets + * @property {Array.|null} [tokens] SecurityContext tokens */ /** - * Constructs a new WorkflowClosure. + * Constructs a new SecurityContext. * @memberof flyteidl.core - * @classdesc Represents a WorkflowClosure. - * @implements IWorkflowClosure + * @classdesc Represents a SecurityContext. + * @implements ISecurityContext * @constructor - * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set + * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set */ - function WorkflowClosure(properties) { - this.tasks = []; + function SecurityContext(properties) { + this.secrets = []; + this.tokens = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15994,78 +16499,94 @@ } /** - * WorkflowClosure workflow. - * @member {flyteidl.core.IWorkflowTemplate|null|undefined} workflow - * @memberof flyteidl.core.WorkflowClosure + * SecurityContext runAs. + * @member {flyteidl.core.IIdentity|null|undefined} runAs + * @memberof flyteidl.core.SecurityContext * @instance */ - WorkflowClosure.prototype.workflow = null; + SecurityContext.prototype.runAs = null; /** - * WorkflowClosure tasks. - * @member {Array.} tasks - * @memberof flyteidl.core.WorkflowClosure + * SecurityContext secrets. + * @member {Array.} secrets + * @memberof flyteidl.core.SecurityContext * @instance */ - WorkflowClosure.prototype.tasks = $util.emptyArray; + SecurityContext.prototype.secrets = $util.emptyArray; /** - * Creates a new WorkflowClosure instance using the specified properties. + * SecurityContext tokens. + * @member {Array.} tokens + * @memberof flyteidl.core.SecurityContext + * @instance + */ + SecurityContext.prototype.tokens = $util.emptyArray; + + /** + * Creates a new SecurityContext instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.core.SecurityContext * @static - * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowClosure} WorkflowClosure instance + * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set + * @returns {flyteidl.core.SecurityContext} SecurityContext instance */ - WorkflowClosure.create = function create(properties) { - return new WorkflowClosure(properties); + SecurityContext.create = function create(properties) { + return new SecurityContext(properties); }; /** - * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.core.WorkflowClosure.verify|verify} messages. + * Encodes the specified SecurityContext message. Does not implicitly {@link flyteidl.core.SecurityContext.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.core.SecurityContext * @static - * @param {flyteidl.core.IWorkflowClosure} message WorkflowClosure message or plain object to encode + * @param {flyteidl.core.ISecurityContext} message SecurityContext message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowClosure.encode = function encode(message, writer) { + SecurityContext.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflow != null && message.hasOwnProperty("workflow")) - $root.flyteidl.core.WorkflowTemplate.encode(message.workflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.tasks != null && message.tasks.length) - for (var i = 0; i < message.tasks.length; ++i) - $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.runAs != null && message.hasOwnProperty("runAs")) + $root.flyteidl.core.Identity.encode(message.runAs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.secrets != null && message.secrets.length) + for (var i = 0; i < message.secrets.length; ++i) + $root.flyteidl.core.Secret.encode(message.secrets[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tokens != null && message.tokens.length) + for (var i = 0; i < message.tokens.length; ++i) + $root.flyteidl.core.OAuth2TokenRequest.encode(message.tokens[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowClosure message from the specified reader or buffer. + * Decodes a SecurityContext message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.core.SecurityContext * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowClosure} WorkflowClosure + * @returns {flyteidl.core.SecurityContext} SecurityContext * @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) { + SecurityContext.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.core.WorkflowClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SecurityContext(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.workflow = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); + message.runAs = $root.flyteidl.core.Identity.decode(reader, reader.uint32()); break; case 2: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32())); + if (!(message.secrets && message.secrets.length)) + message.secrets = []; + message.secrets.push($root.flyteidl.core.Secret.decode(reader, reader.uint32())); + break; + case 3: + if (!(message.tokens && message.tokens.length)) + message.tokens = []; + message.tokens.push($root.flyteidl.core.OAuth2TokenRequest.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -16076,72 +16597,71 @@ }; /** - * Verifies a WorkflowClosure message. + * Verifies a SecurityContext message. * @function verify - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.core.SecurityContext * @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) { + SecurityContext.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.workflow != null && message.hasOwnProperty("workflow")) { - var error = $root.flyteidl.core.WorkflowTemplate.verify(message.workflow); + if (message.runAs != null && message.hasOwnProperty("runAs")) { + var error = $root.flyteidl.core.Identity.verify(message.runAs); if (error) - return "workflow." + error; + return "runAs." + error; } - 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.core.TaskTemplate.verify(message.tasks[i]); + if (message.secrets != null && message.hasOwnProperty("secrets")) { + if (!Array.isArray(message.secrets)) + return "secrets: array expected"; + for (var i = 0; i < message.secrets.length; ++i) { + var error = $root.flyteidl.core.Secret.verify(message.secrets[i]); if (error) - return "tasks." + error; + return "secrets." + error; + } + } + if (message.tokens != null && message.hasOwnProperty("tokens")) { + if (!Array.isArray(message.tokens)) + return "tokens: array expected"; + for (var i = 0; i < message.tokens.length; ++i) { + var error = $root.flyteidl.core.OAuth2TokenRequest.verify(message.tokens[i]); + if (error) + return "tokens." + error; } } return null; }; - return WorkflowClosure; + return SecurityContext; })(); - return core; - })(); - - flyteidl.event = (function() { - - /** - * Namespace event. - * @memberof flyteidl - * @namespace - */ - var event = {}; - - event.WorkflowExecutionEvent = (function() { + core.DynamicJobSpec = (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 DynamicJobSpec. + * @memberof flyteidl.core + * @interface IDynamicJobSpec + * @property {Array.|null} [nodes] DynamicJobSpec nodes + * @property {Long|null} [minSuccesses] DynamicJobSpec minSuccesses + * @property {Array.|null} [outputs] DynamicJobSpec outputs + * @property {Array.|null} [tasks] DynamicJobSpec tasks + * @property {Array.|null} [subworkflows] DynamicJobSpec subworkflows */ /** - * Constructs a new WorkflowExecutionEvent. - * @memberof flyteidl.event - * @classdesc Represents a WorkflowExecutionEvent. - * @implements IWorkflowExecutionEvent + * Constructs a new DynamicJobSpec. + * @memberof flyteidl.core + * @classdesc Represents a DynamicJobSpec. + * @implements IDynamicJobSpec * @constructor - * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set + * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set */ - function WorkflowExecutionEvent(properties) { + function DynamicJobSpec(properties) { + this.nodes = []; + this.outputs = []; + this.tasks = []; + this.subworkflows = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -16149,154 +16669,126 @@ } /** - * 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 - * @instance - */ - WorkflowExecutionEvent.prototype.producerId = ""; - - /** - * 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 + * DynamicJobSpec nodes. + * @member {Array.} nodes + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - WorkflowExecutionEvent.prototype.occurredAt = null; + DynamicJobSpec.prototype.nodes = $util.emptyArray; /** - * WorkflowExecutionEvent outputUri. - * @member {string} outputUri - * @memberof flyteidl.event.WorkflowExecutionEvent + * DynamicJobSpec minSuccesses. + * @member {Long} minSuccesses + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - WorkflowExecutionEvent.prototype.outputUri = ""; + DynamicJobSpec.prototype.minSuccesses = $util.Long ? $util.Long.fromBits(0,0,false) : 0; /** - * WorkflowExecutionEvent error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.event.WorkflowExecutionEvent + * DynamicJobSpec outputs. + * @member {Array.} outputs + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - WorkflowExecutionEvent.prototype.error = null; + DynamicJobSpec.prototype.outputs = $util.emptyArray; /** - * WorkflowExecutionEvent outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.WorkflowExecutionEvent + * DynamicJobSpec tasks. + * @member {Array.} tasks + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - WorkflowExecutionEvent.prototype.outputData = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + DynamicJobSpec.prototype.tasks = $util.emptyArray; /** - * WorkflowExecutionEvent outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.event.WorkflowExecutionEvent + * DynamicJobSpec subworkflows. + * @member {Array.} subworkflows + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - Object.defineProperty(WorkflowExecutionEvent.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + DynamicJobSpec.prototype.subworkflows = $util.emptyArray; /** - * Creates a new WorkflowExecutionEvent instance using the specified properties. + * Creates a new DynamicJobSpec instance using the specified properties. * @function create - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.core.DynamicJobSpec * @static - * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set - * @returns {flyteidl.event.WorkflowExecutionEvent} WorkflowExecutionEvent instance + * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set + * @returns {flyteidl.core.DynamicJobSpec} DynamicJobSpec instance */ - WorkflowExecutionEvent.create = function create(properties) { - return new WorkflowExecutionEvent(properties); + DynamicJobSpec.create = function create(properties) { + return new DynamicJobSpec(properties); }; /** - * Encodes the specified WorkflowExecutionEvent message. Does not implicitly {@link flyteidl.event.WorkflowExecutionEvent.verify|verify} messages. + * Encodes the specified DynamicJobSpec message. Does not implicitly {@link flyteidl.core.DynamicJobSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.core.DynamicJobSpec * @static - * @param {flyteidl.event.IWorkflowExecutionEvent} message WorkflowExecutionEvent message or plain object to encode + * @param {flyteidl.core.IDynamicJobSpec} message DynamicJobSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionEvent.encode = function encode(message, writer) { + DynamicJobSpec.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.nodes != null && message.nodes.length) + for (var i = 0; i < message.nodes.length; ++i) + $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.minSuccesses); + if (message.outputs != null && message.outputs.length) + for (var i = 0; i < message.outputs.length; ++i) + $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.tasks != null && message.tasks.length) + for (var i = 0; i < message.tasks.length; ++i) + $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 4, wireType 2 =*/34).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 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. + * Decodes a DynamicJobSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.core.DynamicJobSpec * @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.core.DynamicJobSpec} DynamicJobSpec * @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) { + DynamicJobSpec.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.core.DynamicJobSpec(); 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.nodes && message.nodes.length)) + message.nodes = []; + message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); break; case 2: - message.producerId = reader.string(); + message.minSuccesses = reader.int64(); break; case 3: - message.phase = reader.int32(); + if (!(message.outputs && message.outputs.length)) + message.outputs = []; + message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); break; case 4: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.core.TaskTemplate.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()); + if (!(message.subworkflows && message.subworkflows.length)) + message.subworkflows = []; + message.subworkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -16307,116 +16799,82 @@ }; /** - * Verifies a WorkflowExecutionEvent message. + * Verifies a DynamicJobSpec message. * @function verify - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.core.DynamicJobSpec * @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) { + DynamicJobSpec.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.nodes != null && message.hasOwnProperty("nodes")) { + if (!Array.isArray(message.nodes)) + return "nodes: array expected"; + for (var i = 0; i < message.nodes.length; ++i) { + var error = $root.flyteidl.core.Node.verify(message.nodes[i]); + if (error) + return "nodes." + error; } - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); - 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.minSuccesses != null && message.hasOwnProperty("minSuccesses")) + if (!$util.isInteger(message.minSuccesses) && !(message.minSuccesses && $util.isInteger(message.minSuccesses.low) && $util.isInteger(message.minSuccesses.high))) + return "minSuccesses: integer|Long expected"; + if (message.outputs != null && message.hasOwnProperty("outputs")) { + if (!Array.isArray(message.outputs)) + return "outputs: array expected"; + for (var i = 0; i < message.outputs.length; ++i) { + var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); + 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 (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.core.TaskTemplate.verify(message.tasks[i]); if (error) - return "error." + error; + return "tasks." + 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 (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 "outputData." + error; + return "subworkflows." + error; } } return null; }; - return WorkflowExecutionEvent; + return DynamicJobSpec; })(); - event.NodeExecutionEvent = (function() { + core.ContainerError = (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 + * Properties of a ContainerError. + * @memberof flyteidl.core + * @interface IContainerError + * @property {string|null} [code] ContainerError code + * @property {string|null} [message] ContainerError message + * @property {flyteidl.core.ContainerError.Kind|null} [kind] ContainerError kind + * @property {flyteidl.core.ExecutionError.ErrorKind|null} [origin] ContainerError origin */ /** - * Constructs a new NodeExecutionEvent. - * @memberof flyteidl.event - * @classdesc Represents a NodeExecutionEvent. - * @implements INodeExecutionEvent + * Constructs a new ContainerError. + * @memberof flyteidl.core + * @classdesc Represents a ContainerError. + * @implements IContainerError * @constructor - * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set + * @param {flyteidl.core.IContainerError=} [properties] Properties to set */ - function NodeExecutionEvent(properties) { + function ContainerError(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -16424,374 +16882,462 @@ } /** - * NodeExecutionEvent id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.event.NodeExecutionEvent + * ContainerError code. + * @member {string} code + * @memberof flyteidl.core.ContainerError * @instance */ - NodeExecutionEvent.prototype.id = null; + ContainerError.prototype.code = ""; /** - * NodeExecutionEvent producerId. - * @member {string} producerId - * @memberof flyteidl.event.NodeExecutionEvent + * ContainerError message. + * @member {string} message + * @memberof flyteidl.core.ContainerError * @instance */ - NodeExecutionEvent.prototype.producerId = ""; + ContainerError.prototype.message = ""; /** - * NodeExecutionEvent phase. - * @member {flyteidl.core.NodeExecution.Phase} phase - * @memberof flyteidl.event.NodeExecutionEvent + * ContainerError kind. + * @member {flyteidl.core.ContainerError.Kind} kind + * @memberof flyteidl.core.ContainerError * @instance */ - NodeExecutionEvent.prototype.phase = 0; + ContainerError.prototype.kind = 0; /** - * NodeExecutionEvent occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.event.NodeExecutionEvent + * ContainerError origin. + * @member {flyteidl.core.ExecutionError.ErrorKind} origin + * @memberof flyteidl.core.ContainerError * @instance */ - NodeExecutionEvent.prototype.occurredAt = null; + ContainerError.prototype.origin = 0; /** - * NodeExecutionEvent inputUri. - * @member {string} inputUri - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Creates a new ContainerError instance using the specified properties. + * @function create + * @memberof flyteidl.core.ContainerError + * @static + * @param {flyteidl.core.IContainerError=} [properties] Properties to set + * @returns {flyteidl.core.ContainerError} ContainerError instance */ - NodeExecutionEvent.prototype.inputUri = ""; + ContainerError.create = function create(properties) { + return new ContainerError(properties); + }; /** - * NodeExecutionEvent inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Encodes the specified ContainerError message. Does not implicitly {@link flyteidl.core.ContainerError.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.ContainerError + * @static + * @param {flyteidl.core.IContainerError} message ContainerError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - NodeExecutionEvent.prototype.inputData = null; + ContainerError.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && message.hasOwnProperty("code")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.code); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); + if (message.kind != null && message.hasOwnProperty("kind")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.kind); + if (message.origin != null && message.hasOwnProperty("origin")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.origin); + return writer; + }; /** - * NodeExecutionEvent outputUri. - * @member {string} outputUri - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Decodes a ContainerError message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.ContainerError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.ContainerError} ContainerError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionEvent.prototype.outputUri = ""; + ContainerError.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.core.ContainerError(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.code = reader.string(); + break; + case 2: + message.message = reader.string(); + break; + case 3: + message.kind = reader.int32(); + break; + case 4: + message.origin = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * NodeExecutionEvent error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Verifies a ContainerError message. + * @function verify + * @memberof flyteidl.core.ContainerError + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionEvent.prototype.error = null; + ContainerError.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isString(message.code)) + return "code: string expected"; + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; + if (message.kind != null && message.hasOwnProperty("kind")) + switch (message.kind) { + default: + return "kind: enum value expected"; + case 0: + case 1: + break; + } + if (message.origin != null && message.hasOwnProperty("origin")) + switch (message.origin) { + default: + return "origin: enum value expected"; + case 0: + case 1: + case 2: + break; + } + return null; + }; /** - * NodeExecutionEvent outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Kind enum. + * @name flyteidl.core.ContainerError.Kind + * @enum {string} + * @property {number} NON_RECOVERABLE=0 NON_RECOVERABLE value + * @property {number} RECOVERABLE=1 RECOVERABLE value */ - NodeExecutionEvent.prototype.outputData = null; + ContainerError.Kind = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "NON_RECOVERABLE"] = 0; + values[valuesById[1] = "RECOVERABLE"] = 1; + return values; + })(); + + return ContainerError; + })(); + + core.ErrorDocument = (function() { /** - * NodeExecutionEvent workflowNodeMetadata. - * @member {flyteidl.event.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Properties of an ErrorDocument. + * @memberof flyteidl.core + * @interface IErrorDocument + * @property {flyteidl.core.IContainerError|null} [error] ErrorDocument error */ - NodeExecutionEvent.prototype.workflowNodeMetadata = null; /** - * NodeExecutionEvent taskNodeMetadata. - * @member {flyteidl.event.ITaskNodeMetadata|null|undefined} taskNodeMetadata - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Constructs a new ErrorDocument. + * @memberof flyteidl.core + * @classdesc Represents an ErrorDocument. + * @implements IErrorDocument + * @constructor + * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set */ - NodeExecutionEvent.prototype.taskNodeMetadata = null; + function ErrorDocument(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 parentTaskMetadata. - * @member {flyteidl.event.IParentTaskExecutionMetadata|null|undefined} parentTaskMetadata - * @memberof flyteidl.event.NodeExecutionEvent + * ErrorDocument error. + * @member {flyteidl.core.IContainerError|null|undefined} error + * @memberof flyteidl.core.ErrorDocument * @instance */ - NodeExecutionEvent.prototype.parentTaskMetadata = null; + ErrorDocument.prototype.error = null; /** - * NodeExecutionEvent parentNodeMetadata. - * @member {flyteidl.event.IParentNodeExecutionMetadata|null|undefined} parentNodeMetadata - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Creates a new ErrorDocument instance using the specified properties. + * @function create + * @memberof flyteidl.core.ErrorDocument + * @static + * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set + * @returns {flyteidl.core.ErrorDocument} ErrorDocument instance */ - NodeExecutionEvent.prototype.parentNodeMetadata = null; + ErrorDocument.create = function create(properties) { + return new ErrorDocument(properties); + }; /** - * NodeExecutionEvent retryGroup. - * @member {string} retryGroup - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Encodes the specified ErrorDocument message. Does not implicitly {@link flyteidl.core.ErrorDocument.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.ErrorDocument + * @static + * @param {flyteidl.core.IErrorDocument} message ErrorDocument message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - NodeExecutionEvent.prototype.retryGroup = ""; + ErrorDocument.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ContainerError.encode(message.error, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; /** - * NodeExecutionEvent specNodeId. - * @member {string} specNodeId - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Decodes an ErrorDocument message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.ErrorDocument + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.ErrorDocument} ErrorDocument + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionEvent.prototype.specNodeId = ""; + ErrorDocument.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.core.ErrorDocument(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.error = $root.flyteidl.core.ContainerError.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * NodeExecutionEvent nodeName. - * @member {string} nodeName - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Verifies an ErrorDocument message. + * @function verify + * @memberof flyteidl.core.ErrorDocument + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionEvent.prototype.nodeName = ""; + ErrorDocument.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.error != null && message.hasOwnProperty("error")) { + var error = $root.flyteidl.core.ContainerError.verify(message.error); + if (error) + return "error." + error; + } + return null; + }; + + return ErrorDocument; + })(); + + core.Span = (function() { /** - * NodeExecutionEvent eventVersion. - * @member {number} eventVersion - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Properties of a Span. + * @memberof flyteidl.core + * @interface ISpan + * @property {google.protobuf.ITimestamp|null} [startTime] Span startTime + * @property {google.protobuf.ITimestamp|null} [endTime] Span endTime + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowId] Span workflowId + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeId] Span nodeId + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskId] Span taskId + * @property {string|null} [operationId] Span operationId + * @property {Array.|null} [spans] Span spans */ - NodeExecutionEvent.prototype.eventVersion = 0; /** - * NodeExecutionEvent isParent. - * @member {boolean} isParent - * @memberof flyteidl.event.NodeExecutionEvent - * @instance + * Constructs a new Span. + * @memberof flyteidl.core + * @classdesc Represents a Span. + * @implements ISpan + * @constructor + * @param {flyteidl.core.ISpan=} [properties] Properties to set */ - NodeExecutionEvent.prototype.isParent = false; + function Span(properties) { + this.spans = []; + 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 isDynamic. - * @member {boolean} isDynamic - * @memberof flyteidl.event.NodeExecutionEvent + * Span startTime. + * @member {google.protobuf.ITimestamp|null|undefined} startTime + * @memberof flyteidl.core.Span * @instance */ - NodeExecutionEvent.prototype.isDynamic = false; + Span.prototype.startTime = null; /** - * NodeExecutionEvent deckUri. - * @member {string} deckUri - * @memberof flyteidl.event.NodeExecutionEvent + * Span endTime. + * @member {google.protobuf.ITimestamp|null|undefined} endTime + * @memberof flyteidl.core.Span * @instance */ - NodeExecutionEvent.prototype.deckUri = ""; + Span.prototype.endTime = null; /** - * NodeExecutionEvent reportedAt. - * @member {google.protobuf.ITimestamp|null|undefined} reportedAt - * @memberof flyteidl.event.NodeExecutionEvent + * Span workflowId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowId + * @memberof flyteidl.core.Span * @instance */ - NodeExecutionEvent.prototype.reportedAt = null; + Span.prototype.workflowId = null; /** - * NodeExecutionEvent isArray. - * @member {boolean} isArray - * @memberof flyteidl.event.NodeExecutionEvent + * Span nodeId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeId + * @memberof flyteidl.core.Span * @instance */ - NodeExecutionEvent.prototype.isArray = false; + Span.prototype.nodeId = null; - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + /** + * Span taskId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskId + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.taskId = null; /** - * NodeExecutionEvent inputValue. - * @member {"inputUri"|"inputData"|undefined} inputValue - * @memberof flyteidl.event.NodeExecutionEvent + * Span operationId. + * @member {string} operationId + * @memberof flyteidl.core.Span * @instance */ - Object.defineProperty(NodeExecutionEvent.prototype, "inputValue", { - get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + Span.prototype.operationId = ""; /** - * NodeExecutionEvent outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.event.NodeExecutionEvent + * Span spans. + * @member {Array.} spans + * @memberof flyteidl.core.Span * @instance */ - Object.defineProperty(NodeExecutionEvent.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + Span.prototype.spans = $util.emptyArray; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * NodeExecutionEvent targetMetadata. - * @member {"workflowNodeMetadata"|"taskNodeMetadata"|undefined} targetMetadata - * @memberof flyteidl.event.NodeExecutionEvent + * Span id. + * @member {"workflowId"|"nodeId"|"taskId"|"operationId"|undefined} id + * @memberof flyteidl.core.Span * @instance */ - Object.defineProperty(NodeExecutionEvent.prototype, "targetMetadata", { - get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), + Object.defineProperty(Span.prototype, "id", { + get: $util.oneOfGetter($oneOfFields = ["workflowId", "nodeId", "taskId", "operationId"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new NodeExecutionEvent instance using the specified properties. + * Creates a new Span instance using the specified properties. * @function create - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.core.Span * @static - * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set - * @returns {flyteidl.event.NodeExecutionEvent} NodeExecutionEvent instance + * @param {flyteidl.core.ISpan=} [properties] Properties to set + * @returns {flyteidl.core.Span} Span instance */ - NodeExecutionEvent.create = function create(properties) { - return new NodeExecutionEvent(properties); + Span.create = function create(properties) { + return new Span(properties); }; /** - * Encodes the specified NodeExecutionEvent message. Does not implicitly {@link flyteidl.event.NodeExecutionEvent.verify|verify} messages. + * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. * @function encode - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.core.Span * @static - * @param {flyteidl.event.INodeExecutionEvent} message NodeExecutionEvent message or plain object to encode + * @param {flyteidl.core.ISpan} message Span message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionEvent.encode = function encode(message, writer) { + Span.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.startTime != null && message.hasOwnProperty("startTime")) + $root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.endTime != null && message.hasOwnProperty("endTime")) + $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.taskId != null && message.hasOwnProperty("taskId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.operationId != null && message.hasOwnProperty("operationId")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.operationId); + if (message.spans != null && message.spans.length) + for (var i = 0; i < message.spans.length; ++i) + $root.flyteidl.core.Span.encode(message.spans[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionEvent message from the specified reader or buffer. + * Decodes a Span message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.core.Span * @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.core.Span} Span * @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) { + Span.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.core.Span(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 2: - message.producerId = reader.string(); + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 3: - message.phase = reader.int32(); + message.workflowId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 4: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.nodeId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; case 5: - message.inputUri = reader.string(); - break; - case 20: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.taskId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 6: - message.outputUri = reader.string(); + message.operationId = 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()); + if (!(message.spans && message.spans.length)) + message.spans = []; + message.spans.push($root.flyteidl.core.Span.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; - default: - reader.skipType(tag & 7); + default: + reader.skipType(tag & 7); break; } } @@ -16799,168 +17345,97 @@ }; /** - * Verifies a NodeExecutionEvent message. + * Verifies a Span message. * @function verify - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.core.Span * @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) { + Span.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 (message.startTime != null && message.hasOwnProperty("startTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.startTime); if (error) - return "id." + error; + return "startTime." + 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 (message.endTime != null && message.hasOwnProperty("endTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.endTime); if (error) - return "occurredAt." + error; - } - if (message.inputUri != null && message.hasOwnProperty("inputUri")) { - properties.inputValue = 1; - if (!$util.isString(message.inputUri)) - return "inputUri: string expected"; + return "endTime." + error; } - if (message.inputData != null && message.hasOwnProperty("inputData")) { - if (properties.inputValue === 1) - return "inputValue: multiple values"; - properties.inputValue = 1; + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + properties.id = 1; { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowId); if (error) - return "inputData." + error; + return "workflowId." + 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; + if (message.nodeId != null && message.hasOwnProperty("nodeId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; { - var error = $root.flyteidl.core.ExecutionError.verify(message.error); + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeId); if (error) - return "error." + error; + return "nodeId." + error; } } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; + if (message.taskId != null && message.hasOwnProperty("taskId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskId); if (error) - return "outputData." + error; + return "taskId." + 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.operationId != null && message.hasOwnProperty("operationId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; + if (!$util.isString(message.operationId)) + return "operationId: string expected"; } - 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 (message.spans != null && message.hasOwnProperty("spans")) { + if (!Array.isArray(message.spans)) + return "spans: array expected"; + for (var i = 0; i < message.spans.length; ++i) { + var error = $root.flyteidl.core.Span.verify(message.spans[i]); if (error) - return "taskNodeMetadata." + error; + return "spans." + 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"; return null; }; - return NodeExecutionEvent; + return Span; })(); - event.WorkflowNodeMetadata = (function() { + core.WorkflowClosure = (function() { /** - * Properties of a WorkflowNodeMetadata. - * @memberof flyteidl.event - * @interface IWorkflowNodeMetadata - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId + * Properties of a WorkflowClosure. + * @memberof flyteidl.core + * @interface IWorkflowClosure + * @property {flyteidl.core.IWorkflowTemplate|null} [workflow] WorkflowClosure workflow + * @property {Array.|null} [tasks] WorkflowClosure tasks */ /** - * Constructs a new WorkflowNodeMetadata. - * @memberof flyteidl.event - * @classdesc Represents a WorkflowNodeMetadata. - * @implements IWorkflowNodeMetadata + * Constructs a new WorkflowClosure. + * @memberof flyteidl.core + * @classdesc Represents a WorkflowClosure. + * @implements IWorkflowClosure * @constructor - * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set */ - function WorkflowNodeMetadata(properties) { + function WorkflowClosure(properties) { + this.tasks = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -16968,62 +17443,78 @@ } /** - * WorkflowNodeMetadata executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.event.WorkflowNodeMetadata + * WorkflowClosure workflow. + * @member {flyteidl.core.IWorkflowTemplate|null|undefined} workflow + * @memberof flyteidl.core.WorkflowClosure * @instance */ - WorkflowNodeMetadata.prototype.executionId = null; + WorkflowClosure.prototype.workflow = null; /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * WorkflowClosure tasks. + * @member {Array.} tasks + * @memberof flyteidl.core.WorkflowClosure + * @instance + */ + WorkflowClosure.prototype.tasks = $util.emptyArray; + + /** + * Creates a new WorkflowClosure instance using the specified properties. * @function create - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.core.WorkflowClosure * @static - * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.event.WorkflowNodeMetadata} WorkflowNodeMetadata instance + * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowClosure} WorkflowClosure instance */ - WorkflowNodeMetadata.create = function create(properties) { - return new WorkflowNodeMetadata(properties); + WorkflowClosure.create = function create(properties) { + return new WorkflowClosure(properties); }; /** - * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.WorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.core.WorkflowClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.core.WorkflowClosure * @static - * @param {flyteidl.event.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode + * @param {flyteidl.core.IWorkflowClosure} message WorkflowClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowNodeMetadata.encode = function encode(message, writer) { + WorkflowClosure.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.workflow != null && message.hasOwnProperty("workflow")) + $root.flyteidl.core.WorkflowTemplate.encode(message.workflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.tasks != null && message.tasks.length) + for (var i = 0; i < message.tasks.length; ++i) + $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a WorkflowClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.core.WorkflowClosure * @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.core.WorkflowClosure} WorkflowClosure * @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) { + 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.event.WorkflowNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.workflow = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); + break; + case 2: + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -17034,49 +17525,74 @@ }; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a WorkflowClosure message. * @function verify - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.core.WorkflowClosure * @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) { + WorkflowClosure.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 (message.workflow != null && message.hasOwnProperty("workflow")) { + var error = $root.flyteidl.core.WorkflowTemplate.verify(message.workflow); if (error) - return "executionId." + error; + return "workflow." + error; + } + 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.core.TaskTemplate.verify(message.tasks[i]); + if (error) + return "tasks." + error; + } } return null; }; - return WorkflowNodeMetadata; + return WorkflowClosure; })(); - event.TaskNodeMetadata = (function() { + return core; + })(); + + flyteidl.event = (function() { + + /** + * Namespace event. + * @memberof flyteidl + * @namespace + */ + var event = {}; + + event.CloudEventWorkflowExecution = (function() { /** - * Properties of a TaskNodeMetadata. + * Properties of a CloudEventWorkflowExecution. * @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 + * @interface ICloudEventWorkflowExecution + * @property {flyteidl.event.IWorkflowExecutionEvent|null} [rawEvent] CloudEventWorkflowExecution rawEvent + * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventWorkflowExecution outputData + * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventWorkflowExecution outputInterface + * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventWorkflowExecution inputData + * @property {google.protobuf.ITimestamp|null} [scheduledAt] CloudEventWorkflowExecution scheduledAt + * @property {Array.|null} [artifactIds] CloudEventWorkflowExecution artifactIds + * @property {flyteidl.core.INodeExecutionIdentifier|null} [parentNodeExecution] CloudEventWorkflowExecution parentNodeExecution + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventWorkflowExecution referenceExecution */ /** - * Constructs a new TaskNodeMetadata. + * Constructs a new CloudEventWorkflowExecution. * @memberof flyteidl.event - * @classdesc Represents a TaskNodeMetadata. - * @implements ITaskNodeMetadata + * @classdesc Represents a CloudEventWorkflowExecution. + * @implements ICloudEventWorkflowExecution * @constructor - * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set */ - function TaskNodeMetadata(properties) { + function CloudEventWorkflowExecution(properties) { + this.artifactIds = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -17084,114 +17600,156 @@ } /** - * TaskNodeMetadata cacheStatus. - * @member {flyteidl.core.CatalogCacheStatus} cacheStatus - * @memberof flyteidl.event.TaskNodeMetadata + * CloudEventWorkflowExecution rawEvent. + * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventWorkflowExecution * @instance */ - TaskNodeMetadata.prototype.cacheStatus = 0; + CloudEventWorkflowExecution.prototype.rawEvent = null; /** - * TaskNodeMetadata catalogKey. - * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey - * @memberof flyteidl.event.TaskNodeMetadata + * CloudEventWorkflowExecution outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.CloudEventWorkflowExecution * @instance */ - TaskNodeMetadata.prototype.catalogKey = null; + CloudEventWorkflowExecution.prototype.outputData = null; /** - * TaskNodeMetadata reservationStatus. - * @member {flyteidl.core.CatalogReservation.Status} reservationStatus - * @memberof flyteidl.event.TaskNodeMetadata + * CloudEventWorkflowExecution outputInterface. + * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface + * @memberof flyteidl.event.CloudEventWorkflowExecution * @instance */ - TaskNodeMetadata.prototype.reservationStatus = 0; + CloudEventWorkflowExecution.prototype.outputInterface = null; /** - * TaskNodeMetadata checkpointUri. - * @member {string} checkpointUri - * @memberof flyteidl.event.TaskNodeMetadata + * CloudEventWorkflowExecution inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.CloudEventWorkflowExecution * @instance */ - TaskNodeMetadata.prototype.checkpointUri = ""; + CloudEventWorkflowExecution.prototype.inputData = null; /** - * TaskNodeMetadata dynamicWorkflow. - * @member {flyteidl.event.IDynamicWorkflowNodeMetadata|null|undefined} dynamicWorkflow - * @memberof flyteidl.event.TaskNodeMetadata + * CloudEventWorkflowExecution scheduledAt. + * @member {google.protobuf.ITimestamp|null|undefined} scheduledAt + * @memberof flyteidl.event.CloudEventWorkflowExecution * @instance */ - TaskNodeMetadata.prototype.dynamicWorkflow = null; + CloudEventWorkflowExecution.prototype.scheduledAt = null; /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * CloudEventWorkflowExecution artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.artifactIds = $util.emptyArray; + + /** + * CloudEventWorkflowExecution parentNodeExecution. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecution + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.parentNodeExecution = null; + + /** + * CloudEventWorkflowExecution referenceExecution. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} referenceExecution + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.referenceExecution = null; + + /** + * Creates a new CloudEventWorkflowExecution instance using the specified properties. * @function create - * @memberof flyteidl.event.TaskNodeMetadata + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static - * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.event.TaskNodeMetadata} TaskNodeMetadata instance + * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventWorkflowExecution} CloudEventWorkflowExecution instance */ - TaskNodeMetadata.create = function create(properties) { - return new TaskNodeMetadata(properties); + CloudEventWorkflowExecution.create = function create(properties) { + return new CloudEventWorkflowExecution(properties); }; /** - * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.event.TaskNodeMetadata.verify|verify} messages. + * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.event.TaskNodeMetadata + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static - * @param {flyteidl.event.ITaskNodeMetadata} message TaskNodeMetadata 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 */ - TaskNodeMetadata.encode = function encode(message, writer) { + CloudEventWorkflowExecution.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.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.WorkflowExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, 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.inputData != null && message.hasOwnProperty("inputData")) + $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) + $root.google.protobuf.Timestamp.encode(message.scheduledAt, writer.uint32(/* id 5, wireType 2 =*/42).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 6, wireType 2 =*/50).fork()).ldelim(); + if (message.parentNodeExecution != null && message.hasOwnProperty("parentNodeExecution")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.parentNodeExecution, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.TaskNodeMetadata + * @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.event.TaskNodeMetadata} TaskNodeMetadata + * @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 */ - TaskNodeMetadata.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.event.TaskNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventWorkflowExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.cacheStatus = reader.int32(); + message.rawEvent = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); break; case 2: - message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 3: - message.reservationStatus = reader.int32(); + message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); break; case 4: - message.checkpointUri = reader.string(); + message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; - case 16: - message.dynamicWorkflow = $root.flyteidl.event.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32()); + case 5: + message.scheduledAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 6: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + break; + case 7: + message.parentNodeExecution = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 8: + message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -17202,79 +17760,84 @@ }; /** - * Verifies a TaskNodeMetadata message. + * Verifies a CloudEventWorkflowExecution message. * @function verify - * @memberof flyteidl.event.TaskNodeMetadata + * @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 */ - TaskNodeMetadata.verify = function verify(message) { + CloudEventWorkflowExecution.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: - break; - } - if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) { - var error = $root.flyteidl.core.CatalogMetadata.verify(message.catalogKey); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.WorkflowExecutionEvent.verify(message.rawEvent); if (error) - return "catalogKey." + error; + return "rawEvent." + 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.outputData != null && message.hasOwnProperty("outputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); + if (error) + return "outputInterface." + error; + } + if (message.inputData != null && message.hasOwnProperty("inputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); + if (error) + return "inputData." + error; + } + if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.scheduledAt); + if (error) + return "scheduledAt." + 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.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 (message.parentNodeExecution != null && message.hasOwnProperty("parentNodeExecution")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.parentNodeExecution); if (error) - return "dynamicWorkflow." + 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; } return null; }; - return TaskNodeMetadata; + return CloudEventWorkflowExecution; })(); - event.DynamicWorkflowNodeMetadata = (function() { + event.CloudEventNodeExecution = (function() { /** - * Properties of a DynamicWorkflowNodeMetadata. + * Properties of a CloudEventNodeExecution. * @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 + * @interface ICloudEventNodeExecution + * @property {flyteidl.event.INodeExecutionEvent|null} [rawEvent] CloudEventNodeExecution rawEvent */ /** - * Constructs a new DynamicWorkflowNodeMetadata. + * Constructs a new CloudEventNodeExecution. * @memberof flyteidl.event - * @classdesc Represents a DynamicWorkflowNodeMetadata. - * @implements IDynamicWorkflowNodeMetadata + * @classdesc Represents a CloudEventNodeExecution. + * @implements ICloudEventNodeExecution * @constructor - * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set */ - function DynamicWorkflowNodeMetadata(properties) { + function CloudEventNodeExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -17282,88 +17845,62 @@ } /** - * 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 - * @instance - */ - DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; - - /** - * DynamicWorkflowNodeMetadata dynamicJobSpecUri. - * @member {string} dynamicJobSpecUri - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * CloudEventNodeExecution rawEvent. + * @member {flyteidl.event.INodeExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + CloudEventNodeExecution.prototype.rawEvent = null; /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * Creates a new CloudEventNodeExecution instance using the specified properties. * @function create - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @memberof flyteidl.event.CloudEventNodeExecution * @static - * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.event.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance + * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventNodeExecution} CloudEventNodeExecution instance */ - DynamicWorkflowNodeMetadata.create = function create(properties) { - return new DynamicWorkflowNodeMetadata(properties); + CloudEventNodeExecution.create = function create(properties) { + return new CloudEventNodeExecution(properties); }; /** - * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.DynamicWorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @memberof flyteidl.event.CloudEventNodeExecution * @static - * @param {flyteidl.event.IDynamicWorkflowNodeMetadata} message DynamicWorkflowNodeMetadata 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 */ - DynamicWorkflowNodeMetadata.encode = function encode(message, writer) { + CloudEventNodeExecution.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.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.NodeExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a CloudEventNodeExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @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.event.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata + * @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 */ - DynamicWorkflowNodeMetadata.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.event.DynamicWorkflowNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventNodeExecution(); 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.rawEvent = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -17374,53 +17911,53 @@ }; /** - * Verifies a DynamicWorkflowNodeMetadata message. + * Verifies a CloudEventNodeExecution message. * @function verify - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @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 */ - DynamicWorkflowNodeMetadata.verify = function verify(message) { + CloudEventNodeExecution.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.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.NodeExecutionEvent.verify(message.rawEvent); if (error) - return "compiledWorkflow." + error; + return "rawEvent." + error; } - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - if (!$util.isString(message.dynamicJobSpecUri)) - return "dynamicJobSpecUri: string expected"; return null; }; - return DynamicWorkflowNodeMetadata; + return CloudEventNodeExecution; })(); - event.ParentTaskExecutionMetadata = (function() { + event.CloudEventTaskExecution = (function() { /** - * Properties of a ParentTaskExecutionMetadata. + * Properties of a CloudEventTaskExecution. * @memberof flyteidl.event - * @interface IParentTaskExecutionMetadata - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] ParentTaskExecutionMetadata id + * @interface ICloudEventTaskExecution + * @property {flyteidl.event.ITaskExecutionEvent|null} [rawEvent] CloudEventTaskExecution rawEvent + * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventTaskExecution outputData + * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventTaskExecution outputInterface + * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventTaskExecution inputData + * @property {google.protobuf.ITimestamp|null} [scheduledAt] CloudEventTaskExecution scheduledAt + * @property {Array.|null} [artifactIds] CloudEventTaskExecution artifactIds + * @property {flyteidl.core.INodeExecutionIdentifier|null} [parentNodeExecution] CloudEventTaskExecution parentNodeExecution + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventTaskExecution referenceExecution */ /** - * Constructs a new ParentTaskExecutionMetadata. + * Constructs a new CloudEventTaskExecution. * @memberof flyteidl.event - * @classdesc Represents a ParentTaskExecutionMetadata. - * @implements IParentTaskExecutionMetadata + * @classdesc Represents a CloudEventTaskExecution. + * @implements ICloudEventTaskExecution * @constructor - * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set */ - function ParentTaskExecutionMetadata(properties) { + function CloudEventTaskExecution(properties) { + this.artifactIds = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -17428,62 +17965,156 @@ } /** - * ParentTaskExecutionMetadata id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * CloudEventTaskExecution rawEvent. + * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventTaskExecution * @instance */ - ParentTaskExecutionMetadata.prototype.id = null; + CloudEventTaskExecution.prototype.rawEvent = null; /** - * Creates a new ParentTaskExecutionMetadata instance using the specified properties. + * CloudEventTaskExecution outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.outputData = null; + + /** + * CloudEventTaskExecution outputInterface. + * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.outputInterface = null; + + /** + * CloudEventTaskExecution inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.inputData = null; + + /** + * CloudEventTaskExecution scheduledAt. + * @member {google.protobuf.ITimestamp|null|undefined} scheduledAt + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.scheduledAt = null; + + /** + * CloudEventTaskExecution artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.artifactIds = $util.emptyArray; + + /** + * CloudEventTaskExecution parentNodeExecution. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecution + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.parentNodeExecution = null; + + /** + * CloudEventTaskExecution referenceExecution. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} referenceExecution + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.referenceExecution = null; + + /** + * Creates a new CloudEventTaskExecution instance using the specified properties. * @function create - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @memberof flyteidl.event.CloudEventTaskExecution * @static - * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.event.ParentTaskExecutionMetadata} ParentTaskExecutionMetadata instance + * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventTaskExecution} CloudEventTaskExecution instance */ - ParentTaskExecutionMetadata.create = function create(properties) { - return new ParentTaskExecutionMetadata(properties); + CloudEventTaskExecution.create = function create(properties) { + return new CloudEventTaskExecution(properties); }; /** - * Encodes the specified ParentTaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentTaskExecutionMetadata.verify|verify} messages. + * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @memberof flyteidl.event.CloudEventTaskExecution * @static - * @param {flyteidl.event.IParentTaskExecutionMetadata} message ParentTaskExecutionMetadata 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 */ - ParentTaskExecutionMetadata.encode = function encode(message, writer) { + CloudEventTaskExecution.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.TaskExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, 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.inputData != null && message.hasOwnProperty("inputData")) + $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) + $root.google.protobuf.Timestamp.encode(message.scheduledAt, writer.uint32(/* id 5, wireType 2 =*/42).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 6, wireType 2 =*/50).fork()).ldelim(); + if (message.parentNodeExecution != null && message.hasOwnProperty("parentNodeExecution")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.parentNodeExecution, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. + * Decodes a CloudEventTaskExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @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.event.ParentTaskExecutionMetadata} ParentTaskExecutionMetadata + * @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 */ - ParentTaskExecutionMetadata.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.event.ParentTaskExecutionMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventTaskExecution(); 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.TaskExecutionEvent.decode(reader, reader.uint32()); + break; + case 2: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 3: + message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); + break; + case 4: + message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 5: + message.scheduledAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 6: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + break; + case 7: + message.parentNodeExecution = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 8: + message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -17494,45 +18125,90 @@ }; /** - * Verifies a ParentTaskExecutionMetadata message. + * Verifies a CloudEventTaskExecution message. * @function verify - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @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 */ - ParentTaskExecutionMetadata.verify = function verify(message) { + CloudEventTaskExecution.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.TaskExecutionEvent.verify(message.rawEvent); if (error) - return "id." + error; + return "rawEvent." + error; + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); + if (error) + return "outputInterface." + error; + } + if (message.inputData != null && message.hasOwnProperty("inputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); + if (error) + return "inputData." + error; + } + if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.scheduledAt); + if (error) + return "scheduledAt." + 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.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; } return null; }; - return ParentTaskExecutionMetadata; + return CloudEventTaskExecution; })(); - event.ParentNodeExecutionMetadata = (function() { + event.CloudEventExecutionStart = (function() { /** - * Properties of a ParentNodeExecutionMetadata. + * Properties of a CloudEventExecutionStart. * @memberof flyteidl.event - * @interface IParentNodeExecutionMetadata - * @property {string|null} [nodeId] ParentNodeExecutionMetadata nodeId + * @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} [artifactKeys] CloudEventExecutionStart artifactKeys */ /** - * Constructs a new ParentNodeExecutionMetadata. + * Constructs a new CloudEventExecutionStart. * @memberof flyteidl.event - * @classdesc Represents a ParentNodeExecutionMetadata. - * @implements IParentNodeExecutionMetadata + * @classdesc Represents a CloudEventExecutionStart. + * @implements ICloudEventExecutionStart * @constructor - * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set */ - function ParentNodeExecutionMetadata(properties) { + function CloudEventExecutionStart(properties) { + this.artifactIds = []; + this.artifactKeys = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -17540,62 +18216,120 @@ } /** - * ParentNodeExecutionMetadata nodeId. - * @member {string} nodeId - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * CloudEventExecutionStart executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - ParentNodeExecutionMetadata.prototype.nodeId = ""; + CloudEventExecutionStart.prototype.executionId = null; /** - * Creates a new ParentNodeExecutionMetadata instance using the specified properties. + * 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 artifactKeys. + * @member {Array.} artifactKeys + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance + */ + CloudEventExecutionStart.prototype.artifactKeys = $util.emptyArray; + + /** + * Creates a new CloudEventExecutionStart instance using the specified properties. * @function create - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @memberof flyteidl.event.CloudEventExecutionStart * @static - * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.event.ParentNodeExecutionMetadata} ParentNodeExecutionMetadata instance + * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventExecutionStart} CloudEventExecutionStart instance */ - ParentNodeExecutionMetadata.create = function create(properties) { - return new ParentNodeExecutionMetadata(properties); + CloudEventExecutionStart.create = function create(properties) { + return new CloudEventExecutionStart(properties); }; /** - * Encodes the specified ParentNodeExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentNodeExecutionMetadata.verify|verify} messages. + * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @memberof flyteidl.event.CloudEventExecutionStart * @static - * @param {flyteidl.event.IParentNodeExecutionMetadata} message ParentNodeExecutionMetadata 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 */ - ParentNodeExecutionMetadata.encode = function encode(message, writer) { + CloudEventExecutionStart.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); + 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.artifactKeys != null && message.artifactKeys.length) + for (var i = 0; i < message.artifactKeys.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactKeys[i]); return writer; }; /** - * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. + * Decodes a CloudEventExecutionStart message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @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.event.ParentNodeExecutionMetadata} ParentNodeExecutionMetadata + * @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 */ - ParentNodeExecutionMetadata.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.event.ParentNodeExecutionMetadata(); + 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.nodeId = reader.string(); + 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.artifactKeys && message.artifactKeys.length)) + message.artifactKeys = []; + message.artifactKeys.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -17606,44 +18340,77 @@ }; /** - * Verifies a ParentNodeExecutionMetadata message. + * Verifies a CloudEventExecutionStart message. * @function verify - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @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 */ - ParentNodeExecutionMetadata.verify = function verify(message) { + CloudEventExecutionStart.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"; + 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.artifactKeys != null && message.hasOwnProperty("artifactKeys")) { + if (!Array.isArray(message.artifactKeys)) + return "artifactKeys: array expected"; + for (var i = 0; i < message.artifactKeys.length; ++i) + if (!$util.isString(message.artifactKeys[i])) + return "artifactKeys: string[] expected"; + } return null; }; - return ParentNodeExecutionMetadata; + return CloudEventExecutionStart; })(); - event.EventReason = (function() { + event.WorkflowExecutionEvent = (function() { /** - * Properties of an EventReason. + * Properties of a WorkflowExecutionEvent. * @memberof flyteidl.event - * @interface IEventReason - * @property {string|null} [reason] EventReason reason - * @property {google.protobuf.ITimestamp|null} [occurredAt] EventReason occurredAt + * @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 EventReason. + * Constructs a new WorkflowExecutionEvent. * @memberof flyteidl.event - * @classdesc Represents an EventReason. - * @implements IEventReason + * @classdesc Represents a WorkflowExecutionEvent. + * @implements IWorkflowExecutionEvent * @constructor - * @param {flyteidl.event.IEventReason=} [properties] Properties to set + * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set */ - function EventReason(properties) { + function WorkflowExecutionEvent(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -17651,76 +18418,155 @@ } /** - * EventReason reason. - * @member {string} reason - * @memberof flyteidl.event.EventReason + * WorkflowExecutionEvent executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.event.WorkflowExecutionEvent * @instance */ - EventReason.prototype.reason = ""; + WorkflowExecutionEvent.prototype.executionId = null; /** - * EventReason occurredAt. + * WorkflowExecutionEvent producerId. + * @member {string} producerId + * @memberof flyteidl.event.WorkflowExecutionEvent + * @instance + */ + WorkflowExecutionEvent.prototype.producerId = ""; + + /** + * 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.EventReason + * @memberof flyteidl.event.WorkflowExecutionEvent * @instance */ - EventReason.prototype.occurredAt = null; + WorkflowExecutionEvent.prototype.occurredAt = null; /** - * Creates a new EventReason instance using the specified properties. + * 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.event.EventReason + * @memberof flyteidl.event.WorkflowExecutionEvent * @static - * @param {flyteidl.event.IEventReason=} [properties] Properties to set - * @returns {flyteidl.event.EventReason} EventReason instance + * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set + * @returns {flyteidl.event.WorkflowExecutionEvent} WorkflowExecutionEvent instance */ - EventReason.create = function create(properties) { - return new EventReason(properties); + WorkflowExecutionEvent.create = function create(properties) { + return new WorkflowExecutionEvent(properties); }; /** - * Encodes the specified EventReason message. Does not implicitly {@link flyteidl.event.EventReason.verify|verify} messages. + * Encodes the specified WorkflowExecutionEvent message. Does not implicitly {@link flyteidl.event.WorkflowExecutionEvent.verify|verify} messages. * @function encode - * @memberof flyteidl.event.EventReason + * @memberof flyteidl.event.WorkflowExecutionEvent * @static - * @param {flyteidl.event.IEventReason} message EventReason 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 */ - EventReason.encode = function encode(message, writer) { + WorkflowExecutionEvent.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.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 2, wireType 2 =*/18).fork()).ldelim(); + $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 an EventReason message from the specified reader or buffer. + * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.EventReason + * @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.event.EventReason} EventReason + * @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 */ - EventReason.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.event.EventReason(); + 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.reason = reader.string(); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: + 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); break; @@ -17730,69 +18576,116 @@ }; /** - * Verifies an EventReason message. + * Verifies a WorkflowExecutionEvent message. * @function verify - * @memberof flyteidl.event.EventReason + * @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 */ - EventReason.verify = function verify(message) { + WorkflowExecutionEvent.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"; + 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 (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 EventReason; + return WorkflowExecutionEvent; })(); - event.TaskExecutionEvent = (function() { + event.NodeExecutionEvent = (function() { /** - * Properties of a TaskExecutionEvent. + * Properties of a NodeExecutionEvent. * @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 + * @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 */ /** - * Constructs a new TaskExecutionEvent. + * Constructs a new NodeExecutionEvent. * @memberof flyteidl.event - * @classdesc Represents a TaskExecutionEvent. - * @implements ITaskExecutionEvent + * @classdesc Represents a NodeExecutionEvent. + * @implements INodeExecutionEvent * @constructor - * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set + * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set */ - function TaskExecutionEvent(properties) { - this.logs = []; - this.reasons = []; + function NodeExecutionEvent(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -17800,341 +18693,372 @@ } /** - * TaskExecutionEvent taskId. - * @member {flyteidl.core.IIdentifier|null|undefined} taskId - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.taskId = null; + NodeExecutionEvent.prototype.id = null; /** - * TaskExecutionEvent parentNodeExecutionId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecutionId - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent producerId. + * @member {string} producerId + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.parentNodeExecutionId = null; + NodeExecutionEvent.prototype.producerId = ""; /** - * TaskExecutionEvent retryAttempt. - * @member {number} retryAttempt - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent phase. + * @member {flyteidl.core.NodeExecution.Phase} phase + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.retryAttempt = 0; + NodeExecutionEvent.prototype.phase = 0; /** - * TaskExecutionEvent phase. - * @member {flyteidl.core.TaskExecution.Phase} phase - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.phase = 0; + NodeExecutionEvent.prototype.occurredAt = null; /** - * TaskExecutionEvent producerId. - * @member {string} producerId - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent inputUri. + * @member {string} inputUri + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.producerId = ""; + NodeExecutionEvent.prototype.inputUri = ""; /** - * TaskExecutionEvent logs. - * @member {Array.} logs - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.logs = $util.emptyArray; + NodeExecutionEvent.prototype.inputData = null; /** - * TaskExecutionEvent occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent outputUri. + * @member {string} outputUri + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.occurredAt = null; + NodeExecutionEvent.prototype.outputUri = ""; /** - * TaskExecutionEvent inputUri. - * @member {string} inputUri - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.inputUri = ""; + NodeExecutionEvent.prototype.error = null; /** - * TaskExecutionEvent inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.inputData = null; + NodeExecutionEvent.prototype.outputData = null; /** - * TaskExecutionEvent outputUri. - * @member {string} outputUri - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent workflowNodeMetadata. + * @member {flyteidl.event.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.outputUri = ""; + NodeExecutionEvent.prototype.workflowNodeMetadata = null; /** - * TaskExecutionEvent error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent taskNodeMetadata. + * @member {flyteidl.event.ITaskNodeMetadata|null|undefined} taskNodeMetadata + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.error = null; + NodeExecutionEvent.prototype.taskNodeMetadata = null; /** - * TaskExecutionEvent outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent parentTaskMetadata. + * @member {flyteidl.event.IParentTaskExecutionMetadata|null|undefined} parentTaskMetadata + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.outputData = null; + NodeExecutionEvent.prototype.parentTaskMetadata = null; /** - * TaskExecutionEvent customInfo. - * @member {google.protobuf.IStruct|null|undefined} customInfo - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent parentNodeMetadata. + * @member {flyteidl.event.IParentNodeExecutionMetadata|null|undefined} parentNodeMetadata + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.customInfo = null; + NodeExecutionEvent.prototype.parentNodeMetadata = null; /** - * TaskExecutionEvent phaseVersion. - * @member {number} phaseVersion - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent retryGroup. + * @member {string} retryGroup + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.phaseVersion = 0; + NodeExecutionEvent.prototype.retryGroup = ""; /** - * TaskExecutionEvent reason. - * @member {string} reason - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent specNodeId. + * @member {string} specNodeId + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.reason = ""; + NodeExecutionEvent.prototype.specNodeId = ""; /** - * TaskExecutionEvent reasons. - * @member {Array.} reasons - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent nodeName. + * @member {string} nodeName + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.reasons = $util.emptyArray; + NodeExecutionEvent.prototype.nodeName = ""; /** - * TaskExecutionEvent taskType. - * @member {string} taskType - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent eventVersion. + * @member {number} eventVersion + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.taskType = ""; + NodeExecutionEvent.prototype.eventVersion = 0; /** - * TaskExecutionEvent metadata. - * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent isParent. + * @member {boolean} isParent + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.metadata = null; + NodeExecutionEvent.prototype.isParent = false; /** - * TaskExecutionEvent eventVersion. - * @member {number} eventVersion - * @memberof flyteidl.event.TaskExecutionEvent + * NodeExecutionEvent isDynamic. + * @member {boolean} isDynamic + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.eventVersion = 0; + NodeExecutionEvent.prototype.isDynamic = false; /** - * TaskExecutionEvent reportedAt. + * 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.TaskExecutionEvent + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - TaskExecutionEvent.prototype.reportedAt = null; + NodeExecutionEvent.prototype.reportedAt = null; + + /** + * NodeExecutionEvent isArray. + * @member {boolean} isArray + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.isArray = false; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * TaskExecutionEvent inputValue. + * NodeExecutionEvent inputValue. * @member {"inputUri"|"inputData"|undefined} inputValue - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - Object.defineProperty(TaskExecutionEvent.prototype, "inputValue", { + Object.defineProperty(NodeExecutionEvent.prototype, "inputValue", { get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]), set: $util.oneOfSetter($oneOfFields) }); /** - * TaskExecutionEvent outputResult. + * NodeExecutionEvent outputResult. * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - Object.defineProperty(TaskExecutionEvent.prototype, "outputResult", { + Object.defineProperty(NodeExecutionEvent.prototype, "outputResult", { get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new TaskExecutionEvent instance using the specified properties. + * NodeExecutionEvent targetMetadata. + * @member {"workflowNodeMetadata"|"taskNodeMetadata"|undefined} targetMetadata + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + Object.defineProperty(NodeExecutionEvent.prototype, "targetMetadata", { + get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new NodeExecutionEvent instance using the specified properties. * @function create - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.event.NodeExecutionEvent * @static - * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set - * @returns {flyteidl.event.TaskExecutionEvent} TaskExecutionEvent instance + * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set + * @returns {flyteidl.event.NodeExecutionEvent} NodeExecutionEvent instance */ - TaskExecutionEvent.create = function create(properties) { - return new TaskExecutionEvent(properties); + NodeExecutionEvent.create = function create(properties) { + return new NodeExecutionEvent(properties); }; /** - * Encodes the specified TaskExecutionEvent message. Does not implicitly {@link flyteidl.event.TaskExecutionEvent.verify|verify} messages. + * Encodes the specified NodeExecutionEvent message. Does not implicitly {@link flyteidl.event.NodeExecutionEvent.verify|verify} messages. * @function encode - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.event.NodeExecutionEvent * @static - * @param {flyteidl.event.ITaskExecutionEvent} message TaskExecutionEvent 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 */ - TaskExecutionEvent.encode = function encode(message, writer) { + NodeExecutionEvent.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.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 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(); + 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 7, wireType 2 =*/58).fork()).ldelim(); + $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 8, wireType 2 =*/66).string(message.inputUri); + writer.uint32(/* id 5, wireType 2 =*/42).string(message.inputUri); if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.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 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(); + $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 17, wireType 2 =*/138).fork()).ldelim(); + $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 18, wireType 0 =*/144).int32(message.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 19, wireType 2 =*/154).fork()).ldelim(); + $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 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(); + $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); return writer; }; /** - * Decodes a TaskExecutionEvent message from the specified reader or buffer. + * Decodes a NodeExecutionEvent message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.TaskExecutionEvent + * @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.event.TaskExecutionEvent} TaskExecutionEvent + * @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 */ - TaskExecutionEvent.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.event.TaskExecutionEvent(); + 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: - message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.parentNodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.producerId = reader.string(); break; case 3: - message.retryAttempt = reader.uint32(); + message.phase = reader.int32(); break; case 4: - message.phase = reader.int32(); + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 5: - message.producerId = reader.string(); + message.inputUri = reader.string(); + break; + case 20: + message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 6: - if (!(message.logs && message.logs.length)) - message.logs = []; - message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); + message.outputUri = reader.string(); break; case 7: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + 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.inputUri = reader.string(); + message.workflowNodeMetadata = $root.flyteidl.event.WorkflowNodeMetadata.decode(reader, reader.uint32()); break; - case 19: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + case 14: + message.taskNodeMetadata = $root.flyteidl.event.TaskNodeMetadata.decode(reader, reader.uint32()); break; case 9: - message.outputUri = reader.string(); + message.parentTaskMetadata = $root.flyteidl.event.ParentTaskExecutionMetadata.decode(reader, reader.uint32()); 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()); + message.parentNodeMetadata = $root.flyteidl.event.ParentNodeExecutionMetadata.decode(reader, reader.uint32()); break; case 11: - message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + message.retryGroup = reader.string(); break; case 12: - message.phaseVersion = reader.uint32(); + message.specNodeId = reader.string(); 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(); + message.nodeName = reader.string(); break; case 16: - message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32()); + message.eventVersion = reader.int32(); + break; + case 17: + message.isParent = reader.bool(); break; case 18: - message.eventVersion = reader.int32(); + message.isDynamic = reader.bool(); break; - case 20: + 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; default: reader.skipType(tag & 7); break; @@ -18144,30 +19068,25 @@ }; /** - * Verifies a TaskExecutionEvent message. + * Verifies a NodeExecutionEvent message. * @function verify - * @memberof flyteidl.event.TaskExecutionEvent + * @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 */ - TaskExecutionEvent.verify = function verify(message) { + NodeExecutionEvent.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); if (error) - return "parentNodeExecutionId." + error; + return "id." + error; } - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - if (!$util.isInteger(message.retryAttempt)) - return "retryAttempt: integer expected"; + 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: @@ -18180,20 +19099,11 @@ case 5: case 6: case 7: + case 8: + case 9: + case 10: 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) @@ -18239,72 +19149,87 @@ 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.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { + properties.targetMetadata = 1; + { + var error = $root.flyteidl.event.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); + if (error) + return "workflowNodeMetadata." + 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 (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 "reasons." + error; + return "taskNodeMetadata." + 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 (message.parentTaskMetadata != null && message.hasOwnProperty("parentTaskMetadata")) { + var error = $root.flyteidl.event.ParentTaskExecutionMetadata.verify(message.parentTaskMetadata); if (error) - return "metadata." + 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"; return null; }; - return TaskExecutionEvent; + return NodeExecutionEvent; })(); - event.ExternalResourceInfo = (function() { + event.WorkflowNodeMetadata = (function() { /** - * Properties of an ExternalResourceInfo. + * Properties of a WorkflowNodeMetadata. * @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 + * @interface IWorkflowNodeMetadata + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId */ /** - * Constructs a new ExternalResourceInfo. + * Constructs a new WorkflowNodeMetadata. * @memberof flyteidl.event - * @classdesc Represents an ExternalResourceInfo. - * @implements IExternalResourceInfo + * @classdesc Represents a WorkflowNodeMetadata. + * @implements IWorkflowNodeMetadata * @constructor - * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set + * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set */ - function ExternalResourceInfo(properties) { - this.logs = []; + function WorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -18312,130 +19237,230 @@ } /** - * ExternalResourceInfo externalId. - * @member {string} externalId - * @memberof flyteidl.event.ExternalResourceInfo - * @instance - */ - ExternalResourceInfo.prototype.externalId = ""; - - /** - * ExternalResourceInfo index. - * @member {number} index - * @memberof flyteidl.event.ExternalResourceInfo + * WorkflowNodeMetadata executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.event.WorkflowNodeMetadata * @instance */ - ExternalResourceInfo.prototype.index = 0; + WorkflowNodeMetadata.prototype.executionId = null; /** - * ExternalResourceInfo retryAttempt. - * @member {number} retryAttempt - * @memberof flyteidl.event.ExternalResourceInfo - * @instance + * Creates a new WorkflowNodeMetadata instance using the specified properties. + * @function create + * @memberof flyteidl.event.WorkflowNodeMetadata + * @static + * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.event.WorkflowNodeMetadata} WorkflowNodeMetadata instance */ - ExternalResourceInfo.prototype.retryAttempt = 0; + WorkflowNodeMetadata.create = function create(properties) { + return new WorkflowNodeMetadata(properties); + }; /** - * ExternalResourceInfo phase. - * @member {flyteidl.core.TaskExecution.Phase} phase - * @memberof flyteidl.event.ExternalResourceInfo - * @instance + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.WorkflowNodeMetadata.verify|verify} messages. + * @function encode + * @memberof flyteidl.event.WorkflowNodeMetadata + * @static + * @param {flyteidl.event.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - ExternalResourceInfo.prototype.phase = 0; + 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; + }; /** - * ExternalResourceInfo cacheStatus. + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * @function decode + * @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.event.WorkflowNodeMetadata} WorkflowNodeMetadata + * @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) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + 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.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowNodeMetadata message. + * @function verify + * @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 + */ + 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 WorkflowNodeMetadata; + })(); + + event.TaskNodeMetadata = (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 + */ + + /** + * Constructs a new TaskNodeMetadata. + * @memberof flyteidl.event + * @classdesc Represents a TaskNodeMetadata. + * @implements ITaskNodeMetadata + * @constructor + * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set + */ + function TaskNodeMetadata(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]]; + } + + /** + * TaskNodeMetadata cacheStatus. * @member {flyteidl.core.CatalogCacheStatus} cacheStatus - * @memberof flyteidl.event.ExternalResourceInfo + * @memberof flyteidl.event.TaskNodeMetadata * @instance */ - ExternalResourceInfo.prototype.cacheStatus = 0; + TaskNodeMetadata.prototype.cacheStatus = 0; /** - * ExternalResourceInfo logs. - * @member {Array.} logs - * @memberof flyteidl.event.ExternalResourceInfo + * TaskNodeMetadata catalogKey. + * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey + * @memberof flyteidl.event.TaskNodeMetadata * @instance */ - ExternalResourceInfo.prototype.logs = $util.emptyArray; + TaskNodeMetadata.prototype.catalogKey = null; /** - * Creates a new ExternalResourceInfo 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.event.ExternalResourceInfo + * @memberof flyteidl.event.TaskNodeMetadata * @static - * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set - * @returns {flyteidl.event.ExternalResourceInfo} ExternalResourceInfo instance + * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.event.TaskNodeMetadata} TaskNodeMetadata instance */ - ExternalResourceInfo.create = function create(properties) { - return new ExternalResourceInfo(properties); + TaskNodeMetadata.create = function create(properties) { + return new TaskNodeMetadata(properties); }; /** - * Encodes the specified ExternalResourceInfo message. Does not implicitly {@link flyteidl.event.ExternalResourceInfo.verify|verify} messages. + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.event.TaskNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ExternalResourceInfo + * @memberof flyteidl.event.TaskNodeMetadata * @static - * @param {flyteidl.event.IExternalResourceInfo} message ExternalResourceInfo 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 */ - ExternalResourceInfo.encode = function encode(message, writer) { + TaskNodeMetadata.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(); + 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 an ExternalResourceInfo message from the specified reader or buffer. + * Decodes a TaskNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ExternalResourceInfo + * @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.event.ExternalResourceInfo} ExternalResourceInfo + * @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 */ - ExternalResourceInfo.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.event.ExternalResourceInfo(); + 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.externalId = reader.string(); + message.cacheStatus = reader.int32(); break; case 2: - message.index = reader.uint32(); + message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); break; case 3: - message.retryAttempt = reader.uint32(); + message.reservationStatus = reader.int32(); break; case 4: - message.phase = reader.int32(); - break; - case 5: - message.cacheStatus = reader.int32(); + message.checkpointUri = reader.string(); break; - case 6: - if (!(message.logs && message.logs.length)) - message.logs = []; - message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); + case 16: + message.dynamicWorkflow = $root.flyteidl.event.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -18446,29 +19471,20 @@ }; /** - * Verifies an ExternalResourceInfo message. + * Verifies a TaskNodeMetadata message. * @function verify - * @memberof flyteidl.event.ExternalResourceInfo + * @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 */ - ExternalResourceInfo.verify = function verify(message) { + TaskNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - 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) { + if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) + switch (message.cacheStatus) { default: - return "phase: enum value expected"; + return "cacheStatus: enum value expected"; case 0: case 1: case 2: @@ -18476,56 +19492,58 @@ case 4: case 5: case 6: - case 7: break; } - if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) - switch (message.cacheStatus) { + 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 "cacheStatus: enum value expected"; + return "reservationStatus: enum value expected"; case 0: case 1: case 2: case 3: case 4: - case 5: - case 6: 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.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; } return null; }; - return ExternalResourceInfo; + return TaskNodeMetadata; })(); - event.ResourcePoolInfo = (function() { + event.DynamicWorkflowNodeMetadata = (function() { /** - * Properties of a ResourcePoolInfo. + * Properties of a DynamicWorkflowNodeMetadata. * @memberof flyteidl.event - * @interface IResourcePoolInfo - * @property {string|null} [allocationToken] ResourcePoolInfo allocationToken - * @property {string|null} [namespace] ResourcePoolInfo namespace + * @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 ResourcePoolInfo. + * Constructs a new DynamicWorkflowNodeMetadata. * @memberof flyteidl.event - * @classdesc Represents a ResourcePoolInfo. - * @implements IResourcePoolInfo + * @classdesc Represents a DynamicWorkflowNodeMetadata. + * @implements IDynamicWorkflowNodeMetadata * @constructor - * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set + * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set */ - function ResourcePoolInfo(properties) { + function DynamicWorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -18533,75 +19551,88 @@ } /** - * ResourcePoolInfo allocationToken. - * @member {string} allocationToken - * @memberof flyteidl.event.ResourcePoolInfo + * DynamicWorkflowNodeMetadata id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @instance */ - ResourcePoolInfo.prototype.allocationToken = ""; + DynamicWorkflowNodeMetadata.prototype.id = null; /** - * ResourcePoolInfo namespace. - * @member {string} namespace - * @memberof flyteidl.event.ResourcePoolInfo + * DynamicWorkflowNodeMetadata compiledWorkflow. + * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @instance */ - ResourcePoolInfo.prototype.namespace = ""; + DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; /** - * Creates a new ResourcePoolInfo instance using the specified properties. + * 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.event.ResourcePoolInfo + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set - * @returns {flyteidl.event.ResourcePoolInfo} ResourcePoolInfo instance + * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.event.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance */ - ResourcePoolInfo.create = function create(properties) { - return new ResourcePoolInfo(properties); + DynamicWorkflowNodeMetadata.create = function create(properties) { + return new DynamicWorkflowNodeMetadata(properties); }; /** - * Encodes the specified ResourcePoolInfo message. Does not implicitly {@link flyteidl.event.ResourcePoolInfo.verify|verify} messages. + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.DynamicWorkflowNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ResourcePoolInfo + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.event.IResourcePoolInfo} message ResourcePoolInfo 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 */ - ResourcePoolInfo.encode = function encode(message, writer) { + DynamicWorkflowNodeMetadata.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.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 ResourcePoolInfo message from the specified reader or buffer. + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ResourcePoolInfo + * @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.event.ResourcePoolInfo} ResourcePoolInfo + * @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 */ - ResourcePoolInfo.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.event.ResourcePoolInfo(); + 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.allocationToken = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.namespace = 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); @@ -18612,52 +19643,53 @@ }; /** - * Verifies a ResourcePoolInfo message. + * Verifies a DynamicWorkflowNodeMetadata message. * @function verify - * @memberof flyteidl.event.ResourcePoolInfo + * @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 */ - ResourcePoolInfo.verify = function verify(message) { + DynamicWorkflowNodeMetadata.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.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 (error) + return "compiledWorkflow." + error; + } + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + if (!$util.isString(message.dynamicJobSpecUri)) + return "dynamicJobSpecUri: string expected"; return null; }; - return ResourcePoolInfo; + return DynamicWorkflowNodeMetadata; })(); - event.TaskExecutionMetadata = (function() { + event.ParentTaskExecutionMetadata = (function() { /** - * Properties of a TaskExecutionMetadata. + * Properties of a ParentTaskExecutionMetadata. * @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 + * @interface IParentTaskExecutionMetadata + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] ParentTaskExecutionMetadata id */ /** - * Constructs a new TaskExecutionMetadata. + * Constructs a new ParentTaskExecutionMetadata. * @memberof flyteidl.event - * @classdesc Represents a TaskExecutionMetadata. - * @implements ITaskExecutionMetadata + * @classdesc Represents a ParentTaskExecutionMetadata. + * @implements IParentTaskExecutionMetadata * @constructor - * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set */ - function TaskExecutionMetadata(properties) { - this.externalResources = []; - this.resourcePoolInfo = []; + function ParentTaskExecutionMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -18665,120 +19697,62 @@ } /** - * 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 - * @instance - */ - TaskExecutionMetadata.prototype.resourcePoolInfo = $util.emptyArray; - - /** - * TaskExecutionMetadata pluginIdentifier. - * @member {string} pluginIdentifier - * @memberof flyteidl.event.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.pluginIdentifier = ""; - - /** - * TaskExecutionMetadata instanceClass. - * @member {flyteidl.event.TaskExecutionMetadata.InstanceClass} instanceClass - * @memberof flyteidl.event.TaskExecutionMetadata + * ParentTaskExecutionMetadata id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @instance */ - TaskExecutionMetadata.prototype.instanceClass = 0; + ParentTaskExecutionMetadata.prototype.id = null; /** - * Creates a new TaskExecutionMetadata instance using the specified properties. + * Creates a new ParentTaskExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.event.TaskExecutionMetadata + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @static - * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.event.TaskExecutionMetadata} TaskExecutionMetadata instance + * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.event.ParentTaskExecutionMetadata} ParentTaskExecutionMetadata instance */ - TaskExecutionMetadata.create = function create(properties) { - return new TaskExecutionMetadata(properties); + ParentTaskExecutionMetadata.create = function create(properties) { + return new ParentTaskExecutionMetadata(properties); }; /** - * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.TaskExecutionMetadata.verify|verify} messages. + * Encodes the specified ParentTaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentTaskExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.event.TaskExecutionMetadata + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @static - * @param {flyteidl.event.ITaskExecutionMetadata} message TaskExecutionMetadata 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 */ - TaskExecutionMetadata.encode = function encode(message, writer) { + ParentTaskExecutionMetadata.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.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 TaskExecutionMetadata message from the specified reader or buffer. + * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.TaskExecutionMetadata + * @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.event.TaskExecutionMetadata} TaskExecutionMetadata + * @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 */ - TaskExecutionMetadata.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.event.TaskExecutionMetadata(); + 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.generatedName = reader.string(); - break; - case 2: - if (!(message.externalResources && message.externalResources.length)) - message.externalResources = []; - message.externalResources.push($root.flyteidl.event.ExternalResourceInfo.decode(reader, reader.uint32())); - 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.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -18789,126 +19763,45 @@ }; /** - * Verifies a TaskExecutionMetadata message. + * Verifies a ParentTaskExecutionMetadata message. * @function verify - * @memberof flyteidl.event.TaskExecutionMetadata + * @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 */ - TaskExecutionMetadata.verify = function verify(message) { + ParentTaskExecutionMetadata.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.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); + if (error) + return "id." + 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; - } 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 event; - })(); - - flyteidl.admin = (function() { - - /** - * Namespace admin. - * @memberof flyteidl - * @namespace - */ - var admin = {}; - - /** - * State enum. - * @name flyteidl.admin.State - * @enum {string} - * @property {number} RETRYABLE_FAILURE=0 RETRYABLE_FAILURE value - * @property {number} PERMANENT_FAILURE=1 PERMANENT_FAILURE value - * @property {number} PENDING=2 PENDING value - * @property {number} RUNNING=3 RUNNING value - * @property {number} SUCCEEDED=4 SUCCEEDED value - */ - admin.State = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "RETRYABLE_FAILURE"] = 0; - values[valuesById[1] = "PERMANENT_FAILURE"] = 1; - values[valuesById[2] = "PENDING"] = 2; - values[valuesById[3] = "RUNNING"] = 3; - values[valuesById[4] = "SUCCEEDED"] = 4; - return values; + return ParentTaskExecutionMetadata; })(); - admin.TaskExecutionMetadata = (function() { + event.ParentNodeExecutionMetadata = (function() { /** - * Properties of a TaskExecutionMetadata. - * @memberof flyteidl.admin - * @interface ITaskExecutionMetadata - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] TaskExecutionMetadata taskExecutionId - * @property {string|null} [namespace] TaskExecutionMetadata namespace - * @property {Object.|null} [labels] TaskExecutionMetadata labels - * @property {Object.|null} [annotations] TaskExecutionMetadata annotations - * @property {string|null} [k8sServiceAccount] TaskExecutionMetadata k8sServiceAccount - * @property {Object.|null} [environmentVariables] TaskExecutionMetadata environmentVariables + * Properties of a ParentNodeExecutionMetadata. + * @memberof flyteidl.event + * @interface IParentNodeExecutionMetadata + * @property {string|null} [nodeId] ParentNodeExecutionMetadata nodeId */ /** - * Constructs a new TaskExecutionMetadata. - * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionMetadata. - * @implements ITaskExecutionMetadata + * Constructs a new ParentNodeExecutionMetadata. + * @memberof flyteidl.event + * @classdesc Represents a ParentNodeExecutionMetadata. + * @implements IParentNodeExecutionMetadata * @constructor - * @param {flyteidl.admin.ITaskExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set */ - function TaskExecutionMetadata(properties) { - this.labels = {}; - this.annotations = {}; - this.environmentVariables = {}; + function ParentNodeExecutionMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -18916,145 +19809,62 @@ } /** - * TaskExecutionMetadata taskExecutionId. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId - * @memberof flyteidl.admin.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.taskExecutionId = null; - - /** - * TaskExecutionMetadata namespace. - * @member {string} namespace - * @memberof flyteidl.admin.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.namespace = ""; - - /** - * TaskExecutionMetadata labels. - * @member {Object.} labels - * @memberof flyteidl.admin.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.labels = $util.emptyObject; - - /** - * TaskExecutionMetadata annotations. - * @member {Object.} annotations - * @memberof flyteidl.admin.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.annotations = $util.emptyObject; - - /** - * TaskExecutionMetadata k8sServiceAccount. - * @member {string} k8sServiceAccount - * @memberof flyteidl.admin.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.k8sServiceAccount = ""; - - /** - * TaskExecutionMetadata environmentVariables. - * @member {Object.} environmentVariables - * @memberof flyteidl.admin.TaskExecutionMetadata + * ParentNodeExecutionMetadata nodeId. + * @member {string} nodeId + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @instance */ - TaskExecutionMetadata.prototype.environmentVariables = $util.emptyObject; + ParentNodeExecutionMetadata.prototype.nodeId = ""; /** - * Creates a new TaskExecutionMetadata instance using the specified properties. + * Creates a new ParentNodeExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionMetadata + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @static - * @param {flyteidl.admin.ITaskExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionMetadata} TaskExecutionMetadata instance + * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.event.ParentNodeExecutionMetadata} ParentNodeExecutionMetadata instance */ - TaskExecutionMetadata.create = function create(properties) { - return new TaskExecutionMetadata(properties); + ParentNodeExecutionMetadata.create = function create(properties) { + return new ParentNodeExecutionMetadata(properties); }; /** - * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.admin.TaskExecutionMetadata.verify|verify} messages. + * Encodes the specified ParentNodeExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentNodeExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionMetadata + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @static - * @param {flyteidl.admin.ITaskExecutionMetadata} message TaskExecutionMetadata 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 */ - TaskExecutionMetadata.encode = function encode(message, writer) { + ParentNodeExecutionMetadata.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.namespace != null && message.hasOwnProperty("namespace")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespace); - if (message.labels != null && message.hasOwnProperty("labels")) - for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); - if (message.annotations != null && message.hasOwnProperty("annotations")) - for (var keys = Object.keys(message.annotations), i = 0; i < keys.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.annotations[keys[i]]).ldelim(); - if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.k8sServiceAccount); - if (message.environmentVariables != null && message.hasOwnProperty("environmentVariables")) - for (var keys = Object.keys(message.environmentVariables), i = 0; i < keys.length; ++i) - writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.environmentVariables[keys[i]]).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.nodeId); return writer; }; /** - * Decodes a TaskExecutionMetadata message from the specified reader or buffer. + * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionMetadata + * @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.TaskExecutionMetadata} TaskExecutionMetadata + * @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 */ - TaskExecutionMetadata.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.TaskExecutionMetadata(), key; + 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.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.namespace = reader.string(); - break; - case 3: - reader.skip().pos++; - if (message.labels === $util.emptyObject) - message.labels = {}; - key = reader.string(); - reader.pos++; - message.labels[key] = reader.string(); - break; - case 4: - reader.skip().pos++; - if (message.annotations === $util.emptyObject) - message.annotations = {}; - key = reader.string(); - reader.pos++; - message.annotations[key] = reader.string(); - break; - case 5: - message.k8sServiceAccount = reader.string(); - break; - case 6: - reader.skip().pos++; - if (message.environmentVariables === $util.emptyObject) - message.environmentVariables = {}; - key = reader.string(); - reader.pos++; - message.environmentVariables[key] = reader.string(); + message.nodeId = reader.string(); break; default: reader.skipType(tag & 7); @@ -19065,78 +19875,44 @@ }; /** - * Verifies a TaskExecutionMetadata message. + * Verifies a ParentNodeExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.TaskExecutionMetadata + * @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 */ - TaskExecutionMetadata.verify = function verify(message) { + ParentNodeExecutionMetadata.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.namespace != null && message.hasOwnProperty("namespace")) - if (!$util.isString(message.namespace)) - return "namespace: string expected"; - 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.annotations != null && message.hasOwnProperty("annotations")) { - if (!$util.isObject(message.annotations)) - return "annotations: object expected"; - var key = Object.keys(message.annotations); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.annotations[key[i]])) - return "annotations: string{k:string} expected"; - } - if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) - if (!$util.isString(message.k8sServiceAccount)) - return "k8sServiceAccount: string expected"; - if (message.environmentVariables != null && message.hasOwnProperty("environmentVariables")) { - if (!$util.isObject(message.environmentVariables)) - return "environmentVariables: object expected"; - var key = Object.keys(message.environmentVariables); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.environmentVariables[key[i]])) - return "environmentVariables: string{k:string} expected"; - } + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + if (!$util.isString(message.nodeId)) + return "nodeId: string expected"; return null; }; - return TaskExecutionMetadata; + return ParentNodeExecutionMetadata; })(); - admin.CreateTaskRequest = (function() { + event.EventReason = (function() { /** - * Properties of a CreateTaskRequest. - * @memberof flyteidl.admin - * @interface ICreateTaskRequest - * @property {flyteidl.core.ILiteralMap|null} [inputs] CreateTaskRequest inputs - * @property {flyteidl.core.ITaskTemplate|null} [template] CreateTaskRequest template - * @property {string|null} [outputPrefix] CreateTaskRequest outputPrefix - * @property {flyteidl.admin.ITaskExecutionMetadata|null} [taskExecutionMetadata] CreateTaskRequest taskExecutionMetadata + * 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 CreateTaskRequest. - * @memberof flyteidl.admin - * @classdesc Represents a CreateTaskRequest. - * @implements ICreateTaskRequest + * Constructs a new EventReason. + * @memberof flyteidl.event + * @classdesc Represents an EventReason. + * @implements IEventReason * @constructor - * @param {flyteidl.admin.ICreateTaskRequest=} [properties] Properties to set + * @param {flyteidl.event.IEventReason=} [properties] Properties to set */ - function CreateTaskRequest(properties) { + function EventReason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -19144,101 +19920,75 @@ } /** - * CreateTaskRequest inputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputs - * @memberof flyteidl.admin.CreateTaskRequest - * @instance - */ - CreateTaskRequest.prototype.inputs = null; - - /** - * CreateTaskRequest template. - * @member {flyteidl.core.ITaskTemplate|null|undefined} template - * @memberof flyteidl.admin.CreateTaskRequest - * @instance - */ - CreateTaskRequest.prototype.template = null; - - /** - * CreateTaskRequest outputPrefix. - * @member {string} outputPrefix - * @memberof flyteidl.admin.CreateTaskRequest + * EventReason reason. + * @member {string} reason + * @memberof flyteidl.event.EventReason * @instance */ - CreateTaskRequest.prototype.outputPrefix = ""; + EventReason.prototype.reason = ""; /** - * CreateTaskRequest taskExecutionMetadata. - * @member {flyteidl.admin.ITaskExecutionMetadata|null|undefined} taskExecutionMetadata - * @memberof flyteidl.admin.CreateTaskRequest + * EventReason occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.event.EventReason * @instance */ - CreateTaskRequest.prototype.taskExecutionMetadata = null; + EventReason.prototype.occurredAt = null; /** - * Creates a new CreateTaskRequest instance using the specified properties. + * Creates a new EventReason instance using the specified properties. * @function create - * @memberof flyteidl.admin.CreateTaskRequest + * @memberof flyteidl.event.EventReason * @static - * @param {flyteidl.admin.ICreateTaskRequest=} [properties] Properties to set - * @returns {flyteidl.admin.CreateTaskRequest} CreateTaskRequest instance + * @param {flyteidl.event.IEventReason=} [properties] Properties to set + * @returns {flyteidl.event.EventReason} EventReason instance */ - CreateTaskRequest.create = function create(properties) { - return new CreateTaskRequest(properties); + EventReason.create = function create(properties) { + return new EventReason(properties); }; /** - * Encodes the specified CreateTaskRequest message. Does not implicitly {@link flyteidl.admin.CreateTaskRequest.verify|verify} messages. + * Encodes the specified EventReason message. Does not implicitly {@link flyteidl.event.EventReason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.CreateTaskRequest + * @memberof flyteidl.event.EventReason * @static - * @param {flyteidl.admin.ICreateTaskRequest} message CreateTaskRequest 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 */ - CreateTaskRequest.encode = function encode(message, writer) { + EventReason.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPrefix); - if (message.taskExecutionMetadata != null && message.hasOwnProperty("taskExecutionMetadata")) - $root.flyteidl.admin.TaskExecutionMetadata.encode(message.taskExecutionMetadata, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + 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 CreateTaskRequest message from the specified reader or buffer. + * Decodes an EventReason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.CreateTaskRequest + * @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.CreateTaskRequest} CreateTaskRequest + * @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 */ - CreateTaskRequest.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.CreateTaskRequest(); + 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.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.reason = reader.string(); break; case 2: - message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); - break; - case 3: - message.outputPrefix = reader.string(); - break; - case 4: - message.taskExecutionMetadata = $root.flyteidl.admin.TaskExecutionMetadata.decode(reader, reader.uint32()); + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -19249,58 +19999,69 @@ }; /** - * Verifies a CreateTaskRequest message. + * Verifies an EventReason message. * @function verify - * @memberof flyteidl.admin.CreateTaskRequest + * @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 */ - CreateTaskRequest.verify = function verify(message) { + EventReason.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); - if (error) - return "inputs." + error; - } - if (message.template != null && message.hasOwnProperty("template")) { - var error = $root.flyteidl.core.TaskTemplate.verify(message.template); - if (error) - return "template." + error; - } - if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) - if (!$util.isString(message.outputPrefix)) - return "outputPrefix: string expected"; - if (message.taskExecutionMetadata != null && message.hasOwnProperty("taskExecutionMetadata")) { - var error = $root.flyteidl.admin.TaskExecutionMetadata.verify(message.taskExecutionMetadata); + 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 "taskExecutionMetadata." + error; + return "occurredAt." + error; } return null; }; - return CreateTaskRequest; + return EventReason; })(); - admin.CreateTaskResponse = (function() { + event.TaskExecutionEvent = (function() { /** - * Properties of a CreateTaskResponse. - * @memberof flyteidl.admin - * @interface ICreateTaskResponse - * @property {Uint8Array|null} [resourceMeta] CreateTaskResponse resourceMeta + * 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 CreateTaskResponse. - * @memberof flyteidl.admin - * @classdesc Represents a CreateTaskResponse. - * @implements ICreateTaskResponse + * Constructs a new TaskExecutionEvent. + * @memberof flyteidl.event + * @classdesc Represents a TaskExecutionEvent. + * @implements ITaskExecutionEvent * @constructor - * @param {flyteidl.admin.ICreateTaskResponse=} [properties] Properties to set + * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set */ - function CreateTaskResponse(properties) { + 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) @@ -19308,439 +20069,340 @@ } /** - * CreateTaskResponse resourceMeta. - * @member {Uint8Array} resourceMeta - * @memberof flyteidl.admin.CreateTaskResponse + * TaskExecutionEvent taskId. + * @member {flyteidl.core.IIdentifier|null|undefined} taskId + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - CreateTaskResponse.prototype.resourceMeta = $util.newBuffer([]); + TaskExecutionEvent.prototype.taskId = null; /** - * Creates a new CreateTaskResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.CreateTaskResponse - * @static - * @param {flyteidl.admin.ICreateTaskResponse=} [properties] Properties to set - * @returns {flyteidl.admin.CreateTaskResponse} CreateTaskResponse instance + * TaskExecutionEvent parentNodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecutionId + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - CreateTaskResponse.create = function create(properties) { - return new CreateTaskResponse(properties); - }; + TaskExecutionEvent.prototype.parentNodeExecutionId = null; /** - * Encodes the specified CreateTaskResponse message. Does not implicitly {@link flyteidl.admin.CreateTaskResponse.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.CreateTaskResponse - * @static - * @param {flyteidl.admin.ICreateTaskResponse} message CreateTaskResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * TaskExecutionEvent retryAttempt. + * @member {number} retryAttempt + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - CreateTaskResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.resourceMeta != null && message.hasOwnProperty("resourceMeta")) - writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.resourceMeta); - return writer; - }; + TaskExecutionEvent.prototype.retryAttempt = 0; /** - * Decodes a CreateTaskResponse message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.CreateTaskResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.CreateTaskResponse} CreateTaskResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CreateTaskResponse.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.CreateTaskResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.resourceMeta = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a CreateTaskResponse message. - * @function verify - * @memberof flyteidl.admin.CreateTaskResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CreateTaskResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.resourceMeta != null && message.hasOwnProperty("resourceMeta")) - if (!(message.resourceMeta && typeof message.resourceMeta.length === "number" || $util.isString(message.resourceMeta))) - return "resourceMeta: buffer expected"; - return null; - }; - - return CreateTaskResponse; - })(); - - admin.GetTaskRequest = (function() { - - /** - * Properties of a GetTaskRequest. - * @memberof flyteidl.admin - * @interface IGetTaskRequest - * @property {string|null} [taskType] GetTaskRequest taskType - * @property {Uint8Array|null} [resourceMeta] GetTaskRequest resourceMeta - */ - - /** - * Constructs a new GetTaskRequest. - * @memberof flyteidl.admin - * @classdesc Represents a GetTaskRequest. - * @implements IGetTaskRequest - * @constructor - * @param {flyteidl.admin.IGetTaskRequest=} [properties] Properties to set + * TaskExecutionEvent phase. + * @member {flyteidl.core.TaskExecution.Phase} phase + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - function GetTaskRequest(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]]; - } + TaskExecutionEvent.prototype.phase = 0; /** - * GetTaskRequest taskType. - * @member {string} taskType - * @memberof flyteidl.admin.GetTaskRequest + * TaskExecutionEvent producerId. + * @member {string} producerId + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - GetTaskRequest.prototype.taskType = ""; + TaskExecutionEvent.prototype.producerId = ""; /** - * GetTaskRequest resourceMeta. - * @member {Uint8Array} resourceMeta - * @memberof flyteidl.admin.GetTaskRequest + * TaskExecutionEvent logs. + * @member {Array.} logs + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - GetTaskRequest.prototype.resourceMeta = $util.newBuffer([]); + TaskExecutionEvent.prototype.logs = $util.emptyArray; /** - * Creates a new GetTaskRequest instance using the specified properties. - * @function create - * @memberof flyteidl.admin.GetTaskRequest - * @static - * @param {flyteidl.admin.IGetTaskRequest=} [properties] Properties to set - * @returns {flyteidl.admin.GetTaskRequest} GetTaskRequest instance + * TaskExecutionEvent occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskRequest.create = function create(properties) { - return new GetTaskRequest(properties); - }; + TaskExecutionEvent.prototype.occurredAt = null; /** - * Encodes the specified GetTaskRequest message. Does not implicitly {@link flyteidl.admin.GetTaskRequest.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.GetTaskRequest - * @static - * @param {flyteidl.admin.IGetTaskRequest} message GetTaskRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * TaskExecutionEvent inputUri. + * @member {string} inputUri + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskRequest.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.resourceMeta != null && message.hasOwnProperty("resourceMeta")) - writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.resourceMeta); - return writer; - }; + TaskExecutionEvent.prototype.inputUri = ""; /** - * Decodes a GetTaskRequest message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.GetTaskRequest - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.GetTaskRequest} GetTaskRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * TaskExecutionEvent inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskRequest.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.GetTaskRequest(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.taskType = reader.string(); - break; - case 2: - message.resourceMeta = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + TaskExecutionEvent.prototype.inputData = null; /** - * Verifies a GetTaskRequest message. - * @function verify - * @memberof flyteidl.admin.GetTaskRequest - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * TaskExecutionEvent outputUri. + * @member {string} outputUri + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskRequest.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.resourceMeta != null && message.hasOwnProperty("resourceMeta")) - if (!(message.resourceMeta && typeof message.resourceMeta.length === "number" || $util.isString(message.resourceMeta))) - return "resourceMeta: buffer expected"; - return null; - }; - - return GetTaskRequest; - })(); - - admin.GetTaskResponse = (function() { + TaskExecutionEvent.prototype.outputUri = ""; /** - * Properties of a GetTaskResponse. - * @memberof flyteidl.admin - * @interface IGetTaskResponse - * @property {flyteidl.admin.IResource|null} [resource] GetTaskResponse resource + * TaskExecutionEvent error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ + TaskExecutionEvent.prototype.error = null; /** - * Constructs a new GetTaskResponse. - * @memberof flyteidl.admin - * @classdesc Represents a GetTaskResponse. - * @implements IGetTaskResponse - * @constructor - * @param {flyteidl.admin.IGetTaskResponse=} [properties] Properties to set + * TaskExecutionEvent outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - function GetTaskResponse(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]]; - } + TaskExecutionEvent.prototype.outputData = null; /** - * GetTaskResponse resource. - * @member {flyteidl.admin.IResource|null|undefined} resource - * @memberof flyteidl.admin.GetTaskResponse + * TaskExecutionEvent customInfo. + * @member {google.protobuf.IStruct|null|undefined} customInfo + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - GetTaskResponse.prototype.resource = null; + TaskExecutionEvent.prototype.customInfo = null; /** - * Creates a new GetTaskResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.GetTaskResponse - * @static - * @param {flyteidl.admin.IGetTaskResponse=} [properties] Properties to set - * @returns {flyteidl.admin.GetTaskResponse} GetTaskResponse instance + * TaskExecutionEvent phaseVersion. + * @member {number} phaseVersion + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskResponse.create = function create(properties) { - return new GetTaskResponse(properties); - }; + TaskExecutionEvent.prototype.phaseVersion = 0; /** - * Encodes the specified GetTaskResponse message. Does not implicitly {@link flyteidl.admin.GetTaskResponse.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.GetTaskResponse - * @static - * @param {flyteidl.admin.IGetTaskResponse} message GetTaskResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * TaskExecutionEvent reason. + * @member {string} reason + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.resource != null && message.hasOwnProperty("resource")) - $root.flyteidl.admin.Resource.encode(message.resource, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; + TaskExecutionEvent.prototype.reason = ""; /** - * Decodes a GetTaskResponse message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.GetTaskResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.GetTaskResponse} GetTaskResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * TaskExecutionEvent reasons. + * @member {Array.} reasons + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskResponse.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.GetTaskResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.resource = $root.flyteidl.admin.Resource.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + TaskExecutionEvent.prototype.reasons = $util.emptyArray; /** - * Verifies a GetTaskResponse message. - * @function verify - * @memberof flyteidl.admin.GetTaskResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * TaskExecutionEvent taskType. + * @member {string} taskType + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - GetTaskResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.resource != null && message.hasOwnProperty("resource")) { - var error = $root.flyteidl.admin.Resource.verify(message.resource); - if (error) - return "resource." + error; - } - return null; - }; - - return GetTaskResponse; - })(); - - admin.Resource = (function() { + TaskExecutionEvent.prototype.taskType = ""; /** - * Properties of a Resource. - * @memberof flyteidl.admin - * @interface IResource - * @property {flyteidl.admin.State|null} [state] Resource state - * @property {flyteidl.core.ILiteralMap|null} [outputs] Resource outputs - * @property {string|null} [message] Resource message + * TaskExecutionEvent metadata. + * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ + TaskExecutionEvent.prototype.metadata = null; /** - * Constructs a new Resource. - * @memberof flyteidl.admin - * @classdesc Represents a Resource. - * @implements IResource - * @constructor - * @param {flyteidl.admin.IResource=} [properties] Properties to set + * TaskExecutionEvent eventVersion. + * @member {number} eventVersion + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - function Resource(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]]; - } + TaskExecutionEvent.prototype.eventVersion = 0; /** - * Resource state. - * @member {flyteidl.admin.State} state - * @memberof flyteidl.admin.Resource + * TaskExecutionEvent reportedAt. + * @member {google.protobuf.ITimestamp|null|undefined} reportedAt + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - Resource.prototype.state = 0; + TaskExecutionEvent.prototype.reportedAt = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Resource outputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputs - * @memberof flyteidl.admin.Resource + * TaskExecutionEvent inputValue. + * @member {"inputUri"|"inputData"|undefined} inputValue + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - Resource.prototype.outputs = null; + Object.defineProperty(TaskExecutionEvent.prototype, "inputValue", { + get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Resource message. - * @member {string} message - * @memberof flyteidl.admin.Resource + * TaskExecutionEvent outputResult. + * @member {"outputUri"|"error"|"outputData"|undefined} outputResult + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - Resource.prototype.message = ""; + Object.defineProperty(TaskExecutionEvent.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new Resource instance using the specified properties. + * Creates a new TaskExecutionEvent instance using the specified properties. * @function create - * @memberof flyteidl.admin.Resource + * @memberof flyteidl.event.TaskExecutionEvent * @static - * @param {flyteidl.admin.IResource=} [properties] Properties to set - * @returns {flyteidl.admin.Resource} Resource instance + * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set + * @returns {flyteidl.event.TaskExecutionEvent} TaskExecutionEvent instance */ - Resource.create = function create(properties) { - return new Resource(properties); + TaskExecutionEvent.create = function create(properties) { + return new TaskExecutionEvent(properties); }; /** - * Encodes the specified Resource message. Does not implicitly {@link flyteidl.admin.Resource.verify|verify} messages. + * Encodes the specified TaskExecutionEvent message. Does not implicitly {@link flyteidl.event.TaskExecutionEvent.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Resource + * @memberof flyteidl.event.TaskExecutionEvent * @static - * @param {flyteidl.admin.IResource} message Resource 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 */ - Resource.encode = function encode(message, writer) { + TaskExecutionEvent.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.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.core.LiteralMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.message != null && message.hasOwnProperty("message")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.message); + 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 Resource message from the specified reader or buffer. + * Decodes a TaskExecutionEvent message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Resource + * @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.Resource} Resource + * @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 */ - Resource.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.Resource(); + 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.state = reader.int32(); + message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.outputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.parentNodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; case 3: - message.message = reader.string(); + 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); @@ -19751,60 +20413,167 @@ }; /** - * Verifies a Resource message. + * Verifies a TaskExecutionEvent message. * @function verify - * @memberof flyteidl.admin.Resource + * @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 */ - Resource.verify = function verify(message) { + TaskExecutionEvent.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { + 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 "state: enum value expected"; + return "phase: enum value expected"; case 0: case 1: case 2: case 3: case 4: + case 5: + case 6: + case 7: break; } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputs); + 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 "outputs." + 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.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string expected"; return null; }; - return Resource; + return TaskExecutionEvent; })(); - admin.DeleteTaskRequest = (function() { + event.ExternalResourceInfo = (function() { /** - * Properties of a DeleteTaskRequest. - * @memberof flyteidl.admin - * @interface IDeleteTaskRequest - * @property {string|null} [taskType] DeleteTaskRequest taskType - * @property {Uint8Array|null} [resourceMeta] DeleteTaskRequest resourceMeta + * 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 */ /** - * Constructs a new DeleteTaskRequest. - * @memberof flyteidl.admin - * @classdesc Represents a DeleteTaskRequest. - * @implements IDeleteTaskRequest + * Constructs a new ExternalResourceInfo. + * @memberof flyteidl.event + * @classdesc Represents an ExternalResourceInfo. + * @implements IExternalResourceInfo * @constructor - * @param {flyteidl.admin.IDeleteTaskRequest=} [properties] Properties to set + * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set */ - function DeleteTaskRequest(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) @@ -19812,75 +20581,130 @@ } /** - * DeleteTaskRequest taskType. - * @member {string} taskType - * @memberof flyteidl.admin.DeleteTaskRequest + * ExternalResourceInfo externalId. + * @member {string} externalId + * @memberof flyteidl.event.ExternalResourceInfo * @instance */ - DeleteTaskRequest.prototype.taskType = ""; + ExternalResourceInfo.prototype.externalId = ""; /** - * DeleteTaskRequest resourceMeta. - * @member {Uint8Array} resourceMeta - * @memberof flyteidl.admin.DeleteTaskRequest + * ExternalResourceInfo index. + * @member {number} index + * @memberof flyteidl.event.ExternalResourceInfo * @instance */ - DeleteTaskRequest.prototype.resourceMeta = $util.newBuffer([]); + ExternalResourceInfo.prototype.index = 0; /** - * Creates a new DeleteTaskRequest instance using the specified properties. + * ExternalResourceInfo retryAttempt. + * @member {number} retryAttempt + * @memberof flyteidl.event.ExternalResourceInfo + * @instance + */ + ExternalResourceInfo.prototype.retryAttempt = 0; + + /** + * ExternalResourceInfo phase. + * @member {flyteidl.core.TaskExecution.Phase} phase + * @memberof flyteidl.event.ExternalResourceInfo + * @instance + */ + ExternalResourceInfo.prototype.phase = 0; + + /** + * ExternalResourceInfo cacheStatus. + * @member {flyteidl.core.CatalogCacheStatus} cacheStatus + * @memberof flyteidl.event.ExternalResourceInfo + * @instance + */ + ExternalResourceInfo.prototype.cacheStatus = 0; + + /** + * ExternalResourceInfo logs. + * @member {Array.} logs + * @memberof flyteidl.event.ExternalResourceInfo + * @instance + */ + ExternalResourceInfo.prototype.logs = $util.emptyArray; + + /** + * Creates a new ExternalResourceInfo instance using the specified properties. * @function create - * @memberof flyteidl.admin.DeleteTaskRequest + * @memberof flyteidl.event.ExternalResourceInfo * @static - * @param {flyteidl.admin.IDeleteTaskRequest=} [properties] Properties to set - * @returns {flyteidl.admin.DeleteTaskRequest} DeleteTaskRequest instance + * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set + * @returns {flyteidl.event.ExternalResourceInfo} ExternalResourceInfo instance */ - DeleteTaskRequest.create = function create(properties) { - return new DeleteTaskRequest(properties); + ExternalResourceInfo.create = function create(properties) { + return new ExternalResourceInfo(properties); }; /** - * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link flyteidl.admin.DeleteTaskRequest.verify|verify} messages. + * Encodes the specified ExternalResourceInfo message. Does not implicitly {@link flyteidl.event.ExternalResourceInfo.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DeleteTaskRequest + * @memberof flyteidl.event.ExternalResourceInfo * @static - * @param {flyteidl.admin.IDeleteTaskRequest} message DeleteTaskRequest 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 */ - DeleteTaskRequest.encode = function encode(message, writer) { + ExternalResourceInfo.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.resourceMeta != null && message.hasOwnProperty("resourceMeta")) - writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.resourceMeta); + 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(); return writer; }; /** - * Decodes a DeleteTaskRequest message from the specified reader or buffer. + * Decodes an ExternalResourceInfo message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DeleteTaskRequest + * @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.DeleteTaskRequest} DeleteTaskRequest + * @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 */ - DeleteTaskRequest.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.DeleteTaskRequest(); + 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.taskType = reader.string(); + message.externalId = reader.string(); break; case 2: - message.resourceMeta = reader.bytes(); + 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; default: reader.skipType(tag & 7); @@ -19891,45 +20715,86 @@ }; /** - * Verifies a DeleteTaskRequest message. + * Verifies an ExternalResourceInfo message. * @function verify - * @memberof flyteidl.admin.DeleteTaskRequest + * @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 */ - DeleteTaskRequest.verify = function verify(message) { + ExternalResourceInfo.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.resourceMeta != null && message.hasOwnProperty("resourceMeta")) - if (!(message.resourceMeta && typeof message.resourceMeta.length === "number" || $util.isString(message.resourceMeta))) - return "resourceMeta: buffer expected"; + 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: + 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; + } + } return null; }; - return DeleteTaskRequest; + return ExternalResourceInfo; })(); - admin.DeleteTaskResponse = (function() { + event.ResourcePoolInfo = (function() { /** - * Properties of a DeleteTaskResponse. - * @memberof flyteidl.admin - * @interface IDeleteTaskResponse + * Properties of a ResourcePoolInfo. + * @memberof flyteidl.event + * @interface IResourcePoolInfo + * @property {string|null} [allocationToken] ResourcePoolInfo allocationToken + * @property {string|null} [namespace] ResourcePoolInfo namespace */ /** - * Constructs a new DeleteTaskResponse. - * @memberof flyteidl.admin - * @classdesc Represents a DeleteTaskResponse. - * @implements IDeleteTaskResponse + * Constructs a new ResourcePoolInfo. + * @memberof flyteidl.event + * @classdesc Represents a ResourcePoolInfo. + * @implements IResourcePoolInfo * @constructor - * @param {flyteidl.admin.IDeleteTaskResponse=} [properties] Properties to set + * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set */ - function DeleteTaskResponse(properties) { + function ResourcePoolInfo(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -19937,50 +20802,76 @@ } /** - * Creates a new DeleteTaskResponse instance using the specified properties. + * ResourcePoolInfo allocationToken. + * @member {string} allocationToken + * @memberof flyteidl.event.ResourcePoolInfo + * @instance + */ + ResourcePoolInfo.prototype.allocationToken = ""; + + /** + * 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.DeleteTaskResponse + * @memberof flyteidl.event.ResourcePoolInfo * @static - * @param {flyteidl.admin.IDeleteTaskResponse=} [properties] Properties to set - * @returns {flyteidl.admin.DeleteTaskResponse} DeleteTaskResponse instance + * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set + * @returns {flyteidl.event.ResourcePoolInfo} ResourcePoolInfo instance */ - DeleteTaskResponse.create = function create(properties) { - return new DeleteTaskResponse(properties); + ResourcePoolInfo.create = function create(properties) { + return new ResourcePoolInfo(properties); }; /** - * Encodes the specified DeleteTaskResponse message. Does not implicitly {@link flyteidl.admin.DeleteTaskResponse.verify|verify} messages. + * Encodes the specified ResourcePoolInfo message. Does not implicitly {@link flyteidl.event.ResourcePoolInfo.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DeleteTaskResponse + * @memberof flyteidl.event.ResourcePoolInfo * @static - * @param {flyteidl.admin.IDeleteTaskResponse} message DeleteTaskResponse 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 */ - DeleteTaskResponse.encode = function encode(message, writer) { + ResourcePoolInfo.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); return writer; }; /** - * Decodes a DeleteTaskResponse message from the specified reader or buffer. + * Decodes a ResourcePoolInfo message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DeleteTaskResponse + * @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.DeleteTaskResponse} DeleteTaskResponse + * @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 */ - DeleteTaskResponse.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.DeleteTaskResponse(); + 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.allocationToken = reader.string(); + break; + case 2: + message.namespace = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -19990,40 +20881,52 @@ }; /** - * Verifies a DeleteTaskResponse message. + * Verifies a ResourcePoolInfo message. * @function verify - * @memberof flyteidl.admin.DeleteTaskResponse + * @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 */ - DeleteTaskResponse.verify = function verify(message) { + ResourcePoolInfo.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"; return null; }; - return DeleteTaskResponse; + return ResourcePoolInfo; })(); - admin.ClusterAssignment = (function() { + event.TaskExecutionMetadata = (function() { /** - * Properties of a ClusterAssignment. - * @memberof flyteidl.admin - * @interface IClusterAssignment - * @property {string|null} [clusterPoolName] ClusterAssignment clusterPoolName + * 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 ClusterAssignment. - * @memberof flyteidl.admin - * @classdesc Represents a ClusterAssignment. - * @implements IClusterAssignment + * Constructs a new TaskExecutionMetadata. + * @memberof flyteidl.event + * @classdesc Represents a TaskExecutionMetadata. + * @implements ITaskExecutionMetadata * @constructor - * @param {flyteidl.admin.IClusterAssignment=} [properties] Properties to set + * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set */ - function ClusterAssignment(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) @@ -20031,62 +20934,120 @@ } /** - * ClusterAssignment clusterPoolName. - * @member {string} clusterPoolName - * @memberof flyteidl.admin.ClusterAssignment + * TaskExecutionMetadata generatedName. + * @member {string} generatedName + * @memberof flyteidl.event.TaskExecutionMetadata * @instance */ - ClusterAssignment.prototype.clusterPoolName = ""; + TaskExecutionMetadata.prototype.generatedName = ""; /** - * Creates a new ClusterAssignment instance using the specified properties. + * TaskExecutionMetadata externalResources. + * @member {Array.} externalResources + * @memberof flyteidl.event.TaskExecutionMetadata + * @instance + */ + TaskExecutionMetadata.prototype.externalResources = $util.emptyArray; + + /** + * TaskExecutionMetadata resourcePoolInfo. + * @member {Array.} resourcePoolInfo + * @memberof flyteidl.event.TaskExecutionMetadata + * @instance + */ + TaskExecutionMetadata.prototype.resourcePoolInfo = $util.emptyArray; + + /** + * TaskExecutionMetadata pluginIdentifier. + * @member {string} pluginIdentifier + * @memberof flyteidl.event.TaskExecutionMetadata + * @instance + */ + TaskExecutionMetadata.prototype.pluginIdentifier = ""; + + /** + * TaskExecutionMetadata instanceClass. + * @member {flyteidl.event.TaskExecutionMetadata.InstanceClass} instanceClass + * @memberof flyteidl.event.TaskExecutionMetadata + * @instance + */ + TaskExecutionMetadata.prototype.instanceClass = 0; + + /** + * Creates a new TaskExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.ClusterAssignment + * @memberof flyteidl.event.TaskExecutionMetadata * @static - * @param {flyteidl.admin.IClusterAssignment=} [properties] Properties to set - * @returns {flyteidl.admin.ClusterAssignment} ClusterAssignment instance + * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.event.TaskExecutionMetadata} TaskExecutionMetadata instance */ - ClusterAssignment.create = function create(properties) { - return new ClusterAssignment(properties); + TaskExecutionMetadata.create = function create(properties) { + return new TaskExecutionMetadata(properties); }; /** - * Encodes the specified ClusterAssignment message. Does not implicitly {@link flyteidl.admin.ClusterAssignment.verify|verify} messages. + * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.TaskExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ClusterAssignment + * @memberof flyteidl.event.TaskExecutionMetadata * @static - * @param {flyteidl.admin.IClusterAssignment} message ClusterAssignment 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 */ - ClusterAssignment.encode = function encode(message, writer) { + TaskExecutionMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.clusterPoolName != null && message.hasOwnProperty("clusterPoolName")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.clusterPoolName); - return writer; - }; - - /** - * Decodes a ClusterAssignment message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.ClusterAssignment - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + 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 TaskExecutionMetadata message from the specified reader or buffer. + * @function decode + * @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.ClusterAssignment} ClusterAssignment + * @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 */ - ClusterAssignment.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.ClusterAssignment(); + 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.generatedName = reader.string(); + break; + case 2: + if (!(message.externalResources && message.externalResources.length)) + message.externalResources = []; + message.externalResources.push($root.flyteidl.event.ExternalResourceInfo.decode(reader, reader.uint32())); + break; case 3: - message.clusterPoolName = 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.pluginIdentifier = reader.string(); + break; + case 16: + message.instanceClass = reader.int32(); break; default: reader.skipType(tag & 7); @@ -20097,45 +21058,126 @@ }; /** - * Verifies a ClusterAssignment message. + * Verifies a TaskExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.ClusterAssignment + * @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 */ - ClusterAssignment.verify = function verify(message) { + TaskExecutionMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.clusterPoolName != null && message.hasOwnProperty("clusterPoolName")) - if (!$util.isString(message.clusterPoolName)) - return "clusterPoolName: string 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; + } return null; }; - return ClusterAssignment; + /** + * 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; })(); - admin.NamedEntityIdentifier = (function() { + return event; + })(); + + flyteidl.admin = (function() { + + /** + * Namespace admin. + * @memberof flyteidl + * @namespace + */ + var admin = {}; + + /** + * State enum. + * @name flyteidl.admin.State + * @enum {string} + * @property {number} RETRYABLE_FAILURE=0 RETRYABLE_FAILURE value + * @property {number} PERMANENT_FAILURE=1 PERMANENT_FAILURE value + * @property {number} PENDING=2 PENDING value + * @property {number} RUNNING=3 RUNNING value + * @property {number} SUCCEEDED=4 SUCCEEDED value + */ + admin.State = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "RETRYABLE_FAILURE"] = 0; + values[valuesById[1] = "PERMANENT_FAILURE"] = 1; + values[valuesById[2] = "PENDING"] = 2; + values[valuesById[3] = "RUNNING"] = 3; + values[valuesById[4] = "SUCCEEDED"] = 4; + return values; + })(); + + admin.TaskExecutionMetadata = (function() { /** - * Properties of a NamedEntityIdentifier. + * Properties of a TaskExecutionMetadata. * @memberof flyteidl.admin - * @interface INamedEntityIdentifier - * @property {string|null} [project] NamedEntityIdentifier project - * @property {string|null} [domain] NamedEntityIdentifier domain - * @property {string|null} [name] NamedEntityIdentifier name + * @interface ITaskExecutionMetadata + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] TaskExecutionMetadata taskExecutionId + * @property {string|null} [namespace] TaskExecutionMetadata namespace + * @property {Object.|null} [labels] TaskExecutionMetadata labels + * @property {Object.|null} [annotations] TaskExecutionMetadata annotations + * @property {string|null} [k8sServiceAccount] TaskExecutionMetadata k8sServiceAccount + * @property {Object.|null} [environmentVariables] TaskExecutionMetadata environmentVariables */ /** - * Constructs a new NamedEntityIdentifier. + * Constructs a new TaskExecutionMetadata. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityIdentifier. - * @implements INamedEntityIdentifier + * @classdesc Represents a TaskExecutionMetadata. + * @implements ITaskExecutionMetadata * @constructor - * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionMetadata=} [properties] Properties to set */ - function NamedEntityIdentifier(properties) { + function TaskExecutionMetadata(properties) { + this.labels = {}; + this.annotations = {}; + this.environmentVariables = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20143,88 +21185,145 @@ } /** - * NamedEntityIdentifier project. - * @member {string} project - * @memberof flyteidl.admin.NamedEntityIdentifier + * TaskExecutionMetadata taskExecutionId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId + * @memberof flyteidl.admin.TaskExecutionMetadata * @instance */ - NamedEntityIdentifier.prototype.project = ""; + TaskExecutionMetadata.prototype.taskExecutionId = null; /** - * NamedEntityIdentifier domain. - * @member {string} domain - * @memberof flyteidl.admin.NamedEntityIdentifier + * TaskExecutionMetadata namespace. + * @member {string} namespace + * @memberof flyteidl.admin.TaskExecutionMetadata * @instance */ - NamedEntityIdentifier.prototype.domain = ""; + TaskExecutionMetadata.prototype.namespace = ""; /** - * NamedEntityIdentifier name. - * @member {string} name - * @memberof flyteidl.admin.NamedEntityIdentifier + * TaskExecutionMetadata labels. + * @member {Object.} labels + * @memberof flyteidl.admin.TaskExecutionMetadata * @instance */ - NamedEntityIdentifier.prototype.name = ""; + TaskExecutionMetadata.prototype.labels = $util.emptyObject; /** - * Creates a new NamedEntityIdentifier instance using the specified properties. + * TaskExecutionMetadata annotations. + * @member {Object.} annotations + * @memberof flyteidl.admin.TaskExecutionMetadata + * @instance + */ + TaskExecutionMetadata.prototype.annotations = $util.emptyObject; + + /** + * TaskExecutionMetadata k8sServiceAccount. + * @member {string} k8sServiceAccount + * @memberof flyteidl.admin.TaskExecutionMetadata + * @instance + */ + TaskExecutionMetadata.prototype.k8sServiceAccount = ""; + + /** + * TaskExecutionMetadata environmentVariables. + * @member {Object.} environmentVariables + * @memberof flyteidl.admin.TaskExecutionMetadata + * @instance + */ + TaskExecutionMetadata.prototype.environmentVariables = $util.emptyObject; + + /** + * Creates a new TaskExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityIdentifier + * @memberof flyteidl.admin.TaskExecutionMetadata * @static - * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityIdentifier} NamedEntityIdentifier instance + * @param {flyteidl.admin.ITaskExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionMetadata} TaskExecutionMetadata instance */ - NamedEntityIdentifier.create = function create(properties) { - return new NamedEntityIdentifier(properties); + TaskExecutionMetadata.create = function create(properties) { + return new TaskExecutionMetadata(properties); }; /** - * Encodes the specified NamedEntityIdentifier message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifier.verify|verify} messages. + * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.admin.TaskExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityIdentifier + * @memberof flyteidl.admin.TaskExecutionMetadata * @static - * @param {flyteidl.admin.INamedEntityIdentifier} message NamedEntityIdentifier message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionMetadata} message TaskExecutionMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityIdentifier.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.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); + 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.namespace != null && message.hasOwnProperty("namespace")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespace); + if (message.labels != null && message.hasOwnProperty("labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.annotations != null && message.hasOwnProperty("annotations")) + for (var keys = Object.keys(message.annotations), i = 0; i < keys.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.annotations[keys[i]]).ldelim(); + if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.k8sServiceAccount); + if (message.environmentVariables != null && message.hasOwnProperty("environmentVariables")) + for (var keys = Object.keys(message.environmentVariables), i = 0; i < keys.length; ++i) + writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.environmentVariables[keys[i]]).ldelim(); return writer; }; /** - * Decodes a NamedEntityIdentifier message from the specified reader or buffer. + * Decodes a TaskExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityIdentifier + * @memberof flyteidl.admin.TaskExecutionMetadata * @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.TaskExecutionMetadata} TaskExecutionMetadata * @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) { + 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.NamedEntityIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionMetadata(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); + message.namespace = reader.string(); break; case 3: - message.name = reader.string(); + reader.skip().pos++; + if (message.labels === $util.emptyObject) + message.labels = {}; + key = reader.string(); + reader.pos++; + message.labels[key] = reader.string(); + break; + case 4: + reader.skip().pos++; + if (message.annotations === $util.emptyObject) + message.annotations = {}; + key = reader.string(); + reader.pos++; + message.annotations[key] = reader.string(); + break; + case 5: + message.k8sServiceAccount = reader.string(); + break; + case 6: + reader.skip().pos++; + if (message.environmentVariables === $util.emptyObject) + message.environmentVariables = {}; + key = reader.string(); + reader.pos++; + message.environmentVariables[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -20235,66 +21334,78 @@ }; /** - * Verifies a NamedEntityIdentifier message. + * Verifies a TaskExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.NamedEntityIdentifier + * @memberof flyteidl.admin.TaskExecutionMetadata * @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) { + 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.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); + if (error) + return "taskExecutionId." + error; + } + if (message.namespace != null && message.hasOwnProperty("namespace")) + if (!$util.isString(message.namespace)) + return "namespace: string expected"; + 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.annotations != null && message.hasOwnProperty("annotations")) { + if (!$util.isObject(message.annotations)) + return "annotations: object expected"; + var key = Object.keys(message.annotations); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.annotations[key[i]])) + return "annotations: string{k:string} expected"; + } + if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) + if (!$util.isString(message.k8sServiceAccount)) + return "k8sServiceAccount: string expected"; + if (message.environmentVariables != null && message.hasOwnProperty("environmentVariables")) { + if (!$util.isObject(message.environmentVariables)) + return "environmentVariables: object expected"; + var key = Object.keys(message.environmentVariables); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.environmentVariables[key[i]])) + return "environmentVariables: string{k: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; + return TaskExecutionMetadata; })(); - admin.NamedEntityMetadata = (function() { + admin.CreateTaskRequest = (function() { /** - * Properties of a NamedEntityMetadata. + * Properties of a CreateTaskRequest. * @memberof flyteidl.admin - * @interface INamedEntityMetadata - * @property {string|null} [description] NamedEntityMetadata description - * @property {flyteidl.admin.NamedEntityState|null} [state] NamedEntityMetadata state + * @interface ICreateTaskRequest + * @property {flyteidl.core.ILiteralMap|null} [inputs] CreateTaskRequest inputs + * @property {flyteidl.core.ITaskTemplate|null} [template] CreateTaskRequest template + * @property {string|null} [outputPrefix] CreateTaskRequest outputPrefix + * @property {flyteidl.admin.ITaskExecutionMetadata|null} [taskExecutionMetadata] CreateTaskRequest taskExecutionMetadata */ /** - * Constructs a new NamedEntityMetadata. + * Constructs a new CreateTaskRequest. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityMetadata. - * @implements INamedEntityMetadata + * @classdesc Represents a CreateTaskRequest. + * @implements ICreateTaskRequest * @constructor - * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set + * @param {flyteidl.admin.ICreateTaskRequest=} [properties] Properties to set */ - function NamedEntityMetadata(properties) { + function CreateTaskRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20302,75 +21413,101 @@ } /** - * NamedEntityMetadata description. - * @member {string} description - * @memberof flyteidl.admin.NamedEntityMetadata + * CreateTaskRequest inputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputs + * @memberof flyteidl.admin.CreateTaskRequest * @instance */ - NamedEntityMetadata.prototype.description = ""; + CreateTaskRequest.prototype.inputs = null; /** - * NamedEntityMetadata state. - * @member {flyteidl.admin.NamedEntityState} state - * @memberof flyteidl.admin.NamedEntityMetadata + * CreateTaskRequest template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.admin.CreateTaskRequest * @instance */ - NamedEntityMetadata.prototype.state = 0; + CreateTaskRequest.prototype.template = null; /** - * Creates a new NamedEntityMetadata instance using the specified properties. + * CreateTaskRequest outputPrefix. + * @member {string} outputPrefix + * @memberof flyteidl.admin.CreateTaskRequest + * @instance + */ + CreateTaskRequest.prototype.outputPrefix = ""; + + /** + * CreateTaskRequest taskExecutionMetadata. + * @member {flyteidl.admin.ITaskExecutionMetadata|null|undefined} taskExecutionMetadata + * @memberof flyteidl.admin.CreateTaskRequest + * @instance + */ + CreateTaskRequest.prototype.taskExecutionMetadata = null; + + /** + * Creates a new CreateTaskRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityMetadata + * @memberof flyteidl.admin.CreateTaskRequest * @static - * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityMetadata} NamedEntityMetadata instance + * @param {flyteidl.admin.ICreateTaskRequest=} [properties] Properties to set + * @returns {flyteidl.admin.CreateTaskRequest} CreateTaskRequest instance */ - NamedEntityMetadata.create = function create(properties) { - return new NamedEntityMetadata(properties); + CreateTaskRequest.create = function create(properties) { + return new CreateTaskRequest(properties); }; /** - * Encodes the specified NamedEntityMetadata message. Does not implicitly {@link flyteidl.admin.NamedEntityMetadata.verify|verify} messages. + * Encodes the specified CreateTaskRequest message. Does not implicitly {@link flyteidl.admin.CreateTaskRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityMetadata + * @memberof flyteidl.admin.CreateTaskRequest * @static - * @param {flyteidl.admin.INamedEntityMetadata} message NamedEntityMetadata message or plain object to encode + * @param {flyteidl.admin.ICreateTaskRequest} message CreateTaskRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityMetadata.encode = function encode(message, writer) { + CreateTaskRequest.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); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPrefix); + if (message.taskExecutionMetadata != null && message.hasOwnProperty("taskExecutionMetadata")) + $root.flyteidl.admin.TaskExecutionMetadata.encode(message.taskExecutionMetadata, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a NamedEntityMetadata message from the specified reader or buffer. + * Decodes a CreateTaskRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityMetadata + * @memberof flyteidl.admin.CreateTaskRequest * @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 + * @returns {flyteidl.admin.CreateTaskRequest} CreateTaskRequest * @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) { + CreateTaskRequest.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(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.CreateTaskRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.description = reader.string(); + message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 2: - message.state = reader.int32(); + message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + break; + case 3: + message.outputPrefix = reader.string(); + break; + case 4: + message.taskExecutionMetadata = $root.flyteidl.admin.TaskExecutionMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -20381,54 +21518,58 @@ }; /** - * Verifies a NamedEntityMetadata message. + * Verifies a CreateTaskRequest message. * @function verify - * @memberof flyteidl.admin.NamedEntityMetadata + * @memberof flyteidl.admin.CreateTaskRequest * @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) { + CreateTaskRequest.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.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.template); + if (error) + return "template." + error; + } + if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) + if (!$util.isString(message.outputPrefix)) + return "outputPrefix: string expected"; + if (message.taskExecutionMetadata != null && message.hasOwnProperty("taskExecutionMetadata")) { + var error = $root.flyteidl.admin.TaskExecutionMetadata.verify(message.taskExecutionMetadata); + if (error) + return "taskExecutionMetadata." + error; + } return null; }; - return NamedEntityMetadata; + return CreateTaskRequest; })(); - admin.NamedEntity = (function() { + admin.CreateTaskResponse = (function() { /** - * Properties of a NamedEntity. + * Properties of a CreateTaskResponse. * @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 ICreateTaskResponse + * @property {Uint8Array|null} [resourceMeta] CreateTaskResponse resourceMeta + */ /** - * Constructs a new NamedEntity. + * Constructs a new CreateTaskResponse. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntity. - * @implements INamedEntity + * @classdesc Represents a CreateTaskResponse. + * @implements ICreateTaskResponse * @constructor - * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set + * @param {flyteidl.admin.ICreateTaskResponse=} [properties] Properties to set */ - function NamedEntity(properties) { + function CreateTaskResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20436,88 +21577,62 @@ } /** - * NamedEntity resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntity - * @instance - */ - NamedEntity.prototype.resourceType = 0; - - /** - * NamedEntity id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.NamedEntity - * @instance - */ - NamedEntity.prototype.id = null; - - /** - * NamedEntity metadata. - * @member {flyteidl.admin.INamedEntityMetadata|null|undefined} metadata - * @memberof flyteidl.admin.NamedEntity + * CreateTaskResponse resourceMeta. + * @member {Uint8Array} resourceMeta + * @memberof flyteidl.admin.CreateTaskResponse * @instance */ - NamedEntity.prototype.metadata = null; + CreateTaskResponse.prototype.resourceMeta = $util.newBuffer([]); /** - * Creates a new NamedEntity instance using the specified properties. + * Creates a new CreateTaskResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.CreateTaskResponse * @static - * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntity} NamedEntity instance + * @param {flyteidl.admin.ICreateTaskResponse=} [properties] Properties to set + * @returns {flyteidl.admin.CreateTaskResponse} CreateTaskResponse instance */ - NamedEntity.create = function create(properties) { - return new NamedEntity(properties); + CreateTaskResponse.create = function create(properties) { + return new CreateTaskResponse(properties); }; /** - * Encodes the specified NamedEntity message. Does not implicitly {@link flyteidl.admin.NamedEntity.verify|verify} messages. + * Encodes the specified CreateTaskResponse message. Does not implicitly {@link flyteidl.admin.CreateTaskResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.CreateTaskResponse * @static - * @param {flyteidl.admin.INamedEntity} message NamedEntity message or plain object to encode + * @param {flyteidl.admin.ICreateTaskResponse} message CreateTaskResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntity.encode = function encode(message, writer) { + CreateTaskResponse.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.resourceMeta != null && message.hasOwnProperty("resourceMeta")) + writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.resourceMeta); return writer; }; /** - * Decodes a NamedEntity message from the specified reader or buffer. + * Decodes a CreateTaskResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.CreateTaskResponse * @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.CreateTaskResponse} CreateTaskResponse * @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) { + CreateTaskResponse.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.CreateTaskResponse(); 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()); + message.resourceMeta = reader.bytes(); break; default: reader.skipType(tag & 7); @@ -20528,62 +21643,44 @@ }; /** - * Verifies a NamedEntity message. + * Verifies a CreateTaskResponse message. * @function verify - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.CreateTaskResponse * @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) { + CreateTaskResponse.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; - } + if (message.resourceMeta != null && message.hasOwnProperty("resourceMeta")) + if (!(message.resourceMeta && typeof message.resourceMeta.length === "number" || $util.isString(message.resourceMeta))) + return "resourceMeta: buffer expected"; return null; }; - return NamedEntity; + return CreateTaskResponse; })(); - admin.Sort = (function() { + admin.GetTaskRequest = (function() { /** - * Properties of a Sort. + * Properties of a GetTaskRequest. * @memberof flyteidl.admin - * @interface ISort - * @property {string|null} [key] Sort key - * @property {flyteidl.admin.Sort.Direction|null} [direction] Sort direction + * @interface IGetTaskRequest + * @property {string|null} [taskType] GetTaskRequest taskType + * @property {Uint8Array|null} [resourceMeta] GetTaskRequest resourceMeta */ /** - * Constructs a new Sort. + * Constructs a new GetTaskRequest. * @memberof flyteidl.admin - * @classdesc Represents a Sort. - * @implements ISort + * @classdesc Represents a GetTaskRequest. + * @implements IGetTaskRequest * @constructor - * @param {flyteidl.admin.ISort=} [properties] Properties to set + * @param {flyteidl.admin.IGetTaskRequest=} [properties] Properties to set */ - function Sort(properties) { + function GetTaskRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20591,75 +21688,75 @@ } /** - * Sort key. - * @member {string} key - * @memberof flyteidl.admin.Sort + * GetTaskRequest taskType. + * @member {string} taskType + * @memberof flyteidl.admin.GetTaskRequest * @instance */ - Sort.prototype.key = ""; + GetTaskRequest.prototype.taskType = ""; /** - * Sort direction. - * @member {flyteidl.admin.Sort.Direction} direction - * @memberof flyteidl.admin.Sort + * GetTaskRequest resourceMeta. + * @member {Uint8Array} resourceMeta + * @memberof flyteidl.admin.GetTaskRequest * @instance */ - Sort.prototype.direction = 0; + GetTaskRequest.prototype.resourceMeta = $util.newBuffer([]); /** - * Creates a new Sort instance using the specified properties. + * Creates a new GetTaskRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.GetTaskRequest * @static - * @param {flyteidl.admin.ISort=} [properties] Properties to set - * @returns {flyteidl.admin.Sort} Sort instance + * @param {flyteidl.admin.IGetTaskRequest=} [properties] Properties to set + * @returns {flyteidl.admin.GetTaskRequest} GetTaskRequest instance */ - Sort.create = function create(properties) { - return new Sort(properties); + GetTaskRequest.create = function create(properties) { + return new GetTaskRequest(properties); }; /** - * Encodes the specified Sort message. Does not implicitly {@link flyteidl.admin.Sort.verify|verify} messages. + * Encodes the specified GetTaskRequest message. Does not implicitly {@link flyteidl.admin.GetTaskRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.GetTaskRequest * @static - * @param {flyteidl.admin.ISort} message Sort message or plain object to encode + * @param {flyteidl.admin.IGetTaskRequest} message GetTaskRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Sort.encode = function encode(message, writer) { + GetTaskRequest.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.taskType != null && message.hasOwnProperty("taskType")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType); + if (message.resourceMeta != null && message.hasOwnProperty("resourceMeta")) + writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.resourceMeta); return writer; }; /** - * Decodes a Sort message from the specified reader or buffer. + * Decodes a GetTaskRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.GetTaskRequest * @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.GetTaskRequest} GetTaskRequest * @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) { + GetTaskRequest.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.GetTaskRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.key = reader.string(); + message.taskType = reader.string(); break; case 2: - message.direction = reader.int32(); + message.resourceMeta = reader.bytes(); break; default: reader.skipType(tag & 7); @@ -20670,70 +21767,46 @@ }; /** - * Verifies a Sort message. + * Verifies a GetTaskRequest message. * @function verify - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.GetTaskRequest * @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) { + GetTaskRequest.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.taskType != null && message.hasOwnProperty("taskType")) + if (!$util.isString(message.taskType)) + return "taskType: string expected"; + if (message.resourceMeta != null && message.hasOwnProperty("resourceMeta")) + if (!(message.resourceMeta && typeof message.resourceMeta.length === "number" || $util.isString(message.resourceMeta))) + return "resourceMeta: buffer 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 GetTaskRequest; })(); - admin.NamedEntityIdentifierListRequest = (function() { + admin.GetTaskResponse = (function() { /** - * Properties of a NamedEntityIdentifierListRequest. + * Properties of a GetTaskResponse. * @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 + * @interface IGetTaskResponse + * @property {flyteidl.admin.IResource|null} [resource] GetTaskResponse resource */ /** - * Constructs a new NamedEntityIdentifierListRequest. + * Constructs a new GetTaskResponse. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityIdentifierListRequest. - * @implements INamedEntityIdentifierListRequest + * @classdesc Represents a GetTaskResponse. + * @implements IGetTaskResponse * @constructor - * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IGetTaskResponse=} [properties] Properties to set */ - function NamedEntityIdentifierListRequest(properties) { + function GetTaskResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20741,127 +21814,62 @@ } /** - * 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 - * @instance - */ - NamedEntityIdentifierListRequest.prototype.limit = 0; - - /** - * NamedEntityIdentifierListRequest 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 + * GetTaskResponse resource. + * @member {flyteidl.admin.IResource|null|undefined} resource + * @memberof flyteidl.admin.GetTaskResponse * @instance */ - NamedEntityIdentifierListRequest.prototype.filters = ""; + GetTaskResponse.prototype.resource = null; /** - * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. + * Creates a new GetTaskResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.GetTaskResponse * @static - * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityIdentifierListRequest} NamedEntityIdentifierListRequest instance + * @param {flyteidl.admin.IGetTaskResponse=} [properties] Properties to set + * @returns {flyteidl.admin.GetTaskResponse} GetTaskResponse instance */ - NamedEntityIdentifierListRequest.create = function create(properties) { - return new NamedEntityIdentifierListRequest(properties); + GetTaskResponse.create = function create(properties) { + return new GetTaskResponse(properties); }; /** - * Encodes the specified NamedEntityIdentifierListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierListRequest.verify|verify} messages. + * Encodes the specified GetTaskResponse message. Does not implicitly {@link flyteidl.admin.GetTaskResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.GetTaskResponse * @static - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} message NamedEntityIdentifierListRequest message or plain object to encode + * @param {flyteidl.admin.IGetTaskResponse} message GetTaskResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityIdentifierListRequest.encode = function encode(message, writer) { + GetTaskResponse.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.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.filters); + if (message.resource != null && message.hasOwnProperty("resource")) + $root.flyteidl.admin.Resource.encode(message.resource, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a NamedEntityIdentifierListRequest message from the specified reader or buffer. + * Decodes a GetTaskResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.GetTaskResponse * @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.GetTaskResponse} GetTaskResponse * @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) { + GetTaskResponse.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.GetTaskResponse(); 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.filters = reader.string(); + message.resource = $root.flyteidl.admin.Resource.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -20872,66 +21880,47 @@ }; /** - * Verifies a NamedEntityIdentifierListRequest message. + * Verifies a GetTaskResponse message. * @function verify - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.GetTaskResponse * @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) { + GetTaskResponse.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 (message.resource != null && message.hasOwnProperty("resource")) { + var error = $root.flyteidl.admin.Resource.verify(message.resource); if (error) - return "sortBy." + error; + return "resource." + error; } - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; return null; }; - return NamedEntityIdentifierListRequest; + return GetTaskResponse; })(); - admin.NamedEntityListRequest = (function() { + admin.Resource = (function() { /** - * Properties of a NamedEntityListRequest. + * Properties of a Resource. * @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 + * @interface IResource + * @property {flyteidl.admin.State|null} [state] Resource state + * @property {flyteidl.core.ILiteralMap|null} [outputs] Resource outputs + * @property {string|null} [message] Resource message */ /** - * Constructs a new NamedEntityListRequest. + * Constructs a new Resource. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityListRequest. - * @implements INamedEntityListRequest + * @classdesc Represents a Resource. + * @implements IResource * @constructor - * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IResource=} [properties] Properties to set */ - function NamedEntityListRequest(properties) { + function Resource(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20939,140 +21928,88 @@ } /** - * NamedEntityListRequest resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntityListRequest - * @instance - */ - NamedEntityListRequest.prototype.resourceType = 0; - - /** - * NamedEntityListRequest project. - * @member {string} project - * @memberof flyteidl.admin.NamedEntityListRequest - * @instance - */ - NamedEntityListRequest.prototype.project = ""; - - /** - * NamedEntityListRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.NamedEntityListRequest - * @instance - */ - NamedEntityListRequest.prototype.domain = ""; - - /** - * NamedEntityListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.NamedEntityListRequest - * @instance - */ - NamedEntityListRequest.prototype.limit = 0; - - /** - * NamedEntityListRequest token. - * @member {string} token - * @memberof flyteidl.admin.NamedEntityListRequest + * Resource state. + * @member {flyteidl.admin.State} state + * @memberof flyteidl.admin.Resource * @instance */ - NamedEntityListRequest.prototype.token = ""; + Resource.prototype.state = 0; /** - * NamedEntityListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NamedEntityListRequest + * Resource outputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputs + * @memberof flyteidl.admin.Resource * @instance */ - NamedEntityListRequest.prototype.sortBy = null; + Resource.prototype.outputs = null; /** - * NamedEntityListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.NamedEntityListRequest + * Resource message. + * @member {string} message + * @memberof flyteidl.admin.Resource * @instance */ - NamedEntityListRequest.prototype.filters = ""; + Resource.prototype.message = ""; /** - * Creates a new NamedEntityListRequest instance using the specified properties. + * Creates a new Resource instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.Resource * @static - * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityListRequest} NamedEntityListRequest instance + * @param {flyteidl.admin.IResource=} [properties] Properties to set + * @returns {flyteidl.admin.Resource} Resource instance */ - NamedEntityListRequest.create = function create(properties) { - return new NamedEntityListRequest(properties); + Resource.create = function create(properties) { + return new Resource(properties); }; /** - * Encodes the specified NamedEntityListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityListRequest.verify|verify} messages. + * Encodes the specified Resource message. Does not implicitly {@link flyteidl.admin.Resource.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.Resource * @static - * @param {flyteidl.admin.INamedEntityListRequest} message NamedEntityListRequest message or plain object to encode + * @param {flyteidl.admin.IResource} message Resource message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityListRequest.encode = function encode(message, writer) { + Resource.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.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); - return writer; - }; - + if (message.state != null && message.hasOwnProperty("state")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.core.LiteralMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.message); + return writer; + }; + /** - * Decodes a NamedEntityListRequest message from the specified reader or buffer. + * Decodes a Resource message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.Resource * @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.Resource} Resource * @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) { + Resource.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.Resource(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resourceType = reader.int32(); + message.state = reader.int32(); break; case 2: - message.project = reader.string(); + message.outputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 3: - message.domain = reader.string(); - break; - case 4: - message.limit = reader.uint32(); - break; - case 5: - message.token = reader.string(); - break; - case 6: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; - case 7: - message.filters = reader.string(); + message.message = reader.string(); break; default: reader.skipType(tag & 7); @@ -21083,20 +22020,20 @@ }; /** - * Verifies a NamedEntityListRequest message. + * Verifies a Resource message. * @function verify - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.Resource * @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) { + Resource.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { default: - return "resourceType: enum value expected"; + return "state: enum value expected"; case 0: case 1: case 2: @@ -21104,52 +22041,39 @@ 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.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 (message.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputs); if (error) - return "sortBy." + error; + return "outputs." + error; } - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; return null; }; - return NamedEntityListRequest; + return Resource; })(); - admin.NamedEntityIdentifierList = (function() { + admin.DeleteTaskRequest = (function() { /** - * Properties of a NamedEntityIdentifierList. + * Properties of a DeleteTaskRequest. * @memberof flyteidl.admin - * @interface INamedEntityIdentifierList - * @property {Array.|null} [entities] NamedEntityIdentifierList entities - * @property {string|null} [token] NamedEntityIdentifierList token + * @interface IDeleteTaskRequest + * @property {string|null} [taskType] DeleteTaskRequest taskType + * @property {Uint8Array|null} [resourceMeta] DeleteTaskRequest resourceMeta */ /** - * Constructs a new NamedEntityIdentifierList. + * Constructs a new DeleteTaskRequest. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityIdentifierList. - * @implements INamedEntityIdentifierList + * @classdesc Represents a DeleteTaskRequest. + * @implements IDeleteTaskRequest * @constructor - * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set + * @param {flyteidl.admin.IDeleteTaskRequest=} [properties] Properties to set */ - function NamedEntityIdentifierList(properties) { - this.entities = []; + function DeleteTaskRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21157,78 +22081,75 @@ } /** - * NamedEntityIdentifierList entities. - * @member {Array.} entities - * @memberof flyteidl.admin.NamedEntityIdentifierList + * DeleteTaskRequest taskType. + * @member {string} taskType + * @memberof flyteidl.admin.DeleteTaskRequest * @instance */ - NamedEntityIdentifierList.prototype.entities = $util.emptyArray; + DeleteTaskRequest.prototype.taskType = ""; /** - * NamedEntityIdentifierList token. - * @member {string} token - * @memberof flyteidl.admin.NamedEntityIdentifierList + * DeleteTaskRequest resourceMeta. + * @member {Uint8Array} resourceMeta + * @memberof flyteidl.admin.DeleteTaskRequest * @instance */ - NamedEntityIdentifierList.prototype.token = ""; + DeleteTaskRequest.prototype.resourceMeta = $util.newBuffer([]); /** - * Creates a new NamedEntityIdentifierList instance using the specified properties. + * Creates a new DeleteTaskRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.DeleteTaskRequest * @static - * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityIdentifierList} NamedEntityIdentifierList instance + * @param {flyteidl.admin.IDeleteTaskRequest=} [properties] Properties to set + * @returns {flyteidl.admin.DeleteTaskRequest} DeleteTaskRequest instance */ - NamedEntityIdentifierList.create = function create(properties) { - return new NamedEntityIdentifierList(properties); + DeleteTaskRequest.create = function create(properties) { + return new DeleteTaskRequest(properties); }; /** - * Encodes the specified NamedEntityIdentifierList message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierList.verify|verify} messages. + * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link flyteidl.admin.DeleteTaskRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.DeleteTaskRequest * @static - * @param {flyteidl.admin.INamedEntityIdentifierList} message NamedEntityIdentifierList message or plain object to encode + * @param {flyteidl.admin.IDeleteTaskRequest} message DeleteTaskRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityIdentifierList.encode = function encode(message, writer) { + DeleteTaskRequest.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.taskType != null && message.hasOwnProperty("taskType")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType); + if (message.resourceMeta != null && message.hasOwnProperty("resourceMeta")) + writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.resourceMeta); return writer; }; /** - * Decodes a NamedEntityIdentifierList message from the specified reader or buffer. + * Decodes a DeleteTaskRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.DeleteTaskRequest * @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.DeleteTaskRequest} DeleteTaskRequest * @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) { + DeleteTaskRequest.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.DeleteTaskRequest(); 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())); + message.taskType = reader.string(); break; case 2: - message.token = reader.string(); + message.resourceMeta = reader.bytes(); break; default: reader.skipType(tag & 7); @@ -21239,54 +22160,45 @@ }; /** - * Verifies a NamedEntityIdentifierList message. + * Verifies a DeleteTaskRequest message. * @function verify - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.DeleteTaskRequest * @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) { + DeleteTaskRequest.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.taskType != null && message.hasOwnProperty("taskType")) + if (!$util.isString(message.taskType)) + return "taskType: string expected"; + if (message.resourceMeta != null && message.hasOwnProperty("resourceMeta")) + if (!(message.resourceMeta && typeof message.resourceMeta.length === "number" || $util.isString(message.resourceMeta))) + return "resourceMeta: buffer expected"; return null; }; - return NamedEntityIdentifierList; + return DeleteTaskRequest; })(); - admin.NamedEntityList = (function() { + admin.DeleteTaskResponse = (function() { /** - * Properties of a NamedEntityList. + * Properties of a DeleteTaskResponse. * @memberof flyteidl.admin - * @interface INamedEntityList - * @property {Array.|null} [entities] NamedEntityList entities - * @property {string|null} [token] NamedEntityList token + * @interface IDeleteTaskResponse */ /** - * Constructs a new NamedEntityList. + * Constructs a new DeleteTaskResponse. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityList. - * @implements INamedEntityList + * @classdesc Represents a DeleteTaskResponse. + * @implements IDeleteTaskResponse * @constructor - * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set + * @param {flyteidl.admin.IDeleteTaskResponse=} [properties] Properties to set */ - function NamedEntityList(properties) { - this.entities = []; + function DeleteTaskResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21294,79 +22206,50 @@ } /** - * NamedEntityList entities. - * @member {Array.} entities - * @memberof flyteidl.admin.NamedEntityList - * @instance - */ - NamedEntityList.prototype.entities = $util.emptyArray; - - /** - * NamedEntityList token. - * @member {string} token - * @memberof flyteidl.admin.NamedEntityList - * @instance - */ - NamedEntityList.prototype.token = ""; - - /** - * Creates a new NamedEntityList instance using the specified properties. + * Creates a new DeleteTaskResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.DeleteTaskResponse * @static - * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityList} NamedEntityList instance + * @param {flyteidl.admin.IDeleteTaskResponse=} [properties] Properties to set + * @returns {flyteidl.admin.DeleteTaskResponse} DeleteTaskResponse instance */ - NamedEntityList.create = function create(properties) { - return new NamedEntityList(properties); + DeleteTaskResponse.create = function create(properties) { + return new DeleteTaskResponse(properties); }; /** - * Encodes the specified NamedEntityList message. Does not implicitly {@link flyteidl.admin.NamedEntityList.verify|verify} messages. + * Encodes the specified DeleteTaskResponse message. Does not implicitly {@link flyteidl.admin.DeleteTaskResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.DeleteTaskResponse * @static - * @param {flyteidl.admin.INamedEntityList} message NamedEntityList message or plain object to encode + * @param {flyteidl.admin.IDeleteTaskResponse} message DeleteTaskResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityList.encode = function encode(message, writer) { + DeleteTaskResponse.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); return writer; }; /** - * Decodes a NamedEntityList message from the specified reader or buffer. + * Decodes a DeleteTaskResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.DeleteTaskResponse * @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.DeleteTaskResponse} DeleteTaskResponse * @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) { + DeleteTaskResponse.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.DeleteTaskResponse(); 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())); - break; - case 2: - message.token = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -21376,53 +22259,40 @@ }; /** - * Verifies a NamedEntityList message. + * Verifies a DeleteTaskResponse message. * @function verify - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.DeleteTaskResponse * @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) { + DeleteTaskResponse.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]); - if (error) - return "entities." + error; - } - } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return NamedEntityList; + return DeleteTaskResponse; })(); - admin.NamedEntityGetRequest = (function() { + admin.ClusterAssignment = (function() { /** - * Properties of a NamedEntityGetRequest. + * Properties of a ClusterAssignment. * @memberof flyteidl.admin - * @interface INamedEntityGetRequest - * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityGetRequest resourceType - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntityGetRequest id + * @interface IClusterAssignment + * @property {string|null} [clusterPoolName] ClusterAssignment clusterPoolName */ /** - * Constructs a new NamedEntityGetRequest. + * Constructs a new ClusterAssignment. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityGetRequest. - * @implements INamedEntityGetRequest + * @classdesc Represents a ClusterAssignment. + * @implements IClusterAssignment * @constructor - * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IClusterAssignment=} [properties] Properties to set */ - function NamedEntityGetRequest(properties) { + function ClusterAssignment(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21430,75 +22300,62 @@ } /** - * NamedEntityGetRequest resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntityGetRequest - * @instance - */ - NamedEntityGetRequest.prototype.resourceType = 0; - - /** - * NamedEntityGetRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.NamedEntityGetRequest + * ClusterAssignment clusterPoolName. + * @member {string} clusterPoolName + * @memberof flyteidl.admin.ClusterAssignment * @instance */ - NamedEntityGetRequest.prototype.id = null; + ClusterAssignment.prototype.clusterPoolName = ""; /** - * Creates a new NamedEntityGetRequest instance using the specified properties. + * Creates a new ClusterAssignment instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.ClusterAssignment * @static - * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityGetRequest} NamedEntityGetRequest instance + * @param {flyteidl.admin.IClusterAssignment=} [properties] Properties to set + * @returns {flyteidl.admin.ClusterAssignment} ClusterAssignment instance */ - NamedEntityGetRequest.create = function create(properties) { - return new NamedEntityGetRequest(properties); + ClusterAssignment.create = function create(properties) { + return new ClusterAssignment(properties); }; /** - * Encodes the specified NamedEntityGetRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityGetRequest.verify|verify} messages. + * Encodes the specified ClusterAssignment message. Does not implicitly {@link flyteidl.admin.ClusterAssignment.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.ClusterAssignment * @static - * @param {flyteidl.admin.INamedEntityGetRequest} message NamedEntityGetRequest message or plain object to encode + * @param {flyteidl.admin.IClusterAssignment} message ClusterAssignment message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityGetRequest.encode = function encode(message, writer) { + ClusterAssignment.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.clusterPoolName != null && message.hasOwnProperty("clusterPoolName")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.clusterPoolName); return writer; }; /** - * Decodes a NamedEntityGetRequest message from the specified reader or buffer. + * Decodes a ClusterAssignment message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.ClusterAssignment * @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.ClusterAssignment} ClusterAssignment * @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) { + ClusterAssignment.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.ClusterAssignment(); 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()); + case 3: + message.clusterPoolName = reader.string(); break; default: reader.skipType(tag & 7); @@ -21509,58 +22366,45 @@ }; /** - * Verifies a NamedEntityGetRequest message. + * Verifies a ClusterAssignment message. * @function verify - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.ClusterAssignment * @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) { + ClusterAssignment.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.clusterPoolName != null && message.hasOwnProperty("clusterPoolName")) + if (!$util.isString(message.clusterPoolName)) + return "clusterPoolName: string expected"; return null; }; - return NamedEntityGetRequest; + return ClusterAssignment; })(); - admin.NamedEntityUpdateRequest = (function() { + admin.NamedEntityIdentifier = (function() { /** - * Properties of a NamedEntityUpdateRequest. + * Properties of a NamedEntityIdentifier. * @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 INamedEntityIdentifier + * @property {string|null} [project] NamedEntityIdentifier project + * @property {string|null} [domain] NamedEntityIdentifier domain + * @property {string|null} [name] NamedEntityIdentifier name */ /** - * Constructs a new NamedEntityUpdateRequest. + * Constructs a new NamedEntityIdentifier. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityUpdateRequest. - * @implements INamedEntityUpdateRequest + * @classdesc Represents a NamedEntityIdentifier. + * @implements INamedEntityIdentifier * @constructor - * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set */ - function NamedEntityUpdateRequest(properties) { + function NamedEntityIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21568,88 +22412,88 @@ } /** - * NamedEntityUpdateRequest resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * NamedEntityIdentifier project. + * @member {string} project + * @memberof flyteidl.admin.NamedEntityIdentifier * @instance */ - NamedEntityUpdateRequest.prototype.resourceType = 0; + NamedEntityIdentifier.prototype.project = ""; /** - * NamedEntityUpdateRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * NamedEntityIdentifier domain. + * @member {string} domain + * @memberof flyteidl.admin.NamedEntityIdentifier * @instance */ - NamedEntityUpdateRequest.prototype.id = null; + NamedEntityIdentifier.prototype.domain = ""; /** - * NamedEntityUpdateRequest metadata. - * @member {flyteidl.admin.INamedEntityMetadata|null|undefined} metadata - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * NamedEntityIdentifier name. + * @member {string} name + * @memberof flyteidl.admin.NamedEntityIdentifier * @instance */ - NamedEntityUpdateRequest.prototype.metadata = null; + NamedEntityIdentifier.prototype.name = ""; /** - * Creates a new NamedEntityUpdateRequest instance using the specified properties. + * Creates a new NamedEntityIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @memberof flyteidl.admin.NamedEntityIdentifier * @static - * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityUpdateRequest} NamedEntityUpdateRequest instance + * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityIdentifier} NamedEntityIdentifier instance */ - NamedEntityUpdateRequest.create = function create(properties) { - return new NamedEntityUpdateRequest(properties); + NamedEntityIdentifier.create = function create(properties) { + return new NamedEntityIdentifier(properties); }; /** - * Encodes the specified NamedEntityUpdateRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateRequest.verify|verify} messages. + * Encodes the specified NamedEntityIdentifier message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @memberof flyteidl.admin.NamedEntityIdentifier * @static - * @param {flyteidl.admin.INamedEntityUpdateRequest} message NamedEntityUpdateRequest 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 */ - NamedEntityUpdateRequest.encode = function encode(message, writer) { + NamedEntityIdentifier.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.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); return writer; }; /** - * Decodes a NamedEntityUpdateRequest message from the specified reader or buffer. + * Decodes a NamedEntityIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @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.admin.NamedEntityUpdateRequest} NamedEntityUpdateRequest + * @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 */ - NamedEntityUpdateRequest.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.admin.NamedEntityUpdateRequest(); + 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.resourceType = reader.int32(); + message.project = reader.string(); break; case 2: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + message.domain = reader.string(); break; case 3: - message.metadata = $root.flyteidl.admin.NamedEntityMetadata.decode(reader, reader.uint32()); + message.name = reader.string(); break; default: reader.skipType(tag & 7); @@ -21660,60 +22504,66 @@ }; /** - * Verifies a NamedEntityUpdateRequest message. + * Verifies a NamedEntityIdentifier message. * @function verify - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @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 */ - NamedEntityUpdateRequest.verify = function verify(message) { + NamedEntityIdentifier.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; - })(); + 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"; + return null; + }; - admin.NamedEntityUpdateResponse = (function() { + 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 NamedEntityUpdateResponse. + * Properties of a NamedEntityMetadata. * @memberof flyteidl.admin - * @interface INamedEntityUpdateResponse + * @interface INamedEntityMetadata + * @property {string|null} [description] NamedEntityMetadata description + * @property {flyteidl.admin.NamedEntityState|null} [state] NamedEntityMetadata state */ /** - * Constructs a new NamedEntityUpdateResponse. + * Constructs a new NamedEntityMetadata. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityUpdateResponse. - * @implements INamedEntityUpdateResponse + * @classdesc Represents a NamedEntityMetadata. + * @implements INamedEntityMetadata * @constructor - * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set */ - function NamedEntityUpdateResponse(properties) { + function NamedEntityMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21721,50 +22571,76 @@ } /** - * Creates a new NamedEntityUpdateResponse instance using the specified properties. + * 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.NamedEntityUpdateResponse + * @memberof flyteidl.admin.NamedEntityMetadata * @static - * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityUpdateResponse} NamedEntityUpdateResponse instance + * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityMetadata} NamedEntityMetadata instance */ - NamedEntityUpdateResponse.create = function create(properties) { - return new NamedEntityUpdateResponse(properties); + NamedEntityMetadata.create = function create(properties) { + return new NamedEntityMetadata(properties); }; /** - * Encodes the specified NamedEntityUpdateResponse message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateResponse.verify|verify} messages. + * Encodes the specified NamedEntityMetadata message. Does not implicitly {@link flyteidl.admin.NamedEntityMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityUpdateResponse + * @memberof flyteidl.admin.NamedEntityMetadata * @static - * @param {flyteidl.admin.INamedEntityUpdateResponse} message NamedEntityUpdateResponse 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 */ - NamedEntityUpdateResponse.encode = function encode(message, 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 NamedEntityUpdateResponse message from the specified reader or buffer. + * Decodes a NamedEntityMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityUpdateResponse + * @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.NamedEntityUpdateResponse} NamedEntityUpdateResponse + * @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 */ - NamedEntityUpdateResponse.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.admin.NamedEntityUpdateResponse(); + 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(); + break; + case 2: + message.state = reader.int32(); + break; default: reader.skipType(tag & 7); break; @@ -21774,40 +22650,54 @@ }; /** - * Verifies a NamedEntityUpdateResponse message. + * Verifies a NamedEntityMetadata message. * @function verify - * @memberof flyteidl.admin.NamedEntityUpdateResponse + * @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 */ - NamedEntityUpdateResponse.verify = function verify(message) { + NamedEntityMetadata.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; + } return null; }; - return NamedEntityUpdateResponse; + return NamedEntityMetadata; })(); - admin.ObjectGetRequest = (function() { + admin.NamedEntity = (function() { /** - * Properties of an ObjectGetRequest. + * Properties of a NamedEntity. * @memberof flyteidl.admin - * @interface IObjectGetRequest - * @property {flyteidl.core.IIdentifier|null} [id] ObjectGetRequest id + * @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 ObjectGetRequest. + * Constructs a new NamedEntity. * @memberof flyteidl.admin - * @classdesc Represents an ObjectGetRequest. - * @implements IObjectGetRequest + * @classdesc Represents a NamedEntity. + * @implements INamedEntity * @constructor - * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set */ - function ObjectGetRequest(properties) { + function NamedEntity(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21815,62 +22705,88 @@ } /** - * ObjectGetRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.ObjectGetRequest + * NamedEntity resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntity * @instance */ - ObjectGetRequest.prototype.id = null; + NamedEntity.prototype.resourceType = 0; /** - * Creates a new ObjectGetRequest instance using the specified properties. + * NamedEntity id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.NamedEntity + * @instance + */ + NamedEntity.prototype.id = null; + + /** + * 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.admin.ObjectGetRequest + * @memberof flyteidl.admin.NamedEntity * @static - * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ObjectGetRequest} ObjectGetRequest instance + * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntity} NamedEntity instance */ - ObjectGetRequest.create = function create(properties) { - return new ObjectGetRequest(properties); + NamedEntity.create = function create(properties) { + return new NamedEntity(properties); }; /** - * Encodes the specified ObjectGetRequest message. Does not implicitly {@link flyteidl.admin.ObjectGetRequest.verify|verify} messages. + * Encodes the specified NamedEntity message. Does not implicitly {@link flyteidl.admin.NamedEntity.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ObjectGetRequest + * @memberof flyteidl.admin.NamedEntity * @static - * @param {flyteidl.admin.IObjectGetRequest} message ObjectGetRequest 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 */ - ObjectGetRequest.encode = function encode(message, writer) { + NamedEntity.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(); + $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 an ObjectGetRequest message from the specified reader or buffer. + * Decodes a NamedEntity message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ObjectGetRequest + * @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.admin.ObjectGetRequest} ObjectGetRequest + * @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 */ - ObjectGetRequest.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.admin.ObjectGetRequest(); + 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.id = $root.flyteidl.core.Identifier.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); @@ -21881,49 +22797,62 @@ }; /** - * Verifies an ObjectGetRequest message. + * Verifies a NamedEntity message. * @function verify - * @memberof flyteidl.admin.ObjectGetRequest + * @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 */ - ObjectGetRequest.verify = function verify(message) { + NamedEntity.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.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.NamedEntityMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } return null; }; - return ObjectGetRequest; + return NamedEntity; })(); - admin.ResourceListRequest = (function() { + admin.Sort = (function() { /** - * Properties of a ResourceListRequest. + * Properties of a Sort. * @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 ISort + * @property {string|null} [key] Sort key + * @property {flyteidl.admin.Sort.Direction|null} [direction] Sort direction */ /** - * Constructs a new ResourceListRequest. + * Constructs a new Sort. * @memberof flyteidl.admin - * @classdesc Represents a ResourceListRequest. - * @implements IResourceListRequest + * @classdesc Represents a Sort. + * @implements ISort * @constructor - * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ISort=} [properties] Properties to set */ - function ResourceListRequest(properties) { + function Sort(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21931,114 +22860,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 + * Sort key. + * @member {string} key + * @memberof flyteidl.admin.Sort * @instance */ - ResourceListRequest.prototype.filters = ""; + Sort.prototype.key = ""; /** - * ResourceListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.ResourceListRequest + * Sort direction. + * @member {flyteidl.admin.Sort.Direction} direction + * @memberof flyteidl.admin.Sort * @instance */ - ResourceListRequest.prototype.sortBy = null; + Sort.prototype.direction = 0; /** - * Creates a new ResourceListRequest instance using the specified properties. + * Creates a new Sort instance using the specified properties. * @function create - * @memberof flyteidl.admin.ResourceListRequest + * @memberof flyteidl.admin.Sort * @static - * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ResourceListRequest} ResourceListRequest instance + * @param {flyteidl.admin.ISort=} [properties] Properties to set + * @returns {flyteidl.admin.Sort} Sort instance */ - ResourceListRequest.create = function create(properties) { - return new ResourceListRequest(properties); + Sort.create = function create(properties) { + return new Sort(properties); }; /** - * Encodes the specified ResourceListRequest message. Does not implicitly {@link flyteidl.admin.ResourceListRequest.verify|verify} messages. + * Encodes the specified Sort message. Does not implicitly {@link flyteidl.admin.Sort.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ResourceListRequest + * @memberof flyteidl.admin.Sort * @static - * @param {flyteidl.admin.IResourceListRequest} message ResourceListRequest 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 */ - ResourceListRequest.encode = function encode(message, writer) { + Sort.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.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 ResourceListRequest message from the specified reader or buffer. + * Decodes a Sort message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ResourceListRequest + * @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.admin.ResourceListRequest} ResourceListRequest + * @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 */ - ResourceListRequest.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.admin.ResourceListRequest(); + 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.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + message.key = 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.direction = reader.int32(); break; default: reader.skipType(tag & 7); @@ -22049,60 +22939,70 @@ }; /** - * Verifies a ResourceListRequest message. + * Verifies a Sort message. * @function verify - * @memberof flyteidl.admin.ResourceListRequest + * @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 */ - ResourceListRequest.verify = function verify(message) { + Sort.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; - } + 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; + } return null; }; - return ResourceListRequest; + /** + * 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; })(); - admin.EmailNotification = (function() { + admin.NamedEntityIdentifierListRequest = (function() { /** - * Properties of an EmailNotification. + * Properties of a NamedEntityIdentifierListRequest. * @memberof flyteidl.admin - * @interface IEmailNotification - * @property {Array.|null} [recipientsEmail] EmailNotification recipientsEmail + * @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 */ /** - * Constructs a new EmailNotification. + * Constructs a new NamedEntityIdentifierListRequest. * @memberof flyteidl.admin - * @classdesc Represents an EmailNotification. - * @implements IEmailNotification + * @classdesc Represents a NamedEntityIdentifierListRequest. + * @implements INamedEntityIdentifierListRequest * @constructor - * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set */ - function EmailNotification(properties) { - this.recipientsEmail = []; + function NamedEntityIdentifierListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22110,65 +23010,127 @@ } /** - * EmailNotification recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.EmailNotification + * NamedEntityIdentifierListRequest project. + * @member {string} project + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - EmailNotification.prototype.recipientsEmail = $util.emptyArray; + NamedEntityIdentifierListRequest.prototype.project = ""; /** - * Creates a new EmailNotification instance using the specified properties. + * NamedEntityIdentifierListRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @instance + */ + NamedEntityIdentifierListRequest.prototype.domain = ""; + + /** + * NamedEntityIdentifierListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @instance + */ + NamedEntityIdentifierListRequest.prototype.limit = 0; + + /** + * NamedEntityIdentifierListRequest 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 = ""; + + /** + * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.EmailNotification + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @static - * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set - * @returns {flyteidl.admin.EmailNotification} EmailNotification instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityIdentifierListRequest} NamedEntityIdentifierListRequest instance */ - EmailNotification.create = function create(properties) { - return new EmailNotification(properties); + NamedEntityIdentifierListRequest.create = function create(properties) { + return new NamedEntityIdentifierListRequest(properties); }; /** - * Encodes the specified EmailNotification message. Does not implicitly {@link flyteidl.admin.EmailNotification.verify|verify} messages. + * Encodes the specified NamedEntityIdentifierListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EmailNotification + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @static - * @param {flyteidl.admin.IEmailNotification} message EmailNotification 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 */ - EmailNotification.encode = function encode(message, writer) { + NamedEntityIdentifierListRequest.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 + 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); + return writer; + }; + + /** + * Decodes a NamedEntityIdentifierListRequest message from the specified reader or buffer. + * @function decode + * @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.admin.EmailNotification} EmailNotification + * @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 */ - EmailNotification.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.admin.EmailNotification(); + 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: - 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.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; default: reader.skipType(tag & 7); @@ -22179,48 +23141,66 @@ }; /** - * Verifies an EmailNotification message. + * Verifies a NamedEntityIdentifierListRequest message. * @function verify - * @memberof flyteidl.admin.EmailNotification + * @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 */ - EmailNotification.verify = function verify(message) { + NamedEntityIdentifierListRequest.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.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.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; return null; }; - return EmailNotification; + return NamedEntityIdentifierListRequest; })(); - admin.PagerDutyNotification = (function() { + admin.NamedEntityListRequest = (function() { /** - * Properties of a PagerDutyNotification. + * Properties of a NamedEntityListRequest. * @memberof flyteidl.admin - * @interface IPagerDutyNotification - * @property {Array.|null} [recipientsEmail] PagerDutyNotification recipientsEmail + * @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 */ /** - * Constructs a new PagerDutyNotification. + * Constructs a new NamedEntityListRequest. * @memberof flyteidl.admin - * @classdesc Represents a PagerDutyNotification. - * @implements IPagerDutyNotification + * @classdesc Represents a NamedEntityListRequest. + * @implements INamedEntityListRequest * @constructor - * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set */ - function PagerDutyNotification(properties) { - this.recipientsEmail = []; + function NamedEntityListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22228,65 +23208,140 @@ } /** - * PagerDutyNotification recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.PagerDutyNotification + * NamedEntityListRequest resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - PagerDutyNotification.prototype.recipientsEmail = $util.emptyArray; + NamedEntityListRequest.prototype.resourceType = 0; /** - * Creates a new PagerDutyNotification instance using the specified properties. + * NamedEntityListRequest project. + * @member {string} project + * @memberof flyteidl.admin.NamedEntityListRequest + * @instance + */ + NamedEntityListRequest.prototype.project = ""; + + /** + * NamedEntityListRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.NamedEntityListRequest + * @instance + */ + NamedEntityListRequest.prototype.domain = ""; + + /** + * NamedEntityListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NamedEntityListRequest + * @instance + */ + NamedEntityListRequest.prototype.limit = 0; + + /** + * NamedEntityListRequest 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 + * @instance + */ + NamedEntityListRequest.prototype.sortBy = null; + + /** + * NamedEntityListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.NamedEntityListRequest + * @instance + */ + NamedEntityListRequest.prototype.filters = ""; + + /** + * Creates a new NamedEntityListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.PagerDutyNotification + * @memberof flyteidl.admin.NamedEntityListRequest * @static - * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set - * @returns {flyteidl.admin.PagerDutyNotification} PagerDutyNotification instance + * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityListRequest} NamedEntityListRequest instance */ - PagerDutyNotification.create = function create(properties) { - return new PagerDutyNotification(properties); + NamedEntityListRequest.create = function create(properties) { + return new NamedEntityListRequest(properties); }; /** - * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. + * Encodes the specified NamedEntityListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PagerDutyNotification + * @memberof flyteidl.admin.NamedEntityListRequest * @static - * @param {flyteidl.admin.IPagerDutyNotification} message PagerDutyNotification 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 */ - PagerDutyNotification.encode = function encode(message, writer) { + NamedEntityListRequest.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.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); return writer; }; /** - * Decodes a PagerDutyNotification message from the specified reader or buffer. + * Decodes a NamedEntityListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PagerDutyNotification + * @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.admin.PagerDutyNotification} PagerDutyNotification + * @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 */ - PagerDutyNotification.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.admin.PagerDutyNotification(); + 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: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); + message.resourceType = reader.int32(); + break; + case 2: + message.project = reader.string(); + break; + case 3: + message.domain = reader.string(); + break; + case 4: + message.limit = reader.uint32(); + break; + case 5: + message.token = reader.string(); + break; + case 6: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; + case 7: + message.filters = reader.string(); break; default: reader.skipType(tag & 7); @@ -22297,48 +23352,73 @@ }; /** - * Verifies a PagerDutyNotification message. + * Verifies a NamedEntityListRequest message. * @function verify - * @memberof flyteidl.admin.PagerDutyNotification + * @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 */ - PagerDutyNotification.verify = function verify(message) { + NamedEntityListRequest.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.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.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.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; return null; }; - return PagerDutyNotification; + return NamedEntityListRequest; })(); - admin.SlackNotification = (function() { + admin.NamedEntityIdentifierList = (function() { /** - * Properties of a SlackNotification. + * Properties of a NamedEntityIdentifierList. * @memberof flyteidl.admin - * @interface ISlackNotification - * @property {Array.|null} [recipientsEmail] SlackNotification recipientsEmail + * @interface INamedEntityIdentifierList + * @property {Array.|null} [entities] NamedEntityIdentifierList entities + * @property {string|null} [token] NamedEntityIdentifierList token */ /** - * Constructs a new SlackNotification. + * Constructs a new NamedEntityIdentifierList. * @memberof flyteidl.admin - * @classdesc Represents a SlackNotification. - * @implements ISlackNotification + * @classdesc Represents a NamedEntityIdentifierList. + * @implements INamedEntityIdentifierList * @constructor - * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set */ - function SlackNotification(properties) { - this.recipientsEmail = []; + function NamedEntityIdentifierList(properties) { + this.entities = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22346,65 +23426,78 @@ } /** - * SlackNotification recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.SlackNotification + * NamedEntityIdentifierList entities. + * @member {Array.} entities + * @memberof flyteidl.admin.NamedEntityIdentifierList * @instance */ - SlackNotification.prototype.recipientsEmail = $util.emptyArray; + NamedEntityIdentifierList.prototype.entities = $util.emptyArray; /** - * Creates a new SlackNotification 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.admin.SlackNotification + * @memberof flyteidl.admin.NamedEntityIdentifierList * @static - * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set - * @returns {flyteidl.admin.SlackNotification} SlackNotification instance + * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityIdentifierList} NamedEntityIdentifierList instance */ - SlackNotification.create = function create(properties) { - return new SlackNotification(properties); + NamedEntityIdentifierList.create = function create(properties) { + return new NamedEntityIdentifierList(properties); }; /** - * Encodes the specified SlackNotification message. Does not implicitly {@link flyteidl.admin.SlackNotification.verify|verify} messages. + * Encodes the specified NamedEntityIdentifierList message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SlackNotification + * @memberof flyteidl.admin.NamedEntityIdentifierList * @static - * @param {flyteidl.admin.ISlackNotification} message SlackNotification 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 */ - SlackNotification.encode = function encode(message, writer) { + NamedEntityIdentifierList.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.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 SlackNotification message from the specified reader or buffer. + * Decodes a NamedEntityIdentifierList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SlackNotification + * @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.admin.SlackNotification} SlackNotification + * @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 */ - SlackNotification.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.admin.SlackNotification(); + 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: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); + 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); @@ -22415,51 +23508,54 @@ }; /** - * Verifies a SlackNotification message. + * Verifies a NamedEntityIdentifierList message. * @function verify - * @memberof flyteidl.admin.SlackNotification + * @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 */ - SlackNotification.verify = function verify(message) { + NamedEntityIdentifierList.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.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 SlackNotification; + return NamedEntityIdentifierList; })(); - admin.Notification = (function() { + admin.NamedEntityList = (function() { /** - * Properties of a Notification. + * Properties of a NamedEntityList. * @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 INamedEntityList + * @property {Array.|null} [entities] NamedEntityList entities + * @property {string|null} [token] NamedEntityList token */ /** - * Constructs a new Notification. + * Constructs a new NamedEntityList. * @memberof flyteidl.admin - * @classdesc Represents a Notification. - * @implements INotification + * @classdesc Represents a NamedEntityList. + * @implements INamedEntityList * @constructor - * @param {flyteidl.admin.INotification=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set */ - function Notification(properties) { - this.phases = []; + function NamedEntityList(properties) { + this.entities = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22467,126 +23563,78 @@ } /** - * 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 - * @instance - */ - Notification.prototype.pagerDuty = null; - - /** - * Notification slack. - * @member {flyteidl.admin.ISlackNotification|null|undefined} slack - * @memberof flyteidl.admin.Notification + * NamedEntityList entities. + * @member {Array.} entities + * @memberof flyteidl.admin.NamedEntityList * @instance */ - Notification.prototype.slack = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + NamedEntityList.prototype.entities = $util.emptyArray; /** - * Notification type. - * @member {"email"|"pagerDuty"|"slack"|undefined} type - * @memberof flyteidl.admin.Notification + * NamedEntityList token. + * @member {string} token + * @memberof flyteidl.admin.NamedEntityList * @instance */ - Object.defineProperty(Notification.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["email", "pagerDuty", "slack"]), - set: $util.oneOfSetter($oneOfFields) - }); + NamedEntityList.prototype.token = ""; /** - * Creates a new Notification instance using the specified properties. + * Creates a new NamedEntityList instance using the specified properties. * @function create - * @memberof flyteidl.admin.Notification + * @memberof flyteidl.admin.NamedEntityList * @static - * @param {flyteidl.admin.INotification=} [properties] Properties to set - * @returns {flyteidl.admin.Notification} Notification instance + * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityList} NamedEntityList instance */ - Notification.create = function create(properties) { - return new Notification(properties); + NamedEntityList.create = function create(properties) { + return new NamedEntityList(properties); }; /** - * Encodes the specified Notification message. Does not implicitly {@link flyteidl.admin.Notification.verify|verify} messages. + * Encodes the specified NamedEntityList message. Does not implicitly {@link flyteidl.admin.NamedEntityList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Notification + * @memberof flyteidl.admin.NamedEntityList * @static - * @param {flyteidl.admin.INotification} message Notification 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 */ - Notification.encode = function encode(message, writer) { + NamedEntityList.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.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 Notification message from the specified reader or buffer. + * Decodes a NamedEntityList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Notification + * @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.admin.Notification} Notification + * @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 */ - Notification.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.admin.Notification(); + 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: - 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()); + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.flyteidl.admin.NamedEntity.decode(reader, reader.uint32())); 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()); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -22597,90 +23645,53 @@ }; /** - * Verifies a Notification message. + * Verifies a NamedEntityList message. * @function verify - * @memberof flyteidl.admin.Notification + * @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 */ - Notification.verify = function verify(message) { + NamedEntityList.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 (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 "slack." + error; + return "entities." + error; } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return Notification; + return NamedEntityList; })(); - admin.UrlBlob = (function() { + admin.NamedEntityGetRequest = (function() { /** - * Properties of an UrlBlob. + * Properties of a NamedEntityGetRequest. * @memberof flyteidl.admin - * @interface IUrlBlob - * @property {string|null} [url] UrlBlob url - * @property {Long|null} [bytes] UrlBlob bytes + * @interface INamedEntityGetRequest + * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityGetRequest resourceType + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntityGetRequest id */ /** - * Constructs a new UrlBlob. + * Constructs a new NamedEntityGetRequest. * @memberof flyteidl.admin - * @classdesc Represents an UrlBlob. - * @implements IUrlBlob + * @classdesc Represents a NamedEntityGetRequest. + * @implements INamedEntityGetRequest * @constructor - * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set */ - function UrlBlob(properties) { + function NamedEntityGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22688,75 +23699,75 @@ } /** - * UrlBlob url. - * @member {string} url - * @memberof flyteidl.admin.UrlBlob + * NamedEntityGetRequest resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntityGetRequest * @instance */ - UrlBlob.prototype.url = ""; + NamedEntityGetRequest.prototype.resourceType = 0; /** - * UrlBlob bytes. - * @member {Long} bytes - * @memberof flyteidl.admin.UrlBlob + * NamedEntityGetRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.NamedEntityGetRequest * @instance */ - UrlBlob.prototype.bytes = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + NamedEntityGetRequest.prototype.id = null; /** - * Creates a new UrlBlob instance using the specified properties. + * Creates a new NamedEntityGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.UrlBlob + * @memberof flyteidl.admin.NamedEntityGetRequest * @static - * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set - * @returns {flyteidl.admin.UrlBlob} UrlBlob instance + * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityGetRequest} NamedEntityGetRequest instance */ - UrlBlob.create = function create(properties) { - return new UrlBlob(properties); + NamedEntityGetRequest.create = function create(properties) { + return new NamedEntityGetRequest(properties); }; /** - * Encodes the specified UrlBlob message. Does not implicitly {@link flyteidl.admin.UrlBlob.verify|verify} messages. + * Encodes the specified NamedEntityGetRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.UrlBlob + * @memberof flyteidl.admin.NamedEntityGetRequest * @static - * @param {flyteidl.admin.IUrlBlob} message UrlBlob 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 */ - UrlBlob.encode = function encode(message, writer) { + NamedEntityGetRequest.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.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(); return writer; }; /** - * Decodes an UrlBlob message from the specified reader or buffer. + * Decodes a NamedEntityGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.UrlBlob + * @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.admin.UrlBlob} UrlBlob + * @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 */ - UrlBlob.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.admin.UrlBlob(); + 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.url = reader.string(); + message.resourceType = reader.int32(); break; case 2: - message.bytes = reader.int64(); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -22767,47 +23778,58 @@ }; /** - * Verifies an UrlBlob message. + * Verifies a NamedEntityGetRequest message. * @function verify - * @memberof flyteidl.admin.UrlBlob + * @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 */ - UrlBlob.verify = function verify(message) { + NamedEntityGetRequest.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.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; + } return null; }; - return UrlBlob; + return NamedEntityGetRequest; })(); - admin.Labels = (function() { + admin.NamedEntityUpdateRequest = (function() { /** - * Properties of a Labels. + * Properties of a NamedEntityUpdateRequest. * @memberof flyteidl.admin - * @interface ILabels - * @property {Object.|null} [values] Labels values + * @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 Labels. + * Constructs a new NamedEntityUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a Labels. - * @implements ILabels + * @classdesc Represents a NamedEntityUpdateRequest. + * @implements INamedEntityUpdateRequest * @constructor - * @param {flyteidl.admin.ILabels=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set */ - function Labels(properties) { - this.values = {}; + function NamedEntityUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22815,68 +23837,88 @@ } /** - * Labels values. - * @member {Object.} values - * @memberof flyteidl.admin.Labels + * NamedEntityUpdateRequest resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @instance */ - Labels.prototype.values = $util.emptyObject; + NamedEntityUpdateRequest.prototype.resourceType = 0; /** - * Creates a new Labels 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.admin.Labels + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @static - * @param {flyteidl.admin.ILabels=} [properties] Properties to set - * @returns {flyteidl.admin.Labels} Labels instance + * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityUpdateRequest} NamedEntityUpdateRequest instance */ - Labels.create = function create(properties) { - return new Labels(properties); + NamedEntityUpdateRequest.create = function create(properties) { + return new NamedEntityUpdateRequest(properties); }; /** - * Encodes the specified Labels message. Does not implicitly {@link flyteidl.admin.Labels.verify|verify} messages. + * Encodes the specified NamedEntityUpdateRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Labels + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @static - * @param {flyteidl.admin.ILabels} message Labels 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 */ - Labels.encode = function encode(message, writer) { + NamedEntityUpdateRequest.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.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 Labels message from the specified reader or buffer. + * Decodes a NamedEntityUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Labels + * @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.admin.Labels} Labels + * @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 */ - Labels.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.admin.Labels(), key; + 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: - reader.skip().pos++; - if (message.values === $util.emptyObject) - message.values = {}; - key = reader.string(); - reader.pos++; - message.values[key] = reader.string(); + 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); @@ -22887,49 +23929,60 @@ }; /** - * Verifies a Labels message. + * Verifies a NamedEntityUpdateRequest message. * @function verify - * @memberof flyteidl.admin.Labels + * @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 */ - Labels.verify = function verify(message) { + NamedEntityUpdateRequest.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.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 Labels; + return NamedEntityUpdateRequest; })(); - admin.Annotations = (function() { + admin.NamedEntityUpdateResponse = (function() { /** - * Properties of an Annotations. + * Properties of a NamedEntityUpdateResponse. * @memberof flyteidl.admin - * @interface IAnnotations - * @property {Object.|null} [values] Annotations values + * @interface INamedEntityUpdateResponse */ /** - * Constructs a new Annotations. + * Constructs a new NamedEntityUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents an Annotations. - * @implements IAnnotations + * @classdesc Represents a NamedEntityUpdateResponse. + * @implements INamedEntityUpdateResponse * @constructor - * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set */ - function Annotations(properties) { - this.values = {}; + function NamedEntityUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22937,69 +23990,50 @@ } /** - * Annotations values. - * @member {Object.} values - * @memberof flyteidl.admin.Annotations - * @instance - */ - Annotations.prototype.values = $util.emptyObject; - - /** - * Creates a new Annotations instance using the specified properties. + * Creates a new NamedEntityUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.Annotations + * @memberof flyteidl.admin.NamedEntityUpdateResponse * @static - * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set - * @returns {flyteidl.admin.Annotations} Annotations instance + * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityUpdateResponse} NamedEntityUpdateResponse instance */ - Annotations.create = function create(properties) { - return new Annotations(properties); + NamedEntityUpdateResponse.create = function create(properties) { + return new NamedEntityUpdateResponse(properties); }; /** - * Encodes the specified Annotations message. Does not implicitly {@link flyteidl.admin.Annotations.verify|verify} messages. + * Encodes the specified NamedEntityUpdateResponse message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Annotations + * @memberof flyteidl.admin.NamedEntityUpdateResponse * @static - * @param {flyteidl.admin.IAnnotations} message Annotations 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 */ - Annotations.encode = function encode(message, writer) { + NamedEntityUpdateResponse.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 an Annotations message from the specified reader or buffer. + * Decodes a NamedEntityUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Annotations + * @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.admin.Annotations} Annotations + * @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 */ - Annotations.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.admin.Annotations(), key; + 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: - 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; @@ -23009,49 +24043,40 @@ }; /** - * Verifies an Annotations message. + * Verifies a NamedEntityUpdateResponse message. * @function verify - * @memberof flyteidl.admin.Annotations + * @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 */ - Annotations.verify = function verify(message) { + NamedEntityUpdateResponse.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; }; - return Annotations; + return NamedEntityUpdateResponse; })(); - admin.Envs = (function() { + admin.ObjectGetRequest = (function() { /** - * Properties of an Envs. + * Properties of an ObjectGetRequest. * @memberof flyteidl.admin - * @interface IEnvs - * @property {Array.|null} [values] Envs values + * @interface IObjectGetRequest + * @property {flyteidl.core.IIdentifier|null} [id] ObjectGetRequest id */ /** - * Constructs a new Envs. + * Constructs a new ObjectGetRequest. * @memberof flyteidl.admin - * @classdesc Represents an Envs. - * @implements IEnvs + * @classdesc Represents an ObjectGetRequest. + * @implements IObjectGetRequest * @constructor - * @param {flyteidl.admin.IEnvs=} [properties] Properties to set + * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set */ - function Envs(properties) { - this.values = []; + function ObjectGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23059,65 +24084,62 @@ } /** - * Envs values. - * @member {Array.} values - * @memberof flyteidl.admin.Envs + * ObjectGetRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.ObjectGetRequest * @instance */ - Envs.prototype.values = $util.emptyArray; + ObjectGetRequest.prototype.id = null; /** - * Creates a new Envs instance using the specified properties. + * Creates a new ObjectGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Envs + * @memberof flyteidl.admin.ObjectGetRequest * @static - * @param {flyteidl.admin.IEnvs=} [properties] Properties to set - * @returns {flyteidl.admin.Envs} Envs instance + * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ObjectGetRequest} ObjectGetRequest instance */ - Envs.create = function create(properties) { - return new Envs(properties); + ObjectGetRequest.create = function create(properties) { + return new ObjectGetRequest(properties); }; /** - * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. + * Encodes the specified ObjectGetRequest message. Does not implicitly {@link flyteidl.admin.ObjectGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Envs + * @memberof flyteidl.admin.ObjectGetRequest * @static - * @param {flyteidl.admin.IEnvs} message Envs 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 */ - Envs.encode = function encode(message, writer) { + ObjectGetRequest.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.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 Envs message from the specified reader or buffer. + * Decodes an ObjectGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Envs + * @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.admin.Envs} Envs + * @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 */ - Envs.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.admin.Envs(); + 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: - if (!(message.values && message.values.length)) - message.values = []; - message.values.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -23128,50 +24150,49 @@ }; /** - * Verifies an Envs message. + * Verifies an ObjectGetRequest message. * @function verify - * @memberof flyteidl.admin.Envs + * @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 */ - Envs.verify = function verify(message) { + ObjectGetRequest.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; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; } return null; }; - return Envs; + return ObjectGetRequest; })(); - admin.AuthRole = (function() { + admin.ResourceListRequest = (function() { /** - * Properties of an AuthRole. + * Properties of a ResourceListRequest. * @memberof flyteidl.admin - * @interface IAuthRole - * @property {string|null} [assumableIamRole] AuthRole assumableIamRole - * @property {string|null} [kubernetesServiceAccount] AuthRole kubernetesServiceAccount + * @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 AuthRole. + * Constructs a new ResourceListRequest. * @memberof flyteidl.admin - * @classdesc Represents an AuthRole. - * @implements IAuthRole + * @classdesc Represents a ResourceListRequest. + * @implements IResourceListRequest * @constructor - * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set + * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set */ - function AuthRole(properties) { + function ResourceListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23179,75 +24200,114 @@ } /** - * AuthRole assumableIamRole. - * @member {string} assumableIamRole - * @memberof flyteidl.admin.AuthRole + * ResourceListRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.ResourceListRequest * @instance */ - AuthRole.prototype.assumableIamRole = ""; + ResourceListRequest.prototype.id = null; /** - * AuthRole kubernetesServiceAccount. - * @member {string} kubernetesServiceAccount - * @memberof flyteidl.admin.AuthRole - * @instance - */ - AuthRole.prototype.kubernetesServiceAccount = ""; + * ResourceListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.ResourceListRequest + * @instance + */ + ResourceListRequest.prototype.limit = 0; /** - * Creates a new AuthRole instance using the specified properties. + * ResourceListRequest token. + * @member {string} token + * @memberof flyteidl.admin.ResourceListRequest + * @instance + */ + ResourceListRequest.prototype.token = ""; + + /** + * ResourceListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.ResourceListRequest + * @instance + */ + ResourceListRequest.prototype.filters = ""; + + /** + * ResourceListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.ResourceListRequest + * @instance + */ + ResourceListRequest.prototype.sortBy = null; + + /** + * Creates a new ResourceListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.ResourceListRequest * @static - * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set - * @returns {flyteidl.admin.AuthRole} AuthRole instance + * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ResourceListRequest} ResourceListRequest instance */ - AuthRole.create = function create(properties) { - return new AuthRole(properties); + ResourceListRequest.create = function create(properties) { + return new ResourceListRequest(properties); }; /** - * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. + * Encodes the specified ResourceListRequest message. Does not implicitly {@link flyteidl.admin.ResourceListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.ResourceListRequest * @static - * @param {flyteidl.admin.IAuthRole} message AuthRole message or plain object to encode + * @param {flyteidl.admin.IResourceListRequest} message ResourceListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AuthRole.encode = function encode(message, writer) { + ResourceListRequest.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.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 an AuthRole message from the specified reader or buffer. + * Decodes a ResourceListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.AuthRole + * @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.AuthRole} AuthRole + * @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 */ - AuthRole.decode = function decode(reader, length) { + 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.AuthRole(); + 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.assumableIamRole = reader.string(); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); break; case 2: - message.kubernetesServiceAccount = reader.string(); + 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); @@ -23258,46 +24318,60 @@ }; /** - * Verifies an AuthRole message. + * Verifies a ResourceListRequest message. * @function verify - * @memberof flyteidl.admin.AuthRole + * @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 */ - AuthRole.verify = function verify(message) { + ResourceListRequest.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.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 AuthRole; + return ResourceListRequest; })(); - admin.RawOutputDataConfig = (function() { + admin.EmailNotification = (function() { /** - * Properties of a RawOutputDataConfig. + * Properties of an EmailNotification. * @memberof flyteidl.admin - * @interface IRawOutputDataConfig - * @property {string|null} [outputLocationPrefix] RawOutputDataConfig outputLocationPrefix + * @interface IEmailNotification + * @property {Array.|null} [recipientsEmail] EmailNotification recipientsEmail */ /** - * Constructs a new RawOutputDataConfig. + * Constructs a new EmailNotification. * @memberof flyteidl.admin - * @classdesc Represents a RawOutputDataConfig. - * @implements IRawOutputDataConfig + * @classdesc Represents an EmailNotification. + * @implements IEmailNotification * @constructor - * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set + * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set */ - function RawOutputDataConfig(properties) { + function EmailNotification(properties) { + this.recipientsEmail = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23305,62 +24379,65 @@ } /** - * RawOutputDataConfig outputLocationPrefix. - * @member {string} outputLocationPrefix - * @memberof flyteidl.admin.RawOutputDataConfig + * EmailNotification recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.EmailNotification * @instance */ - RawOutputDataConfig.prototype.outputLocationPrefix = ""; + EmailNotification.prototype.recipientsEmail = $util.emptyArray; /** - * Creates a new RawOutputDataConfig instance using the specified properties. + * Creates a new EmailNotification instance using the specified properties. * @function create - * @memberof flyteidl.admin.RawOutputDataConfig + * @memberof flyteidl.admin.EmailNotification * @static - * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set - * @returns {flyteidl.admin.RawOutputDataConfig} RawOutputDataConfig instance + * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set + * @returns {flyteidl.admin.EmailNotification} EmailNotification instance */ - RawOutputDataConfig.create = function create(properties) { - return new RawOutputDataConfig(properties); + EmailNotification.create = function create(properties) { + return new EmailNotification(properties); }; /** - * Encodes the specified RawOutputDataConfig message. Does not implicitly {@link flyteidl.admin.RawOutputDataConfig.verify|verify} messages. + * Encodes the specified EmailNotification message. Does not implicitly {@link flyteidl.admin.EmailNotification.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.RawOutputDataConfig + * @memberof flyteidl.admin.EmailNotification * @static - * @param {flyteidl.admin.IRawOutputDataConfig} message RawOutputDataConfig message or plain object to encode + * @param {flyteidl.admin.IEmailNotification} message EmailNotification message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RawOutputDataConfig.encode = function encode(message, writer) { + EmailNotification.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.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 RawOutputDataConfig message from the specified reader or buffer. + * Decodes an EmailNotification message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.RawOutputDataConfig + * @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.RawOutputDataConfig} RawOutputDataConfig + * @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 */ - RawOutputDataConfig.decode = function decode(reader, length) { + 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.RawOutputDataConfig(); + 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: - message.outputLocationPrefix = reader.string(); + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -23371,45 +24448,48 @@ }; /** - * Verifies a RawOutputDataConfig message. + * Verifies an EmailNotification message. * @function verify - * @memberof flyteidl.admin.RawOutputDataConfig + * @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 */ - RawOutputDataConfig.verify = function verify(message) { + EmailNotification.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.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 RawOutputDataConfig; + return EmailNotification; })(); - admin.FlyteURLs = (function() { + admin.PagerDutyNotification = (function() { /** - * Properties of a FlyteURLs. + * Properties of a PagerDutyNotification. * @memberof flyteidl.admin - * @interface IFlyteURLs - * @property {string|null} [inputs] FlyteURLs inputs - * @property {string|null} [outputs] FlyteURLs outputs - * @property {string|null} [deck] FlyteURLs deck + * @interface IPagerDutyNotification + * @property {Array.|null} [recipientsEmail] PagerDutyNotification recipientsEmail */ /** - * Constructs a new FlyteURLs. + * Constructs a new PagerDutyNotification. * @memberof flyteidl.admin - * @classdesc Represents a FlyteURLs. - * @implements IFlyteURLs + * @classdesc Represents a PagerDutyNotification. + * @implements IPagerDutyNotification * @constructor - * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set + * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set */ - function FlyteURLs(properties) { + function PagerDutyNotification(properties) { + this.recipientsEmail = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23417,88 +24497,65 @@ } /** - * FlyteURLs inputs. - * @member {string} inputs - * @memberof flyteidl.admin.FlyteURLs - * @instance - */ - FlyteURLs.prototype.inputs = ""; - - /** - * FlyteURLs outputs. - * @member {string} outputs - * @memberof flyteidl.admin.FlyteURLs - * @instance - */ - FlyteURLs.prototype.outputs = ""; - - /** - * FlyteURLs deck. - * @member {string} deck - * @memberof flyteidl.admin.FlyteURLs + * PagerDutyNotification recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.PagerDutyNotification * @instance */ - FlyteURLs.prototype.deck = ""; + PagerDutyNotification.prototype.recipientsEmail = $util.emptyArray; /** - * Creates a new FlyteURLs instance using the specified properties. + * Creates a new PagerDutyNotification instance using the specified properties. * @function create - * @memberof flyteidl.admin.FlyteURLs + * @memberof flyteidl.admin.PagerDutyNotification * @static - * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set - * @returns {flyteidl.admin.FlyteURLs} FlyteURLs instance + * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set + * @returns {flyteidl.admin.PagerDutyNotification} PagerDutyNotification instance */ - FlyteURLs.create = function create(properties) { - return new FlyteURLs(properties); + PagerDutyNotification.create = function create(properties) { + return new PagerDutyNotification(properties); }; /** - * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. + * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.FlyteURLs + * @memberof flyteidl.admin.PagerDutyNotification * @static - * @param {flyteidl.admin.IFlyteURLs} message FlyteURLs message or plain object to encode + * @param {flyteidl.admin.IPagerDutyNotification} message PagerDutyNotification message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlyteURLs.encode = function encode(message, writer) { + PagerDutyNotification.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); + 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 FlyteURLs message from the specified reader or buffer. + * Decodes a PagerDutyNotification message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.FlyteURLs + * @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.FlyteURLs} FlyteURLs + * @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 */ - FlyteURLs.decode = function decode(reader, length) { + 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.FlyteURLs(); + 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: - message.inputs = reader.string(); - break; - case 2: - message.outputs = reader.string(); - break; - case 3: - message.deck = reader.string(); + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -23509,54 +24566,48 @@ }; /** - * Verifies a FlyteURLs message. + * Verifies a PagerDutyNotification message. * @function verify - * @memberof flyteidl.admin.FlyteURLs + * @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 */ - FlyteURLs.verify = function verify(message) { + PagerDutyNotification.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"; + 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 FlyteURLs; + return PagerDutyNotification; })(); - admin.DescriptionEntity = (function() { + admin.SlackNotification = (function() { /** - * Properties of a DescriptionEntity. + * Properties of a SlackNotification. * @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 ISlackNotification + * @property {Array.|null} [recipientsEmail] SlackNotification recipientsEmail */ /** - * Constructs a new DescriptionEntity. + * Constructs a new SlackNotification. * @memberof flyteidl.admin - * @classdesc Represents a DescriptionEntity. - * @implements IDescriptionEntity + * @classdesc Represents a SlackNotification. + * @implements ISlackNotification * @constructor - * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set + * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set */ - function DescriptionEntity(properties) { - this.tags = []; + function SlackNotification(properties) { + this.recipientsEmail = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23564,117 +24615,65 @@ } /** - * 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 - * @instance - */ - DescriptionEntity.prototype.sourceCode = null; - - /** - * DescriptionEntity tags. - * @member {Array.} tags - * @memberof flyteidl.admin.DescriptionEntity + * SlackNotification recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.SlackNotification * @instance */ - DescriptionEntity.prototype.tags = $util.emptyArray; + SlackNotification.prototype.recipientsEmail = $util.emptyArray; /** - * Creates a new DescriptionEntity instance using the specified properties. + * Creates a new SlackNotification instance using the specified properties. * @function create - * @memberof flyteidl.admin.DescriptionEntity + * @memberof flyteidl.admin.SlackNotification * @static - * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set - * @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity instance + * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set + * @returns {flyteidl.admin.SlackNotification} SlackNotification instance */ - DescriptionEntity.create = function create(properties) { - return new DescriptionEntity(properties); + SlackNotification.create = function create(properties) { + return new SlackNotification(properties); }; /** - * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages. + * Encodes the specified SlackNotification message. Does not implicitly {@link flyteidl.admin.SlackNotification.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DescriptionEntity + * @memberof flyteidl.admin.SlackNotification * @static - * @param {flyteidl.admin.IDescriptionEntity} message DescriptionEntity message or plain object to encode + * @param {flyteidl.admin.ISlackNotification} message SlackNotification message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DescriptionEntity.encode = function encode(message, writer) { + SlackNotification.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.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 DescriptionEntity message from the specified reader or buffer. + * Decodes a SlackNotification message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DescriptionEntity + * @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.DescriptionEntity} DescriptionEntity + * @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 */ - DescriptionEntity.decode = function decode(reader, length) { + 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.DescriptionEntity(); + 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: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - 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()); + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -23685,86 +24684,51 @@ }; /** - * Verifies a DescriptionEntity message. + * Verifies a SlackNotification message. * @function verify - * @memberof flyteidl.admin.DescriptionEntity + * @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 */ - DescriptionEntity.verify = function verify(message) { + SlackNotification.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.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 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 SlackNotification; })(); - admin.Description = (function() { + admin.Notification = (function() { /** - * Properties of a Description. + * Properties of a Notification. * @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 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 Description. + * Constructs a new Notification. * @memberof flyteidl.admin - * @classdesc Represents a Description. - * @implements IDescription + * @classdesc Represents a Notification. + * @implements INotification * @constructor - * @param {flyteidl.admin.IDescription=} [properties] Properties to set + * @param {flyteidl.admin.INotification=} [properties] Properties to set */ - function Description(properties) { + function Notification(properties) { + this.phases = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23772,115 +24736,126 @@ } /** - * Description value. - * @member {string} value - * @memberof flyteidl.admin.Description + * Notification phases. + * @member {Array.} phases + * @memberof flyteidl.admin.Notification * @instance */ - Description.prototype.value = ""; + Notification.prototype.phases = $util.emptyArray; /** - * Description uri. - * @member {string} uri - * @memberof flyteidl.admin.Description + * Notification email. + * @member {flyteidl.admin.IEmailNotification|null|undefined} email + * @memberof flyteidl.admin.Notification * @instance */ - Description.prototype.uri = ""; + Notification.prototype.email = null; /** - * Description format. - * @member {flyteidl.admin.DescriptionFormat} format - * @memberof flyteidl.admin.Description + * Notification pagerDuty. + * @member {flyteidl.admin.IPagerDutyNotification|null|undefined} pagerDuty + * @memberof flyteidl.admin.Notification * @instance */ - Description.prototype.format = 0; + Notification.prototype.pagerDuty = null; /** - * Description iconLink. - * @member {string} iconLink - * @memberof flyteidl.admin.Description + * Notification slack. + * @member {flyteidl.admin.ISlackNotification|null|undefined} slack + * @memberof flyteidl.admin.Notification * @instance */ - Description.prototype.iconLink = ""; + Notification.prototype.slack = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * Description content. - * @member {"value"|"uri"|undefined} content - * @memberof flyteidl.admin.Description + * Notification type. + * @member {"email"|"pagerDuty"|"slack"|undefined} type + * @memberof flyteidl.admin.Notification * @instance */ - Object.defineProperty(Description.prototype, "content", { - get: $util.oneOfGetter($oneOfFields = ["value", "uri"]), + Object.defineProperty(Notification.prototype, "type", { + get: $util.oneOfGetter($oneOfFields = ["email", "pagerDuty", "slack"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Description instance using the specified properties. + * Creates a new Notification instance using the specified properties. * @function create - * @memberof flyteidl.admin.Description + * @memberof flyteidl.admin.Notification * @static - * @param {flyteidl.admin.IDescription=} [properties] Properties to set - * @returns {flyteidl.admin.Description} Description instance + * @param {flyteidl.admin.INotification=} [properties] Properties to set + * @returns {flyteidl.admin.Notification} Notification instance */ - Description.create = function create(properties) { - return new Description(properties); + Notification.create = function create(properties) { + return new Notification(properties); }; /** - * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages. + * Encodes the specified Notification message. Does not implicitly {@link flyteidl.admin.Notification.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Description + * @memberof flyteidl.admin.Notification * @static - * @param {flyteidl.admin.IDescription} message Description message or plain object to encode + * @param {flyteidl.admin.INotification} message Notification message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Description.encode = function encode(message, writer) { + Notification.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.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 Description message from the specified reader or buffer. + * Decodes a Notification message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Description + * @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.Description} Description + * @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 */ - Description.decode = function decode(reader, length) { + 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.Description(); + 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: - message.value = reader.string(); + 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.uri = reader.string(); + message.email = $root.flyteidl.admin.EmailNotification.decode(reader, reader.uint32()); break; case 3: - message.format = reader.int32(); + message.pagerDuty = $root.flyteidl.admin.PagerDutyNotification.decode(reader, reader.uint32()); break; case 4: - message.iconLink = reader.string(); + message.slack = $root.flyteidl.admin.SlackNotification.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -23891,66 +24866,90 @@ }; /** - * Verifies a Description message. + * Verifies a Notification message. * @function verify - * @memberof flyteidl.admin.Description + * @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 */ - Description.verify = function verify(message) { + Notification.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.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.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.email != null && message.hasOwnProperty("email")) { + properties.type = 1; + { + var error = $root.flyteidl.admin.EmailNotification.verify(message.email); + if (error) + return "email." + error; + } } - if (message.format != null && message.hasOwnProperty("format")) - switch (message.format) { - default: - return "format: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; + 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.iconLink != null && message.hasOwnProperty("iconLink")) - if (!$util.isString(message.iconLink)) - return "iconLink: string expected"; + } + 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 Description; + return Notification; })(); - admin.SourceCode = (function() { + admin.UrlBlob = (function() { /** - * Properties of a SourceCode. + * Properties of an UrlBlob. * @memberof flyteidl.admin - * @interface ISourceCode - * @property {string|null} [link] SourceCode link + * @interface IUrlBlob + * @property {string|null} [url] UrlBlob url + * @property {Long|null} [bytes] UrlBlob bytes */ /** - * Constructs a new SourceCode. + * Constructs a new UrlBlob. * @memberof flyteidl.admin - * @classdesc Represents a SourceCode. - * @implements ISourceCode + * @classdesc Represents an UrlBlob. + * @implements IUrlBlob * @constructor - * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set + * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set */ - function SourceCode(properties) { + function UrlBlob(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23958,62 +24957,75 @@ } /** - * SourceCode link. - * @member {string} link - * @memberof flyteidl.admin.SourceCode + * UrlBlob url. + * @member {string} url + * @memberof flyteidl.admin.UrlBlob * @instance */ - SourceCode.prototype.link = ""; + UrlBlob.prototype.url = ""; /** - * Creates a new SourceCode instance using the specified properties. + * 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.SourceCode + * @memberof flyteidl.admin.UrlBlob * @static - * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set - * @returns {flyteidl.admin.SourceCode} SourceCode instance + * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set + * @returns {flyteidl.admin.UrlBlob} UrlBlob instance */ - SourceCode.create = function create(properties) { - return new SourceCode(properties); + UrlBlob.create = function create(properties) { + return new UrlBlob(properties); }; /** - * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages. + * Encodes the specified UrlBlob message. Does not implicitly {@link flyteidl.admin.UrlBlob.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SourceCode + * @memberof flyteidl.admin.UrlBlob * @static - * @param {flyteidl.admin.ISourceCode} message SourceCode message or plain object to encode + * @param {flyteidl.admin.IUrlBlob} message UrlBlob message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SourceCode.encode = function encode(message, writer) { + UrlBlob.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.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 a SourceCode message from the specified reader or buffer. + * Decodes an UrlBlob message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SourceCode + * @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.SourceCode} SourceCode + * @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 */ - SourceCode.decode = function decode(reader, length) { + 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.SourceCode(); + 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.link = reader.string(); + message.url = reader.string(); + break; + case 2: + message.bytes = reader.int64(); break; default: reader.skipType(tag & 7); @@ -24024,45 +25036,47 @@ }; /** - * Verifies a SourceCode message. + * Verifies an UrlBlob message. * @function verify - * @memberof flyteidl.admin.SourceCode + * @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 */ - SourceCode.verify = function verify(message) { + UrlBlob.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.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 SourceCode; + return UrlBlob; })(); - admin.DescriptionEntityList = (function() { + admin.Labels = (function() { /** - * Properties of a DescriptionEntityList. + * Properties of a Labels. * @memberof flyteidl.admin - * @interface IDescriptionEntityList - * @property {Array.|null} [descriptionEntities] DescriptionEntityList descriptionEntities - * @property {string|null} [token] DescriptionEntityList token + * @interface ILabels + * @property {Object.|null} [values] Labels values */ /** - * Constructs a new DescriptionEntityList. + * Constructs a new Labels. * @memberof flyteidl.admin - * @classdesc Represents a DescriptionEntityList. - * @implements IDescriptionEntityList + * @classdesc Represents a Labels. + * @implements ILabels * @constructor - * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set + * @param {flyteidl.admin.ILabels=} [properties] Properties to set */ - function DescriptionEntityList(properties) { - this.descriptionEntities = []; + function Labels(properties) { + this.values = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24070,78 +25084,68 @@ } /** - * DescriptionEntityList descriptionEntities. - * @member {Array.} descriptionEntities - * @memberof flyteidl.admin.DescriptionEntityList - * @instance - */ - DescriptionEntityList.prototype.descriptionEntities = $util.emptyArray; - - /** - * DescriptionEntityList token. - * @member {string} token - * @memberof flyteidl.admin.DescriptionEntityList + * Labels values. + * @member {Object.} values + * @memberof flyteidl.admin.Labels * @instance */ - DescriptionEntityList.prototype.token = ""; + Labels.prototype.values = $util.emptyObject; /** - * Creates a new DescriptionEntityList instance using the specified properties. + * Creates a new Labels instance using the specified properties. * @function create - * @memberof flyteidl.admin.DescriptionEntityList + * @memberof flyteidl.admin.Labels * @static - * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set - * @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList instance + * @param {flyteidl.admin.ILabels=} [properties] Properties to set + * @returns {flyteidl.admin.Labels} Labels instance */ - DescriptionEntityList.create = function create(properties) { - return new DescriptionEntityList(properties); + Labels.create = function create(properties) { + return new Labels(properties); }; /** - * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages. + * Encodes the specified Labels message. Does not implicitly {@link flyteidl.admin.Labels.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DescriptionEntityList + * @memberof flyteidl.admin.Labels * @static - * @param {flyteidl.admin.IDescriptionEntityList} message DescriptionEntityList message or plain object to encode + * @param {flyteidl.admin.ILabels} message Labels message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DescriptionEntityList.encode = function encode(message, writer) { + Labels.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); + 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 DescriptionEntityList message from the specified reader or buffer. + * Decodes a Labels message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DescriptionEntityList + * @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.DescriptionEntityList} DescriptionEntityList + * @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 */ - DescriptionEntityList.decode = function decode(reader, length) { + 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.DescriptionEntityList(); + 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: - 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(); + 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); @@ -24152,57 +25156,49 @@ }; /** - * Verifies a DescriptionEntityList message. + * Verifies a Labels message. * @function verify - * @memberof flyteidl.admin.DescriptionEntityList + * @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 */ - DescriptionEntityList.verify = function verify(message) { + Labels.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.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.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return DescriptionEntityList; + return Labels; })(); - admin.DescriptionEntityListRequest = (function() { + admin.Annotations = (function() { /** - * Properties of a DescriptionEntityListRequest. + * Properties of an Annotations. * @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 + * @interface IAnnotations + * @property {Object.|null} [values] Annotations values */ /** - * Constructs a new DescriptionEntityListRequest. + * Constructs a new Annotations. * @memberof flyteidl.admin - * @classdesc Represents a DescriptionEntityListRequest. - * @implements IDescriptionEntityListRequest + * @classdesc Represents an Annotations. + * @implements IAnnotations * @constructor - * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set */ - function DescriptionEntityListRequest(properties) { + function Annotations(properties) { + this.values = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24210,127 +25206,68 @@ } /** - * DescriptionEntityListRequest resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @instance - */ - DescriptionEntityListRequest.prototype.resourceType = 0; - - /** - * DescriptionEntityListRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @instance - */ - DescriptionEntityListRequest.prototype.id = null; - - /** - * DescriptionEntityListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @instance - */ - DescriptionEntityListRequest.prototype.limit = 0; - - /** - * DescriptionEntityListRequest token. - * @member {string} token - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @instance - */ - DescriptionEntityListRequest.prototype.token = ""; - - /** - * DescriptionEntityListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @instance - */ - DescriptionEntityListRequest.prototype.filters = ""; - - /** - * DescriptionEntityListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.DescriptionEntityListRequest + * Annotations values. + * @member {Object.} values + * @memberof flyteidl.admin.Annotations * @instance */ - DescriptionEntityListRequest.prototype.sortBy = null; + Annotations.prototype.values = $util.emptyObject; /** - * Creates a new DescriptionEntityListRequest instance using the specified properties. + * Creates a new Annotations instance using the specified properties. * @function create - * @memberof flyteidl.admin.DescriptionEntityListRequest + * @memberof flyteidl.admin.Annotations * @static - * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest instance + * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set + * @returns {flyteidl.admin.Annotations} Annotations instance */ - DescriptionEntityListRequest.create = function create(properties) { - return new DescriptionEntityListRequest(properties); + Annotations.create = function create(properties) { + return new Annotations(properties); }; /** - * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages. + * Encodes the specified Annotations message. Does not implicitly {@link flyteidl.admin.Annotations.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DescriptionEntityListRequest + * @memberof flyteidl.admin.Annotations * @static - * @param {flyteidl.admin.IDescriptionEntityListRequest} message DescriptionEntityListRequest 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 */ - DescriptionEntityListRequest.encode = function encode(message, writer) { + Annotations.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; - }; + 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 DescriptionEntityListRequest message from the specified reader or buffer. + * Decodes an Annotations message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DescriptionEntityListRequest + * @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.admin.DescriptionEntityListRequest} DescriptionEntityListRequest + * @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 */ - DescriptionEntityListRequest.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.admin.DescriptionEntityListRequest(); + 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.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()); + 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); @@ -24341,70 +25278,49 @@ }; /** - * Verifies a DescriptionEntityListRequest message. + * Verifies an Annotations message. * @function verify - * @memberof flyteidl.admin.DescriptionEntityListRequest + * @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 */ - DescriptionEntityListRequest.verify = function verify(message) { + Annotations.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; + 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 DescriptionEntityListRequest; + return Annotations; })(); - admin.EventErrorAlreadyInTerminalState = (function() { + admin.Envs = (function() { /** - * Properties of an EventErrorAlreadyInTerminalState. + * Properties of an Envs. * @memberof flyteidl.admin - * @interface IEventErrorAlreadyInTerminalState - * @property {string|null} [currentPhase] EventErrorAlreadyInTerminalState currentPhase + * @interface IEnvs + * @property {Array.|null} [values] Envs values */ /** - * Constructs a new EventErrorAlreadyInTerminalState. + * Constructs a new Envs. * @memberof flyteidl.admin - * @classdesc Represents an EventErrorAlreadyInTerminalState. - * @implements IEventErrorAlreadyInTerminalState + * @classdesc Represents an Envs. + * @implements IEnvs * @constructor - * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set + * @param {flyteidl.admin.IEnvs=} [properties] Properties to set */ - function EventErrorAlreadyInTerminalState(properties) { + function Envs(properties) { + this.values = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24412,62 +25328,65 @@ } /** - * EventErrorAlreadyInTerminalState currentPhase. - * @member {string} currentPhase - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * Envs values. + * @member {Array.} values + * @memberof flyteidl.admin.Envs * @instance */ - EventErrorAlreadyInTerminalState.prototype.currentPhase = ""; + Envs.prototype.values = $util.emptyArray; /** - * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. + * Creates a new Envs instance using the specified properties. * @function create - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @memberof flyteidl.admin.Envs * @static - * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set - * @returns {flyteidl.admin.EventErrorAlreadyInTerminalState} EventErrorAlreadyInTerminalState instance + * @param {flyteidl.admin.IEnvs=} [properties] Properties to set + * @returns {flyteidl.admin.Envs} Envs instance */ - EventErrorAlreadyInTerminalState.create = function create(properties) { - return new EventErrorAlreadyInTerminalState(properties); + Envs.create = function create(properties) { + return new Envs(properties); }; /** - * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. + * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @memberof flyteidl.admin.Envs * @static - * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState} message EventErrorAlreadyInTerminalState message or plain object to encode + * @param {flyteidl.admin.IEnvs} message Envs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EventErrorAlreadyInTerminalState.encode = function encode(message, writer) { + Envs.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.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; }; /** - * Decodes an EventErrorAlreadyInTerminalState message from the specified reader or buffer. + * Decodes an Envs message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @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.EventErrorAlreadyInTerminalState} EventErrorAlreadyInTerminalState + * @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 */ - EventErrorAlreadyInTerminalState.decode = function decode(reader, length) { + 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.EventErrorAlreadyInTerminalState(); + 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: - message.currentPhase = reader.string(); + 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); @@ -24478,43 +25397,50 @@ }; /** - * Verifies an EventErrorAlreadyInTerminalState message. + * Verifies an Envs message. * @function verify - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @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 */ - EventErrorAlreadyInTerminalState.verify = function verify(message) { + Envs.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"; + 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 EventErrorAlreadyInTerminalState; + return Envs; })(); - admin.EventErrorIncompatibleCluster = (function() { + admin.AuthRole = (function() { /** - * Properties of an EventErrorIncompatibleCluster. + * Properties of an AuthRole. * @memberof flyteidl.admin - * @interface IEventErrorIncompatibleCluster - * @property {string|null} [cluster] EventErrorIncompatibleCluster cluster + * @interface IAuthRole + * @property {string|null} [assumableIamRole] AuthRole assumableIamRole + * @property {string|null} [kubernetesServiceAccount] AuthRole kubernetesServiceAccount */ /** - * Constructs a new EventErrorIncompatibleCluster. + * Constructs a new AuthRole. * @memberof flyteidl.admin - * @classdesc Represents an EventErrorIncompatibleCluster. - * @implements IEventErrorIncompatibleCluster + * @classdesc Represents an AuthRole. + * @implements IAuthRole * @constructor - * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set + * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set */ - function EventErrorIncompatibleCluster(properties) { + function AuthRole(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24522,62 +25448,75 @@ } /** - * EventErrorIncompatibleCluster cluster. - * @member {string} cluster - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * AuthRole assumableIamRole. + * @member {string} assumableIamRole + * @memberof flyteidl.admin.AuthRole * @instance */ - EventErrorIncompatibleCluster.prototype.cluster = ""; + AuthRole.prototype.assumableIamRole = ""; /** - * Creates a new EventErrorIncompatibleCluster instance using the specified properties. + * AuthRole kubernetesServiceAccount. + * @member {string} kubernetesServiceAccount + * @memberof flyteidl.admin.AuthRole + * @instance + */ + AuthRole.prototype.kubernetesServiceAccount = ""; + + /** + * Creates a new AuthRole instance using the specified properties. * @function create - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @memberof flyteidl.admin.AuthRole * @static - * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set - * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster instance + * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set + * @returns {flyteidl.admin.AuthRole} AuthRole instance */ - EventErrorIncompatibleCluster.create = function create(properties) { - return new EventErrorIncompatibleCluster(properties); + AuthRole.create = function create(properties) { + return new AuthRole(properties); }; /** - * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. + * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @memberof flyteidl.admin.AuthRole * @static - * @param {flyteidl.admin.IEventErrorIncompatibleCluster} message EventErrorIncompatibleCluster 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 */ - EventErrorIncompatibleCluster.encode = function encode(message, writer) { + AuthRole.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.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 EventErrorIncompatibleCluster message from the specified reader or buffer. + * Decodes an AuthRole message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @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.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster + * @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 */ - EventErrorIncompatibleCluster.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.admin.EventErrorIncompatibleCluster(); + 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.cluster = reader.string(); + message.assumableIamRole = reader.string(); + break; + case 2: + message.kubernetesServiceAccount = reader.string(); break; default: reader.skipType(tag & 7); @@ -24588,44 +25527,46 @@ }; /** - * Verifies an EventErrorIncompatibleCluster message. + * Verifies an AuthRole message. * @function verify - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @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 */ - EventErrorIncompatibleCluster.verify = function verify(message) { + AuthRole.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.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 EventErrorIncompatibleCluster; + return AuthRole; })(); - admin.EventFailureReason = (function() { + admin.RawOutputDataConfig = (function() { /** - * Properties of an EventFailureReason. + * Properties of a RawOutputDataConfig. * @memberof flyteidl.admin - * @interface IEventFailureReason - * @property {flyteidl.admin.IEventErrorAlreadyInTerminalState|null} [alreadyInTerminalState] EventFailureReason alreadyInTerminalState - * @property {flyteidl.admin.IEventErrorIncompatibleCluster|null} [incompatibleCluster] EventFailureReason incompatibleCluster + * @interface IRawOutputDataConfig + * @property {string|null} [outputLocationPrefix] RawOutputDataConfig outputLocationPrefix */ /** - * Constructs a new EventFailureReason. + * Constructs a new RawOutputDataConfig. * @memberof flyteidl.admin - * @classdesc Represents an EventFailureReason. - * @implements IEventFailureReason + * @classdesc Represents a RawOutputDataConfig. + * @implements IRawOutputDataConfig * @constructor - * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set + * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set */ - function EventFailureReason(properties) { + function RawOutputDataConfig(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24633,89 +25574,62 @@ } /** - * 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 + * RawOutputDataConfig outputLocationPrefix. + * @member {string} outputLocationPrefix + * @memberof flyteidl.admin.RawOutputDataConfig * @instance */ - Object.defineProperty(EventFailureReason.prototype, "reason", { - get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState", "incompatibleCluster"]), - set: $util.oneOfSetter($oneOfFields) - }); + RawOutputDataConfig.prototype.outputLocationPrefix = ""; /** - * Creates a new EventFailureReason instance using the specified properties. + * Creates a new RawOutputDataConfig instance using the specified properties. * @function create - * @memberof flyteidl.admin.EventFailureReason + * @memberof flyteidl.admin.RawOutputDataConfig * @static - * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set - * @returns {flyteidl.admin.EventFailureReason} EventFailureReason instance + * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set + * @returns {flyteidl.admin.RawOutputDataConfig} RawOutputDataConfig instance */ - EventFailureReason.create = function create(properties) { - return new EventFailureReason(properties); + RawOutputDataConfig.create = function create(properties) { + return new RawOutputDataConfig(properties); }; /** - * Encodes the specified EventFailureReason message. Does not implicitly {@link flyteidl.admin.EventFailureReason.verify|verify} messages. + * Encodes the specified RawOutputDataConfig message. Does not implicitly {@link flyteidl.admin.RawOutputDataConfig.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EventFailureReason + * @memberof flyteidl.admin.RawOutputDataConfig * @static - * @param {flyteidl.admin.IEventFailureReason} message EventFailureReason 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 */ - EventFailureReason.encode = function encode(message, writer) { + RawOutputDataConfig.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(); + if (message.outputLocationPrefix != null && message.hasOwnProperty("outputLocationPrefix")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputLocationPrefix); return writer; }; /** - * Decodes an EventFailureReason message from the specified reader or buffer. + * Decodes a RawOutputDataConfig message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EventFailureReason + * @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.admin.EventFailureReason} EventFailureReason + * @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 */ - EventFailureReason.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.admin.EventFailureReason(); + 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.alreadyInTerminalState = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.decode(reader, reader.uint32()); - break; - case 2: - message.incompatibleCluster = $root.flyteidl.admin.EventErrorIncompatibleCluster.decode(reader, reader.uint32()); + message.outputLocationPrefix = reader.string(); break; default: reader.skipType(tag & 7); @@ -24726,60 +25640,45 @@ }; /** - * Verifies an EventFailureReason message. + * Verifies a RawOutputDataConfig message. * @function verify - * @memberof flyteidl.admin.EventFailureReason + * @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 */ - EventFailureReason.verify = function verify(message) { + RawOutputDataConfig.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; - } - } + if (message.outputLocationPrefix != null && message.hasOwnProperty("outputLocationPrefix")) + if (!$util.isString(message.outputLocationPrefix)) + return "outputLocationPrefix: string expected"; return null; }; - return EventFailureReason; + return RawOutputDataConfig; })(); - admin.WorkflowExecutionEventRequest = (function() { + admin.FlyteURLs = (function() { /** - * Properties of a WorkflowExecutionEventRequest. + * Properties of a FlyteURLs. * @memberof flyteidl.admin - * @interface IWorkflowExecutionEventRequest - * @property {string|null} [requestId] WorkflowExecutionEventRequest requestId - * @property {flyteidl.event.IWorkflowExecutionEvent|null} [event] WorkflowExecutionEventRequest event + * @interface IFlyteURLs + * @property {string|null} [inputs] FlyteURLs inputs + * @property {string|null} [outputs] FlyteURLs outputs + * @property {string|null} [deck] FlyteURLs deck */ /** - * Constructs a new WorkflowExecutionEventRequest. + * Constructs a new FlyteURLs. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionEventRequest. - * @implements IWorkflowExecutionEventRequest + * @classdesc Represents a FlyteURLs. + * @implements IFlyteURLs * @constructor - * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set + * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set */ - function WorkflowExecutionEventRequest(properties) { + function FlyteURLs(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24787,75 +25686,88 @@ } /** - * WorkflowExecutionEventRequest requestId. - * @member {string} requestId - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * FlyteURLs inputs. + * @member {string} inputs + * @memberof flyteidl.admin.FlyteURLs * @instance */ - WorkflowExecutionEventRequest.prototype.requestId = ""; + FlyteURLs.prototype.inputs = ""; /** - * WorkflowExecutionEventRequest event. - * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} event - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * FlyteURLs outputs. + * @member {string} outputs + * @memberof flyteidl.admin.FlyteURLs * @instance */ - WorkflowExecutionEventRequest.prototype.event = null; + FlyteURLs.prototype.outputs = ""; /** - * Creates a new WorkflowExecutionEventRequest instance using the specified properties. + * FlyteURLs deck. + * @member {string} deck + * @memberof flyteidl.admin.FlyteURLs + * @instance + */ + FlyteURLs.prototype.deck = ""; + + /** + * Creates a new FlyteURLs instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @memberof flyteidl.admin.FlyteURLs * @static - * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionEventRequest} WorkflowExecutionEventRequest instance + * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set + * @returns {flyteidl.admin.FlyteURLs} FlyteURLs instance */ - WorkflowExecutionEventRequest.create = function create(properties) { - return new WorkflowExecutionEventRequest(properties); + FlyteURLs.create = function create(properties) { + return new FlyteURLs(properties); }; /** - * Encodes the specified WorkflowExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventRequest.verify|verify} messages. + * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @memberof flyteidl.admin.FlyteURLs * @static - * @param {flyteidl.admin.IWorkflowExecutionEventRequest} message WorkflowExecutionEventRequest 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 */ - WorkflowExecutionEventRequest.encode = function encode(message, writer) { + FlyteURLs.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.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 WorkflowExecutionEventRequest message from the specified reader or buffer. + * Decodes a FlyteURLs message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @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.admin.WorkflowExecutionEventRequest} WorkflowExecutionEventRequest + * @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 */ - WorkflowExecutionEventRequest.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.admin.WorkflowExecutionEventRequest(); + 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.requestId = reader.string(); + message.inputs = reader.string(); break; case 2: - message.event = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); + message.outputs = reader.string(); + break; + case 3: + message.deck = reader.string(); break; default: reader.skipType(tag & 7); @@ -24866,47 +25778,54 @@ }; /** - * Verifies a WorkflowExecutionEventRequest message. + * Verifies a FlyteURLs message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @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 */ - WorkflowExecutionEventRequest.verify = function verify(message) { + FlyteURLs.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 (error) - return "event." + error; - } + 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 WorkflowExecutionEventRequest; + return FlyteURLs; })(); - admin.WorkflowExecutionEventResponse = (function() { + admin.DescriptionEntity = (function() { /** - * Properties of a WorkflowExecutionEventResponse. + * Properties of a DescriptionEntity. * @memberof flyteidl.admin - * @interface IWorkflowExecutionEventResponse + * @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 WorkflowExecutionEventResponse. + * Constructs a new DescriptionEntity. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionEventResponse. - * @implements IWorkflowExecutionEventResponse + * @classdesc Represents a DescriptionEntity. + * @implements IDescriptionEntity * @constructor - * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set + * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set */ - function WorkflowExecutionEventResponse(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) @@ -24914,50 +25833,118 @@ } /** - * Creates a new WorkflowExecutionEventResponse instance using the specified properties. + * 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 + * @instance + */ + DescriptionEntity.prototype.sourceCode = null; + + /** + * 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.WorkflowExecutionEventResponse + * @memberof flyteidl.admin.DescriptionEntity * @static - * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionEventResponse} WorkflowExecutionEventResponse instance + * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set + * @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity instance */ - WorkflowExecutionEventResponse.create = function create(properties) { - return new WorkflowExecutionEventResponse(properties); + DescriptionEntity.create = function create(properties) { + return new DescriptionEntity(properties); }; /** - * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. + * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionEventResponse + * @memberof flyteidl.admin.DescriptionEntity * @static - * @param {flyteidl.admin.IWorkflowExecutionEventResponse} message WorkflowExecutionEventResponse 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 */ - WorkflowExecutionEventResponse.encode = function encode(message, writer) { + DescriptionEntity.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]); return writer; }; /** - * Decodes a WorkflowExecutionEventResponse message from the specified reader or buffer. + * Decodes a DescriptionEntity message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionEventResponse + * @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.WorkflowExecutionEventResponse} WorkflowExecutionEventResponse + * @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 */ - WorkflowExecutionEventResponse.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.WorkflowExecutionEventResponse(); + 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.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + 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()); + break; default: reader.skipType(tag & 7); break; @@ -24967,41 +25954,86 @@ }; /** - * Verifies a WorkflowExecutionEventResponse message. + * Verifies a DescriptionEntity message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionEventResponse + * @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 */ - WorkflowExecutionEventResponse.verify = function verify(message) { + DescriptionEntity.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"; + } return null; }; - return WorkflowExecutionEventResponse; + return DescriptionEntity; })(); - admin.NodeExecutionEventRequest = (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 NodeExecutionEventRequest. + * Properties of a Description. * @memberof flyteidl.admin - * @interface INodeExecutionEventRequest - * @property {string|null} [requestId] NodeExecutionEventRequest requestId - * @property {flyteidl.event.INodeExecutionEvent|null} [event] NodeExecutionEventRequest event + * @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 NodeExecutionEventRequest. + * Constructs a new Description. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionEventRequest. - * @implements INodeExecutionEventRequest + * @classdesc Represents a Description. + * @implements IDescription * @constructor - * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set + * @param {flyteidl.admin.IDescription=} [properties] Properties to set */ - function NodeExecutionEventRequest(properties) { + function Description(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25009,75 +26041,115 @@ } /** - * NodeExecutionEventRequest requestId. - * @member {string} requestId - * @memberof flyteidl.admin.NodeExecutionEventRequest + * Description value. + * @member {string} value + * @memberof flyteidl.admin.Description * @instance */ - NodeExecutionEventRequest.prototype.requestId = ""; + Description.prototype.value = ""; /** - * NodeExecutionEventRequest event. - * @member {flyteidl.event.INodeExecutionEvent|null|undefined} event - * @memberof flyteidl.admin.NodeExecutionEventRequest + * Description uri. + * @member {string} uri + * @memberof flyteidl.admin.Description * @instance */ - NodeExecutionEventRequest.prototype.event = null; + Description.prototype.uri = ""; /** - * Creates a new NodeExecutionEventRequest instance using the specified properties. + * Description format. + * @member {flyteidl.admin.DescriptionFormat} format + * @memberof flyteidl.admin.Description + * @instance + */ + Description.prototype.format = 0; + + /** + * 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.NodeExecutionEventRequest + * @memberof flyteidl.admin.Description * @static - * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionEventRequest} NodeExecutionEventRequest instance + * @param {flyteidl.admin.IDescription=} [properties] Properties to set + * @returns {flyteidl.admin.Description} Description instance */ - NodeExecutionEventRequest.create = function create(properties) { - return new NodeExecutionEventRequest(properties); + Description.create = function create(properties) { + return new Description(properties); }; /** - * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. + * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionEventRequest + * @memberof flyteidl.admin.Description * @static - * @param {flyteidl.admin.INodeExecutionEventRequest} message NodeExecutionEventRequest 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 */ - NodeExecutionEventRequest.encode = function encode(message, writer) { + Description.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.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 NodeExecutionEventRequest message from the specified reader or buffer. + * Decodes a Description message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionEventRequest + * @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.NodeExecutionEventRequest} NodeExecutionEventRequest + * @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 */ - NodeExecutionEventRequest.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.NodeExecutionEventRequest(); + 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.requestId = reader.string(); + message.value = reader.string(); break; case 2: - message.event = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); + message.uri = reader.string(); + break; + case 3: + message.format = reader.int32(); + break; + case 4: + message.iconLink = reader.string(); break; default: reader.skipType(tag & 7); @@ -25088,47 +26160,66 @@ }; /** - * Verifies a NodeExecutionEventRequest message. + * Verifies a Description message. * @function verify - * @memberof flyteidl.admin.NodeExecutionEventRequest + * @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 */ - NodeExecutionEventRequest.verify = function verify(message) { + Description.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; + 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 "format: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.iconLink != null && message.hasOwnProperty("iconLink")) + if (!$util.isString(message.iconLink)) + return "iconLink: string expected"; return null; }; - return NodeExecutionEventRequest; + return Description; })(); - admin.NodeExecutionEventResponse = (function() { + admin.SourceCode = (function() { /** - * Properties of a NodeExecutionEventResponse. + * Properties of a SourceCode. * @memberof flyteidl.admin - * @interface INodeExecutionEventResponse + * @interface ISourceCode + * @property {string|null} [link] SourceCode link */ /** - * Constructs a new NodeExecutionEventResponse. + * Constructs a new SourceCode. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionEventResponse. - * @implements INodeExecutionEventResponse + * @classdesc Represents a SourceCode. + * @implements ISourceCode * @constructor - * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set + * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set */ - function NodeExecutionEventResponse(properties) { + function SourceCode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25136,50 +26227,63 @@ } /** - * Creates a new NodeExecutionEventResponse instance using the specified properties. + * SourceCode link. + * @member {string} link + * @memberof flyteidl.admin.SourceCode + * @instance + */ + SourceCode.prototype.link = ""; + + /** + * Creates a new SourceCode instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @memberof flyteidl.admin.SourceCode * @static - * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionEventResponse} NodeExecutionEventResponse instance + * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set + * @returns {flyteidl.admin.SourceCode} SourceCode instance */ - NodeExecutionEventResponse.create = function create(properties) { - return new NodeExecutionEventResponse(properties); + SourceCode.create = function create(properties) { + return new SourceCode(properties); }; /** - * Encodes the specified NodeExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventResponse.verify|verify} messages. + * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @memberof flyteidl.admin.SourceCode * @static - * @param {flyteidl.admin.INodeExecutionEventResponse} message NodeExecutionEventResponse 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 */ - NodeExecutionEventResponse.encode = function encode(message, writer) { + SourceCode.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); return writer; }; /** - * Decodes a NodeExecutionEventResponse message from the specified reader or buffer. + * Decodes a SourceCode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @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.NodeExecutionEventResponse} NodeExecutionEventResponse + * @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 */ - NodeExecutionEventResponse.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.NodeExecutionEventResponse(); + 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.link = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -25189,41 +26293,45 @@ }; /** - * Verifies a NodeExecutionEventResponse message. + * Verifies a SourceCode message. * @function verify - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @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 */ - NodeExecutionEventResponse.verify = function verify(message) { + SourceCode.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"; return null; }; - return NodeExecutionEventResponse; + return SourceCode; })(); - admin.TaskExecutionEventRequest = (function() { + admin.DescriptionEntityList = (function() { /** - * Properties of a TaskExecutionEventRequest. + * Properties of a DescriptionEntityList. * @memberof flyteidl.admin - * @interface ITaskExecutionEventRequest - * @property {string|null} [requestId] TaskExecutionEventRequest requestId - * @property {flyteidl.event.ITaskExecutionEvent|null} [event] TaskExecutionEventRequest event + * @interface IDescriptionEntityList + * @property {Array.|null} [descriptionEntities] DescriptionEntityList descriptionEntities + * @property {string|null} [token] DescriptionEntityList token */ /** - * Constructs a new TaskExecutionEventRequest. + * Constructs a new DescriptionEntityList. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionEventRequest. - * @implements ITaskExecutionEventRequest + * @classdesc Represents a DescriptionEntityList. + * @implements IDescriptionEntityList * @constructor - * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set + * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set */ - function TaskExecutionEventRequest(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) @@ -25231,75 +26339,78 @@ } /** - * TaskExecutionEventRequest requestId. - * @member {string} requestId - * @memberof flyteidl.admin.TaskExecutionEventRequest + * DescriptionEntityList descriptionEntities. + * @member {Array.} descriptionEntities + * @memberof flyteidl.admin.DescriptionEntityList * @instance */ - TaskExecutionEventRequest.prototype.requestId = ""; + DescriptionEntityList.prototype.descriptionEntities = $util.emptyArray; /** - * TaskExecutionEventRequest event. - * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} event - * @memberof flyteidl.admin.TaskExecutionEventRequest + * DescriptionEntityList token. + * @member {string} token + * @memberof flyteidl.admin.DescriptionEntityList * @instance */ - TaskExecutionEventRequest.prototype.event = null; + DescriptionEntityList.prototype.token = ""; /** - * Creates a new TaskExecutionEventRequest instance using the specified properties. + * Creates a new DescriptionEntityList instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @memberof flyteidl.admin.DescriptionEntityList * @static - * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionEventRequest} TaskExecutionEventRequest instance + * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set + * @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList instance */ - TaskExecutionEventRequest.create = function create(properties) { - return new TaskExecutionEventRequest(properties); + DescriptionEntityList.create = function create(properties) { + return new DescriptionEntityList(properties); }; /** - * Encodes the specified TaskExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventRequest.verify|verify} messages. + * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @memberof flyteidl.admin.DescriptionEntityList * @static - * @param {flyteidl.admin.ITaskExecutionEventRequest} message TaskExecutionEventRequest 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 */ - TaskExecutionEventRequest.encode = function encode(message, writer) { + DescriptionEntityList.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(); + 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; }; /** - * Decodes a TaskExecutionEventRequest message from the specified reader or buffer. + * Decodes a DescriptionEntityList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @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.TaskExecutionEventRequest} TaskExecutionEventRequest + * @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 */ - TaskExecutionEventRequest.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.TaskExecutionEventRequest(); + 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.requestId = 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.event = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32()); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -25310,47 +26421,57 @@ }; /** - * Verifies a TaskExecutionEventRequest message. + * Verifies a DescriptionEntityList message. * @function verify - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @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 */ - TaskExecutionEventRequest.verify = function verify(message) { + DescriptionEntityList.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; + 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 TaskExecutionEventRequest; + return DescriptionEntityList; })(); - admin.TaskExecutionEventResponse = (function() { + admin.DescriptionEntityListRequest = (function() { /** - * Properties of a TaskExecutionEventResponse. + * Properties of a DescriptionEntityListRequest. * @memberof flyteidl.admin - * @interface ITaskExecutionEventResponse + * @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 TaskExecutionEventResponse. + * Constructs a new DescriptionEntityListRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionEventResponse. - * @implements ITaskExecutionEventResponse - * @constructor - * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set + * @classdesc Represents a DescriptionEntityListRequest. + * @implements IDescriptionEntityListRequest + * @constructor + * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set */ - function TaskExecutionEventResponse(properties) { + function DescriptionEntityListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25358,50 +26479,128 @@ } /** - * Creates a new TaskExecutionEventResponse instance using the specified properties. + * DescriptionEntityListRequest resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.DescriptionEntityListRequest + * @instance + */ + DescriptionEntityListRequest.prototype.resourceType = 0; + + /** + * DescriptionEntityListRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.DescriptionEntityListRequest + * @instance + */ + DescriptionEntityListRequest.prototype.id = null; + + /** + * DescriptionEntityListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.DescriptionEntityListRequest + * @instance + */ + DescriptionEntityListRequest.prototype.limit = 0; + + /** + * DescriptionEntityListRequest token. + * @member {string} token + * @memberof flyteidl.admin.DescriptionEntityListRequest + * @instance + */ + DescriptionEntityListRequest.prototype.token = ""; + + /** + * DescriptionEntityListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.DescriptionEntityListRequest + * @instance + */ + DescriptionEntityListRequest.prototype.filters = ""; + + /** + * DescriptionEntityListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.DescriptionEntityListRequest + * @instance + */ + DescriptionEntityListRequest.prototype.sortBy = null; + + /** + * Creates a new DescriptionEntityListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @memberof flyteidl.admin.DescriptionEntityListRequest * @static - * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionEventResponse} TaskExecutionEventResponse instance + * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest instance */ - TaskExecutionEventResponse.create = function create(properties) { - return new TaskExecutionEventResponse(properties); + DescriptionEntityListRequest.create = function create(properties) { + return new DescriptionEntityListRequest(properties); }; /** - * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. + * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @memberof flyteidl.admin.DescriptionEntityListRequest * @static - * @param {flyteidl.admin.ITaskExecutionEventResponse} message TaskExecutionEventResponse 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 */ - TaskExecutionEventResponse.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.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; }; /** - * Decodes a TaskExecutionEventResponse message from the specified reader or buffer. + * Decodes a DescriptionEntityListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @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.TaskExecutionEventResponse} TaskExecutionEventResponse + * @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 */ - TaskExecutionEventResponse.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.TaskExecutionEventResponse(); + 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; @@ -25411,44 +26610,70 @@ }; /** - * Verifies a TaskExecutionEventResponse message. + * Verifies a DescriptionEntityListRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @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 */ - TaskExecutionEventResponse.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")) + 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 TaskExecutionEventResponse; + return DescriptionEntityListRequest; })(); - admin.ExecutionCreateRequest = (function() { + admin.EventErrorAlreadyInTerminalState = (function() { /** - * Properties of an ExecutionCreateRequest. + * Properties of an EventErrorAlreadyInTerminalState. * @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 + * @interface IEventErrorAlreadyInTerminalState + * @property {string|null} [currentPhase] EventErrorAlreadyInTerminalState currentPhase */ /** - * Constructs a new ExecutionCreateRequest. + * Constructs a new EventErrorAlreadyInTerminalState. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionCreateRequest. - * @implements IExecutionCreateRequest + * @classdesc Represents an EventErrorAlreadyInTerminalState. + * @implements IEventErrorAlreadyInTerminalState * @constructor - * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set */ - function ExecutionCreateRequest(properties) { + function EventErrorAlreadyInTerminalState(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25456,114 +26681,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 + * EventErrorAlreadyInTerminalState currentPhase. + * @member {string} currentPhase + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState * @instance */ - ExecutionCreateRequest.prototype.inputs = null; + EventErrorAlreadyInTerminalState.prototype.currentPhase = ""; /** - * Creates a new ExecutionCreateRequest instance using the specified properties. + * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionCreateRequest + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState * @static - * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionCreateRequest} ExecutionCreateRequest instance + * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set + * @returns {flyteidl.admin.EventErrorAlreadyInTerminalState} EventErrorAlreadyInTerminalState instance */ - ExecutionCreateRequest.create = function create(properties) { - return new ExecutionCreateRequest(properties); + EventErrorAlreadyInTerminalState.create = function create(properties) { + return new EventErrorAlreadyInTerminalState(properties); }; /** - * Encodes the specified ExecutionCreateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionCreateRequest.verify|verify} messages. + * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionCreateRequest + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState * @static - * @param {flyteidl.admin.IExecutionCreateRequest} message ExecutionCreateRequest message or plain object to encode + * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState} message EventErrorAlreadyInTerminalState message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionCreateRequest.encode = function encode(message, writer) { + EventErrorAlreadyInTerminalState.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.currentPhase != null && message.hasOwnProperty("currentPhase")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.currentPhase); return writer; }; /** - * Decodes an ExecutionCreateRequest message from the specified reader or buffer. + * Decodes an EventErrorAlreadyInTerminalState message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionCreateRequest + * @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.ExecutionCreateRequest} ExecutionCreateRequest + * @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 */ - ExecutionCreateRequest.decode = function decode(reader, length) { + 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.ExecutionCreateRequest(); + 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.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()); + message.currentPhase = reader.string(); break; default: reader.skipType(tag & 7); @@ -25574,61 +26747,43 @@ }; /** - * Verifies an ExecutionCreateRequest message. + * Verifies an EventErrorAlreadyInTerminalState message. * @function verify - * @memberof flyteidl.admin.ExecutionCreateRequest + * @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 */ - ExecutionCreateRequest.verify = function verify(message) { + EventErrorAlreadyInTerminalState.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 (error) - return "inputs." + error; - } + if (message.currentPhase != null && message.hasOwnProperty("currentPhase")) + if (!$util.isString(message.currentPhase)) + return "currentPhase: string expected"; return null; }; - return ExecutionCreateRequest; + return EventErrorAlreadyInTerminalState; })(); - admin.ExecutionRelaunchRequest = (function() { + admin.EventErrorIncompatibleCluster = (function() { /** - * Properties of an ExecutionRelaunchRequest. + * Properties of an EventErrorIncompatibleCluster. * @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 IEventErrorIncompatibleCluster + * @property {string|null} [cluster] EventErrorIncompatibleCluster cluster */ /** - * Constructs a new ExecutionRelaunchRequest. + * Constructs a new EventErrorIncompatibleCluster. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionRelaunchRequest. - * @implements IExecutionRelaunchRequest + * @classdesc Represents an EventErrorIncompatibleCluster. + * @implements IEventErrorIncompatibleCluster * @constructor - * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set + * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set */ - function ExecutionRelaunchRequest(properties) { + function EventErrorIncompatibleCluster(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25636,88 +26791,62 @@ } /** - * ExecutionRelaunchRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionRelaunchRequest - * @instance - */ - ExecutionRelaunchRequest.prototype.id = null; - - /** - * ExecutionRelaunchRequest name. - * @member {string} name - * @memberof flyteidl.admin.ExecutionRelaunchRequest - * @instance - */ - ExecutionRelaunchRequest.prototype.name = ""; - - /** - * ExecutionRelaunchRequest overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * EventErrorIncompatibleCluster cluster. + * @member {string} cluster + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @instance */ - ExecutionRelaunchRequest.prototype.overwriteCache = false; + EventErrorIncompatibleCluster.prototype.cluster = ""; /** - * Creates a new ExecutionRelaunchRequest instance using the specified properties. + * Creates a new EventErrorIncompatibleCluster instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @static - * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionRelaunchRequest} ExecutionRelaunchRequest instance + * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set + * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster instance */ - ExecutionRelaunchRequest.create = function create(properties) { - return new ExecutionRelaunchRequest(properties); + EventErrorIncompatibleCluster.create = function create(properties) { + return new EventErrorIncompatibleCluster(properties); }; /** - * Encodes the specified ExecutionRelaunchRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRelaunchRequest.verify|verify} messages. + * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @static - * @param {flyteidl.admin.IExecutionRelaunchRequest} message ExecutionRelaunchRequest 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 */ - ExecutionRelaunchRequest.encode = function encode(message, writer) { + EventErrorIncompatibleCluster.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.cluster != null && message.hasOwnProperty("cluster")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.cluster); return writer; }; /** - * Decodes an ExecutionRelaunchRequest message from the specified reader or buffer. + * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @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.ExecutionRelaunchRequest} ExecutionRelaunchRequest + * @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 */ - ExecutionRelaunchRequest.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.ExecutionRelaunchRequest(); + 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: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 3: - message.name = reader.string(); - break; - case 4: - message.overwriteCache = reader.bool(); + message.cluster = reader.string(); break; default: reader.skipType(tag & 7); @@ -25728,53 +26857,44 @@ }; /** - * Verifies an ExecutionRelaunchRequest message. + * Verifies an EventErrorIncompatibleCluster message. * @function verify - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @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 */ - ExecutionRelaunchRequest.verify = function verify(message) { + EventErrorIncompatibleCluster.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.cluster != null && message.hasOwnProperty("cluster")) + if (!$util.isString(message.cluster)) + return "cluster: string expected"; return null; }; - return ExecutionRelaunchRequest; + return EventErrorIncompatibleCluster; })(); - admin.ExecutionRecoverRequest = (function() { + admin.EventFailureReason = (function() { /** - * Properties of an ExecutionRecoverRequest. + * Properties of an EventFailureReason. * @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 IEventFailureReason + * @property {flyteidl.admin.IEventErrorAlreadyInTerminalState|null} [alreadyInTerminalState] EventFailureReason alreadyInTerminalState + * @property {flyteidl.admin.IEventErrorIncompatibleCluster|null} [incompatibleCluster] EventFailureReason incompatibleCluster */ /** - * Constructs a new ExecutionRecoverRequest. + * Constructs a new EventFailureReason. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionRecoverRequest. - * @implements IExecutionRecoverRequest + * @classdesc Represents an EventFailureReason. + * @implements IEventFailureReason * @constructor - * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set + * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set */ - function ExecutionRecoverRequest(properties) { + function EventFailureReason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25782,88 +26902,89 @@ } /** - * ExecutionRecoverRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionRecoverRequest + * EventFailureReason alreadyInTerminalState. + * @member {flyteidl.admin.IEventErrorAlreadyInTerminalState|null|undefined} alreadyInTerminalState + * @memberof flyteidl.admin.EventFailureReason * @instance */ - ExecutionRecoverRequest.prototype.id = null; + EventFailureReason.prototype.alreadyInTerminalState = null; /** - * ExecutionRecoverRequest name. - * @member {string} name - * @memberof flyteidl.admin.ExecutionRecoverRequest + * EventFailureReason incompatibleCluster. + * @member {flyteidl.admin.IEventErrorIncompatibleCluster|null|undefined} incompatibleCluster + * @memberof flyteidl.admin.EventFailureReason * @instance */ - ExecutionRecoverRequest.prototype.name = ""; + EventFailureReason.prototype.incompatibleCluster = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * ExecutionRecoverRequest metadata. - * @member {flyteidl.admin.IExecutionMetadata|null|undefined} metadata - * @memberof flyteidl.admin.ExecutionRecoverRequest + * EventFailureReason reason. + * @member {"alreadyInTerminalState"|"incompatibleCluster"|undefined} reason + * @memberof flyteidl.admin.EventFailureReason * @instance */ - ExecutionRecoverRequest.prototype.metadata = null; + Object.defineProperty(EventFailureReason.prototype, "reason", { + get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState", "incompatibleCluster"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new ExecutionRecoverRequest instance using the specified properties. + * Creates a new EventFailureReason instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @memberof flyteidl.admin.EventFailureReason * @static - * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionRecoverRequest} ExecutionRecoverRequest instance + * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set + * @returns {flyteidl.admin.EventFailureReason} EventFailureReason instance */ - ExecutionRecoverRequest.create = function create(properties) { - return new ExecutionRecoverRequest(properties); + EventFailureReason.create = function create(properties) { + return new EventFailureReason(properties); }; /** - * Encodes the specified ExecutionRecoverRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRecoverRequest.verify|verify} messages. + * Encodes the specified EventFailureReason message. Does not implicitly {@link flyteidl.admin.EventFailureReason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @memberof flyteidl.admin.EventFailureReason * @static - * @param {flyteidl.admin.IExecutionRecoverRequest} message ExecutionRecoverRequest 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 */ - ExecutionRecoverRequest.encode = function encode(message, writer) { + EventFailureReason.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.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 ExecutionRecoverRequest message from the specified reader or buffer. + * Decodes an EventFailureReason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @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.ExecutionRecoverRequest} ExecutionRecoverRequest + * @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 */ - ExecutionRecoverRequest.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.ExecutionRecoverRequest(); + 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: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.alreadyInTerminalState = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.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.incompatibleCluster = $root.flyteidl.admin.EventErrorIncompatibleCluster.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -25874,53 +26995,60 @@ }; /** - * Verifies an ExecutionRecoverRequest message. + * Verifies an EventFailureReason message. * @function verify - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @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 */ - ExecutionRecoverRequest.verify = function verify(message) { + EventFailureReason.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; + 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.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; + 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 ExecutionRecoverRequest; + return EventFailureReason; })(); - admin.ExecutionCreateResponse = (function() { + admin.WorkflowExecutionEventRequest = (function() { /** - * Properties of an ExecutionCreateResponse. + * Properties of a WorkflowExecutionEventRequest. * @memberof flyteidl.admin - * @interface IExecutionCreateResponse - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionCreateResponse id + * @interface IWorkflowExecutionEventRequest + * @property {string|null} [requestId] WorkflowExecutionEventRequest requestId + * @property {flyteidl.event.IWorkflowExecutionEvent|null} [event] WorkflowExecutionEventRequest event */ /** - * Constructs a new ExecutionCreateResponse. + * Constructs a new WorkflowExecutionEventRequest. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionCreateResponse. - * @implements IExecutionCreateResponse + * @classdesc Represents a WorkflowExecutionEventRequest. + * @implements IWorkflowExecutionEventRequest * @constructor - * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set */ - function ExecutionCreateResponse(properties) { + function WorkflowExecutionEventRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25928,62 +27056,75 @@ } /** - * ExecutionCreateResponse id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionCreateResponse + * WorkflowExecutionEventRequest requestId. + * @member {string} requestId + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @instance */ - ExecutionCreateResponse.prototype.id = null; + WorkflowExecutionEventRequest.prototype.requestId = ""; /** - * Creates a new ExecutionCreateResponse instance using the specified properties. + * WorkflowExecutionEventRequest event. + * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} event + * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @instance + */ + WorkflowExecutionEventRequest.prototype.event = null; + + /** + * Creates a new WorkflowExecutionEventRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionCreateResponse + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @static - * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionCreateResponse} ExecutionCreateResponse instance + * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionEventRequest} WorkflowExecutionEventRequest instance */ - ExecutionCreateResponse.create = function create(properties) { - return new ExecutionCreateResponse(properties); + WorkflowExecutionEventRequest.create = function create(properties) { + return new WorkflowExecutionEventRequest(properties); }; /** - * Encodes the specified ExecutionCreateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionCreateResponse.verify|verify} messages. + * Encodes the specified WorkflowExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionCreateResponse + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @static - * @param {flyteidl.admin.IExecutionCreateResponse} message ExecutionCreateResponse 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 */ - ExecutionCreateResponse.encode = function encode(message, writer) { + WorkflowExecutionEventRequest.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.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 an ExecutionCreateResponse message from the specified reader or buffer. + * Decodes a WorkflowExecutionEventRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionCreateResponse + * @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.ExecutionCreateResponse} ExecutionCreateResponse + * @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 */ - ExecutionCreateResponse.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.ExecutionCreateResponse(); + 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.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.requestId = reader.string(); + break; + case 2: + message.event = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -25994,45 +27135,47 @@ }; /** - * Verifies an ExecutionCreateResponse message. + * Verifies a WorkflowExecutionEventRequest message. * @function verify - * @memberof flyteidl.admin.ExecutionCreateResponse + * @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 */ - ExecutionCreateResponse.verify = function verify(message) { + WorkflowExecutionEventRequest.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.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 ExecutionCreateResponse; + return WorkflowExecutionEventRequest; })(); - admin.WorkflowExecutionGetRequest = (function() { + admin.WorkflowExecutionEventResponse = (function() { /** - * Properties of a WorkflowExecutionGetRequest. + * Properties of a WorkflowExecutionEventResponse. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetRequest id + * @interface IWorkflowExecutionEventResponse */ /** - * Constructs a new WorkflowExecutionGetRequest. + * Constructs a new WorkflowExecutionEventResponse. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetRequest. - * @implements IWorkflowExecutionGetRequest + * @classdesc Represents a WorkflowExecutionEventResponse. + * @implements IWorkflowExecutionEventResponse * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set */ - function WorkflowExecutionGetRequest(properties) { + function WorkflowExecutionEventResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26040,63 +27183,50 @@ } /** - * WorkflowExecutionGetRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowExecutionGetRequest - * @instance - */ - WorkflowExecutionGetRequest.prototype.id = null; - - /** - * Creates a new WorkflowExecutionGetRequest instance using the specified properties. + * Creates a new WorkflowExecutionEventResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @memberof flyteidl.admin.WorkflowExecutionEventResponse * @static - * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetRequest} WorkflowExecutionGetRequest instance + * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionEventResponse} WorkflowExecutionEventResponse instance */ - WorkflowExecutionGetRequest.create = function create(properties) { - return new WorkflowExecutionGetRequest(properties); + WorkflowExecutionEventResponse.create = function create(properties) { + return new WorkflowExecutionEventResponse(properties); }; /** - * Encodes the specified WorkflowExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetRequest.verify|verify} messages. + * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @memberof flyteidl.admin.WorkflowExecutionEventResponse * @static - * @param {flyteidl.admin.IWorkflowExecutionGetRequest} message WorkflowExecutionGetRequest 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 */ - WorkflowExecutionGetRequest.encode = function encode(message, writer) { + WorkflowExecutionEventResponse.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(); return writer; }; /** - * Decodes a WorkflowExecutionGetRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionEventResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @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.WorkflowExecutionGetRequest} WorkflowExecutionGetRequest + * @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 */ - WorkflowExecutionGetRequest.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.WorkflowExecutionGetRequest(); + 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.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -26106,47 +27236,41 @@ }; /** - * Verifies a WorkflowExecutionGetRequest message. + * Verifies a WorkflowExecutionEventResponse message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @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 */ - WorkflowExecutionGetRequest.verify = function verify(message) { + WorkflowExecutionEventResponse.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; - } return null; }; - return WorkflowExecutionGetRequest; + return WorkflowExecutionEventResponse; })(); - admin.Execution = (function() { + admin.NodeExecutionEventRequest = (function() { /** - * Properties of an Execution. + * Properties of a NodeExecutionEventRequest. * @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 INodeExecutionEventRequest + * @property {string|null} [requestId] NodeExecutionEventRequest requestId + * @property {flyteidl.event.INodeExecutionEvent|null} [event] NodeExecutionEventRequest event */ /** - * Constructs a new Execution. + * Constructs a new NodeExecutionEventRequest. * @memberof flyteidl.admin - * @classdesc Represents an Execution. - * @implements IExecution + * @classdesc Represents a NodeExecutionEventRequest. + * @implements INodeExecutionEventRequest * @constructor - * @param {flyteidl.admin.IExecution=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set */ - function Execution(properties) { + function NodeExecutionEventRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26154,88 +27278,75 @@ } /** - * 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 + * NodeExecutionEventRequest requestId. + * @member {string} requestId + * @memberof flyteidl.admin.NodeExecutionEventRequest * @instance */ - Execution.prototype.spec = null; + NodeExecutionEventRequest.prototype.requestId = ""; /** - * Execution closure. - * @member {flyteidl.admin.IExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.Execution + * NodeExecutionEventRequest event. + * @member {flyteidl.event.INodeExecutionEvent|null|undefined} event + * @memberof flyteidl.admin.NodeExecutionEventRequest * @instance */ - Execution.prototype.closure = null; + NodeExecutionEventRequest.prototype.event = null; /** - * Creates a new Execution instance using the specified properties. + * Creates a new NodeExecutionEventRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Execution + * @memberof flyteidl.admin.NodeExecutionEventRequest * @static - * @param {flyteidl.admin.IExecution=} [properties] Properties to set - * @returns {flyteidl.admin.Execution} Execution instance + * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionEventRequest} NodeExecutionEventRequest instance */ - Execution.create = function create(properties) { - return new Execution(properties); + NodeExecutionEventRequest.create = function create(properties) { + return new NodeExecutionEventRequest(properties); }; /** - * Encodes the specified Execution message. Does not implicitly {@link flyteidl.admin.Execution.verify|verify} messages. + * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Execution + * @memberof flyteidl.admin.NodeExecutionEventRequest * @static - * @param {flyteidl.admin.IExecution} message Execution 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 */ - Execution.encode = function encode(message, writer) { + NodeExecutionEventRequest.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.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 an Execution message from the specified reader or buffer. + * Decodes a NodeExecutionEventRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Execution + * @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.Execution} Execution + * @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 */ - Execution.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.Execution(); + 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.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.requestId = reader.string(); 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.event = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -26246,57 +27357,47 @@ }; /** - * Verifies an Execution message. + * Verifies a NodeExecutionEventRequest message. * @function verify - * @memberof flyteidl.admin.Execution + * @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 */ - Execution.verify = function verify(message) { + NodeExecutionEventRequest.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 (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 "closure." + error; + return "event." + error; } return null; }; - return Execution; + return NodeExecutionEventRequest; })(); - admin.ExecutionList = (function() { + admin.NodeExecutionEventResponse = (function() { /** - * Properties of an ExecutionList. + * Properties of a NodeExecutionEventResponse. * @memberof flyteidl.admin - * @interface IExecutionList - * @property {Array.|null} [executions] ExecutionList executions - * @property {string|null} [token] ExecutionList token + * @interface INodeExecutionEventResponse */ /** - * Constructs a new ExecutionList. + * Constructs a new NodeExecutionEventResponse. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionList. - * @implements IExecutionList + * @classdesc Represents a NodeExecutionEventResponse. + * @implements INodeExecutionEventResponse * @constructor - * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set */ - function ExecutionList(properties) { - this.executions = []; + function NodeExecutionEventResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26304,79 +27405,50 @@ } /** - * ExecutionList executions. - * @member {Array.} executions - * @memberof flyteidl.admin.ExecutionList - * @instance - */ - ExecutionList.prototype.executions = $util.emptyArray; - - /** - * ExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.ExecutionList - * @instance - */ - ExecutionList.prototype.token = ""; - - /** - * Creates a new ExecutionList instance using the specified properties. + * Creates a new NodeExecutionEventResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionList + * @memberof flyteidl.admin.NodeExecutionEventResponse * @static - * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionList} ExecutionList instance + * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionEventResponse} NodeExecutionEventResponse instance */ - ExecutionList.create = function create(properties) { - return new ExecutionList(properties); + NodeExecutionEventResponse.create = function create(properties) { + return new NodeExecutionEventResponse(properties); }; /** - * Encodes the specified ExecutionList message. Does not implicitly {@link flyteidl.admin.ExecutionList.verify|verify} messages. + * Encodes the specified NodeExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionList + * @memberof flyteidl.admin.NodeExecutionEventResponse * @static - * @param {flyteidl.admin.IExecutionList} message ExecutionList 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 */ - ExecutionList.encode = function encode(message, writer) { + NodeExecutionEventResponse.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); return writer; }; /** - * Decodes an ExecutionList message from the specified reader or buffer. + * Decodes a NodeExecutionEventResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionList + * @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.ExecutionList} ExecutionList + * @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 */ - ExecutionList.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.ExecutionList(); + 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: - 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); break; @@ -26386,53 +27458,41 @@ }; /** - * Verifies an ExecutionList message. + * Verifies a NodeExecutionEventResponse message. * @function verify - * @memberof flyteidl.admin.ExecutionList + * @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 */ - ExecutionList.verify = function verify(message) { + NodeExecutionEventResponse.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.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return ExecutionList; + return NodeExecutionEventResponse; })(); - admin.LiteralMapBlob = (function() { + admin.TaskExecutionEventRequest = (function() { /** - * Properties of a LiteralMapBlob. + * Properties of a TaskExecutionEventRequest. * @memberof flyteidl.admin - * @interface ILiteralMapBlob - * @property {flyteidl.core.ILiteralMap|null} [values] LiteralMapBlob values - * @property {string|null} [uri] LiteralMapBlob uri + * @interface ITaskExecutionEventRequest + * @property {string|null} [requestId] TaskExecutionEventRequest requestId + * @property {flyteidl.event.ITaskExecutionEvent|null} [event] TaskExecutionEventRequest event */ /** - * Constructs a new LiteralMapBlob. + * Constructs a new TaskExecutionEventRequest. * @memberof flyteidl.admin - * @classdesc Represents a LiteralMapBlob. - * @implements ILiteralMapBlob + * @classdesc Represents a TaskExecutionEventRequest. + * @implements ITaskExecutionEventRequest * @constructor - * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set */ - function LiteralMapBlob(properties) { + function TaskExecutionEventRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26440,89 +27500,75 @@ } /** - * 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 + * TaskExecutionEventRequest requestId. + * @member {string} requestId + * @memberof flyteidl.admin.TaskExecutionEventRequest * @instance */ - LiteralMapBlob.prototype.uri = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + TaskExecutionEventRequest.prototype.requestId = ""; /** - * LiteralMapBlob data. - * @member {"values"|"uri"|undefined} data - * @memberof flyteidl.admin.LiteralMapBlob + * TaskExecutionEventRequest event. + * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} event + * @memberof flyteidl.admin.TaskExecutionEventRequest * @instance */ - Object.defineProperty(LiteralMapBlob.prototype, "data", { - get: $util.oneOfGetter($oneOfFields = ["values", "uri"]), - set: $util.oneOfSetter($oneOfFields) - }); + TaskExecutionEventRequest.prototype.event = null; /** - * Creates a new LiteralMapBlob instance using the specified properties. + * Creates a new TaskExecutionEventRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.LiteralMapBlob + * @memberof flyteidl.admin.TaskExecutionEventRequest * @static - * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set - * @returns {flyteidl.admin.LiteralMapBlob} LiteralMapBlob instance + * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionEventRequest} TaskExecutionEventRequest instance */ - LiteralMapBlob.create = function create(properties) { - return new LiteralMapBlob(properties); + TaskExecutionEventRequest.create = function create(properties) { + return new TaskExecutionEventRequest(properties); }; /** - * Encodes the specified LiteralMapBlob message. Does not implicitly {@link flyteidl.admin.LiteralMapBlob.verify|verify} messages. + * Encodes the specified TaskExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LiteralMapBlob + * @memberof flyteidl.admin.TaskExecutionEventRequest * @static - * @param {flyteidl.admin.ILiteralMapBlob} message LiteralMapBlob 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 */ - LiteralMapBlob.encode = function encode(message, writer) { + TaskExecutionEventRequest.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.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 LiteralMapBlob message from the specified reader or buffer. + * Decodes a TaskExecutionEventRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LiteralMapBlob + * @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.LiteralMapBlob} LiteralMapBlob + * @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 */ - LiteralMapBlob.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.LiteralMapBlob(); + 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.values = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.requestId = reader.string(); break; case 2: - message.uri = reader.string(); + message.event = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -26533,57 +27579,47 @@ }; /** - * Verifies a LiteralMapBlob message. + * Verifies a TaskExecutionEventRequest message. * @function verify - * @memberof flyteidl.admin.LiteralMapBlob + * @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 */ - LiteralMapBlob.verify = function verify(message) { + TaskExecutionEventRequest.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 (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"; + 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 LiteralMapBlob; + return TaskExecutionEventRequest; })(); - admin.AbortMetadata = (function() { + admin.TaskExecutionEventResponse = (function() { /** - * Properties of an AbortMetadata. + * Properties of a TaskExecutionEventResponse. * @memberof flyteidl.admin - * @interface IAbortMetadata - * @property {string|null} [cause] AbortMetadata cause - * @property {string|null} [principal] AbortMetadata principal + * @interface ITaskExecutionEventResponse */ /** - * Constructs a new AbortMetadata. + * Constructs a new TaskExecutionEventResponse. * @memberof flyteidl.admin - * @classdesc Represents an AbortMetadata. - * @implements IAbortMetadata + * @classdesc Represents a TaskExecutionEventResponse. + * @implements ITaskExecutionEventResponse * @constructor - * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set */ - function AbortMetadata(properties) { + function TaskExecutionEventResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26591,76 +27627,50 @@ } /** - * AbortMetadata cause. - * @member {string} cause - * @memberof flyteidl.admin.AbortMetadata - * @instance - */ - AbortMetadata.prototype.cause = ""; - - /** - * AbortMetadata principal. - * @member {string} principal - * @memberof flyteidl.admin.AbortMetadata - * @instance - */ - AbortMetadata.prototype.principal = ""; - - /** - * Creates a new AbortMetadata instance using the specified properties. + * Creates a new TaskExecutionEventResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.AbortMetadata + * @memberof flyteidl.admin.TaskExecutionEventResponse * @static - * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.AbortMetadata} AbortMetadata instance + * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionEventResponse} TaskExecutionEventResponse instance */ - AbortMetadata.create = function create(properties) { - return new AbortMetadata(properties); + TaskExecutionEventResponse.create = function create(properties) { + return new TaskExecutionEventResponse(properties); }; /** - * Encodes the specified AbortMetadata message. Does not implicitly {@link flyteidl.admin.AbortMetadata.verify|verify} messages. + * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.AbortMetadata + * @memberof flyteidl.admin.TaskExecutionEventResponse * @static - * @param {flyteidl.admin.IAbortMetadata} message AbortMetadata 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 */ - AbortMetadata.encode = function encode(message, writer) { + TaskExecutionEventResponse.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); return writer; }; /** - * Decodes an AbortMetadata message from the specified reader or buffer. + * Decodes a TaskExecutionEventResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.AbortMetadata + * @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.AbortMetadata} AbortMetadata + * @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 */ - AbortMetadata.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.AbortMetadata(); + 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: - message.cause = reader.string(); - break; - case 2: - message.principal = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -26670,60 +27680,44 @@ }; /** - * Verifies an AbortMetadata message. + * Verifies a TaskExecutionEventResponse message. * @function verify - * @memberof flyteidl.admin.AbortMetadata + * @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 */ - AbortMetadata.verify = function verify(message) { + TaskExecutionEventResponse.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"; return null; }; - return AbortMetadata; + return TaskExecutionEventResponse; })(); - admin.ExecutionClosure = (function() { + admin.ExecutionCreateRequest = (function() { /** - * Properties of an ExecutionClosure. + * Properties of an ExecutionCreateRequest. * @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 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 */ /** - * Constructs a new ExecutionClosure. + * Constructs a new ExecutionCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionClosure. - * @implements IExecutionClosure + * @classdesc Represents an ExecutionCreateRequest. + * @implements IExecutionCreateRequest * @constructor - * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set */ - function ExecutionClosure(properties) { - this.notifications = []; + function ExecutionCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26731,248 +27725,268 @@ } /** - * ExecutionClosure outputs. - * @member {flyteidl.admin.ILiteralMapBlob|null|undefined} outputs - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionCreateRequest project. + * @member {string} project + * @memberof flyteidl.admin.ExecutionCreateRequest * @instance */ - ExecutionClosure.prototype.outputs = null; + ExecutionCreateRequest.prototype.project = ""; /** - * ExecutionClosure error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionCreateRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ExecutionCreateRequest * @instance */ - ExecutionClosure.prototype.error = null; + ExecutionCreateRequest.prototype.domain = ""; /** - * ExecutionClosure abortCause. - * @member {string} abortCause - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionCreateRequest name. + * @member {string} name + * @memberof flyteidl.admin.ExecutionCreateRequest * @instance */ - ExecutionClosure.prototype.abortCause = ""; + ExecutionCreateRequest.prototype.name = ""; /** - * ExecutionClosure abortMetadata. - * @member {flyteidl.admin.IAbortMetadata|null|undefined} abortMetadata - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionCreateRequest spec. + * @member {flyteidl.admin.IExecutionSpec|null|undefined} spec + * @memberof flyteidl.admin.ExecutionCreateRequest * @instance */ - ExecutionClosure.prototype.abortMetadata = null; + ExecutionCreateRequest.prototype.spec = null; /** - * ExecutionClosure outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionCreateRequest inputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputs + * @memberof flyteidl.admin.ExecutionCreateRequest * @instance */ - ExecutionClosure.prototype.outputData = null; + ExecutionCreateRequest.prototype.inputs = null; /** - * ExecutionClosure computedInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} computedInputs - * @memberof flyteidl.admin.ExecutionClosure - * @instance + * Creates a new ExecutionCreateRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.ExecutionCreateRequest + * @static + * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionCreateRequest} ExecutionCreateRequest instance */ - ExecutionClosure.prototype.computedInputs = null; + ExecutionCreateRequest.create = function create(properties) { + return new ExecutionCreateRequest(properties); + }; /** - * ExecutionClosure phase. - * @member {flyteidl.core.WorkflowExecution.Phase} phase - * @memberof flyteidl.admin.ExecutionClosure - * @instance + * Encodes the specified ExecutionCreateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionCreateRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.ExecutionCreateRequest + * @static + * @param {flyteidl.admin.IExecutionCreateRequest} message ExecutionCreateRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - ExecutionClosure.prototype.phase = 0; + ExecutionCreateRequest.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(); + return writer; + }; /** - * ExecutionClosure startedAt. - * @member {google.protobuf.ITimestamp|null|undefined} startedAt - * @memberof flyteidl.admin.ExecutionClosure - * @instance + * Decodes an ExecutionCreateRequest message from the specified reader or buffer. + * @function decode + * @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.ExecutionCreateRequest} ExecutionCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionClosure.prototype.startedAt = null; + 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.ExecutionCreateRequest(); + 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; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * ExecutionClosure duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.admin.ExecutionClosure - * @instance + * Verifies an ExecutionCreateRequest message. + * @function verify + * @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 */ - ExecutionClosure.prototype.duration = null; + ExecutionCreateRequest.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 (error) + return "inputs." + error; + } + return null; + }; - /** - * ExecutionClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.ExecutionClosure - * @instance - */ - ExecutionClosure.prototype.createdAt = null; + return ExecutionCreateRequest; + })(); + + admin.ExecutionRelaunchRequest = (function() { /** - * ExecutionClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.ExecutionClosure - * @instance + * Properties of an ExecutionRelaunchRequest. + * @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 */ - ExecutionClosure.prototype.updatedAt = null; /** - * ExecutionClosure notifications. - * @member {Array.} notifications - * @memberof flyteidl.admin.ExecutionClosure - * @instance + * Constructs a new ExecutionRelaunchRequest. + * @memberof flyteidl.admin + * @classdesc Represents an ExecutionRelaunchRequest. + * @implements IExecutionRelaunchRequest + * @constructor + * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set */ - ExecutionClosure.prototype.notifications = $util.emptyArray; + function ExecutionRelaunchRequest(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]]; + } /** - * ExecutionClosure workflowId. - * @member {flyteidl.core.IIdentifier|null|undefined} workflowId - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionRelaunchRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @instance */ - ExecutionClosure.prototype.workflowId = null; + ExecutionRelaunchRequest.prototype.id = null; /** - * ExecutionClosure stateChangeDetails. - * @member {flyteidl.admin.IExecutionStateChangeDetails|null|undefined} stateChangeDetails - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionRelaunchRequest name. + * @member {string} name + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @instance */ - ExecutionClosure.prototype.stateChangeDetails = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + ExecutionRelaunchRequest.prototype.name = ""; /** - * ExecutionClosure outputResult. - * @member {"outputs"|"error"|"abortCause"|"abortMetadata"|"outputData"|undefined} outputResult - * @memberof flyteidl.admin.ExecutionClosure + * ExecutionRelaunchRequest overwriteCache. + * @member {boolean} overwriteCache + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @instance */ - Object.defineProperty(ExecutionClosure.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputs", "error", "abortCause", "abortMetadata", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + ExecutionRelaunchRequest.prototype.overwriteCache = false; /** - * Creates a new ExecutionClosure instance using the specified properties. + * Creates a new ExecutionRelaunchRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionClosure + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @static - * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionClosure} ExecutionClosure instance + * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionRelaunchRequest} ExecutionRelaunchRequest instance */ - ExecutionClosure.create = function create(properties) { - return new ExecutionClosure(properties); + ExecutionRelaunchRequest.create = function create(properties) { + return new ExecutionRelaunchRequest(properties); }; /** - * Encodes the specified ExecutionClosure message. Does not implicitly {@link flyteidl.admin.ExecutionClosure.verify|verify} messages. + * Encodes the specified ExecutionRelaunchRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRelaunchRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionClosure + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @static - * @param {flyteidl.admin.IExecutionClosure} message ExecutionClosure 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 */ - ExecutionClosure.encode = function encode(message, writer) { + ExecutionRelaunchRequest.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.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 an ExecutionClosure message from the specified reader or buffer. + * Decodes an ExecutionRelaunchRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionClosure + * @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.ExecutionClosure} ExecutionClosure + * @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 */ - ExecutionClosure.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.ExecutionClosure(); + 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: - 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()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 3: - message.computedInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.name = reader.string(); 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()); + message.overwriteCache = reader.bool(); break; default: reader.skipType(tag & 7); @@ -26983,147 +27997,53 @@ }; /** - * Verifies an ExecutionClosure message. + * Verifies an ExecutionRelaunchRequest message. * @function verify - * @memberof flyteidl.admin.ExecutionClosure + * @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 */ - ExecutionClosure.verify = function verify(message) { + ExecutionRelaunchRequest.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: - case 3: - 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; + 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 ExecutionClosure; + return ExecutionRelaunchRequest; })(); - admin.SystemMetadata = (function() { + admin.ExecutionRecoverRequest = (function() { /** - * Properties of a SystemMetadata. + * Properties of an ExecutionRecoverRequest. * @memberof flyteidl.admin - * @interface ISystemMetadata - * @property {string|null} [executionCluster] SystemMetadata executionCluster - * @property {string|null} [namespace] SystemMetadata namespace + * @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 SystemMetadata. + * Constructs a new ExecutionRecoverRequest. * @memberof flyteidl.admin - * @classdesc Represents a SystemMetadata. - * @implements ISystemMetadata + * @classdesc Represents an ExecutionRecoverRequest. + * @implements IExecutionRecoverRequest * @constructor - * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set */ - function SystemMetadata(properties) { + function ExecutionRecoverRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27131,75 +28051,88 @@ } /** - * SystemMetadata executionCluster. - * @member {string} executionCluster - * @memberof flyteidl.admin.SystemMetadata + * ExecutionRecoverRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionRecoverRequest * @instance */ - SystemMetadata.prototype.executionCluster = ""; + ExecutionRecoverRequest.prototype.id = null; /** - * SystemMetadata namespace. - * @member {string} namespace - * @memberof flyteidl.admin.SystemMetadata + * ExecutionRecoverRequest name. + * @member {string} name + * @memberof flyteidl.admin.ExecutionRecoverRequest * @instance */ - SystemMetadata.prototype.namespace = ""; + ExecutionRecoverRequest.prototype.name = ""; /** - * Creates a new SystemMetadata instance using the specified properties. + * ExecutionRecoverRequest metadata. + * @member {flyteidl.admin.IExecutionMetadata|null|undefined} metadata + * @memberof flyteidl.admin.ExecutionRecoverRequest + * @instance + */ + ExecutionRecoverRequest.prototype.metadata = null; + + /** + * Creates a new ExecutionRecoverRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.SystemMetadata + * @memberof flyteidl.admin.ExecutionRecoverRequest * @static - * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.SystemMetadata} SystemMetadata instance + * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionRecoverRequest} ExecutionRecoverRequest instance */ - SystemMetadata.create = function create(properties) { - return new SystemMetadata(properties); + ExecutionRecoverRequest.create = function create(properties) { + return new ExecutionRecoverRequest(properties); }; /** - * Encodes the specified SystemMetadata message. Does not implicitly {@link flyteidl.admin.SystemMetadata.verify|verify} messages. + * Encodes the specified ExecutionRecoverRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRecoverRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SystemMetadata + * @memberof flyteidl.admin.ExecutionRecoverRequest * @static - * @param {flyteidl.admin.ISystemMetadata} message SystemMetadata 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 */ - SystemMetadata.encode = function encode(message, writer) { + ExecutionRecoverRequest.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.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 SystemMetadata message from the specified reader or buffer. + * Decodes an ExecutionRecoverRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SystemMetadata + * @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.SystemMetadata} SystemMetadata + * @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 */ - SystemMetadata.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.SystemMetadata(); + 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: - message.executionCluster = reader.string(); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.namespace = reader.string(); + message.name = reader.string(); + break; + case 3: + message.metadata = $root.flyteidl.admin.ExecutionMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -27210,52 +28143,53 @@ }; /** - * Verifies a SystemMetadata message. + * Verifies an ExecutionRecoverRequest message. * @function verify - * @memberof flyteidl.admin.SystemMetadata + * @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 */ - SystemMetadata.verify = function verify(message) { + ExecutionRecoverRequest.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.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.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.ExecutionMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } return null; }; - return SystemMetadata; + return ExecutionRecoverRequest; })(); - admin.ExecutionMetadata = (function() { + admin.ExecutionCreateResponse = (function() { /** - * Properties of an ExecutionMetadata. + * Properties of an ExecutionCreateResponse. * @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 + * @interface IExecutionCreateResponse + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionCreateResponse id */ /** - * Constructs a new ExecutionMetadata. + * Constructs a new ExecutionCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionMetadata. - * @implements IExecutionMetadata + * @classdesc Represents an ExecutionCreateResponse. + * @implements IExecutionCreateResponse * @constructor - * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set */ - function ExecutionMetadata(properties) { + function ExecutionCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27263,140 +28197,62 @@ } /** - * 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 + * ExecutionCreateResponse id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionCreateResponse * @instance */ - ExecutionMetadata.prototype.systemMetadata = null; + ExecutionCreateResponse.prototype.id = null; /** - * Creates a new ExecutionMetadata instance using the specified properties. + * Creates a new ExecutionCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionMetadata + * @memberof flyteidl.admin.ExecutionCreateResponse * @static - * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionMetadata} ExecutionMetadata instance + * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionCreateResponse} ExecutionCreateResponse instance */ - ExecutionMetadata.create = function create(properties) { - return new ExecutionMetadata(properties); + ExecutionCreateResponse.create = function create(properties) { + return new ExecutionCreateResponse(properties); }; /** - * Encodes the specified ExecutionMetadata message. Does not implicitly {@link flyteidl.admin.ExecutionMetadata.verify|verify} messages. + * Encodes the specified ExecutionCreateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionMetadata + * @memberof flyteidl.admin.ExecutionCreateResponse * @static - * @param {flyteidl.admin.IExecutionMetadata} message ExecutionMetadata 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 */ - ExecutionMetadata.encode = function encode(message, writer) { + ExecutionCreateResponse.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.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 ExecutionMetadata message from the specified reader or buffer. + * Decodes an ExecutionCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionMetadata + * @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.ExecutionMetadata} ExecutionMetadata + * @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 */ - ExecutionMetadata.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.ExecutionMetadata(); + 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.mode = 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()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -27407,101 +28263,45 @@ }; /** - * Verifies an ExecutionMetadata message. + * Verifies an ExecutionCreateResponse message. * @function verify - * @memberof flyteidl.admin.ExecutionMetadata + * @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 */ - ExecutionMetadata.verify = function verify(message) { + ExecutionCreateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { - default: - return "mode: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - 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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); if (error) - return "systemMetadata." + error; + return "id." + error; } 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 - */ - 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; - return values; - })(); - - return ExecutionMetadata; + return ExecutionCreateResponse; })(); - admin.NotificationList = (function() { + admin.WorkflowExecutionGetRequest = (function() { /** - * Properties of a NotificationList. + * Properties of a WorkflowExecutionGetRequest. * @memberof flyteidl.admin - * @interface INotificationList - * @property {Array.|null} [notifications] NotificationList notifications + * @interface IWorkflowExecutionGetRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetRequest id */ /** - * Constructs a new NotificationList. + * Constructs a new WorkflowExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a NotificationList. - * @implements INotificationList + * @classdesc Represents a WorkflowExecutionGetRequest. + * @implements IWorkflowExecutionGetRequest * @constructor - * @param {flyteidl.admin.INotificationList=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set */ - function NotificationList(properties) { - this.notifications = []; + function WorkflowExecutionGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27509,65 +28309,62 @@ } /** - * NotificationList notifications. - * @member {Array.} notifications - * @memberof flyteidl.admin.NotificationList + * WorkflowExecutionGetRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @instance */ - NotificationList.prototype.notifications = $util.emptyArray; + WorkflowExecutionGetRequest.prototype.id = null; /** - * Creates a new NotificationList instance using the specified properties. + * Creates a new WorkflowExecutionGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NotificationList + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @static - * @param {flyteidl.admin.INotificationList=} [properties] Properties to set - * @returns {flyteidl.admin.NotificationList} NotificationList instance + * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetRequest} WorkflowExecutionGetRequest instance */ - NotificationList.create = function create(properties) { - return new NotificationList(properties); + WorkflowExecutionGetRequest.create = function create(properties) { + return new WorkflowExecutionGetRequest(properties); }; /** - * Encodes the specified NotificationList message. Does not implicitly {@link flyteidl.admin.NotificationList.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NotificationList + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @static - * @param {flyteidl.admin.INotificationList} message NotificationList 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 */ - NotificationList.encode = function encode(message, writer) { + WorkflowExecutionGetRequest.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.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 NotificationList message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NotificationList + * @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.NotificationList} NotificationList + * @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 */ - NotificationList.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.NotificationList(); + 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: - if (!(message.notifications && message.notifications.length)) - message.notifications = []; - message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -27578,66 +28375,47 @@ }; /** - * Verifies a NotificationList message. + * Verifies a WorkflowExecutionGetRequest message. * @function verify - * @memberof flyteidl.admin.NotificationList + * @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 */ - NotificationList.verify = function verify(message) { + WorkflowExecutionGetRequest.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 (error) - return "notifications." + error; - } - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } return null; }; - return NotificationList; + return WorkflowExecutionGetRequest; })(); - admin.ExecutionSpec = (function() { + admin.Execution = (function() { /** - * Properties of an ExecutionSpec. + * Properties of an Execution. * @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 + * @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 ExecutionSpec. + * Constructs a new Execution. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionSpec. - * @implements IExecutionSpec + * @classdesc Represents an Execution. + * @implements IExecution * @constructor - * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set + * @param {flyteidl.admin.IExecution=} [properties] Properties to set */ - function ExecutionSpec(properties) { - this.tags = []; + function Execution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27645,287 +28423,88 @@ } /** - * 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 - * @instance - */ - ExecutionSpec.prototype.maxParallelism = 0; - - /** - * ExecutionSpec rawOutputDataConfig. - * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.rawOutputDataConfig = null; - - /** - * ExecutionSpec clusterAssignment. - * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.clusterAssignment = null; - - /** - * ExecutionSpec interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.interruptible = null; - - /** - * ExecutionSpec overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.overwriteCache = false; - - /** - * ExecutionSpec envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.ExecutionSpec + * Execution id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.Execution * @instance */ - ExecutionSpec.prototype.envs = null; + Execution.prototype.id = null; /** - * ExecutionSpec tags. - * @member {Array.} tags - * @memberof flyteidl.admin.ExecutionSpec + * Execution spec. + * @member {flyteidl.admin.IExecutionSpec|null|undefined} spec + * @memberof flyteidl.admin.Execution * @instance */ - ExecutionSpec.prototype.tags = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + Execution.prototype.spec = null; /** - * ExecutionSpec notificationOverrides. - * @member {"notifications"|"disableAll"|undefined} notificationOverrides - * @memberof flyteidl.admin.ExecutionSpec + * Execution closure. + * @member {flyteidl.admin.IExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.Execution * @instance */ - Object.defineProperty(ExecutionSpec.prototype, "notificationOverrides", { - get: $util.oneOfGetter($oneOfFields = ["notifications", "disableAll"]), - set: $util.oneOfSetter($oneOfFields) - }); + Execution.prototype.closure = null; /** - * Creates a new ExecutionSpec instance using the specified properties. + * Creates a new Execution instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionSpec + * @memberof flyteidl.admin.Execution * @static - * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionSpec} ExecutionSpec instance + * @param {flyteidl.admin.IExecution=} [properties] Properties to set + * @returns {flyteidl.admin.Execution} Execution instance */ - ExecutionSpec.create = function create(properties) { - return new ExecutionSpec(properties); + Execution.create = function create(properties) { + return new Execution(properties); }; /** - * Encodes the specified ExecutionSpec message. Does not implicitly {@link flyteidl.admin.ExecutionSpec.verify|verify} messages. + * Encodes the specified Execution message. Does not implicitly {@link flyteidl.admin.Execution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionSpec + * @memberof flyteidl.admin.Execution * @static - * @param {flyteidl.admin.IExecutionSpec} message ExecutionSpec 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 */ - ExecutionSpec.encode = function encode(message, writer) { + Execution.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.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 ExecutionSpec message from the specified reader or buffer. + * Decodes an Execution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionSpec + * @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.ExecutionSpec} ExecutionSpec + * @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 */ - ExecutionSpec.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.ExecutionSpec(); + 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: - message.launchPlan = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.spec = $root.flyteidl.admin.ExecutionSpec.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()); + message.closure = $root.flyteidl.admin.ExecutionClosure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -27936,130 +28515,57 @@ }; /** - * Verifies an ExecutionSpec message. + * Verifies an Execution message. * @function verify - * @memberof flyteidl.admin.ExecutionSpec + * @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 */ - ExecutionSpec.verify = function verify(message) { + Execution.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); if (error) - return "clusterAssignment." + error; + return "id." + error; } - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - var error = $root.google.protobuf.BoolValue.verify(message.interruptible); + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.ExecutionSpec.verify(message.spec); if (error) - return "interruptible." + error; + return "spec." + 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.closure != null && message.hasOwnProperty("closure")) { + var error = $root.flyteidl.admin.ExecutionClosure.verify(message.closure); 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"; + return "closure." + error; } return null; }; - return ExecutionSpec; + return Execution; })(); - admin.ExecutionTerminateRequest = (function() { + admin.ExecutionList = (function() { /** - * Properties of an ExecutionTerminateRequest. + * Properties of an ExecutionList. * @memberof flyteidl.admin - * @interface IExecutionTerminateRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionTerminateRequest id - * @property {string|null} [cause] ExecutionTerminateRequest cause + * @interface IExecutionList + * @property {Array.|null} [executions] ExecutionList executions + * @property {string|null} [token] ExecutionList token */ /** - * Constructs a new ExecutionTerminateRequest. + * Constructs a new ExecutionList. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionTerminateRequest. - * @implements IExecutionTerminateRequest + * @classdesc Represents an ExecutionList. + * @implements IExecutionList * @constructor - * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set */ - function ExecutionTerminateRequest(properties) { + function ExecutionList(properties) { + this.executions = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28067,75 +28573,78 @@ } /** - * ExecutionTerminateRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionTerminateRequest + * ExecutionList executions. + * @member {Array.} executions + * @memberof flyteidl.admin.ExecutionList * @instance */ - ExecutionTerminateRequest.prototype.id = null; + ExecutionList.prototype.executions = $util.emptyArray; /** - * ExecutionTerminateRequest cause. - * @member {string} cause - * @memberof flyteidl.admin.ExecutionTerminateRequest + * ExecutionList token. + * @member {string} token + * @memberof flyteidl.admin.ExecutionList * @instance */ - ExecutionTerminateRequest.prototype.cause = ""; + ExecutionList.prototype.token = ""; /** - * Creates a new ExecutionTerminateRequest instance using the specified properties. + * Creates a new ExecutionList instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @memberof flyteidl.admin.ExecutionList * @static - * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionTerminateRequest} ExecutionTerminateRequest instance + * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionList} ExecutionList instance */ - ExecutionTerminateRequest.create = function create(properties) { - return new ExecutionTerminateRequest(properties); + ExecutionList.create = function create(properties) { + return new ExecutionList(properties); }; /** - * Encodes the specified ExecutionTerminateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateRequest.verify|verify} messages. + * Encodes the specified ExecutionList message. Does not implicitly {@link flyteidl.admin.ExecutionList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @memberof flyteidl.admin.ExecutionList * @static - * @param {flyteidl.admin.IExecutionTerminateRequest} message ExecutionTerminateRequest 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 */ - ExecutionTerminateRequest.encode = function encode(message, writer) { + ExecutionList.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); + 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 ExecutionTerminateRequest message from the specified reader or buffer. + * Decodes an ExecutionList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @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.ExecutionTerminateRequest} ExecutionTerminateRequest + * @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 */ - ExecutionTerminateRequest.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.ExecutionTerminateRequest(); + 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: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.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.cause = reader.string(); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -28146,47 +28655,53 @@ }; /** - * Verifies an ExecutionTerminateRequest message. + * Verifies an ExecutionList message. * @function verify - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @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 */ - ExecutionTerminateRequest.verify = function verify(message) { + ExecutionList.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.cause != null && message.hasOwnProperty("cause")) - if (!$util.isString(message.cause)) - return "cause: string expected"; - return null; + 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.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + return null; }; - return ExecutionTerminateRequest; + return ExecutionList; })(); - admin.ExecutionTerminateResponse = (function() { + admin.LiteralMapBlob = (function() { /** - * Properties of an ExecutionTerminateResponse. + * Properties of a LiteralMapBlob. * @memberof flyteidl.admin - * @interface IExecutionTerminateResponse + * @interface ILiteralMapBlob + * @property {flyteidl.core.ILiteralMap|null} [values] LiteralMapBlob values + * @property {string|null} [uri] LiteralMapBlob uri */ /** - * Constructs a new ExecutionTerminateResponse. + * Constructs a new LiteralMapBlob. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionTerminateResponse. - * @implements IExecutionTerminateResponse + * @classdesc Represents a LiteralMapBlob. + * @implements ILiteralMapBlob * @constructor - * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set */ - function ExecutionTerminateResponse(properties) { + function LiteralMapBlob(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28194,50 +28709,90 @@ } /** - * Creates a new ExecutionTerminateResponse instance using the specified properties. + * 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 + */ + LiteralMapBlob.prototype.uri = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * LiteralMapBlob data. + * @member {"values"|"uri"|undefined} data + * @memberof flyteidl.admin.LiteralMapBlob + * @instance + */ + Object.defineProperty(LiteralMapBlob.prototype, "data", { + get: $util.oneOfGetter($oneOfFields = ["values", "uri"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new LiteralMapBlob instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @memberof flyteidl.admin.LiteralMapBlob * @static - * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionTerminateResponse} ExecutionTerminateResponse instance + * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set + * @returns {flyteidl.admin.LiteralMapBlob} LiteralMapBlob instance */ - ExecutionTerminateResponse.create = function create(properties) { - return new ExecutionTerminateResponse(properties); + LiteralMapBlob.create = function create(properties) { + return new LiteralMapBlob(properties); }; /** - * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. + * Encodes the specified LiteralMapBlob message. Does not implicitly {@link flyteidl.admin.LiteralMapBlob.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @memberof flyteidl.admin.LiteralMapBlob * @static - * @param {flyteidl.admin.IExecutionTerminateResponse} message ExecutionTerminateResponse 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 */ - ExecutionTerminateResponse.encode = function encode(message, writer) { + LiteralMapBlob.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); return writer; }; /** - * Decodes an ExecutionTerminateResponse message from the specified reader or buffer. + * Decodes a LiteralMapBlob message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @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.ExecutionTerminateResponse} ExecutionTerminateResponse + * @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 */ - ExecutionTerminateResponse.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.ExecutionTerminateResponse(); + 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.values = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 2: + message.uri = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -28247,40 +28802,57 @@ }; /** - * Verifies an ExecutionTerminateResponse message. + * Verifies a LiteralMapBlob message. * @function verify - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @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 */ - ExecutionTerminateResponse.verify = function verify(message) { + LiteralMapBlob.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 (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 ExecutionTerminateResponse; + return LiteralMapBlob; })(); - admin.WorkflowExecutionGetDataRequest = (function() { + admin.AbortMetadata = (function() { /** - * Properties of a WorkflowExecutionGetDataRequest. + * Properties of an AbortMetadata. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetDataRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetDataRequest id + * @interface IAbortMetadata + * @property {string|null} [cause] AbortMetadata cause + * @property {string|null} [principal] AbortMetadata principal */ /** - * Constructs a new WorkflowExecutionGetDataRequest. + * Constructs a new AbortMetadata. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetDataRequest. - * @implements IWorkflowExecutionGetDataRequest + * @classdesc Represents an AbortMetadata. + * @implements IAbortMetadata * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set */ - function WorkflowExecutionGetDataRequest(properties) { + function AbortMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28288,62 +28860,75 @@ } /** - * WorkflowExecutionGetDataRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * AbortMetadata cause. + * @member {string} cause + * @memberof flyteidl.admin.AbortMetadata * @instance */ - WorkflowExecutionGetDataRequest.prototype.id = null; + AbortMetadata.prototype.cause = ""; /** - * Creates a new WorkflowExecutionGetDataRequest 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.WorkflowExecutionGetDataRequest + * @memberof flyteidl.admin.AbortMetadata * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetDataRequest} WorkflowExecutionGetDataRequest instance + * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.AbortMetadata} AbortMetadata instance */ - WorkflowExecutionGetDataRequest.create = function create(properties) { - return new WorkflowExecutionGetDataRequest(properties); + AbortMetadata.create = function create(properties) { + return new AbortMetadata(properties); }; /** - * Encodes the specified WorkflowExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified AbortMetadata message. Does not implicitly {@link flyteidl.admin.AbortMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @memberof flyteidl.admin.AbortMetadata * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest} message WorkflowExecutionGetDataRequest 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 */ - WorkflowExecutionGetDataRequest.encode = function encode(message, writer) { + AbortMetadata.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 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 WorkflowExecutionGetDataRequest message from the specified reader or buffer. + * Decodes an AbortMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @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.WorkflowExecutionGetDataRequest} WorkflowExecutionGetDataRequest + * @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 */ - WorkflowExecutionGetDataRequest.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.WorkflowExecutionGetDataRequest(); + 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.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.cause = reader.string(); + break; + case 2: + message.principal = reader.string(); break; default: reader.skipType(tag & 7); @@ -28354,48 +28939,60 @@ }; /** - * Verifies a WorkflowExecutionGetDataRequest message. + * Verifies an AbortMetadata message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @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 */ - WorkflowExecutionGetDataRequest.verify = function verify(message) { + AbortMetadata.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.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 WorkflowExecutionGetDataRequest; + return AbortMetadata; })(); - admin.WorkflowExecutionGetDataResponse = (function() { + admin.ExecutionClosure = (function() { /** - * Properties of a WorkflowExecutionGetDataResponse. + * Properties of an ExecutionClosure. * @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 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 WorkflowExecutionGetDataResponse. + * Constructs a new ExecutionClosure. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetDataResponse. - * @implements IWorkflowExecutionGetDataResponse + * @classdesc Represents an ExecutionClosure. + * @implements IExecutionClosure * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set */ - function WorkflowExecutionGetDataResponse(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) @@ -28403,101 +29000,248 @@ } /** - * WorkflowExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * ExecutionClosure outputs. + * @member {flyteidl.admin.ILiteralMapBlob|null|undefined} outputs + * @memberof flyteidl.admin.ExecutionClosure * @instance */ - WorkflowExecutionGetDataResponse.prototype.outputs = null; + ExecutionClosure.prototype.outputs = null; /** - * WorkflowExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * ExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.ExecutionClosure * @instance */ - WorkflowExecutionGetDataResponse.prototype.inputs = null; + ExecutionClosure.prototype.error = null; /** - * WorkflowExecutionGetDataResponse fullInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * ExecutionClosure abortCause. + * @member {string} abortCause + * @memberof flyteidl.admin.ExecutionClosure * @instance */ - WorkflowExecutionGetDataResponse.prototype.fullInputs = null; + ExecutionClosure.prototype.abortCause = ""; /** - * WorkflowExecutionGetDataResponse fullOutputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * ExecutionClosure abortMetadata. + * @member {flyteidl.admin.IAbortMetadata|null|undefined} abortMetadata + * @memberof flyteidl.admin.ExecutionClosure * @instance */ - WorkflowExecutionGetDataResponse.prototype.fullOutputs = null; + ExecutionClosure.prototype.abortMetadata = null; /** - * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. + * 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.WorkflowExecutionGetDataResponse + * @memberof flyteidl.admin.ExecutionClosure * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetDataResponse} WorkflowExecutionGetDataResponse instance + * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionClosure} ExecutionClosure instance */ - WorkflowExecutionGetDataResponse.create = function create(properties) { - return new WorkflowExecutionGetDataResponse(properties); + ExecutionClosure.create = function create(properties) { + return new ExecutionClosure(properties); }; /** - * Encodes the specified WorkflowExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataResponse.verify|verify} messages. + * Encodes the specified ExecutionClosure message. Does not implicitly {@link flyteidl.admin.ExecutionClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * @memberof flyteidl.admin.ExecutionClosure * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse} message WorkflowExecutionGetDataResponse 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 */ - WorkflowExecutionGetDataResponse.encode = function encode(message, writer) { + ExecutionClosure.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(); + $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 WorkflowExecutionGetDataResponse message from the specified reader or buffer. + * Decodes an ExecutionClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * @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.WorkflowExecutionGetDataResponse} WorkflowExecutionGetDataResponse + * @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 */ - WorkflowExecutionGetDataResponse.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.WorkflowExecutionGetDataResponse(); + 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.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.outputs = $root.flyteidl.admin.LiteralMapBlob.decode(reader, reader.uint32()); break; case 2: - message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + 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.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.computedInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 4: - message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + 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); @@ -28508,75 +29252,147 @@ }; /** - * Verifies a WorkflowExecutionGetDataResponse message. + * Verifies an ExecutionClosure message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * @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 */ - WorkflowExecutionGetDataResponse.verify = function verify(message) { + ExecutionClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + var properties = {}; 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; + properties.outputResult = 1; + { + var error = $root.flyteidl.admin.LiteralMapBlob.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.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.fullOutputs != null && message.hasOwnProperty("fullOutputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fullOutputs); + 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 "fullOutputs." + 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.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 null; }; - return WorkflowExecutionGetDataResponse; - })(); - - /** - * 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; + return ExecutionClosure; })(); - admin.ExecutionUpdateRequest = (function() { + admin.SystemMetadata = (function() { /** - * Properties of an ExecutionUpdateRequest. + * Properties of a SystemMetadata. * @memberof flyteidl.admin - * @interface IExecutionUpdateRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionUpdateRequest id - * @property {flyteidl.admin.ExecutionState|null} [state] ExecutionUpdateRequest state + * @interface ISystemMetadata + * @property {string|null} [executionCluster] SystemMetadata executionCluster + * @property {string|null} [namespace] SystemMetadata namespace */ /** - * Constructs a new ExecutionUpdateRequest. + * Constructs a new SystemMetadata. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionUpdateRequest. - * @implements IExecutionUpdateRequest + * @classdesc Represents a SystemMetadata. + * @implements ISystemMetadata * @constructor - * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set */ - function ExecutionUpdateRequest(properties) { + function SystemMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28584,75 +29400,75 @@ } /** - * ExecutionUpdateRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionUpdateRequest + * SystemMetadata executionCluster. + * @member {string} executionCluster + * @memberof flyteidl.admin.SystemMetadata * @instance */ - ExecutionUpdateRequest.prototype.id = null; + SystemMetadata.prototype.executionCluster = ""; /** - * ExecutionUpdateRequest state. - * @member {flyteidl.admin.ExecutionState} state - * @memberof flyteidl.admin.ExecutionUpdateRequest + * SystemMetadata namespace. + * @member {string} namespace + * @memberof flyteidl.admin.SystemMetadata * @instance */ - ExecutionUpdateRequest.prototype.state = 0; + SystemMetadata.prototype.namespace = ""; /** - * Creates a new ExecutionUpdateRequest instance using the specified properties. + * Creates a new SystemMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @memberof flyteidl.admin.SystemMetadata * @static - * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionUpdateRequest} ExecutionUpdateRequest instance + * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.SystemMetadata} SystemMetadata instance */ - ExecutionUpdateRequest.create = function create(properties) { - return new ExecutionUpdateRequest(properties); + SystemMetadata.create = function create(properties) { + return new SystemMetadata(properties); }; /** - * Encodes the specified ExecutionUpdateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateRequest.verify|verify} messages. + * Encodes the specified SystemMetadata message. Does not implicitly {@link flyteidl.admin.SystemMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @memberof flyteidl.admin.SystemMetadata * @static - * @param {flyteidl.admin.IExecutionUpdateRequest} message ExecutionUpdateRequest 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 */ - ExecutionUpdateRequest.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.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.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 an ExecutionUpdateRequest message from the specified reader or buffer. + * Decodes a SystemMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @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.ExecutionUpdateRequest} ExecutionUpdateRequest + * @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 */ - ExecutionUpdateRequest.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.ExecutionUpdateRequest(); + 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.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.executionCluster = reader.string(); break; case 2: - message.state = reader.int32(); + message.namespace = reader.string(); break; default: reader.skipType(tag & 7); @@ -28663,55 +29479,54 @@ }; /** - * Verifies an ExecutionUpdateRequest message. + * Verifies a SystemMetadata message. * @function verify - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @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 */ - ExecutionUpdateRequest.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.WorkflowExecutionIdentifier.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; - } + 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 ExecutionUpdateRequest; + return SystemMetadata; })(); - admin.ExecutionStateChangeDetails = (function() { + admin.ExecutionMetadata = (function() { /** - * Properties of an ExecutionStateChangeDetails. + * Properties of an ExecutionMetadata. * @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 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 ExecutionStateChangeDetails. + * Constructs a new ExecutionMetadata. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionStateChangeDetails. - * @implements IExecutionStateChangeDetails + * @classdesc Represents an ExecutionMetadata. + * @implements IExecutionMetadata * @constructor - * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set */ - function ExecutionStateChangeDetails(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) @@ -28719,88 +29534,156 @@ } /** - * ExecutionStateChangeDetails state. - * @member {flyteidl.admin.ExecutionState} state - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * ExecutionMetadata mode. + * @member {flyteidl.admin.ExecutionMetadata.ExecutionMode} mode + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - ExecutionStateChangeDetails.prototype.state = 0; + ExecutionMetadata.prototype.mode = 0; /** - * ExecutionStateChangeDetails occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * ExecutionMetadata principal. + * @member {string} principal + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - ExecutionStateChangeDetails.prototype.occurredAt = null; + ExecutionMetadata.prototype.principal = ""; /** - * ExecutionStateChangeDetails principal. - * @member {string} principal - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * ExecutionMetadata nesting. + * @member {number} nesting + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - ExecutionStateChangeDetails.prototype.principal = ""; + ExecutionMetadata.prototype.nesting = 0; /** - * Creates a new ExecutionStateChangeDetails instance using the specified properties. + * 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 + * @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.ExecutionStateChangeDetails + * @memberof flyteidl.admin.ExecutionMetadata * @static - * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionStateChangeDetails} ExecutionStateChangeDetails instance + * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionMetadata} ExecutionMetadata instance */ - ExecutionStateChangeDetails.create = function create(properties) { - return new ExecutionStateChangeDetails(properties); + ExecutionMetadata.create = function create(properties) { + return new ExecutionMetadata(properties); }; /** - * Encodes the specified ExecutionStateChangeDetails message. Does not implicitly {@link flyteidl.admin.ExecutionStateChangeDetails.verify|verify} messages. + * Encodes the specified ExecutionMetadata message. Does not implicitly {@link flyteidl.admin.ExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @memberof flyteidl.admin.ExecutionMetadata * @static - * @param {flyteidl.admin.IExecutionStateChangeDetails} message ExecutionStateChangeDetails 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 */ - ExecutionStateChangeDetails.encode = function encode(message, writer) { + ExecutionMetadata.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.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 3, wireType 2 =*/26).string(message.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 an ExecutionStateChangeDetails message from the specified reader or buffer. + * Decodes an ExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @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.ExecutionStateChangeDetails} ExecutionStateChangeDetails + * @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 */ - ExecutionStateChangeDetails.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.ExecutionStateChangeDetails(); + 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.state = reader.int32(); + message.mode = reader.int32(); break; case 2: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.principal = reader.string(); break; case 3: - message.principal = reader.string(); + 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())); break; default: reader.skipType(tag & 7); @@ -28811,55 +29694,110 @@ }; /** - * Verifies an ExecutionStateChangeDetails message. + * Verifies an ExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @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 */ - ExecutionStateChangeDetails.verify = function verify(message) { + ExecutionMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { + if (message.mode != null && message.hasOwnProperty("mode")) + switch (message.mode) { default: - return "state: enum value expected"; + return "mode: enum value expected"; case 0: case 1: + case 2: + case 3: + case 4: + case 5: 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"; + 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 ExecutionStateChangeDetails; + /** + * 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 + */ + 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; + return values; + })(); + + return ExecutionMetadata; })(); - admin.ExecutionUpdateResponse = (function() { + admin.NotificationList = (function() { /** - * Properties of an ExecutionUpdateResponse. + * Properties of a NotificationList. * @memberof flyteidl.admin - * @interface IExecutionUpdateResponse + * @interface INotificationList + * @property {Array.|null} [notifications] NotificationList notifications */ /** - * Constructs a new ExecutionUpdateResponse. + * Constructs a new NotificationList. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionUpdateResponse. - * @implements IExecutionUpdateResponse + * @classdesc Represents a NotificationList. + * @implements INotificationList * @constructor - * @param {flyteidl.admin.IExecutionUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.INotificationList=} [properties] Properties to set */ - function ExecutionUpdateResponse(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) @@ -28867,50 +29805,66 @@ } /** - * Creates a new ExecutionUpdateResponse instance using the specified properties. + * NotificationList notifications. + * @member {Array.} notifications + * @memberof flyteidl.admin.NotificationList + * @instance + */ + NotificationList.prototype.notifications = $util.emptyArray; + + /** + * Creates a new NotificationList instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionUpdateResponse + * @memberof flyteidl.admin.NotificationList * @static - * @param {flyteidl.admin.IExecutionUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionUpdateResponse} ExecutionUpdateResponse instance + * @param {flyteidl.admin.INotificationList=} [properties] Properties to set + * @returns {flyteidl.admin.NotificationList} NotificationList instance */ - ExecutionUpdateResponse.create = function create(properties) { - return new ExecutionUpdateResponse(properties); + NotificationList.create = function create(properties) { + return new NotificationList(properties); }; /** - * Encodes the specified ExecutionUpdateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateResponse.verify|verify} messages. + * Encodes the specified NotificationList message. Does not implicitly {@link flyteidl.admin.NotificationList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionUpdateResponse + * @memberof flyteidl.admin.NotificationList * @static - * @param {flyteidl.admin.IExecutionUpdateResponse} message ExecutionUpdateResponse 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 */ - ExecutionUpdateResponse.encode = function encode(message, writer) { + NotificationList.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(); return writer; }; /** - * Decodes an ExecutionUpdateResponse message from the specified reader or buffer. + * Decodes a NotificationList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionUpdateResponse + * @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.ExecutionUpdateResponse} ExecutionUpdateResponse + * @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 */ - ExecutionUpdateResponse.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.ExecutionUpdateResponse(); + 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: + 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); break; @@ -28920,41 +29874,66 @@ }; /** - * Verifies an ExecutionUpdateResponse message. + * Verifies a NotificationList message. * @function verify - * @memberof flyteidl.admin.ExecutionUpdateResponse + * @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 */ - ExecutionUpdateResponse.verify = function verify(message) { + NotificationList.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 (error) + return "notifications." + error; + } + } return null; }; - return ExecutionUpdateResponse; + return NotificationList; })(); - admin.WorkflowExecutionGetMetricsRequest = (function() { + admin.ExecutionSpec = (function() { /** - * Properties of a WorkflowExecutionGetMetricsRequest. + * Properties of an ExecutionSpec. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetMetricsRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetMetricsRequest id - * @property {number|null} [depth] WorkflowExecutionGetMetricsRequest depth + * @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 */ /** - * Constructs a new WorkflowExecutionGetMetricsRequest. + * Constructs a new ExecutionSpec. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetMetricsRequest. - * @implements IWorkflowExecutionGetMetricsRequest + * @classdesc Represents an ExecutionSpec. + * @implements IExecutionSpec * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set */ - function WorkflowExecutionGetMetricsRequest(properties) { + function ExecutionSpec(properties) { + this.tags = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28962,75 +29941,287 @@ } /** - * WorkflowExecutionGetMetricsRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * ExecutionSpec launchPlan. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlan + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - WorkflowExecutionGetMetricsRequest.prototype.id = null; + ExecutionSpec.prototype.launchPlan = null; /** - * WorkflowExecutionGetMetricsRequest depth. - * @member {number} depth - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * ExecutionSpec inputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputs + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - WorkflowExecutionGetMetricsRequest.prototype.depth = 0; + ExecutionSpec.prototype.inputs = null; /** - * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. + * 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 + * @instance + */ + ExecutionSpec.prototype.maxParallelism = 0; + + /** + * ExecutionSpec rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.rawOutputDataConfig = null; + + /** + * ExecutionSpec clusterAssignment. + * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.clusterAssignment = null; + + /** + * ExecutionSpec interruptible. + * @member {google.protobuf.IBoolValue|null|undefined} interruptible + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.interruptible = null; + + /** + * ExecutionSpec overwriteCache. + * @member {boolean} overwriteCache + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.overwriteCache = false; + + /** + * ExecutionSpec envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.envs = null; + + /** + * ExecutionSpec tags. + * @member {Array.} tags + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.tags = $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 + */ + Object.defineProperty(ExecutionSpec.prototype, "notificationOverrides", { + get: $util.oneOfGetter($oneOfFields = ["notifications", "disableAll"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ExecutionSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @memberof flyteidl.admin.ExecutionSpec * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest instance + * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionSpec} ExecutionSpec instance */ - WorkflowExecutionGetMetricsRequest.create = function create(properties) { - return new WorkflowExecutionGetMetricsRequest(properties); + ExecutionSpec.create = function create(properties) { + return new ExecutionSpec(properties); }; /** - * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. + * Encodes the specified ExecutionSpec message. Does not implicitly {@link flyteidl.admin.ExecutionSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @memberof flyteidl.admin.ExecutionSpec * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} message WorkflowExecutionGetMetricsRequest 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 */ - WorkflowExecutionGetMetricsRequest.encode = function encode(message, writer) { + ExecutionSpec.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.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]); return writer; }; /** - * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. + * Decodes an ExecutionSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @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.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest + * @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 */ - WorkflowExecutionGetMetricsRequest.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.WorkflowExecutionGetMetricsRequest(); + 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.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.launchPlan = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.depth = reader.int32(); + 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; default: reader.skipType(tag & 7); @@ -29041,48 +30232,130 @@ }; /** - * Verifies a WorkflowExecutionGetMetricsRequest message. + * Verifies an ExecutionSpec message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @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 */ - WorkflowExecutionGetMetricsRequest.verify = function verify(message) { + ExecutionSpec.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 properties = {}; + if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlan); if (error) - return "id." + 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.depth != null && message.hasOwnProperty("depth")) - if (!$util.isInteger(message.depth)) - return "depth: integer expected"; return null; }; - return WorkflowExecutionGetMetricsRequest; + return ExecutionSpec; })(); - admin.WorkflowExecutionGetMetricsResponse = (function() { + admin.ExecutionTerminateRequest = (function() { /** - * Properties of a WorkflowExecutionGetMetricsResponse. + * Properties of an ExecutionTerminateRequest. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetMetricsResponse - * @property {flyteidl.core.ISpan|null} [span] WorkflowExecutionGetMetricsResponse span + * @interface IExecutionTerminateRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionTerminateRequest id + * @property {string|null} [cause] ExecutionTerminateRequest cause */ /** - * Constructs a new WorkflowExecutionGetMetricsResponse. + * Constructs a new ExecutionTerminateRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetMetricsResponse. - * @implements IWorkflowExecutionGetMetricsResponse + * @classdesc Represents an ExecutionTerminateRequest. + * @implements IExecutionTerminateRequest * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set */ - function WorkflowExecutionGetMetricsResponse(properties) { + function ExecutionTerminateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29090,62 +30363,75 @@ } /** - * WorkflowExecutionGetMetricsResponse span. - * @member {flyteidl.core.ISpan|null|undefined} span - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * ExecutionTerminateRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionTerminateRequest * @instance */ - WorkflowExecutionGetMetricsResponse.prototype.span = null; + ExecutionTerminateRequest.prototype.id = null; /** - * Creates a new WorkflowExecutionGetMetricsResponse 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.WorkflowExecutionGetMetricsResponse + * @memberof flyteidl.admin.ExecutionTerminateRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse instance + * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionTerminateRequest} ExecutionTerminateRequest instance */ - WorkflowExecutionGetMetricsResponse.create = function create(properties) { - return new WorkflowExecutionGetMetricsResponse(properties); + ExecutionTerminateRequest.create = function create(properties) { + return new ExecutionTerminateRequest(properties); }; /** - * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. + * Encodes the specified ExecutionTerminateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @memberof flyteidl.admin.ExecutionTerminateRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse} message WorkflowExecutionGetMetricsResponse 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 */ - WorkflowExecutionGetMetricsResponse.encode = function encode(message, writer) { + ExecutionTerminateRequest.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.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 a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. + * Decodes an ExecutionTerminateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @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.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse + * @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 */ - WorkflowExecutionGetMetricsResponse.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.WorkflowExecutionGetMetricsResponse(); + 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.span = $root.flyteidl.core.Span.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.cause = reader.string(); break; default: reader.skipType(tag & 7); @@ -29156,46 +30442,47 @@ }; /** - * Verifies a WorkflowExecutionGetMetricsResponse message. + * Verifies an ExecutionTerminateRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @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 */ - WorkflowExecutionGetMetricsResponse.verify = function verify(message) { + ExecutionTerminateRequest.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); if (error) - return "span." + error; + return "id." + error; } + if (message.cause != null && message.hasOwnProperty("cause")) + if (!$util.isString(message.cause)) + return "cause: string expected"; return null; }; - return WorkflowExecutionGetMetricsResponse; + return ExecutionTerminateRequest; })(); - admin.LaunchPlanCreateRequest = (function() { + admin.ExecutionTerminateResponse = (function() { /** - * Properties of a LaunchPlanCreateRequest. + * Properties of an ExecutionTerminateResponse. * @memberof flyteidl.admin - * @interface ILaunchPlanCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id - * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec + * @interface IExecutionTerminateResponse */ /** - * Constructs a new LaunchPlanCreateRequest. + * Constructs a new ExecutionTerminateResponse. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanCreateRequest. - * @implements ILaunchPlanCreateRequest + * @classdesc Represents an ExecutionTerminateResponse. + * @implements IExecutionTerminateResponse * @constructor - * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set */ - function LaunchPlanCreateRequest(properties) { + function ExecutionTerminateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29203,76 +30490,50 @@ } /** - * LaunchPlanCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlanCreateRequest - * @instance - */ - LaunchPlanCreateRequest.prototype.id = null; - - /** - * LaunchPlanCreateRequest spec. - * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec - * @memberof flyteidl.admin.LaunchPlanCreateRequest - * @instance - */ - LaunchPlanCreateRequest.prototype.spec = null; - - /** - * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * Creates a new ExecutionTerminateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.ExecutionTerminateResponse * @static - * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest instance + * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionTerminateResponse} ExecutionTerminateResponse instance */ - LaunchPlanCreateRequest.create = function create(properties) { - return new LaunchPlanCreateRequest(properties); + ExecutionTerminateResponse.create = function create(properties) { + return new ExecutionTerminateResponse(properties); }; /** - * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. + * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.ExecutionTerminateResponse * @static - * @param {flyteidl.admin.ILaunchPlanCreateRequest} message LaunchPlanCreateRequest 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 */ - LaunchPlanCreateRequest.encode = function encode(message, writer) { + ExecutionTerminateResponse.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; }; /** - * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. + * Decodes an ExecutionTerminateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @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.LaunchPlanCreateRequest} LaunchPlanCreateRequest + * @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 */ - LaunchPlanCreateRequest.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.LaunchPlanCreateRequest(); + 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.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; @@ -29282,49 +30543,40 @@ }; /** - * Verifies a LaunchPlanCreateRequest message. + * Verifies an ExecutionTerminateResponse message. * @function verify - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @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 */ - LaunchPlanCreateRequest.verify = function verify(message) { + ExecutionTerminateResponse.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; }; - return LaunchPlanCreateRequest; + return ExecutionTerminateResponse; })(); - admin.LaunchPlanCreateResponse = (function() { + admin.WorkflowExecutionGetDataRequest = (function() { /** - * Properties of a LaunchPlanCreateResponse. + * Properties of a WorkflowExecutionGetDataRequest. * @memberof flyteidl.admin - * @interface ILaunchPlanCreateResponse + * @interface IWorkflowExecutionGetDataRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetDataRequest id */ /** - * Constructs a new LaunchPlanCreateResponse. + * Constructs a new WorkflowExecutionGetDataRequest. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanCreateResponse. - * @implements ILaunchPlanCreateResponse + * @classdesc Represents a WorkflowExecutionGetDataRequest. + * @implements IWorkflowExecutionGetDataRequest * @constructor - * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set */ - function LaunchPlanCreateResponse(properties) { + function WorkflowExecutionGetDataRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29332,50 +30584,63 @@ } /** - * Creates a new LaunchPlanCreateResponse instance using the specified properties. + * WorkflowExecutionGetDataRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @instance + */ + WorkflowExecutionGetDataRequest.prototype.id = null; + + /** + * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest * @static - * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse instance + * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetDataRequest} WorkflowExecutionGetDataRequest instance */ - LaunchPlanCreateResponse.create = function create(properties) { - return new LaunchPlanCreateResponse(properties); + WorkflowExecutionGetDataRequest.create = function create(properties) { + return new WorkflowExecutionGetDataRequest(properties); }; /** - * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest * @static - * @param {flyteidl.admin.ILaunchPlanCreateResponse} message LaunchPlanCreateResponse 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 */ - LaunchPlanCreateResponse.encode = function encode(message, writer) { + WorkflowExecutionGetDataRequest.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(); return writer; }; /** - * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetDataRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @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.LaunchPlanCreateResponse} LaunchPlanCreateResponse + * @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 */ - LaunchPlanCreateResponse.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.LaunchPlanCreateResponse(); + 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.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -29385,56 +30650,48 @@ }; /** - * Verifies a LaunchPlanCreateResponse message. + * Verifies a WorkflowExecutionGetDataRequest message. * @function verify - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @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 */ - LaunchPlanCreateResponse.verify = function verify(message) { + WorkflowExecutionGetDataRequest.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; + } 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 WorkflowExecutionGetDataRequest; })(); - admin.LaunchPlan = (function() { + admin.WorkflowExecutionGetDataResponse = (function() { /** - * Properties of a LaunchPlan. + * Properties of a WorkflowExecutionGetDataResponse. * @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 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 LaunchPlan. + * Constructs a new WorkflowExecutionGetDataResponse. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlan. - * @implements ILaunchPlan + * @classdesc Represents a WorkflowExecutionGetDataResponse. + * @implements IWorkflowExecutionGetDataResponse * @constructor - * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set */ - function LaunchPlan(properties) { + function WorkflowExecutionGetDataResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29442,88 +30699,101 @@ } /** - * LaunchPlan id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlan + * WorkflowExecutionGetDataResponse outputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @instance */ - LaunchPlan.prototype.id = null; + WorkflowExecutionGetDataResponse.prototype.outputs = null; /** - * LaunchPlan spec. - * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec - * @memberof flyteidl.admin.LaunchPlan + * WorkflowExecutionGetDataResponse inputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @instance */ - LaunchPlan.prototype.spec = null; + WorkflowExecutionGetDataResponse.prototype.inputs = null; /** - * LaunchPlan closure. - * @member {flyteidl.admin.ILaunchPlanClosure|null|undefined} closure - * @memberof flyteidl.admin.LaunchPlan + * WorkflowExecutionGetDataResponse fullInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @instance */ - LaunchPlan.prototype.closure = null; + WorkflowExecutionGetDataResponse.prototype.fullInputs = null; /** - * Creates a new LaunchPlan instance using the specified properties. + * 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.LaunchPlan + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @static - * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlan} LaunchPlan instance + * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetDataResponse} WorkflowExecutionGetDataResponse instance */ - LaunchPlan.create = function create(properties) { - return new LaunchPlan(properties); + WorkflowExecutionGetDataResponse.create = function create(properties) { + return new WorkflowExecutionGetDataResponse(properties); }; /** - * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlan + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @static - * @param {flyteidl.admin.ILaunchPlan} message LaunchPlan 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 */ - LaunchPlan.encode = function encode(message, writer) { + WorkflowExecutionGetDataResponse.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.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 LaunchPlan message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetDataResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlan + * @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.LaunchPlan} LaunchPlan + * @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 */ - LaunchPlan.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.LaunchPlan(); + 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.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 2: - message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); + message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 3: - message.closure = $root.flyteidl.admin.LaunchPlanClosure.decode(reader, reader.uint32()); + 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); @@ -29534,57 +30804,75 @@ }; /** - * Verifies a LaunchPlan message. + * Verifies a WorkflowExecutionGetDataResponse message. * @function verify - * @memberof flyteidl.admin.LaunchPlan + * @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 */ - LaunchPlan.verify = function verify(message) { + WorkflowExecutionGetDataResponse.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.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); if (error) - return "id." + error; + return "outputs." + error; } - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.LaunchPlanSpec.verify(message.spec); + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); if (error) - return "spec." + error; + return "inputs." + error; } - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.LaunchPlanClosure.verify(message.closure); + if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fullInputs); if (error) - return "closure." + 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 LaunchPlan; + return WorkflowExecutionGetDataResponse; })(); - admin.LaunchPlanList = (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 LaunchPlanList. + * Properties of an ExecutionUpdateRequest. * @memberof flyteidl.admin - * @interface ILaunchPlanList - * @property {Array.|null} [launchPlans] LaunchPlanList launchPlans - * @property {string|null} [token] LaunchPlanList token + * @interface IExecutionUpdateRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionUpdateRequest id + * @property {flyteidl.admin.ExecutionState|null} [state] ExecutionUpdateRequest state */ /** - * Constructs a new LaunchPlanList. + * Constructs a new ExecutionUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanList. - * @implements ILaunchPlanList + * @classdesc Represents an ExecutionUpdateRequest. + * @implements IExecutionUpdateRequest * @constructor - * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set */ - function LaunchPlanList(properties) { - this.launchPlans = []; + function ExecutionUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29592,78 +30880,75 @@ } /** - * LaunchPlanList launchPlans. - * @member {Array.} launchPlans - * @memberof flyteidl.admin.LaunchPlanList + * ExecutionUpdateRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionUpdateRequest * @instance */ - LaunchPlanList.prototype.launchPlans = $util.emptyArray; + ExecutionUpdateRequest.prototype.id = null; /** - * LaunchPlanList token. - * @member {string} token - * @memberof flyteidl.admin.LaunchPlanList + * ExecutionUpdateRequest state. + * @member {flyteidl.admin.ExecutionState} state + * @memberof flyteidl.admin.ExecutionUpdateRequest * @instance */ - LaunchPlanList.prototype.token = ""; + ExecutionUpdateRequest.prototype.state = 0; /** - * Creates a new LaunchPlanList instance using the specified properties. + * Creates a new ExecutionUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.ExecutionUpdateRequest * @static - * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList instance + * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionUpdateRequest} ExecutionUpdateRequest instance */ - LaunchPlanList.create = function create(properties) { - return new LaunchPlanList(properties); + ExecutionUpdateRequest.create = function create(properties) { + return new ExecutionUpdateRequest(properties); }; /** - * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. + * Encodes the specified ExecutionUpdateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.ExecutionUpdateRequest * @static - * @param {flyteidl.admin.ILaunchPlanList} message LaunchPlanList 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 */ - LaunchPlanList.encode = function encode(message, writer) { + ExecutionUpdateRequest.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); + 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 LaunchPlanList message from the specified reader or buffer. + * Decodes an ExecutionUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanList + * @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.LaunchPlanList} LaunchPlanList + * @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 */ - LaunchPlanList.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.LaunchPlanList(); + 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: - if (!(message.launchPlans && message.launchPlans.length)) - message.launchPlans = []; - message.launchPlans.push($root.flyteidl.admin.LaunchPlan.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.state = reader.int32(); break; default: reader.skipType(tag & 7); @@ -29674,53 +30959,55 @@ }; /** - * Verifies a LaunchPlanList message. + * Verifies an ExecutionUpdateRequest message. * @function verify - * @memberof flyteidl.admin.LaunchPlanList + * @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 */ - LaunchPlanList.verify = function verify(message) { + ExecutionUpdateRequest.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.WorkflowExecutionIdentifier.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.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + break; + } return null; }; - return LaunchPlanList; + return ExecutionUpdateRequest; })(); - admin.Auth = (function() { + admin.ExecutionStateChangeDetails = (function() { /** - * Properties of an Auth. + * Properties of an ExecutionStateChangeDetails. * @memberof flyteidl.admin - * @interface IAuth - * @property {string|null} [assumableIamRole] Auth assumableIamRole - * @property {string|null} [kubernetesServiceAccount] Auth kubernetesServiceAccount + * @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 Auth. + * Constructs a new ExecutionStateChangeDetails. * @memberof flyteidl.admin - * @classdesc Represents an Auth. - * @implements IAuth + * @classdesc Represents an ExecutionStateChangeDetails. + * @implements IExecutionStateChangeDetails * @constructor - * @param {flyteidl.admin.IAuth=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set */ - function Auth(properties) { + function ExecutionStateChangeDetails(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29728,75 +31015,88 @@ } /** - * Auth assumableIamRole. - * @member {string} assumableIamRole - * @memberof flyteidl.admin.Auth + * ExecutionStateChangeDetails state. + * @member {flyteidl.admin.ExecutionState} state + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @instance */ - Auth.prototype.assumableIamRole = ""; + ExecutionStateChangeDetails.prototype.state = 0; /** - * Auth kubernetesServiceAccount. - * @member {string} kubernetesServiceAccount - * @memberof flyteidl.admin.Auth + * ExecutionStateChangeDetails occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @instance */ - Auth.prototype.kubernetesServiceAccount = ""; + ExecutionStateChangeDetails.prototype.occurredAt = null; /** - * Creates a new Auth instance using the specified properties. + * 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.Auth + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @static - * @param {flyteidl.admin.IAuth=} [properties] Properties to set - * @returns {flyteidl.admin.Auth} Auth instance + * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionStateChangeDetails} ExecutionStateChangeDetails instance */ - Auth.create = function create(properties) { - return new Auth(properties); + ExecutionStateChangeDetails.create = function create(properties) { + return new ExecutionStateChangeDetails(properties); }; /** - * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. + * Encodes the specified ExecutionStateChangeDetails message. Does not implicitly {@link flyteidl.admin.ExecutionStateChangeDetails.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Auth + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @static - * @param {flyteidl.admin.IAuth} message Auth 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 */ - Auth.encode = function encode(message, writer) { + ExecutionStateChangeDetails.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.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 an Auth message from the specified reader or buffer. + * Decodes an ExecutionStateChangeDetails message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Auth + * @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.Auth} Auth + * @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 */ - Auth.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.Auth(); + 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.assumableIamRole = reader.string(); + message.state = reader.int32(); break; case 2: - message.kubernetesServiceAccount = reader.string(); + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 3: + message.principal = reader.string(); break; default: reader.skipType(tag & 7); @@ -29807,61 +31107,55 @@ }; /** - * Verifies an Auth message. + * Verifies an ExecutionStateChangeDetails message. * @function verify - * @memberof flyteidl.admin.Auth + * @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 */ - Auth.verify = function verify(message) { + ExecutionStateChangeDetails.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.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 Auth; + return ExecutionStateChangeDetails; })(); - admin.LaunchPlanSpec = (function() { + admin.ExecutionUpdateResponse = (function() { /** - * Properties of a LaunchPlanSpec. + * Properties of an ExecutionUpdateResponse. * @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 + * @interface IExecutionUpdateResponse */ /** - * Constructs a new LaunchPlanSpec. + * Constructs a new ExecutionUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanSpec. - * @implements ILaunchPlanSpec + * @classdesc Represents an ExecutionUpdateResponse. + * @implements IExecutionUpdateResponse * @constructor - * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionUpdateResponse=} [properties] Properties to set */ - function LaunchPlanSpec(properties) { + function ExecutionUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29869,257 +31163,170 @@ } /** - * 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 + * 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 */ - LaunchPlanSpec.prototype.annotations = null; + ExecutionUpdateResponse.create = function create(properties) { + return new ExecutionUpdateResponse(properties); + }; /** - * LaunchPlanSpec auth. - * @member {flyteidl.admin.IAuth|null|undefined} auth - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * 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 */ - LaunchPlanSpec.prototype.auth = null; + ExecutionUpdateResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; /** - * LaunchPlanSpec authRole. - * @member {flyteidl.admin.IAuthRole|null|undefined} authRole - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * 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 */ - LaunchPlanSpec.prototype.authRole = null; + 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; + }; /** - * LaunchPlanSpec securityContext. - * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * 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 */ - LaunchPlanSpec.prototype.securityContext = null; + ExecutionUpdateResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; - /** - * LaunchPlanSpec qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.qualityOfService = null; + return ExecutionUpdateResponse; + })(); - /** - * LaunchPlanSpec rawOutputDataConfig. - * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.rawOutputDataConfig = null; + admin.WorkflowExecutionGetMetricsRequest = (function() { /** - * LaunchPlanSpec maxParallelism. - * @member {number} maxParallelism - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Properties of a WorkflowExecutionGetMetricsRequest. + * @memberof flyteidl.admin + * @interface IWorkflowExecutionGetMetricsRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetMetricsRequest id + * @property {number|null} [depth] WorkflowExecutionGetMetricsRequest depth */ - LaunchPlanSpec.prototype.maxParallelism = 0; /** - * LaunchPlanSpec interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Constructs a new WorkflowExecutionGetMetricsRequest. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowExecutionGetMetricsRequest. + * @implements IWorkflowExecutionGetMetricsRequest + * @constructor + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set */ - LaunchPlanSpec.prototype.interruptible = null; + 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]]; + } /** - * LaunchPlanSpec overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.LaunchPlanSpec + * WorkflowExecutionGetMetricsRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @instance */ - LaunchPlanSpec.prototype.overwriteCache = false; + WorkflowExecutionGetMetricsRequest.prototype.id = null; /** - * LaunchPlanSpec envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.LaunchPlanSpec + * WorkflowExecutionGetMetricsRequest depth. + * @member {number} depth + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @instance */ - LaunchPlanSpec.prototype.envs = null; + WorkflowExecutionGetMetricsRequest.prototype.depth = 0; /** - * Creates a new LaunchPlanSpec instance using the specified properties. + * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanSpec + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @static - * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec instance + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest instance */ - LaunchPlanSpec.create = function create(properties) { - return new LaunchPlanSpec(properties); + WorkflowExecutionGetMetricsRequest.create = function create(properties) { + return new WorkflowExecutionGetMetricsRequest(properties); }; /** - * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanSpec + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @static - * @param {flyteidl.admin.ILaunchPlanSpec} message LaunchPlanSpec 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 */ - LaunchPlanSpec.encode = function encode(message, writer) { + WorkflowExecutionGetMetricsRequest.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.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 LaunchPlanSpec message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanSpec + * @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.LaunchPlanSpec} LaunchPlanSpec + * @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 */ - LaunchPlanSpec.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.LaunchPlanSpec(); + 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.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - 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()); + message.depth = reader.int32(); break; default: reader.skipType(tag & 7); @@ -30130,118 +31337,48 @@ }; /** - * Verifies a LaunchPlanSpec message. + * Verifies a WorkflowExecutionGetMetricsRequest message. * @function verify - * @memberof flyteidl.admin.LaunchPlanSpec + * @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 */ - LaunchPlanSpec.verify = function verify(message) { + WorkflowExecutionGetMetricsRequest.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); - 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 "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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); if (error) - return "envs." + error; + return "id." + error; } + if (message.depth != null && message.hasOwnProperty("depth")) + if (!$util.isInteger(message.depth)) + return "depth: integer expected"; return null; }; - return LaunchPlanSpec; + return WorkflowExecutionGetMetricsRequest; })(); - admin.LaunchPlanClosure = (function() { + admin.WorkflowExecutionGetMetricsResponse = (function() { /** - * Properties of a LaunchPlanClosure. + * Properties of a WorkflowExecutionGetMetricsResponse. * @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 IWorkflowExecutionGetMetricsResponse + * @property {flyteidl.core.ISpan|null} [span] WorkflowExecutionGetMetricsResponse span */ /** - * Constructs a new LaunchPlanClosure. + * Constructs a new WorkflowExecutionGetMetricsResponse. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanClosure. - * @implements ILaunchPlanClosure + * @classdesc Represents a WorkflowExecutionGetMetricsResponse. + * @implements IWorkflowExecutionGetMetricsResponse * @constructor - * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set */ - function LaunchPlanClosure(properties) { + function WorkflowExecutionGetMetricsResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30249,114 +31386,62 @@ } /** - * LaunchPlanClosure state. - * @member {flyteidl.admin.LaunchPlanState} state - * @memberof flyteidl.admin.LaunchPlanClosure + * WorkflowExecutionGetMetricsResponse span. + * @member {flyteidl.core.ISpan|null|undefined} span + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse * @instance */ - LaunchPlanClosure.prototype.state = 0; + WorkflowExecutionGetMetricsResponse.prototype.span = null; /** - * LaunchPlanClosure expectedInputs. - * @member {flyteidl.core.IParameterMap|null|undefined} expectedInputs - * @memberof flyteidl.admin.LaunchPlanClosure - * @instance + * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @static + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse 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 - * @instance - */ - LaunchPlanClosure.prototype.updatedAt = null; - - /** - * Creates a new LaunchPlanClosure instance using the specified properties. - * @function create - * @memberof flyteidl.admin.LaunchPlanClosure - * @static - * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure instance - */ - LaunchPlanClosure.create = function create(properties) { - return new LaunchPlanClosure(properties); + WorkflowExecutionGetMetricsResponse.create = function create(properties) { + return new WorkflowExecutionGetMetricsResponse(properties); }; /** - * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanClosure + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse * @static - * @param {flyteidl.admin.ILaunchPlanClosure} message LaunchPlanClosure 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 */ - LaunchPlanClosure.encode = function encode(message, writer) { + WorkflowExecutionGetMetricsResponse.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.span != null && message.hasOwnProperty("span")) + $root.flyteidl.core.Span.encode(message.span, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a LaunchPlanClosure message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanClosure + * @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.LaunchPlanClosure} LaunchPlanClosure + * @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 */ - LaunchPlanClosure.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.LaunchPlanClosure(); + 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.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.span = $root.flyteidl.core.Span.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -30367,70 +31452,46 @@ }; /** - * Verifies a LaunchPlanClosure message. + * Verifies a WorkflowExecutionGetMetricsResponse message. * @function verify - * @memberof flyteidl.admin.LaunchPlanClosure + * @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 */ - LaunchPlanClosure.verify = function verify(message) { + WorkflowExecutionGetMetricsResponse.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.span != null && message.hasOwnProperty("span")) { + var error = $root.flyteidl.core.Span.verify(message.span); if (error) - return "updatedAt." + error; + return "span." + error; } return null; }; - return LaunchPlanClosure; + return WorkflowExecutionGetMetricsResponse; })(); - admin.LaunchPlanMetadata = (function() { + admin.LaunchPlanCreateRequest = (function() { /** - * Properties of a LaunchPlanMetadata. + * Properties of a LaunchPlanCreateRequest. * @memberof flyteidl.admin - * @interface ILaunchPlanMetadata - * @property {flyteidl.admin.ISchedule|null} [schedule] LaunchPlanMetadata schedule - * @property {Array.|null} [notifications] LaunchPlanMetadata notifications + * @interface ILaunchPlanCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id + * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec */ /** - * Constructs a new LaunchPlanMetadata. + * Constructs a new LaunchPlanCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanMetadata. - * @implements ILaunchPlanMetadata + * @classdesc Represents a LaunchPlanCreateRequest. + * @implements ILaunchPlanCreateRequest * @constructor - * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set */ - function LaunchPlanMetadata(properties) { - this.notifications = []; + function LaunchPlanCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30438,78 +31499,75 @@ } /** - * LaunchPlanMetadata schedule. - * @member {flyteidl.admin.ISchedule|null|undefined} schedule - * @memberof flyteidl.admin.LaunchPlanMetadata + * LaunchPlanCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @instance */ - LaunchPlanMetadata.prototype.schedule = null; + LaunchPlanCreateRequest.prototype.id = null; /** - * LaunchPlanMetadata notifications. - * @member {Array.} notifications - * @memberof flyteidl.admin.LaunchPlanMetadata + * LaunchPlanCreateRequest spec. + * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @instance */ - LaunchPlanMetadata.prototype.notifications = $util.emptyArray; + LaunchPlanCreateRequest.prototype.spec = null; /** - * Creates a new LaunchPlanMetadata instance using the specified properties. + * Creates a new LaunchPlanCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanMetadata + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @static - * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata instance + * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest instance */ - LaunchPlanMetadata.create = function create(properties) { - return new LaunchPlanMetadata(properties); + LaunchPlanCreateRequest.create = function create(properties) { + return new LaunchPlanCreateRequest(properties); }; /** - * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. + * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanMetadata + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @static - * @param {flyteidl.admin.ILaunchPlanMetadata} message LaunchPlanMetadata message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanCreateRequest} message LaunchPlanCreateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanMetadata.encode = function encode(message, writer) { + LaunchPlanCreateRequest.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.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; }; /** - * Decodes a LaunchPlanMetadata message from the specified reader or buffer. + * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanMetadata + * @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.LaunchPlanMetadata} LaunchPlanMetadata + * @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 */ - LaunchPlanMetadata.decode = function decode(reader, length) { + 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.LaunchPlanMetadata(); + 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.schedule = $root.flyteidl.admin.Schedule.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.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())); + message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -30520,55 +31578,49 @@ }; /** - * Verifies a LaunchPlanMetadata message. + * Verifies a LaunchPlanCreateRequest message. * @function verify - * @memberof flyteidl.admin.LaunchPlanMetadata + * @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 */ - LaunchPlanMetadata.verify = function verify(message) { + LaunchPlanCreateRequest.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "schedule." + error; + return "id." + 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.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.LaunchPlanSpec.verify(message.spec); + if (error) + return "spec." + error; } return null; }; - return LaunchPlanMetadata; + return LaunchPlanCreateRequest; })(); - admin.LaunchPlanUpdateRequest = (function() { + admin.LaunchPlanCreateResponse = (function() { /** - * Properties of a LaunchPlanUpdateRequest. + * Properties of a LaunchPlanCreateResponse. * @memberof flyteidl.admin - * @interface ILaunchPlanUpdateRequest - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanUpdateRequest id - * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanUpdateRequest state + * @interface ILaunchPlanCreateResponse */ /** - * Constructs a new LaunchPlanUpdateRequest. + * Constructs a new LaunchPlanCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanUpdateRequest. - * @implements ILaunchPlanUpdateRequest + * @classdesc Represents a LaunchPlanCreateResponse. + * @implements ILaunchPlanCreateResponse * @constructor - * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set */ - function LaunchPlanUpdateRequest(properties) { + function LaunchPlanCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30576,76 +31628,50 @@ } /** - * LaunchPlanUpdateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlanUpdateRequest - * @instance - */ - LaunchPlanUpdateRequest.prototype.id = null; - - /** - * 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. + * Creates a new LaunchPlanCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.LaunchPlanCreateResponse * @static - * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest instance + * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse instance */ - LaunchPlanUpdateRequest.create = function create(properties) { - return new LaunchPlanUpdateRequest(properties); + LaunchPlanCreateResponse.create = function create(properties) { + return new LaunchPlanCreateResponse(properties); }; /** - * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. + * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.LaunchPlanCreateResponse * @static - * @param {flyteidl.admin.ILaunchPlanUpdateRequest} message LaunchPlanUpdateRequest 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 */ - LaunchPlanUpdateRequest.encode = function encode(message, writer) { + LaunchPlanCreateResponse.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); return writer; }; /** - * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. + * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @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.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest + * @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 */ - LaunchPlanUpdateRequest.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.LaunchPlanUpdateRequest(); + 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.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.state = reader.int32(); - break; default: reader.skipType(tag & 7); break; @@ -30655,52 +31681,56 @@ }; /** - * Verifies a LaunchPlanUpdateRequest message. + * Verifies a LaunchPlanCreateResponse message. * @function verify - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @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 */ - LaunchPlanUpdateRequest.verify = function verify(message) { + LaunchPlanCreateResponse.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; + return LaunchPlanCreateResponse; })(); - admin.LaunchPlanUpdateResponse = (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 a LaunchPlanUpdateResponse. + * Properties of a LaunchPlan. * @memberof flyteidl.admin - * @interface ILaunchPlanUpdateResponse + * @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 LaunchPlanUpdateResponse. + * Constructs a new LaunchPlan. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanUpdateResponse. - * @implements ILaunchPlanUpdateResponse + * @classdesc Represents a LaunchPlan. + * @implements ILaunchPlan * @constructor - * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set */ - function LaunchPlanUpdateResponse(properties) { + function LaunchPlan(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30708,50 +31738,89 @@ } /** - * Creates a new LaunchPlanUpdateResponse instance using the specified properties. + * LaunchPlan id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlan + * @instance + */ + LaunchPlan.prototype.id = null; + + /** + * LaunchPlan spec. + * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec + * @memberof flyteidl.admin.LaunchPlan + * @instance + */ + LaunchPlan.prototype.spec = null; + + /** + * 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.LaunchPlanUpdateResponse + * @memberof flyteidl.admin.LaunchPlan * @static - * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse instance + * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlan} LaunchPlan instance */ - LaunchPlanUpdateResponse.create = function create(properties) { - return new LaunchPlanUpdateResponse(properties); + LaunchPlan.create = function create(properties) { + return new LaunchPlan(properties); }; /** - * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. + * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @memberof flyteidl.admin.LaunchPlan * @static - * @param {flyteidl.admin.ILaunchPlanUpdateResponse} message LaunchPlanUpdateResponse 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 */ - LaunchPlanUpdateResponse.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.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 a LaunchPlanUpdateResponse message from the specified reader or buffer. + * Decodes a LaunchPlan message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @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.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse + * @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 */ - LaunchPlanUpdateResponse.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.LaunchPlanUpdateResponse(); + 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.Identifier.decode(reader, reader.uint32()); + break; + case 2: + 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); break; @@ -30761,40 +31830,57 @@ }; /** - * Verifies a LaunchPlanUpdateResponse message. + * Verifies a LaunchPlan message. * @function verify - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @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 */ - LaunchPlanUpdateResponse.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.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 (error) + return "closure." + error; + } return null; }; - return LaunchPlanUpdateResponse; + return LaunchPlan; })(); - admin.ActiveLaunchPlanRequest = (function() { + admin.LaunchPlanList = (function() { /** - * Properties of an ActiveLaunchPlanRequest. + * Properties of a LaunchPlanList. * @memberof flyteidl.admin - * @interface IActiveLaunchPlanRequest - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ActiveLaunchPlanRequest id + * @interface ILaunchPlanList + * @property {Array.|null} [launchPlans] LaunchPlanList launchPlans + * @property {string|null} [token] LaunchPlanList token */ /** - * Constructs a new ActiveLaunchPlanRequest. + * Constructs a new LaunchPlanList. * @memberof flyteidl.admin - * @classdesc Represents an ActiveLaunchPlanRequest. - * @implements IActiveLaunchPlanRequest + * @classdesc Represents a LaunchPlanList. + * @implements ILaunchPlanList * @constructor - * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set */ - function ActiveLaunchPlanRequest(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) @@ -30802,62 +31888,78 @@ } /** - * ActiveLaunchPlanRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * LaunchPlanList launchPlans. + * @member {Array.} launchPlans + * @memberof flyteidl.admin.LaunchPlanList * @instance */ - ActiveLaunchPlanRequest.prototype.id = null; + LaunchPlanList.prototype.launchPlans = $util.emptyArray; /** - * Creates a new ActiveLaunchPlanRequest instance using the specified properties. + * 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.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.LaunchPlanList * @static - * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest instance + * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList instance */ - ActiveLaunchPlanRequest.create = function create(properties) { - return new ActiveLaunchPlanRequest(properties); + LaunchPlanList.create = function create(properties) { + return new LaunchPlanList(properties); }; /** - * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. + * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.LaunchPlanList * @static - * @param {flyteidl.admin.IActiveLaunchPlanRequest} message ActiveLaunchPlanRequest 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 */ - ActiveLaunchPlanRequest.encode = function encode(message, writer) { + LaunchPlanList.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.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 ActiveLaunchPlanRequest message from the specified reader or buffer. + * Decodes a LaunchPlanList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @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.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest + * @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 */ - ActiveLaunchPlanRequest.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.ActiveLaunchPlanRequest(); + 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: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + 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); @@ -30868,49 +31970,53 @@ }; /** - * Verifies an ActiveLaunchPlanRequest message. + * Verifies a LaunchPlanList message. * @function verify - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @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 */ - ActiveLaunchPlanRequest.verify = function verify(message) { + LaunchPlanList.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.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 ActiveLaunchPlanRequest; + return LaunchPlanList; })(); - admin.ActiveLaunchPlanListRequest = (function() { + admin.Auth = (function() { /** - * Properties of an ActiveLaunchPlanListRequest. + * Properties of an Auth. * @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 + * @interface IAuth + * @property {string|null} [assumableIamRole] Auth assumableIamRole + * @property {string|null} [kubernetesServiceAccount] Auth kubernetesServiceAccount */ /** - * Constructs a new ActiveLaunchPlanListRequest. + * Constructs a new Auth. * @memberof flyteidl.admin - * @classdesc Represents an ActiveLaunchPlanListRequest. - * @implements IActiveLaunchPlanListRequest + * @classdesc Represents an Auth. + * @implements IAuth * @constructor - * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IAuth=} [properties] Properties to set */ - function ActiveLaunchPlanListRequest(properties) { + function Auth(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30918,114 +32024,75 @@ } /** - * 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 + * Auth assumableIamRole. + * @member {string} assumableIamRole + * @memberof flyteidl.admin.Auth * @instance */ - ActiveLaunchPlanListRequest.prototype.token = ""; + Auth.prototype.assumableIamRole = ""; /** - * ActiveLaunchPlanListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * Auth kubernetesServiceAccount. + * @member {string} kubernetesServiceAccount + * @memberof flyteidl.admin.Auth * @instance */ - ActiveLaunchPlanListRequest.prototype.sortBy = null; + Auth.prototype.kubernetesServiceAccount = ""; /** - * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. + * Creates a new Auth instance using the specified properties. * @function create - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.Auth * @static - * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest instance + * @param {flyteidl.admin.IAuth=} [properties] Properties to set + * @returns {flyteidl.admin.Auth} Auth instance */ - ActiveLaunchPlanListRequest.create = function create(properties) { - return new ActiveLaunchPlanListRequest(properties); + Auth.create = function create(properties) { + return new Auth(properties); }; /** - * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. + * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.Auth * @static - * @param {flyteidl.admin.IActiveLaunchPlanListRequest} message ActiveLaunchPlanListRequest 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 */ - ActiveLaunchPlanListRequest.encode = function encode(message, writer) { + Auth.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.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 ActiveLaunchPlanListRequest message from the specified reader or buffer. + * Decodes an Auth message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @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.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest + * @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 */ - ActiveLaunchPlanListRequest.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.ActiveLaunchPlanListRequest(); + 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.project = reader.string(); + message.assumableIamRole = 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()); + message.kubernetesServiceAccount = reader.string(); break; default: reader.skipType(tag & 7); @@ -31036,74 +32103,61 @@ }; /** - * Verifies an ActiveLaunchPlanListRequest message. + * Verifies an Auth message. * @function verify - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @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 */ - ActiveLaunchPlanListRequest.verify = function verify(message) { + Auth.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.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 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 Auth; })(); - admin.FixedRate = (function() { + admin.LaunchPlanSpec = (function() { /** - * Properties of a FixedRate. + * Properties of a LaunchPlanSpec. * @memberof flyteidl.admin - * @interface IFixedRate - * @property {number|null} [value] FixedRate value - * @property {flyteidl.admin.FixedRateUnit|null} [unit] FixedRate unit + * @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 */ /** - * Constructs a new FixedRate. + * Constructs a new LaunchPlanSpec. * @memberof flyteidl.admin - * @classdesc Represents a FixedRate. - * @implements IFixedRate + * @classdesc Represents a LaunchPlanSpec. + * @implements ILaunchPlanSpec * @constructor - * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set */ - function FixedRate(properties) { + function LaunchPlanSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31111,208 +32165,257 @@ } /** - * FixedRate value. - * @member {number} value - * @memberof flyteidl.admin.FixedRate + * LaunchPlanSpec workflowId. + * @member {flyteidl.core.IIdentifier|null|undefined} workflowId + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - FixedRate.prototype.value = 0; + LaunchPlanSpec.prototype.workflowId = null; /** - * FixedRate unit. - * @member {flyteidl.admin.FixedRateUnit} unit - * @memberof flyteidl.admin.FixedRate + * LaunchPlanSpec entityMetadata. + * @member {flyteidl.admin.ILaunchPlanMetadata|null|undefined} entityMetadata + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - FixedRate.prototype.unit = 0; + LaunchPlanSpec.prototype.entityMetadata = null; /** - * Creates a new FixedRate instance using the specified properties. - * @function create - * @memberof flyteidl.admin.FixedRate - * @static - * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set - * @returns {flyteidl.admin.FixedRate} FixedRate instance + * LaunchPlanSpec defaultInputs. + * @member {flyteidl.core.IParameterMap|null|undefined} defaultInputs + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - FixedRate.create = function create(properties) { - return new FixedRate(properties); - }; + LaunchPlanSpec.prototype.defaultInputs = null; /** - * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.FixedRate - * @static - * @param {flyteidl.admin.IFixedRate} message FixedRate message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * LaunchPlanSpec fixedInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fixedInputs + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - FixedRate.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); - return writer; - }; + LaunchPlanSpec.prototype.fixedInputs = null; /** - * Decodes a FixedRate message from the specified reader or buffer. - * @function decode - * @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.FixedRate} FixedRate - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * LaunchPlanSpec role. + * @member {string} role + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - 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.FixedRate(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.value = reader.uint32(); - break; - case 2: - message.unit = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + LaunchPlanSpec.prototype.role = ""; /** - * Verifies a FixedRate message. - * @function verify - * @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 + * LaunchPlanSpec labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - FixedRate.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) { - default: - return "unit: enum value expected"; - case 0: - case 1: - case 2: - break; - } - return null; - }; + LaunchPlanSpec.prototype.labels = null; - return FixedRate; - })(); + /** + * LaunchPlanSpec annotations. + * @member {flyteidl.admin.IAnnotations|null|undefined} annotations + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.annotations = null; - admin.CronSchedule = (function() { + /** + * LaunchPlanSpec auth. + * @member {flyteidl.admin.IAuth|null|undefined} auth + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.auth = null; /** - * Properties of a CronSchedule. - * @memberof flyteidl.admin - * @interface ICronSchedule - * @property {string|null} [schedule] CronSchedule schedule - * @property {string|null} [offset] CronSchedule offset + * LaunchPlanSpec authRole. + * @member {flyteidl.admin.IAuthRole|null|undefined} authRole + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ + LaunchPlanSpec.prototype.authRole = null; /** - * Constructs a new CronSchedule. - * @memberof flyteidl.admin - * @classdesc Represents a CronSchedule. - * @implements ICronSchedule - * @constructor - * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set + * LaunchPlanSpec securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - function CronSchedule(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.securityContext = null; /** - * CronSchedule schedule. - * @member {string} schedule - * @memberof flyteidl.admin.CronSchedule + * LaunchPlanSpec qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - CronSchedule.prototype.schedule = ""; + LaunchPlanSpec.prototype.qualityOfService = null; /** - * CronSchedule offset. - * @member {string} offset - * @memberof flyteidl.admin.CronSchedule + * LaunchPlanSpec rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - CronSchedule.prototype.offset = ""; + LaunchPlanSpec.prototype.rawOutputDataConfig = null; /** - * Creates a new CronSchedule instance using the specified properties. + * LaunchPlanSpec maxParallelism. + * @member {number} maxParallelism + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.maxParallelism = 0; + + /** + * LaunchPlanSpec interruptible. + * @member {google.protobuf.IBoolValue|null|undefined} interruptible + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.interruptible = null; + + /** + * LaunchPlanSpec overwriteCache. + * @member {boolean} overwriteCache + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.overwriteCache = false; + + /** + * LaunchPlanSpec envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.envs = null; + + /** + * Creates a new LaunchPlanSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.CronSchedule + * @memberof flyteidl.admin.LaunchPlanSpec * @static - * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set - * @returns {flyteidl.admin.CronSchedule} CronSchedule instance + * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec instance */ - CronSchedule.create = function create(properties) { - return new CronSchedule(properties); + LaunchPlanSpec.create = function create(properties) { + return new LaunchPlanSpec(properties); }; /** - * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. + * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.CronSchedule + * @memberof flyteidl.admin.LaunchPlanSpec * @static - * @param {flyteidl.admin.ICronSchedule} message CronSchedule 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 */ - CronSchedule.encode = function encode(message, writer) { + LaunchPlanSpec.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.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(); return writer; }; /** - * Decodes a CronSchedule message from the specified reader or buffer. + * Decodes a LaunchPlanSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.CronSchedule + * @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.CronSchedule} CronSchedule + * @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 */ - CronSchedule.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.CronSchedule(); + 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.schedule = reader.string(); + message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.offset = reader.string(); + 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; default: reader.skipType(tag & 7); @@ -31323,49 +32426,118 @@ }; /** - * Verifies a CronSchedule message. + * Verifies a LaunchPlanSpec message. * @function verify - * @memberof flyteidl.admin.CronSchedule + * @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 */ - CronSchedule.verify = function verify(message) { + LaunchPlanSpec.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.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 "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; + } return null; }; - return CronSchedule; + return LaunchPlanSpec; })(); - admin.Schedule = (function() { + admin.LaunchPlanClosure = (function() { /** - * Properties of a Schedule. + * Properties of a LaunchPlanClosure. * @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 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 Schedule. + * Constructs a new LaunchPlanClosure. * @memberof flyteidl.admin - * @classdesc Represents a Schedule. - * @implements ISchedule + * @classdesc Represents a LaunchPlanClosure. + * @implements ILaunchPlanClosure * @constructor - * @param {flyteidl.admin.ISchedule=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set */ - function Schedule(properties) { + function LaunchPlanClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31373,115 +32545,114 @@ } /** - * Schedule cronExpression. - * @member {string} cronExpression - * @memberof flyteidl.admin.Schedule + * LaunchPlanClosure state. + * @member {flyteidl.admin.LaunchPlanState} state + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - Schedule.prototype.cronExpression = ""; + LaunchPlanClosure.prototype.state = 0; /** - * Schedule rate. - * @member {flyteidl.admin.IFixedRate|null|undefined} rate - * @memberof flyteidl.admin.Schedule + * LaunchPlanClosure expectedInputs. + * @member {flyteidl.core.IParameterMap|null|undefined} expectedInputs + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - Schedule.prototype.rate = null; + LaunchPlanClosure.prototype.expectedInputs = null; /** - * Schedule cronSchedule. - * @member {flyteidl.admin.ICronSchedule|null|undefined} cronSchedule - * @memberof flyteidl.admin.Schedule + * LaunchPlanClosure expectedOutputs. + * @member {flyteidl.core.IVariableMap|null|undefined} expectedOutputs + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - Schedule.prototype.cronSchedule = null; + LaunchPlanClosure.prototype.expectedOutputs = null; /** - * Schedule kickoffTimeInputArg. - * @member {string} kickoffTimeInputArg - * @memberof flyteidl.admin.Schedule + * LaunchPlanClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - Schedule.prototype.kickoffTimeInputArg = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + LaunchPlanClosure.prototype.createdAt = null; /** - * Schedule ScheduleExpression. - * @member {"cronExpression"|"rate"|"cronSchedule"|undefined} ScheduleExpression - * @memberof flyteidl.admin.Schedule + * LaunchPlanClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - Object.defineProperty(Schedule.prototype, "ScheduleExpression", { - get: $util.oneOfGetter($oneOfFields = ["cronExpression", "rate", "cronSchedule"]), - set: $util.oneOfSetter($oneOfFields) - }); + LaunchPlanClosure.prototype.updatedAt = null; /** - * Creates a new Schedule instance using the specified properties. + * Creates a new LaunchPlanClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.LaunchPlanClosure * @static - * @param {flyteidl.admin.ISchedule=} [properties] Properties to set - * @returns {flyteidl.admin.Schedule} Schedule instance + * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure instance */ - Schedule.create = function create(properties) { - return new Schedule(properties); + LaunchPlanClosure.create = function create(properties) { + return new LaunchPlanClosure(properties); }; /** - * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. + * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.LaunchPlanClosure * @static - * @param {flyteidl.admin.ISchedule} message Schedule 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 */ - Schedule.encode = function encode(message, writer) { + LaunchPlanClosure.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.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(); return writer; }; /** - * Decodes a Schedule message from the specified reader or buffer. + * Decodes a LaunchPlanClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Schedule + * @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.Schedule} Schedule + * @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 */ - Schedule.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.Schedule(); + 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) { case 1: - message.cronExpression = reader.string(); + message.state = reader.int32(); break; case 2: - message.rate = $root.flyteidl.admin.FixedRate.decode(reader, reader.uint32()); + 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.cronSchedule = $root.flyteidl.admin.CronSchedule.decode(reader, reader.uint32()); + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; - case 3: - message.kickoffTimeInputArg = reader.string(); + case 5: + message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -31492,99 +32663,71 @@ }; /** - * Verifies a Schedule message. + * Verifies a LaunchPlanClosure message. * @function verify - * @memberof flyteidl.admin.Schedule + * @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 */ - Schedule.verify = function verify(message) { + LaunchPlanClosure.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.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.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.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.kickoffTimeInputArg != null && message.hasOwnProperty("kickoffTimeInputArg")) - if (!$util.isString(message.kickoffTimeInputArg)) - return "kickoffTimeInputArg: string expected"; return null; }; - return Schedule; - })(); - - /** - * 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; + return LaunchPlanClosure; })(); - admin.TaskResourceSpec = (function() { + admin.LaunchPlanMetadata = (function() { /** - * Properties of a TaskResourceSpec. + * Properties of a LaunchPlanMetadata. * @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 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 TaskResourceSpec. + * Constructs a new LaunchPlanMetadata. * @memberof flyteidl.admin - * @classdesc Represents a TaskResourceSpec. - * @implements ITaskResourceSpec + * @classdesc Represents a LaunchPlanMetadata. + * @implements ILaunchPlanMetadata * @constructor - * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set */ - function TaskResourceSpec(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) @@ -31592,114 +32735,91 @@ } /** - * 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 + * LaunchPlanMetadata schedule. + * @member {flyteidl.admin.ISchedule|null|undefined} schedule + * @memberof flyteidl.admin.LaunchPlanMetadata * @instance */ - TaskResourceSpec.prototype.memory = ""; + LaunchPlanMetadata.prototype.schedule = null; /** - * TaskResourceSpec storage. - * @member {string} storage - * @memberof flyteidl.admin.TaskResourceSpec + * LaunchPlanMetadata notifications. + * @member {Array.} notifications + * @memberof flyteidl.admin.LaunchPlanMetadata * @instance */ - TaskResourceSpec.prototype.storage = ""; + LaunchPlanMetadata.prototype.notifications = $util.emptyArray; /** - * TaskResourceSpec ephemeralStorage. - * @member {string} ephemeralStorage - * @memberof flyteidl.admin.TaskResourceSpec + * LaunchPlanMetadata launchConditions. + * @member {google.protobuf.IAny|null|undefined} launchConditions + * @memberof flyteidl.admin.LaunchPlanMetadata * @instance */ - TaskResourceSpec.prototype.ephemeralStorage = ""; + LaunchPlanMetadata.prototype.launchConditions = null; /** - * Creates a new TaskResourceSpec instance using the specified properties. + * Creates a new LaunchPlanMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.LaunchPlanMetadata * @static - * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set - * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec instance + * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata instance */ - TaskResourceSpec.create = function create(properties) { - return new TaskResourceSpec(properties); + LaunchPlanMetadata.create = function create(properties) { + return new LaunchPlanMetadata(properties); }; /** - * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. + * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.LaunchPlanMetadata * @static - * @param {flyteidl.admin.ITaskResourceSpec} message TaskResourceSpec 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 */ - TaskResourceSpec.encode = function encode(message, writer) { + LaunchPlanMetadata.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); + 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 TaskResourceSpec message from the specified reader or buffer. + * Decodes a LaunchPlanMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskResourceSpec + * @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.TaskResourceSpec} TaskResourceSpec + * @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 */ - TaskResourceSpec.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.TaskResourceSpec(); + 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.cpu = reader.string(); + message.schedule = $root.flyteidl.admin.Schedule.decode(reader, reader.uint32()); break; case 2: - message.gpu = reader.string(); + if (!(message.notifications && message.notifications.length)) + message.notifications = []; + message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); break; case 3: - message.memory = reader.string(); - break; - case 4: - message.storage = reader.string(); - break; - case 5: - message.ephemeralStorage = reader.string(); + message.launchConditions = $root.google.protobuf.Any.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -31710,56 +32830,60 @@ }; /** - * Verifies a TaskResourceSpec message. + * Verifies a LaunchPlanMetadata message. * @function verify - * @memberof flyteidl.admin.TaskResourceSpec + * @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 */ - TaskResourceSpec.verify = function verify(message) { + LaunchPlanMetadata.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"; + 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 (error) + return "launchConditions." + error; + } return null; }; - return TaskResourceSpec; + return LaunchPlanMetadata; })(); - admin.TaskResourceAttributes = (function() { + admin.LaunchPlanUpdateRequest = (function() { /** - * Properties of a TaskResourceAttributes. + * Properties of a LaunchPlanUpdateRequest. * @memberof flyteidl.admin - * @interface ITaskResourceAttributes - * @property {flyteidl.admin.ITaskResourceSpec|null} [defaults] TaskResourceAttributes defaults - * @property {flyteidl.admin.ITaskResourceSpec|null} [limits] TaskResourceAttributes limits + * @interface ILaunchPlanUpdateRequest + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanUpdateRequest id + * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanUpdateRequest state */ /** - * Constructs a new TaskResourceAttributes. + * Constructs a new LaunchPlanUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskResourceAttributes. - * @implements ITaskResourceAttributes + * @classdesc Represents a LaunchPlanUpdateRequest. + * @implements ILaunchPlanUpdateRequest * @constructor - * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set */ - function TaskResourceAttributes(properties) { + function LaunchPlanUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31767,75 +32891,75 @@ } /** - * TaskResourceAttributes defaults. - * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} defaults - * @memberof flyteidl.admin.TaskResourceAttributes + * LaunchPlanUpdateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @instance */ - TaskResourceAttributes.prototype.defaults = null; + LaunchPlanUpdateRequest.prototype.id = null; /** - * TaskResourceAttributes limits. - * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} limits - * @memberof flyteidl.admin.TaskResourceAttributes + * LaunchPlanUpdateRequest state. + * @member {flyteidl.admin.LaunchPlanState} state + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @instance */ - TaskResourceAttributes.prototype.limits = null; + LaunchPlanUpdateRequest.prototype.state = 0; /** - * Creates a new TaskResourceAttributes instance using the specified properties. + * Creates a new LaunchPlanUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskResourceAttributes + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static - * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes instance + * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest instance */ - TaskResourceAttributes.create = function create(properties) { - return new TaskResourceAttributes(properties); + LaunchPlanUpdateRequest.create = function create(properties) { + return new LaunchPlanUpdateRequest(properties); }; /** - * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. + * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskResourceAttributes + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static - * @param {flyteidl.admin.ITaskResourceAttributes} message TaskResourceAttributes 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 */ - TaskResourceAttributes.encode = function encode(message, writer) { + LaunchPlanUpdateRequest.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.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 TaskResourceAttributes message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskResourceAttributes + * @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.TaskResourceAttributes} TaskResourceAttributes + * @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 */ - TaskResourceAttributes.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.TaskResourceAttributes(); + 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.defaults = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.limits = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); + message.state = reader.int32(); break; default: reader.skipType(tag & 7); @@ -31846,51 +32970,52 @@ }; /** - * Verifies a TaskResourceAttributes message. + * Verifies a LaunchPlanUpdateRequest message. * @function verify - * @memberof flyteidl.admin.TaskResourceAttributes + * @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 */ - TaskResourceAttributes.verify = function verify(message) { + LaunchPlanUpdateRequest.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.core.Identifier.verify(message.id); if (error) - return "limits." + 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 TaskResourceAttributes; + return LaunchPlanUpdateRequest; })(); - admin.ClusterResourceAttributes = (function() { + admin.LaunchPlanUpdateResponse = (function() { /** - * Properties of a ClusterResourceAttributes. + * Properties of a LaunchPlanUpdateResponse. * @memberof flyteidl.admin - * @interface IClusterResourceAttributes - * @property {Object.|null} [attributes] ClusterResourceAttributes attributes + * @interface ILaunchPlanUpdateResponse */ /** - * Constructs a new ClusterResourceAttributes. + * Constructs a new LaunchPlanUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a ClusterResourceAttributes. - * @implements IClusterResourceAttributes + * @classdesc Represents a LaunchPlanUpdateResponse. + * @implements ILaunchPlanUpdateResponse * @constructor - * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set */ - function ClusterResourceAttributes(properties) { - this.attributes = {}; + function LaunchPlanUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31898,69 +33023,50 @@ } /** - * ClusterResourceAttributes attributes. - * @member {Object.} attributes - * @memberof flyteidl.admin.ClusterResourceAttributes - * @instance - */ - ClusterResourceAttributes.prototype.attributes = $util.emptyObject; - - /** - * Creates a new ClusterResourceAttributes instance using the specified properties. + * Creates a new LaunchPlanUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ClusterResourceAttributes + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static - * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes instance + * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse instance */ - ClusterResourceAttributes.create = function create(properties) { - return new ClusterResourceAttributes(properties); + LaunchPlanUpdateResponse.create = function create(properties) { + return new LaunchPlanUpdateResponse(properties); }; /** - * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. + * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ClusterResourceAttributes + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static - * @param {flyteidl.admin.IClusterResourceAttributes} message ClusterResourceAttributes 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 */ - ClusterResourceAttributes.encode = function encode(message, writer) { + LaunchPlanUpdateResponse.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(); return writer; }; /** - * Decodes a ClusterResourceAttributes message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ClusterResourceAttributes + * @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.ClusterResourceAttributes} ClusterResourceAttributes + * @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 */ - ClusterResourceAttributes.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.ClusterResourceAttributes(), key; + 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: - 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); break; @@ -31970,49 +33076,40 @@ }; /** - * Verifies a ClusterResourceAttributes message. + * Verifies a LaunchPlanUpdateResponse message. * @function verify - * @memberof flyteidl.admin.ClusterResourceAttributes + * @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 */ - ClusterResourceAttributes.verify = function verify(message) { + LaunchPlanUpdateResponse.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"; - } return null; }; - return ClusterResourceAttributes; + return LaunchPlanUpdateResponse; })(); - admin.ExecutionQueueAttributes = (function() { + admin.ActiveLaunchPlanRequest = (function() { /** - * Properties of an ExecutionQueueAttributes. + * Properties of an ActiveLaunchPlanRequest. * @memberof flyteidl.admin - * @interface IExecutionQueueAttributes - * @property {Array.|null} [tags] ExecutionQueueAttributes tags + * @interface IActiveLaunchPlanRequest + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ActiveLaunchPlanRequest id */ /** - * Constructs a new ExecutionQueueAttributes. + * Constructs a new ActiveLaunchPlanRequest. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionQueueAttributes. - * @implements IExecutionQueueAttributes + * @classdesc Represents an ActiveLaunchPlanRequest. + * @implements IActiveLaunchPlanRequest * @constructor - * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set */ - function ExecutionQueueAttributes(properties) { - this.tags = []; + function ActiveLaunchPlanRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32020,65 +33117,62 @@ } /** - * ExecutionQueueAttributes tags. - * @member {Array.} tags - * @memberof flyteidl.admin.ExecutionQueueAttributes + * ActiveLaunchPlanRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @instance */ - ExecutionQueueAttributes.prototype.tags = $util.emptyArray; + ActiveLaunchPlanRequest.prototype.id = null; /** - * Creates a new ExecutionQueueAttributes instance using the specified properties. + * Creates a new ActiveLaunchPlanRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static - * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes instance + * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest instance */ - ExecutionQueueAttributes.create = function create(properties) { - return new ExecutionQueueAttributes(properties); + ActiveLaunchPlanRequest.create = function create(properties) { + return new ActiveLaunchPlanRequest(properties); }; /** - * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. + * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static - * @param {flyteidl.admin.IExecutionQueueAttributes} message ExecutionQueueAttributes 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 */ - ExecutionQueueAttributes.encode = function encode(message, writer) { + ActiveLaunchPlanRequest.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.id != null && message.hasOwnProperty("id")) + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @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.ExecutionQueueAttributes} ExecutionQueueAttributes + * @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 */ - ExecutionQueueAttributes.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.ExecutionQueueAttributes(); + 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: - if (!(message.tags && message.tags.length)) - message.tags = []; - message.tags.push(reader.string()); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -32089,47 +33183,49 @@ }; /** - * Verifies an ExecutionQueueAttributes message. + * Verifies an ActiveLaunchPlanRequest message. * @function verify - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @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 */ - ExecutionQueueAttributes.verify = function verify(message) { + ActiveLaunchPlanRequest.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.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); + if (error) + return "id." + error; } return null; }; - return ExecutionQueueAttributes; + return ActiveLaunchPlanRequest; })(); - admin.ExecutionClusterLabel = (function() { + admin.ActiveLaunchPlanListRequest = (function() { /** - * Properties of an ExecutionClusterLabel. + * Properties of an ActiveLaunchPlanListRequest. * @memberof flyteidl.admin - * @interface IExecutionClusterLabel - * @property {string|null} [value] ExecutionClusterLabel value + * @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 */ /** - * Constructs a new ExecutionClusterLabel. + * Constructs a new ActiveLaunchPlanListRequest. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionClusterLabel. - * @implements IExecutionClusterLabel + * @classdesc Represents an ActiveLaunchPlanListRequest. + * @implements IActiveLaunchPlanListRequest * @constructor - * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set + * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set */ - function ExecutionClusterLabel(properties) { + function ActiveLaunchPlanListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32137,62 +33233,114 @@ } /** - * ExecutionClusterLabel value. - * @member {string} value - * @memberof flyteidl.admin.ExecutionClusterLabel + * ActiveLaunchPlanListRequest project. + * @member {string} project + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - ExecutionClusterLabel.prototype.value = ""; + ActiveLaunchPlanListRequest.prototype.project = ""; /** - * Creates a new ExecutionClusterLabel 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; + + /** + * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static - * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel instance + * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest instance */ - ExecutionClusterLabel.create = function create(properties) { - return new ExecutionClusterLabel(properties); + ActiveLaunchPlanListRequest.create = function create(properties) { + return new ActiveLaunchPlanListRequest(properties); }; /** - * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. + * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static - * @param {flyteidl.admin.IExecutionClusterLabel} message ExecutionClusterLabel 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 */ - ExecutionClusterLabel.encode = function encode(message, writer) { + ActiveLaunchPlanListRequest.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.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(); return writer; }; /** - * Decodes an ExecutionClusterLabel message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionClusterLabel + * @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.ExecutionClusterLabel} ExecutionClusterLabel + * @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 */ - ExecutionClusterLabel.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.ExecutionClusterLabel(); + 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: - message.value = 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; default: reader.skipType(tag & 7); @@ -32203,46 +33351,74 @@ }; /** - * Verifies an ExecutionClusterLabel message. + * Verifies an ActiveLaunchPlanListRequest message. * @function verify - * @memberof flyteidl.admin.ExecutionClusterLabel + * @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 */ - ExecutionClusterLabel.verify = function verify(message) { + ActiveLaunchPlanListRequest.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.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; + } return null; }; - return ExecutionClusterLabel; + return ActiveLaunchPlanListRequest; })(); - admin.PluginOverride = (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 a PluginOverride. + * Properties of a FixedRate. * @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 IFixedRate + * @property {number|null} [value] FixedRate value + * @property {flyteidl.admin.FixedRateUnit|null} [unit] FixedRate unit */ /** - * Constructs a new PluginOverride. + * Constructs a new FixedRate. * @memberof flyteidl.admin - * @classdesc Represents a PluginOverride. - * @implements IPluginOverride + * @classdesc Represents a FixedRate. + * @implements IFixedRate * @constructor - * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set + * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set */ - function PluginOverride(properties) { - this.pluginId = []; + function FixedRate(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32250,91 +33426,75 @@ } /** - * PluginOverride taskType. - * @member {string} taskType - * @memberof flyteidl.admin.PluginOverride - * @instance - */ - PluginOverride.prototype.taskType = ""; - - /** - * PluginOverride pluginId. - * @member {Array.} pluginId - * @memberof flyteidl.admin.PluginOverride + * FixedRate value. + * @member {number} value + * @memberof flyteidl.admin.FixedRate * @instance */ - PluginOverride.prototype.pluginId = $util.emptyArray; + FixedRate.prototype.value = 0; /** - * PluginOverride missingPluginBehavior. - * @member {flyteidl.admin.PluginOverride.MissingPluginBehavior} missingPluginBehavior - * @memberof flyteidl.admin.PluginOverride + * FixedRate unit. + * @member {flyteidl.admin.FixedRateUnit} unit + * @memberof flyteidl.admin.FixedRate * @instance */ - PluginOverride.prototype.missingPluginBehavior = 0; + FixedRate.prototype.unit = 0; /** - * Creates a new PluginOverride instance using the specified properties. + * Creates a new FixedRate instance using the specified properties. * @function create - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.FixedRate * @static - * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set - * @returns {flyteidl.admin.PluginOverride} PluginOverride instance + * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set + * @returns {flyteidl.admin.FixedRate} FixedRate instance */ - PluginOverride.create = function create(properties) { - return new PluginOverride(properties); + FixedRate.create = function create(properties) { + return new FixedRate(properties); }; /** - * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. + * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.FixedRate * @static - * @param {flyteidl.admin.IPluginOverride} message PluginOverride 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 */ - PluginOverride.encode = function encode(message, writer) { + FixedRate.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.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 a PluginOverride message from the specified reader or buffer. + * Decodes a FixedRate message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PluginOverride + * @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.PluginOverride} PluginOverride + * @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 */ - PluginOverride.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.PluginOverride(); + 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: - message.taskType = reader.string(); + message.value = reader.uint32(); break; case 2: - if (!(message.pluginId && message.pluginId.length)) - message.pluginId = []; - message.pluginId.push(reader.string()); - break; - case 4: - message.missingPluginBehavior = reader.int32(); + message.unit = reader.int32(); break; default: reader.skipType(tag & 7); @@ -32345,73 +33505,53 @@ }; /** - * Verifies a PluginOverride message. + * Verifies a FixedRate message. * @function verify - * @memberof flyteidl.admin.PluginOverride + * @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 */ - PluginOverride.verify = function verify(message) { + FixedRate.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"; - } - if (message.missingPluginBehavior != null && message.hasOwnProperty("missingPluginBehavior")) - switch (message.missingPluginBehavior) { + 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 "missingPluginBehavior: enum value expected"; + return "unit: enum value expected"; case 0: case 1: + case 2: break; } 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 FixedRate; })(); - admin.PluginOverrides = (function() { + admin.CronSchedule = (function() { /** - * Properties of a PluginOverrides. + * Properties of a CronSchedule. * @memberof flyteidl.admin - * @interface IPluginOverrides - * @property {Array.|null} [overrides] PluginOverrides overrides + * @interface ICronSchedule + * @property {string|null} [schedule] CronSchedule schedule + * @property {string|null} [offset] CronSchedule offset */ /** - * Constructs a new PluginOverrides. + * Constructs a new CronSchedule. * @memberof flyteidl.admin - * @classdesc Represents a PluginOverrides. - * @implements IPluginOverrides + * @classdesc Represents a CronSchedule. + * @implements ICronSchedule * @constructor - * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set + * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set */ - function PluginOverrides(properties) { - this.overrides = []; + function CronSchedule(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32419,65 +33559,75 @@ } /** - * PluginOverrides overrides. - * @member {Array.} overrides - * @memberof flyteidl.admin.PluginOverrides + * CronSchedule schedule. + * @member {string} schedule + * @memberof flyteidl.admin.CronSchedule * @instance */ - PluginOverrides.prototype.overrides = $util.emptyArray; + CronSchedule.prototype.schedule = ""; /** - * Creates a new PluginOverrides 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.PluginOverrides + * @memberof flyteidl.admin.CronSchedule * @static - * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set - * @returns {flyteidl.admin.PluginOverrides} PluginOverrides instance + * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set + * @returns {flyteidl.admin.CronSchedule} CronSchedule instance */ - PluginOverrides.create = function create(properties) { - return new PluginOverrides(properties); + CronSchedule.create = function create(properties) { + return new CronSchedule(properties); }; /** - * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. + * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PluginOverrides + * @memberof flyteidl.admin.CronSchedule * @static - * @param {flyteidl.admin.IPluginOverrides} message PluginOverrides 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 */ - PluginOverrides.encode = function encode(message, writer) { + CronSchedule.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.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 a PluginOverrides message from the specified reader or buffer. + * Decodes a CronSchedule message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PluginOverrides + * @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.PluginOverrides} PluginOverrides + * @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 */ - PluginOverrides.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.PluginOverrides(); + 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: - if (!(message.overrides && message.overrides.length)) - message.overrides = []; - message.overrides.push($root.flyteidl.admin.PluginOverride.decode(reader, reader.uint32())); + message.schedule = reader.string(); + break; + case 2: + message.offset = reader.string(); break; default: reader.skipType(tag & 7); @@ -32488,56 +33638,49 @@ }; /** - * Verifies a PluginOverrides message. + * Verifies a CronSchedule message. * @function verify - * @memberof flyteidl.admin.PluginOverrides + * @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 */ - PluginOverrides.verify = function verify(message) { + CronSchedule.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.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 PluginOverrides; + return CronSchedule; })(); - admin.WorkflowExecutionConfig = (function() { + admin.Schedule = (function() { /** - * Properties of a WorkflowExecutionConfig. + * Properties of a Schedule. * @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 + * @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 WorkflowExecutionConfig. + * Constructs a new Schedule. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionConfig. - * @implements IWorkflowExecutionConfig + * @classdesc Represents a Schedule. + * @implements ISchedule * @constructor - * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set + * @param {flyteidl.admin.ISchedule=} [properties] Properties to set */ - function WorkflowExecutionConfig(properties) { + function Schedule(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32545,153 +33688,115 @@ } /** - * 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 + * Schedule cronExpression. + * @member {string} cronExpression + * @memberof flyteidl.admin.Schedule * @instance */ - WorkflowExecutionConfig.prototype.rawOutputDataConfig = null; + Schedule.prototype.cronExpression = ""; /** - * WorkflowExecutionConfig labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.WorkflowExecutionConfig + * Schedule rate. + * @member {flyteidl.admin.IFixedRate|null|undefined} rate + * @memberof flyteidl.admin.Schedule * @instance */ - WorkflowExecutionConfig.prototype.labels = null; + Schedule.prototype.rate = null; /** - * WorkflowExecutionConfig annotations. - * @member {flyteidl.admin.IAnnotations|null|undefined} annotations - * @memberof flyteidl.admin.WorkflowExecutionConfig + * Schedule cronSchedule. + * @member {flyteidl.admin.ICronSchedule|null|undefined} cronSchedule + * @memberof flyteidl.admin.Schedule * @instance */ - WorkflowExecutionConfig.prototype.annotations = null; + Schedule.prototype.cronSchedule = null; /** - * WorkflowExecutionConfig interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.WorkflowExecutionConfig + * Schedule kickoffTimeInputArg. + * @member {string} kickoffTimeInputArg + * @memberof flyteidl.admin.Schedule * @instance */ - WorkflowExecutionConfig.prototype.interruptible = null; + Schedule.prototype.kickoffTimeInputArg = ""; - /** - * WorkflowExecutionConfig overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.overwriteCache = false; + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * WorkflowExecutionConfig envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.WorkflowExecutionConfig + * Schedule ScheduleExpression. + * @member {"cronExpression"|"rate"|"cronSchedule"|undefined} ScheduleExpression + * @memberof flyteidl.admin.Schedule * @instance */ - WorkflowExecutionConfig.prototype.envs = null; + Object.defineProperty(Schedule.prototype, "ScheduleExpression", { + get: $util.oneOfGetter($oneOfFields = ["cronExpression", "rate", "cronSchedule"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new WorkflowExecutionConfig instance using the specified properties. + * Creates a new Schedule instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.Schedule * @static - * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig instance + * @param {flyteidl.admin.ISchedule=} [properties] Properties to set + * @returns {flyteidl.admin.Schedule} Schedule instance */ - WorkflowExecutionConfig.create = function create(properties) { - return new WorkflowExecutionConfig(properties); + Schedule.create = function create(properties) { + return new Schedule(properties); }; /** - * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. + * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.Schedule * @static - * @param {flyteidl.admin.IWorkflowExecutionConfig} message WorkflowExecutionConfig 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 */ - WorkflowExecutionConfig.encode = function encode(message, writer) { + Schedule.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.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 WorkflowExecutionConfig message from the specified reader or buffer. + * Decodes a Schedule message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @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.WorkflowExecutionConfig} WorkflowExecutionConfig + * @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 */ - WorkflowExecutionConfig.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.WorkflowExecutionConfig(); + 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.maxParallelism = reader.int32(); + message.cronExpression = reader.string(); break; case 2: - message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); - break; - case 3: - message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); + message.rate = $root.flyteidl.admin.FixedRate.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(); + message.cronSchedule = $root.flyteidl.admin.CronSchedule.decode(reader, reader.uint32()); break; - case 8: - message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + case 3: + message.kickoffTimeInputArg = reader.string(); break; default: reader.skipType(tag & 7); @@ -32702,83 +33807,99 @@ }; /** - * Verifies a WorkflowExecutionConfig message. + * Verifies a Schedule message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @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 */ - WorkflowExecutionConfig.verify = function verify(message) { + Schedule.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; + var properties = {}; + if (message.cronExpression != null && message.hasOwnProperty("cronExpression")) { + properties.ScheduleExpression = 1; + if (!$util.isString(message.cronExpression)) + return "cronExpression: string expected"; } - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - var error = $root.google.protobuf.BoolValue.verify(message.interruptible); - if (error) - return "interruptible." + error; + 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.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.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; }; - return WorkflowExecutionConfig; + return Schedule; })(); - admin.MatchingAttributes = (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 a MatchingAttributes. + * Properties of a TaskResourceSpec. * @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 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 MatchingAttributes. + * Constructs a new TaskResourceSpec. * @memberof flyteidl.admin - * @classdesc Represents a MatchingAttributes. - * @implements IMatchingAttributes + * @classdesc Represents a TaskResourceSpec. + * @implements ITaskResourceSpec * @constructor - * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set */ - function MatchingAttributes(properties) { + function TaskResourceSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32786,167 +33907,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 + * TaskResourceSpec cpu. + * @member {string} cpu + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - MatchingAttributes.prototype.clusterResourceAttributes = null; + TaskResourceSpec.prototype.cpu = ""; /** - * MatchingAttributes executionQueueAttributes. - * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueAttributes - * @memberof flyteidl.admin.MatchingAttributes + * TaskResourceSpec gpu. + * @member {string} gpu + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - MatchingAttributes.prototype.executionQueueAttributes = null; + TaskResourceSpec.prototype.gpu = ""; /** - * MatchingAttributes executionClusterLabel. - * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel - * @memberof flyteidl.admin.MatchingAttributes + * TaskResourceSpec memory. + * @member {string} memory + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - MatchingAttributes.prototype.executionClusterLabel = null; + TaskResourceSpec.prototype.memory = ""; /** - * MatchingAttributes qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.admin.MatchingAttributes + * TaskResourceSpec storage. + * @member {string} storage + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - MatchingAttributes.prototype.qualityOfService = null; + TaskResourceSpec.prototype.storage = ""; /** - * MatchingAttributes pluginOverrides. - * @member {flyteidl.admin.IPluginOverrides|null|undefined} pluginOverrides - * @memberof flyteidl.admin.MatchingAttributes + * TaskResourceSpec ephemeralStorage. + * @member {string} ephemeralStorage + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - MatchingAttributes.prototype.pluginOverrides = null; + TaskResourceSpec.prototype.ephemeralStorage = ""; /** - * MatchingAttributes workflowExecutionConfig. - * @member {flyteidl.admin.IWorkflowExecutionConfig|null|undefined} workflowExecutionConfig - * @memberof flyteidl.admin.MatchingAttributes - * @instance + * Creates a new TaskResourceSpec instance using the specified properties. + * @function create + * @memberof flyteidl.admin.TaskResourceSpec + * @static + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec instance */ - MatchingAttributes.prototype.workflowExecutionConfig = null; + TaskResourceSpec.create = function create(properties) { + return new TaskResourceSpec(properties); + }; /** - * MatchingAttributes clusterAssignment. - * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.clusterAssignment = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * MatchingAttributes target. - * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"|undefined} target - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - Object.defineProperty(MatchingAttributes.prototype, "target", { - get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes", "executionClusterLabel", "qualityOfService", "pluginOverrides", "workflowExecutionConfig", "clusterAssignment"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new MatchingAttributes instance using the specified properties. - * @function create - * @memberof flyteidl.admin.MatchingAttributes - * @static - * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes instance - */ - MatchingAttributes.create = function create(properties) { - return new MatchingAttributes(properties); - }; - - /** - * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. + * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.MatchingAttributes + * @memberof flyteidl.admin.TaskResourceSpec * @static - * @param {flyteidl.admin.IMatchingAttributes} message MatchingAttributes 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 */ - MatchingAttributes.encode = function encode(message, writer) { + TaskResourceSpec.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.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 MatchingAttributes message from the specified reader or buffer. + * Decodes a TaskResourceSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.MatchingAttributes + * @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.MatchingAttributes} MatchingAttributes + * @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 */ - MatchingAttributes.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.MatchingAttributes(); + 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.taskResourceAttributes = $root.flyteidl.admin.TaskResourceAttributes.decode(reader, reader.uint32()); + message.cpu = reader.string(); break; case 2: - message.clusterResourceAttributes = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32()); + message.gpu = reader.string(); break; case 3: - message.executionQueueAttributes = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32()); + message.memory = reader.string(); break; case 4: - message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); + message.storage = 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.ephemeralStorage = reader.string(); break; default: reader.skipType(tag & 7); @@ -32957,123 +34025,56 @@ }; /** - * Verifies a MatchingAttributes message. + * Verifies a TaskResourceSpec message. * @function verify - * @memberof flyteidl.admin.MatchingAttributes + * @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 */ - MatchingAttributes.verify = function verify(message) { + TaskResourceSpec.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.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.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 MatchingAttributes; + return TaskResourceSpec; })(); - admin.MatchableAttributesConfiguration = (function() { + admin.TaskResourceAttributes = (function() { /** - * Properties of a MatchableAttributesConfiguration. + * Properties of a TaskResourceAttributes. * @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 + * @interface ITaskResourceAttributes + * @property {flyteidl.admin.ITaskResourceSpec|null} [defaults] TaskResourceAttributes defaults + * @property {flyteidl.admin.ITaskResourceSpec|null} [limits] TaskResourceAttributes limits */ /** - * Constructs a new MatchableAttributesConfiguration. + * Constructs a new TaskResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents a MatchableAttributesConfiguration. - * @implements IMatchableAttributesConfiguration + * @classdesc Represents a TaskResourceAttributes. + * @implements ITaskResourceAttributes * @constructor - * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set */ - function MatchableAttributesConfiguration(properties) { + function TaskResourceAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33081,114 +34082,75 @@ } /** - * 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 - * @instance - */ - MatchableAttributesConfiguration.prototype.project = ""; - - /** - * MatchableAttributesConfiguration workflow. - * @member {string} workflow - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * TaskResourceAttributes defaults. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} defaults + * @memberof flyteidl.admin.TaskResourceAttributes * @instance */ - MatchableAttributesConfiguration.prototype.workflow = ""; + TaskResourceAttributes.prototype.defaults = null; /** - * MatchableAttributesConfiguration launchPlan. - * @member {string} launchPlan - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * TaskResourceAttributes limits. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} limits + * @memberof flyteidl.admin.TaskResourceAttributes * @instance */ - MatchableAttributesConfiguration.prototype.launchPlan = ""; + TaskResourceAttributes.prototype.limits = null; /** - * Creates a new MatchableAttributesConfiguration instance using the specified properties. + * Creates a new TaskResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set - * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration instance + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes instance */ - MatchableAttributesConfiguration.create = function create(properties) { - return new MatchableAttributesConfiguration(properties); + TaskResourceAttributes.create = function create(properties) { + return new TaskResourceAttributes(properties); }; /** - * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. + * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.IMatchableAttributesConfiguration} message MatchableAttributesConfiguration 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 */ - MatchableAttributesConfiguration.encode = function encode(message, writer) { + TaskResourceAttributes.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.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 a MatchableAttributesConfiguration message from the specified reader or buffer. + * Decodes a TaskResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @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.MatchableAttributesConfiguration} MatchableAttributesConfiguration + * @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 */ - MatchableAttributesConfiguration.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.MatchableAttributesConfiguration(); + 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.attributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + message.defaults = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); break; case 2: - 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(); + message.limits = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -33199,57 +34161,51 @@ }; /** - * Verifies a MatchableAttributesConfiguration message. + * Verifies a TaskResourceAttributes message. * @function verify - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @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 */ - MatchableAttributesConfiguration.verify = function verify(message) { + TaskResourceAttributes.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.defaults != null && message.hasOwnProperty("defaults")) { + var error = $root.flyteidl.admin.TaskResourceSpec.verify(message.defaults); if (error) - return "attributes." + error; + return "defaults." + error; + } + if (message.limits != null && message.hasOwnProperty("limits")) { + var error = $root.flyteidl.admin.TaskResourceSpec.verify(message.limits); + if (error) + return "limits." + 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"; return null; }; - return MatchableAttributesConfiguration; + return TaskResourceAttributes; })(); - admin.ListMatchableAttributesRequest = (function() { + admin.ClusterResourceAttributes = (function() { /** - * Properties of a ListMatchableAttributesRequest. + * Properties of a ClusterResourceAttributes. * @memberof flyteidl.admin - * @interface IListMatchableAttributesRequest - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ListMatchableAttributesRequest resourceType + * @interface IClusterResourceAttributes + * @property {Object.|null} [attributes] ClusterResourceAttributes attributes */ /** - * Constructs a new ListMatchableAttributesRequest. + * Constructs a new ClusterResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents a ListMatchableAttributesRequest. - * @implements IListMatchableAttributesRequest + * @classdesc Represents a ClusterResourceAttributes. + * @implements IClusterResourceAttributes * @constructor - * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set */ - function ListMatchableAttributesRequest(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) @@ -33257,62 +34213,68 @@ } /** - * ListMatchableAttributesRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * ClusterResourceAttributes attributes. + * @member {Object.} attributes + * @memberof flyteidl.admin.ClusterResourceAttributes * @instance */ - ListMatchableAttributesRequest.prototype.resourceType = 0; + ClusterResourceAttributes.prototype.attributes = $util.emptyObject; /** - * Creates a new ListMatchableAttributesRequest instance using the specified properties. + * Creates a new ClusterResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest instance + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes instance */ - ListMatchableAttributesRequest.create = function create(properties) { - return new ListMatchableAttributesRequest(properties); + ClusterResourceAttributes.create = function create(properties) { + return new ClusterResourceAttributes(properties); }; /** - * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. + * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.IListMatchableAttributesRequest} message ListMatchableAttributesRequest 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 */ - ListMatchableAttributesRequest.encode = function encode(message, writer) { + ClusterResourceAttributes.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.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 a ListMatchableAttributesRequest message from the specified reader or buffer. + * Decodes a ClusterResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @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.ListMatchableAttributesRequest} ListMatchableAttributesRequest + * @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 */ - ListMatchableAttributesRequest.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.ListMatchableAttributesRequest(); + 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.resourceType = reader.int32(); + 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); @@ -33323,55 +34285,49 @@ }; /** - * Verifies a ListMatchableAttributesRequest message. + * Verifies a ClusterResourceAttributes message. * @function verify - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @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 */ - ListMatchableAttributesRequest.verify = function verify(message) { + ClusterResourceAttributes.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.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 ListMatchableAttributesRequest; + return ClusterResourceAttributes; })(); - admin.ListMatchableAttributesResponse = (function() { + admin.ExecutionQueueAttributes = (function() { /** - * Properties of a ListMatchableAttributesResponse. + * Properties of an ExecutionQueueAttributes. * @memberof flyteidl.admin - * @interface IListMatchableAttributesResponse - * @property {Array.|null} [configurations] ListMatchableAttributesResponse configurations + * @interface IExecutionQueueAttributes + * @property {Array.|null} [tags] ExecutionQueueAttributes tags */ /** - * Constructs a new ListMatchableAttributesResponse. + * Constructs a new ExecutionQueueAttributes. * @memberof flyteidl.admin - * @classdesc Represents a ListMatchableAttributesResponse. - * @implements IListMatchableAttributesResponse + * @classdesc Represents an ExecutionQueueAttributes. + * @implements IExecutionQueueAttributes * @constructor - * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set */ - function ListMatchableAttributesResponse(properties) { - this.configurations = []; + function ExecutionQueueAttributes(properties) { + this.tags = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33379,65 +34335,65 @@ } /** - * ListMatchableAttributesResponse configurations. - * @member {Array.} configurations - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * ExecutionQueueAttributes tags. + * @member {Array.} tags + * @memberof flyteidl.admin.ExecutionQueueAttributes * @instance */ - ListMatchableAttributesResponse.prototype.configurations = $util.emptyArray; + ExecutionQueueAttributes.prototype.tags = $util.emptyArray; /** - * Creates a new ListMatchableAttributesResponse instance using the specified properties. + * Creates a new ExecutionQueueAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse instance + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes instance */ - ListMatchableAttributesResponse.create = function create(properties) { - return new ListMatchableAttributesResponse(properties); + ExecutionQueueAttributes.create = function create(properties) { + return new ExecutionQueueAttributes(properties); }; /** - * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. + * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.IListMatchableAttributesResponse} message ListMatchableAttributesResponse 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 */ - ListMatchableAttributesResponse.encode = function encode(message, writer) { + ExecutionQueueAttributes.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.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 ListMatchableAttributesResponse message from the specified reader or buffer. + * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @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.ListMatchableAttributesResponse} ListMatchableAttributesResponse + * @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 */ - ListMatchableAttributesResponse.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.ListMatchableAttributesResponse(); + 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: - if (!(message.configurations && message.configurations.length)) - message.configurations = []; - message.configurations.push($root.flyteidl.admin.MatchableAttributesConfiguration.decode(reader, reader.uint32())); + if (!(message.tags && message.tags.length)) + message.tags = []; + message.tags.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -33448,49 +34404,47 @@ }; /** - * Verifies a ListMatchableAttributesResponse message. + * Verifies an ExecutionQueueAttributes message. * @function verify - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @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 */ - ListMatchableAttributesResponse.verify = function verify(message) { + ExecutionQueueAttributes.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 (error) - return "configurations." + 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 ListMatchableAttributesResponse; + return ExecutionQueueAttributes; })(); - admin.NodeExecutionGetRequest = (function() { + admin.ExecutionClusterLabel = (function() { /** - * Properties of a NodeExecutionGetRequest. + * Properties of an ExecutionClusterLabel. * @memberof flyteidl.admin - * @interface INodeExecutionGetRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetRequest id + * @interface IExecutionClusterLabel + * @property {string|null} [value] ExecutionClusterLabel value */ /** - * Constructs a new NodeExecutionGetRequest. + * Constructs a new ExecutionClusterLabel. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetRequest. - * @implements INodeExecutionGetRequest + * @classdesc Represents an ExecutionClusterLabel. + * @implements IExecutionClusterLabel * @constructor - * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set */ - function NodeExecutionGetRequest(properties) { + function ExecutionClusterLabel(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33498,62 +34452,62 @@ } /** - * NodeExecutionGetRequest id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecutionGetRequest + * ExecutionClusterLabel value. + * @member {string} value + * @memberof flyteidl.admin.ExecutionClusterLabel * @instance */ - NodeExecutionGetRequest.prototype.id = null; + ExecutionClusterLabel.prototype.value = ""; /** - * Creates a new NodeExecutionGetRequest instance using the specified properties. + * Creates a new ExecutionClusterLabel instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.ExecutionClusterLabel * @static - * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest instance + * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel instance */ - NodeExecutionGetRequest.create = function create(properties) { - return new NodeExecutionGetRequest(properties); + ExecutionClusterLabel.create = function create(properties) { + return new ExecutionClusterLabel(properties); }; /** - * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. + * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.ExecutionClusterLabel * @static - * @param {flyteidl.admin.INodeExecutionGetRequest} message NodeExecutionGetRequest 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 */ - NodeExecutionGetRequest.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.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); return writer; }; /** - * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. + * Decodes an ExecutionClusterLabel message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @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.NodeExecutionGetRequest} NodeExecutionGetRequest + * @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 */ - NodeExecutionGetRequest.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.NodeExecutionGetRequest(); + 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.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.value = reader.string(); break; default: reader.skipType(tag & 7); @@ -33564,50 +34518,46 @@ }; /** - * Verifies a NodeExecutionGetRequest message. + * Verifies an ExecutionClusterLabel message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @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 */ - NodeExecutionGetRequest.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.NodeExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; return null; }; - return NodeExecutionGetRequest; + return ExecutionClusterLabel; })(); - admin.NodeExecutionListRequest = (function() { + admin.PluginOverride = (function() { /** - * Properties of a NodeExecutionListRequest. + * Properties of a PluginOverride. * @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 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 NodeExecutionListRequest. + * Constructs a new PluginOverride. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionListRequest. - * @implements INodeExecutionListRequest + * @classdesc Represents a PluginOverride. + * @implements IPluginOverride * @constructor - * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set */ - function NodeExecutionListRequest(properties) { + function PluginOverride(properties) { + this.pluginId = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33615,127 +34565,91 @@ } /** - * 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 + * PluginOverride taskType. + * @member {string} taskType + * @memberof flyteidl.admin.PluginOverride * @instance */ - NodeExecutionListRequest.prototype.filters = ""; + PluginOverride.prototype.taskType = ""; /** - * NodeExecutionListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NodeExecutionListRequest + * PluginOverride pluginId. + * @member {Array.} pluginId + * @memberof flyteidl.admin.PluginOverride * @instance */ - NodeExecutionListRequest.prototype.sortBy = null; + PluginOverride.prototype.pluginId = $util.emptyArray; /** - * NodeExecutionListRequest uniqueParentId. - * @member {string} uniqueParentId - * @memberof flyteidl.admin.NodeExecutionListRequest + * PluginOverride missingPluginBehavior. + * @member {flyteidl.admin.PluginOverride.MissingPluginBehavior} missingPluginBehavior + * @memberof flyteidl.admin.PluginOverride * @instance */ - NodeExecutionListRequest.prototype.uniqueParentId = ""; + PluginOverride.prototype.missingPluginBehavior = 0; /** - * Creates a new NodeExecutionListRequest instance using the specified properties. + * Creates a new PluginOverride instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.PluginOverride * @static - * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest instance + * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set + * @returns {flyteidl.admin.PluginOverride} PluginOverride instance */ - NodeExecutionListRequest.create = function create(properties) { - return new NodeExecutionListRequest(properties); + PluginOverride.create = function create(properties) { + return new PluginOverride(properties); }; /** - * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. + * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.PluginOverride * @static - * @param {flyteidl.admin.INodeExecutionListRequest} message NodeExecutionListRequest 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 */ - NodeExecutionListRequest.encode = function encode(message, writer) { + PluginOverride.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); + 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 a NodeExecutionListRequest message from the specified reader or buffer. + * Decodes a PluginOverride message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionListRequest + * @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.NodeExecutionListRequest} NodeExecutionListRequest + * @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 */ - NodeExecutionListRequest.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.NodeExecutionListRequest(); + 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: - message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.taskType = reader.string(); break; case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); + if (!(message.pluginId && message.pluginId.length)) + message.pluginId = []; + message.pluginId.push(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(); + message.missingPluginBehavior = reader.int32(); break; default: reader.skipType(tag & 7); @@ -33746,66 +34660,73 @@ }; /** - * Verifies a NodeExecutionListRequest message. + * Verifies a PluginOverride message. * @function verify - * @memberof flyteidl.admin.NodeExecutionListRequest + * @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 */ - NodeExecutionListRequest.verify = function verify(message) { + PluginOverride.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.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.uniqueParentId != null && message.hasOwnProperty("uniqueParentId")) - if (!$util.isString(message.uniqueParentId)) - return "uniqueParentId: 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 NodeExecutionListRequest; + /** + * 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.NodeExecutionForTaskListRequest = (function() { + admin.PluginOverrides = (function() { /** - * Properties of a NodeExecutionForTaskListRequest. + * Properties of a PluginOverrides. * @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 IPluginOverrides + * @property {Array.|null} [overrides] PluginOverrides overrides */ /** - * Constructs a new NodeExecutionForTaskListRequest. + * Constructs a new PluginOverrides. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionForTaskListRequest. - * @implements INodeExecutionForTaskListRequest + * @classdesc Represents a PluginOverrides. + * @implements IPluginOverrides * @constructor - * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set */ - function NodeExecutionForTaskListRequest(properties) { + function PluginOverrides(properties) { + this.overrides = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33813,114 +34734,65 @@ } /** - * 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 + * PluginOverrides overrides. + * @member {Array.} overrides + * @memberof flyteidl.admin.PluginOverrides * @instance */ - NodeExecutionForTaskListRequest.prototype.sortBy = null; + PluginOverrides.prototype.overrides = $util.emptyArray; /** - * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. + * Creates a new PluginOverrides instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.PluginOverrides * @static - * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest instance + * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set + * @returns {flyteidl.admin.PluginOverrides} PluginOverrides instance */ - NodeExecutionForTaskListRequest.create = function create(properties) { - return new NodeExecutionForTaskListRequest(properties); + PluginOverrides.create = function create(properties) { + return new PluginOverrides(properties); }; /** - * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. + * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.PluginOverrides * @static - * @param {flyteidl.admin.INodeExecutionForTaskListRequest} message NodeExecutionForTaskListRequest 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 */ - NodeExecutionForTaskListRequest.encode = function encode(message, writer) { + PluginOverrides.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(); + 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 NodeExecutionForTaskListRequest message from the specified reader or buffer. + * Decodes a PluginOverrides message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @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.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest + * @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 */ - NodeExecutionForTaskListRequest.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.NodeExecutionForTaskListRequest(); + 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.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()); + 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); @@ -33931,62 +34803,56 @@ }; /** - * Verifies a NodeExecutionForTaskListRequest message. + * Verifies a PluginOverrides message. * @function verify - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @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 */ - NodeExecutionForTaskListRequest.verify = function verify(message) { + PluginOverrides.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; + 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; + } } return null; }; - return NodeExecutionForTaskListRequest; + return PluginOverrides; })(); - admin.NodeExecution = (function() { + admin.WorkflowExecutionConfig = (function() { /** - * Properties of a NodeExecution. + * Properties of a WorkflowExecutionConfig. * @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 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 */ /** - * Constructs a new NodeExecution. + * Constructs a new WorkflowExecutionConfig. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecution. - * @implements INodeExecution + * @classdesc Represents a WorkflowExecutionConfig. + * @implements IWorkflowExecutionConfig * @constructor - * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set */ - function NodeExecution(properties) { + function WorkflowExecutionConfig(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33994,101 +34860,153 @@ } /** - * NodeExecution id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecution + * WorkflowExecutionConfig maxParallelism. + * @member {number} maxParallelism + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - NodeExecution.prototype.id = null; + WorkflowExecutionConfig.prototype.maxParallelism = 0; /** - * NodeExecution inputUri. - * @member {string} inputUri - * @memberof flyteidl.admin.NodeExecution + * WorkflowExecutionConfig securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - NodeExecution.prototype.inputUri = ""; + WorkflowExecutionConfig.prototype.securityContext = null; /** - * NodeExecution closure. - * @member {flyteidl.admin.INodeExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.NodeExecution - * @instance - */ - NodeExecution.prototype.closure = null; + * WorkflowExecutionConfig rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.rawOutputDataConfig = null; /** - * NodeExecution metadata. - * @member {flyteidl.admin.INodeExecutionMetaData|null|undefined} metadata - * @memberof flyteidl.admin.NodeExecution + * WorkflowExecutionConfig labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - NodeExecution.prototype.metadata = null; + WorkflowExecutionConfig.prototype.labels = null; /** - * Creates a new NodeExecution instance using the specified properties. + * 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; + + /** + * Creates a new WorkflowExecutionConfig instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static - * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecution} NodeExecution instance + * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig instance */ - NodeExecution.create = function create(properties) { - return new NodeExecution(properties); + WorkflowExecutionConfig.create = function create(properties) { + return new WorkflowExecutionConfig(properties); }; /** - * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. + * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static - * @param {flyteidl.admin.INodeExecution} message NodeExecution 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 */ - NodeExecution.encode = function encode(message, writer) { + WorkflowExecutionConfig.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(); + 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(); return writer; }; /** - * Decodes a NodeExecution message from the specified reader or buffer. + * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecution + * @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.NodeExecution} NodeExecution + * @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 */ - NodeExecution.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.NodeExecution(); + 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.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.maxParallelism = reader.int32(); break; case 2: - message.inputUri = reader.string(); + message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); break; case 3: - message.closure = $root.flyteidl.admin.NodeExecutionClosure.decode(reader, reader.uint32()); + message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); break; case 4: - message.metadata = $root.flyteidl.admin.NodeExecutionMetaData.decode(reader, reader.uint32()); + 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; default: reader.skipType(tag & 7); @@ -34099,62 +35017,83 @@ }; /** - * Verifies a NodeExecution message. + * Verifies a WorkflowExecutionConfig message. * @function verify - * @memberof flyteidl.admin.NodeExecution + * @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 */ - NodeExecution.verify = function verify(message) { + WorkflowExecutionConfig.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.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 "id." + error; + return "securityContext." + 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 (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { + var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); if (error) - return "closure." + error; + return "rawOutputDataConfig." + error; } - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.admin.NodeExecutionMetaData.verify(message.metadata); + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); if (error) - return "metadata." + 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; } return null; }; - return NodeExecution; + return WorkflowExecutionConfig; })(); - admin.NodeExecutionMetaData = (function() { + admin.MatchingAttributes = (function() { /** - * Properties of a NodeExecutionMetaData. + * Properties of a MatchingAttributes. * @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 + * @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 NodeExecutionMetaData. + * Constructs a new MatchingAttributes. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionMetaData. - * @implements INodeExecutionMetaData + * @classdesc Represents a MatchingAttributes. + * @implements IMatchingAttributes * @constructor - * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set */ - function NodeExecutionMetaData(properties) { + function MatchingAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34162,114 +35101,167 @@ } /** - * NodeExecutionMetaData retryGroup. - * @member {string} retryGroup - * @memberof flyteidl.admin.NodeExecutionMetaData + * MatchingAttributes taskResourceAttributes. + * @member {flyteidl.admin.ITaskResourceAttributes|null|undefined} taskResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - NodeExecutionMetaData.prototype.retryGroup = ""; + MatchingAttributes.prototype.taskResourceAttributes = null; /** - * NodeExecutionMetaData isParentNode. - * @member {boolean} isParentNode - * @memberof flyteidl.admin.NodeExecutionMetaData + * MatchingAttributes clusterResourceAttributes. + * @member {flyteidl.admin.IClusterResourceAttributes|null|undefined} clusterResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - NodeExecutionMetaData.prototype.isParentNode = false; + MatchingAttributes.prototype.clusterResourceAttributes = null; /** - * NodeExecutionMetaData specNodeId. - * @member {string} specNodeId - * @memberof flyteidl.admin.NodeExecutionMetaData + * MatchingAttributes executionQueueAttributes. + * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - NodeExecutionMetaData.prototype.specNodeId = ""; + MatchingAttributes.prototype.executionQueueAttributes = null; /** - * NodeExecutionMetaData isDynamic. - * @member {boolean} isDynamic - * @memberof flyteidl.admin.NodeExecutionMetaData + * MatchingAttributes executionClusterLabel. + * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - NodeExecutionMetaData.prototype.isDynamic = false; + MatchingAttributes.prototype.executionClusterLabel = null; /** - * NodeExecutionMetaData isArray. - * @member {boolean} isArray - * @memberof flyteidl.admin.NodeExecutionMetaData + * MatchingAttributes qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - NodeExecutionMetaData.prototype.isArray = false; + MatchingAttributes.prototype.qualityOfService = null; /** - * Creates a new NodeExecutionMetaData instance using the specified properties. + * MatchingAttributes pluginOverrides. + * @member {flyteidl.admin.IPluginOverrides|null|undefined} pluginOverrides + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + MatchingAttributes.prototype.pluginOverrides = null; + + /** + * MatchingAttributes workflowExecutionConfig. + * @member {flyteidl.admin.IWorkflowExecutionConfig|null|undefined} workflowExecutionConfig + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + MatchingAttributes.prototype.workflowExecutionConfig = null; + + /** + * MatchingAttributes clusterAssignment. + * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + MatchingAttributes.prototype.clusterAssignment = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * MatchingAttributes target. + * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"|undefined} target + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + Object.defineProperty(MatchingAttributes.prototype, "target", { + get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes", "executionClusterLabel", "qualityOfService", "pluginOverrides", "workflowExecutionConfig", "clusterAssignment"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new MatchingAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionMetaData + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionMetaData} NodeExecutionMetaData instance + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes instance */ - NodeExecutionMetaData.create = function create(properties) { - return new NodeExecutionMetaData(properties); + MatchingAttributes.create = function create(properties) { + return new MatchingAttributes(properties); }; /** - * Encodes the specified NodeExecutionMetaData message. Does not implicitly {@link flyteidl.admin.NodeExecutionMetaData.verify|verify} messages. + * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionMetaData + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.INodeExecutionMetaData} message NodeExecutionMetaData 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 */ - NodeExecutionMetaData.encode = function encode(message, writer) { + MatchingAttributes.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.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 a NodeExecutionMetaData message from the specified reader or buffer. + * Decodes a MatchingAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionMetaData + * @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.NodeExecutionMetaData} NodeExecutionMetaData + * @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 */ - NodeExecutionMetaData.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.NodeExecutionMetaData(); + 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.retryGroup = reader.string(); + message.taskResourceAttributes = $root.flyteidl.admin.TaskResourceAttributes.decode(reader, reader.uint32()); break; case 2: - message.isParentNode = reader.bool(); + message.clusterResourceAttributes = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32()); break; case 3: - message.specNodeId = reader.string(); + message.executionQueueAttributes = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32()); break; case 4: - message.isDynamic = reader.bool(); + message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); break; case 5: - message.isArray = reader.bool(); + 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()); break; default: reader.skipType(tag & 7); @@ -34280,57 +35272,123 @@ }; /** - * Verifies a NodeExecutionMetaData message. + * Verifies a MatchingAttributes message. * @function verify - * @memberof flyteidl.admin.NodeExecutionMetaData + * @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 */ - NodeExecutionMetaData.verify = function verify(message) { + MatchingAttributes.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"; + 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.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 NodeExecutionMetaData; + return MatchingAttributes; })(); - admin.NodeExecutionList = (function() { + admin.MatchableAttributesConfiguration = (function() { /** - * Properties of a NodeExecutionList. + * Properties of a MatchableAttributesConfiguration. * @memberof flyteidl.admin - * @interface INodeExecutionList - * @property {Array.|null} [nodeExecutions] NodeExecutionList nodeExecutions - * @property {string|null} [token] NodeExecutionList token + * @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 */ /** - * Constructs a new NodeExecutionList. + * Constructs a new MatchableAttributesConfiguration. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionList. - * @implements INodeExecutionList + * @classdesc Represents a MatchableAttributesConfiguration. + * @implements IMatchableAttributesConfiguration * @constructor - * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set */ - function NodeExecutionList(properties) { - this.nodeExecutions = []; + function MatchableAttributesConfiguration(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34338,78 +35396,114 @@ } /** - * NodeExecutionList nodeExecutions. - * @member {Array.} nodeExecutions - * @memberof flyteidl.admin.NodeExecutionList + * MatchableAttributesConfiguration attributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} attributes + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @instance */ - NodeExecutionList.prototype.nodeExecutions = $util.emptyArray; + MatchableAttributesConfiguration.prototype.attributes = null; /** - * NodeExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.NodeExecutionList + * MatchableAttributesConfiguration domain. + * @member {string} domain + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @instance */ - NodeExecutionList.prototype.token = ""; + MatchableAttributesConfiguration.prototype.domain = ""; /** - * Creates a new NodeExecutionList instance using the specified properties. - * @function create - * @memberof flyteidl.admin.NodeExecutionList - * @static - * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList instance + * MatchableAttributesConfiguration project. + * @member {string} project + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance */ - NodeExecutionList.create = function create(properties) { - return new NodeExecutionList(properties); - }; + MatchableAttributesConfiguration.prototype.project = ""; /** - * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.NodeExecutionList + * 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 = ""; + + /** + * Creates a new MatchableAttributesConfiguration instance using the specified properties. + * @function create + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @static - * @param {flyteidl.admin.INodeExecutionList} message NodeExecutionList message or plain object to encode + * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set + * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration instance + */ + MatchableAttributesConfiguration.create = function create(properties) { + return new MatchableAttributesConfiguration(properties); + }; + + /** + * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @static + * @param {flyteidl.admin.IMatchableAttributesConfiguration} message MatchableAttributesConfiguration message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionList.encode = function encode(message, writer) { + MatchableAttributesConfiguration.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.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); return writer; }; /** - * Decodes a NodeExecutionList message from the specified reader or buffer. + * Decodes a MatchableAttributesConfiguration message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionList + * @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.NodeExecutionList} NodeExecutionList + * @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 */ - NodeExecutionList.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.NodeExecutionList(); + 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: - if (!(message.nodeExecutions && message.nodeExecutions.length)) - message.nodeExecutions = []; - message.nodeExecutions.push($root.flyteidl.admin.NodeExecution.decode(reader, reader.uint32())); + message.attributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); break; case 2: - message.token = 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; default: reader.skipType(tag & 7); @@ -34420,63 +35514,57 @@ }; /** - * Verifies a NodeExecutionList message. + * Verifies a MatchableAttributesConfiguration message. * @function verify - * @memberof flyteidl.admin.NodeExecutionList + * @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 */ - NodeExecutionList.verify = function verify(message) { + MatchableAttributesConfiguration.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.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.MatchingAttributes.verify(message.attributes); + if (error) + return "attributes." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; + 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"; return null; }; - return NodeExecutionList; + return MatchableAttributesConfiguration; })(); - admin.NodeExecutionClosure = (function() { + admin.ListMatchableAttributesRequest = (function() { /** - * Properties of a NodeExecutionClosure. + * Properties of a ListMatchableAttributesRequest. * @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 IListMatchableAttributesRequest + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ListMatchableAttributesRequest resourceType */ /** - * Constructs a new NodeExecutionClosure. + * Constructs a new ListMatchableAttributesRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionClosure. - * @implements INodeExecutionClosure + * @classdesc Represents a ListMatchableAttributesRequest. + * @implements IListMatchableAttributesRequest * @constructor - * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set */ - function NodeExecutionClosure(properties) { + function ListMatchableAttributesRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34484,230 +35572,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 + * ListMatchableAttributesRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @instance */ - Object.defineProperty(NodeExecutionClosure.prototype, "targetMetadata", { - get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), - set: $util.oneOfSetter($oneOfFields) - }); + ListMatchableAttributesRequest.prototype.resourceType = 0; /** - * Creates a new NodeExecutionClosure instance using the specified properties. + * Creates a new ListMatchableAttributesRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static - * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure instance + * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest instance */ - NodeExecutionClosure.create = function create(properties) { - return new NodeExecutionClosure(properties); + ListMatchableAttributesRequest.create = function create(properties) { + return new ListMatchableAttributesRequest(properties); }; /** - * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. + * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static - * @param {flyteidl.admin.INodeExecutionClosure} message NodeExecutionClosure 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 */ - NodeExecutionClosure.encode = function encode(message, writer) { + ListMatchableAttributesRequest.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.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); return writer; }; /** - * Decodes a NodeExecutionClosure message from the specified reader or buffer. + * Decodes a ListMatchableAttributesRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionClosure + * @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.NodeExecutionClosure} NodeExecutionClosure + * @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 */ - NodeExecutionClosure.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.NodeExecutionClosure(); + 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.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.resourceType = reader.int32(); break; default: reader.skipType(tag & 7); @@ -34718,46 +35638,20 @@ }; /** - * Verifies a NodeExecutionClosure message. + * Verifies a ListMatchableAttributesRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionClosure + * @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 */ - NodeExecutionClosure.verify = function verify(message) { + ListMatchableAttributesRequest.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.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: @@ -34766,79 +35660,33 @@ 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 (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 NodeExecutionClosure; + return ListMatchableAttributesRequest; })(); - admin.WorkflowNodeMetadata = (function() { + admin.ListMatchableAttributesResponse = (function() { /** - * Properties of a WorkflowNodeMetadata. + * Properties of a ListMatchableAttributesResponse. * @memberof flyteidl.admin - * @interface IWorkflowNodeMetadata - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId + * @interface IListMatchableAttributesResponse + * @property {Array.|null} [configurations] ListMatchableAttributesResponse configurations */ /** - * Constructs a new WorkflowNodeMetadata. + * Constructs a new ListMatchableAttributesResponse. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowNodeMetadata. - * @implements IWorkflowNodeMetadata + * @classdesc Represents a ListMatchableAttributesResponse. + * @implements IListMatchableAttributesResponse * @constructor - * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set */ - function WorkflowNodeMetadata(properties) { + function ListMatchableAttributesResponse(properties) { + this.configurations = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34846,62 +35694,65 @@ } /** - * WorkflowNodeMetadata executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.admin.WorkflowNodeMetadata + * ListMatchableAttributesResponse configurations. + * @member {Array.} configurations + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @instance */ - WorkflowNodeMetadata.prototype.executionId = null; + ListMatchableAttributesResponse.prototype.configurations = $util.emptyArray; /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * Creates a new ListMatchableAttributesResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static - * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata instance + * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse instance */ - WorkflowNodeMetadata.create = function create(properties) { - return new WorkflowNodeMetadata(properties); + ListMatchableAttributesResponse.create = function create(properties) { + return new ListMatchableAttributesResponse(properties); }; /** - * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static - * @param {flyteidl.admin.IWorkflowNodeMetadata} message WorkflowNodeMetadata 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 */ - WorkflowNodeMetadata.encode = function encode(message, writer) { + ListMatchableAttributesResponse.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.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 WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a ListMatchableAttributesResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @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.WorkflowNodeMetadata} WorkflowNodeMetadata + * @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 */ - WorkflowNodeMetadata.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.WorkflowNodeMetadata(); + 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: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.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); @@ -34912,47 +35763,49 @@ }; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a ListMatchableAttributesResponse message. * @function verify - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @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 */ - WorkflowNodeMetadata.verify = function verify(message) { + ListMatchableAttributesResponse.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.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 "configurations." + error; + } } return null; }; - return WorkflowNodeMetadata; + return ListMatchableAttributesResponse; })(); - admin.TaskNodeMetadata = (function() { + admin.NodeExecutionGetRequest = (function() { /** - * Properties of a TaskNodeMetadata. + * Properties of a NodeExecutionGetRequest. * @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 INodeExecutionGetRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetRequest id */ /** - * Constructs a new TaskNodeMetadata. + * Constructs a new NodeExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskNodeMetadata. - * @implements ITaskNodeMetadata + * @classdesc Represents a NodeExecutionGetRequest. + * @implements INodeExecutionGetRequest * @constructor - * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set */ - function TaskNodeMetadata(properties) { + function NodeExecutionGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34960,88 +35813,62 @@ } /** - * TaskNodeMetadata cacheStatus. - * @member {flyteidl.core.CatalogCacheStatus} cacheStatus - * @memberof flyteidl.admin.TaskNodeMetadata - * @instance - */ - TaskNodeMetadata.prototype.cacheStatus = 0; - - /** - * TaskNodeMetadata catalogKey. - * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey - * @memberof flyteidl.admin.TaskNodeMetadata - * @instance - */ - TaskNodeMetadata.prototype.catalogKey = null; - - /** - * TaskNodeMetadata checkpointUri. - * @member {string} checkpointUri - * @memberof flyteidl.admin.TaskNodeMetadata + * NodeExecutionGetRequest id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecutionGetRequest * @instance */ - TaskNodeMetadata.prototype.checkpointUri = ""; + NodeExecutionGetRequest.prototype.id = null; /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * Creates a new NodeExecutionGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskNodeMetadata + * @memberof flyteidl.admin.NodeExecutionGetRequest * @static - * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.TaskNodeMetadata} TaskNodeMetadata instance + * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest instance */ - TaskNodeMetadata.create = function create(properties) { - return new TaskNodeMetadata(properties); + NodeExecutionGetRequest.create = function create(properties) { + return new NodeExecutionGetRequest(properties); }; /** - * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.admin.TaskNodeMetadata.verify|verify} messages. + * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskNodeMetadata + * @memberof flyteidl.admin.NodeExecutionGetRequest * @static - * @param {flyteidl.admin.ITaskNodeMetadata} message TaskNodeMetadata 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 */ - TaskNodeMetadata.encode = function encode(message, writer) { + NodeExecutionGetRequest.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.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 TaskNodeMetadata message from the specified reader or buffer. + * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskNodeMetadata + * @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.TaskNodeMetadata} TaskNodeMetadata + * @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 */ - TaskNodeMetadata.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.TaskNodeMetadata(); + 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: - message.cacheStatus = reader.int32(); - break; - case 2: - message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); - break; - case 4: - message.checkpointUri = reader.string(); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -35052,63 +35879,50 @@ }; /** - * Verifies a TaskNodeMetadata message. + * Verifies a NodeExecutionGetRequest message. * @function verify - * @memberof flyteidl.admin.TaskNodeMetadata + * @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 */ - TaskNodeMetadata.verify = function verify(message) { + NodeExecutionGetRequest.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: - break; - } - if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) { - var error = $root.flyteidl.core.CatalogMetadata.verify(message.catalogKey); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); if (error) - return "catalogKey." + error; + return "id." + error; } - if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) - if (!$util.isString(message.checkpointUri)) - return "checkpointUri: string expected"; return null; }; - return TaskNodeMetadata; + return NodeExecutionGetRequest; })(); - admin.DynamicWorkflowNodeMetadata = (function() { + admin.NodeExecutionListRequest = (function() { /** - * Properties of a DynamicWorkflowNodeMetadata. + * Properties of a NodeExecutionListRequest. * @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 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 DynamicWorkflowNodeMetadata. + * Constructs a new NodeExecutionListRequest. * @memberof flyteidl.admin - * @classdesc Represents a DynamicWorkflowNodeMetadata. - * @implements IDynamicWorkflowNodeMetadata + * @classdesc Represents a NodeExecutionListRequest. + * @implements INodeExecutionListRequest * @constructor - * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set */ - function DynamicWorkflowNodeMetadata(properties) { + function NodeExecutionListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35116,88 +35930,127 @@ } /** - * DynamicWorkflowNodeMetadata id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * NodeExecutionListRequest workflowExecutionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - DynamicWorkflowNodeMetadata.prototype.id = null; + NodeExecutionListRequest.prototype.workflowExecutionId = null; /** - * DynamicWorkflowNodeMetadata compiledWorkflow. - * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * NodeExecutionListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; + NodeExecutionListRequest.prototype.limit = 0; /** - * DynamicWorkflowNodeMetadata dynamicJobSpecUri. - * @member {string} dynamicJobSpecUri - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * NodeExecutionListRequest token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + NodeExecutionListRequest.prototype.token = ""; /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * 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. * @function create - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.NodeExecutionListRequest * @static - * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance + * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest instance */ - DynamicWorkflowNodeMetadata.create = function create(properties) { - return new DynamicWorkflowNodeMetadata(properties); + NodeExecutionListRequest.create = function create(properties) { + return new NodeExecutionListRequest(properties); }; /** - * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.DynamicWorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.NodeExecutionListRequest * @static - * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata} message DynamicWorkflowNodeMetadata 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 */ - DynamicWorkflowNodeMetadata.encode = function encode(message, writer) { + NodeExecutionListRequest.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.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 DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a NodeExecutionListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @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.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata + * @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 */ - DynamicWorkflowNodeMetadata.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.DynamicWorkflowNodeMetadata(); + 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.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); + message.limit = reader.uint32(); break; case 3: - message.dynamicJobSpecUri = reader.string(); + 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); @@ -35208,53 +36061,66 @@ }; /** - * Verifies a DynamicWorkflowNodeMetadata message. + * Verifies a NodeExecutionListRequest message. * @function verify - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @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 */ - DynamicWorkflowNodeMetadata.verify = function verify(message) { + NodeExecutionListRequest.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.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); if (error) - return "id." + error; + return "workflowExecutionId." + error; } - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { - var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); + 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 "compiledWorkflow." + error; + return "sortBy." + error; } - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - if (!$util.isString(message.dynamicJobSpecUri)) - return "dynamicJobSpecUri: string expected"; + if (message.uniqueParentId != null && message.hasOwnProperty("uniqueParentId")) + if (!$util.isString(message.uniqueParentId)) + return "uniqueParentId: string expected"; return null; }; - return DynamicWorkflowNodeMetadata; + return NodeExecutionListRequest; })(); - admin.NodeExecutionGetDataRequest = (function() { + admin.NodeExecutionForTaskListRequest = (function() { /** - * Properties of a NodeExecutionGetDataRequest. + * Properties of a NodeExecutionForTaskListRequest. * @memberof flyteidl.admin - * @interface INodeExecutionGetDataRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetDataRequest id + * @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 NodeExecutionGetDataRequest. + * Constructs a new NodeExecutionForTaskListRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetDataRequest. - * @implements INodeExecutionGetDataRequest + * @classdesc Represents a NodeExecutionForTaskListRequest. + * @implements INodeExecutionForTaskListRequest * @constructor - * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set */ - function NodeExecutionGetDataRequest(properties) { + function NodeExecutionForTaskListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35262,62 +36128,114 @@ } /** - * NodeExecutionGetDataRequest id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * NodeExecutionForTaskListRequest taskExecutionId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @instance */ - NodeExecutionGetDataRequest.prototype.id = null; + NodeExecutionForTaskListRequest.prototype.taskExecutionId = null; /** - * Creates a new NodeExecutionGetDataRequest instance using the specified properties. + * 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. * @function create - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest instance + * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest instance */ - NodeExecutionGetDataRequest.create = function create(properties) { - return new NodeExecutionGetDataRequest(properties); + NodeExecutionForTaskListRequest.create = function create(properties) { + return new NodeExecutionForTaskListRequest(properties); }; /** - * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataRequest} message NodeExecutionGetDataRequest 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 */ - NodeExecutionGetDataRequest.encode = function encode(message, writer) { + NodeExecutionForTaskListRequest.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.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 NodeExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @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.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest + * @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 */ - NodeExecutionGetDataRequest.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.NodeExecutionGetDataRequest(); + 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.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + 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); @@ -35328,50 +36246,62 @@ }; /** - * Verifies a NodeExecutionGetDataRequest message. + * Verifies a NodeExecutionForTaskListRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @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 */ - NodeExecutionGetDataRequest.verify = function verify(message) { + NodeExecutionForTaskListRequest.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.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); if (error) - return "id." + 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 NodeExecutionGetDataRequest; + return NodeExecutionForTaskListRequest; })(); - admin.NodeExecutionGetDataResponse = (function() { + admin.NodeExecution = (function() { /** - * Properties of a NodeExecutionGetDataResponse. + * Properties of a NodeExecution. * @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 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 NodeExecutionGetDataResponse. + * Constructs a new NodeExecution. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetDataResponse. - * @implements INodeExecutionGetDataResponse + * @classdesc Represents a NodeExecution. + * @implements INodeExecution * @constructor - * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set */ - function NodeExecutionGetDataResponse(properties) { + function NodeExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35379,127 +36309,101 @@ } /** - * NodeExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * NodeExecution id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecution * @instance */ - NodeExecutionGetDataResponse.prototype.inputs = null; + NodeExecution.prototype.id = null; /** - * NodeExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * NodeExecution inputUri. + * @member {string} inputUri + * @memberof flyteidl.admin.NodeExecution * @instance */ - NodeExecutionGetDataResponse.prototype.outputs = null; + NodeExecution.prototype.inputUri = ""; /** - * NodeExecutionGetDataResponse fullInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * NodeExecution closure. + * @member {flyteidl.admin.INodeExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.NodeExecution * @instance */ - NodeExecutionGetDataResponse.prototype.fullInputs = null; + NodeExecution.prototype.closure = null; /** - * NodeExecutionGetDataResponse fullOutputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * NodeExecution metadata. + * @member {flyteidl.admin.INodeExecutionMetaData|null|undefined} metadata + * @memberof flyteidl.admin.NodeExecution * @instance */ - NodeExecutionGetDataResponse.prototype.fullOutputs = null; + NodeExecution.prototype.metadata = 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 NodeExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.NodeExecution * @static - * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse instance + * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecution} NodeExecution instance */ - NodeExecutionGetDataResponse.create = function create(properties) { - return new NodeExecutionGetDataResponse(properties); + NodeExecution.create = function create(properties) { + return new NodeExecution(properties); }; /** - * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.NodeExecution * @static - * @param {flyteidl.admin.INodeExecutionGetDataResponse} message NodeExecutionGetDataResponse 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 */ - NodeExecutionGetDataResponse.encode = function encode(message, writer) { + NodeExecution.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(); + 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 NodeExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a NodeExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @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.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse + * @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 */ - NodeExecutionGetDataResponse.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.NodeExecutionGetDataResponse(); + 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.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.inputUri = reader.string(); break; case 3: - message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.closure = $root.flyteidl.admin.NodeExecutionClosure.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()); + message.metadata = $root.flyteidl.admin.NodeExecutionMetaData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -35510,74 +36414,62 @@ }; /** - * Verifies a NodeExecutionGetDataResponse message. + * Verifies a NodeExecution message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @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 */ - NodeExecutionGetDataResponse.verify = function verify(message) { + NodeExecution.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); if (error) - return "fullOutputs." + error; + return "id." + error; } - if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) { - var error = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.verify(message.dynamicWorkflow); + 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 "dynamicWorkflow." + error; + return "closure." + error; } - if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) { - var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls); + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.NodeExecutionMetaData.verify(message.metadata); if (error) - return "flyteUrls." + error; + return "metadata." + error; } return null; }; - return NodeExecutionGetDataResponse; + return NodeExecution; })(); - admin.EmailMessage = (function() { + admin.NodeExecutionMetaData = (function() { /** - * Properties of an EmailMessage. + * Properties of a NodeExecutionMetaData. * @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 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 */ /** - * Constructs a new EmailMessage. + * Constructs a new NodeExecutionMetaData. * @memberof flyteidl.admin - * @classdesc Represents an EmailMessage. - * @implements IEmailMessage + * @classdesc Represents a NodeExecutionMetaData. + * @implements INodeExecutionMetaData * @constructor - * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set */ - function EmailMessage(properties) { - this.recipientsEmail = []; + function NodeExecutionMetaData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35585,104 +36477,114 @@ } /** - * EmailMessage recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.EmailMessage + * NodeExecutionMetaData retryGroup. + * @member {string} retryGroup + * @memberof flyteidl.admin.NodeExecutionMetaData * @instance */ - EmailMessage.prototype.recipientsEmail = $util.emptyArray; + NodeExecutionMetaData.prototype.retryGroup = ""; /** - * EmailMessage senderEmail. - * @member {string} senderEmail - * @memberof flyteidl.admin.EmailMessage + * NodeExecutionMetaData isParentNode. + * @member {boolean} isParentNode + * @memberof flyteidl.admin.NodeExecutionMetaData * @instance */ - EmailMessage.prototype.senderEmail = ""; + NodeExecutionMetaData.prototype.isParentNode = false; /** - * EmailMessage subjectLine. - * @member {string} subjectLine - * @memberof flyteidl.admin.EmailMessage + * NodeExecutionMetaData specNodeId. + * @member {string} specNodeId + * @memberof flyteidl.admin.NodeExecutionMetaData * @instance */ - EmailMessage.prototype.subjectLine = ""; + NodeExecutionMetaData.prototype.specNodeId = ""; /** - * EmailMessage body. - * @member {string} body - * @memberof flyteidl.admin.EmailMessage + * NodeExecutionMetaData isDynamic. + * @member {boolean} isDynamic + * @memberof flyteidl.admin.NodeExecutionMetaData * @instance */ - EmailMessage.prototype.body = ""; + NodeExecutionMetaData.prototype.isDynamic = false; /** - * Creates a new EmailMessage instance using the specified properties. + * NodeExecutionMetaData isArray. + * @member {boolean} isArray + * @memberof flyteidl.admin.NodeExecutionMetaData + * @instance + */ + NodeExecutionMetaData.prototype.isArray = false; + + /** + * Creates a new NodeExecutionMetaData instance using the specified properties. * @function create - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.NodeExecutionMetaData * @static - * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set - * @returns {flyteidl.admin.EmailMessage} EmailMessage instance + * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionMetaData} NodeExecutionMetaData instance */ - EmailMessage.create = function create(properties) { - return new EmailMessage(properties); + NodeExecutionMetaData.create = function create(properties) { + return new NodeExecutionMetaData(properties); }; /** - * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. + * Encodes the specified NodeExecutionMetaData message. Does not implicitly {@link flyteidl.admin.NodeExecutionMetaData.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.NodeExecutionMetaData * @static - * @param {flyteidl.admin.IEmailMessage} message EmailMessage 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 */ - EmailMessage.encode = function encode(message, writer) { + NodeExecutionMetaData.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); + 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); return writer; }; /** - * Decodes an EmailMessage message from the specified reader or buffer. + * Decodes a NodeExecutionMetaData message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EmailMessage + * @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.EmailMessage} EmailMessage + * @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 */ - EmailMessage.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.EmailMessage(); + 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: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); + message.retryGroup = reader.string(); break; case 2: - message.senderEmail = reader.string(); + message.isParentNode = reader.bool(); break; case 3: - message.subjectLine = reader.string(); + message.specNodeId = reader.string(); break; case 4: - message.body = reader.string(); + message.isDynamic = reader.bool(); + break; + case 5: + message.isArray = reader.bool(); break; default: reader.skipType(tag & 7); @@ -35693,57 +36595,57 @@ }; /** - * Verifies an EmailMessage message. + * Verifies a NodeExecutionMetaData message. * @function verify - * @memberof flyteidl.admin.EmailMessage + * @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 */ - EmailMessage.verify = function verify(message) { + NodeExecutionMetaData.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"; + 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"; return null; }; - return EmailMessage; + return NodeExecutionMetaData; })(); - admin.Domain = (function() { + admin.NodeExecutionList = (function() { /** - * Properties of a Domain. + * Properties of a NodeExecutionList. * @memberof flyteidl.admin - * @interface IDomain - * @property {string|null} [id] Domain id - * @property {string|null} [name] Domain name + * @interface INodeExecutionList + * @property {Array.|null} [nodeExecutions] NodeExecutionList nodeExecutions + * @property {string|null} [token] NodeExecutionList token */ /** - * Constructs a new Domain. + * Constructs a new NodeExecutionList. * @memberof flyteidl.admin - * @classdesc Represents a Domain. - * @implements IDomain + * @classdesc Represents a NodeExecutionList. + * @implements INodeExecutionList * @constructor - * @param {flyteidl.admin.IDomain=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set */ - function Domain(properties) { + function NodeExecutionList(properties) { + this.nodeExecutions = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35751,75 +36653,78 @@ } /** - * Domain id. - * @member {string} id - * @memberof flyteidl.admin.Domain + * NodeExecutionList nodeExecutions. + * @member {Array.} nodeExecutions + * @memberof flyteidl.admin.NodeExecutionList * @instance */ - Domain.prototype.id = ""; + NodeExecutionList.prototype.nodeExecutions = $util.emptyArray; /** - * Domain name. - * @member {string} name - * @memberof flyteidl.admin.Domain + * NodeExecutionList token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionList * @instance */ - Domain.prototype.name = ""; + NodeExecutionList.prototype.token = ""; /** - * Creates a new Domain instance using the specified properties. + * Creates a new NodeExecutionList instance using the specified properties. * @function create - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.NodeExecutionList * @static - * @param {flyteidl.admin.IDomain=} [properties] Properties to set - * @returns {flyteidl.admin.Domain} Domain instance + * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList instance */ - Domain.create = function create(properties) { - return new Domain(properties); + NodeExecutionList.create = function create(properties) { + return new NodeExecutionList(properties); }; /** - * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. + * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.NodeExecutionList * @static - * @param {flyteidl.admin.IDomain} message Domain 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 */ - Domain.encode = function encode(message, writer) { + NodeExecutionList.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.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 Domain message from the specified reader or buffer. + * Decodes a NodeExecutionList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Domain + * @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.Domain} Domain + * @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 */ - Domain.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.Domain(); + 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: - message.id = reader.string(); + if (!(message.nodeExecutions && message.nodeExecutions.length)) + message.nodeExecutions = []; + message.nodeExecutions.push($root.flyteidl.admin.NodeExecution.decode(reader, reader.uint32())); break; case 2: - message.name = reader.string(); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -35830,52 +36735,63 @@ }; /** - * Verifies a Domain message. + * Verifies a NodeExecutionList message. * @function verify - * @memberof flyteidl.admin.Domain + * @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 */ - Domain.verify = function verify(message) { + NodeExecutionList.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.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.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return Domain; + return NodeExecutionList; })(); - admin.Project = (function() { + admin.NodeExecutionClosure = (function() { /** - * Properties of a Project. + * Properties of a NodeExecutionClosure. * @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 + * @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 Project. + * Constructs a new NodeExecutionClosure. * @memberof flyteidl.admin - * @classdesc Represents a Project. - * @implements IProject + * @classdesc Represents a NodeExecutionClosure. + * @implements INodeExecutionClosure * @constructor - * @param {flyteidl.admin.IProject=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set */ - function Project(properties) { - this.domains = []; + function NodeExecutionClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35883,130 +36799,230 @@ } /** - * Project id. - * @member {string} id - * @memberof flyteidl.admin.Project + * NodeExecutionClosure outputUri. + * @member {string} outputUri + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - Project.prototype.id = ""; + NodeExecutionClosure.prototype.outputUri = ""; /** - * Project name. - * @member {string} name - * @memberof flyteidl.admin.Project + * NodeExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - Project.prototype.name = ""; + NodeExecutionClosure.prototype.error = null; /** - * Project domains. - * @member {Array.} domains - * @memberof flyteidl.admin.Project + * NodeExecutionClosure outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - Project.prototype.domains = $util.emptyArray; + NodeExecutionClosure.prototype.outputData = null; /** - * Project description. - * @member {string} description - * @memberof flyteidl.admin.Project + * NodeExecutionClosure phase. + * @member {flyteidl.core.NodeExecution.Phase} phase + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - Project.prototype.description = ""; + NodeExecutionClosure.prototype.phase = 0; /** - * Project labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.Project + * NodeExecutionClosure startedAt. + * @member {google.protobuf.ITimestamp|null|undefined} startedAt + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - Project.prototype.labels = null; + NodeExecutionClosure.prototype.startedAt = null; /** - * Project state. - * @member {flyteidl.admin.Project.ProjectState} state - * @memberof flyteidl.admin.Project + * NodeExecutionClosure duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - Project.prototype.state = 0; + NodeExecutionClosure.prototype.duration = null; /** - * Creates a new Project instance using the specified properties. - * @function create - * @memberof flyteidl.admin.Project - * @static - * @param {flyteidl.admin.IProject=} [properties] Properties to set - * @returns {flyteidl.admin.Project} Project instance + * NodeExecutionClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance */ - Project.create = function create(properties) { - return new Project(properties); - }; + NodeExecutionClosure.prototype.createdAt = null; /** - * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.Project - * @static - * @param {flyteidl.admin.IProject} message Project message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * NodeExecutionClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance */ - Project.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); + 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 + * @instance + */ + Object.defineProperty(NodeExecutionClosure.prototype, "targetMetadata", { + get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new NodeExecutionClosure instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionClosure + * @static + * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure instance + */ + NodeExecutionClosure.create = function create(properties) { + return new NodeExecutionClosure(properties); + }; + + /** + * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionClosure + * @static + * @param {flyteidl.admin.INodeExecutionClosure} message NodeExecutionClosure message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionClosure.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); return writer; }; /** - * Decodes a Project message from the specified reader or buffer. + * Decodes a NodeExecutionClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Project + * @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.Project} Project + * @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 */ - Project.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.Project(); + 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 = reader.string(); + message.outputUri = reader.string(); break; case 2: - message.name = reader.string(); + 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: - if (!(message.domains && message.domains.length)) - message.domains = []; - message.domains.push($root.flyteidl.admin.Domain.decode(reader, reader.uint32())); + message.phase = reader.int32(); break; case 4: - message.description = reader.string(); + message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 5: - message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; case 6: - message.state = reader.int32(); + 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); @@ -36017,90 +37033,127 @@ }; /** - * Verifies a Project message. + * Verifies a NodeExecutionClosure message. * @function verify - * @memberof flyteidl.admin.Project + * @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 */ - Project.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")) - 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]); + 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 "domains." + error; + return "error." + 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.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.state != null && message.hasOwnProperty("state")) - switch (message.state) { + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { default: - return "state: enum value expected"; + 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 (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; }; - /** - * 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 - */ - 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; - return values; - })(); - - return Project; + return NodeExecutionClosure; })(); - admin.Projects = (function() { + admin.WorkflowNodeMetadata = (function() { /** - * Properties of a Projects. + * Properties of a WorkflowNodeMetadata. * @memberof flyteidl.admin - * @interface IProjects - * @property {Array.|null} [projects] Projects projects - * @property {string|null} [token] Projects token + * @interface IWorkflowNodeMetadata + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId */ /** - * Constructs a new Projects. + * Constructs a new WorkflowNodeMetadata. * @memberof flyteidl.admin - * @classdesc Represents a Projects. - * @implements IProjects + * @classdesc Represents a WorkflowNodeMetadata. + * @implements IWorkflowNodeMetadata * @constructor - * @param {flyteidl.admin.IProjects=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set */ - function Projects(properties) { - this.projects = []; + function WorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36108,78 +37161,62 @@ } /** - * Projects projects. - * @member {Array.} projects - * @memberof flyteidl.admin.Projects - * @instance - */ - Projects.prototype.projects = $util.emptyArray; - - /** - * Projects token. - * @member {string} token - * @memberof flyteidl.admin.Projects + * WorkflowNodeMetadata executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.admin.WorkflowNodeMetadata * @instance */ - Projects.prototype.token = ""; + WorkflowNodeMetadata.prototype.executionId = null; /** - * Creates a new Projects instance using the specified properties. + * Creates a new WorkflowNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.WorkflowNodeMetadata * @static - * @param {flyteidl.admin.IProjects=} [properties] Properties to set - * @returns {flyteidl.admin.Projects} Projects instance + * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata instance */ - Projects.create = function create(properties) { - return new Projects(properties); + WorkflowNodeMetadata.create = function create(properties) { + return new WorkflowNodeMetadata(properties); }; /** - * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.WorkflowNodeMetadata * @static - * @param {flyteidl.admin.IProjects} message Projects 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 */ - Projects.encode = function encode(message, writer) { + WorkflowNodeMetadata.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.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 Projects message from the specified reader or buffer. + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Projects + * @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.Projects} Projects + * @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 */ - Projects.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.Projects(); + 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: - if (!(message.projects && message.projects.length)) - message.projects = []; - message.projects.push($root.flyteidl.admin.Project.decode(reader, reader.uint32())); - break; - case 2: - message.token = reader.string(); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -36190,55 +37227,47 @@ }; /** - * Verifies a Projects message. + * Verifies a WorkflowNodeMetadata message. * @function verify - * @memberof flyteidl.admin.Projects + * @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 */ - Projects.verify = function verify(message) { + WorkflowNodeMetadata.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.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); + if (error) + return "executionId." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return Projects; + return WorkflowNodeMetadata; })(); - admin.ProjectListRequest = (function() { + admin.TaskNodeMetadata = (function() { /** - * Properties of a ProjectListRequest. + * Properties of a TaskNodeMetadata. * @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 + * @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 ProjectListRequest. + * Constructs a new TaskNodeMetadata. * @memberof flyteidl.admin - * @classdesc Represents a ProjectListRequest. - * @implements IProjectListRequest + * @classdesc Represents a TaskNodeMetadata. + * @implements ITaskNodeMetadata * @constructor - * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set */ - function ProjectListRequest(properties) { + function TaskNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36246,101 +37275,88 @@ } /** - * ProjectListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.ProjectListRequest - * @instance - */ - ProjectListRequest.prototype.limit = 0; - - /** - * ProjectListRequest token. - * @member {string} token - * @memberof flyteidl.admin.ProjectListRequest + * TaskNodeMetadata cacheStatus. + * @member {flyteidl.core.CatalogCacheStatus} cacheStatus + * @memberof flyteidl.admin.TaskNodeMetadata * @instance */ - ProjectListRequest.prototype.token = ""; + TaskNodeMetadata.prototype.cacheStatus = 0; /** - * ProjectListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.ProjectListRequest + * TaskNodeMetadata catalogKey. + * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey + * @memberof flyteidl.admin.TaskNodeMetadata * @instance */ - ProjectListRequest.prototype.filters = ""; + TaskNodeMetadata.prototype.catalogKey = null; /** - * ProjectListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.ProjectListRequest + * TaskNodeMetadata checkpointUri. + * @member {string} checkpointUri + * @memberof flyteidl.admin.TaskNodeMetadata * @instance */ - ProjectListRequest.prototype.sortBy = null; + TaskNodeMetadata.prototype.checkpointUri = ""; /** - * Creates a new ProjectListRequest instance using the specified properties. + * Creates a new TaskNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.TaskNodeMetadata * @static - * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest instance + * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.TaskNodeMetadata} TaskNodeMetadata instance */ - ProjectListRequest.create = function create(properties) { - return new ProjectListRequest(properties); + TaskNodeMetadata.create = function create(properties) { + return new TaskNodeMetadata(properties); }; /** - * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.admin.TaskNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.TaskNodeMetadata * @static - * @param {flyteidl.admin.IProjectListRequest} message ProjectListRequest 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 */ - ProjectListRequest.encode = function encode(message, writer) { + TaskNodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - 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.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 ProjectListRequest message from the specified reader or buffer. + * Decodes a TaskNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectListRequest + * @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.ProjectListRequest} ProjectListRequest + * @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 */ - ProjectListRequest.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.ProjectListRequest(); + 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.limit = reader.uint32(); + message.cacheStatus = reader.int32(); break; case 2: - message.token = reader.string(); - break; - case 3: - message.filters = reader.string(); + message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); break; case 4: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + message.checkpointUri = reader.string(); break; default: reader.skipType(tag & 7); @@ -36351,54 +37367,63 @@ }; /** - * Verifies a ProjectListRequest message. + * Verifies a TaskNodeMetadata message. * @function verify - * @memberof flyteidl.admin.ProjectListRequest + * @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 */ - ProjectListRequest.verify = function verify(message) { + TaskNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object 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.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 ProjectListRequest; + 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: + 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"; + return null; + }; + + return TaskNodeMetadata; })(); - admin.ProjectRegisterRequest = (function() { + admin.DynamicWorkflowNodeMetadata = (function() { /** - * Properties of a ProjectRegisterRequest. + * Properties of a DynamicWorkflowNodeMetadata. * @memberof flyteidl.admin - * @interface IProjectRegisterRequest - * @property {flyteidl.admin.IProject|null} [project] ProjectRegisterRequest project + * @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 ProjectRegisterRequest. + * Constructs a new DynamicWorkflowNodeMetadata. * @memberof flyteidl.admin - * @classdesc Represents a ProjectRegisterRequest. - * @implements IProjectRegisterRequest + * @classdesc Represents a DynamicWorkflowNodeMetadata. + * @implements IDynamicWorkflowNodeMetadata * @constructor - * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set + * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set */ - function ProjectRegisterRequest(properties) { + function DynamicWorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36406,62 +37431,88 @@ } /** - * ProjectRegisterRequest project. - * @member {flyteidl.admin.IProject|null|undefined} project - * @memberof flyteidl.admin.ProjectRegisterRequest + * DynamicWorkflowNodeMetadata id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @instance */ - ProjectRegisterRequest.prototype.project = null; + DynamicWorkflowNodeMetadata.prototype.id = null; /** - * Creates a new ProjectRegisterRequest instance using the specified properties. + * 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 + * @instance + */ + DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + + /** + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest instance + * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance */ - ProjectRegisterRequest.create = function create(properties) { - return new ProjectRegisterRequest(properties); + DynamicWorkflowNodeMetadata.create = function create(properties) { + return new DynamicWorkflowNodeMetadata(properties); }; /** - * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.DynamicWorkflowNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.admin.IProjectRegisterRequest} message ProjectRegisterRequest 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 */ - ProjectRegisterRequest.encode = function encode(message, writer) { + DynamicWorkflowNodeMetadata.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.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 ProjectRegisterRequest message from the specified reader or buffer. + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectRegisterRequest + * @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.ProjectRegisterRequest} ProjectRegisterRequest + * @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 */ - ProjectRegisterRequest.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.ProjectRegisterRequest(); + 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: - message.project = $root.flyteidl.admin.Project.decode(reader, reader.uint32()); + 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); @@ -36472,44 +37523,53 @@ }; /** - * Verifies a ProjectRegisterRequest message. + * Verifies a DynamicWorkflowNodeMetadata message. * @function verify - * @memberof flyteidl.admin.ProjectRegisterRequest + * @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 */ - ProjectRegisterRequest.verify = function verify(message) { + DynamicWorkflowNodeMetadata.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "project." + 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 ProjectRegisterRequest; + return DynamicWorkflowNodeMetadata; })(); - admin.ProjectRegisterResponse = (function() { + admin.NodeExecutionGetDataRequest = (function() { /** - * Properties of a ProjectRegisterResponse. + * Properties of a NodeExecutionGetDataRequest. * @memberof flyteidl.admin - * @interface IProjectRegisterResponse + * @interface INodeExecutionGetDataRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetDataRequest id */ /** - * Constructs a new ProjectRegisterResponse. + * Constructs a new NodeExecutionGetDataRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectRegisterResponse. - * @implements IProjectRegisterResponse + * @classdesc Represents a NodeExecutionGetDataRequest. + * @implements INodeExecutionGetDataRequest * @constructor - * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set */ - function ProjectRegisterResponse(properties) { + function NodeExecutionGetDataRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36517,50 +37577,63 @@ } /** - * Creates a new ProjectRegisterResponse instance using the specified properties. + * NodeExecutionGetDataRequest id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @instance + */ + NodeExecutionGetDataRequest.prototype.id = null; + + /** + * Creates a new NodeExecutionGetDataRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.NodeExecutionGetDataRequest * @static - * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse instance + * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest instance */ - ProjectRegisterResponse.create = function create(properties) { - return new ProjectRegisterResponse(properties); + NodeExecutionGetDataRequest.create = function create(properties) { + return new NodeExecutionGetDataRequest(properties); }; /** - * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. + * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.NodeExecutionGetDataRequest * @static - * @param {flyteidl.admin.IProjectRegisterResponse} message ProjectRegisterResponse 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 */ - ProjectRegisterResponse.encode = function encode(message, writer) { + NodeExecutionGetDataRequest.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(); return writer; }; /** - * Decodes a ProjectRegisterResponse message from the specified reader or buffer. + * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectRegisterResponse + * @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.ProjectRegisterResponse} ProjectRegisterResponse + * @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 */ - ProjectRegisterResponse.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.ProjectRegisterResponse(); + 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.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -36570,39 +37643,50 @@ }; /** - * Verifies a ProjectRegisterResponse message. + * Verifies a NodeExecutionGetDataRequest message. * @function verify - * @memberof flyteidl.admin.ProjectRegisterResponse + * @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 */ - ProjectRegisterResponse.verify = function verify(message) { + NodeExecutionGetDataRequest.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; + } return null; }; - return ProjectRegisterResponse; + return NodeExecutionGetDataRequest; })(); - admin.ProjectUpdateResponse = (function() { + admin.NodeExecutionGetDataResponse = (function() { /** - * Properties of a ProjectUpdateResponse. + * Properties of a NodeExecutionGetDataResponse. * @memberof flyteidl.admin - * @interface IProjectUpdateResponse + * @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 ProjectUpdateResponse. + * Constructs a new NodeExecutionGetDataResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectUpdateResponse. - * @implements IProjectUpdateResponse + * @classdesc Represents a NodeExecutionGetDataResponse. + * @implements INodeExecutionGetDataResponse * @constructor - * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set */ - function ProjectUpdateResponse(properties) { + function NodeExecutionGetDataResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36610,50 +37694,128 @@ } /** - * Creates a new ProjectUpdateResponse instance using the specified properties. + * 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. * @function create - * @memberof flyteidl.admin.ProjectUpdateResponse + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @static - * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectUpdateResponse} ProjectUpdateResponse instance + * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse instance */ - ProjectUpdateResponse.create = function create(properties) { - return new ProjectUpdateResponse(properties); + NodeExecutionGetDataResponse.create = function create(properties) { + return new NodeExecutionGetDataResponse(properties); }; /** - * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. + * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectUpdateResponse + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @static - * @param {flyteidl.admin.IProjectUpdateResponse} message ProjectUpdateResponse 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 */ - ProjectUpdateResponse.encode = function encode(message, writer) { + NodeExecutionGetDataResponse.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 ProjectUpdateResponse message from the specified reader or buffer. + * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectUpdateResponse + * @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.ProjectUpdateResponse} ProjectUpdateResponse + * @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 */ - ProjectUpdateResponse.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.ProjectUpdateResponse(); + 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.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; @@ -36663,41 +37825,74 @@ }; /** - * Verifies a ProjectUpdateResponse message. + * Verifies a NodeExecutionGetDataResponse message. * @function verify - * @memberof flyteidl.admin.ProjectUpdateResponse + * @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 */ - ProjectUpdateResponse.verify = function verify(message) { + 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; + } return null; }; - return ProjectUpdateResponse; + return NodeExecutionGetDataResponse; })(); - admin.ProjectAttributes = (function() { + admin.EmailMessage = (function() { /** - * Properties of a ProjectAttributes. + * Properties of an EmailMessage. * @memberof flyteidl.admin - * @interface IProjectAttributes - * @property {string|null} [project] ProjectAttributes project - * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectAttributes matchingAttributes + * @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 ProjectAttributes. + * Constructs a new EmailMessage. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributes. - * @implements IProjectAttributes + * @classdesc Represents an EmailMessage. + * @implements IEmailMessage * @constructor - * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set */ - function ProjectAttributes(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) @@ -36705,75 +37900,104 @@ } /** - * ProjectAttributes project. - * @member {string} project - * @memberof flyteidl.admin.ProjectAttributes + * EmailMessage recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.EmailMessage * @instance */ - ProjectAttributes.prototype.project = ""; + EmailMessage.prototype.recipientsEmail = $util.emptyArray; /** - * ProjectAttributes matchingAttributes. - * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes - * @memberof flyteidl.admin.ProjectAttributes + * EmailMessage senderEmail. + * @member {string} senderEmail + * @memberof flyteidl.admin.EmailMessage * @instance */ - ProjectAttributes.prototype.matchingAttributes = null; + EmailMessage.prototype.senderEmail = ""; /** - * Creates a new ProjectAttributes 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.ProjectAttributes + * @memberof flyteidl.admin.EmailMessage * @static - * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes instance + * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set + * @returns {flyteidl.admin.EmailMessage} EmailMessage instance */ - ProjectAttributes.create = function create(properties) { - return new ProjectAttributes(properties); + EmailMessage.create = function create(properties) { + return new EmailMessage(properties); }; /** - * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. + * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributes + * @memberof flyteidl.admin.EmailMessage * @static - * @param {flyteidl.admin.IProjectAttributes} message ProjectAttributes 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 */ - ProjectAttributes.encode = function encode(message, writer) { + EmailMessage.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.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 ProjectAttributes message from the specified reader or buffer. + * Decodes an EmailMessage message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributes + * @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.ProjectAttributes} ProjectAttributes + * @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 */ - ProjectAttributes.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.ProjectAttributes(); + 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.project = reader.string(); + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); break; case 2: - message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + message.senderEmail = reader.string(); + break; + case 3: + message.subjectLine = reader.string(); + break; + case 4: + message.body = reader.string(); break; default: reader.skipType(tag & 7); @@ -36784,48 +38008,57 @@ }; /** - * Verifies a ProjectAttributes message. + * Verifies an EmailMessage message. * @function verify - * @memberof flyteidl.admin.ProjectAttributes + * @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 */ - ProjectAttributes.verify = function verify(message) { + EmailMessage.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.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 ProjectAttributes; + 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; })(); - admin.ProjectAttributesUpdateRequest = (function() { + admin.Domain = (function() { /** - * Properties of a ProjectAttributesUpdateRequest. + * Properties of a Domain. * @memberof flyteidl.admin - * @interface IProjectAttributesUpdateRequest - * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesUpdateRequest attributes + * @interface IDomain + * @property {string|null} [id] Domain id + * @property {string|null} [name] Domain name */ /** - * Constructs a new ProjectAttributesUpdateRequest. + * Constructs a new Domain. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesUpdateRequest. - * @implements IProjectAttributesUpdateRequest + * @classdesc Represents a Domain. + * @implements IDomain * @constructor - * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IDomain=} [properties] Properties to set */ - function ProjectAttributesUpdateRequest(properties) { + function Domain(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36833,62 +38066,75 @@ } /** - * ProjectAttributesUpdateRequest attributes. - * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * Domain id. + * @member {string} id + * @memberof flyteidl.admin.Domain * @instance */ - ProjectAttributesUpdateRequest.prototype.attributes = null; + Domain.prototype.id = ""; /** - * Creates a new ProjectAttributesUpdateRequest 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.ProjectAttributesUpdateRequest + * @memberof flyteidl.admin.Domain * @static - * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest instance + * @param {flyteidl.admin.IDomain=} [properties] Properties to set + * @returns {flyteidl.admin.Domain} Domain instance */ - ProjectAttributesUpdateRequest.create = function create(properties) { - return new ProjectAttributesUpdateRequest(properties); + Domain.create = function create(properties) { + return new Domain(properties); }; /** - * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. + * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * @memberof flyteidl.admin.Domain * @static - * @param {flyteidl.admin.IProjectAttributesUpdateRequest} message ProjectAttributesUpdateRequest 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 */ - ProjectAttributesUpdateRequest.encode = function encode(message, writer) { + Domain.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")) + 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 a ProjectAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a Domain message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * @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.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest + * @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 */ - ProjectAttributesUpdateRequest.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.ProjectAttributesUpdateRequest(); + 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.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); + message.id = reader.string(); + break; + case 2: + message.name = reader.string(); break; default: reader.skipType(tag & 7); @@ -36899,44 +38145,52 @@ }; /** - * Verifies a ProjectAttributesUpdateRequest message. + * Verifies a Domain message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * @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 */ - ProjectAttributesUpdateRequest.verify = function verify(message) { + Domain.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 (error) - return "attributes." + 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 ProjectAttributesUpdateRequest; + return Domain; })(); - admin.ProjectAttributesUpdateResponse = (function() { + admin.Project = (function() { /** - * Properties of a ProjectAttributesUpdateResponse. + * Properties of a Project. * @memberof flyteidl.admin - * @interface IProjectAttributesUpdateResponse + * @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 */ /** - * Constructs a new ProjectAttributesUpdateResponse. + * Constructs a new Project. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesUpdateResponse. - * @implements IProjectAttributesUpdateResponse + * @classdesc Represents a Project. + * @implements IProject * @constructor - * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProject=} [properties] Properties to set */ - function ProjectAttributesUpdateResponse(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) @@ -36944,50 +38198,131 @@ } /** - * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. + * 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; + + /** + * Creates a new Project instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @memberof flyteidl.admin.Project * @static - * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse instance + * @param {flyteidl.admin.IProject=} [properties] Properties to set + * @returns {flyteidl.admin.Project} Project instance */ - ProjectAttributesUpdateResponse.create = function create(properties) { - return new ProjectAttributesUpdateResponse(properties); + Project.create = function create(properties) { + return new Project(properties); }; /** - * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. + * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @memberof flyteidl.admin.Project * @static - * @param {flyteidl.admin.IProjectAttributesUpdateResponse} message ProjectAttributesUpdateResponse 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 */ - ProjectAttributesUpdateResponse.encode = function encode(message, writer) { + Project.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); return writer; }; /** - * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a Project message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @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.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse + * @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 */ - ProjectAttributesUpdateResponse.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.ProjectAttributesUpdateResponse(); + 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.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; default: reader.skipType(tag & 7); break; @@ -36997,41 +38332,90 @@ }; /** - * Verifies a ProjectAttributesUpdateResponse message. + * Verifies a Project message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @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 */ - ProjectAttributesUpdateResponse.verify = function verify(message) { + Project.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: + break; + } return null; }; - return ProjectAttributesUpdateResponse; + /** + * 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 + */ + 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; + return values; + })(); + + return Project; })(); - admin.ProjectAttributesGetRequest = (function() { + admin.Projects = (function() { /** - * Properties of a ProjectAttributesGetRequest. + * Properties of a Projects. * @memberof flyteidl.admin - * @interface IProjectAttributesGetRequest - * @property {string|null} [project] ProjectAttributesGetRequest project - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesGetRequest resourceType + * @interface IProjects + * @property {Array.|null} [projects] Projects projects + * @property {string|null} [token] Projects token */ /** - * Constructs a new ProjectAttributesGetRequest. + * Constructs a new Projects. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesGetRequest. - * @implements IProjectAttributesGetRequest + * @classdesc Represents a Projects. + * @implements IProjects * @constructor - * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjects=} [properties] Properties to set */ - function ProjectAttributesGetRequest(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) @@ -37039,75 +38423,78 @@ } /** - * ProjectAttributesGetRequest project. - * @member {string} project - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * Projects projects. + * @member {Array.} projects + * @memberof flyteidl.admin.Projects * @instance */ - ProjectAttributesGetRequest.prototype.project = ""; + Projects.prototype.projects = $util.emptyArray; /** - * ProjectAttributesGetRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * Projects token. + * @member {string} token + * @memberof flyteidl.admin.Projects * @instance */ - ProjectAttributesGetRequest.prototype.resourceType = 0; + Projects.prototype.token = ""; /** - * Creates a new ProjectAttributesGetRequest instance using the specified properties. + * Creates a new Projects instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @memberof flyteidl.admin.Projects * @static - * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesGetRequest} ProjectAttributesGetRequest instance + * @param {flyteidl.admin.IProjects=} [properties] Properties to set + * @returns {flyteidl.admin.Projects} Projects instance */ - ProjectAttributesGetRequest.create = function create(properties) { - return new ProjectAttributesGetRequest(properties); + Projects.create = function create(properties) { + return new Projects(properties); }; /** - * Encodes the specified ProjectAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetRequest.verify|verify} messages. + * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @memberof flyteidl.admin.Projects * @static - * @param {flyteidl.admin.IProjectAttributesGetRequest} message ProjectAttributesGetRequest 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 */ - ProjectAttributesGetRequest.encode = function encode(message, writer) { + Projects.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.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 ProjectAttributesGetRequest message from the specified reader or buffer. + * Decodes a Projects message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @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.ProjectAttributesGetRequest} ProjectAttributesGetRequest + * @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 */ - ProjectAttributesGetRequest.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.ProjectAttributesGetRequest(); + 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.project = 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.resourceType = reader.int32(); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -37118,57 +38505,55 @@ }; /** - * Verifies a ProjectAttributesGetRequest message. + * Verifies a Projects message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @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 */ - ProjectAttributesGetRequest.verify = function verify(message) { + Projects.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.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 ProjectAttributesGetRequest; + return Projects; })(); - admin.ProjectAttributesGetResponse = (function() { + admin.ProjectListRequest = (function() { /** - * Properties of a ProjectAttributesGetResponse. + * Properties of a ProjectListRequest. * @memberof flyteidl.admin - * @interface IProjectAttributesGetResponse - * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesGetResponse attributes + * @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 */ /** - * Constructs a new ProjectAttributesGetResponse. + * Constructs a new ProjectListRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesGetResponse. - * @implements IProjectAttributesGetResponse + * @classdesc Represents a ProjectListRequest. + * @implements IProjectListRequest * @constructor - * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set */ - function ProjectAttributesGetResponse(properties) { + function ProjectListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37176,65 +38561,104 @@ } /** - * ProjectAttributesGetResponse attributes. - * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * ProjectListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.ProjectListRequest * @instance */ - ProjectAttributesGetResponse.prototype.attributes = null; + ProjectListRequest.prototype.limit = 0; /** - * Creates a new ProjectAttributesGetResponse instance using the specified properties. + * ProjectListRequest token. + * @member {string} token + * @memberof flyteidl.admin.ProjectListRequest + * @instance + */ + ProjectListRequest.prototype.token = ""; + + /** + * ProjectListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.ProjectListRequest + * @instance + */ + ProjectListRequest.prototype.filters = ""; + + /** + * ProjectListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.ProjectListRequest + * @instance + */ + ProjectListRequest.prototype.sortBy = null; + + /** + * Creates a new ProjectListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @memberof flyteidl.admin.ProjectListRequest * @static - * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesGetResponse} ProjectAttributesGetResponse instance + * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest instance */ - ProjectAttributesGetResponse.create = function create(properties) { - return new ProjectAttributesGetResponse(properties); + ProjectListRequest.create = function create(properties) { + return new ProjectListRequest(properties); }; /** - * Encodes the specified ProjectAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetResponse.verify|verify} messages. + * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @memberof flyteidl.admin.ProjectListRequest * @static - * @param {flyteidl.admin.IProjectAttributesGetResponse} message ProjectAttributesGetResponse 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 */ - ProjectAttributesGetResponse.encode = function encode(message, writer) { + ProjectListRequest.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.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(); return writer; }; /** - * Decodes a ProjectAttributesGetResponse message from the specified reader or buffer. + * Decodes a ProjectListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @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.ProjectAttributesGetResponse} ProjectAttributesGetResponse + * @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 */ - ProjectAttributesGetResponse.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.ProjectAttributesGetResponse(); + 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.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); + message.limit = reader.uint32(); break; - default: - reader.skipType(tag & 7); + case 2: + message.token = reader.string(); + break; + case 3: + message.filters = reader.string(); + break; + case 4: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); break; } } @@ -37242,46 +38666,54 @@ }; /** - * Verifies a ProjectAttributesGetResponse message. + * Verifies a ProjectListRequest message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @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 */ - ProjectAttributesGetResponse.verify = function verify(message) { + ProjectListRequest.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.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 "attributes." + error; + return "sortBy." + error; } return null; }; - return ProjectAttributesGetResponse; + return ProjectListRequest; })(); - admin.ProjectAttributesDeleteRequest = (function() { + admin.ProjectRegisterRequest = (function() { /** - * Properties of a ProjectAttributesDeleteRequest. + * Properties of a ProjectRegisterRequest. * @memberof flyteidl.admin - * @interface IProjectAttributesDeleteRequest - * @property {string|null} [project] ProjectAttributesDeleteRequest project - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesDeleteRequest resourceType + * @interface IProjectRegisterRequest + * @property {flyteidl.admin.IProject|null} [project] ProjectRegisterRequest project */ /** - * Constructs a new ProjectAttributesDeleteRequest. + * Constructs a new ProjectRegisterRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesDeleteRequest. - * @implements IProjectAttributesDeleteRequest + * @classdesc Represents a ProjectRegisterRequest. + * @implements IProjectRegisterRequest * @constructor - * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set */ - function ProjectAttributesDeleteRequest(properties) { + function ProjectRegisterRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37289,75 +38721,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 + * ProjectRegisterRequest project. + * @member {flyteidl.admin.IProject|null|undefined} project + * @memberof flyteidl.admin.ProjectRegisterRequest * @instance */ - ProjectAttributesDeleteRequest.prototype.resourceType = 0; + ProjectRegisterRequest.prototype.project = null; /** - * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. + * Creates a new ProjectRegisterRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @memberof flyteidl.admin.ProjectRegisterRequest * @static - * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesDeleteRequest} ProjectAttributesDeleteRequest instance + * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest instance */ - ProjectAttributesDeleteRequest.create = function create(properties) { - return new ProjectAttributesDeleteRequest(properties); + ProjectRegisterRequest.create = function create(properties) { + return new ProjectRegisterRequest(properties); }; /** - * Encodes the specified ProjectAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteRequest.verify|verify} messages. + * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @memberof flyteidl.admin.ProjectRegisterRequest * @static - * @param {flyteidl.admin.IProjectAttributesDeleteRequest} message ProjectAttributesDeleteRequest 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 */ - ProjectAttributesDeleteRequest.encode = function encode(message, writer) { + ProjectRegisterRequest.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); + $root.flyteidl.admin.Project.encode(message.project, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a ProjectRegisterRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @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.ProjectAttributesDeleteRequest} ProjectAttributesDeleteRequest + * @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 */ - ProjectAttributesDeleteRequest.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.ProjectAttributesDeleteRequest(); + 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.project = reader.string(); - break; - case 2: - message.resourceType = reader.int32(); + message.project = $root.flyteidl.admin.Project.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -37368,56 +38787,137 @@ }; /** - * Verifies a ProjectAttributesDeleteRequest message. + * Verifies a ProjectRegisterRequest message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @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 */ - ProjectAttributesDeleteRequest.verify = function verify(message) { + ProjectRegisterRequest.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) { + if (message.project != null && message.hasOwnProperty("project")) { + var error = $root.flyteidl.admin.Project.verify(message.project); + if (error) + return "project." + error; + } + return null; + }; + + return ProjectRegisterRequest; + })(); + + admin.ProjectRegisterResponse = (function() { + + /** + * Properties of a ProjectRegisterResponse. + * @memberof flyteidl.admin + * @interface IProjectRegisterResponse + */ + + /** + * Constructs a new ProjectRegisterResponse. + * @memberof flyteidl.admin + * @classdesc Represents a ProjectRegisterResponse. + * @implements IProjectRegisterResponse + * @constructor + * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set + */ + function ProjectRegisterResponse(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 ProjectRegisterResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.ProjectRegisterResponse + * @static + * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse instance + */ + ProjectRegisterResponse.create = function create(properties) { + return new ProjectRegisterResponse(properties); + }; + + /** + * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.ProjectRegisterResponse + * @static + * @param {flyteidl.admin.IProjectRegisterResponse} message ProjectRegisterResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ProjectRegisterResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a ProjectRegisterResponse message from the specified reader or buffer. + * @function decode + * @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.ProjectRegisterResponse} ProjectRegisterResponse + * @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) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + 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) { default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: + reader.skipType(tag & 7); break; } + } + return message; + }; + + /** + * Verifies a ProjectRegisterResponse message. + * @function verify + * @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 + */ + ProjectRegisterResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; return null; }; - return ProjectAttributesDeleteRequest; + return ProjectRegisterResponse; })(); - admin.ProjectAttributesDeleteResponse = (function() { + admin.ProjectUpdateResponse = (function() { /** - * Properties of a ProjectAttributesDeleteResponse. + * Properties of a ProjectUpdateResponse. * @memberof flyteidl.admin - * @interface IProjectAttributesDeleteResponse + * @interface IProjectUpdateResponse */ /** - * Constructs a new ProjectAttributesDeleteResponse. + * Constructs a new ProjectUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesDeleteResponse. - * @implements IProjectAttributesDeleteResponse + * @classdesc Represents a ProjectUpdateResponse. + * @implements IProjectUpdateResponse * @constructor - * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set */ - function ProjectAttributesDeleteResponse(properties) { + function ProjectUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37425,47 +38925,47 @@ } /** - * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. + * Creates a new ProjectUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @memberof flyteidl.admin.ProjectUpdateResponse * @static - * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesDeleteResponse} ProjectAttributesDeleteResponse instance + * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectUpdateResponse} ProjectUpdateResponse instance */ - ProjectAttributesDeleteResponse.create = function create(properties) { - return new ProjectAttributesDeleteResponse(properties); + ProjectUpdateResponse.create = function create(properties) { + return new ProjectUpdateResponse(properties); }; /** - * Encodes the specified ProjectAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteResponse.verify|verify} messages. + * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @memberof flyteidl.admin.ProjectUpdateResponse * @static - * @param {flyteidl.admin.IProjectAttributesDeleteResponse} message ProjectAttributesDeleteResponse 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 */ - ProjectAttributesDeleteResponse.encode = function encode(message, writer) { + ProjectUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); return writer; }; /** - * Decodes a ProjectAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a ProjectUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @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.ProjectAttributesDeleteResponse} ProjectAttributesDeleteResponse + * @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 */ - ProjectAttributesDeleteResponse.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.ProjectAttributesDeleteResponse(); + 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) { @@ -37478,42 +38978,41 @@ }; /** - * Verifies a ProjectAttributesDeleteResponse message. + * Verifies a ProjectUpdateResponse message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @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 */ - ProjectAttributesDeleteResponse.verify = function verify(message) { + ProjectUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; return null; }; - return ProjectAttributesDeleteResponse; + return ProjectUpdateResponse; })(); - admin.ProjectDomainAttributes = (function() { + admin.ProjectAttributes = (function() { /** - * Properties of a ProjectDomainAttributes. + * Properties of a ProjectAttributes. * @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 + * @interface IProjectAttributes + * @property {string|null} [project] ProjectAttributes project + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectAttributes matchingAttributes */ /** - * Constructs a new ProjectDomainAttributes. + * Constructs a new ProjectAttributes. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributes. - * @implements IProjectDomainAttributes + * @classdesc Represents a ProjectAttributes. + * @implements IProjectAttributes * @constructor - * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set */ - function ProjectDomainAttributes(properties) { + function ProjectAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37521,77 +39020,67 @@ } /** - * ProjectDomainAttributes project. + * ProjectAttributes project. * @member {string} project - * @memberof flyteidl.admin.ProjectDomainAttributes - * @instance - */ - ProjectDomainAttributes.prototype.project = ""; - - /** - * ProjectDomainAttributes domain. - * @member {string} domain - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.ProjectAttributes * @instance */ - ProjectDomainAttributes.prototype.domain = ""; + ProjectAttributes.prototype.project = ""; /** - * ProjectDomainAttributes matchingAttributes. + * ProjectAttributes matchingAttributes. * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.ProjectAttributes * @instance */ - ProjectDomainAttributes.prototype.matchingAttributes = null; + ProjectAttributes.prototype.matchingAttributes = null; /** - * Creates a new ProjectDomainAttributes instance using the specified properties. + * Creates a new ProjectAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.ProjectAttributes * @static - * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes instance + * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes instance */ - ProjectDomainAttributes.create = function create(properties) { - return new ProjectDomainAttributes(properties); + ProjectAttributes.create = function create(properties) { + return new ProjectAttributes(properties); }; /** - * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. + * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.ProjectAttributes * @static - * @param {flyteidl.admin.IProjectDomainAttributes} message ProjectDomainAttributes 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 */ - ProjectDomainAttributes.encode = function encode(message, writer) { + ProjectAttributes.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(); + $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributes message from the specified reader or buffer. + * Decodes a ProjectAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributes + * @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.ProjectDomainAttributes} ProjectDomainAttributes + * @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 */ - ProjectDomainAttributes.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.ProjectDomainAttributes(); + 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) { @@ -37599,9 +39088,6 @@ 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; default: @@ -37613,22 +39099,19 @@ }; /** - * Verifies a ProjectDomainAttributes message. + * Verifies a ProjectAttributes message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributes + * @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 */ - ProjectDomainAttributes.verify = function verify(message) { + ProjectAttributes.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 (error) @@ -37637,27 +39120,27 @@ return null; }; - return ProjectDomainAttributes; + return ProjectAttributes; })(); - admin.ProjectDomainAttributesUpdateRequest = (function() { + admin.ProjectAttributesUpdateRequest = (function() { /** - * Properties of a ProjectDomainAttributesUpdateRequest. + * Properties of a ProjectAttributesUpdateRequest. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesUpdateRequest - * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesUpdateRequest attributes + * @interface IProjectAttributesUpdateRequest + * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesUpdateRequest attributes */ /** - * Constructs a new ProjectDomainAttributesUpdateRequest. + * Constructs a new ProjectAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesUpdateRequest. - * @implements IProjectDomainAttributesUpdateRequest + * @classdesc Represents a ProjectAttributesUpdateRequest. + * @implements IProjectAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set */ - function ProjectDomainAttributesUpdateRequest(properties) { + function ProjectAttributesUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37665,62 +39148,62 @@ } /** - * ProjectDomainAttributesUpdateRequest attributes. - * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * ProjectAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @instance */ - ProjectDomainAttributesUpdateRequest.prototype.attributes = null; + ProjectAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. + * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest instance + * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest instance */ - ProjectDomainAttributesUpdateRequest.create = function create(properties) { - return new ProjectDomainAttributesUpdateRequest(properties); + ProjectAttributesUpdateRequest.create = function create(properties) { + return new ProjectAttributesUpdateRequest(properties); }; /** - * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. + * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} message ProjectDomainAttributesUpdateRequest 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 */ - ProjectDomainAttributesUpdateRequest.encode = function encode(message, writer) { + ProjectAttributesUpdateRequest.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(); + $root.flyteidl.admin.ProjectAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @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.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest + * @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 */ - ProjectDomainAttributesUpdateRequest.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.ProjectDomainAttributesUpdateRequest(); + 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.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); + message.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -37731,44 +39214,44 @@ }; /** - * Verifies a ProjectDomainAttributesUpdateRequest message. + * Verifies a ProjectAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @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 */ - ProjectDomainAttributesUpdateRequest.verify = function verify(message) { + ProjectAttributesUpdateRequest.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); + var error = $root.flyteidl.admin.ProjectAttributes.verify(message.attributes); if (error) return "attributes." + error; } return null; }; - return ProjectDomainAttributesUpdateRequest; + return ProjectAttributesUpdateRequest; })(); - admin.ProjectDomainAttributesUpdateResponse = (function() { + admin.ProjectAttributesUpdateResponse = (function() { /** - * Properties of a ProjectDomainAttributesUpdateResponse. + * Properties of a ProjectAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesUpdateResponse + * @interface IProjectAttributesUpdateResponse */ /** - * Constructs a new ProjectDomainAttributesUpdateResponse. + * Constructs a new ProjectAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesUpdateResponse. - * @implements IProjectDomainAttributesUpdateResponse + * @classdesc Represents a ProjectAttributesUpdateResponse. + * @implements IProjectAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set */ - function ProjectDomainAttributesUpdateResponse(properties) { + function ProjectAttributesUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37776,47 +39259,47 @@ } /** - * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. + * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse instance + * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse instance */ - ProjectDomainAttributesUpdateResponse.create = function create(properties) { - return new ProjectDomainAttributesUpdateResponse(properties); + ProjectAttributesUpdateResponse.create = function create(properties) { + return new ProjectAttributesUpdateResponse(properties); }; /** - * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. + * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse} message ProjectDomainAttributesUpdateResponse 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 */ - ProjectDomainAttributesUpdateResponse.encode = function encode(message, writer) { + ProjectAttributesUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); return writer; }; /** - * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @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.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse + * @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 */ - ProjectDomainAttributesUpdateResponse.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.ProjectDomainAttributesUpdateResponse(); + 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) { @@ -37829,42 +39312,41 @@ }; /** - * Verifies a ProjectDomainAttributesUpdateResponse message. + * Verifies a ProjectAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @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 */ - ProjectDomainAttributesUpdateResponse.verify = function verify(message) { + ProjectAttributesUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; return null; }; - return ProjectDomainAttributesUpdateResponse; + return ProjectAttributesUpdateResponse; })(); - admin.ProjectDomainAttributesGetRequest = (function() { + admin.ProjectAttributesGetRequest = (function() { /** - * Properties of a ProjectDomainAttributesGetRequest. + * Properties of a ProjectAttributesGetRequest. * @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 + * @interface IProjectAttributesGetRequest + * @property {string|null} [project] ProjectAttributesGetRequest project + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesGetRequest resourceType */ /** - * Constructs a new ProjectDomainAttributesGetRequest. + * Constructs a new ProjectAttributesGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesGetRequest. - * @implements IProjectDomainAttributesGetRequest + * @classdesc Represents a ProjectAttributesGetRequest. + * @implements IProjectAttributesGetRequest * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set */ - function ProjectDomainAttributesGetRequest(properties) { + function ProjectAttributesGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37872,77 +39354,67 @@ } /** - * ProjectDomainAttributesGetRequest project. + * ProjectAttributesGetRequest project. * @member {string} project - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest - * @instance - */ - ProjectDomainAttributesGetRequest.prototype.project = ""; - - /** - * ProjectDomainAttributesGetRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @instance */ - ProjectDomainAttributesGetRequest.prototype.domain = ""; + ProjectAttributesGetRequest.prototype.project = ""; /** - * ProjectDomainAttributesGetRequest resourceType. + * ProjectAttributesGetRequest resourceType. * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @instance */ - ProjectDomainAttributesGetRequest.prototype.resourceType = 0; + ProjectAttributesGetRequest.prototype.resourceType = 0; /** - * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. + * Creates a new ProjectAttributesGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesGetRequest} ProjectDomainAttributesGetRequest instance + * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesGetRequest} ProjectAttributesGetRequest instance */ - ProjectDomainAttributesGetRequest.create = function create(properties) { - return new ProjectDomainAttributesGetRequest(properties); + ProjectAttributesGetRequest.create = function create(properties) { + return new ProjectAttributesGetRequest(properties); }; /** - * Encodes the specified ProjectDomainAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetRequest.verify|verify} messages. + * Encodes the specified ProjectAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest} message ProjectDomainAttributesGetRequest 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 */ - ProjectDomainAttributesGetRequest.encode = function encode(message, writer) { + ProjectAttributesGetRequest.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); + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.resourceType); return writer; }; /** - * Decodes a ProjectDomainAttributesGetRequest message from the specified reader or buffer. + * Decodes a ProjectAttributesGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @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.ProjectDomainAttributesGetRequest} ProjectDomainAttributesGetRequest + * @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 */ - ProjectDomainAttributesGetRequest.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.ProjectDomainAttributesGetRequest(); + 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) { @@ -37950,9 +39422,6 @@ message.project = reader.string(); break; case 2: - message.domain = reader.string(); - break; - case 3: message.resourceType = reader.int32(); break; default: @@ -37964,22 +39433,19 @@ }; /** - * Verifies a ProjectDomainAttributesGetRequest message. + * Verifies a ProjectAttributesGetRequest message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @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 */ - ProjectDomainAttributesGetRequest.verify = function verify(message) { + ProjectAttributesGetRequest.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: @@ -37997,27 +39463,27 @@ return null; }; - return ProjectDomainAttributesGetRequest; + return ProjectAttributesGetRequest; })(); - admin.ProjectDomainAttributesGetResponse = (function() { + admin.ProjectAttributesGetResponse = (function() { /** - * Properties of a ProjectDomainAttributesGetResponse. + * Properties of a ProjectAttributesGetResponse. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesGetResponse - * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesGetResponse attributes + * @interface IProjectAttributesGetResponse + * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesGetResponse attributes */ /** - * Constructs a new ProjectDomainAttributesGetResponse. + * Constructs a new ProjectAttributesGetResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesGetResponse. - * @implements IProjectDomainAttributesGetResponse + * @classdesc Represents a ProjectAttributesGetResponse. + * @implements IProjectAttributesGetResponse * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set */ - function ProjectDomainAttributesGetResponse(properties) { + function ProjectAttributesGetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38025,62 +39491,62 @@ } /** - * ProjectDomainAttributesGetResponse attributes. - * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * ProjectAttributesGetResponse attributes. + * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @instance */ - ProjectDomainAttributesGetResponse.prototype.attributes = null; + ProjectAttributesGetResponse.prototype.attributes = null; /** - * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. + * Creates a new ProjectAttributesGetResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesGetResponse} ProjectDomainAttributesGetResponse instance + * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesGetResponse} ProjectAttributesGetResponse instance */ - ProjectDomainAttributesGetResponse.create = function create(properties) { - return new ProjectDomainAttributesGetResponse(properties); + ProjectAttributesGetResponse.create = function create(properties) { + return new ProjectAttributesGetResponse(properties); }; /** - * Encodes the specified ProjectDomainAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetResponse.verify|verify} messages. + * Encodes the specified ProjectAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetResponse} message ProjectDomainAttributesGetResponse 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 */ - ProjectDomainAttributesGetResponse.encode = function encode(message, writer) { + ProjectAttributesGetResponse.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(); + $root.flyteidl.admin.ProjectAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesGetResponse message from the specified reader or buffer. + * Decodes a ProjectAttributesGetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @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.ProjectDomainAttributesGetResponse} ProjectDomainAttributesGetResponse + * @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 */ - ProjectDomainAttributesGetResponse.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.ProjectDomainAttributesGetResponse(); + 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.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); + message.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -38091,47 +39557,46 @@ }; /** - * Verifies a ProjectDomainAttributesGetResponse message. + * Verifies a ProjectAttributesGetResponse message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @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 */ - ProjectDomainAttributesGetResponse.verify = function verify(message) { + ProjectAttributesGetResponse.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); + var error = $root.flyteidl.admin.ProjectAttributes.verify(message.attributes); if (error) return "attributes." + error; } return null; }; - return ProjectDomainAttributesGetResponse; + return ProjectAttributesGetResponse; })(); - admin.ProjectDomainAttributesDeleteRequest = (function() { + admin.ProjectAttributesDeleteRequest = (function() { /** - * Properties of a ProjectDomainAttributesDeleteRequest. + * Properties of a ProjectAttributesDeleteRequest. * @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 + * @interface IProjectAttributesDeleteRequest + * @property {string|null} [project] ProjectAttributesDeleteRequest project + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesDeleteRequest resourceType */ /** - * Constructs a new ProjectDomainAttributesDeleteRequest. + * Constructs a new ProjectAttributesDeleteRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesDeleteRequest. - * @implements IProjectDomainAttributesDeleteRequest + * @classdesc Represents a ProjectAttributesDeleteRequest. + * @implements IProjectAttributesDeleteRequest * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set */ - function ProjectDomainAttributesDeleteRequest(properties) { + function ProjectAttributesDeleteRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38139,77 +39604,67 @@ } /** - * ProjectDomainAttributesDeleteRequest project. + * ProjectAttributesDeleteRequest project. * @member {string} project - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest - * @instance - */ - ProjectDomainAttributesDeleteRequest.prototype.project = ""; - - /** - * ProjectDomainAttributesDeleteRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @instance */ - ProjectDomainAttributesDeleteRequest.prototype.domain = ""; + ProjectAttributesDeleteRequest.prototype.project = ""; /** - * ProjectDomainAttributesDeleteRequest resourceType. + * ProjectAttributesDeleteRequest resourceType. * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @instance */ - ProjectDomainAttributesDeleteRequest.prototype.resourceType = 0; + ProjectAttributesDeleteRequest.prototype.resourceType = 0; /** - * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. + * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesDeleteRequest} ProjectDomainAttributesDeleteRequest instance + * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesDeleteRequest} ProjectAttributesDeleteRequest instance */ - ProjectDomainAttributesDeleteRequest.create = function create(properties) { - return new ProjectDomainAttributesDeleteRequest(properties); + ProjectAttributesDeleteRequest.create = function create(properties) { + return new ProjectAttributesDeleteRequest(properties); }; /** - * Encodes the specified ProjectDomainAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteRequest.verify|verify} messages. + * Encodes the specified ProjectAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest} message ProjectDomainAttributesDeleteRequest 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 */ - ProjectDomainAttributesDeleteRequest.encode = function encode(message, writer) { + ProjectAttributesDeleteRequest.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); + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.resourceType); return writer; }; /** - * Decodes a ProjectDomainAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a ProjectAttributesDeleteRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @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.ProjectDomainAttributesDeleteRequest} ProjectDomainAttributesDeleteRequest + * @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 */ - ProjectDomainAttributesDeleteRequest.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.ProjectDomainAttributesDeleteRequest(); + 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) { @@ -38217,9 +39672,6 @@ message.project = reader.string(); break; case 2: - message.domain = reader.string(); - break; - case 3: message.resourceType = reader.int32(); break; default: @@ -38231,22 +39683,19 @@ }; /** - * Verifies a ProjectDomainAttributesDeleteRequest message. + * Verifies a ProjectAttributesDeleteRequest message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @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 */ - ProjectDomainAttributesDeleteRequest.verify = function verify(message) { + ProjectAttributesDeleteRequest.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: @@ -38264,26 +39713,26 @@ return null; }; - return ProjectDomainAttributesDeleteRequest; + return ProjectAttributesDeleteRequest; })(); - admin.ProjectDomainAttributesDeleteResponse = (function() { + admin.ProjectAttributesDeleteResponse = (function() { /** - * Properties of a ProjectDomainAttributesDeleteResponse. + * Properties of a ProjectAttributesDeleteResponse. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesDeleteResponse + * @interface IProjectAttributesDeleteResponse */ /** - * Constructs a new ProjectDomainAttributesDeleteResponse. + * Constructs a new ProjectAttributesDeleteResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesDeleteResponse. - * @implements IProjectDomainAttributesDeleteResponse + * @classdesc Represents a ProjectAttributesDeleteResponse. + * @implements IProjectAttributesDeleteResponse * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set */ - function ProjectDomainAttributesDeleteResponse(properties) { + function ProjectAttributesDeleteResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38291,47 +39740,47 @@ } /** - * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. + * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @memberof flyteidl.admin.ProjectAttributesDeleteResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesDeleteResponse} ProjectDomainAttributesDeleteResponse instance + * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesDeleteResponse} ProjectAttributesDeleteResponse instance */ - ProjectDomainAttributesDeleteResponse.create = function create(properties) { - return new ProjectDomainAttributesDeleteResponse(properties); + ProjectAttributesDeleteResponse.create = function create(properties) { + return new ProjectAttributesDeleteResponse(properties); }; /** - * Encodes the specified ProjectDomainAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteResponse.verify|verify} messages. + * Encodes the specified ProjectAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @memberof flyteidl.admin.ProjectAttributesDeleteResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse} message ProjectDomainAttributesDeleteResponse 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 */ - ProjectDomainAttributesDeleteResponse.encode = function encode(message, writer) { + ProjectAttributesDeleteResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); return writer; }; /** - * Decodes a ProjectDomainAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a ProjectAttributesDeleteResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @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.ProjectDomainAttributesDeleteResponse} ProjectDomainAttributesDeleteResponse + * @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 */ - ProjectDomainAttributesDeleteResponse.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.ProjectDomainAttributesDeleteResponse(); + 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) { @@ -38344,41 +39793,42 @@ }; /** - * Verifies a ProjectDomainAttributesDeleteResponse message. + * Verifies a ProjectAttributesDeleteResponse message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @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 */ - ProjectDomainAttributesDeleteResponse.verify = function verify(message) { + ProjectAttributesDeleteResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; return null; }; - return ProjectDomainAttributesDeleteResponse; + return ProjectAttributesDeleteResponse; })(); - admin.SignalGetOrCreateRequest = (function() { + admin.ProjectDomainAttributes = (function() { /** - * Properties of a SignalGetOrCreateRequest. + * Properties of a ProjectDomainAttributes. * @memberof flyteidl.admin - * @interface ISignalGetOrCreateRequest - * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalGetOrCreateRequest id - * @property {flyteidl.core.ILiteralType|null} [type] SignalGetOrCreateRequest type + * @interface IProjectDomainAttributes + * @property {string|null} [project] ProjectDomainAttributes project + * @property {string|null} [domain] ProjectDomainAttributes domain + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectDomainAttributes matchingAttributes */ /** - * Constructs a new SignalGetOrCreateRequest. + * Constructs a new ProjectDomainAttributes. * @memberof flyteidl.admin - * @classdesc Represents a SignalGetOrCreateRequest. - * @implements ISignalGetOrCreateRequest + * @classdesc Represents a ProjectDomainAttributes. + * @implements IProjectDomainAttributes * @constructor - * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set */ - function SignalGetOrCreateRequest(properties) { + function ProjectDomainAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38386,75 +39836,88 @@ } /** - * SignalGetOrCreateRequest id. - * @member {flyteidl.core.ISignalIdentifier|null|undefined} id - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * ProjectDomainAttributes project. + * @member {string} project + * @memberof flyteidl.admin.ProjectDomainAttributes * @instance */ - SignalGetOrCreateRequest.prototype.id = null; + ProjectDomainAttributes.prototype.project = ""; /** - * SignalGetOrCreateRequest type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * ProjectDomainAttributes domain. + * @member {string} domain + * @memberof flyteidl.admin.ProjectDomainAttributes * @instance */ - SignalGetOrCreateRequest.prototype.type = null; + ProjectDomainAttributes.prototype.domain = ""; /** - * Creates a new SignalGetOrCreateRequest instance using the specified properties. + * ProjectDomainAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.ProjectDomainAttributes + * @instance + */ + ProjectDomainAttributes.prototype.matchingAttributes = null; + + /** + * Creates a new ProjectDomainAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static - * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest instance + * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes instance */ - SignalGetOrCreateRequest.create = function create(properties) { - return new SignalGetOrCreateRequest(properties); + ProjectDomainAttributes.create = function create(properties) { + return new ProjectDomainAttributes(properties); }; /** - * Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static - * @param {flyteidl.admin.ISignalGetOrCreateRequest} message SignalGetOrCreateRequest 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 */ - SignalGetOrCreateRequest.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.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.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(); return writer; }; /** - * Decodes a SignalGetOrCreateRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @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.SignalGetOrCreateRequest} SignalGetOrCreateRequest + * @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 */ - SignalGetOrCreateRequest.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.SignalGetOrCreateRequest(); + 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.SignalIdentifier.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + message.domain = reader.string(); + break; + case 3: + message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -38465,54 +39928,51 @@ }; /** - * Verifies a SignalGetOrCreateRequest message. + * Verifies a ProjectDomainAttributes message. * @function verify - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @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 */ - SignalGetOrCreateRequest.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.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 (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 "type." + error; + return "matchingAttributes." + error; } return null; }; - return SignalGetOrCreateRequest; + return ProjectDomainAttributes; })(); - admin.SignalListRequest = (function() { + admin.ProjectDomainAttributesUpdateRequest = (function() { /** - * Properties of a SignalListRequest. + * Properties of a ProjectDomainAttributesUpdateRequest. * @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 IProjectDomainAttributesUpdateRequest + * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesUpdateRequest attributes */ /** - * Constructs a new SignalListRequest. + * Constructs a new ProjectDomainAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a SignalListRequest. - * @implements ISignalListRequest + * @classdesc Represents a ProjectDomainAttributesUpdateRequest. + * @implements IProjectDomainAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set */ - function SignalListRequest(properties) { + function ProjectDomainAttributesUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38520,117 +39980,65 @@ } /** - * 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 + * ProjectDomainAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @instance */ - SignalListRequest.prototype.sortBy = null; + ProjectDomainAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new SignalListRequest instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalListRequest + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static - * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.SignalListRequest} SignalListRequest instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest instance */ - SignalListRequest.create = function create(properties) { - return new SignalListRequest(properties); + ProjectDomainAttributesUpdateRequest.create = function create(properties) { + return new ProjectDomainAttributesUpdateRequest(properties); }; /** - * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalListRequest + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static - * @param {flyteidl.admin.ISignalListRequest} message SignalListRequest 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 */ - SignalListRequest.encode = function encode(message, writer) { + ProjectDomainAttributesUpdateRequest.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.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 SignalListRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalListRequest + * @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.SignalListRequest} SignalListRequest + * @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 */ - SignalListRequest.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.SignalListRequest(); + 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.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.limit = reader.uint32(); + message.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, 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); + default: + reader.skipType(tag & 7); break; } } @@ -38638,61 +40046,44 @@ }; /** - * Verifies a SignalListRequest message. + * Verifies a ProjectDomainAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.SignalListRequest + * @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 */ - SignalListRequest.verify = function verify(message) { + ProjectDomainAttributesUpdateRequest.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 (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.ProjectDomainAttributes.verify(message.attributes); if (error) - return "sortBy." + error; + return "attributes." + error; } return null; }; - return SignalListRequest; + return ProjectDomainAttributesUpdateRequest; })(); - admin.SignalList = (function() { + admin.ProjectDomainAttributesUpdateResponse = (function() { /** - * Properties of a SignalList. + * Properties of a ProjectDomainAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface ISignalList - * @property {Array.|null} [signals] SignalList signals - * @property {string|null} [token] SignalList token + * @interface IProjectDomainAttributesUpdateResponse */ /** - * Constructs a new SignalList. + * Constructs a new ProjectDomainAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a SignalList. - * @implements ISignalList + * @classdesc Represents a ProjectDomainAttributesUpdateResponse. + * @implements IProjectDomainAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.ISignalList=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set */ - function SignalList(properties) { - this.signals = []; + function ProjectDomainAttributesUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38700,79 +40091,50 @@ } /** - * SignalList signals. - * @member {Array.} signals - * @memberof flyteidl.admin.SignalList - * @instance - */ - SignalList.prototype.signals = $util.emptyArray; - - /** - * SignalList token. - * @member {string} token - * @memberof flyteidl.admin.SignalList - * @instance - */ - SignalList.prototype.token = ""; - - /** - * Creates a new SignalList instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalList + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static - * @param {flyteidl.admin.ISignalList=} [properties] Properties to set - * @returns {flyteidl.admin.SignalList} SignalList instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse instance */ - SignalList.create = function create(properties) { - return new SignalList(properties); + ProjectDomainAttributesUpdateResponse.create = function create(properties) { + return new ProjectDomainAttributesUpdateResponse(properties); }; /** - * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalList + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static - * @param {flyteidl.admin.ISignalList} message SignalList 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 */ - SignalList.encode = function encode(message, writer) { + ProjectDomainAttributesUpdateResponse.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); return writer; }; /** - * Decodes a SignalList message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalList + * @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.SignalList} SignalList + * @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 */ - SignalList.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.SignalList(); + 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.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); break; @@ -38782,53 +40144,42 @@ }; /** - * Verifies a SignalList message. + * Verifies a ProjectDomainAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.SignalList + * @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 */ - SignalList.verify = function verify(message) { + ProjectDomainAttributesUpdateResponse.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.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return SignalList; + return ProjectDomainAttributesUpdateResponse; })(); - admin.SignalSetRequest = (function() { + admin.ProjectDomainAttributesGetRequest = (function() { /** - * Properties of a SignalSetRequest. + * Properties of a ProjectDomainAttributesGetRequest. * @memberof flyteidl.admin - * @interface ISignalSetRequest - * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalSetRequest id - * @property {flyteidl.core.ILiteral|null} [value] SignalSetRequest value + * @interface IProjectDomainAttributesGetRequest + * @property {string|null} [project] ProjectDomainAttributesGetRequest project + * @property {string|null} [domain] ProjectDomainAttributesGetRequest domain + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectDomainAttributesGetRequest resourceType */ /** - * Constructs a new SignalSetRequest. + * Constructs a new ProjectDomainAttributesGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a SignalSetRequest. - * @implements ISignalSetRequest + * @classdesc Represents a ProjectDomainAttributesGetRequest. + * @implements IProjectDomainAttributesGetRequest * @constructor - * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set */ - function SignalSetRequest(properties) { + function ProjectDomainAttributesGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38836,75 +40187,88 @@ } /** - * SignalSetRequest id. - * @member {flyteidl.core.ISignalIdentifier|null|undefined} id - * @memberof flyteidl.admin.SignalSetRequest + * ProjectDomainAttributesGetRequest project. + * @member {string} project + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @instance */ - SignalSetRequest.prototype.id = null; + ProjectDomainAttributesGetRequest.prototype.project = ""; /** - * SignalSetRequest value. - * @member {flyteidl.core.ILiteral|null|undefined} value - * @memberof flyteidl.admin.SignalSetRequest + * ProjectDomainAttributesGetRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @instance */ - SignalSetRequest.prototype.value = null; + ProjectDomainAttributesGetRequest.prototype.domain = ""; /** - * Creates a new SignalSetRequest instance using the specified properties. + * ProjectDomainAttributesGetRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @instance + */ + ProjectDomainAttributesGetRequest.prototype.resourceType = 0; + + /** + * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalSetRequest + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @static - * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest instance + * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesGetRequest} ProjectDomainAttributesGetRequest instance */ - SignalSetRequest.create = function create(properties) { - return new SignalSetRequest(properties); + ProjectDomainAttributesGetRequest.create = function create(properties) { + return new ProjectDomainAttributesGetRequest(properties); }; /** - * Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalSetRequest + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @static - * @param {flyteidl.admin.ISignalSetRequest} message SignalSetRequest 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 */ - SignalSetRequest.encode = function encode(message, writer) { + ProjectDomainAttributesGetRequest.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(); + 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); return writer; }; /** - * Decodes a SignalSetRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalSetRequest + * @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.SignalSetRequest} SignalSetRequest + * @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 */ - SignalSetRequest.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.SignalSetRequest(); + 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.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.domain = reader.string(); + break; + case 3: + message.resourceType = reader.int32(); break; default: reader.skipType(tag & 7); @@ -38915,49 +40279,60 @@ }; /** - * Verifies a SignalSetRequest message. + * Verifies a ProjectDomainAttributesGetRequest message. * @function verify - * @memberof flyteidl.admin.SignalSetRequest + * @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 */ - SignalSetRequest.verify = function verify(message) { + ProjectDomainAttributesGetRequest.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; - } + 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; + } return null; }; - return SignalSetRequest; + return ProjectDomainAttributesGetRequest; })(); - admin.SignalSetResponse = (function() { + admin.ProjectDomainAttributesGetResponse = (function() { /** - * Properties of a SignalSetResponse. + * Properties of a ProjectDomainAttributesGetResponse. * @memberof flyteidl.admin - * @interface ISignalSetResponse + * @interface IProjectDomainAttributesGetResponse + * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesGetResponse attributes */ /** - * Constructs a new SignalSetResponse. + * Constructs a new ProjectDomainAttributesGetResponse. * @memberof flyteidl.admin - * @classdesc Represents a SignalSetResponse. - * @implements ISignalSetResponse + * @classdesc Represents a ProjectDomainAttributesGetResponse. + * @implements IProjectDomainAttributesGetResponse * @constructor - * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set */ - function SignalSetResponse(properties) { + function ProjectDomainAttributesGetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38965,50 +40340,63 @@ } /** - * Creates a new SignalSetResponse instance using the specified properties. + * ProjectDomainAttributesGetResponse attributes. + * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @instance + */ + ProjectDomainAttributesGetResponse.prototype.attributes = null; + + /** + * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalSetResponse + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse * @static - * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse instance + * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesGetResponse} ProjectDomainAttributesGetResponse instance */ - SignalSetResponse.create = function create(properties) { - return new SignalSetResponse(properties); + ProjectDomainAttributesGetResponse.create = function create(properties) { + return new ProjectDomainAttributesGetResponse(properties); }; /** - * Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalSetResponse + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse * @static - * @param {flyteidl.admin.ISignalSetResponse} message SignalSetResponse 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 */ - SignalSetResponse.encode = function encode(message, writer) { + ProjectDomainAttributesGetResponse.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(); return writer; }; /** - * Decodes a SignalSetResponse message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesGetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalSetResponse + * @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.SignalSetResponse} SignalSetResponse + * @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 */ - SignalSetResponse.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.SignalSetResponse(); + 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.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -39018,42 +40406,47 @@ }; /** - * Verifies a SignalSetResponse message. + * Verifies a ProjectDomainAttributesGetResponse message. * @function verify - * @memberof flyteidl.admin.SignalSetResponse + * @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 */ - SignalSetResponse.verify = function verify(message) { + ProjectDomainAttributesGetResponse.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; + } return null; }; - return SignalSetResponse; + return ProjectDomainAttributesGetResponse; })(); - admin.Signal = (function() { + admin.ProjectDomainAttributesDeleteRequest = (function() { /** - * Properties of a Signal. + * Properties of a ProjectDomainAttributesDeleteRequest. * @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 IProjectDomainAttributesDeleteRequest + * @property {string|null} [project] ProjectDomainAttributesDeleteRequest project + * @property {string|null} [domain] ProjectDomainAttributesDeleteRequest domain + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectDomainAttributesDeleteRequest resourceType */ /** - * Constructs a new Signal. + * Constructs a new ProjectDomainAttributesDeleteRequest. * @memberof flyteidl.admin - * @classdesc Represents a Signal. - * @implements ISignal + * @classdesc Represents a ProjectDomainAttributesDeleteRequest. + * @implements IProjectDomainAttributesDeleteRequest * @constructor - * @param {flyteidl.admin.ISignal=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set */ - function Signal(properties) { + function ProjectDomainAttributesDeleteRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39061,88 +40454,88 @@ } /** - * Signal id. - * @member {flyteidl.core.ISignalIdentifier|null|undefined} id - * @memberof flyteidl.admin.Signal + * ProjectDomainAttributesDeleteRequest project. + * @member {string} project + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @instance */ - Signal.prototype.id = null; + ProjectDomainAttributesDeleteRequest.prototype.project = ""; /** - * Signal type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.admin.Signal + * ProjectDomainAttributesDeleteRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @instance */ - Signal.prototype.type = null; + ProjectDomainAttributesDeleteRequest.prototype.domain = ""; /** - * Signal value. - * @member {flyteidl.core.ILiteral|null|undefined} value - * @memberof flyteidl.admin.Signal + * ProjectDomainAttributesDeleteRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @instance */ - Signal.prototype.value = null; + ProjectDomainAttributesDeleteRequest.prototype.resourceType = 0; /** - * Creates a new Signal instance using the specified properties. + * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Signal + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @static - * @param {flyteidl.admin.ISignal=} [properties] Properties to set - * @returns {flyteidl.admin.Signal} Signal instance + * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesDeleteRequest} ProjectDomainAttributesDeleteRequest instance */ - Signal.create = function create(properties) { - return new Signal(properties); + ProjectDomainAttributesDeleteRequest.create = function create(properties) { + return new ProjectDomainAttributesDeleteRequest(properties); }; /** - * Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Signal + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @static - * @param {flyteidl.admin.ISignal} message Signal 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 */ - Signal.encode = function encode(message, writer) { + ProjectDomainAttributesDeleteRequest.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.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); return writer; }; /** - * Decodes a Signal message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesDeleteRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Signal + * @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.Signal} Signal + * @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 */ - Signal.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.Signal(); + 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: - message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + message.domain = reader.string(); break; case 3: - message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); break; default: reader.skipType(tag & 7); @@ -39153,56 +40546,59 @@ }; /** - * Verifies a Signal message. + * Verifies a ProjectDomainAttributesDeleteRequest message. * @function verify - * @memberof flyteidl.admin.Signal + * @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 */ - Signal.verify = function verify(message) { + ProjectDomainAttributesDeleteRequest.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.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; + } return null; }; - return Signal; + return ProjectDomainAttributesDeleteRequest; })(); - admin.TaskCreateRequest = (function() { + admin.ProjectDomainAttributesDeleteResponse = (function() { /** - * Properties of a TaskCreateRequest. + * Properties of a ProjectDomainAttributesDeleteResponse. * @memberof flyteidl.admin - * @interface ITaskCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] TaskCreateRequest id - * @property {flyteidl.admin.ITaskSpec|null} [spec] TaskCreateRequest spec + * @interface IProjectDomainAttributesDeleteResponse */ /** - * Constructs a new TaskCreateRequest. + * Constructs a new ProjectDomainAttributesDeleteResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskCreateRequest. - * @implements ITaskCreateRequest + * @classdesc Represents a ProjectDomainAttributesDeleteResponse. + * @implements IProjectDomainAttributesDeleteResponse * @constructor - * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set */ - function TaskCreateRequest(properties) { + function ProjectDomainAttributesDeleteResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39210,76 +40606,50 @@ } /** - * TaskCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskCreateRequest - * @instance + * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @static + * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesDeleteResponse} ProjectDomainAttributesDeleteResponse instance */ - TaskCreateRequest.prototype.id = null; + ProjectDomainAttributesDeleteResponse.create = function create(properties) { + return new ProjectDomainAttributesDeleteResponse(properties); + }; /** - * TaskCreateRequest spec. - * @member {flyteidl.admin.ITaskSpec|null|undefined} spec - * @memberof flyteidl.admin.TaskCreateRequest - * @instance - */ - TaskCreateRequest.prototype.spec = null; - - /** - * Creates a new TaskCreateRequest instance using the specified properties. - * @function create - * @memberof flyteidl.admin.TaskCreateRequest - * @static - * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest instance - */ - TaskCreateRequest.create = function create(properties) { - return new TaskCreateRequest(properties); - }; - - /** - * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse * @static - * @param {flyteidl.admin.ITaskCreateRequest} message TaskCreateRequest 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 */ - TaskCreateRequest.encode = function encode(message, writer) { + ProjectDomainAttributesDeleteResponse.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(); return writer; }; /** - * Decodes a TaskCreateRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesDeleteResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskCreateRequest + * @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.TaskCreateRequest} TaskCreateRequest + * @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 */ - TaskCreateRequest.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.TaskCreateRequest(); + 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 = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.spec = $root.flyteidl.admin.TaskSpec.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -39289,49 +40659,41 @@ }; /** - * Verifies a TaskCreateRequest message. + * Verifies a ProjectDomainAttributesDeleteResponse message. * @function verify - * @memberof flyteidl.admin.TaskCreateRequest + * @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 */ - TaskCreateRequest.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")) { - 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 TaskCreateRequest; + return ProjectDomainAttributesDeleteResponse; })(); - admin.TaskCreateResponse = (function() { + admin.SignalGetOrCreateRequest = (function() { /** - * Properties of a TaskCreateResponse. + * Properties of a SignalGetOrCreateRequest. * @memberof flyteidl.admin - * @interface ITaskCreateResponse + * @interface ISignalGetOrCreateRequest + * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalGetOrCreateRequest id + * @property {flyteidl.core.ILiteralType|null} [type] SignalGetOrCreateRequest type */ /** - * Constructs a new TaskCreateResponse. + * Constructs a new SignalGetOrCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskCreateResponse. - * @implements ITaskCreateResponse + * @classdesc Represents a SignalGetOrCreateRequest. + * @implements ISignalGetOrCreateRequest * @constructor - * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set */ - function TaskCreateResponse(properties) { + function SignalGetOrCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39339,50 +40701,76 @@ } /** - * Creates a new TaskCreateResponse instance using the specified properties. + * SignalGetOrCreateRequest id. + * @member {flyteidl.core.ISignalIdentifier|null|undefined} id + * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @instance + */ + SignalGetOrCreateRequest.prototype.id = null; + + /** + * SignalGetOrCreateRequest type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @instance + */ + SignalGetOrCreateRequest.prototype.type = null; + + /** + * Creates a new SignalGetOrCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @static - * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse instance + * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest instance */ - TaskCreateResponse.create = function create(properties) { - return new TaskCreateResponse(properties); + SignalGetOrCreateRequest.create = function create(properties) { + return new SignalGetOrCreateRequest(properties); }; /** - * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. + * Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @static - * @param {flyteidl.admin.ITaskCreateResponse} message TaskCreateResponse 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 */ - TaskCreateResponse.encode = function encode(message, writer) { + SignalGetOrCreateRequest.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(); return writer; }; /** - * Decodes a TaskCreateResponse message from the specified reader or buffer. + * Decodes a SignalGetOrCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskCreateResponse + * @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.TaskCreateResponse} TaskCreateResponse + * @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 */ - TaskCreateResponse.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.TaskCreateResponse(); + 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: + message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -39392,42 +40780,54 @@ }; /** - * Verifies a TaskCreateResponse message. + * Verifies a SignalGetOrCreateRequest message. * @function verify - * @memberof flyteidl.admin.TaskCreateResponse + * @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 */ - TaskCreateResponse.verify = function verify(message) { + SignalGetOrCreateRequest.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; + } return null; }; - return TaskCreateResponse; + return SignalGetOrCreateRequest; })(); - admin.Task = (function() { + admin.SignalListRequest = (function() { /** - * Properties of a Task. + * Properties of a SignalListRequest. * @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 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 Task. + * Constructs a new SignalListRequest. * @memberof flyteidl.admin - * @classdesc Represents a Task. - * @implements ITask + * @classdesc Represents a SignalListRequest. + * @implements ISignalListRequest * @constructor - * @param {flyteidl.admin.ITask=} [properties] Properties to set + * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set */ - function Task(properties) { + function SignalListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39435,88 +40835,114 @@ } /** - * Task id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.Task + * SignalListRequest workflowExecutionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId + * @memberof flyteidl.admin.SignalListRequest * @instance */ - Task.prototype.id = null; + SignalListRequest.prototype.workflowExecutionId = null; /** - * Task closure. - * @member {flyteidl.admin.ITaskClosure|null|undefined} closure - * @memberof flyteidl.admin.Task + * SignalListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.SignalListRequest * @instance */ - Task.prototype.closure = null; + SignalListRequest.prototype.limit = 0; /** - * Task shortDescription. - * @member {string} shortDescription - * @memberof flyteidl.admin.Task + * SignalListRequest token. + * @member {string} token + * @memberof flyteidl.admin.SignalListRequest * @instance */ - Task.prototype.shortDescription = ""; + SignalListRequest.prototype.token = ""; /** - * Creates a new Task instance using the specified properties. + * 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. * @function create - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.SignalListRequest * @static - * @param {flyteidl.admin.ITask=} [properties] Properties to set - * @returns {flyteidl.admin.Task} Task instance + * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SignalListRequest} SignalListRequest instance */ - Task.create = function create(properties) { - return new Task(properties); + SignalListRequest.create = function create(properties) { + return new SignalListRequest(properties); }; /** - * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. + * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.SignalListRequest * @static - * @param {flyteidl.admin.ITask} message Task 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 */ - Task.encode = function encode(message, writer) { + SignalListRequest.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); + 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 Task message from the specified reader or buffer. + * Decodes a SignalListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Task + * @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.Task} Task + * @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 */ - Task.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.Task(); + 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.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32()); + message.limit = reader.uint32(); break; case 3: - message.shortDescription = reader.string(); + 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); @@ -39527,55 +40953,61 @@ }; /** - * Verifies a Task message. + * Verifies a SignalListRequest message. * @function verify - * @memberof flyteidl.admin.Task + * @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 */ - Task.verify = function verify(message) { + SignalListRequest.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.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); if (error) - return "id." + error; + return "workflowExecutionId." + error; } - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.TaskClosure.verify(message.closure); + 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 "closure." + error; + return "sortBy." + error; } - if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) - if (!$util.isString(message.shortDescription)) - return "shortDescription: string expected"; return null; }; - return Task; + return SignalListRequest; })(); - admin.TaskList = (function() { + admin.SignalList = (function() { /** - * Properties of a TaskList. + * Properties of a SignalList. * @memberof flyteidl.admin - * @interface ITaskList - * @property {Array.|null} [tasks] TaskList tasks - * @property {string|null} [token] TaskList token + * @interface ISignalList + * @property {Array.|null} [signals] SignalList signals + * @property {string|null} [token] SignalList token */ /** - * Constructs a new TaskList. + * Constructs a new SignalList. * @memberof flyteidl.admin - * @classdesc Represents a TaskList. - * @implements ITaskList + * @classdesc Represents a SignalList. + * @implements ISignalList * @constructor - * @param {flyteidl.admin.ITaskList=} [properties] Properties to set + * @param {flyteidl.admin.ISignalList=} [properties] Properties to set */ - function TaskList(properties) { - this.tasks = []; + function SignalList(properties) { + this.signals = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39583,75 +41015,75 @@ } /** - * TaskList tasks. - * @member {Array.} tasks - * @memberof flyteidl.admin.TaskList + * SignalList signals. + * @member {Array.} signals + * @memberof flyteidl.admin.SignalList * @instance */ - TaskList.prototype.tasks = $util.emptyArray; + SignalList.prototype.signals = $util.emptyArray; /** - * TaskList token. + * SignalList token. * @member {string} token - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.SignalList * @instance */ - TaskList.prototype.token = ""; + SignalList.prototype.token = ""; /** - * Creates a new TaskList instance using the specified properties. + * Creates a new SignalList instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.SignalList * @static - * @param {flyteidl.admin.ITaskList=} [properties] Properties to set - * @returns {flyteidl.admin.TaskList} TaskList instance + * @param {flyteidl.admin.ISignalList=} [properties] Properties to set + * @returns {flyteidl.admin.SignalList} SignalList instance */ - TaskList.create = function create(properties) { - return new TaskList(properties); + SignalList.create = function create(properties) { + return new SignalList(properties); }; /** - * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. + * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.SignalList * @static - * @param {flyteidl.admin.ITaskList} message TaskList 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 */ - TaskList.encode = function encode(message, writer) { + SignalList.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.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 TaskList message from the specified reader or buffer. + * Decodes a SignalList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskList + * @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.TaskList} TaskList + * @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 */ - TaskList.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.TaskList(); + 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: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.admin.Task.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(); @@ -39665,23 +41097,23 @@ }; /** - * Verifies a TaskList message. + * Verifies a SignalList message. * @function verify - * @memberof flyteidl.admin.TaskList + * @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 */ - TaskList.verify = function verify(message) { + SignalList.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 (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 "tasks." + error; + return "signals." + error; } } if (message.token != null && message.hasOwnProperty("token")) @@ -39690,28 +41122,28 @@ return null; }; - return TaskList; + return SignalList; })(); - admin.TaskSpec = (function() { + admin.SignalSetRequest = (function() { /** - * Properties of a TaskSpec. + * Properties of a SignalSetRequest. * @memberof flyteidl.admin - * @interface ITaskSpec - * @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template - * @property {flyteidl.admin.IDescriptionEntity|null} [description] TaskSpec description + * @interface ISignalSetRequest + * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalSetRequest id + * @property {flyteidl.core.ILiteral|null} [value] SignalSetRequest value */ /** - * Constructs a new TaskSpec. + * Constructs a new SignalSetRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskSpec. - * @implements ITaskSpec + * @classdesc Represents a SignalSetRequest. + * @implements ISignalSetRequest * @constructor - * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set + * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set */ - function TaskSpec(properties) { + function SignalSetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39719,75 +41151,75 @@ } /** - * TaskSpec template. - * @member {flyteidl.core.ITaskTemplate|null|undefined} template - * @memberof flyteidl.admin.TaskSpec + * SignalSetRequest id. + * @member {flyteidl.core.ISignalIdentifier|null|undefined} id + * @memberof flyteidl.admin.SignalSetRequest * @instance */ - TaskSpec.prototype.template = null; + SignalSetRequest.prototype.id = null; /** - * TaskSpec description. - * @member {flyteidl.admin.IDescriptionEntity|null|undefined} description - * @memberof flyteidl.admin.TaskSpec + * SignalSetRequest value. + * @member {flyteidl.core.ILiteral|null|undefined} value + * @memberof flyteidl.admin.SignalSetRequest * @instance */ - TaskSpec.prototype.description = null; + SignalSetRequest.prototype.value = null; /** - * Creates a new TaskSpec instance using the specified properties. + * Creates a new SignalSetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.SignalSetRequest * @static - * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set - * @returns {flyteidl.admin.TaskSpec} TaskSpec instance + * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest instance */ - TaskSpec.create = function create(properties) { - return new TaskSpec(properties); + SignalSetRequest.create = function create(properties) { + return new SignalSetRequest(properties); }; /** - * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. + * Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.SignalSetRequest * @static - * @param {flyteidl.admin.ITaskSpec} message TaskSpec 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 */ - TaskSpec.encode = function encode(message, writer) { + SignalSetRequest.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.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 TaskSpec message from the specified reader or buffer. + * Decodes a SignalSetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskSpec + * @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.TaskSpec} TaskSpec + * @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 */ - TaskSpec.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.TaskSpec(); + 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.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); break; case 2: - message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32()); + message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -39798,51 +41230,49 @@ }; /** - * Verifies a TaskSpec message. + * Verifies a SignalSetRequest message. * @function verify - * @memberof flyteidl.admin.TaskSpec + * @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 */ - TaskSpec.verify = function verify(message) { + SignalSetRequest.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.SignalIdentifier.verify(message.id); if (error) - return "template." + error; + return "id." + error; } - if (message.description != null && message.hasOwnProperty("description")) { - var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description); + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.Literal.verify(message.value); if (error) - return "description." + error; + return "value." + error; } return null; }; - return TaskSpec; + return SignalSetRequest; })(); - admin.TaskClosure = (function() { + admin.SignalSetResponse = (function() { /** - * Properties of a TaskClosure. + * Properties of a SignalSetResponse. * @memberof flyteidl.admin - * @interface ITaskClosure - * @property {flyteidl.core.ICompiledTask|null} [compiledTask] TaskClosure compiledTask - * @property {google.protobuf.ITimestamp|null} [createdAt] TaskClosure createdAt + * @interface ISignalSetResponse */ /** - * Constructs a new TaskClosure. + * Constructs a new SignalSetResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskClosure. - * @implements ITaskClosure + * @classdesc Represents a SignalSetResponse. + * @implements ISignalSetResponse * @constructor - * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set + * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set */ - function TaskClosure(properties) { + function SignalSetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39850,76 +41280,50 @@ } /** - * TaskClosure compiledTask. - * @member {flyteidl.core.ICompiledTask|null|undefined} compiledTask - * @memberof flyteidl.admin.TaskClosure - * @instance - */ - TaskClosure.prototype.compiledTask = null; - - /** - * 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. + * Creates a new SignalSetResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.SignalSetResponse * @static - * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set - * @returns {flyteidl.admin.TaskClosure} TaskClosure instance + * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse instance */ - TaskClosure.create = function create(properties) { - return new TaskClosure(properties); + SignalSetResponse.create = function create(properties) { + return new SignalSetResponse(properties); }; /** - * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. + * Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.SignalSetResponse * @static - * @param {flyteidl.admin.ITaskClosure} message TaskClosure 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 */ - TaskClosure.encode = function encode(message, writer) { + SignalSetResponse.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(); return writer; }; /** - * Decodes a TaskClosure message from the specified reader or buffer. + * Decodes a SignalSetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskClosure + * @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.TaskClosure} TaskClosure + * @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 */ - TaskClosure.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.TaskClosure(); + 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) { - case 1: - 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); break; @@ -39929,50 +41333,42 @@ }; /** - * Verifies a TaskClosure message. + * Verifies a SignalSetResponse message. * @function verify - * @memberof flyteidl.admin.TaskClosure + * @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 */ - TaskClosure.verify = function verify(message) { + SignalSetResponse.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 (error) - return "createdAt." + error; - } return null; }; - return TaskClosure; + return SignalSetResponse; })(); - admin.TaskExecutionGetRequest = (function() { + admin.Signal = (function() { /** - * Properties of a TaskExecutionGetRequest. + * Properties of a Signal. * @memberof flyteidl.admin - * @interface ITaskExecutionGetRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetRequest id + * @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 TaskExecutionGetRequest. + * Constructs a new Signal. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetRequest. - * @implements ITaskExecutionGetRequest + * @classdesc Represents a Signal. + * @implements ISignal * @constructor - * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.ISignal=} [properties] Properties to set */ - function TaskExecutionGetRequest(properties) { + function Signal(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39980,62 +41376,88 @@ } /** - * TaskExecutionGetRequest id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecutionGetRequest + * Signal id. + * @member {flyteidl.core.ISignalIdentifier|null|undefined} id + * @memberof flyteidl.admin.Signal * @instance */ - TaskExecutionGetRequest.prototype.id = null; + Signal.prototype.id = null; /** - * Creates a new TaskExecutionGetRequest instance using the specified properties. + * Signal type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.admin.Signal + * @instance + */ + Signal.prototype.type = null; + + /** + * 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.TaskExecutionGetRequest + * @memberof flyteidl.admin.Signal * @static - * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest instance + * @param {flyteidl.admin.ISignal=} [properties] Properties to set + * @returns {flyteidl.admin.Signal} Signal instance */ - TaskExecutionGetRequest.create = function create(properties) { - return new TaskExecutionGetRequest(properties); + Signal.create = function create(properties) { + return new Signal(properties); }; /** - * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. + * Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.Signal * @static - * @param {flyteidl.admin.ITaskExecutionGetRequest} message TaskExecutionGetRequest 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 */ - TaskExecutionGetRequest.encode = function encode(message, writer) { + Signal.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(); + $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 TaskExecutionGetRequest message from the specified reader or buffer. + * Decodes a Signal message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @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.TaskExecutionGetRequest} TaskExecutionGetRequest + * @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 */ - TaskExecutionGetRequest.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.TaskExecutionGetRequest(); + 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 = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.SignalIdentifier.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()); break; default: reader.skipType(tag & 7); @@ -40046,49 +41468,56 @@ }; /** - * Verifies a TaskExecutionGetRequest message. + * Verifies a Signal message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @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 */ - TaskExecutionGetRequest.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")) { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.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 TaskExecutionGetRequest; + return Signal; })(); - admin.TaskExecutionListRequest = (function() { + admin.TaskCreateRequest = (function() { /** - * Properties of a TaskExecutionListRequest. + * Properties of a TaskCreateRequest. * @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 ITaskCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] TaskCreateRequest id + * @property {flyteidl.admin.ITaskSpec|null} [spec] TaskCreateRequest spec */ /** - * Constructs a new TaskExecutionListRequest. + * Constructs a new TaskCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionListRequest. - * @implements ITaskExecutionListRequest + * @classdesc Represents a TaskCreateRequest. + * @implements ITaskCreateRequest * @constructor - * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set */ - function TaskExecutionListRequest(properties) { + function TaskCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40096,114 +41525,75 @@ } /** - * 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 + * TaskCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskCreateRequest * @instance */ - TaskExecutionListRequest.prototype.filters = ""; + TaskCreateRequest.prototype.id = null; /** - * TaskExecutionListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.TaskExecutionListRequest + * TaskCreateRequest spec. + * @member {flyteidl.admin.ITaskSpec|null|undefined} spec + * @memberof flyteidl.admin.TaskCreateRequest * @instance */ - TaskExecutionListRequest.prototype.sortBy = null; + TaskCreateRequest.prototype.spec = null; /** - * Creates a new TaskExecutionListRequest instance using the specified properties. + * Creates a new TaskCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.TaskCreateRequest * @static - * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest instance + * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest instance */ - TaskExecutionListRequest.create = function create(properties) { - return new TaskExecutionListRequest(properties); + TaskCreateRequest.create = function create(properties) { + return new TaskCreateRequest(properties); }; /** - * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.TaskCreateRequest * @static - * @param {flyteidl.admin.ITaskExecutionListRequest} message TaskExecutionListRequest 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 */ - TaskExecutionListRequest.encode = function encode(message, writer) { + TaskCreateRequest.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(); + 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(); return writer; }; /** - * Decodes a TaskExecutionListRequest message from the specified reader or buffer. + * Decodes a TaskCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionListRequest + * @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.TaskExecutionListRequest} TaskExecutionListRequest + * @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 */ - TaskExecutionListRequest.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.TaskExecutionListRequest(); + 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.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.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()); + message.spec = $root.flyteidl.admin.TaskSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -40214,62 +41604,49 @@ }; /** - * Verifies a TaskExecutionListRequest message. + * Verifies a TaskCreateRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecutionListRequest + * @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 */ - TaskExecutionListRequest.verify = function verify(message) { + TaskCreateRequest.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "nodeExecutionId." + 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 (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.TaskSpec.verify(message.spec); if (error) - return "sortBy." + error; + return "spec." + error; } return null; }; - return TaskExecutionListRequest; + return TaskCreateRequest; })(); - admin.TaskExecution = (function() { + admin.TaskCreateResponse = (function() { /** - * Properties of a TaskExecution. + * Properties of a TaskCreateResponse. * @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 ITaskCreateResponse */ /** - * Constructs a new TaskExecution. + * Constructs a new TaskCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecution. - * @implements ITaskExecution + * @classdesc Represents a TaskCreateResponse. + * @implements ITaskCreateResponse * @constructor - * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set + * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set */ - function TaskExecution(properties) { + function TaskCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40277,102 +41654,50 @@ } /** - * TaskExecution id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecution - * @instance - */ - TaskExecution.prototype.id = null; - - /** - * TaskExecution inputUri. - * @member {string} inputUri - * @memberof flyteidl.admin.TaskExecution - * @instance - */ - TaskExecution.prototype.inputUri = ""; - - /** - * TaskExecution closure. - * @member {flyteidl.admin.ITaskExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.TaskExecution - * @instance - */ - TaskExecution.prototype.closure = null; - - /** - * TaskExecution isParent. - * @member {boolean} isParent - * @memberof flyteidl.admin.TaskExecution - * @instance - */ - TaskExecution.prototype.isParent = false; - - /** - * Creates a new TaskExecution instance using the specified properties. + * Creates a new TaskCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.TaskCreateResponse * @static - * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecution} TaskExecution instance + * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse instance */ - TaskExecution.create = function create(properties) { - return new TaskExecution(properties); + TaskCreateResponse.create = function create(properties) { + return new TaskCreateResponse(properties); }; /** - * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.TaskCreateResponse * @static - * @param {flyteidl.admin.ITaskExecution} message TaskExecution 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 */ - TaskExecution.encode = function encode(message, writer) { + TaskCreateResponse.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); return writer; }; /** - * Decodes a TaskExecution message from the specified reader or buffer. + * Decodes a TaskCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecution + * @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.TaskExecution} TaskExecution + * @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 */ - TaskExecution.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.TaskExecution(); + 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.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.inputUri = reader.string(); - break; - case 3: - message.closure = $root.flyteidl.admin.TaskExecutionClosure.decode(reader, reader.uint32()); - break; - case 4: - message.isParent = reader.bool(); - break; default: reader.skipType(tag & 7); break; @@ -40382,58 +41707,42 @@ }; /** - * Verifies a TaskExecution message. + * Verifies a TaskCreateResponse message. * @function verify - * @memberof flyteidl.admin.TaskExecution + * @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 */ - TaskExecution.verify = function verify(message) { + TaskCreateResponse.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"; return null; }; - return TaskExecution; + return TaskCreateResponse; })(); - admin.TaskExecutionList = (function() { + admin.Task = (function() { /** - * Properties of a TaskExecutionList. + * Properties of a Task. * @memberof flyteidl.admin - * @interface ITaskExecutionList - * @property {Array.|null} [taskExecutions] TaskExecutionList taskExecutions - * @property {string|null} [token] TaskExecutionList token + * @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 TaskExecutionList. + * Constructs a new Task. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionList. - * @implements ITaskExecutionList + * @classdesc Represents a Task. + * @implements ITask * @constructor - * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.ITask=} [properties] Properties to set */ - function TaskExecutionList(properties) { - this.taskExecutions = []; + function Task(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40441,78 +41750,88 @@ } /** - * TaskExecutionList taskExecutions. - * @member {Array.} taskExecutions - * @memberof flyteidl.admin.TaskExecutionList + * Task id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.Task * @instance */ - TaskExecutionList.prototype.taskExecutions = $util.emptyArray; + Task.prototype.id = null; /** - * TaskExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.TaskExecutionList + * Task closure. + * @member {flyteidl.admin.ITaskClosure|null|undefined} closure + * @memberof flyteidl.admin.Task * @instance */ - TaskExecutionList.prototype.token = ""; + Task.prototype.closure = null; /** - * Creates a new TaskExecutionList instance using the specified properties. - * @function create - * @memberof flyteidl.admin.TaskExecutionList - * @static - * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList instance - */ - TaskExecutionList.create = function create(properties) { - return new TaskExecutionList(properties); + * 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.Task + * @static + * @param {flyteidl.admin.ITask=} [properties] Properties to set + * @returns {flyteidl.admin.Task} Task instance + */ + Task.create = function create(properties) { + return new Task(properties); }; /** - * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. + * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.Task * @static - * @param {flyteidl.admin.ITaskExecutionList} message TaskExecutionList 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 */ - TaskExecutionList.encode = function encode(message, writer) { + Task.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.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 TaskExecutionList message from the specified reader or buffer. + * Decodes a Task message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionList + * @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.TaskExecutionList} TaskExecutionList + * @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 */ - TaskExecutionList.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.TaskExecutionList(); + 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: - if (!(message.taskExecutions && message.taskExecutions.length)) - message.taskExecutions = []; - message.taskExecutions.push($root.flyteidl.admin.TaskExecution.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32()); + break; + case 3: + message.shortDescription = reader.string(); break; default: reader.skipType(tag & 7); @@ -40523,68 +41842,55 @@ }; /** - * Verifies a TaskExecutionList message. + * Verifies a Task message. * @function verify - * @memberof flyteidl.admin.TaskExecutionList + * @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 */ - TaskExecutionList.verify = function verify(message) { + Task.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.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.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 TaskExecutionList; + return Task; })(); - admin.TaskExecutionClosure = (function() { + admin.TaskList = (function() { /** - * Properties of a TaskExecutionClosure. + * Properties of a TaskList. * @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 ITaskList + * @property {Array.|null} [tasks] TaskList tasks + * @property {string|null} [token] TaskList token */ /** - * Constructs a new TaskExecutionClosure. + * Constructs a new TaskList. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionClosure. - * @implements ITaskExecutionClosure + * @classdesc Represents a TaskList. + * @implements ITaskList * @constructor - * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.ITaskList=} [properties] Properties to set */ - function TaskExecutionClosure(properties) { - this.logs = []; - this.reasons = []; + function TaskList(properties) { + this.tasks = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40592,267 +41898,345 @@ } /** - * TaskExecutionClosure outputUri. - * @member {string} outputUri - * @memberof flyteidl.admin.TaskExecutionClosure + * TaskList tasks. + * @member {Array.} tasks + * @memberof flyteidl.admin.TaskList * @instance */ - TaskExecutionClosure.prototype.outputUri = ""; + TaskList.prototype.tasks = $util.emptyArray; /** - * TaskExecutionClosure error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.admin.TaskExecutionClosure + * TaskList token. + * @member {string} token + * @memberof flyteidl.admin.TaskList * @instance */ - TaskExecutionClosure.prototype.error = null; + TaskList.prototype.token = ""; /** - * TaskExecutionClosure outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Creates a new TaskList instance using the specified properties. + * @function create + * @memberof flyteidl.admin.TaskList + * @static + * @param {flyteidl.admin.ITaskList=} [properties] Properties to set + * @returns {flyteidl.admin.TaskList} TaskList instance */ - TaskExecutionClosure.prototype.outputData = null; + TaskList.create = function create(properties) { + return new TaskList(properties); + }; /** - * TaskExecutionClosure phase. - * @member {flyteidl.core.TaskExecution.Phase} phase - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.TaskList + * @static + * @param {flyteidl.admin.ITaskList} message TaskList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - TaskExecutionClosure.prototype.phase = 0; + 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; + }; /** - * TaskExecutionClosure logs. - * @member {Array.} logs - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Decodes a TaskList message from the specified reader or buffer. + * @function decode + * @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.TaskList} TaskList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionClosure.prototype.logs = $util.emptyArray; + 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.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; + } + } + return message; + }; /** - * TaskExecutionClosure startedAt. - * @member {google.protobuf.ITimestamp|null|undefined} startedAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Verifies a TaskList message. + * @function verify + * @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 */ - TaskExecutionClosure.prototype.startedAt = null; + 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 TaskList; + })(); + + admin.TaskSpec = (function() { /** - * TaskExecutionClosure duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Properties of a TaskSpec. + * @memberof flyteidl.admin + * @interface ITaskSpec + * @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template + * @property {flyteidl.admin.IDescriptionEntity|null} [description] TaskSpec description */ - TaskExecutionClosure.prototype.duration = null; /** - * TaskExecutionClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Constructs a new TaskSpec. + * @memberof flyteidl.admin + * @classdesc Represents a TaskSpec. + * @implements ITaskSpec + * @constructor + * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set */ - TaskExecutionClosure.prototype.createdAt = null; + function TaskSpec(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]]; + } /** - * TaskExecutionClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.TaskExecutionClosure + * TaskSpec template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.admin.TaskSpec * @instance */ - TaskExecutionClosure.prototype.updatedAt = null; + TaskSpec.prototype.template = null; /** - * TaskExecutionClosure customInfo. - * @member {google.protobuf.IStruct|null|undefined} customInfo - * @memberof flyteidl.admin.TaskExecutionClosure + * TaskSpec description. + * @member {flyteidl.admin.IDescriptionEntity|null|undefined} description + * @memberof flyteidl.admin.TaskSpec * @instance */ - TaskExecutionClosure.prototype.customInfo = null; + TaskSpec.prototype.description = null; /** - * TaskExecutionClosure reason. - * @member {string} reason - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Creates a new TaskSpec instance using the specified properties. + * @function create + * @memberof flyteidl.admin.TaskSpec + * @static + * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set + * @returns {flyteidl.admin.TaskSpec} TaskSpec instance */ - TaskExecutionClosure.prototype.reason = ""; + TaskSpec.create = function create(properties) { + return new TaskSpec(properties); + }; /** - * TaskExecutionClosure taskType. - * @member {string} taskType - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.TaskSpec + * @static + * @param {flyteidl.admin.ITaskSpec} message TaskSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - TaskExecutionClosure.prototype.taskType = ""; + TaskSpec.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(); + return writer; + }; /** - * TaskExecutionClosure metadata. - * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Decodes a TaskSpec message from the specified reader or buffer. + * @function decode + * @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.TaskSpec} TaskSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionClosure.prototype.metadata = null; + 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.TaskSpec(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + 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); + break; + } + } + return message; + }; /** - * TaskExecutionClosure eventVersion. - * @member {number} eventVersion - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Verifies a TaskSpec message. + * @function verify + * @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 */ - TaskExecutionClosure.prototype.eventVersion = 0; + TaskSpec.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; + } + if (message.description != null && message.hasOwnProperty("description")) { + var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description); + if (error) + return "description." + error; + } + return null; + }; + + return TaskSpec; + })(); + + admin.TaskClosure = (function() { /** - * TaskExecutionClosure reasons. - * @member {Array.} reasons - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance + * Properties of a TaskClosure. + * @memberof flyteidl.admin + * @interface ITaskClosure + * @property {flyteidl.core.ICompiledTask|null} [compiledTask] TaskClosure compiledTask + * @property {google.protobuf.ITimestamp|null} [createdAt] TaskClosure createdAt */ - TaskExecutionClosure.prototype.reasons = $util.emptyArray; - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + /** + * Constructs a new TaskClosure. + * @memberof flyteidl.admin + * @classdesc Represents a TaskClosure. + * @implements ITaskClosure + * @constructor + * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set + */ + function TaskClosure(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]]; + } /** - * TaskExecutionClosure outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.admin.TaskExecutionClosure + * TaskClosure compiledTask. + * @member {flyteidl.core.ICompiledTask|null|undefined} compiledTask + * @memberof flyteidl.admin.TaskClosure * @instance */ - Object.defineProperty(TaskExecutionClosure.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + TaskClosure.prototype.compiledTask = null; /** - * Creates a new TaskExecutionClosure 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.TaskExecutionClosure + * @memberof flyteidl.admin.TaskClosure * @static - * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure instance + * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set + * @returns {flyteidl.admin.TaskClosure} TaskClosure instance */ - TaskExecutionClosure.create = function create(properties) { - return new TaskExecutionClosure(properties); + TaskClosure.create = function create(properties) { + return new TaskClosure(properties); }; /** - * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. + * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.TaskClosure * @static - * @param {flyteidl.admin.ITaskExecutionClosure} message TaskExecutionClosure 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 */ - TaskExecutionClosure.encode = function encode(message, writer) { + TaskClosure.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.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 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(); + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionClosure message from the specified reader or buffer. + * Decodes a TaskClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionClosure + * @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.TaskExecutionClosure} TaskExecutionClosure + * @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 */ - TaskExecutionClosure.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.TaskExecutionClosure(); + 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.outputUri = reader.string(); + message.compiledTask = $root.flyteidl.core.CompiledTask.decode(reader, reader.uint32()); 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(); + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); 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); + default: + reader.skipType(tag & 7); break; } } @@ -40860,138 +42244,50 @@ }; /** - * Verifies a TaskExecutionClosure message. + * Verifies a TaskClosure message. * @function verify - * @memberof flyteidl.admin.TaskExecutionClosure + * @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 */ - TaskExecutionClosure.verify = function verify(message) { + TaskClosure.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 (message.compiledTask != null && message.hasOwnProperty("compiledTask")) { + var error = $root.flyteidl.core.CompiledTask.verify(message.compiledTask); if (error) - return "duration." + 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; } - 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 TaskExecutionClosure; + return TaskClosure; })(); - admin.Reason = (function() { + admin.TaskExecutionGetRequest = (function() { /** - * Properties of a Reason. + * Properties of a TaskExecutionGetRequest. * @memberof flyteidl.admin - * @interface IReason - * @property {google.protobuf.ITimestamp|null} [occurredAt] Reason occurredAt - * @property {string|null} [message] Reason message + * @interface ITaskExecutionGetRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetRequest id */ /** - * Constructs a new Reason. + * Constructs a new TaskExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a Reason. - * @implements IReason + * @classdesc Represents a TaskExecutionGetRequest. + * @implements ITaskExecutionGetRequest * @constructor - * @param {flyteidl.admin.IReason=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set */ - function Reason(properties) { + function TaskExecutionGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40999,75 +42295,62 @@ } /** - * 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 + * TaskExecutionGetRequest id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecutionGetRequest * @instance */ - Reason.prototype.message = ""; + TaskExecutionGetRequest.prototype.id = null; /** - * Creates a new Reason instance using the specified properties. + * Creates a new TaskExecutionGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Reason + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static - * @param {flyteidl.admin.IReason=} [properties] Properties to set - * @returns {flyteidl.admin.Reason} Reason instance + * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest instance */ - Reason.create = function create(properties) { - return new Reason(properties); + TaskExecutionGetRequest.create = function create(properties) { + return new TaskExecutionGetRequest(properties); }; /** - * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. + * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Reason + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static - * @param {flyteidl.admin.IReason} message Reason 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 */ - Reason.encode = function encode(message, writer) { + TaskExecutionGetRequest.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); + 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 Reason message from the specified reader or buffer. + * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Reason + * @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.Reason} Reason + * @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 */ - Reason.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.Reason(); + 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.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.message = reader.string(); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -41078,48 +42361,49 @@ }; /** - * Verifies a Reason message. + * Verifies a TaskExecutionGetRequest message. * @function verify - * @memberof flyteidl.admin.Reason + * @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 */ - Reason.verify = function verify(message) { + TaskExecutionGetRequest.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); if (error) - return "occurredAt." + error; + return "id." + error; } - if (message.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string expected"; return null; }; - return Reason; + return TaskExecutionGetRequest; })(); - admin.TaskExecutionGetDataRequest = (function() { + admin.TaskExecutionListRequest = (function() { /** - * Properties of a TaskExecutionGetDataRequest. + * Properties of a TaskExecutionListRequest. * @memberof flyteidl.admin - * @interface ITaskExecutionGetDataRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id + * @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 TaskExecutionGetDataRequest. + * Constructs a new TaskExecutionListRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetDataRequest. - * @implements ITaskExecutionGetDataRequest + * @classdesc Represents a TaskExecutionListRequest. + * @implements ITaskExecutionListRequest * @constructor - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set */ - function TaskExecutionGetDataRequest(properties) { + function TaskExecutionListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41127,62 +42411,114 @@ } /** - * TaskExecutionGetDataRequest id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * TaskExecutionListRequest nodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId + * @memberof flyteidl.admin.TaskExecutionListRequest * @instance */ - TaskExecutionGetDataRequest.prototype.id = null; + TaskExecutionListRequest.prototype.nodeExecutionId = null; /** - * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * 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.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.TaskExecutionListRequest * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance + * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest instance */ - TaskExecutionGetDataRequest.create = function create(properties) { - return new TaskExecutionGetDataRequest(properties); + TaskExecutionListRequest.create = function create(properties) { + return new TaskExecutionListRequest(properties); }; /** - * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.TaskExecutionListRequest * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest} message TaskExecutionGetDataRequest 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 */ - TaskExecutionGetDataRequest.encode = function encode(message, writer) { + TaskExecutionListRequest.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.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 TaskExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a TaskExecutionListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @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.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest + * @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 */ - TaskExecutionGetDataRequest.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.TaskExecutionGetDataRequest(); + 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.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + 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); @@ -41193,49 +42529,62 @@ }; /** - * Verifies a TaskExecutionGetDataRequest message. + * Verifies a TaskExecutionListRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @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 */ - TaskExecutionGetDataRequest.verify = function verify(message) { + TaskExecutionListRequest.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.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); if (error) - return "id." + 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 TaskExecutionGetDataRequest; + return TaskExecutionListRequest; })(); - admin.TaskExecutionGetDataResponse = (function() { + admin.TaskExecution = (function() { /** - * Properties of a TaskExecutionGetDataResponse. + * Properties of a TaskExecution. * @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 + * @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 TaskExecutionGetDataResponse. + * Constructs a new TaskExecution. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetDataResponse. - * @implements ITaskExecutionGetDataResponse + * @classdesc Represents a TaskExecution. + * @implements ITaskExecution * @constructor - * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set */ - function TaskExecutionGetDataResponse(properties) { + function TaskExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41243,114 +42592,101 @@ } /** - * TaskExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse - * @instance - */ - TaskExecutionGetDataResponse.prototype.inputs = null; - - /** - * TaskExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * TaskExecution id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecution * @instance */ - TaskExecutionGetDataResponse.prototype.outputs = null; + TaskExecution.prototype.id = null; /** - * TaskExecutionGetDataResponse fullInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * TaskExecution inputUri. + * @member {string} inputUri + * @memberof flyteidl.admin.TaskExecution * @instance */ - TaskExecutionGetDataResponse.prototype.fullInputs = null; + TaskExecution.prototype.inputUri = ""; /** - * TaskExecutionGetDataResponse fullOutputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * TaskExecution closure. + * @member {flyteidl.admin.ITaskExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.TaskExecution * @instance */ - TaskExecutionGetDataResponse.prototype.fullOutputs = null; + TaskExecution.prototype.closure = null; /** - * TaskExecutionGetDataResponse flyteUrls. - * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * TaskExecution isParent. + * @member {boolean} isParent + * @memberof flyteidl.admin.TaskExecution * @instance */ - TaskExecutionGetDataResponse.prototype.flyteUrls = null; + TaskExecution.prototype.isParent = false; /** - * Creates a new TaskExecutionGetDataResponse instance using the specified properties. + * Creates a new TaskExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.admin.TaskExecution * @static - * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse instance + * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecution} TaskExecution instance */ - TaskExecutionGetDataResponse.create = function create(properties) { - return new TaskExecutionGetDataResponse(properties); + TaskExecution.create = function create(properties) { + return new TaskExecution(properties); }; /** - * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.admin.TaskExecution * @static - * @param {flyteidl.admin.ITaskExecutionGetDataResponse} message TaskExecutionGetDataResponse 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 */ - TaskExecutionGetDataResponse.encode = function encode(message, writer) { + TaskExecution.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.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 TaskExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a TaskExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @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.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse + * @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 */ - TaskExecutionGetDataResponse.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.TaskExecutionGetDataResponse(); + 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.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.inputUri = reader.string(); break; case 3: - message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.closure = $root.flyteidl.admin.TaskExecutionClosure.decode(reader, reader.uint32()); break; case 4: - message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 5: - message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); + message.isParent = reader.bool(); break; default: reader.skipType(tag & 7); @@ -41361,65 +42697,58 @@ }; /** - * Verifies a TaskExecutionGetDataResponse message. + * Verifies a TaskExecution message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @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 */ - TaskExecutionGetDataResponse.verify = function verify(message) { + TaskExecution.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.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); if (error) - return "inputs." + error; + return "id." + 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 (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 "flyteUrls." + error; + return "closure." + error; } + if (message.isParent != null && message.hasOwnProperty("isParent")) + if (typeof message.isParent !== "boolean") + return "isParent: boolean expected"; return null; }; - return TaskExecutionGetDataResponse; + return TaskExecution; })(); - admin.GetVersionResponse = (function() { + admin.TaskExecutionList = (function() { /** - * Properties of a GetVersionResponse. + * Properties of a TaskExecutionList. * @memberof flyteidl.admin - * @interface IGetVersionResponse - * @property {flyteidl.admin.IVersion|null} [controlPlaneVersion] GetVersionResponse controlPlaneVersion + * @interface ITaskExecutionList + * @property {Array.|null} [taskExecutions] TaskExecutionList taskExecutions + * @property {string|null} [token] TaskExecutionList token */ /** - * Constructs a new GetVersionResponse. + * Constructs a new TaskExecutionList. * @memberof flyteidl.admin - * @classdesc Represents a GetVersionResponse. - * @implements IGetVersionResponse + * @classdesc Represents a TaskExecutionList. + * @implements ITaskExecutionList * @constructor - * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set */ - function GetVersionResponse(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) @@ -41427,62 +42756,78 @@ } /** - * GetVersionResponse controlPlaneVersion. - * @member {flyteidl.admin.IVersion|null|undefined} controlPlaneVersion - * @memberof flyteidl.admin.GetVersionResponse + * TaskExecutionList taskExecutions. + * @member {Array.} taskExecutions + * @memberof flyteidl.admin.TaskExecutionList * @instance */ - GetVersionResponse.prototype.controlPlaneVersion = null; + TaskExecutionList.prototype.taskExecutions = $util.emptyArray; /** - * Creates a new GetVersionResponse 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.GetVersionResponse + * @memberof flyteidl.admin.TaskExecutionList * @static - * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set - * @returns {flyteidl.admin.GetVersionResponse} GetVersionResponse instance + * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList instance */ - GetVersionResponse.create = function create(properties) { - return new GetVersionResponse(properties); + TaskExecutionList.create = function create(properties) { + return new TaskExecutionList(properties); }; /** - * Encodes the specified GetVersionResponse message. Does not implicitly {@link flyteidl.admin.GetVersionResponse.verify|verify} messages. + * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.GetVersionResponse + * @memberof flyteidl.admin.TaskExecutionList * @static - * @param {flyteidl.admin.IGetVersionResponse} message GetVersionResponse 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 */ - GetVersionResponse.encode = function encode(message, writer) { + TaskExecutionList.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.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 GetVersionResponse message from the specified reader or buffer. + * Decodes a TaskExecutionList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.GetVersionResponse + * @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.GetVersionResponse} GetVersionResponse + * @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 */ - GetVersionResponse.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.GetVersionResponse(); + 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.controlPlaneVersion = $root.flyteidl.admin.Version.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); @@ -41493,47 +42838,68 @@ }; /** - * Verifies a GetVersionResponse message. + * Verifies a TaskExecutionList message. * @function verify - * @memberof flyteidl.admin.GetVersionResponse + * @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 */ - GetVersionResponse.verify = function verify(message) { + TaskExecutionList.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; + 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 GetVersionResponse; + return TaskExecutionList; })(); - admin.Version = (function() { + admin.TaskExecutionClosure = (function() { /** - * Properties of a Version. + * Properties of a TaskExecutionClosure. * @memberof flyteidl.admin - * @interface IVersion - * @property {string|null} [Build] Version Build - * @property {string|null} [Version] Version Version - * @property {string|null} [BuildTime] Version BuildTime + * @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 Version. + * Constructs a new TaskExecutionClosure. * @memberof flyteidl.admin - * @classdesc Represents a Version. - * @implements IVersion + * @classdesc Represents a TaskExecutionClosure. + * @implements ITaskExecutionClosure * @constructor - * @param {flyteidl.admin.IVersion=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set */ - function Version(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) @@ -41541,311 +42907,264 @@ } /** - * Version Build. - * @member {string} Build - * @memberof flyteidl.admin.Version + * TaskExecutionClosure outputUri. + * @member {string} outputUri + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - Version.prototype.Build = ""; + TaskExecutionClosure.prototype.outputUri = ""; /** - * Version Version. - * @member {string} Version - * @memberof flyteidl.admin.Version + * TaskExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - Version.prototype.Version = ""; + TaskExecutionClosure.prototype.error = null; /** - * Version BuildTime. - * @member {string} BuildTime - * @memberof flyteidl.admin.Version + * TaskExecutionClosure outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.admin.TaskExecutionClosure * @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); - }; + TaskExecutionClosure.prototype.outputData = null; /** - * 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 + * TaskExecutionClosure phase. + * @member {flyteidl.core.TaskExecution.Phase} phase + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ - 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; - }; + TaskExecutionClosure.prototype.phase = 0; /** - * 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 + * TaskExecutionClosure logs. + * @member {Array.} logs + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ - 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; - }; + TaskExecutionClosure.prototype.logs = $util.emptyArray; /** - * 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 + * TaskExecutionClosure startedAt. + * @member {google.protobuf.ITimestamp|null|undefined} startedAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @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() { + TaskExecutionClosure.prototype.startedAt = null; /** - * Properties of a GetVersionRequest. - * @memberof flyteidl.admin - * @interface IGetVersionRequest + * TaskExecutionClosure duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ + TaskExecutionClosure.prototype.duration = null; /** - * Constructs a new GetVersionRequest. - * @memberof flyteidl.admin - * @classdesc Represents a GetVersionRequest. - * @implements IGetVersionRequest - * @constructor - * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set + * TaskExecutionClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @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]]; - } + TaskExecutionClosure.prototype.createdAt = null; /** - * Creates a new GetVersionRequest instance using the specified properties. - * @function create - * @memberof flyteidl.admin.GetVersionRequest - * @static - * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set - * @returns {flyteidl.admin.GetVersionRequest} GetVersionRequest instance + * TaskExecutionClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ - GetVersionRequest.create = function create(properties) { - return new GetVersionRequest(properties); - }; + TaskExecutionClosure.prototype.updatedAt = null; /** - * Encodes the specified GetVersionRequest message. Does not implicitly {@link flyteidl.admin.GetVersionRequest.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.GetVersionRequest - * @static - * @param {flyteidl.admin.IGetVersionRequest} message GetVersionRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * TaskExecutionClosure customInfo. + * @member {google.protobuf.IStruct|null|undefined} customInfo + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ - GetVersionRequest.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; + TaskExecutionClosure.prototype.customInfo = null; /** - * Decodes a GetVersionRequest message from the specified reader or buffer. - * @function decode - * @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.GetVersionRequest} GetVersionRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * TaskExecutionClosure reason. + * @member {string} reason + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ - 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.GetVersionRequest(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + TaskExecutionClosure.prototype.reason = ""; /** - * Verifies a GetVersionRequest message. - * @function verify - * @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 + * TaskExecutionClosure taskType. + * @member {string} taskType + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ - GetVersionRequest.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - return GetVersionRequest; - })(); - - admin.WorkflowCreateRequest = (function() { + TaskExecutionClosure.prototype.taskType = ""; /** - * 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 + * TaskExecutionClosure metadata. + * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ + TaskExecutionClosure.prototype.metadata = null; /** - * Constructs a new WorkflowCreateRequest. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowCreateRequest. - * @implements IWorkflowCreateRequest - * @constructor - * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set + * TaskExecutionClosure eventVersion. + * @member {number} eventVersion + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance */ - function WorkflowCreateRequest(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]]; - } + TaskExecutionClosure.prototype.eventVersion = 0; /** - * WorkflowCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowCreateRequest + * TaskExecutionClosure reasons. + * @member {Array.} reasons + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - WorkflowCreateRequest.prototype.id = null; + TaskExecutionClosure.prototype.reasons = $util.emptyArray; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * WorkflowCreateRequest spec. - * @member {flyteidl.admin.IWorkflowSpec|null|undefined} spec - * @memberof flyteidl.admin.WorkflowCreateRequest + * TaskExecutionClosure outputResult. + * @member {"outputUri"|"error"|"outputData"|undefined} outputResult + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - WorkflowCreateRequest.prototype.spec = null; + Object.defineProperty(TaskExecutionClosure.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new WorkflowCreateRequest instance using the specified properties. + * Creates a new TaskExecutionClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.admin.TaskExecutionClosure * @static - * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest instance + * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure instance */ - WorkflowCreateRequest.create = function create(properties) { - return new WorkflowCreateRequest(properties); + TaskExecutionClosure.create = function create(properties) { + return new TaskExecutionClosure(properties); }; /** - * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. + * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.admin.TaskExecutionClosure * @static - * @param {flyteidl.admin.IWorkflowCreateRequest} message WorkflowCreateRequest 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 */ - WorkflowCreateRequest.encode = function encode(message, writer) { + TaskExecutionClosure.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.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 WorkflowCreateRequest message from the specified reader or buffer. + * Decodes a TaskExecutionClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowCreateRequest + * @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.WorkflowCreateRequest} WorkflowCreateRequest + * @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 */ - WorkflowCreateRequest.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.WorkflowCreateRequest(); + 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.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.outputUri = reader.string(); break; case 2: - message.spec = $root.flyteidl.admin.WorkflowSpec.decode(reader, reader.uint32()); + 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); @@ -41856,49 +43175,138 @@ }; /** - * Verifies a WorkflowCreateRequest message. + * Verifies a TaskExecutionClosure message. * @function verify - * @memberof flyteidl.admin.WorkflowCreateRequest + * @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 */ - WorkflowCreateRequest.verify = function verify(message) { + TaskExecutionClosure.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: + 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 "id." + error; + return "startedAt." + error; } - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.WorkflowSpec.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.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 WorkflowCreateRequest; + return TaskExecutionClosure; })(); - admin.WorkflowCreateResponse = (function() { + admin.Reason = (function() { /** - * Properties of a WorkflowCreateResponse. + * Properties of a Reason. * @memberof flyteidl.admin - * @interface IWorkflowCreateResponse + * @interface IReason + * @property {google.protobuf.ITimestamp|null} [occurredAt] Reason occurredAt + * @property {string|null} [message] Reason message */ /** - * Constructs a new WorkflowCreateResponse. + * Constructs a new Reason. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowCreateResponse. - * @implements IWorkflowCreateResponse + * @classdesc Represents a Reason. + * @implements IReason * @constructor - * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IReason=} [properties] Properties to set */ - function WorkflowCreateResponse(properties) { + function Reason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41906,50 +43314,76 @@ } /** - * Creates a new WorkflowCreateResponse instance using the specified properties. + * 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. * @function create - * @memberof flyteidl.admin.WorkflowCreateResponse + * @memberof flyteidl.admin.Reason * @static - * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse instance + * @param {flyteidl.admin.IReason=} [properties] Properties to set + * @returns {flyteidl.admin.Reason} Reason instance */ - WorkflowCreateResponse.create = function create(properties) { - return new WorkflowCreateResponse(properties); + Reason.create = function create(properties) { + return new Reason(properties); }; /** - * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. + * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowCreateResponse + * @memberof flyteidl.admin.Reason * @static - * @param {flyteidl.admin.IWorkflowCreateResponse} message WorkflowCreateResponse 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 */ - WorkflowCreateResponse.encode = function encode(message, writer) { + Reason.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 WorkflowCreateResponse message from the specified reader or buffer. + * Decodes a Reason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowCreateResponse + * @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.WorkflowCreateResponse} WorkflowCreateResponse + * @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 */ - WorkflowCreateResponse.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.WorkflowCreateResponse(); + 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.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 2: + message.message = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -41959,42 +43393,48 @@ }; /** - * Verifies a WorkflowCreateResponse message. + * Verifies a Reason message. * @function verify - * @memberof flyteidl.admin.WorkflowCreateResponse + * @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 */ - WorkflowCreateResponse.verify = function verify(message) { + Reason.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 WorkflowCreateResponse; + return Reason; })(); - admin.Workflow = (function() { + admin.TaskExecutionGetDataRequest = (function() { /** - * Properties of a Workflow. + * Properties of a TaskExecutionGetDataRequest. * @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 + * @interface ITaskExecutionGetDataRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id */ /** - * Constructs a new Workflow. + * Constructs a new TaskExecutionGetDataRequest. * @memberof flyteidl.admin - * @classdesc Represents a Workflow. - * @implements IWorkflow + * @classdesc Represents a TaskExecutionGetDataRequest. + * @implements ITaskExecutionGetDataRequest * @constructor - * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set */ - function Workflow(properties) { + function TaskExecutionGetDataRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42002,88 +43442,62 @@ } /** - * 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 + * TaskExecutionGetDataRequest id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @instance */ - Workflow.prototype.shortDescription = ""; + TaskExecutionGetDataRequest.prototype.id = null; /** - * Creates a new Workflow instance using the specified properties. + * Creates a new TaskExecutionGetDataRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Workflow + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static - * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set - * @returns {flyteidl.admin.Workflow} Workflow instance + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance */ - Workflow.create = function create(properties) { - return new Workflow(properties); + TaskExecutionGetDataRequest.create = function create(properties) { + return new TaskExecutionGetDataRequest(properties); }; /** - * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. + * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Workflow + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static - * @param {flyteidl.admin.IWorkflow} message Workflow 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 */ - Workflow.encode = function encode(message, writer) { + TaskExecutionGetDataRequest.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); + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a Workflow message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Workflow + * @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.Workflow} Workflow + * @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 */ - Workflow.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.Workflow(); + 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.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(); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -42094,55 +43508,49 @@ }; /** - * Verifies a Workflow message. + * Verifies a TaskExecutionGetDataRequest message. * @function verify - * @memberof flyteidl.admin.Workflow + * @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 */ - Workflow.verify = function verify(message) { + TaskExecutionGetDataRequest.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; } - 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 Workflow; + return TaskExecutionGetDataRequest; })(); - admin.WorkflowList = (function() { + admin.TaskExecutionGetDataResponse = (function() { /** - * Properties of a WorkflowList. + * Properties of a TaskExecutionGetDataResponse. * @memberof flyteidl.admin - * @interface IWorkflowList - * @property {Array.|null} [workflows] WorkflowList workflows - * @property {string|null} [token] WorkflowList token + * @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 WorkflowList. + * Constructs a new TaskExecutionGetDataResponse. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowList. - * @implements IWorkflowList + * @classdesc Represents a TaskExecutionGetDataResponse. + * @implements ITaskExecutionGetDataResponse * @constructor - * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set */ - function WorkflowList(properties) { - this.workflows = []; + function TaskExecutionGetDataResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42150,78 +43558,114 @@ } /** - * WorkflowList workflows. - * @member {Array.} workflows - * @memberof flyteidl.admin.WorkflowList + * TaskExecutionGetDataResponse inputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - WorkflowList.prototype.workflows = $util.emptyArray; + TaskExecutionGetDataResponse.prototype.inputs = null; /** - * WorkflowList token. - * @member {string} token - * @memberof flyteidl.admin.WorkflowList + * TaskExecutionGetDataResponse outputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - WorkflowList.prototype.token = ""; + TaskExecutionGetDataResponse.prototype.outputs = null; /** - * Creates a new WorkflowList instance using the specified properties. + * TaskExecutionGetDataResponse fullInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @instance + */ + TaskExecutionGetDataResponse.prototype.fullInputs = null; + + /** + * TaskExecutionGetDataResponse fullOutputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @instance + */ + TaskExecutionGetDataResponse.prototype.fullOutputs = null; + + /** + * 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.WorkflowList + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static - * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowList} WorkflowList instance + * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse instance */ - WorkflowList.create = function create(properties) { - return new WorkflowList(properties); + TaskExecutionGetDataResponse.create = function create(properties) { + return new TaskExecutionGetDataResponse(properties); }; /** - * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. + * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static - * @param {flyteidl.admin.IWorkflowList} message WorkflowList 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 */ - WorkflowList.encode = function encode(message, writer) { + TaskExecutionGetDataResponse.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.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 WorkflowList message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowList + * @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.WorkflowList} WorkflowList + * @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 */ - WorkflowList.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.WorkflowList(); + 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: - if (!(message.workflows && message.workflows.length)) - message.workflows = []; - message.workflows.push($root.flyteidl.admin.Workflow.decode(reader, reader.uint32())); + message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + 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 5: + message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -42232,55 +43676,65 @@ }; /** - * Verifies a WorkflowList message. + * Verifies a TaskExecutionGetDataResponse message. * @function verify - * @memberof flyteidl.admin.WorkflowList + * @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 */ - WorkflowList.verify = function verify(message) { + TaskExecutionGetDataResponse.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]); - if (error) - return "workflows." + error; - } + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); + if (error) + return "inputs." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - return null; - }; - - return WorkflowList; - })(); - - admin.WorkflowSpec = (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 - */ + 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 TaskExecutionGetDataResponse; + })(); + + admin.GetVersionResponse = (function() { /** - * Constructs a new WorkflowSpec. + * Properties of a GetVersionResponse. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowSpec. - * @implements IWorkflowSpec + * @interface IGetVersionResponse + * @property {flyteidl.admin.IVersion|null} [controlPlaneVersion] GetVersionResponse controlPlaneVersion + */ + + /** + * Constructs a new GetVersionResponse. + * @memberof flyteidl.admin + * @classdesc Represents a GetVersionResponse. + * @implements IGetVersionResponse * @constructor - * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set + * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set */ - function WorkflowSpec(properties) { - this.subWorkflows = []; + function GetVersionResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42288,91 +43742,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 + * GetVersionResponse controlPlaneVersion. + * @member {flyteidl.admin.IVersion|null|undefined} controlPlaneVersion + * @memberof flyteidl.admin.GetVersionResponse * @instance */ - WorkflowSpec.prototype.description = null; + GetVersionResponse.prototype.controlPlaneVersion = null; /** - * Creates a new WorkflowSpec instance using the specified properties. + * Creates a new GetVersionResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.admin.GetVersionResponse * @static - * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec instance + * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set + * @returns {flyteidl.admin.GetVersionResponse} GetVersionResponse instance */ - WorkflowSpec.create = function create(properties) { - return new WorkflowSpec(properties); + GetVersionResponse.create = function create(properties) { + return new GetVersionResponse(properties); }; /** - * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. + * Encodes the specified GetVersionResponse message. Does not implicitly {@link flyteidl.admin.GetVersionResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.admin.GetVersionResponse * @static - * @param {flyteidl.admin.IWorkflowSpec} message WorkflowSpec 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 */ - WorkflowSpec.encode = function encode(message, writer) { + GetVersionResponse.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.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 WorkflowSpec message from the specified reader or buffer. + * Decodes a GetVersionResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowSpec + * @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.WorkflowSpec} WorkflowSpec + * @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 */ - WorkflowSpec.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.WorkflowSpec(); + 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.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.controlPlaneVersion = $root.flyteidl.admin.Version.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -42383,60 +43808,47 @@ }; /** - * Verifies a WorkflowSpec message. + * Verifies a GetVersionResponse message. * @function verify - * @memberof flyteidl.admin.WorkflowSpec + * @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 */ - WorkflowSpec.verify = function verify(message) { + GetVersionResponse.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.controlPlaneVersion != null && message.hasOwnProperty("controlPlaneVersion")) { + var error = $root.flyteidl.admin.Version.verify(message.controlPlaneVersion); if (error) - return "description." + error; + return "controlPlaneVersion." + error; } return null; }; - return WorkflowSpec; + return GetVersionResponse; })(); - admin.WorkflowClosure = (function() { + admin.Version = (function() { /** - * Properties of a WorkflowClosure. + * Properties of a Version. * @memberof flyteidl.admin - * @interface IWorkflowClosure - * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] WorkflowClosure compiledWorkflow - * @property {google.protobuf.ITimestamp|null} [createdAt] WorkflowClosure createdAt + * @interface IVersion + * @property {string|null} [Build] Version Build + * @property {string|null} [Version] Version Version + * @property {string|null} [BuildTime] Version BuildTime */ /** - * Constructs a new WorkflowClosure. + * Constructs a new Version. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowClosure. - * @implements IWorkflowClosure + * @classdesc Represents a Version. + * @implements IVersion * @constructor - * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set + * @param {flyteidl.admin.IVersion=} [properties] Properties to set */ - function WorkflowClosure(properties) { + function Version(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42444,75 +43856,88 @@ } /** - * WorkflowClosure compiledWorkflow. - * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow - * @memberof flyteidl.admin.WorkflowClosure + * Version Build. + * @member {string} Build + * @memberof flyteidl.admin.Version * @instance */ - WorkflowClosure.prototype.compiledWorkflow = null; + Version.prototype.Build = ""; /** - * WorkflowClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.WorkflowClosure + * Version Version. + * @member {string} Version + * @memberof flyteidl.admin.Version * @instance */ - WorkflowClosure.prototype.createdAt = null; + Version.prototype.Version = ""; /** - * Creates a new WorkflowClosure instance using the specified properties. + * Version BuildTime. + * @member {string} BuildTime + * @memberof flyteidl.admin.Version + * @instance + */ + Version.prototype.BuildTime = ""; + + /** + * Creates a new Version instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.admin.Version * @static - * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure instance + * @param {flyteidl.admin.IVersion=} [properties] Properties to set + * @returns {flyteidl.admin.Version} Version instance */ - WorkflowClosure.create = function create(properties) { - return new WorkflowClosure(properties); + Version.create = function create(properties) { + return new Version(properties); }; /** - * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. + * Encodes the specified Version message. Does not implicitly {@link flyteidl.admin.Version.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.admin.Version * @static - * @param {flyteidl.admin.IWorkflowClosure} message WorkflowClosure 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 */ - WorkflowClosure.encode = function encode(message, writer) { + Version.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.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 WorkflowClosure message from the specified reader or buffer. + * Decodes a Version message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowClosure + * @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.WorkflowClosure} WorkflowClosure + * @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 */ - WorkflowClosure.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.WorkflowClosure(); + 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.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); + message.Build = reader.string(); break; case 2: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.Version = reader.string(); + break; + case 3: + message.BuildTime = reader.string(); break; default: reader.skipType(tag & 7); @@ -42523,50 +43948,48 @@ }; /** - * Verifies a WorkflowClosure message. + * Verifies a Version message. * @function verify - * @memberof flyteidl.admin.WorkflowClosure + * @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 */ - WorkflowClosure.verify = function verify(message) { + Version.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; - } + 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 WorkflowClosure; + return Version; })(); - admin.WorkflowErrorExistsDifferentStructure = (function() { + admin.GetVersionRequest = (function() { /** - * Properties of a WorkflowErrorExistsDifferentStructure. + * Properties of a GetVersionRequest. * @memberof flyteidl.admin - * @interface IWorkflowErrorExistsDifferentStructure - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsDifferentStructure id + * @interface IGetVersionRequest */ /** - * Constructs a new WorkflowErrorExistsDifferentStructure. + * Constructs a new GetVersionRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowErrorExistsDifferentStructure. - * @implements IWorkflowErrorExistsDifferentStructure + * @classdesc Represents a GetVersionRequest. + * @implements IGetVersionRequest * @constructor - * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set + * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set */ - function WorkflowErrorExistsDifferentStructure(properties) { + function GetVersionRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42574,63 +43997,50 @@ } /** - * WorkflowErrorExistsDifferentStructure id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure - * @instance - */ - WorkflowErrorExistsDifferentStructure.prototype.id = null; - - /** - * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. + * Creates a new GetVersionRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @memberof flyteidl.admin.GetVersionRequest * @static - * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure instance + * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set + * @returns {flyteidl.admin.GetVersionRequest} GetVersionRequest instance */ - WorkflowErrorExistsDifferentStructure.create = function create(properties) { - return new WorkflowErrorExistsDifferentStructure(properties); + GetVersionRequest.create = function create(properties) { + return new GetVersionRequest(properties); }; /** - * Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages. + * Encodes the specified GetVersionRequest message. Does not implicitly {@link flyteidl.admin.GetVersionRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @memberof flyteidl.admin.GetVersionRequest * @static - * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure} message WorkflowErrorExistsDifferentStructure 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 */ - WorkflowErrorExistsDifferentStructure.encode = function encode(message, writer) { + GetVersionRequest.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 a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer. + * Decodes a GetVersionRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @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.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure + * @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 */ - WorkflowErrorExistsDifferentStructure.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.WorkflowErrorExistsDifferentStructure(); + 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.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -42640,45 +44050,41 @@ }; /** - * Verifies a WorkflowErrorExistsDifferentStructure message. + * Verifies a GetVersionRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @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 */ - WorkflowErrorExistsDifferentStructure.verify = function verify(message) { + GetVersionRequest.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 WorkflowErrorExistsDifferentStructure; + return GetVersionRequest; })(); - admin.WorkflowErrorExistsIdenticalStructure = (function() { + admin.WorkflowCreateRequest = (function() { /** - * Properties of a WorkflowErrorExistsIdenticalStructure. + * Properties of a WorkflowCreateRequest. * @memberof flyteidl.admin - * @interface IWorkflowErrorExistsIdenticalStructure - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsIdenticalStructure id + * @interface IWorkflowCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowCreateRequest id + * @property {flyteidl.admin.IWorkflowSpec|null} [spec] WorkflowCreateRequest spec */ /** - * Constructs a new WorkflowErrorExistsIdenticalStructure. + * Constructs a new WorkflowCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowErrorExistsIdenticalStructure. - * @implements IWorkflowErrorExistsIdenticalStructure + * @classdesc Represents a WorkflowCreateRequest. + * @implements IWorkflowCreateRequest * @constructor - * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set */ - function WorkflowErrorExistsIdenticalStructure(properties) { + function WorkflowCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42686,63 +44092,76 @@ } /** - * WorkflowErrorExistsIdenticalStructure id. + * WorkflowCreateRequest id. * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @memberof flyteidl.admin.WorkflowCreateRequest * @instance */ - WorkflowErrorExistsIdenticalStructure.prototype.id = null; + WorkflowCreateRequest.prototype.id = null; /** - * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. + * WorkflowCreateRequest spec. + * @member {flyteidl.admin.IWorkflowSpec|null|undefined} spec + * @memberof flyteidl.admin.WorkflowCreateRequest + * @instance + */ + WorkflowCreateRequest.prototype.spec = null; + + /** + * Creates a new WorkflowCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @memberof flyteidl.admin.WorkflowCreateRequest * @static - * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure instance + * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest instance */ - WorkflowErrorExistsIdenticalStructure.create = function create(properties) { - return new WorkflowErrorExistsIdenticalStructure(properties); + WorkflowCreateRequest.create = function create(properties) { + return new WorkflowCreateRequest(properties); }; /** - * Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages. + * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @memberof flyteidl.admin.WorkflowCreateRequest * @static - * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure} message WorkflowErrorExistsIdenticalStructure 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 */ - WorkflowErrorExistsIdenticalStructure.encode = function encode(message, writer) { + WorkflowCreateRequest.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(); return writer; }; /** - * Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer. + * Decodes a WorkflowCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @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.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure + * @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 */ - WorkflowErrorExistsIdenticalStructure.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.WorkflowErrorExistsIdenticalStructure(); + 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: message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; + case 2: + message.spec = $root.flyteidl.admin.WorkflowSpec.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -42752,14 +44171,14 @@ }; /** - * Verifies a WorkflowErrorExistsIdenticalStructure message. + * Verifies a WorkflowCreateRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @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 */ - WorkflowErrorExistsIdenticalStructure.verify = function verify(message) { + WorkflowCreateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.id != null && message.hasOwnProperty("id")) { @@ -42767,31 +44186,34 @@ 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; + } return null; }; - return WorkflowErrorExistsIdenticalStructure; + return WorkflowCreateRequest; })(); - admin.CreateWorkflowFailureReason = (function() { + admin.WorkflowCreateResponse = (function() { /** - * Properties of a CreateWorkflowFailureReason. + * Properties of a WorkflowCreateResponse. * @memberof flyteidl.admin - * @interface ICreateWorkflowFailureReason - * @property {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null} [existsDifferentStructure] CreateWorkflowFailureReason existsDifferentStructure - * @property {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null} [existsIdenticalStructure] CreateWorkflowFailureReason existsIdenticalStructure + * @interface IWorkflowCreateResponse */ /** - * Constructs a new CreateWorkflowFailureReason. + * Constructs a new WorkflowCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a CreateWorkflowFailureReason. - * @implements ICreateWorkflowFailureReason + * @classdesc Represents a WorkflowCreateResponse. + * @implements IWorkflowCreateResponse * @constructor - * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set */ - function CreateWorkflowFailureReason(properties) { + function WorkflowCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42799,90 +44221,50 @@ } /** - * 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 - * @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. + * Creates a new WorkflowCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @memberof flyteidl.admin.WorkflowCreateResponse * @static - * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set - * @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason instance + * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse instance */ - CreateWorkflowFailureReason.create = function create(properties) { - return new CreateWorkflowFailureReason(properties); + WorkflowCreateResponse.create = function create(properties) { + return new WorkflowCreateResponse(properties); }; /** - * Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages. + * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @memberof flyteidl.admin.WorkflowCreateResponse * @static - * @param {flyteidl.admin.ICreateWorkflowFailureReason} message CreateWorkflowFailureReason 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 */ - CreateWorkflowFailureReason.encode = function encode(message, writer) { + WorkflowCreateResponse.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(); return writer; }; /** - * Decodes a CreateWorkflowFailureReason message from the specified reader or buffer. + * Decodes a WorkflowCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @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.CreateWorkflowFailureReason} CreateWorkflowFailureReason + * @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 */ - CreateWorkflowFailureReason.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.CreateWorkflowFailureReason(); + 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.existsDifferentStructure = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.decode(reader, reader.uint32()); - break; - case 2: - message.existsIdenticalStructure = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -42892,62 +44274,42 @@ }; /** - * Verifies a CreateWorkflowFailureReason message. + * Verifies a WorkflowCreateResponse message. * @function verify - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @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 */ - CreateWorkflowFailureReason.verify = function verify(message) { + WorkflowCreateResponse.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; - } - } return null; }; - return CreateWorkflowFailureReason; + return WorkflowCreateResponse; })(); - admin.WorkflowAttributes = (function() { + admin.Workflow = (function() { /** - * Properties of a WorkflowAttributes. + * Properties of a Workflow. * @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 + * @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 WorkflowAttributes. + * Constructs a new Workflow. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributes. - * @implements IWorkflowAttributes + * @classdesc Represents a Workflow. + * @implements IWorkflow * @constructor - * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set */ - function WorkflowAttributes(properties) { + function Workflow(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42955,101 +44317,88 @@ } /** - * WorkflowAttributes project. - * @member {string} project - * @memberof flyteidl.admin.WorkflowAttributes - * @instance - */ - WorkflowAttributes.prototype.project = ""; - - /** - * WorkflowAttributes domain. - * @member {string} domain - * @memberof flyteidl.admin.WorkflowAttributes + * Workflow id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.Workflow * @instance */ - WorkflowAttributes.prototype.domain = ""; + Workflow.prototype.id = null; /** - * WorkflowAttributes workflow. - * @member {string} workflow - * @memberof flyteidl.admin.WorkflowAttributes + * Workflow closure. + * @member {flyteidl.admin.IWorkflowClosure|null|undefined} closure + * @memberof flyteidl.admin.Workflow * @instance */ - WorkflowAttributes.prototype.workflow = ""; + Workflow.prototype.closure = null; /** - * WorkflowAttributes matchingAttributes. - * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes - * @memberof flyteidl.admin.WorkflowAttributes + * Workflow shortDescription. + * @member {string} shortDescription + * @memberof flyteidl.admin.Workflow * @instance */ - WorkflowAttributes.prototype.matchingAttributes = null; + Workflow.prototype.shortDescription = ""; /** - * Creates a new WorkflowAttributes instance using the specified properties. + * Creates a new Workflow instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributes + * @memberof flyteidl.admin.Workflow * @static - * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes instance + * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set + * @returns {flyteidl.admin.Workflow} Workflow instance */ - WorkflowAttributes.create = function create(properties) { - return new WorkflowAttributes(properties); + Workflow.create = function create(properties) { + return new Workflow(properties); }; /** - * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. + * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributes + * @memberof flyteidl.admin.Workflow * @static - * @param {flyteidl.admin.IWorkflowAttributes} message WorkflowAttributes 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 */ - WorkflowAttributes.encode = function encode(message, writer) { + Workflow.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.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 WorkflowAttributes message from the specified reader or buffer. + * Decodes a Workflow message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributes + * @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.WorkflowAttributes} WorkflowAttributes + * @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 */ - WorkflowAttributes.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.WorkflowAttributes(); + 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.project = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); + message.closure = $root.flyteidl.admin.WorkflowClosure.decode(reader, reader.uint32()); break; case 3: - message.workflow = reader.string(); - break; - case 4: - message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + message.shortDescription = reader.string(); break; default: reader.skipType(tag & 7); @@ -43060,54 +44409,55 @@ }; /** - * Verifies a WorkflowAttributes message. + * Verifies a Workflow message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributes + * @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 */ - WorkflowAttributes.verify = function verify(message) { + Workflow.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.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "matchingAttributes." + 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 WorkflowAttributes; + return Workflow; })(); - admin.WorkflowAttributesUpdateRequest = (function() { + admin.WorkflowList = (function() { /** - * Properties of a WorkflowAttributesUpdateRequest. + * Properties of a WorkflowList. * @memberof flyteidl.admin - * @interface IWorkflowAttributesUpdateRequest - * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesUpdateRequest attributes + * @interface IWorkflowList + * @property {Array.|null} [workflows] WorkflowList workflows + * @property {string|null} [token] WorkflowList token */ /** - * Constructs a new WorkflowAttributesUpdateRequest. + * Constructs a new WorkflowList. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesUpdateRequest. - * @implements IWorkflowAttributesUpdateRequest + * @classdesc Represents a WorkflowList. + * @implements IWorkflowList * @constructor - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set */ - function WorkflowAttributesUpdateRequest(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) @@ -43115,62 +44465,78 @@ } /** - * WorkflowAttributesUpdateRequest attributes. - * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * WorkflowList workflows. + * @member {Array.} workflows + * @memberof flyteidl.admin.WorkflowList * @instance */ - WorkflowAttributesUpdateRequest.prototype.attributes = null; + WorkflowList.prototype.workflows = $util.emptyArray; /** - * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. + * WorkflowList token. + * @member {string} token + * @memberof flyteidl.admin.WorkflowList + * @instance + */ + WorkflowList.prototype.token = ""; + + /** + * Creates a new WorkflowList instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @memberof flyteidl.admin.WorkflowList * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest instance + * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowList} WorkflowList instance */ - WorkflowAttributesUpdateRequest.create = function create(properties) { - return new WorkflowAttributesUpdateRequest(properties); + WorkflowList.create = function create(properties) { + return new WorkflowList(properties); }; /** - * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. + * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @memberof flyteidl.admin.WorkflowList * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} message WorkflowAttributesUpdateRequest 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 */ - WorkflowAttributesUpdateRequest.encode = function encode(message, writer) { + WorkflowList.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.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 WorkflowAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a WorkflowList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @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.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest + * @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 */ - WorkflowAttributesUpdateRequest.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.WorkflowAttributesUpdateRequest(); + 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.attributes = $root.flyteidl.admin.WorkflowAttributes.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.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -43181,44 +44547,55 @@ }; /** - * Verifies a WorkflowAttributesUpdateRequest message. + * Verifies a WorkflowList message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @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 */ - WorkflowAttributesUpdateRequest.verify = function verify(message) { + WorkflowList.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.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 WorkflowAttributesUpdateRequest; + return WorkflowList; })(); - admin.WorkflowAttributesUpdateResponse = (function() { + admin.WorkflowSpec = (function() { /** - * Properties of a WorkflowAttributesUpdateResponse. + * Properties of a WorkflowSpec. * @memberof flyteidl.admin - * @interface IWorkflowAttributesUpdateResponse + * @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 WorkflowAttributesUpdateResponse. + * Constructs a new WorkflowSpec. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesUpdateResponse. - * @implements IWorkflowAttributesUpdateResponse + * @classdesc Represents a WorkflowSpec. + * @implements IWorkflowSpec * @constructor - * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set */ - function WorkflowAttributesUpdateResponse(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) @@ -43226,50 +44603,92 @@ } /** - * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. + * 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 + * @instance + */ + WorkflowSpec.prototype.description = null; + + /** + * Creates a new WorkflowSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse + * @memberof flyteidl.admin.WorkflowSpec * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse instance + * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec instance */ - WorkflowAttributesUpdateResponse.create = function create(properties) { - return new WorkflowAttributesUpdateResponse(properties); + WorkflowSpec.create = function create(properties) { + return new WorkflowSpec(properties); }; /** - * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. + * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse + * @memberof flyteidl.admin.WorkflowSpec * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse} message WorkflowAttributesUpdateResponse 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 */ - WorkflowAttributesUpdateResponse.encode = function encode(message, writer) { + WorkflowSpec.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(); return writer; }; /** - * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a WorkflowSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse + * @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.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse + * @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 */ - WorkflowAttributesUpdateResponse.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.WorkflowAttributesUpdateResponse(); + 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.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()); + break; default: reader.skipType(tag & 7); break; @@ -43279,43 +44698,60 @@ }; /** - * Verifies a WorkflowAttributesUpdateResponse message. + * Verifies a WorkflowSpec message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse + * @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 */ - WorkflowAttributesUpdateResponse.verify = function verify(message) { + WorkflowSpec.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 (error) + return "description." + error; + } return null; }; - return WorkflowAttributesUpdateResponse; + return WorkflowSpec; })(); - admin.WorkflowAttributesGetRequest = (function() { + admin.WorkflowClosure = (function() { /** - * Properties of a WorkflowAttributesGetRequest. + * Properties of a WorkflowClosure. * @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 + * @interface IWorkflowClosure + * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] WorkflowClosure compiledWorkflow + * @property {google.protobuf.ITimestamp|null} [createdAt] WorkflowClosure createdAt */ /** - * Constructs a new WorkflowAttributesGetRequest. + * Constructs a new WorkflowClosure. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesGetRequest. - * @implements IWorkflowAttributesGetRequest + * @classdesc Represents a WorkflowClosure. + * @implements IWorkflowClosure * @constructor - * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set */ - function WorkflowAttributesGetRequest(properties) { + function WorkflowClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43323,101 +44759,75 @@ } /** - * WorkflowAttributesGetRequest project. - * @member {string} project - * @memberof flyteidl.admin.WorkflowAttributesGetRequest - * @instance - */ - WorkflowAttributesGetRequest.prototype.project = ""; - - /** - * WorkflowAttributesGetRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.WorkflowAttributesGetRequest - * @instance - */ - WorkflowAttributesGetRequest.prototype.domain = ""; - - /** - * WorkflowAttributesGetRequest workflow. - * @member {string} workflow - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * WorkflowClosure compiledWorkflow. + * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow + * @memberof flyteidl.admin.WorkflowClosure * @instance */ - WorkflowAttributesGetRequest.prototype.workflow = ""; + WorkflowClosure.prototype.compiledWorkflow = null; /** - * WorkflowAttributesGetRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * WorkflowClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.WorkflowClosure * @instance */ - WorkflowAttributesGetRequest.prototype.resourceType = 0; + WorkflowClosure.prototype.createdAt = null; /** - * Creates a new WorkflowAttributesGetRequest instance using the specified properties. + * Creates a new WorkflowClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @memberof flyteidl.admin.WorkflowClosure * @static - * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest instance + * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure instance */ - WorkflowAttributesGetRequest.create = function create(properties) { - return new WorkflowAttributesGetRequest(properties); + WorkflowClosure.create = function create(properties) { + return new WorkflowClosure(properties); }; /** - * Encodes the specified WorkflowAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetRequest.verify|verify} messages. + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @memberof flyteidl.admin.WorkflowClosure * @static - * @param {flyteidl.admin.IWorkflowAttributesGetRequest} message WorkflowAttributesGetRequest 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 */ - WorkflowAttributesGetRequest.encode = function encode(message, writer) { + WorkflowClosure.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.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 WorkflowAttributesGetRequest message from the specified reader or buffer. + * Decodes a WorkflowClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @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.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest + * @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 */ - WorkflowAttributesGetRequest.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.WorkflowAttributesGetRequest(); + 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.project = reader.string(); + message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); - break; - case 3: - message.workflow = reader.string(); - break; - case 4: - message.resourceType = reader.int32(); + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -43428,63 +44838,50 @@ }; /** - * Verifies a WorkflowAttributesGetRequest message. + * Verifies a WorkflowClosure message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @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 */ - WorkflowAttributesGetRequest.verify = function verify(message) { + WorkflowClosure.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) { - 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.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 WorkflowAttributesGetRequest; + return WorkflowClosure; })(); - admin.WorkflowAttributesGetResponse = (function() { + admin.WorkflowErrorExistsDifferentStructure = (function() { /** - * Properties of a WorkflowAttributesGetResponse. + * Properties of a WorkflowErrorExistsDifferentStructure. * @memberof flyteidl.admin - * @interface IWorkflowAttributesGetResponse - * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesGetResponse attributes + * @interface IWorkflowErrorExistsDifferentStructure + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsDifferentStructure id */ /** - * Constructs a new WorkflowAttributesGetResponse. + * Constructs a new WorkflowErrorExistsDifferentStructure. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesGetResponse. - * @implements IWorkflowAttributesGetResponse + * @classdesc Represents a WorkflowErrorExistsDifferentStructure. + * @implements IWorkflowErrorExistsDifferentStructure * @constructor - * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set */ - function WorkflowAttributesGetResponse(properties) { + function WorkflowErrorExistsDifferentStructure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43492,62 +44889,62 @@ } /** - * WorkflowAttributesGetResponse attributes. - * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * WorkflowErrorExistsDifferentStructure id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @instance */ - WorkflowAttributesGetResponse.prototype.attributes = null; + WorkflowErrorExistsDifferentStructure.prototype.id = null; /** - * Creates a new WorkflowAttributesGetResponse instance using the specified properties. + * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @static - * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse instance + * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure instance */ - WorkflowAttributesGetResponse.create = function create(properties) { - return new WorkflowAttributesGetResponse(properties); + WorkflowErrorExistsDifferentStructure.create = function create(properties) { + return new WorkflowErrorExistsDifferentStructure(properties); }; /** - * Encodes the specified WorkflowAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetResponse.verify|verify} messages. + * Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @static - * @param {flyteidl.admin.IWorkflowAttributesGetResponse} message WorkflowAttributesGetResponse 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 */ - WorkflowAttributesGetResponse.encode = function encode(message, writer) { + WorkflowErrorExistsDifferentStructure.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.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 WorkflowAttributesGetResponse message from the specified reader or buffer. + * Decodes a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @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.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse + * @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 */ - WorkflowAttributesGetResponse.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.WorkflowAttributesGetResponse(); + 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.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -43558,48 +44955,45 @@ }; /** - * Verifies a WorkflowAttributesGetResponse message. + * Verifies a WorkflowErrorExistsDifferentStructure message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @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 */ - WorkflowAttributesGetResponse.verify = function verify(message) { + WorkflowErrorExistsDifferentStructure.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 (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "attributes." + error; + return "id." + error; } return null; }; - return WorkflowAttributesGetResponse; + return WorkflowErrorExistsDifferentStructure; })(); - admin.WorkflowAttributesDeleteRequest = (function() { + admin.WorkflowErrorExistsIdenticalStructure = (function() { /** - * Properties of a WorkflowAttributesDeleteRequest. + * Properties of a WorkflowErrorExistsIdenticalStructure. * @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 + * @interface IWorkflowErrorExistsIdenticalStructure + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsIdenticalStructure id */ /** - * Constructs a new WorkflowAttributesDeleteRequest. + * Constructs a new WorkflowErrorExistsIdenticalStructure. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesDeleteRequest. - * @implements IWorkflowAttributesDeleteRequest + * @classdesc Represents a WorkflowErrorExistsIdenticalStructure. + * @implements IWorkflowErrorExistsIdenticalStructure * @constructor - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set */ - function WorkflowAttributesDeleteRequest(properties) { + function WorkflowErrorExistsIdenticalStructure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43607,101 +45001,62 @@ } /** - * WorkflowAttributesDeleteRequest project. - * @member {string} project - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest - * @instance - */ - WorkflowAttributesDeleteRequest.prototype.project = ""; - - /** - * WorkflowAttributesDeleteRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest - * @instance - */ - WorkflowAttributesDeleteRequest.prototype.domain = ""; - - /** - * WorkflowAttributesDeleteRequest workflow. - * @member {string} workflow - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest - * @instance - */ - WorkflowAttributesDeleteRequest.prototype.workflow = ""; - - /** - * WorkflowAttributesDeleteRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * WorkflowErrorExistsIdenticalStructure id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @instance */ - WorkflowAttributesDeleteRequest.prototype.resourceType = 0; + WorkflowErrorExistsIdenticalStructure.prototype.id = null; /** - * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. + * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest instance + * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure instance */ - WorkflowAttributesDeleteRequest.create = function create(properties) { - return new WorkflowAttributesDeleteRequest(properties); + WorkflowErrorExistsIdenticalStructure.create = function create(properties) { + return new WorkflowErrorExistsIdenticalStructure(properties); }; /** - * Encodes the specified WorkflowAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteRequest.verify|verify} messages. + * Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} message WorkflowAttributesDeleteRequest 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 */ - WorkflowAttributesDeleteRequest.encode = function encode(message, writer) { + WorkflowErrorExistsIdenticalStructure.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.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 WorkflowAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @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.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest + * @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 */ - WorkflowAttributesDeleteRequest.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.WorkflowAttributesDeleteRequest(); + 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: - message.project = reader.string(); - break; - case 2: - message.domain = reader.string(); - break; - case 3: - message.workflow = reader.string(); - break; - case 4: - message.resourceType = reader.int32(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -43712,62 +45067,46 @@ }; /** - * Verifies a WorkflowAttributesDeleteRequest message. + * Verifies a WorkflowErrorExistsIdenticalStructure message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @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 */ - WorkflowAttributesDeleteRequest.verify = function verify(message) { + WorkflowErrorExistsIdenticalStructure.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) { - 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.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } return null; }; - return WorkflowAttributesDeleteRequest; + return WorkflowErrorExistsIdenticalStructure; })(); - admin.WorkflowAttributesDeleteResponse = (function() { + admin.CreateWorkflowFailureReason = (function() { /** - * Properties of a WorkflowAttributesDeleteResponse. + * Properties of a CreateWorkflowFailureReason. * @memberof flyteidl.admin - * @interface IWorkflowAttributesDeleteResponse + * @interface ICreateWorkflowFailureReason + * @property {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null} [existsDifferentStructure] CreateWorkflowFailureReason existsDifferentStructure + * @property {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null} [existsIdenticalStructure] CreateWorkflowFailureReason existsIdenticalStructure */ /** - * Constructs a new WorkflowAttributesDeleteResponse. + * Constructs a new CreateWorkflowFailureReason. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesDeleteResponse. - * @implements IWorkflowAttributesDeleteResponse + * @classdesc Represents a CreateWorkflowFailureReason. + * @implements ICreateWorkflowFailureReason * @constructor - * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse=} [properties] Properties to set + * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set */ - function WorkflowAttributesDeleteResponse(properties) { + function CreateWorkflowFailureReason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43775,50 +45114,90 @@ } /** - * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. + * 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 + * @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.WorkflowAttributesDeleteResponse + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesDeleteResponse} WorkflowAttributesDeleteResponse instance + * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set + * @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason instance */ - WorkflowAttributesDeleteResponse.create = function create(properties) { - return new WorkflowAttributesDeleteResponse(properties); + CreateWorkflowFailureReason.create = function create(properties) { + return new CreateWorkflowFailureReason(properties); }; /** - * Encodes the specified WorkflowAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteResponse.verify|verify} messages. + * Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse} message WorkflowAttributesDeleteResponse 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 */ - WorkflowAttributesDeleteResponse.encode = function encode(message, writer) { + CreateWorkflowFailureReason.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(); return writer; }; /** - * Decodes a WorkflowAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a CreateWorkflowFailureReason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse + * @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.WorkflowAttributesDeleteResponse} WorkflowAttributesDeleteResponse + * @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 */ - WorkflowAttributesDeleteResponse.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.WorkflowAttributesDeleteResponse(); + 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.existsDifferentStructure = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.decode(reader, reader.uint32()); + break; + case 2: + message.existsIdenticalStructure = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -43828,1969 +45207,5876 @@ }; /** - * Verifies a WorkflowAttributesDeleteResponse message. + * Verifies a CreateWorkflowFailureReason message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse + * @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 */ - WorkflowAttributesDeleteResponse.verify = function verify(message) { + CreateWorkflowFailureReason.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; + } + } return null; }; - return WorkflowAttributesDeleteResponse; + return CreateWorkflowFailureReason; })(); - return admin; - })(); - - flyteidl.service = (function() { - - /** - * Namespace service. - * @memberof flyteidl - * @namespace - */ - var service = {}; - - service.AdminService = (function() { - - /** - * Constructs a new AdminService service. - * @memberof flyteidl.service - * @classdesc Represents an AdminService - * @extends $protobuf.rpc.Service - * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - */ - function AdminService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } - - (AdminService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AdminService; + admin.WorkflowAttributes = (function() { /** - * Creates new AdminService service using the specified rpc implementation. - * @function create - * @memberof flyteidl.service.AdminService - * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {AdminService} RPC service. Useful where requests and/or responses are streamed. + * 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 */ - AdminService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); - }; /** - * Callback as used by {@link flyteidl.service.AdminService#createTask}. - * @memberof flyteidl.service.AdminService - * @typedef CreateTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.TaskCreateResponse} [response] TaskCreateResponse + * Constructs a new WorkflowAttributes. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowAttributes. + * @implements IWorkflowAttributes + * @constructor + * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set */ + function WorkflowAttributes(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]]; + } /** - * Calls CreateTask. - * @function createTask - * @memberof flyteidl.service.AdminService + * WorkflowAttributes project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowAttributes * @instance - * @param {flyteidl.admin.ITaskCreateRequest} request TaskCreateRequest message or plain object - * @param {flyteidl.service.AdminService.CreateTaskCallback} callback Node-style callback called with the error, if any, and TaskCreateResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.createTask = function createTask(request, callback) { - return this.rpcCall(createTask, $root.flyteidl.admin.TaskCreateRequest, $root.flyteidl.admin.TaskCreateResponse, request, callback); - }, "name", { value: "CreateTask" }); + WorkflowAttributes.prototype.project = ""; /** - * Calls CreateTask. - * @function createTask - * @memberof flyteidl.service.AdminService + * WorkflowAttributes domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowAttributes * @instance - * @param {flyteidl.admin.ITaskCreateRequest} request TaskCreateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + WorkflowAttributes.prototype.domain = ""; /** - * Callback as used by {@link flyteidl.service.AdminService#getTask}. - * @memberof flyteidl.service.AdminService - * @typedef GetTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.Task} [response] Task + * WorkflowAttributes workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowAttributes + * @instance */ + WorkflowAttributes.prototype.workflow = ""; /** - * Calls GetTask. - * @function getTask - * @memberof flyteidl.service.AdminService + * WorkflowAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.WorkflowAttributes * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetTaskCallback} callback Node-style callback called with the error, if any, and Task - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.getTask = function getTask(request, callback) { - return this.rpcCall(getTask, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.Task, request, callback); - }, "name", { value: "GetTask" }); + WorkflowAttributes.prototype.matchingAttributes = null; /** - * Calls GetTask. - * @function getTask - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new WorkflowAttributes instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowAttributes + * @static + * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes instance */ + WorkflowAttributes.create = function create(properties) { + return new WorkflowAttributes(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#listTaskIds}. - * @memberof flyteidl.service.AdminService - * @typedef ListTaskIdsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NamedEntityIdentifierList} [response] NamedEntityIdentifierList + * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowAttributes + * @static + * @param {flyteidl.admin.IWorkflowAttributes} message WorkflowAttributes message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + WorkflowAttributes.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(); + return writer; + }; /** - * Calls ListTaskIds. - * @function listTaskIds - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object - * @param {flyteidl.service.AdminService.ListTaskIdsCallback} callback Node-style callback called with the error, if any, and NamedEntityIdentifierList - * @returns {undefined} - * @variation 1 + * Decodes a WorkflowAttributes message from the specified reader or buffer. + * @function decode + * @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.WorkflowAttributes} WorkflowAttributes + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.listTaskIds = function listTaskIds(request, callback) { - return this.rpcCall(listTaskIds, $root.flyteidl.admin.NamedEntityIdentifierListRequest, $root.flyteidl.admin.NamedEntityIdentifierList, request, callback); - }, "name", { value: "ListTaskIds" }); + 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.WorkflowAttributes(); + 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.workflow = reader.string(); + break; + case 4: + message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls ListTaskIds. - * @function listTaskIds - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a WorkflowAttributes message. + * @function verify + * @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 */ + WorkflowAttributes.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 (error) + return "matchingAttributes." + error; + } + return null; + }; - /** - * Callback as used by {@link flyteidl.service.AdminService#listTasks}. - * @memberof flyteidl.service.AdminService - * @typedef ListTasksCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.TaskList} [response] TaskList - */ + return WorkflowAttributes; + })(); - /** - * Calls ListTasks. - * @function listTasks - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @param {flyteidl.service.AdminService.ListTasksCallback} callback Node-style callback called with the error, if any, and TaskList - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(AdminService.prototype.listTasks = function listTasks(request, callback) { - return this.rpcCall(listTasks, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.TaskList, request, callback); - }, "name", { value: "ListTasks" }); + admin.WorkflowAttributesUpdateRequest = (function() { /** - * Calls ListTasks. - * @function listTasks - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Properties of a WorkflowAttributesUpdateRequest. + * @memberof flyteidl.admin + * @interface IWorkflowAttributesUpdateRequest + * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesUpdateRequest attributes */ /** - * Callback as used by {@link flyteidl.service.AdminService#createWorkflow}. - * @memberof flyteidl.service.AdminService - * @typedef CreateWorkflowCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowCreateResponse} [response] WorkflowCreateResponse + * Constructs a new WorkflowAttributesUpdateRequest. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowAttributesUpdateRequest. + * @implements IWorkflowAttributesUpdateRequest + * @constructor + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set */ + 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]]; + } /** - * Calls CreateWorkflow. - * @function createWorkflow - * @memberof flyteidl.service.AdminService + * WorkflowAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @instance - * @param {flyteidl.admin.IWorkflowCreateRequest} request WorkflowCreateRequest message or plain object - * @param {flyteidl.service.AdminService.CreateWorkflowCallback} callback Node-style callback called with the error, if any, and WorkflowCreateResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.createWorkflow = function createWorkflow(request, callback) { - return this.rpcCall(createWorkflow, $root.flyteidl.admin.WorkflowCreateRequest, $root.flyteidl.admin.WorkflowCreateResponse, request, callback); - }, "name", { value: "CreateWorkflow" }); + WorkflowAttributesUpdateRequest.prototype.attributes = null; /** - * Calls CreateWorkflow. - * @function createWorkflow - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowCreateRequest} request WorkflowCreateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @static + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest instance */ + WorkflowAttributesUpdateRequest.create = function create(properties) { + return new WorkflowAttributesUpdateRequest(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#getWorkflow}. - * @memberof flyteidl.service.AdminService - * @typedef GetWorkflowCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.Workflow} [response] Workflow + * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @static + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} message WorkflowAttributesUpdateRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + WorkflowAttributesUpdateRequest.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(); + return writer; + }; /** - * Calls GetWorkflow. - * @function getWorkflow - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetWorkflowCallback} callback Node-style callback called with the error, if any, and Workflow - * @returns {undefined} - * @variation 1 + * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. + * @function decode + * @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.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.getWorkflow = function getWorkflow(request, callback) { - return this.rpcCall(getWorkflow, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.Workflow, request, callback); - }, "name", { value: "GetWorkflow" }); + 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.WorkflowAttributesUpdateRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls GetWorkflow. - * @function getWorkflow - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a WorkflowAttributesUpdateRequest message. + * @function verify + * @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 */ + WorkflowAttributesUpdateRequest.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; + } + return null; + }; - /** - * Callback as used by {@link flyteidl.service.AdminService#listWorkflowIds}. - * @memberof flyteidl.service.AdminService - * @typedef ListWorkflowIdsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NamedEntityIdentifierList} [response] NamedEntityIdentifierList - */ + return WorkflowAttributesUpdateRequest; + })(); - /** - * Calls ListWorkflowIds. - * @function listWorkflowIds - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object - * @param {flyteidl.service.AdminService.ListWorkflowIdsCallback} callback Node-style callback called with the error, if any, and NamedEntityIdentifierList - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(AdminService.prototype.listWorkflowIds = function listWorkflowIds(request, callback) { - return this.rpcCall(listWorkflowIds, $root.flyteidl.admin.NamedEntityIdentifierListRequest, $root.flyteidl.admin.NamedEntityIdentifierList, request, callback); - }, "name", { value: "ListWorkflowIds" }); + admin.WorkflowAttributesUpdateResponse = (function() { /** - * Calls ListWorkflowIds. - * @function listWorkflowIds - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Properties of a WorkflowAttributesUpdateResponse. + * @memberof flyteidl.admin + * @interface IWorkflowAttributesUpdateResponse */ /** - * Callback as used by {@link flyteidl.service.AdminService#listWorkflows}. - * @memberof flyteidl.service.AdminService - * @typedef ListWorkflowsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowList} [response] WorkflowList + * Constructs a new WorkflowAttributesUpdateResponse. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowAttributesUpdateResponse. + * @implements IWorkflowAttributesUpdateResponse + * @constructor + * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set */ + function WorkflowAttributesUpdateResponse(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]]; + } /** - * Calls ListWorkflows. - * @function listWorkflows - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @param {flyteidl.service.AdminService.ListWorkflowsCallback} callback Node-style callback called with the error, if any, and WorkflowList - * @returns {undefined} - * @variation 1 + * 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 */ - Object.defineProperty(AdminService.prototype.listWorkflows = function listWorkflows(request, callback) { - return this.rpcCall(listWorkflows, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.WorkflowList, request, callback); - }, "name", { value: "ListWorkflows" }); + WorkflowAttributesUpdateResponse.create = function create(properties) { + return new WorkflowAttributesUpdateResponse(properties); + }; /** - * Calls ListWorkflows. - * @function listWorkflows - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * 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; + }; /** - * Callback as used by {@link flyteidl.service.AdminService#createLaunchPlan}. - * @memberof flyteidl.service.AdminService - * @typedef CreateLaunchPlanCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.LaunchPlanCreateResponse} [response] LaunchPlanCreateResponse + * 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 */ + 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; + }; /** - * Calls CreateLaunchPlan. - * @function createLaunchPlan - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ILaunchPlanCreateRequest} request LaunchPlanCreateRequest message or plain object - * @param {flyteidl.service.AdminService.CreateLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlanCreateResponse - * @returns {undefined} - * @variation 1 + * 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 */ - Object.defineProperty(AdminService.prototype.createLaunchPlan = function createLaunchPlan(request, callback) { - return this.rpcCall(createLaunchPlan, $root.flyteidl.admin.LaunchPlanCreateRequest, $root.flyteidl.admin.LaunchPlanCreateResponse, request, callback); - }, "name", { value: "CreateLaunchPlan" }); + WorkflowAttributesUpdateResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return WorkflowAttributesUpdateResponse; + })(); + + admin.WorkflowAttributesGetRequest = (function() { /** - * Calls CreateLaunchPlan. - * @function createLaunchPlan - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ILaunchPlanCreateRequest} request LaunchPlanCreateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * 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 */ /** - * Callback as used by {@link flyteidl.service.AdminService#getLaunchPlan}. - * @memberof flyteidl.service.AdminService - * @typedef GetLaunchPlanCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.LaunchPlan} [response] LaunchPlan + * Constructs a new WorkflowAttributesGetRequest. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowAttributesGetRequest. + * @implements IWorkflowAttributesGetRequest + * @constructor + * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set */ + 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]]; + } /** - * Calls GetLaunchPlan. - * @function getLaunchPlan - * @memberof flyteidl.service.AdminService + * WorkflowAttributesGetRequest project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlan - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.getLaunchPlan = function getLaunchPlan(request, callback) { - return this.rpcCall(getLaunchPlan, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.LaunchPlan, request, callback); - }, "name", { value: "GetLaunchPlan" }); + WorkflowAttributesGetRequest.prototype.project = ""; /** - * Calls GetLaunchPlan. - * @function getLaunchPlan - * @memberof flyteidl.service.AdminService + * WorkflowAttributesGetRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + WorkflowAttributesGetRequest.prototype.domain = ""; /** - * Callback as used by {@link flyteidl.service.AdminService#getActiveLaunchPlan}. - * @memberof flyteidl.service.AdminService - * @typedef GetActiveLaunchPlanCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.LaunchPlan} [response] LaunchPlan + * WorkflowAttributesGetRequest workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @instance */ + WorkflowAttributesGetRequest.prototype.workflow = ""; /** - * Calls GetActiveLaunchPlan. - * @function getActiveLaunchPlan - * @memberof flyteidl.service.AdminService + * WorkflowAttributesGetRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @instance - * @param {flyteidl.admin.IActiveLaunchPlanRequest} request ActiveLaunchPlanRequest message or plain object - * @param {flyteidl.service.AdminService.GetActiveLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlan - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.getActiveLaunchPlan = function getActiveLaunchPlan(request, callback) { - return this.rpcCall(getActiveLaunchPlan, $root.flyteidl.admin.ActiveLaunchPlanRequest, $root.flyteidl.admin.LaunchPlan, request, callback); - }, "name", { value: "GetActiveLaunchPlan" }); + WorkflowAttributesGetRequest.prototype.resourceType = 0; /** - * Calls GetActiveLaunchPlan. - * @function getActiveLaunchPlan - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IActiveLaunchPlanRequest} request ActiveLaunchPlanRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new WorkflowAttributesGetRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @static + * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest instance */ + WorkflowAttributesGetRequest.create = function create(properties) { + return new WorkflowAttributesGetRequest(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#listActiveLaunchPlans}. - * @memberof flyteidl.service.AdminService - * @typedef ListActiveLaunchPlansCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.LaunchPlanList} [response] LaunchPlanList + * Encodes the specified WorkflowAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @static + * @param {flyteidl.admin.IWorkflowAttributesGetRequest} message WorkflowAttributesGetRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + WorkflowAttributesGetRequest.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); + return writer; + }; /** - * Calls ListActiveLaunchPlans. - * @function listActiveLaunchPlans - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IActiveLaunchPlanListRequest} request ActiveLaunchPlanListRequest message or plain object - * @param {flyteidl.service.AdminService.ListActiveLaunchPlansCallback} callback Node-style callback called with the error, if any, and LaunchPlanList - * @returns {undefined} + * Decodes a WorkflowAttributesGetRequest message from the specified reader or buffer. + * @function decode + * @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.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest + * @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) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + 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.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.workflow = reader.string(); + break; + case 4: + message.resourceType = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowAttributesGetRequest message. + * @function verify + * @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 + */ + WorkflowAttributesGetRequest.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) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + return null; + }; + + return WorkflowAttributesGetRequest; + })(); + + admin.WorkflowAttributesGetResponse = (function() { + + /** + * Properties of a WorkflowAttributesGetResponse. + * @memberof flyteidl.admin + * @interface IWorkflowAttributesGetResponse + * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesGetResponse attributes + */ + + /** + * Constructs a new WorkflowAttributesGetResponse. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowAttributesGetResponse. + * @implements IWorkflowAttributesGetResponse + * @constructor + * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set + */ + function WorkflowAttributesGetResponse(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]]; + } + + /** + * WorkflowAttributesGetResponse attributes. + * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes + * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @instance + */ + WorkflowAttributesGetResponse.prototype.attributes = null; + + /** + * Creates a new WorkflowAttributesGetResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @static + * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse instance + */ + WorkflowAttributesGetResponse.create = function create(properties) { + return new WorkflowAttributesGetResponse(properties); + }; + + /** + * Encodes the specified WorkflowAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @static + * @param {flyteidl.admin.IWorkflowAttributesGetResponse} message WorkflowAttributesGetResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WorkflowAttributesGetResponse.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(); + return writer; + }; + + /** + * Decodes a WorkflowAttributesGetResponse message from the specified reader or buffer. + * @function decode + * @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.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse + * @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) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + 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: + message.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowAttributesGetResponse message. + * @function verify + * @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 + */ + WorkflowAttributesGetResponse.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; + } + return null; + }; + + return WorkflowAttributesGetResponse; + })(); + + admin.WorkflowAttributesDeleteRequest = (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 + */ + + /** + * Constructs a new WorkflowAttributesDeleteRequest. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowAttributesDeleteRequest. + * @implements IWorkflowAttributesDeleteRequest + * @constructor + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set + */ + function WorkflowAttributesDeleteRequest(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]]; + } + + /** + * WorkflowAttributesDeleteRequest project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @instance + */ + WorkflowAttributesDeleteRequest.prototype.project = ""; + + /** + * WorkflowAttributesDeleteRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @instance + */ + WorkflowAttributesDeleteRequest.prototype.domain = ""; + + /** + * WorkflowAttributesDeleteRequest workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @instance + */ + WorkflowAttributesDeleteRequest.prototype.workflow = ""; + + /** + * WorkflowAttributesDeleteRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @instance + */ + WorkflowAttributesDeleteRequest.prototype.resourceType = 0; + + /** + * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @static + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest instance + */ + WorkflowAttributesDeleteRequest.create = function create(properties) { + return new WorkflowAttributesDeleteRequest(properties); + }; + + /** + * Encodes the specified WorkflowAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @static + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} message WorkflowAttributesDeleteRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WorkflowAttributesDeleteRequest.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); + return writer; + }; + + /** + * Decodes a WorkflowAttributesDeleteRequest message from the specified reader or buffer. + * @function decode + * @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.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest + * @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) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + 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.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.workflow = reader.string(); + break; + case 4: + message.resourceType = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowAttributesDeleteRequest message. + * @function verify + * @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 + */ + WorkflowAttributesDeleteRequest.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) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + 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 + */ + WorkflowAttributesDeleteResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return WorkflowAttributesDeleteResponse; + })(); + + return admin; + })(); + + flyteidl.service = (function() { + + /** + * Namespace service. + * @memberof flyteidl + * @namespace + */ + var service = {}; + + service.AdminService = (function() { + + /** + * Constructs a new AdminService service. + * @memberof flyteidl.service + * @classdesc Represents an AdminService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function AdminService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (AdminService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AdminService; + + /** + * Creates new AdminService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.AdminService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {AdminService} RPC service. Useful where requests and/or responses are streamed. + */ + AdminService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createTask}. + * @memberof flyteidl.service.AdminService + * @typedef CreateTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.TaskCreateResponse} [response] TaskCreateResponse + */ + + /** + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskCreateRequest} request TaskCreateRequest message or plain object + * @param {flyteidl.service.AdminService.CreateTaskCallback} callback Node-style callback called with the error, if any, and TaskCreateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.createTask = function createTask(request, callback) { + return this.rpcCall(createTask, $root.flyteidl.admin.TaskCreateRequest, $root.flyteidl.admin.TaskCreateResponse, request, callback); + }, "name", { value: "CreateTask" }); + + /** + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskCreateRequest} request TaskCreateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTask}. + * @memberof flyteidl.service.AdminService + * @typedef GetTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.Task} [response] Task + */ + + /** + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetTaskCallback} callback Node-style callback called with the error, if any, and Task + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getTask = function getTask(request, callback) { + return this.rpcCall(getTask, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.Task, request, callback); + }, "name", { value: "GetTask" }); + + /** + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTaskIds}. + * @memberof flyteidl.service.AdminService + * @typedef ListTaskIdsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NamedEntityIdentifierList} [response] NamedEntityIdentifierList + */ + + /** + * Calls ListTaskIds. + * @function listTaskIds + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object + * @param {flyteidl.service.AdminService.ListTaskIdsCallback} callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listTaskIds = function listTaskIds(request, callback) { + return this.rpcCall(listTaskIds, $root.flyteidl.admin.NamedEntityIdentifierListRequest, $root.flyteidl.admin.NamedEntityIdentifierList, request, callback); + }, "name", { value: "ListTaskIds" }); + + /** + * Calls ListTaskIds. + * @function listTaskIds + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTasks}. + * @memberof flyteidl.service.AdminService + * @typedef ListTasksCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.TaskList} [response] TaskList + */ + + /** + * Calls ListTasks. + * @function listTasks + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @param {flyteidl.service.AdminService.ListTasksCallback} callback Node-style callback called with the error, if any, and TaskList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listTasks = function listTasks(request, callback) { + return this.rpcCall(listTasks, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.TaskList, request, callback); + }, "name", { value: "ListTasks" }); + + /** + * Calls ListTasks. + * @function listTasks + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#createWorkflow}. + * @memberof flyteidl.service.AdminService + * @typedef CreateWorkflowCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowCreateResponse} [response] WorkflowCreateResponse + */ + + /** + * Calls CreateWorkflow. + * @function createWorkflow + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowCreateRequest} request WorkflowCreateRequest message or plain object + * @param {flyteidl.service.AdminService.CreateWorkflowCallback} callback Node-style callback called with the error, if any, and WorkflowCreateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.createWorkflow = function createWorkflow(request, callback) { + return this.rpcCall(createWorkflow, $root.flyteidl.admin.WorkflowCreateRequest, $root.flyteidl.admin.WorkflowCreateResponse, request, callback); + }, "name", { value: "CreateWorkflow" }); + + /** + * Calls CreateWorkflow. + * @function createWorkflow + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowCreateRequest} request WorkflowCreateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getWorkflow}. + * @memberof flyteidl.service.AdminService + * @typedef GetWorkflowCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.Workflow} [response] Workflow + */ + + /** + * Calls GetWorkflow. + * @function getWorkflow + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetWorkflowCallback} callback Node-style callback called with the error, if any, and Workflow + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getWorkflow = function getWorkflow(request, callback) { + return this.rpcCall(getWorkflow, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.Workflow, request, callback); + }, "name", { value: "GetWorkflow" }); + + /** + * Calls GetWorkflow. + * @function getWorkflow + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listWorkflowIds}. + * @memberof flyteidl.service.AdminService + * @typedef ListWorkflowIdsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NamedEntityIdentifierList} [response] NamedEntityIdentifierList + */ + + /** + * Calls ListWorkflowIds. + * @function listWorkflowIds + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object + * @param {flyteidl.service.AdminService.ListWorkflowIdsCallback} callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listWorkflowIds = function listWorkflowIds(request, callback) { + return this.rpcCall(listWorkflowIds, $root.flyteidl.admin.NamedEntityIdentifierListRequest, $root.flyteidl.admin.NamedEntityIdentifierList, request, callback); + }, "name", { value: "ListWorkflowIds" }); + + /** + * Calls ListWorkflowIds. + * @function listWorkflowIds + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listWorkflows}. + * @memberof flyteidl.service.AdminService + * @typedef ListWorkflowsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowList} [response] WorkflowList + */ + + /** + * Calls ListWorkflows. + * @function listWorkflows + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @param {flyteidl.service.AdminService.ListWorkflowsCallback} callback Node-style callback called with the error, if any, and WorkflowList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listWorkflows = function listWorkflows(request, callback) { + return this.rpcCall(listWorkflows, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.WorkflowList, request, callback); + }, "name", { value: "ListWorkflows" }); + + /** + * Calls ListWorkflows. + * @function listWorkflows + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#createLaunchPlan}. + * @memberof flyteidl.service.AdminService + * @typedef CreateLaunchPlanCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.LaunchPlanCreateResponse} [response] LaunchPlanCreateResponse + */ + + /** + * Calls CreateLaunchPlan. + * @function createLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ILaunchPlanCreateRequest} request LaunchPlanCreateRequest message or plain object + * @param {flyteidl.service.AdminService.CreateLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlanCreateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.createLaunchPlan = function createLaunchPlan(request, callback) { + return this.rpcCall(createLaunchPlan, $root.flyteidl.admin.LaunchPlanCreateRequest, $root.flyteidl.admin.LaunchPlanCreateResponse, request, callback); + }, "name", { value: "CreateLaunchPlan" }); + + /** + * Calls CreateLaunchPlan. + * @function createLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ILaunchPlanCreateRequest} request LaunchPlanCreateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getLaunchPlan}. + * @memberof flyteidl.service.AdminService + * @typedef GetLaunchPlanCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.LaunchPlan} [response] LaunchPlan + */ + + /** + * Calls GetLaunchPlan. + * @function getLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlan + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getLaunchPlan = function getLaunchPlan(request, callback) { + return this.rpcCall(getLaunchPlan, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.LaunchPlan, request, callback); + }, "name", { value: "GetLaunchPlan" }); + + /** + * Calls GetLaunchPlan. + * @function getLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getActiveLaunchPlan}. + * @memberof flyteidl.service.AdminService + * @typedef GetActiveLaunchPlanCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.LaunchPlan} [response] LaunchPlan + */ + + /** + * Calls GetActiveLaunchPlan. + * @function getActiveLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IActiveLaunchPlanRequest} request ActiveLaunchPlanRequest message or plain object + * @param {flyteidl.service.AdminService.GetActiveLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlan + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getActiveLaunchPlan = function getActiveLaunchPlan(request, callback) { + return this.rpcCall(getActiveLaunchPlan, $root.flyteidl.admin.ActiveLaunchPlanRequest, $root.flyteidl.admin.LaunchPlan, request, callback); + }, "name", { value: "GetActiveLaunchPlan" }); + + /** + * Calls GetActiveLaunchPlan. + * @function getActiveLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IActiveLaunchPlanRequest} request ActiveLaunchPlanRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listActiveLaunchPlans}. + * @memberof flyteidl.service.AdminService + * @typedef ListActiveLaunchPlansCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.LaunchPlanList} [response] LaunchPlanList + */ + + /** + * Calls ListActiveLaunchPlans. + * @function listActiveLaunchPlans + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IActiveLaunchPlanListRequest} request ActiveLaunchPlanListRequest message or plain object + * @param {flyteidl.service.AdminService.ListActiveLaunchPlansCallback} callback Node-style callback called with the error, if any, and LaunchPlanList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listActiveLaunchPlans = function listActiveLaunchPlans(request, callback) { + return this.rpcCall(listActiveLaunchPlans, $root.flyteidl.admin.ActiveLaunchPlanListRequest, $root.flyteidl.admin.LaunchPlanList, request, callback); + }, "name", { value: "ListActiveLaunchPlans" }); + + /** + * Calls ListActiveLaunchPlans. + * @function listActiveLaunchPlans + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IActiveLaunchPlanListRequest} request ActiveLaunchPlanListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlanIds}. + * @memberof flyteidl.service.AdminService + * @typedef ListLaunchPlanIdsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NamedEntityIdentifierList} [response] NamedEntityIdentifierList + */ + + /** + * Calls ListLaunchPlanIds. + * @function listLaunchPlanIds + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object + * @param {flyteidl.service.AdminService.ListLaunchPlanIdsCallback} callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listLaunchPlanIds = function listLaunchPlanIds(request, callback) { + return this.rpcCall(listLaunchPlanIds, $root.flyteidl.admin.NamedEntityIdentifierListRequest, $root.flyteidl.admin.NamedEntityIdentifierList, request, callback); + }, "name", { value: "ListLaunchPlanIds" }); + + /** + * Calls ListLaunchPlanIds. + * @function listLaunchPlanIds + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlans}. + * @memberof flyteidl.service.AdminService + * @typedef ListLaunchPlansCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.LaunchPlanList} [response] LaunchPlanList + */ + + /** + * Calls ListLaunchPlans. + * @function listLaunchPlans + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @param {flyteidl.service.AdminService.ListLaunchPlansCallback} callback Node-style callback called with the error, if any, and LaunchPlanList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listLaunchPlans = function listLaunchPlans(request, callback) { + return this.rpcCall(listLaunchPlans, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.LaunchPlanList, request, callback); + }, "name", { value: "ListLaunchPlans" }); + + /** + * Calls ListLaunchPlans. + * @function listLaunchPlans + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateLaunchPlan}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateLaunchPlanCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.LaunchPlanUpdateResponse} [response] LaunchPlanUpdateResponse + */ + + /** + * Calls UpdateLaunchPlan. + * @function updateLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ILaunchPlanUpdateRequest} request LaunchPlanUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlanUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateLaunchPlan = function updateLaunchPlan(request, callback) { + return this.rpcCall(updateLaunchPlan, $root.flyteidl.admin.LaunchPlanUpdateRequest, $root.flyteidl.admin.LaunchPlanUpdateResponse, request, callback); + }, "name", { value: "UpdateLaunchPlan" }); + + /** + * Calls UpdateLaunchPlan. + * @function updateLaunchPlan + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ILaunchPlanUpdateRequest} request LaunchPlanUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#createExecution}. + * @memberof flyteidl.service.AdminService + * @typedef CreateExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ExecutionCreateResponse} [response] ExecutionCreateResponse + */ + + /** + * Calls CreateExecution. + * @function createExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionCreateRequest} request ExecutionCreateRequest message or plain object + * @param {flyteidl.service.AdminService.CreateExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionCreateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.createExecution = function createExecution(request, callback) { + return this.rpcCall(createExecution, $root.flyteidl.admin.ExecutionCreateRequest, $root.flyteidl.admin.ExecutionCreateResponse, request, callback); + }, "name", { value: "CreateExecution" }); + + /** + * Calls CreateExecution. + * @function createExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionCreateRequest} request ExecutionCreateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#relaunchExecution}. + * @memberof flyteidl.service.AdminService + * @typedef RelaunchExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ExecutionCreateResponse} [response] ExecutionCreateResponse + */ + + /** + * Calls RelaunchExecution. + * @function relaunchExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionRelaunchRequest} request ExecutionRelaunchRequest message or plain object + * @param {flyteidl.service.AdminService.RelaunchExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionCreateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.relaunchExecution = function relaunchExecution(request, callback) { + return this.rpcCall(relaunchExecution, $root.flyteidl.admin.ExecutionRelaunchRequest, $root.flyteidl.admin.ExecutionCreateResponse, request, callback); + }, "name", { value: "RelaunchExecution" }); + + /** + * Calls RelaunchExecution. + * @function relaunchExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionRelaunchRequest} request ExecutionRelaunchRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#recoverExecution}. + * @memberof flyteidl.service.AdminService + * @typedef RecoverExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ExecutionCreateResponse} [response] ExecutionCreateResponse + */ + + /** + * Calls RecoverExecution. + * @function recoverExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionRecoverRequest} request ExecutionRecoverRequest message or plain object + * @param {flyteidl.service.AdminService.RecoverExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionCreateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.recoverExecution = function recoverExecution(request, callback) { + return this.rpcCall(recoverExecution, $root.flyteidl.admin.ExecutionRecoverRequest, $root.flyteidl.admin.ExecutionCreateResponse, request, callback); + }, "name", { value: "RecoverExecution" }); + + /** + * Calls RecoverExecution. + * @function recoverExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionRecoverRequest} request ExecutionRecoverRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecution}. + * @memberof flyteidl.service.AdminService + * @typedef GetExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.Execution} [response] Execution + */ + + /** + * Calls GetExecution. + * @function getExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetRequest} request WorkflowExecutionGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetExecutionCallback} callback Node-style callback called with the error, if any, and Execution + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getExecution = function getExecution(request, callback) { + return this.rpcCall(getExecution, $root.flyteidl.admin.WorkflowExecutionGetRequest, $root.flyteidl.admin.Execution, request, callback); + }, "name", { value: "GetExecution" }); + + /** + * Calls GetExecution. + * @function getExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetRequest} request WorkflowExecutionGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateExecution}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ExecutionUpdateResponse} [response] ExecutionUpdateResponse + */ + + /** + * Calls UpdateExecution. + * @function updateExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionUpdateRequest} request ExecutionUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateExecution = function updateExecution(request, callback) { + return this.rpcCall(updateExecution, $root.flyteidl.admin.ExecutionUpdateRequest, $root.flyteidl.admin.ExecutionUpdateResponse, request, callback); + }, "name", { value: "UpdateExecution" }); + + /** + * Calls UpdateExecution. + * @function updateExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionUpdateRequest} request ExecutionUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionData}. + * @memberof flyteidl.service.AdminService + * @typedef GetExecutionDataCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowExecutionGetDataResponse} [response] WorkflowExecutionGetDataResponse + */ + + /** + * Calls GetExecutionData. + * @function getExecutionData + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest} request WorkflowExecutionGetDataRequest message or plain object + * @param {flyteidl.service.AdminService.GetExecutionDataCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionGetDataResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getExecutionData = function getExecutionData(request, callback) { + return this.rpcCall(getExecutionData, $root.flyteidl.admin.WorkflowExecutionGetDataRequest, $root.flyteidl.admin.WorkflowExecutionGetDataResponse, request, callback); + }, "name", { value: "GetExecutionData" }); + + /** + * Calls GetExecutionData. + * @function getExecutionData + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest} request WorkflowExecutionGetDataRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listExecutions}. + * @memberof flyteidl.service.AdminService + * @typedef ListExecutionsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ExecutionList} [response] ExecutionList + */ + + /** + * Calls ListExecutions. + * @function listExecutions + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @param {flyteidl.service.AdminService.ListExecutionsCallback} callback Node-style callback called with the error, if any, and ExecutionList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listExecutions = function listExecutions(request, callback) { + return this.rpcCall(listExecutions, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.ExecutionList, request, callback); + }, "name", { value: "ListExecutions" }); + + /** + * Calls ListExecutions. + * @function listExecutions + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#terminateExecution}. + * @memberof flyteidl.service.AdminService + * @typedef TerminateExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ExecutionTerminateResponse} [response] ExecutionTerminateResponse + */ + + /** + * Calls TerminateExecution. + * @function terminateExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionTerminateRequest} request ExecutionTerminateRequest message or plain object + * @param {flyteidl.service.AdminService.TerminateExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionTerminateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.terminateExecution = function terminateExecution(request, callback) { + return this.rpcCall(terminateExecution, $root.flyteidl.admin.ExecutionTerminateRequest, $root.flyteidl.admin.ExecutionTerminateResponse, request, callback); + }, "name", { value: "TerminateExecution" }); + + /** + * Calls TerminateExecution. + * @function terminateExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IExecutionTerminateRequest} request ExecutionTerminateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNodeExecution}. + * @memberof flyteidl.service.AdminService + * @typedef GetNodeExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NodeExecution} [response] NodeExecution + */ + + /** + * Calls GetNodeExecution. + * @function getNodeExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionGetRequest} request NodeExecutionGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetNodeExecutionCallback} callback Node-style callback called with the error, if any, and NodeExecution + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getNodeExecution = function getNodeExecution(request, callback) { + return this.rpcCall(getNodeExecution, $root.flyteidl.admin.NodeExecutionGetRequest, $root.flyteidl.admin.NodeExecution, request, callback); + }, "name", { value: "GetNodeExecution" }); + + /** + * Calls GetNodeExecution. + * @function getNodeExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionGetRequest} request NodeExecutionGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutions}. + * @memberof flyteidl.service.AdminService + * @typedef ListNodeExecutionsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NodeExecutionList} [response] NodeExecutionList + */ + + /** + * Calls ListNodeExecutions. + * @function listNodeExecutions + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionListRequest} request NodeExecutionListRequest message or plain object + * @param {flyteidl.service.AdminService.ListNodeExecutionsCallback} callback Node-style callback called with the error, if any, and NodeExecutionList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listNodeExecutions = function listNodeExecutions(request, callback) { + return this.rpcCall(listNodeExecutions, $root.flyteidl.admin.NodeExecutionListRequest, $root.flyteidl.admin.NodeExecutionList, request, callback); + }, "name", { value: "ListNodeExecutions" }); + + /** + * Calls ListNodeExecutions. + * @function listNodeExecutions + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionListRequest} request NodeExecutionListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutionsForTask}. + * @memberof flyteidl.service.AdminService + * @typedef ListNodeExecutionsForTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NodeExecutionList} [response] NodeExecutionList + */ + + /** + * Calls ListNodeExecutionsForTask. + * @function listNodeExecutionsForTask + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionForTaskListRequest} request NodeExecutionForTaskListRequest message or plain object + * @param {flyteidl.service.AdminService.ListNodeExecutionsForTaskCallback} callback Node-style callback called with the error, if any, and NodeExecutionList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listNodeExecutionsForTask = function listNodeExecutionsForTask(request, callback) { + return this.rpcCall(listNodeExecutionsForTask, $root.flyteidl.admin.NodeExecutionForTaskListRequest, $root.flyteidl.admin.NodeExecutionList, request, callback); + }, "name", { value: "ListNodeExecutionsForTask" }); + + /** + * Calls ListNodeExecutionsForTask. + * @function listNodeExecutionsForTask + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionForTaskListRequest} request NodeExecutionForTaskListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNodeExecutionData}. + * @memberof flyteidl.service.AdminService + * @typedef GetNodeExecutionDataCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NodeExecutionGetDataResponse} [response] NodeExecutionGetDataResponse + */ + + /** + * Calls GetNodeExecutionData. + * @function getNodeExecutionData + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionGetDataRequest} request NodeExecutionGetDataRequest message or plain object + * @param {flyteidl.service.AdminService.GetNodeExecutionDataCallback} callback Node-style callback called with the error, if any, and NodeExecutionGetDataResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getNodeExecutionData = function getNodeExecutionData(request, callback) { + return this.rpcCall(getNodeExecutionData, $root.flyteidl.admin.NodeExecutionGetDataRequest, $root.flyteidl.admin.NodeExecutionGetDataResponse, request, callback); + }, "name", { value: "GetNodeExecutionData" }); + + /** + * Calls GetNodeExecutionData. + * @function getNodeExecutionData + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionGetDataRequest} request NodeExecutionGetDataRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#registerProject}. + * @memberof flyteidl.service.AdminService + * @typedef RegisterProjectCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectRegisterResponse} [response] ProjectRegisterResponse + */ + + /** + * Calls RegisterProject. + * @function registerProject + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectRegisterRequest} request ProjectRegisterRequest message or plain object + * @param {flyteidl.service.AdminService.RegisterProjectCallback} callback Node-style callback called with the error, if any, and ProjectRegisterResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.registerProject = function registerProject(request, callback) { + return this.rpcCall(registerProject, $root.flyteidl.admin.ProjectRegisterRequest, $root.flyteidl.admin.ProjectRegisterResponse, request, callback); + }, "name", { value: "RegisterProject" }); + + /** + * Calls RegisterProject. + * @function registerProject + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectRegisterRequest} request ProjectRegisterRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProject}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateProjectCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectUpdateResponse} [response] ProjectUpdateResponse + */ + + /** + * Calls UpdateProject. + * @function updateProject + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProject} request Project message or plain object + * @param {flyteidl.service.AdminService.UpdateProjectCallback} callback Node-style callback called with the error, if any, and ProjectUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateProject = function updateProject(request, callback) { + return this.rpcCall(updateProject, $root.flyteidl.admin.Project, $root.flyteidl.admin.ProjectUpdateResponse, request, callback); + }, "name", { value: "UpdateProject" }); + + /** + * Calls UpdateProject. + * @function updateProject + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProject} request Project message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listProjects}. + * @memberof flyteidl.service.AdminService + * @typedef ListProjectsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.Projects} [response] Projects + */ + + /** + * Calls ListProjects. + * @function listProjects + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectListRequest} request ProjectListRequest message or plain object + * @param {flyteidl.service.AdminService.ListProjectsCallback} callback Node-style callback called with the error, if any, and Projects + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listProjects = function listProjects(request, callback) { + return this.rpcCall(listProjects, $root.flyteidl.admin.ProjectListRequest, $root.flyteidl.admin.Projects, request, callback); + }, "name", { value: "ListProjects" }); + + /** + * Calls ListProjects. + * @function listProjects + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectListRequest} request ProjectListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#createWorkflowEvent}. + * @memberof flyteidl.service.AdminService + * @typedef CreateWorkflowEventCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowExecutionEventResponse} [response] WorkflowExecutionEventResponse + */ + + /** + * Calls CreateWorkflowEvent. + * @function createWorkflowEvent + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionEventRequest} request WorkflowExecutionEventRequest message or plain object + * @param {flyteidl.service.AdminService.CreateWorkflowEventCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionEventResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.createWorkflowEvent = function createWorkflowEvent(request, callback) { + return this.rpcCall(createWorkflowEvent, $root.flyteidl.admin.WorkflowExecutionEventRequest, $root.flyteidl.admin.WorkflowExecutionEventResponse, request, callback); + }, "name", { value: "CreateWorkflowEvent" }); + + /** + * Calls CreateWorkflowEvent. + * @function createWorkflowEvent + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionEventRequest} request WorkflowExecutionEventRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#createNodeEvent}. + * @memberof flyteidl.service.AdminService + * @typedef CreateNodeEventCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NodeExecutionEventResponse} [response] NodeExecutionEventResponse + */ + + /** + * Calls CreateNodeEvent. + * @function createNodeEvent + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionEventRequest} request NodeExecutionEventRequest message or plain object + * @param {flyteidl.service.AdminService.CreateNodeEventCallback} callback Node-style callback called with the error, if any, and NodeExecutionEventResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.createNodeEvent = function createNodeEvent(request, callback) { + return this.rpcCall(createNodeEvent, $root.flyteidl.admin.NodeExecutionEventRequest, $root.flyteidl.admin.NodeExecutionEventResponse, request, callback); + }, "name", { value: "CreateNodeEvent" }); + + /** + * Calls CreateNodeEvent. + * @function createNodeEvent + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INodeExecutionEventRequest} request NodeExecutionEventRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#createTaskEvent}. + * @memberof flyteidl.service.AdminService + * @typedef CreateTaskEventCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.TaskExecutionEventResponse} [response] TaskExecutionEventResponse + */ + + /** + * Calls CreateTaskEvent. + * @function createTaskEvent + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionEventRequest} request TaskExecutionEventRequest message or plain object + * @param {flyteidl.service.AdminService.CreateTaskEventCallback} callback Node-style callback called with the error, if any, and TaskExecutionEventResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.createTaskEvent = function createTaskEvent(request, callback) { + return this.rpcCall(createTaskEvent, $root.flyteidl.admin.TaskExecutionEventRequest, $root.flyteidl.admin.TaskExecutionEventResponse, request, callback); + }, "name", { value: "CreateTaskEvent" }); + + /** + * Calls CreateTaskEvent. + * @function createTaskEvent + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionEventRequest} request TaskExecutionEventRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTaskExecution}. + * @memberof flyteidl.service.AdminService + * @typedef GetTaskExecutionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.TaskExecution} [response] TaskExecution + */ + + /** + * Calls GetTaskExecution. + * @function getTaskExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionGetRequest} request TaskExecutionGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetTaskExecutionCallback} callback Node-style callback called with the error, if any, and TaskExecution + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getTaskExecution = function getTaskExecution(request, callback) { + return this.rpcCall(getTaskExecution, $root.flyteidl.admin.TaskExecutionGetRequest, $root.flyteidl.admin.TaskExecution, request, callback); + }, "name", { value: "GetTaskExecution" }); + + /** + * Calls GetTaskExecution. + * @function getTaskExecution + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionGetRequest} request TaskExecutionGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTaskExecutions}. + * @memberof flyteidl.service.AdminService + * @typedef ListTaskExecutionsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.TaskExecutionList} [response] TaskExecutionList + */ + + /** + * Calls ListTaskExecutions. + * @function listTaskExecutions + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionListRequest} request TaskExecutionListRequest message or plain object + * @param {flyteidl.service.AdminService.ListTaskExecutionsCallback} callback Node-style callback called with the error, if any, and TaskExecutionList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listTaskExecutions = function listTaskExecutions(request, callback) { + return this.rpcCall(listTaskExecutions, $root.flyteidl.admin.TaskExecutionListRequest, $root.flyteidl.admin.TaskExecutionList, request, callback); + }, "name", { value: "ListTaskExecutions" }); + + /** + * Calls ListTaskExecutions. + * @function listTaskExecutions + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionListRequest} request TaskExecutionListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTaskExecutionData}. + * @memberof flyteidl.service.AdminService + * @typedef GetTaskExecutionDataCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.TaskExecutionGetDataResponse} [response] TaskExecutionGetDataResponse + */ + + /** + * Calls GetTaskExecutionData. + * @function getTaskExecutionData + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionGetDataRequest} request TaskExecutionGetDataRequest message or plain object + * @param {flyteidl.service.AdminService.GetTaskExecutionDataCallback} callback Node-style callback called with the error, if any, and TaskExecutionGetDataResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getTaskExecutionData = function getTaskExecutionData(request, callback) { + return this.rpcCall(getTaskExecutionData, $root.flyteidl.admin.TaskExecutionGetDataRequest, $root.flyteidl.admin.TaskExecutionGetDataResponse, request, callback); + }, "name", { value: "GetTaskExecutionData" }); + + /** + * Calls GetTaskExecutionData. + * @function getTaskExecutionData + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.ITaskExecutionGetDataRequest} request TaskExecutionGetDataRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectDomainAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateProjectDomainAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectDomainAttributesUpdateResponse} [response] ProjectDomainAttributesUpdateResponse + */ + + /** + * Calls UpdateProjectDomainAttributes. + * @function updateProjectDomainAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} request ProjectDomainAttributesUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateProjectDomainAttributesCallback} callback Node-style callback called with the error, if any, and ProjectDomainAttributesUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateProjectDomainAttributes = function updateProjectDomainAttributes(request, callback) { + return this.rpcCall(updateProjectDomainAttributes, $root.flyteidl.admin.ProjectDomainAttributesUpdateRequest, $root.flyteidl.admin.ProjectDomainAttributesUpdateResponse, request, callback); + }, "name", { value: "UpdateProjectDomainAttributes" }); + + /** + * Calls UpdateProjectDomainAttributes. + * @function updateProjectDomainAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} request ProjectDomainAttributesUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getProjectDomainAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef GetProjectDomainAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectDomainAttributesGetResponse} [response] ProjectDomainAttributesGetResponse + */ + + /** + * Calls GetProjectDomainAttributes. + * @function getProjectDomainAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectDomainAttributesGetRequest} request ProjectDomainAttributesGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetProjectDomainAttributesCallback} callback Node-style callback called with the error, if any, and ProjectDomainAttributesGetResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getProjectDomainAttributes = function getProjectDomainAttributes(request, callback) { + return this.rpcCall(getProjectDomainAttributes, $root.flyteidl.admin.ProjectDomainAttributesGetRequest, $root.flyteidl.admin.ProjectDomainAttributesGetResponse, request, callback); + }, "name", { value: "GetProjectDomainAttributes" }); + + /** + * Calls GetProjectDomainAttributes. + * @function getProjectDomainAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectDomainAttributesGetRequest} request ProjectDomainAttributesGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteProjectDomainAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef DeleteProjectDomainAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectDomainAttributesDeleteResponse} [response] ProjectDomainAttributesDeleteResponse + */ + + /** + * Calls DeleteProjectDomainAttributes. + * @function deleteProjectDomainAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest} request ProjectDomainAttributesDeleteRequest message or plain object + * @param {flyteidl.service.AdminService.DeleteProjectDomainAttributesCallback} callback Node-style callback called with the error, if any, and ProjectDomainAttributesDeleteResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.deleteProjectDomainAttributes = function deleteProjectDomainAttributes(request, callback) { + return this.rpcCall(deleteProjectDomainAttributes, $root.flyteidl.admin.ProjectDomainAttributesDeleteRequest, $root.flyteidl.admin.ProjectDomainAttributesDeleteResponse, request, callback); + }, "name", { value: "DeleteProjectDomainAttributes" }); + + /** + * Calls DeleteProjectDomainAttributes. + * @function deleteProjectDomainAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest} request ProjectDomainAttributesDeleteRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateProjectAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectAttributesUpdateResponse} [response] ProjectAttributesUpdateResponse + */ + + /** + * Calls UpdateProjectAttributes. + * @function updateProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesUpdateRequest} request ProjectAttributesUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateProjectAttributesCallback} callback Node-style callback called with the error, if any, and ProjectAttributesUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateProjectAttributes = function updateProjectAttributes(request, callback) { + return this.rpcCall(updateProjectAttributes, $root.flyteidl.admin.ProjectAttributesUpdateRequest, $root.flyteidl.admin.ProjectAttributesUpdateResponse, request, callback); + }, "name", { value: "UpdateProjectAttributes" }); + + /** + * Calls UpdateProjectAttributes. + * @function updateProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesUpdateRequest} request ProjectAttributesUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getProjectAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef GetProjectAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectAttributesGetResponse} [response] ProjectAttributesGetResponse + */ + + /** + * Calls GetProjectAttributes. + * @function getProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesGetRequest} request ProjectAttributesGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetProjectAttributesCallback} callback Node-style callback called with the error, if any, and ProjectAttributesGetResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getProjectAttributes = function getProjectAttributes(request, callback) { + return this.rpcCall(getProjectAttributes, $root.flyteidl.admin.ProjectAttributesGetRequest, $root.flyteidl.admin.ProjectAttributesGetResponse, request, callback); + }, "name", { value: "GetProjectAttributes" }); + + /** + * Calls GetProjectAttributes. + * @function getProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesGetRequest} request ProjectAttributesGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteProjectAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef DeleteProjectAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectAttributesDeleteResponse} [response] ProjectAttributesDeleteResponse + */ + + /** + * Calls DeleteProjectAttributes. + * @function deleteProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesDeleteRequest} request ProjectAttributesDeleteRequest message or plain object + * @param {flyteidl.service.AdminService.DeleteProjectAttributesCallback} callback Node-style callback called with the error, if any, and ProjectAttributesDeleteResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.deleteProjectAttributes = function deleteProjectAttributes(request, callback) { + return this.rpcCall(deleteProjectAttributes, $root.flyteidl.admin.ProjectAttributesDeleteRequest, $root.flyteidl.admin.ProjectAttributesDeleteResponse, request, callback); + }, "name", { value: "DeleteProjectAttributes" }); + + /** + * Calls DeleteProjectAttributes. + * @function deleteProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesDeleteRequest} request ProjectAttributesDeleteRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateWorkflowAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateWorkflowAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowAttributesUpdateResponse} [response] WorkflowAttributesUpdateResponse + */ + + /** + * Calls UpdateWorkflowAttributes. + * @function updateWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} request WorkflowAttributesUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateWorkflowAttributesCallback} callback Node-style callback called with the error, if any, and WorkflowAttributesUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateWorkflowAttributes = function updateWorkflowAttributes(request, callback) { + return this.rpcCall(updateWorkflowAttributes, $root.flyteidl.admin.WorkflowAttributesUpdateRequest, $root.flyteidl.admin.WorkflowAttributesUpdateResponse, request, callback); + }, "name", { value: "UpdateWorkflowAttributes" }); + + /** + * Calls UpdateWorkflowAttributes. + * @function updateWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} request WorkflowAttributesUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getWorkflowAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef GetWorkflowAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowAttributesGetResponse} [response] WorkflowAttributesGetResponse + */ + + /** + * Calls GetWorkflowAttributes. + * @function getWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesGetRequest} request WorkflowAttributesGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetWorkflowAttributesCallback} callback Node-style callback called with the error, if any, and WorkflowAttributesGetResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getWorkflowAttributes = function getWorkflowAttributes(request, callback) { + return this.rpcCall(getWorkflowAttributes, $root.flyteidl.admin.WorkflowAttributesGetRequest, $root.flyteidl.admin.WorkflowAttributesGetResponse, request, callback); + }, "name", { value: "GetWorkflowAttributes" }); + + /** + * Calls GetWorkflowAttributes. + * @function getWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesGetRequest} request WorkflowAttributesGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteWorkflowAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef DeleteWorkflowAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowAttributesDeleteResponse} [response] WorkflowAttributesDeleteResponse + */ + + /** + * Calls DeleteWorkflowAttributes. + * @function deleteWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} request WorkflowAttributesDeleteRequest message or plain object + * @param {flyteidl.service.AdminService.DeleteWorkflowAttributesCallback} callback Node-style callback called with the error, if any, and WorkflowAttributesDeleteResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.deleteWorkflowAttributes = function deleteWorkflowAttributes(request, callback) { + return this.rpcCall(deleteWorkflowAttributes, $root.flyteidl.admin.WorkflowAttributesDeleteRequest, $root.flyteidl.admin.WorkflowAttributesDeleteResponse, request, callback); + }, "name", { value: "DeleteWorkflowAttributes" }); + + /** + * Calls DeleteWorkflowAttributes. + * @function deleteWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} request WorkflowAttributesDeleteRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listMatchableAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef ListMatchableAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ListMatchableAttributesResponse} [response] ListMatchableAttributesResponse + */ + + /** + * Calls ListMatchableAttributes. + * @function listMatchableAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IListMatchableAttributesRequest} request ListMatchableAttributesRequest message or plain object + * @param {flyteidl.service.AdminService.ListMatchableAttributesCallback} callback Node-style callback called with the error, if any, and ListMatchableAttributesResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listMatchableAttributes = function listMatchableAttributes(request, callback) { + return this.rpcCall(listMatchableAttributes, $root.flyteidl.admin.ListMatchableAttributesRequest, $root.flyteidl.admin.ListMatchableAttributesResponse, request, callback); + }, "name", { value: "ListMatchableAttributes" }); + + /** + * Calls ListMatchableAttributes. + * @function listMatchableAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IListMatchableAttributesRequest} request ListMatchableAttributesRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNamedEntities}. + * @memberof flyteidl.service.AdminService + * @typedef ListNamedEntitiesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NamedEntityList} [response] NamedEntityList + */ + + /** + * Calls ListNamedEntities. + * @function listNamedEntities + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityListRequest} request NamedEntityListRequest message or plain object + * @param {flyteidl.service.AdminService.ListNamedEntitiesCallback} callback Node-style callback called with the error, if any, and NamedEntityList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listNamedEntities = function listNamedEntities(request, callback) { + return this.rpcCall(listNamedEntities, $root.flyteidl.admin.NamedEntityListRequest, $root.flyteidl.admin.NamedEntityList, request, callback); + }, "name", { value: "ListNamedEntities" }); + + /** + * Calls ListNamedEntities. + * @function listNamedEntities + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityListRequest} request NamedEntityListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNamedEntity}. + * @memberof flyteidl.service.AdminService + * @typedef GetNamedEntityCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NamedEntity} [response] NamedEntity + */ + + /** + * Calls GetNamedEntity. + * @function getNamedEntity + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityGetRequest} request NamedEntityGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetNamedEntityCallback} callback Node-style callback called with the error, if any, and NamedEntity + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getNamedEntity = function getNamedEntity(request, callback) { + return this.rpcCall(getNamedEntity, $root.flyteidl.admin.NamedEntityGetRequest, $root.flyteidl.admin.NamedEntity, request, callback); + }, "name", { value: "GetNamedEntity" }); + + /** + * Calls GetNamedEntity. + * @function getNamedEntity + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityGetRequest} request NamedEntityGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateNamedEntity}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateNamedEntityCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.NamedEntityUpdateResponse} [response] NamedEntityUpdateResponse + */ + + /** + * Calls UpdateNamedEntity. + * @function updateNamedEntity + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityUpdateRequest} request NamedEntityUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateNamedEntityCallback} callback Node-style callback called with the error, if any, and NamedEntityUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateNamedEntity = function updateNamedEntity(request, callback) { + return this.rpcCall(updateNamedEntity, $root.flyteidl.admin.NamedEntityUpdateRequest, $root.flyteidl.admin.NamedEntityUpdateResponse, request, callback); + }, "name", { value: "UpdateNamedEntity" }); + + /** + * Calls UpdateNamedEntity. + * @function updateNamedEntity + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.INamedEntityUpdateRequest} request NamedEntityUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getVersion}. + * @memberof flyteidl.service.AdminService + * @typedef GetVersionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.GetVersionResponse} [response] GetVersionResponse + */ + + /** + * Calls GetVersion. + * @function getVersion + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IGetVersionRequest} request GetVersionRequest message or plain object + * @param {flyteidl.service.AdminService.GetVersionCallback} callback Node-style callback called with the error, if any, and GetVersionResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getVersion = function getVersion(request, callback) { + return this.rpcCall(getVersion, $root.flyteidl.admin.GetVersionRequest, $root.flyteidl.admin.GetVersionResponse, request, callback); + }, "name", { value: "GetVersion" }); + + /** + * Calls GetVersion. + * @function getVersion + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IGetVersionRequest} request GetVersionRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getDescriptionEntity}. + * @memberof flyteidl.service.AdminService + * @typedef GetDescriptionEntityCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.DescriptionEntity} [response] DescriptionEntity + */ + + /** + * Calls GetDescriptionEntity. + * @function getDescriptionEntity + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @param {flyteidl.service.AdminService.GetDescriptionEntityCallback} callback Node-style callback called with the error, if any, and DescriptionEntity + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getDescriptionEntity = function getDescriptionEntity(request, callback) { + return this.rpcCall(getDescriptionEntity, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.DescriptionEntity, request, callback); + }, "name", { value: "GetDescriptionEntity" }); + + /** + * Calls GetDescriptionEntity. + * @function getDescriptionEntity + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#listDescriptionEntities}. + * @memberof flyteidl.service.AdminService + * @typedef ListDescriptionEntitiesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.DescriptionEntityList} [response] DescriptionEntityList + */ + + /** + * Calls ListDescriptionEntities. + * @function listDescriptionEntities + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IDescriptionEntityListRequest} request DescriptionEntityListRequest message or plain object + * @param {flyteidl.service.AdminService.ListDescriptionEntitiesCallback} callback Node-style callback called with the error, if any, and DescriptionEntityList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.listDescriptionEntities = function listDescriptionEntities(request, callback) { + return this.rpcCall(listDescriptionEntities, $root.flyteidl.admin.DescriptionEntityListRequest, $root.flyteidl.admin.DescriptionEntityList, request, callback); + }, "name", { value: "ListDescriptionEntities" }); + + /** + * Calls ListDescriptionEntities. + * @function listDescriptionEntities + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IDescriptionEntityListRequest} request DescriptionEntityListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}. + * @memberof flyteidl.service.AdminService + * @typedef GetExecutionMetricsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowExecutionGetMetricsResponse} [response] WorkflowExecutionGetMetricsResponse + */ + + /** + * Calls GetExecutionMetrics. + * @function getExecutionMetrics + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object + * @param {flyteidl.service.AdminService.GetExecutionMetricsCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getExecutionMetrics = function getExecutionMetrics(request, callback) { + return this.rpcCall(getExecutionMetrics, $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest, $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse, request, callback); + }, "name", { value: "GetExecutionMetrics" }); + + /** + * Calls GetExecutionMetrics. + * @function getExecutionMetrics + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return AdminService; + })(); + + service.AsyncAgentService = (function() { + + /** + * Constructs a new AsyncAgentService service. + * @memberof flyteidl.service + * @classdesc Represents an AsyncAgentService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function AsyncAgentService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (AsyncAgentService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AsyncAgentService; + + /** + * Creates new AsyncAgentService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.AsyncAgentService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {AsyncAgentService} RPC service. Useful where requests and/or responses are streamed. + */ + AsyncAgentService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#createTask}. + * @memberof flyteidl.service.AsyncAgentService + * @typedef CreateTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.CreateTaskResponse} [response] CreateTaskResponse + */ + + /** + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.AsyncAgentService + * @instance + * @param {flyteidl.admin.ICreateTaskRequest} request CreateTaskRequest message or plain object + * @param {flyteidl.service.AsyncAgentService.CreateTaskCallback} callback Node-style callback called with the error, if any, and CreateTaskResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AsyncAgentService.prototype.createTask = function createTask(request, callback) { + return this.rpcCall(createTask, $root.flyteidl.admin.CreateTaskRequest, $root.flyteidl.admin.CreateTaskResponse, request, callback); + }, "name", { value: "CreateTask" }); + + /** + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.AsyncAgentService + * @instance + * @param {flyteidl.admin.ICreateTaskRequest} request CreateTaskRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#getTask}. + * @memberof flyteidl.service.AsyncAgentService + * @typedef GetTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.GetTaskResponse} [response] GetTaskResponse + */ + + /** + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.AsyncAgentService + * @instance + * @param {flyteidl.admin.IGetTaskRequest} request GetTaskRequest message or plain object + * @param {flyteidl.service.AsyncAgentService.GetTaskCallback} callback Node-style callback called with the error, if any, and GetTaskResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AsyncAgentService.prototype.getTask = function getTask(request, callback) { + return this.rpcCall(getTask, $root.flyteidl.admin.GetTaskRequest, $root.flyteidl.admin.GetTaskResponse, request, callback); + }, "name", { value: "GetTask" }); + + /** + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.AsyncAgentService + * @instance + * @param {flyteidl.admin.IGetTaskRequest} request GetTaskRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#deleteTask}. + * @memberof flyteidl.service.AsyncAgentService + * @typedef DeleteTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.DeleteTaskResponse} [response] DeleteTaskResponse + */ + + /** + * Calls DeleteTask. + * @function deleteTask + * @memberof flyteidl.service.AsyncAgentService + * @instance + * @param {flyteidl.admin.IDeleteTaskRequest} request DeleteTaskRequest message or plain object + * @param {flyteidl.service.AsyncAgentService.DeleteTaskCallback} callback Node-style callback called with the error, if any, and DeleteTaskResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AsyncAgentService.prototype.deleteTask = function deleteTask(request, callback) { + return this.rpcCall(deleteTask, $root.flyteidl.admin.DeleteTaskRequest, $root.flyteidl.admin.DeleteTaskResponse, request, callback); + }, "name", { value: "DeleteTask" }); + + /** + * Calls DeleteTask. + * @function deleteTask + * @memberof flyteidl.service.AsyncAgentService + * @instance + * @param {flyteidl.admin.IDeleteTaskRequest} request DeleteTaskRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return AsyncAgentService; + })(); + + service.OAuth2MetadataRequest = (function() { + + /** + * Properties of a OAuth2MetadataRequest. + * @memberof flyteidl.service + * @interface IOAuth2MetadataRequest + */ + + /** + * Constructs a new OAuth2MetadataRequest. + * @memberof flyteidl.service + * @classdesc Represents a OAuth2MetadataRequest. + * @implements IOAuth2MetadataRequest + * @constructor + * @param {flyteidl.service.IOAuth2MetadataRequest=} [properties] Properties to set + */ + function OAuth2MetadataRequest(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 OAuth2MetadataRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.OAuth2MetadataRequest + * @static + * @param {flyteidl.service.IOAuth2MetadataRequest=} [properties] Properties to set + * @returns {flyteidl.service.OAuth2MetadataRequest} OAuth2MetadataRequest instance + */ + OAuth2MetadataRequest.create = function create(properties) { + return new OAuth2MetadataRequest(properties); + }; + + /** + * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.OAuth2MetadataRequest + * @static + * @param {flyteidl.service.IOAuth2MetadataRequest} message OAuth2MetadataRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + OAuth2MetadataRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a OAuth2MetadataRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.OAuth2MetadataRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.OAuth2MetadataRequest} OAuth2MetadataRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + OAuth2MetadataRequest.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.service.OAuth2MetadataRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a OAuth2MetadataRequest message. + * @function verify + * @memberof flyteidl.service.OAuth2MetadataRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + OAuth2MetadataRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return OAuth2MetadataRequest; + })(); + + service.OAuth2MetadataResponse = (function() { + + /** + * Properties of a OAuth2MetadataResponse. + * @memberof flyteidl.service + * @interface IOAuth2MetadataResponse + * @property {string|null} [issuer] OAuth2MetadataResponse issuer + * @property {string|null} [authorizationEndpoint] OAuth2MetadataResponse authorizationEndpoint + * @property {string|null} [tokenEndpoint] OAuth2MetadataResponse tokenEndpoint + * @property {Array.|null} [responseTypesSupported] OAuth2MetadataResponse responseTypesSupported + * @property {Array.|null} [scopesSupported] OAuth2MetadataResponse scopesSupported + * @property {Array.|null} [tokenEndpointAuthMethodsSupported] OAuth2MetadataResponse tokenEndpointAuthMethodsSupported + * @property {string|null} [jwksUri] OAuth2MetadataResponse jwksUri + * @property {Array.|null} [codeChallengeMethodsSupported] OAuth2MetadataResponse codeChallengeMethodsSupported + * @property {Array.|null} [grantTypesSupported] OAuth2MetadataResponse grantTypesSupported + * @property {string|null} [deviceAuthorizationEndpoint] OAuth2MetadataResponse deviceAuthorizationEndpoint + */ + + /** + * Constructs a new OAuth2MetadataResponse. + * @memberof flyteidl.service + * @classdesc Represents a OAuth2MetadataResponse. + * @implements IOAuth2MetadataResponse + * @constructor + * @param {flyteidl.service.IOAuth2MetadataResponse=} [properties] Properties to set + */ + function OAuth2MetadataResponse(properties) { + this.responseTypesSupported = []; + this.scopesSupported = []; + this.tokenEndpointAuthMethodsSupported = []; + this.codeChallengeMethodsSupported = []; + this.grantTypesSupported = []; + 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]]; + } + + /** + * OAuth2MetadataResponse issuer. + * @member {string} issuer + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.issuer = ""; + + /** + * OAuth2MetadataResponse authorizationEndpoint. + * @member {string} authorizationEndpoint + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.authorizationEndpoint = ""; + + /** + * OAuth2MetadataResponse tokenEndpoint. + * @member {string} tokenEndpoint + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.tokenEndpoint = ""; + + /** + * OAuth2MetadataResponse responseTypesSupported. + * @member {Array.} responseTypesSupported + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.responseTypesSupported = $util.emptyArray; + + /** + * OAuth2MetadataResponse scopesSupported. + * @member {Array.} scopesSupported + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.scopesSupported = $util.emptyArray; + + /** + * OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. + * @member {Array.} tokenEndpointAuthMethodsSupported + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.tokenEndpointAuthMethodsSupported = $util.emptyArray; + + /** + * OAuth2MetadataResponse jwksUri. + * @member {string} jwksUri + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.jwksUri = ""; + + /** + * OAuth2MetadataResponse codeChallengeMethodsSupported. + * @member {Array.} codeChallengeMethodsSupported + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.codeChallengeMethodsSupported = $util.emptyArray; + + /** + * OAuth2MetadataResponse grantTypesSupported. + * @member {Array.} grantTypesSupported + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.grantTypesSupported = $util.emptyArray; + + /** + * OAuth2MetadataResponse deviceAuthorizationEndpoint. + * @member {string} deviceAuthorizationEndpoint + * @memberof flyteidl.service.OAuth2MetadataResponse + * @instance + */ + OAuth2MetadataResponse.prototype.deviceAuthorizationEndpoint = ""; + + /** + * Creates a new OAuth2MetadataResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.OAuth2MetadataResponse + * @static + * @param {flyteidl.service.IOAuth2MetadataResponse=} [properties] Properties to set + * @returns {flyteidl.service.OAuth2MetadataResponse} OAuth2MetadataResponse instance + */ + OAuth2MetadataResponse.create = function create(properties) { + return new OAuth2MetadataResponse(properties); + }; + + /** + * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.OAuth2MetadataResponse + * @static + * @param {flyteidl.service.IOAuth2MetadataResponse} message OAuth2MetadataResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + OAuth2MetadataResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.issuer != null && message.hasOwnProperty("issuer")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.issuer); + if (message.authorizationEndpoint != null && message.hasOwnProperty("authorizationEndpoint")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.authorizationEndpoint); + if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.tokenEndpoint); + if (message.responseTypesSupported != null && message.responseTypesSupported.length) + for (var i = 0; i < message.responseTypesSupported.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.responseTypesSupported[i]); + if (message.scopesSupported != null && message.scopesSupported.length) + for (var i = 0; i < message.scopesSupported.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.scopesSupported[i]); + if (message.tokenEndpointAuthMethodsSupported != null && message.tokenEndpointAuthMethodsSupported.length) + for (var i = 0; i < message.tokenEndpointAuthMethodsSupported.length; ++i) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.tokenEndpointAuthMethodsSupported[i]); + if (message.jwksUri != null && message.hasOwnProperty("jwksUri")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.jwksUri); + if (message.codeChallengeMethodsSupported != null && message.codeChallengeMethodsSupported.length) + for (var i = 0; i < message.codeChallengeMethodsSupported.length; ++i) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.codeChallengeMethodsSupported[i]); + if (message.grantTypesSupported != null && message.grantTypesSupported.length) + for (var i = 0; i < message.grantTypesSupported.length; ++i) + writer.uint32(/* id 9, wireType 2 =*/74).string(message.grantTypesSupported[i]); + if (message.deviceAuthorizationEndpoint != null && message.hasOwnProperty("deviceAuthorizationEndpoint")) + writer.uint32(/* id 10, wireType 2 =*/82).string(message.deviceAuthorizationEndpoint); + return writer; + }; + + /** + * Decodes a OAuth2MetadataResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.OAuth2MetadataResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.OAuth2MetadataResponse} OAuth2MetadataResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + OAuth2MetadataResponse.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.service.OAuth2MetadataResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.issuer = reader.string(); + break; + case 2: + message.authorizationEndpoint = reader.string(); + break; + case 3: + message.tokenEndpoint = reader.string(); + break; + case 4: + if (!(message.responseTypesSupported && message.responseTypesSupported.length)) + message.responseTypesSupported = []; + message.responseTypesSupported.push(reader.string()); + break; + case 5: + if (!(message.scopesSupported && message.scopesSupported.length)) + message.scopesSupported = []; + message.scopesSupported.push(reader.string()); + break; + case 6: + if (!(message.tokenEndpointAuthMethodsSupported && message.tokenEndpointAuthMethodsSupported.length)) + message.tokenEndpointAuthMethodsSupported = []; + message.tokenEndpointAuthMethodsSupported.push(reader.string()); + break; + case 7: + message.jwksUri = reader.string(); + break; + case 8: + if (!(message.codeChallengeMethodsSupported && message.codeChallengeMethodsSupported.length)) + message.codeChallengeMethodsSupported = []; + message.codeChallengeMethodsSupported.push(reader.string()); + break; + case 9: + if (!(message.grantTypesSupported && message.grantTypesSupported.length)) + message.grantTypesSupported = []; + message.grantTypesSupported.push(reader.string()); + break; + case 10: + message.deviceAuthorizationEndpoint = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a OAuth2MetadataResponse message. + * @function verify + * @memberof flyteidl.service.OAuth2MetadataResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + OAuth2MetadataResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.issuer != null && message.hasOwnProperty("issuer")) + if (!$util.isString(message.issuer)) + return "issuer: string expected"; + if (message.authorizationEndpoint != null && message.hasOwnProperty("authorizationEndpoint")) + if (!$util.isString(message.authorizationEndpoint)) + return "authorizationEndpoint: string expected"; + if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) + if (!$util.isString(message.tokenEndpoint)) + return "tokenEndpoint: string expected"; + if (message.responseTypesSupported != null && message.hasOwnProperty("responseTypesSupported")) { + if (!Array.isArray(message.responseTypesSupported)) + return "responseTypesSupported: array expected"; + for (var i = 0; i < message.responseTypesSupported.length; ++i) + if (!$util.isString(message.responseTypesSupported[i])) + return "responseTypesSupported: string[] expected"; + } + if (message.scopesSupported != null && message.hasOwnProperty("scopesSupported")) { + if (!Array.isArray(message.scopesSupported)) + return "scopesSupported: array expected"; + for (var i = 0; i < message.scopesSupported.length; ++i) + if (!$util.isString(message.scopesSupported[i])) + return "scopesSupported: string[] expected"; + } + if (message.tokenEndpointAuthMethodsSupported != null && message.hasOwnProperty("tokenEndpointAuthMethodsSupported")) { + if (!Array.isArray(message.tokenEndpointAuthMethodsSupported)) + return "tokenEndpointAuthMethodsSupported: array expected"; + for (var i = 0; i < message.tokenEndpointAuthMethodsSupported.length; ++i) + if (!$util.isString(message.tokenEndpointAuthMethodsSupported[i])) + return "tokenEndpointAuthMethodsSupported: string[] expected"; + } + if (message.jwksUri != null && message.hasOwnProperty("jwksUri")) + if (!$util.isString(message.jwksUri)) + return "jwksUri: string expected"; + if (message.codeChallengeMethodsSupported != null && message.hasOwnProperty("codeChallengeMethodsSupported")) { + if (!Array.isArray(message.codeChallengeMethodsSupported)) + return "codeChallengeMethodsSupported: array expected"; + for (var i = 0; i < message.codeChallengeMethodsSupported.length; ++i) + if (!$util.isString(message.codeChallengeMethodsSupported[i])) + return "codeChallengeMethodsSupported: string[] expected"; + } + if (message.grantTypesSupported != null && message.hasOwnProperty("grantTypesSupported")) { + if (!Array.isArray(message.grantTypesSupported)) + return "grantTypesSupported: array expected"; + for (var i = 0; i < message.grantTypesSupported.length; ++i) + if (!$util.isString(message.grantTypesSupported[i])) + return "grantTypesSupported: string[] expected"; + } + if (message.deviceAuthorizationEndpoint != null && message.hasOwnProperty("deviceAuthorizationEndpoint")) + if (!$util.isString(message.deviceAuthorizationEndpoint)) + return "deviceAuthorizationEndpoint: string expected"; + return null; + }; + + return OAuth2MetadataResponse; + })(); + + service.PublicClientAuthConfigRequest = (function() { + + /** + * Properties of a PublicClientAuthConfigRequest. + * @memberof flyteidl.service + * @interface IPublicClientAuthConfigRequest + */ + + /** + * Constructs a new PublicClientAuthConfigRequest. + * @memberof flyteidl.service + * @classdesc Represents a PublicClientAuthConfigRequest. + * @implements IPublicClientAuthConfigRequest + * @constructor + * @param {flyteidl.service.IPublicClientAuthConfigRequest=} [properties] Properties to set + */ + function PublicClientAuthConfigRequest(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 PublicClientAuthConfigRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @static + * @param {flyteidl.service.IPublicClientAuthConfigRequest=} [properties] Properties to set + * @returns {flyteidl.service.PublicClientAuthConfigRequest} PublicClientAuthConfigRequest instance + */ + PublicClientAuthConfigRequest.create = function create(properties) { + return new PublicClientAuthConfigRequest(properties); + }; + + /** + * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @static + * @param {flyteidl.service.IPublicClientAuthConfigRequest} message PublicClientAuthConfigRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + PublicClientAuthConfigRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.PublicClientAuthConfigRequest} PublicClientAuthConfigRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + PublicClientAuthConfigRequest.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.service.PublicClientAuthConfigRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a PublicClientAuthConfigRequest message. + * @function verify + * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + PublicClientAuthConfigRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return PublicClientAuthConfigRequest; + })(); + + service.PublicClientAuthConfigResponse = (function() { + + /** + * Properties of a PublicClientAuthConfigResponse. + * @memberof flyteidl.service + * @interface IPublicClientAuthConfigResponse + * @property {string|null} [clientId] PublicClientAuthConfigResponse clientId + * @property {string|null} [redirectUri] PublicClientAuthConfigResponse redirectUri + * @property {Array.|null} [scopes] PublicClientAuthConfigResponse scopes + * @property {string|null} [authorizationMetadataKey] PublicClientAuthConfigResponse authorizationMetadataKey + * @property {string|null} [serviceHttpEndpoint] PublicClientAuthConfigResponse serviceHttpEndpoint + * @property {string|null} [audience] PublicClientAuthConfigResponse audience + */ + + /** + * Constructs a new PublicClientAuthConfigResponse. + * @memberof flyteidl.service + * @classdesc Represents a PublicClientAuthConfigResponse. + * @implements IPublicClientAuthConfigResponse + * @constructor + * @param {flyteidl.service.IPublicClientAuthConfigResponse=} [properties] Properties to set + */ + function PublicClientAuthConfigResponse(properties) { + this.scopes = []; + 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]]; + } + + /** + * PublicClientAuthConfigResponse clientId. + * @member {string} clientId + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @instance + */ + PublicClientAuthConfigResponse.prototype.clientId = ""; + + /** + * PublicClientAuthConfigResponse redirectUri. + * @member {string} redirectUri + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @instance + */ + PublicClientAuthConfigResponse.prototype.redirectUri = ""; + + /** + * PublicClientAuthConfigResponse scopes. + * @member {Array.} scopes + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @instance + */ + PublicClientAuthConfigResponse.prototype.scopes = $util.emptyArray; + + /** + * PublicClientAuthConfigResponse authorizationMetadataKey. + * @member {string} authorizationMetadataKey + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @instance + */ + PublicClientAuthConfigResponse.prototype.authorizationMetadataKey = ""; + + /** + * PublicClientAuthConfigResponse serviceHttpEndpoint. + * @member {string} serviceHttpEndpoint + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @instance + */ + PublicClientAuthConfigResponse.prototype.serviceHttpEndpoint = ""; + + /** + * PublicClientAuthConfigResponse audience. + * @member {string} audience + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @instance + */ + PublicClientAuthConfigResponse.prototype.audience = ""; + + /** + * Creates a new PublicClientAuthConfigResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @static + * @param {flyteidl.service.IPublicClientAuthConfigResponse=} [properties] Properties to set + * @returns {flyteidl.service.PublicClientAuthConfigResponse} PublicClientAuthConfigResponse instance + */ + PublicClientAuthConfigResponse.create = function create(properties) { + return new PublicClientAuthConfigResponse(properties); + }; + + /** + * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @static + * @param {flyteidl.service.IPublicClientAuthConfigResponse} message PublicClientAuthConfigResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + PublicClientAuthConfigResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.clientId != null && message.hasOwnProperty("clientId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.clientId); + if (message.redirectUri != null && message.hasOwnProperty("redirectUri")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.redirectUri); + if (message.scopes != null && message.scopes.length) + for (var i = 0; i < message.scopes.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.scopes[i]); + if (message.authorizationMetadataKey != null && message.hasOwnProperty("authorizationMetadataKey")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.authorizationMetadataKey); + if (message.serviceHttpEndpoint != null && message.hasOwnProperty("serviceHttpEndpoint")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.serviceHttpEndpoint); + if (message.audience != null && message.hasOwnProperty("audience")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.audience); + return writer; + }; + + /** + * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.PublicClientAuthConfigResponse} PublicClientAuthConfigResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + PublicClientAuthConfigResponse.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.service.PublicClientAuthConfigResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + case 2: + message.redirectUri = reader.string(); + break; + case 3: + if (!(message.scopes && message.scopes.length)) + message.scopes = []; + message.scopes.push(reader.string()); + break; + case 4: + message.authorizationMetadataKey = reader.string(); + break; + case 5: + message.serviceHttpEndpoint = reader.string(); + break; + case 6: + message.audience = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a PublicClientAuthConfigResponse message. + * @function verify + * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + PublicClientAuthConfigResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.clientId != null && message.hasOwnProperty("clientId")) + if (!$util.isString(message.clientId)) + return "clientId: string expected"; + if (message.redirectUri != null && message.hasOwnProperty("redirectUri")) + if (!$util.isString(message.redirectUri)) + return "redirectUri: string expected"; + if (message.scopes != null && message.hasOwnProperty("scopes")) { + if (!Array.isArray(message.scopes)) + return "scopes: array expected"; + for (var i = 0; i < message.scopes.length; ++i) + if (!$util.isString(message.scopes[i])) + return "scopes: string[] expected"; + } + if (message.authorizationMetadataKey != null && message.hasOwnProperty("authorizationMetadataKey")) + if (!$util.isString(message.authorizationMetadataKey)) + return "authorizationMetadataKey: string expected"; + if (message.serviceHttpEndpoint != null && message.hasOwnProperty("serviceHttpEndpoint")) + if (!$util.isString(message.serviceHttpEndpoint)) + return "serviceHttpEndpoint: string expected"; + if (message.audience != null && message.hasOwnProperty("audience")) + if (!$util.isString(message.audience)) + return "audience: string expected"; + return null; + }; + + return PublicClientAuthConfigResponse; + })(); + + service.AuthMetadataService = (function() { + + /** + * Constructs a new AuthMetadataService service. + * @memberof flyteidl.service + * @classdesc Represents an AuthMetadataService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function AuthMetadataService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (AuthMetadataService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AuthMetadataService; + + /** + * Creates new AuthMetadataService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.AuthMetadataService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {AuthMetadataService} RPC service. Useful where requests and/or responses are streamed. + */ + AuthMetadataService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}. + * @memberof flyteidl.service.AuthMetadataService + * @typedef GetOAuth2MetadataCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.OAuth2MetadataResponse} [response] OAuth2MetadataResponse + */ + + /** + * Calls GetOAuth2Metadata. + * @function getOAuth2Metadata + * @memberof flyteidl.service.AuthMetadataService + * @instance + * @param {flyteidl.service.IOAuth2MetadataRequest} request OAuth2MetadataRequest message or plain object + * @param {flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback} callback Node-style callback called with the error, if any, and OAuth2MetadataResponse + * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.listActiveLaunchPlans = function listActiveLaunchPlans(request, callback) { - return this.rpcCall(listActiveLaunchPlans, $root.flyteidl.admin.ActiveLaunchPlanListRequest, $root.flyteidl.admin.LaunchPlanList, request, callback); - }, "name", { value: "ListActiveLaunchPlans" }); + Object.defineProperty(AuthMetadataService.prototype.getOAuth2Metadata = function getOAuth2Metadata(request, callback) { + return this.rpcCall(getOAuth2Metadata, $root.flyteidl.service.OAuth2MetadataRequest, $root.flyteidl.service.OAuth2MetadataResponse, request, callback); + }, "name", { value: "GetOAuth2Metadata" }); /** - * Calls ListActiveLaunchPlans. - * @function listActiveLaunchPlans - * @memberof flyteidl.service.AdminService + * Calls GetOAuth2Metadata. + * @function getOAuth2Metadata + * @memberof flyteidl.service.AuthMetadataService * @instance - * @param {flyteidl.admin.IActiveLaunchPlanListRequest} request ActiveLaunchPlanListRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.IOAuth2MetadataRequest} request OAuth2MetadataRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}. + * @memberof flyteidl.service.AuthMetadataService + * @typedef GetPublicClientConfigCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.PublicClientAuthConfigResponse} [response] PublicClientAuthConfigResponse + */ + + /** + * Calls GetPublicClientConfig. + * @function getPublicClientConfig + * @memberof flyteidl.service.AuthMetadataService + * @instance + * @param {flyteidl.service.IPublicClientAuthConfigRequest} request PublicClientAuthConfigRequest message or plain object + * @param {flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback} callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AuthMetadataService.prototype.getPublicClientConfig = function getPublicClientConfig(request, callback) { + return this.rpcCall(getPublicClientConfig, $root.flyteidl.service.PublicClientAuthConfigRequest, $root.flyteidl.service.PublicClientAuthConfigResponse, request, callback); + }, "name", { value: "GetPublicClientConfig" }); + + /** + * Calls GetPublicClientConfig. + * @function getPublicClientConfig + * @memberof flyteidl.service.AuthMetadataService + * @instance + * @param {flyteidl.service.IPublicClientAuthConfigRequest} request PublicClientAuthConfigRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ + return AuthMetadataService; + })(); + + service.CreateUploadLocationResponse = (function() { + + /** + * Properties of a CreateUploadLocationResponse. + * @memberof flyteidl.service + * @interface ICreateUploadLocationResponse + * @property {string|null} [signedUrl] CreateUploadLocationResponse signedUrl + * @property {string|null} [nativeUrl] CreateUploadLocationResponse nativeUrl + * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateUploadLocationResponse expiresAt + * @property {flyteidl.artifact.IArtifact|null} [artifact] CreateUploadLocationResponse artifact + */ + + /** + * Constructs a new CreateUploadLocationResponse. + * @memberof flyteidl.service + * @classdesc Represents a CreateUploadLocationResponse. + * @implements ICreateUploadLocationResponse + * @constructor + * @param {flyteidl.service.ICreateUploadLocationResponse=} [properties] Properties to set + */ + function CreateUploadLocationResponse(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]]; + } + + /** + * CreateUploadLocationResponse signedUrl. + * @member {string} signedUrl + * @memberof flyteidl.service.CreateUploadLocationResponse + * @instance + */ + CreateUploadLocationResponse.prototype.signedUrl = ""; + + /** + * CreateUploadLocationResponse nativeUrl. + * @member {string} nativeUrl + * @memberof flyteidl.service.CreateUploadLocationResponse + * @instance + */ + CreateUploadLocationResponse.prototype.nativeUrl = ""; + + /** + * CreateUploadLocationResponse expiresAt. + * @member {google.protobuf.ITimestamp|null|undefined} expiresAt + * @memberof flyteidl.service.CreateUploadLocationResponse + * @instance + */ + CreateUploadLocationResponse.prototype.expiresAt = null; + + /** + * CreateUploadLocationResponse artifact. + * @member {flyteidl.artifact.IArtifact|null|undefined} artifact + * @memberof flyteidl.service.CreateUploadLocationResponse + * @instance + */ + CreateUploadLocationResponse.prototype.artifact = null; + + /** + * Creates a new CreateUploadLocationResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.CreateUploadLocationResponse + * @static + * @param {flyteidl.service.ICreateUploadLocationResponse=} [properties] Properties to set + * @returns {flyteidl.service.CreateUploadLocationResponse} CreateUploadLocationResponse instance + */ + CreateUploadLocationResponse.create = function create(properties) { + return new CreateUploadLocationResponse(properties); + }; + /** - * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlanIds}. - * @memberof flyteidl.service.AdminService - * @typedef ListLaunchPlanIdsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NamedEntityIdentifierList} [response] NamedEntityIdentifierList + * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.CreateUploadLocationResponse + * @static + * @param {flyteidl.service.ICreateUploadLocationResponse} message CreateUploadLocationResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + CreateUploadLocationResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl); + if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.nativeUrl); + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) + $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifact != null && message.hasOwnProperty("artifact")) + $root.flyteidl.artifact.Artifact.encode(message.artifact, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + return writer; + }; /** - * Calls ListLaunchPlanIds. - * @function listLaunchPlanIds - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object - * @param {flyteidl.service.AdminService.ListLaunchPlanIdsCallback} callback Node-style callback called with the error, if any, and NamedEntityIdentifierList - * @returns {undefined} - * @variation 1 + * Decodes a CreateUploadLocationResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.CreateUploadLocationResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.CreateUploadLocationResponse} CreateUploadLocationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.listLaunchPlanIds = function listLaunchPlanIds(request, callback) { - return this.rpcCall(listLaunchPlanIds, $root.flyteidl.admin.NamedEntityIdentifierListRequest, $root.flyteidl.admin.NamedEntityIdentifierList, request, callback); - }, "name", { value: "ListLaunchPlanIds" }); + CreateUploadLocationResponse.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.service.CreateUploadLocationResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.signedUrl = reader.string(); + break; + case 2: + message.nativeUrl = reader.string(); + break; + case 3: + message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 4: + message.artifact = $root.flyteidl.artifact.Artifact.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls ListLaunchPlanIds. - * @function listLaunchPlanIds - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} request NamedEntityIdentifierListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a CreateUploadLocationResponse message. + * @function verify + * @memberof flyteidl.service.CreateUploadLocationResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + CreateUploadLocationResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) + if (!$util.isString(message.signedUrl)) + return "signedUrl: string expected"; + if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) + if (!$util.isString(message.nativeUrl)) + return "nativeUrl: string expected"; + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); + if (error) + return "expiresAt." + error; + } + if (message.artifact != null && message.hasOwnProperty("artifact")) { + var error = $root.flyteidl.artifact.Artifact.verify(message.artifact); + if (error) + return "artifact." + error; + } + return null; + }; + + return CreateUploadLocationResponse; + })(); + + service.CreateUploadLocationRequest = (function() { /** - * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlans}. - * @memberof flyteidl.service.AdminService - * @typedef ListLaunchPlansCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.LaunchPlanList} [response] LaunchPlanList + * Properties of a CreateUploadLocationRequest. + * @memberof flyteidl.service + * @interface ICreateUploadLocationRequest + * @property {string|null} [project] CreateUploadLocationRequest project + * @property {string|null} [domain] CreateUploadLocationRequest domain + * @property {string|null} [filename] CreateUploadLocationRequest filename + * @property {google.protobuf.IDuration|null} [expiresIn] CreateUploadLocationRequest expiresIn + * @property {Uint8Array|null} [contentMd5] CreateUploadLocationRequest contentMd5 + * @property {string|null} [filenameRoot] CreateUploadLocationRequest filenameRoot + * @property {flyteidl.artifact.IArtifactSpec|null} [artifactSpec] CreateUploadLocationRequest artifactSpec */ /** - * Calls ListLaunchPlans. - * @function listLaunchPlans - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @param {flyteidl.service.AdminService.ListLaunchPlansCallback} callback Node-style callback called with the error, if any, and LaunchPlanList - * @returns {undefined} - * @variation 1 + * Constructs a new CreateUploadLocationRequest. + * @memberof flyteidl.service + * @classdesc Represents a CreateUploadLocationRequest. + * @implements ICreateUploadLocationRequest + * @constructor + * @param {flyteidl.service.ICreateUploadLocationRequest=} [properties] Properties to set */ - Object.defineProperty(AdminService.prototype.listLaunchPlans = function listLaunchPlans(request, callback) { - return this.rpcCall(listLaunchPlans, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.LaunchPlanList, request, callback); - }, "name", { value: "ListLaunchPlans" }); + function CreateUploadLocationRequest(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]]; + } /** - * Calls ListLaunchPlans. - * @function listLaunchPlans - * @memberof flyteidl.service.AdminService + * CreateUploadLocationRequest project. + * @member {string} project + * @memberof flyteidl.service.CreateUploadLocationRequest * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + CreateUploadLocationRequest.prototype.project = ""; /** - * Callback as used by {@link flyteidl.service.AdminService#updateLaunchPlan}. - * @memberof flyteidl.service.AdminService - * @typedef UpdateLaunchPlanCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.LaunchPlanUpdateResponse} [response] LaunchPlanUpdateResponse + * CreateUploadLocationRequest domain. + * @member {string} domain + * @memberof flyteidl.service.CreateUploadLocationRequest + * @instance */ + CreateUploadLocationRequest.prototype.domain = ""; /** - * Calls UpdateLaunchPlan. - * @function updateLaunchPlan - * @memberof flyteidl.service.AdminService + * CreateUploadLocationRequest filename. + * @member {string} filename + * @memberof flyteidl.service.CreateUploadLocationRequest * @instance - * @param {flyteidl.admin.ILaunchPlanUpdateRequest} request LaunchPlanUpdateRequest message or plain object - * @param {flyteidl.service.AdminService.UpdateLaunchPlanCallback} callback Node-style callback called with the error, if any, and LaunchPlanUpdateResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.updateLaunchPlan = function updateLaunchPlan(request, callback) { - return this.rpcCall(updateLaunchPlan, $root.flyteidl.admin.LaunchPlanUpdateRequest, $root.flyteidl.admin.LaunchPlanUpdateResponse, request, callback); - }, "name", { value: "UpdateLaunchPlan" }); + CreateUploadLocationRequest.prototype.filename = ""; /** - * Calls UpdateLaunchPlan. - * @function updateLaunchPlan - * @memberof flyteidl.service.AdminService + * CreateUploadLocationRequest expiresIn. + * @member {google.protobuf.IDuration|null|undefined} expiresIn + * @memberof flyteidl.service.CreateUploadLocationRequest * @instance - * @param {flyteidl.admin.ILaunchPlanUpdateRequest} request LaunchPlanUpdateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + CreateUploadLocationRequest.prototype.expiresIn = null; /** - * Callback as used by {@link flyteidl.service.AdminService#createExecution}. - * @memberof flyteidl.service.AdminService - * @typedef CreateExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ExecutionCreateResponse} [response] ExecutionCreateResponse + * CreateUploadLocationRequest contentMd5. + * @member {Uint8Array} contentMd5 + * @memberof flyteidl.service.CreateUploadLocationRequest + * @instance */ + CreateUploadLocationRequest.prototype.contentMd5 = $util.newBuffer([]); /** - * Calls CreateExecution. - * @function createExecution - * @memberof flyteidl.service.AdminService + * CreateUploadLocationRequest filenameRoot. + * @member {string} filenameRoot + * @memberof flyteidl.service.CreateUploadLocationRequest * @instance - * @param {flyteidl.admin.IExecutionCreateRequest} request ExecutionCreateRequest message or plain object - * @param {flyteidl.service.AdminService.CreateExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionCreateResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.createExecution = function createExecution(request, callback) { - return this.rpcCall(createExecution, $root.flyteidl.admin.ExecutionCreateRequest, $root.flyteidl.admin.ExecutionCreateResponse, request, callback); - }, "name", { value: "CreateExecution" }); + CreateUploadLocationRequest.prototype.filenameRoot = ""; /** - * Calls CreateExecution. - * @function createExecution - * @memberof flyteidl.service.AdminService + * CreateUploadLocationRequest artifactSpec. + * @member {flyteidl.artifact.IArtifactSpec|null|undefined} artifactSpec + * @memberof flyteidl.service.CreateUploadLocationRequest * @instance - * @param {flyteidl.admin.IExecutionCreateRequest} request ExecutionCreateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + CreateUploadLocationRequest.prototype.artifactSpec = null; /** - * Callback as used by {@link flyteidl.service.AdminService#relaunchExecution}. - * @memberof flyteidl.service.AdminService - * @typedef RelaunchExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ExecutionCreateResponse} [response] ExecutionCreateResponse + * Creates a new CreateUploadLocationRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.CreateUploadLocationRequest + * @static + * @param {flyteidl.service.ICreateUploadLocationRequest=} [properties] Properties to set + * @returns {flyteidl.service.CreateUploadLocationRequest} CreateUploadLocationRequest instance */ + CreateUploadLocationRequest.create = function create(properties) { + return new CreateUploadLocationRequest(properties); + }; /** - * Calls RelaunchExecution. - * @function relaunchExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionRelaunchRequest} request ExecutionRelaunchRequest message or plain object - * @param {flyteidl.service.AdminService.RelaunchExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionCreateResponse - * @returns {undefined} - * @variation 1 + * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.CreateUploadLocationRequest + * @static + * @param {flyteidl.service.ICreateUploadLocationRequest} message CreateUploadLocationRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - Object.defineProperty(AdminService.prototype.relaunchExecution = function relaunchExecution(request, callback) { - return this.rpcCall(relaunchExecution, $root.flyteidl.admin.ExecutionRelaunchRequest, $root.flyteidl.admin.ExecutionCreateResponse, request, callback); - }, "name", { value: "RelaunchExecution" }); + CreateUploadLocationRequest.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.filename != null && message.hasOwnProperty("filename")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.filename); + if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) + $root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.contentMd5 != null && message.hasOwnProperty("contentMd5")) + writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.contentMd5); + if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.filenameRoot); + if (message.artifactSpec != null && message.hasOwnProperty("artifactSpec")) + $root.flyteidl.artifact.ArtifactSpec.encode(message.artifactSpec, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + return writer; + }; /** - * Calls RelaunchExecution. - * @function relaunchExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionRelaunchRequest} request ExecutionRelaunchRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Decodes a CreateUploadLocationRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.CreateUploadLocationRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.CreateUploadLocationRequest} CreateUploadLocationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ + CreateUploadLocationRequest.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.service.CreateUploadLocationRequest(); + 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.filename = reader.string(); + break; + case 4: + message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 5: + message.contentMd5 = reader.bytes(); + break; + case 6: + message.filenameRoot = reader.string(); + break; + case 7: + message.artifactSpec = $root.flyteidl.artifact.ArtifactSpec.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Callback as used by {@link flyteidl.service.AdminService#recoverExecution}. - * @memberof flyteidl.service.AdminService - * @typedef RecoverExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ExecutionCreateResponse} [response] ExecutionCreateResponse + * Verifies a CreateUploadLocationRequest message. + * @function verify + * @memberof flyteidl.service.CreateUploadLocationRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + CreateUploadLocationRequest.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.filename != null && message.hasOwnProperty("filename")) + if (!$util.isString(message.filename)) + return "filename: string expected"; + if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) { + var error = $root.google.protobuf.Duration.verify(message.expiresIn); + if (error) + return "expiresIn." + error; + } + if (message.contentMd5 != null && message.hasOwnProperty("contentMd5")) + if (!(message.contentMd5 && typeof message.contentMd5.length === "number" || $util.isString(message.contentMd5))) + return "contentMd5: buffer expected"; + if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot")) + if (!$util.isString(message.filenameRoot)) + return "filenameRoot: string expected"; + if (message.artifactSpec != null && message.hasOwnProperty("artifactSpec")) { + var error = $root.flyteidl.artifact.ArtifactSpec.verify(message.artifactSpec); + if (error) + return "artifactSpec." + error; + } + return null; + }; + + return CreateUploadLocationRequest; + })(); + + service.CreateDownloadLocationRequest = (function() { /** - * Calls RecoverExecution. - * @function recoverExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionRecoverRequest} request ExecutionRecoverRequest message or plain object - * @param {flyteidl.service.AdminService.RecoverExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionCreateResponse - * @returns {undefined} - * @variation 1 + * Properties of a CreateDownloadLocationRequest. + * @memberof flyteidl.service + * @interface ICreateDownloadLocationRequest + * @property {string|null} [nativeUrl] CreateDownloadLocationRequest nativeUrl + * @property {google.protobuf.IDuration|null} [expiresIn] CreateDownloadLocationRequest expiresIn */ - Object.defineProperty(AdminService.prototype.recoverExecution = function recoverExecution(request, callback) { - return this.rpcCall(recoverExecution, $root.flyteidl.admin.ExecutionRecoverRequest, $root.flyteidl.admin.ExecutionCreateResponse, request, callback); - }, "name", { value: "RecoverExecution" }); /** - * Calls RecoverExecution. - * @function recoverExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionRecoverRequest} request ExecutionRecoverRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Constructs a new CreateDownloadLocationRequest. + * @memberof flyteidl.service + * @classdesc Represents a CreateDownloadLocationRequest. + * @implements ICreateDownloadLocationRequest + * @constructor + * @param {flyteidl.service.ICreateDownloadLocationRequest=} [properties] Properties to set */ + function CreateDownloadLocationRequest(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]]; + } /** - * Callback as used by {@link flyteidl.service.AdminService#getExecution}. - * @memberof flyteidl.service.AdminService - * @typedef GetExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.Execution} [response] Execution + * CreateDownloadLocationRequest nativeUrl. + * @member {string} nativeUrl + * @memberof flyteidl.service.CreateDownloadLocationRequest + * @instance */ + CreateDownloadLocationRequest.prototype.nativeUrl = ""; /** - * Calls GetExecution. - * @function getExecution - * @memberof flyteidl.service.AdminService + * CreateDownloadLocationRequest expiresIn. + * @member {google.protobuf.IDuration|null|undefined} expiresIn + * @memberof flyteidl.service.CreateDownloadLocationRequest * @instance - * @param {flyteidl.admin.IWorkflowExecutionGetRequest} request WorkflowExecutionGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetExecutionCallback} callback Node-style callback called with the error, if any, and Execution - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.getExecution = function getExecution(request, callback) { - return this.rpcCall(getExecution, $root.flyteidl.admin.WorkflowExecutionGetRequest, $root.flyteidl.admin.Execution, request, callback); - }, "name", { value: "GetExecution" }); + CreateDownloadLocationRequest.prototype.expiresIn = null; /** - * Calls GetExecution. - * @function getExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowExecutionGetRequest} request WorkflowExecutionGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new CreateDownloadLocationRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.CreateDownloadLocationRequest + * @static + * @param {flyteidl.service.ICreateDownloadLocationRequest=} [properties] Properties to set + * @returns {flyteidl.service.CreateDownloadLocationRequest} CreateDownloadLocationRequest instance */ + CreateDownloadLocationRequest.create = function create(properties) { + return new CreateDownloadLocationRequest(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#updateExecution}. - * @memberof flyteidl.service.AdminService - * @typedef UpdateExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ExecutionUpdateResponse} [response] ExecutionUpdateResponse + * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.CreateDownloadLocationRequest + * @static + * @param {flyteidl.service.ICreateDownloadLocationRequest} message CreateDownloadLocationRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + CreateDownloadLocationRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.nativeUrl); + if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) + $root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; /** - * Calls UpdateExecution. - * @function updateExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionUpdateRequest} request ExecutionUpdateRequest message or plain object - * @param {flyteidl.service.AdminService.UpdateExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionUpdateResponse - * @returns {undefined} - * @variation 1 + * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.CreateDownloadLocationRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.CreateDownloadLocationRequest} CreateDownloadLocationRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.updateExecution = function updateExecution(request, callback) { - return this.rpcCall(updateExecution, $root.flyteidl.admin.ExecutionUpdateRequest, $root.flyteidl.admin.ExecutionUpdateResponse, request, callback); - }, "name", { value: "UpdateExecution" }); + CreateDownloadLocationRequest.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.service.CreateDownloadLocationRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.nativeUrl = reader.string(); + break; + case 2: + message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls UpdateExecution. - * @function updateExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionUpdateRequest} request ExecutionUpdateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a CreateDownloadLocationRequest message. + * @function verify + * @memberof flyteidl.service.CreateDownloadLocationRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + CreateDownloadLocationRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) + if (!$util.isString(message.nativeUrl)) + return "nativeUrl: string expected"; + if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) { + var error = $root.google.protobuf.Duration.verify(message.expiresIn); + if (error) + return "expiresIn." + error; + } + return null; + }; - /** - * Callback as used by {@link flyteidl.service.AdminService#getExecutionData}. - * @memberof flyteidl.service.AdminService - * @typedef GetExecutionDataCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowExecutionGetDataResponse} [response] WorkflowExecutionGetDataResponse - */ + return CreateDownloadLocationRequest; + })(); - /** - * Calls GetExecutionData. - * @function getExecutionData - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest} request WorkflowExecutionGetDataRequest message or plain object - * @param {flyteidl.service.AdminService.GetExecutionDataCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionGetDataResponse - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(AdminService.prototype.getExecutionData = function getExecutionData(request, callback) { - return this.rpcCall(getExecutionData, $root.flyteidl.admin.WorkflowExecutionGetDataRequest, $root.flyteidl.admin.WorkflowExecutionGetDataResponse, request, callback); - }, "name", { value: "GetExecutionData" }); + service.CreateDownloadLocationResponse = (function() { /** - * Calls GetExecutionData. - * @function getExecutionData - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest} request WorkflowExecutionGetDataRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Properties of a CreateDownloadLocationResponse. + * @memberof flyteidl.service + * @interface ICreateDownloadLocationResponse + * @property {string|null} [signedUrl] CreateDownloadLocationResponse signedUrl + * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateDownloadLocationResponse expiresAt */ /** - * Callback as used by {@link flyteidl.service.AdminService#listExecutions}. - * @memberof flyteidl.service.AdminService - * @typedef ListExecutionsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ExecutionList} [response] ExecutionList + * Constructs a new CreateDownloadLocationResponse. + * @memberof flyteidl.service + * @classdesc Represents a CreateDownloadLocationResponse. + * @implements ICreateDownloadLocationResponse + * @constructor + * @param {flyteidl.service.ICreateDownloadLocationResponse=} [properties] Properties to set */ + function CreateDownloadLocationResponse(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]]; + } /** - * Calls ListExecutions. - * @function listExecutions - * @memberof flyteidl.service.AdminService + * CreateDownloadLocationResponse signedUrl. + * @member {string} signedUrl + * @memberof flyteidl.service.CreateDownloadLocationResponse * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @param {flyteidl.service.AdminService.ListExecutionsCallback} callback Node-style callback called with the error, if any, and ExecutionList - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.listExecutions = function listExecutions(request, callback) { - return this.rpcCall(listExecutions, $root.flyteidl.admin.ResourceListRequest, $root.flyteidl.admin.ExecutionList, request, callback); - }, "name", { value: "ListExecutions" }); + CreateDownloadLocationResponse.prototype.signedUrl = ""; /** - * Calls ListExecutions. - * @function listExecutions - * @memberof flyteidl.service.AdminService + * CreateDownloadLocationResponse expiresAt. + * @member {google.protobuf.ITimestamp|null|undefined} expiresAt + * @memberof flyteidl.service.CreateDownloadLocationResponse * @instance - * @param {flyteidl.admin.IResourceListRequest} request ResourceListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + CreateDownloadLocationResponse.prototype.expiresAt = null; /** - * Callback as used by {@link flyteidl.service.AdminService#terminateExecution}. - * @memberof flyteidl.service.AdminService - * @typedef TerminateExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ExecutionTerminateResponse} [response] ExecutionTerminateResponse + * Creates a new CreateDownloadLocationResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.CreateDownloadLocationResponse + * @static + * @param {flyteidl.service.ICreateDownloadLocationResponse=} [properties] Properties to set + * @returns {flyteidl.service.CreateDownloadLocationResponse} CreateDownloadLocationResponse instance */ + CreateDownloadLocationResponse.create = function create(properties) { + return new CreateDownloadLocationResponse(properties); + }; /** - * Calls TerminateExecution. - * @function terminateExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionTerminateRequest} request ExecutionTerminateRequest message or plain object - * @param {flyteidl.service.AdminService.TerminateExecutionCallback} callback Node-style callback called with the error, if any, and ExecutionTerminateResponse - * @returns {undefined} - * @variation 1 + * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.CreateDownloadLocationResponse + * @static + * @param {flyteidl.service.ICreateDownloadLocationResponse} message CreateDownloadLocationResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - Object.defineProperty(AdminService.prototype.terminateExecution = function terminateExecution(request, callback) { - return this.rpcCall(terminateExecution, $root.flyteidl.admin.ExecutionTerminateRequest, $root.flyteidl.admin.ExecutionTerminateResponse, request, callback); - }, "name", { value: "TerminateExecution" }); + CreateDownloadLocationResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl); + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) + $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; /** - * Calls TerminateExecution. - * @function terminateExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IExecutionTerminateRequest} request ExecutionTerminateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.CreateDownloadLocationResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.CreateDownloadLocationResponse} CreateDownloadLocationResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ + CreateDownloadLocationResponse.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.service.CreateDownloadLocationResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.signedUrl = reader.string(); + break; + case 2: + message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Callback as used by {@link flyteidl.service.AdminService#getNodeExecution}. - * @memberof flyteidl.service.AdminService - * @typedef GetNodeExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NodeExecution} [response] NodeExecution + * Verifies a CreateDownloadLocationResponse message. + * @function verify + * @memberof flyteidl.service.CreateDownloadLocationResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + CreateDownloadLocationResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) + if (!$util.isString(message.signedUrl)) + return "signedUrl: string expected"; + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); + if (error) + return "expiresAt." + error; + } + return null; + }; - /** - * Calls GetNodeExecution. - * @function getNodeExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INodeExecutionGetRequest} request NodeExecutionGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetNodeExecutionCallback} callback Node-style callback called with the error, if any, and NodeExecution - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(AdminService.prototype.getNodeExecution = function getNodeExecution(request, callback) { - return this.rpcCall(getNodeExecution, $root.flyteidl.admin.NodeExecutionGetRequest, $root.flyteidl.admin.NodeExecution, request, callback); - }, "name", { value: "GetNodeExecution" }); + return CreateDownloadLocationResponse; + })(); - /** - * Calls GetNodeExecution. - * @function getNodeExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INodeExecutionGetRequest} request NodeExecutionGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + /** + * ArtifactType enum. + * @name flyteidl.service.ArtifactType + * @enum {string} + * @property {number} ARTIFACT_TYPE_UNDEFINED=0 ARTIFACT_TYPE_UNDEFINED value + * @property {number} ARTIFACT_TYPE_DECK=1 ARTIFACT_TYPE_DECK value + */ + service.ArtifactType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "ARTIFACT_TYPE_UNDEFINED"] = 0; + values[valuesById[1] = "ARTIFACT_TYPE_DECK"] = 1; + return values; + })(); - /** - * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutions}. - * @memberof flyteidl.service.AdminService - * @typedef ListNodeExecutionsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NodeExecutionList} [response] NodeExecutionList - */ + service.CreateDownloadLinkRequest = (function() { /** - * Calls ListNodeExecutions. - * @function listNodeExecutions - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INodeExecutionListRequest} request NodeExecutionListRequest message or plain object - * @param {flyteidl.service.AdminService.ListNodeExecutionsCallback} callback Node-style callback called with the error, if any, and NodeExecutionList - * @returns {undefined} - * @variation 1 + * Properties of a CreateDownloadLinkRequest. + * @memberof flyteidl.service + * @interface ICreateDownloadLinkRequest + * @property {flyteidl.service.ArtifactType|null} [artifactType] CreateDownloadLinkRequest artifactType + * @property {google.protobuf.IDuration|null} [expiresIn] CreateDownloadLinkRequest expiresIn + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] CreateDownloadLinkRequest nodeExecutionId */ - Object.defineProperty(AdminService.prototype.listNodeExecutions = function listNodeExecutions(request, callback) { - return this.rpcCall(listNodeExecutions, $root.flyteidl.admin.NodeExecutionListRequest, $root.flyteidl.admin.NodeExecutionList, request, callback); - }, "name", { value: "ListNodeExecutions" }); /** - * Calls ListNodeExecutions. - * @function listNodeExecutions - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INodeExecutionListRequest} request NodeExecutionListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Constructs a new CreateDownloadLinkRequest. + * @memberof flyteidl.service + * @classdesc Represents a CreateDownloadLinkRequest. + * @implements ICreateDownloadLinkRequest + * @constructor + * @param {flyteidl.service.ICreateDownloadLinkRequest=} [properties] Properties to set */ + function CreateDownloadLinkRequest(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]]; + } /** - * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutionsForTask}. - * @memberof flyteidl.service.AdminService - * @typedef ListNodeExecutionsForTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NodeExecutionList} [response] NodeExecutionList + * CreateDownloadLinkRequest artifactType. + * @member {flyteidl.service.ArtifactType} artifactType + * @memberof flyteidl.service.CreateDownloadLinkRequest + * @instance */ + CreateDownloadLinkRequest.prototype.artifactType = 0; /** - * Calls ListNodeExecutionsForTask. - * @function listNodeExecutionsForTask - * @memberof flyteidl.service.AdminService + * CreateDownloadLinkRequest expiresIn. + * @member {google.protobuf.IDuration|null|undefined} expiresIn + * @memberof flyteidl.service.CreateDownloadLinkRequest * @instance - * @param {flyteidl.admin.INodeExecutionForTaskListRequest} request NodeExecutionForTaskListRequest message or plain object - * @param {flyteidl.service.AdminService.ListNodeExecutionsForTaskCallback} callback Node-style callback called with the error, if any, and NodeExecutionList - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.listNodeExecutionsForTask = function listNodeExecutionsForTask(request, callback) { - return this.rpcCall(listNodeExecutionsForTask, $root.flyteidl.admin.NodeExecutionForTaskListRequest, $root.flyteidl.admin.NodeExecutionList, request, callback); - }, "name", { value: "ListNodeExecutionsForTask" }); + CreateDownloadLinkRequest.prototype.expiresIn = null; /** - * Calls ListNodeExecutionsForTask. - * @function listNodeExecutionsForTask - * @memberof flyteidl.service.AdminService + * CreateDownloadLinkRequest nodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId + * @memberof flyteidl.service.CreateDownloadLinkRequest * @instance - * @param {flyteidl.admin.INodeExecutionForTaskListRequest} request NodeExecutionForTaskListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + CreateDownloadLinkRequest.prototype.nodeExecutionId = null; - /** - * Callback as used by {@link flyteidl.service.AdminService#getNodeExecutionData}. - * @memberof flyteidl.service.AdminService - * @typedef GetNodeExecutionDataCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NodeExecutionGetDataResponse} [response] NodeExecutionGetDataResponse - */ + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Calls GetNodeExecutionData. - * @function getNodeExecutionData - * @memberof flyteidl.service.AdminService + * CreateDownloadLinkRequest source. + * @member {"nodeExecutionId"|undefined} source + * @memberof flyteidl.service.CreateDownloadLinkRequest * @instance - * @param {flyteidl.admin.INodeExecutionGetDataRequest} request NodeExecutionGetDataRequest message or plain object - * @param {flyteidl.service.AdminService.GetNodeExecutionDataCallback} callback Node-style callback called with the error, if any, and NodeExecutionGetDataResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.getNodeExecutionData = function getNodeExecutionData(request, callback) { - return this.rpcCall(getNodeExecutionData, $root.flyteidl.admin.NodeExecutionGetDataRequest, $root.flyteidl.admin.NodeExecutionGetDataResponse, request, callback); - }, "name", { value: "GetNodeExecutionData" }); + Object.defineProperty(CreateDownloadLinkRequest.prototype, "source", { + get: $util.oneOfGetter($oneOfFields = ["nodeExecutionId"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Calls GetNodeExecutionData. - * @function getNodeExecutionData - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INodeExecutionGetDataRequest} request NodeExecutionGetDataRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new CreateDownloadLinkRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.CreateDownloadLinkRequest + * @static + * @param {flyteidl.service.ICreateDownloadLinkRequest=} [properties] Properties to set + * @returns {flyteidl.service.CreateDownloadLinkRequest} CreateDownloadLinkRequest instance */ + CreateDownloadLinkRequest.create = function create(properties) { + return new CreateDownloadLinkRequest(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#registerProject}. - * @memberof flyteidl.service.AdminService - * @typedef RegisterProjectCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectRegisterResponse} [response] ProjectRegisterResponse + * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.CreateDownloadLinkRequest + * @static + * @param {flyteidl.service.ICreateDownloadLinkRequest} message CreateDownloadLinkRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + CreateDownloadLinkRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.artifactType != null && message.hasOwnProperty("artifactType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.artifactType); + if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) + $root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; /** - * Calls RegisterProject. - * @function registerProject - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectRegisterRequest} request ProjectRegisterRequest message or plain object - * @param {flyteidl.service.AdminService.RegisterProjectCallback} callback Node-style callback called with the error, if any, and ProjectRegisterResponse - * @returns {undefined} - * @variation 1 + * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.CreateDownloadLinkRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.CreateDownloadLinkRequest} CreateDownloadLinkRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.registerProject = function registerProject(request, callback) { - return this.rpcCall(registerProject, $root.flyteidl.admin.ProjectRegisterRequest, $root.flyteidl.admin.ProjectRegisterResponse, request, callback); - }, "name", { value: "RegisterProject" }); + CreateDownloadLinkRequest.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.service.CreateDownloadLinkRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.artifactType = reader.int32(); + break; + case 2: + message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 3: + message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls RegisterProject. - * @function registerProject - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectRegisterRequest} request ProjectRegisterRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a CreateDownloadLinkRequest message. + * @function verify + * @memberof flyteidl.service.CreateDownloadLinkRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + CreateDownloadLinkRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.artifactType != null && message.hasOwnProperty("artifactType")) + switch (message.artifactType) { + default: + return "artifactType: enum value expected"; + case 0: + case 1: + break; + } + if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) { + var error = $root.google.protobuf.Duration.verify(message.expiresIn); + if (error) + return "expiresIn." + error; + } + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { + properties.source = 1; + { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); + if (error) + return "nodeExecutionId." + error; + } + } + return null; + }; + + return CreateDownloadLinkRequest; + })(); + + service.CreateDownloadLinkResponse = (function() { /** - * Callback as used by {@link flyteidl.service.AdminService#updateProject}. - * @memberof flyteidl.service.AdminService - * @typedef UpdateProjectCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectUpdateResponse} [response] ProjectUpdateResponse + * Properties of a CreateDownloadLinkResponse. + * @memberof flyteidl.service + * @interface ICreateDownloadLinkResponse + * @property {Array.|null} [signedUrl] CreateDownloadLinkResponse signedUrl + * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateDownloadLinkResponse expiresAt + * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] CreateDownloadLinkResponse preSignedUrls */ /** - * Calls UpdateProject. - * @function updateProject - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProject} request Project message or plain object - * @param {flyteidl.service.AdminService.UpdateProjectCallback} callback Node-style callback called with the error, if any, and ProjectUpdateResponse - * @returns {undefined} - * @variation 1 + * Constructs a new CreateDownloadLinkResponse. + * @memberof flyteidl.service + * @classdesc Represents a CreateDownloadLinkResponse. + * @implements ICreateDownloadLinkResponse + * @constructor + * @param {flyteidl.service.ICreateDownloadLinkResponse=} [properties] Properties to set */ - Object.defineProperty(AdminService.prototype.updateProject = function updateProject(request, callback) { - return this.rpcCall(updateProject, $root.flyteidl.admin.Project, $root.flyteidl.admin.ProjectUpdateResponse, request, callback); - }, "name", { value: "UpdateProject" }); + function CreateDownloadLinkResponse(properties) { + this.signedUrl = []; + 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]]; + } /** - * Calls UpdateProject. - * @function updateProject - * @memberof flyteidl.service.AdminService + * CreateDownloadLinkResponse signedUrl. + * @member {Array.} signedUrl + * @memberof flyteidl.service.CreateDownloadLinkResponse * @instance - * @param {flyteidl.admin.IProject} request Project message or plain object - * @returns {Promise} Promise - * @variation 2 */ + CreateDownloadLinkResponse.prototype.signedUrl = $util.emptyArray; /** - * Callback as used by {@link flyteidl.service.AdminService#listProjects}. - * @memberof flyteidl.service.AdminService - * @typedef ListProjectsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.Projects} [response] Projects + * CreateDownloadLinkResponse expiresAt. + * @member {google.protobuf.ITimestamp|null|undefined} expiresAt + * @memberof flyteidl.service.CreateDownloadLinkResponse + * @instance */ + CreateDownloadLinkResponse.prototype.expiresAt = null; /** - * Calls ListProjects. - * @function listProjects - * @memberof flyteidl.service.AdminService + * CreateDownloadLinkResponse preSignedUrls. + * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls + * @memberof flyteidl.service.CreateDownloadLinkResponse * @instance - * @param {flyteidl.admin.IProjectListRequest} request ProjectListRequest message or plain object - * @param {flyteidl.service.AdminService.ListProjectsCallback} callback Node-style callback called with the error, if any, and Projects - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.listProjects = function listProjects(request, callback) { - return this.rpcCall(listProjects, $root.flyteidl.admin.ProjectListRequest, $root.flyteidl.admin.Projects, request, callback); - }, "name", { value: "ListProjects" }); + CreateDownloadLinkResponse.prototype.preSignedUrls = null; /** - * Calls ListProjects. - * @function listProjects - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectListRequest} request ProjectListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new CreateDownloadLinkResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.CreateDownloadLinkResponse + * @static + * @param {flyteidl.service.ICreateDownloadLinkResponse=} [properties] Properties to set + * @returns {flyteidl.service.CreateDownloadLinkResponse} CreateDownloadLinkResponse instance */ + CreateDownloadLinkResponse.create = function create(properties) { + return new CreateDownloadLinkResponse(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#createWorkflowEvent}. - * @memberof flyteidl.service.AdminService - * @typedef CreateWorkflowEventCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowExecutionEventResponse} [response] WorkflowExecutionEventResponse + * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.CreateDownloadLinkResponse + * @static + * @param {flyteidl.service.ICreateDownloadLinkResponse} message CreateDownloadLinkResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + CreateDownloadLinkResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.signedUrl != null && message.signedUrl.length) + for (var i = 0; i < message.signedUrl.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]); + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) + $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) + $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; /** - * Calls CreateWorkflowEvent. - * @function createWorkflowEvent - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowExecutionEventRequest} request WorkflowExecutionEventRequest message or plain object - * @param {flyteidl.service.AdminService.CreateWorkflowEventCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionEventResponse - * @returns {undefined} - * @variation 1 + * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.CreateDownloadLinkResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.CreateDownloadLinkResponse} CreateDownloadLinkResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.createWorkflowEvent = function createWorkflowEvent(request, callback) { - return this.rpcCall(createWorkflowEvent, $root.flyteidl.admin.WorkflowExecutionEventRequest, $root.flyteidl.admin.WorkflowExecutionEventResponse, request, callback); - }, "name", { value: "CreateWorkflowEvent" }); + CreateDownloadLinkResponse.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.service.CreateDownloadLinkResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.signedUrl && message.signedUrl.length)) + message.signedUrl = []; + message.signedUrl.push(reader.string()); + break; + case 2: + message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 3: + message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls CreateWorkflowEvent. - * @function createWorkflowEvent - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowExecutionEventRequest} request WorkflowExecutionEventRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a CreateDownloadLinkResponse message. + * @function verify + * @memberof flyteidl.service.CreateDownloadLinkResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + CreateDownloadLinkResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) { + if (!Array.isArray(message.signedUrl)) + return "signedUrl: array expected"; + for (var i = 0; i < message.signedUrl.length; ++i) + if (!$util.isString(message.signedUrl[i])) + return "signedUrl: string[] expected"; + } + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); + if (error) + return "expiresAt." + error; + } + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) { + var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls); + if (error) + return "preSignedUrls." + error; + } + return null; + }; + + return CreateDownloadLinkResponse; + })(); + + service.PreSignedURLs = (function() { /** - * Callback as used by {@link flyteidl.service.AdminService#createNodeEvent}. - * @memberof flyteidl.service.AdminService - * @typedef CreateNodeEventCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NodeExecutionEventResponse} [response] NodeExecutionEventResponse + * Properties of a PreSignedURLs. + * @memberof flyteidl.service + * @interface IPreSignedURLs + * @property {Array.|null} [signedUrl] PreSignedURLs signedUrl + * @property {google.protobuf.ITimestamp|null} [expiresAt] PreSignedURLs expiresAt */ /** - * Calls CreateNodeEvent. - * @function createNodeEvent - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INodeExecutionEventRequest} request NodeExecutionEventRequest message or plain object - * @param {flyteidl.service.AdminService.CreateNodeEventCallback} callback Node-style callback called with the error, if any, and NodeExecutionEventResponse - * @returns {undefined} - * @variation 1 + * Constructs a new PreSignedURLs. + * @memberof flyteidl.service + * @classdesc Represents a PreSignedURLs. + * @implements IPreSignedURLs + * @constructor + * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set */ - Object.defineProperty(AdminService.prototype.createNodeEvent = function createNodeEvent(request, callback) { - return this.rpcCall(createNodeEvent, $root.flyteidl.admin.NodeExecutionEventRequest, $root.flyteidl.admin.NodeExecutionEventResponse, request, callback); - }, "name", { value: "CreateNodeEvent" }); + function PreSignedURLs(properties) { + this.signedUrl = []; + 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]]; + } /** - * Calls CreateNodeEvent. - * @function createNodeEvent - * @memberof flyteidl.service.AdminService + * PreSignedURLs signedUrl. + * @member {Array.} signedUrl + * @memberof flyteidl.service.PreSignedURLs * @instance - * @param {flyteidl.admin.INodeExecutionEventRequest} request NodeExecutionEventRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + PreSignedURLs.prototype.signedUrl = $util.emptyArray; /** - * Callback as used by {@link flyteidl.service.AdminService#createTaskEvent}. - * @memberof flyteidl.service.AdminService - * @typedef CreateTaskEventCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.TaskExecutionEventResponse} [response] TaskExecutionEventResponse + * PreSignedURLs expiresAt. + * @member {google.protobuf.ITimestamp|null|undefined} expiresAt + * @memberof flyteidl.service.PreSignedURLs + * @instance */ + PreSignedURLs.prototype.expiresAt = null; /** - * Calls CreateTaskEvent. - * @function createTaskEvent - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ITaskExecutionEventRequest} request TaskExecutionEventRequest message or plain object - * @param {flyteidl.service.AdminService.CreateTaskEventCallback} callback Node-style callback called with the error, if any, and TaskExecutionEventResponse - * @returns {undefined} - * @variation 1 + * Creates a new PreSignedURLs instance using the specified properties. + * @function create + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set + * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs instance */ - Object.defineProperty(AdminService.prototype.createTaskEvent = function createTaskEvent(request, callback) { - return this.rpcCall(createTaskEvent, $root.flyteidl.admin.TaskExecutionEventRequest, $root.flyteidl.admin.TaskExecutionEventResponse, request, callback); - }, "name", { value: "CreateTaskEvent" }); + PreSignedURLs.create = function create(properties) { + return new PreSignedURLs(properties); + }; /** - * Calls CreateTaskEvent. - * @function createTaskEvent - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ITaskExecutionEventRequest} request TaskExecutionEventRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {flyteidl.service.IPreSignedURLs} message PreSignedURLs message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + PreSignedURLs.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.signedUrl != null && message.signedUrl.length) + for (var i = 0; i < message.signedUrl.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]); + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) + $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; /** - * Callback as used by {@link flyteidl.service.AdminService#getTaskExecution}. - * @memberof flyteidl.service.AdminService - * @typedef GetTaskExecutionCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.TaskExecution} [response] TaskExecution + * Decodes a PreSignedURLs message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ + PreSignedURLs.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.service.PreSignedURLs(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.signedUrl && message.signedUrl.length)) + message.signedUrl = []; + message.signedUrl.push(reader.string()); + break; + case 2: + message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls GetTaskExecution. - * @function getTaskExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ITaskExecutionGetRequest} request TaskExecutionGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetTaskExecutionCallback} callback Node-style callback called with the error, if any, and TaskExecution - * @returns {undefined} - * @variation 1 + * Verifies a PreSignedURLs message. + * @function verify + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Object.defineProperty(AdminService.prototype.getTaskExecution = function getTaskExecution(request, callback) { - return this.rpcCall(getTaskExecution, $root.flyteidl.admin.TaskExecutionGetRequest, $root.flyteidl.admin.TaskExecution, request, callback); - }, "name", { value: "GetTaskExecution" }); + PreSignedURLs.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) { + if (!Array.isArray(message.signedUrl)) + return "signedUrl: array expected"; + for (var i = 0; i < message.signedUrl.length; ++i) + if (!$util.isString(message.signedUrl[i])) + return "signedUrl: string[] expected"; + } + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); + if (error) + return "expiresAt." + error; + } + return null; + }; + + return PreSignedURLs; + })(); + + service.GetDataRequest = (function() { /** - * Calls GetTaskExecution. - * @function getTaskExecution - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ITaskExecutionGetRequest} request TaskExecutionGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Properties of a GetDataRequest. + * @memberof flyteidl.service + * @interface IGetDataRequest + * @property {string|null} [flyteUrl] GetDataRequest flyteUrl + * @property {flyteidl.core.IArtifactID|null} [artifactId] GetDataRequest artifactId */ /** - * Callback as used by {@link flyteidl.service.AdminService#listTaskExecutions}. - * @memberof flyteidl.service.AdminService - * @typedef ListTaskExecutionsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.TaskExecutionList} [response] TaskExecutionList + * Constructs a new GetDataRequest. + * @memberof flyteidl.service + * @classdesc Represents a GetDataRequest. + * @implements IGetDataRequest + * @constructor + * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set */ + function GetDataRequest(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]]; + } /** - * Calls ListTaskExecutions. - * @function listTaskExecutions - * @memberof flyteidl.service.AdminService + * GetDataRequest flyteUrl. + * @member {string} flyteUrl + * @memberof flyteidl.service.GetDataRequest * @instance - * @param {flyteidl.admin.ITaskExecutionListRequest} request TaskExecutionListRequest message or plain object - * @param {flyteidl.service.AdminService.ListTaskExecutionsCallback} callback Node-style callback called with the error, if any, and TaskExecutionList - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.listTaskExecutions = function listTaskExecutions(request, callback) { - return this.rpcCall(listTaskExecutions, $root.flyteidl.admin.TaskExecutionListRequest, $root.flyteidl.admin.TaskExecutionList, request, callback); - }, "name", { value: "ListTaskExecutions" }); + GetDataRequest.prototype.flyteUrl = ""; /** - * Calls ListTaskExecutions. - * @function listTaskExecutions - * @memberof flyteidl.service.AdminService + * GetDataRequest artifactId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactId + * @memberof flyteidl.service.GetDataRequest * @instance - * @param {flyteidl.admin.ITaskExecutionListRequest} request TaskExecutionListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + GetDataRequest.prototype.artifactId = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Callback as used by {@link flyteidl.service.AdminService#getTaskExecutionData}. - * @memberof flyteidl.service.AdminService - * @typedef GetTaskExecutionDataCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.TaskExecutionGetDataResponse} [response] TaskExecutionGetDataResponse + * GetDataRequest query. + * @member {"flyteUrl"|"artifactId"|undefined} query + * @memberof flyteidl.service.GetDataRequest + * @instance */ + Object.defineProperty(GetDataRequest.prototype, "query", { + get: $util.oneOfGetter($oneOfFields = ["flyteUrl", "artifactId"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Calls GetTaskExecutionData. - * @function getTaskExecutionData - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ITaskExecutionGetDataRequest} request TaskExecutionGetDataRequest message or plain object - * @param {flyteidl.service.AdminService.GetTaskExecutionDataCallback} callback Node-style callback called with the error, if any, and TaskExecutionGetDataResponse - * @returns {undefined} - * @variation 1 + * Creates a new GetDataRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.service.GetDataRequest} GetDataRequest instance */ - Object.defineProperty(AdminService.prototype.getTaskExecutionData = function getTaskExecutionData(request, callback) { - return this.rpcCall(getTaskExecutionData, $root.flyteidl.admin.TaskExecutionGetDataRequest, $root.flyteidl.admin.TaskExecutionGetDataResponse, request, callback); - }, "name", { value: "GetTaskExecutionData" }); + GetDataRequest.create = function create(properties) { + return new GetDataRequest(properties); + }; /** - * Calls GetTaskExecutionData. - * @function getTaskExecutionData - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.ITaskExecutionGetDataRequest} request TaskExecutionGetDataRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {flyteidl.service.IGetDataRequest} message GetDataRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + GetDataRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.flyteUrl); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; /** - * Callback as used by {@link flyteidl.service.AdminService#updateProjectDomainAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef UpdateProjectDomainAttributesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectDomainAttributesUpdateResponse} [response] ProjectDomainAttributesUpdateResponse + * Decodes a GetDataRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.GetDataRequest} GetDataRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ + GetDataRequest.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.service.GetDataRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.flyteUrl = reader.string(); + break; + case 2: + message.artifactId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls UpdateProjectDomainAttributes. - * @function updateProjectDomainAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} request ProjectDomainAttributesUpdateRequest message or plain object - * @param {flyteidl.service.AdminService.UpdateProjectDomainAttributesCallback} callback Node-style callback called with the error, if any, and ProjectDomainAttributesUpdateResponse - * @returns {undefined} - * @variation 1 + * Verifies a GetDataRequest message. + * @function verify + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Object.defineProperty(AdminService.prototype.updateProjectDomainAttributes = function updateProjectDomainAttributes(request, callback) { - return this.rpcCall(updateProjectDomainAttributes, $root.flyteidl.admin.ProjectDomainAttributesUpdateRequest, $root.flyteidl.admin.ProjectDomainAttributesUpdateResponse, request, callback); - }, "name", { value: "UpdateProjectDomainAttributes" }); + GetDataRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl")) { + properties.query = 1; + if (!$util.isString(message.flyteUrl)) + return "flyteUrl: string expected"; + } + if (message.artifactId != null && message.hasOwnProperty("artifactId")) { + if (properties.query === 1) + return "query: multiple values"; + properties.query = 1; + { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactId); + if (error) + return "artifactId." + error; + } + } + return null; + }; + + return GetDataRequest; + })(); - /** - * Calls UpdateProjectDomainAttributes. - * @function updateProjectDomainAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} request ProjectDomainAttributesUpdateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + service.GetDataResponse = (function() { /** - * Callback as used by {@link flyteidl.service.AdminService#getProjectDomainAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef GetProjectDomainAttributesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectDomainAttributesGetResponse} [response] ProjectDomainAttributesGetResponse + * Properties of a GetDataResponse. + * @memberof flyteidl.service + * @interface IGetDataResponse + * @property {flyteidl.core.ILiteralMap|null} [literalMap] GetDataResponse literalMap + * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] GetDataResponse preSignedUrls + * @property {flyteidl.core.ILiteral|null} [literal] GetDataResponse literal + * @property {flyteidl.artifact.IArtifact|null} [artifact] GetDataResponse artifact */ /** - * Calls GetProjectDomainAttributes. - * @function getProjectDomainAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest} request ProjectDomainAttributesGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetProjectDomainAttributesCallback} callback Node-style callback called with the error, if any, and ProjectDomainAttributesGetResponse - * @returns {undefined} - * @variation 1 + * Constructs a new GetDataResponse. + * @memberof flyteidl.service + * @classdesc Represents a GetDataResponse. + * @implements IGetDataResponse + * @constructor + * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set */ - Object.defineProperty(AdminService.prototype.getProjectDomainAttributes = function getProjectDomainAttributes(request, callback) { - return this.rpcCall(getProjectDomainAttributes, $root.flyteidl.admin.ProjectDomainAttributesGetRequest, $root.flyteidl.admin.ProjectDomainAttributesGetResponse, request, callback); - }, "name", { value: "GetProjectDomainAttributes" }); + function GetDataResponse(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]]; + } /** - * Calls GetProjectDomainAttributes. - * @function getProjectDomainAttributes - * @memberof flyteidl.service.AdminService + * GetDataResponse literalMap. + * @member {flyteidl.core.ILiteralMap|null|undefined} literalMap + * @memberof flyteidl.service.GetDataResponse * @instance - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest} request ProjectDomainAttributesGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + GetDataResponse.prototype.literalMap = null; /** - * Callback as used by {@link flyteidl.service.AdminService#deleteProjectDomainAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef DeleteProjectDomainAttributesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectDomainAttributesDeleteResponse} [response] ProjectDomainAttributesDeleteResponse + * GetDataResponse preSignedUrls. + * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls + * @memberof flyteidl.service.GetDataResponse + * @instance */ + GetDataResponse.prototype.preSignedUrls = null; /** - * Calls DeleteProjectDomainAttributes. - * @function deleteProjectDomainAttributes - * @memberof flyteidl.service.AdminService + * GetDataResponse literal. + * @member {flyteidl.core.ILiteral|null|undefined} literal + * @memberof flyteidl.service.GetDataResponse * @instance - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest} request ProjectDomainAttributesDeleteRequest message or plain object - * @param {flyteidl.service.AdminService.DeleteProjectDomainAttributesCallback} callback Node-style callback called with the error, if any, and ProjectDomainAttributesDeleteResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.deleteProjectDomainAttributes = function deleteProjectDomainAttributes(request, callback) { - return this.rpcCall(deleteProjectDomainAttributes, $root.flyteidl.admin.ProjectDomainAttributesDeleteRequest, $root.flyteidl.admin.ProjectDomainAttributesDeleteResponse, request, callback); - }, "name", { value: "DeleteProjectDomainAttributes" }); + GetDataResponse.prototype.literal = null; /** - * Calls DeleteProjectDomainAttributes. - * @function deleteProjectDomainAttributes - * @memberof flyteidl.service.AdminService + * GetDataResponse artifact. + * @member {flyteidl.artifact.IArtifact|null|undefined} artifact + * @memberof flyteidl.service.GetDataResponse * @instance - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest} request ProjectDomainAttributesDeleteRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + GetDataResponse.prototype.artifact = null; - /** - * Callback as used by {@link flyteidl.service.AdminService#updateProjectAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef UpdateProjectAttributesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectAttributesUpdateResponse} [response] ProjectAttributesUpdateResponse - */ + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Calls UpdateProjectAttributes. - * @function updateProjectAttributes - * @memberof flyteidl.service.AdminService + * GetDataResponse data. + * @member {"literalMap"|"preSignedUrls"|"literal"|"artifact"|undefined} data + * @memberof flyteidl.service.GetDataResponse * @instance - * @param {flyteidl.admin.IProjectAttributesUpdateRequest} request ProjectAttributesUpdateRequest message or plain object - * @param {flyteidl.service.AdminService.UpdateProjectAttributesCallback} callback Node-style callback called with the error, if any, and ProjectAttributesUpdateResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.updateProjectAttributes = function updateProjectAttributes(request, callback) { - return this.rpcCall(updateProjectAttributes, $root.flyteidl.admin.ProjectAttributesUpdateRequest, $root.flyteidl.admin.ProjectAttributesUpdateResponse, request, callback); - }, "name", { value: "UpdateProjectAttributes" }); + Object.defineProperty(GetDataResponse.prototype, "data", { + get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls", "literal", "artifact"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Calls UpdateProjectAttributes. - * @function updateProjectAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectAttributesUpdateRequest} request ProjectAttributesUpdateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new GetDataResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.service.GetDataResponse} GetDataResponse instance */ + GetDataResponse.create = function create(properties) { + return new GetDataResponse(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#getProjectAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef GetProjectAttributesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectAttributesGetResponse} [response] ProjectAttributesGetResponse + * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {flyteidl.service.IGetDataResponse} message GetDataResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + GetDataResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.literalMap != null && message.hasOwnProperty("literalMap")) + $root.flyteidl.core.LiteralMap.encode(message.literalMap, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) + $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.literal != null && message.hasOwnProperty("literal")) + $root.flyteidl.core.Literal.encode(message.literal, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifact != null && message.hasOwnProperty("artifact")) + $root.flyteidl.artifact.Artifact.encode(message.artifact, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + return writer; + }; /** - * Calls GetProjectAttributes. - * @function getProjectAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectAttributesGetRequest} request ProjectAttributesGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetProjectAttributesCallback} callback Node-style callback called with the error, if any, and ProjectAttributesGetResponse - * @returns {undefined} - * @variation 1 + * Decodes a GetDataResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.GetDataResponse} GetDataResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.getProjectAttributes = function getProjectAttributes(request, callback) { - return this.rpcCall(getProjectAttributes, $root.flyteidl.admin.ProjectAttributesGetRequest, $root.flyteidl.admin.ProjectAttributesGetResponse, request, callback); - }, "name", { value: "GetProjectAttributes" }); + GetDataResponse.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.service.GetDataResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.literalMap = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 2: + message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32()); + break; + case 3: + message.literal = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + break; + case 4: + message.artifact = $root.flyteidl.artifact.Artifact.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls GetProjectAttributes. - * @function getProjectAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectAttributesGetRequest} request ProjectAttributesGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a GetDataResponse message. + * @function verify + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + GetDataResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.literalMap != null && message.hasOwnProperty("literalMap")) { + properties.data = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.literalMap); + if (error) + return "literalMap." + error; + } + } + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) { + if (properties.data === 1) + return "data: multiple values"; + properties.data = 1; + { + var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls); + if (error) + return "preSignedUrls." + error; + } + } + if (message.literal != null && message.hasOwnProperty("literal")) { + if (properties.data === 1) + return "data: multiple values"; + properties.data = 1; + { + var error = $root.flyteidl.core.Literal.verify(message.literal); + if (error) + return "literal." + error; + } + } + if (message.artifact != null && message.hasOwnProperty("artifact")) { + if (properties.data === 1) + return "data: multiple values"; + properties.data = 1; + { + var error = $root.flyteidl.artifact.Artifact.verify(message.artifact); + if (error) + return "artifact." + error; + } + } + return null; + }; - /** - * Callback as used by {@link flyteidl.service.AdminService#deleteProjectAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef DeleteProjectAttributesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ProjectAttributesDeleteResponse} [response] ProjectAttributesDeleteResponse - */ + return GetDataResponse; + })(); + + service.DataProxyService = (function() { /** - * Calls DeleteProjectAttributes. - * @function deleteProjectAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectAttributesDeleteRequest} request ProjectAttributesDeleteRequest message or plain object - * @param {flyteidl.service.AdminService.DeleteProjectAttributesCallback} callback Node-style callback called with the error, if any, and ProjectAttributesDeleteResponse - * @returns {undefined} - * @variation 1 + * Constructs a new DataProxyService service. + * @memberof flyteidl.service + * @classdesc Represents a DataProxyService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ - Object.defineProperty(AdminService.prototype.deleteProjectAttributes = function deleteProjectAttributes(request, callback) { - return this.rpcCall(deleteProjectAttributes, $root.flyteidl.admin.ProjectAttributesDeleteRequest, $root.flyteidl.admin.ProjectAttributesDeleteResponse, request, callback); - }, "name", { value: "DeleteProjectAttributes" }); + function DataProxyService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (DataProxyService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataProxyService; /** - * Calls DeleteProjectAttributes. - * @function deleteProjectAttributes - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IProjectAttributesDeleteRequest} request ProjectAttributesDeleteRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates new DataProxyService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.DataProxyService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {DataProxyService} RPC service. Useful where requests and/or responses are streamed. */ + DataProxyService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#updateWorkflowAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef UpdateWorkflowAttributesCallback + * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}. + * @memberof flyteidl.service.DataProxyService + * @typedef CreateUploadLocationCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowAttributesUpdateResponse} [response] WorkflowAttributesUpdateResponse + * @param {flyteidl.service.CreateUploadLocationResponse} [response] CreateUploadLocationResponse */ /** - * Calls UpdateWorkflowAttributes. - * @function updateWorkflowAttributes - * @memberof flyteidl.service.AdminService + * Calls CreateUploadLocation. + * @function createUploadLocation + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} request WorkflowAttributesUpdateRequest message or plain object - * @param {flyteidl.service.AdminService.UpdateWorkflowAttributesCallback} callback Node-style callback called with the error, if any, and WorkflowAttributesUpdateResponse + * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object + * @param {flyteidl.service.DataProxyService.CreateUploadLocationCallback} callback Node-style callback called with the error, if any, and CreateUploadLocationResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.updateWorkflowAttributes = function updateWorkflowAttributes(request, callback) { - return this.rpcCall(updateWorkflowAttributes, $root.flyteidl.admin.WorkflowAttributesUpdateRequest, $root.flyteidl.admin.WorkflowAttributesUpdateResponse, request, callback); - }, "name", { value: "UpdateWorkflowAttributes" }); + Object.defineProperty(DataProxyService.prototype.createUploadLocation = function createUploadLocation(request, callback) { + return this.rpcCall(createUploadLocation, $root.flyteidl.service.CreateUploadLocationRequest, $root.flyteidl.service.CreateUploadLocationResponse, request, callback); + }, "name", { value: "CreateUploadLocation" }); /** - * Calls UpdateWorkflowAttributes. - * @function updateWorkflowAttributes - * @memberof flyteidl.service.AdminService + * Calls CreateUploadLocation. + * @function createUploadLocation + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} request WorkflowAttributesUpdateRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ /** - * Callback as used by {@link flyteidl.service.AdminService#getWorkflowAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef GetWorkflowAttributesCallback + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}. + * @memberof flyteidl.service.DataProxyService + * @typedef CreateDownloadLocationCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowAttributesGetResponse} [response] WorkflowAttributesGetResponse + * @param {flyteidl.service.CreateDownloadLocationResponse} [response] CreateDownloadLocationResponse */ /** - * Calls GetWorkflowAttributes. - * @function getWorkflowAttributes - * @memberof flyteidl.service.AdminService + * Calls CreateDownloadLocation. + * @function createDownloadLocation + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IWorkflowAttributesGetRequest} request WorkflowAttributesGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetWorkflowAttributesCallback} callback Node-style callback called with the error, if any, and WorkflowAttributesGetResponse + * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object + * @param {flyteidl.service.DataProxyService.CreateDownloadLocationCallback} callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.getWorkflowAttributes = function getWorkflowAttributes(request, callback) { - return this.rpcCall(getWorkflowAttributes, $root.flyteidl.admin.WorkflowAttributesGetRequest, $root.flyteidl.admin.WorkflowAttributesGetResponse, request, callback); - }, "name", { value: "GetWorkflowAttributes" }); + Object.defineProperty(DataProxyService.prototype.createDownloadLocation = function createDownloadLocation(request, callback) { + return this.rpcCall(createDownloadLocation, $root.flyteidl.service.CreateDownloadLocationRequest, $root.flyteidl.service.CreateDownloadLocationResponse, request, callback); + }, "name", { value: "CreateDownloadLocation" }); /** - * Calls GetWorkflowAttributes. - * @function getWorkflowAttributes - * @memberof flyteidl.service.AdminService + * Calls CreateDownloadLocation. + * @function createDownloadLocation + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IWorkflowAttributesGetRequest} request WorkflowAttributesGetRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ /** - * Callback as used by {@link flyteidl.service.AdminService#deleteWorkflowAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef DeleteWorkflowAttributesCallback + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}. + * @memberof flyteidl.service.DataProxyService + * @typedef CreateDownloadLinkCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowAttributesDeleteResponse} [response] WorkflowAttributesDeleteResponse + * @param {flyteidl.service.CreateDownloadLinkResponse} [response] CreateDownloadLinkResponse */ /** - * Calls DeleteWorkflowAttributes. - * @function deleteWorkflowAttributes - * @memberof flyteidl.service.AdminService + * Calls CreateDownloadLink. + * @function createDownloadLink + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} request WorkflowAttributesDeleteRequest message or plain object - * @param {flyteidl.service.AdminService.DeleteWorkflowAttributesCallback} callback Node-style callback called with the error, if any, and WorkflowAttributesDeleteResponse + * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object + * @param {flyteidl.service.DataProxyService.CreateDownloadLinkCallback} callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.deleteWorkflowAttributes = function deleteWorkflowAttributes(request, callback) { - return this.rpcCall(deleteWorkflowAttributes, $root.flyteidl.admin.WorkflowAttributesDeleteRequest, $root.flyteidl.admin.WorkflowAttributesDeleteResponse, request, callback); - }, "name", { value: "DeleteWorkflowAttributes" }); + Object.defineProperty(DataProxyService.prototype.createDownloadLink = function createDownloadLink(request, callback) { + return this.rpcCall(createDownloadLink, $root.flyteidl.service.CreateDownloadLinkRequest, $root.flyteidl.service.CreateDownloadLinkResponse, request, callback); + }, "name", { value: "CreateDownloadLink" }); /** - * Calls DeleteWorkflowAttributes. - * @function deleteWorkflowAttributes - * @memberof flyteidl.service.AdminService + * Calls CreateDownloadLink. + * @function createDownloadLink + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} request WorkflowAttributesDeleteRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ /** - * Callback as used by {@link flyteidl.service.AdminService#listMatchableAttributes}. - * @memberof flyteidl.service.AdminService - * @typedef ListMatchableAttributesCallback + * Callback as used by {@link flyteidl.service.DataProxyService#getData}. + * @memberof flyteidl.service.DataProxyService + * @typedef GetDataCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.ListMatchableAttributesResponse} [response] ListMatchableAttributesResponse + * @param {flyteidl.service.GetDataResponse} [response] GetDataResponse */ /** - * Calls ListMatchableAttributes. - * @function listMatchableAttributes - * @memberof flyteidl.service.AdminService + * Calls GetData. + * @function getData + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IListMatchableAttributesRequest} request ListMatchableAttributesRequest message or plain object - * @param {flyteidl.service.AdminService.ListMatchableAttributesCallback} callback Node-style callback called with the error, if any, and ListMatchableAttributesResponse + * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object + * @param {flyteidl.service.DataProxyService.GetDataCallback} callback Node-style callback called with the error, if any, and GetDataResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.listMatchableAttributes = function listMatchableAttributes(request, callback) { - return this.rpcCall(listMatchableAttributes, $root.flyteidl.admin.ListMatchableAttributesRequest, $root.flyteidl.admin.ListMatchableAttributesResponse, request, callback); - }, "name", { value: "ListMatchableAttributes" }); + Object.defineProperty(DataProxyService.prototype.getData = function getData(request, callback) { + return this.rpcCall(getData, $root.flyteidl.service.GetDataRequest, $root.flyteidl.service.GetDataResponse, request, callback); + }, "name", { value: "GetData" }); /** - * Calls ListMatchableAttributes. - * @function listMatchableAttributes - * @memberof flyteidl.service.AdminService + * Calls GetData. + * @function getData + * @memberof flyteidl.service.DataProxyService * @instance - * @param {flyteidl.admin.IListMatchableAttributesRequest} request ListMatchableAttributesRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ - /** - * Callback as used by {@link flyteidl.service.AdminService#listNamedEntities}. - * @memberof flyteidl.service.AdminService - * @typedef ListNamedEntitiesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NamedEntityList} [response] NamedEntityList - */ + return DataProxyService; + })(); + + service.ExternalPluginService = (function() { /** - * Calls ListNamedEntities. - * @function listNamedEntities - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityListRequest} request NamedEntityListRequest message or plain object - * @param {flyteidl.service.AdminService.ListNamedEntitiesCallback} callback Node-style callback called with the error, if any, and NamedEntityList - * @returns {undefined} - * @variation 1 + * Constructs a new ExternalPluginService service. + * @memberof flyteidl.service + * @classdesc Represents an ExternalPluginService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ - Object.defineProperty(AdminService.prototype.listNamedEntities = function listNamedEntities(request, callback) { - return this.rpcCall(listNamedEntities, $root.flyteidl.admin.NamedEntityListRequest, $root.flyteidl.admin.NamedEntityList, request, callback); - }, "name", { value: "ListNamedEntities" }); + function ExternalPluginService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (ExternalPluginService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ExternalPluginService; /** - * Calls ListNamedEntities. - * @function listNamedEntities - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.INamedEntityListRequest} request NamedEntityListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates new ExternalPluginService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.ExternalPluginService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {ExternalPluginService} RPC service. Useful where requests and/or responses are streamed. */ + ExternalPluginService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#getNamedEntity}. - * @memberof flyteidl.service.AdminService - * @typedef GetNamedEntityCallback + * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}. + * @memberof flyteidl.service.ExternalPluginService + * @typedef CreateTaskCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NamedEntity} [response] NamedEntity + * @param {flyteidl.service.TaskCreateResponse} [response] TaskCreateResponse */ /** - * Calls GetNamedEntity. - * @function getNamedEntity - * @memberof flyteidl.service.AdminService + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.ExternalPluginService * @instance - * @param {flyteidl.admin.INamedEntityGetRequest} request NamedEntityGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetNamedEntityCallback} callback Node-style callback called with the error, if any, and NamedEntity + * @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object + * @param {flyteidl.service.ExternalPluginService.CreateTaskCallback} callback Node-style callback called with the error, if any, and TaskCreateResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.getNamedEntity = function getNamedEntity(request, callback) { - return this.rpcCall(getNamedEntity, $root.flyteidl.admin.NamedEntityGetRequest, $root.flyteidl.admin.NamedEntity, request, callback); - }, "name", { value: "GetNamedEntity" }); + Object.defineProperty(ExternalPluginService.prototype.createTask = function createTask(request, callback) { + return this.rpcCall(createTask, $root.flyteidl.service.TaskCreateRequest, $root.flyteidl.service.TaskCreateResponse, request, callback); + }, "name", { value: "CreateTask" }); /** - * Calls GetNamedEntity. - * @function getNamedEntity - * @memberof flyteidl.service.AdminService + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.ExternalPluginService * @instance - * @param {flyteidl.admin.INamedEntityGetRequest} request NamedEntityGetRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ /** - * Callback as used by {@link flyteidl.service.AdminService#updateNamedEntity}. - * @memberof flyteidl.service.AdminService - * @typedef UpdateNamedEntityCallback + * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}. + * @memberof flyteidl.service.ExternalPluginService + * @typedef GetTaskCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.NamedEntityUpdateResponse} [response] NamedEntityUpdateResponse + * @param {flyteidl.service.TaskGetResponse} [response] TaskGetResponse */ /** - * Calls UpdateNamedEntity. - * @function updateNamedEntity - * @memberof flyteidl.service.AdminService + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.ExternalPluginService * @instance - * @param {flyteidl.admin.INamedEntityUpdateRequest} request NamedEntityUpdateRequest message or plain object - * @param {flyteidl.service.AdminService.UpdateNamedEntityCallback} callback Node-style callback called with the error, if any, and NamedEntityUpdateResponse + * @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object + * @param {flyteidl.service.ExternalPluginService.GetTaskCallback} callback Node-style callback called with the error, if any, and TaskGetResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.updateNamedEntity = function updateNamedEntity(request, callback) { - return this.rpcCall(updateNamedEntity, $root.flyteidl.admin.NamedEntityUpdateRequest, $root.flyteidl.admin.NamedEntityUpdateResponse, request, callback); - }, "name", { value: "UpdateNamedEntity" }); + Object.defineProperty(ExternalPluginService.prototype.getTask = function getTask(request, callback) { + return this.rpcCall(getTask, $root.flyteidl.service.TaskGetRequest, $root.flyteidl.service.TaskGetResponse, request, callback); + }, "name", { value: "GetTask" }); /** - * Calls UpdateNamedEntity. - * @function updateNamedEntity - * @memberof flyteidl.service.AdminService + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.ExternalPluginService * @instance - * @param {flyteidl.admin.INamedEntityUpdateRequest} request NamedEntityUpdateRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ /** - * Callback as used by {@link flyteidl.service.AdminService#getVersion}. - * @memberof flyteidl.service.AdminService - * @typedef GetVersionCallback + * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}. + * @memberof flyteidl.service.ExternalPluginService + * @typedef DeleteTaskCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.GetVersionResponse} [response] GetVersionResponse + * @param {flyteidl.service.TaskDeleteResponse} [response] TaskDeleteResponse */ /** - * Calls GetVersion. - * @function getVersion - * @memberof flyteidl.service.AdminService + * Calls DeleteTask. + * @function deleteTask + * @memberof flyteidl.service.ExternalPluginService * @instance - * @param {flyteidl.admin.IGetVersionRequest} request GetVersionRequest message or plain object - * @param {flyteidl.service.AdminService.GetVersionCallback} callback Node-style callback called with the error, if any, and GetVersionResponse + * @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object + * @param {flyteidl.service.ExternalPluginService.DeleteTaskCallback} callback Node-style callback called with the error, if any, and TaskDeleteResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AdminService.prototype.getVersion = function getVersion(request, callback) { - return this.rpcCall(getVersion, $root.flyteidl.admin.GetVersionRequest, $root.flyteidl.admin.GetVersionResponse, request, callback); - }, "name", { value: "GetVersion" }); + Object.defineProperty(ExternalPluginService.prototype.deleteTask = function deleteTask(request, callback) { + return this.rpcCall(deleteTask, $root.flyteidl.service.TaskDeleteRequest, $root.flyteidl.service.TaskDeleteResponse, request, callback); + }, "name", { value: "DeleteTask" }); /** - * Calls GetVersion. - * @function getVersion - * @memberof flyteidl.service.AdminService + * Calls DeleteTask. + * @function deleteTask + * @memberof flyteidl.service.ExternalPluginService * @instance - * @param {flyteidl.admin.IGetVersionRequest} request GetVersionRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ + return ExternalPluginService; + })(); + + /** + * State enum. + * @name flyteidl.service.State + * @enum {string} + * @property {number} RETRYABLE_FAILURE=0 RETRYABLE_FAILURE value + * @property {number} PERMANENT_FAILURE=1 PERMANENT_FAILURE value + * @property {number} PENDING=2 PENDING value + * @property {number} RUNNING=3 RUNNING value + * @property {number} SUCCEEDED=4 SUCCEEDED value + */ + service.State = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "RETRYABLE_FAILURE"] = 0; + values[valuesById[1] = "PERMANENT_FAILURE"] = 1; + values[valuesById[2] = "PENDING"] = 2; + values[valuesById[3] = "RUNNING"] = 3; + values[valuesById[4] = "SUCCEEDED"] = 4; + return values; + })(); + + service.TaskCreateRequest = (function() { + /** - * Callback as used by {@link flyteidl.service.AdminService#getDescriptionEntity}. - * @memberof flyteidl.service.AdminService - * @typedef GetDescriptionEntityCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.DescriptionEntity} [response] DescriptionEntity + * Properties of a TaskCreateRequest. + * @memberof flyteidl.service + * @interface ITaskCreateRequest + * @property {flyteidl.core.ILiteralMap|null} [inputs] TaskCreateRequest inputs + * @property {flyteidl.core.ITaskTemplate|null} [template] TaskCreateRequest template + * @property {string|null} [outputPrefix] TaskCreateRequest outputPrefix */ /** - * Calls GetDescriptionEntity. - * @function getDescriptionEntity - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @param {flyteidl.service.AdminService.GetDescriptionEntityCallback} callback Node-style callback called with the error, if any, and DescriptionEntity - * @returns {undefined} - * @variation 1 + * Constructs a new TaskCreateRequest. + * @memberof flyteidl.service + * @classdesc Represents a TaskCreateRequest. + * @implements ITaskCreateRequest + * @constructor + * @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set */ - Object.defineProperty(AdminService.prototype.getDescriptionEntity = function getDescriptionEntity(request, callback) { - return this.rpcCall(getDescriptionEntity, $root.flyteidl.admin.ObjectGetRequest, $root.flyteidl.admin.DescriptionEntity, request, callback); - }, "name", { value: "GetDescriptionEntity" }); + function TaskCreateRequest(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]]; + } /** - * Calls GetDescriptionEntity. - * @function getDescriptionEntity - * @memberof flyteidl.service.AdminService + * TaskCreateRequest inputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputs + * @memberof flyteidl.service.TaskCreateRequest * @instance - * @param {flyteidl.admin.IObjectGetRequest} request ObjectGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + TaskCreateRequest.prototype.inputs = null; /** - * Callback as used by {@link flyteidl.service.AdminService#listDescriptionEntities}. - * @memberof flyteidl.service.AdminService - * @typedef ListDescriptionEntitiesCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.DescriptionEntityList} [response] DescriptionEntityList + * TaskCreateRequest template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.service.TaskCreateRequest + * @instance */ + TaskCreateRequest.prototype.template = null; /** - * Calls ListDescriptionEntities. - * @function listDescriptionEntities - * @memberof flyteidl.service.AdminService + * TaskCreateRequest outputPrefix. + * @member {string} outputPrefix + * @memberof flyteidl.service.TaskCreateRequest * @instance - * @param {flyteidl.admin.IDescriptionEntityListRequest} request DescriptionEntityListRequest message or plain object - * @param {flyteidl.service.AdminService.ListDescriptionEntitiesCallback} callback Node-style callback called with the error, if any, and DescriptionEntityList - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AdminService.prototype.listDescriptionEntities = function listDescriptionEntities(request, callback) { - return this.rpcCall(listDescriptionEntities, $root.flyteidl.admin.DescriptionEntityListRequest, $root.flyteidl.admin.DescriptionEntityList, request, callback); - }, "name", { value: "ListDescriptionEntities" }); + TaskCreateRequest.prototype.outputPrefix = ""; /** - * Calls ListDescriptionEntities. - * @function listDescriptionEntities - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IDescriptionEntityListRequest} request DescriptionEntityListRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new TaskCreateRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskCreateRequest + * @static + * @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set + * @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest instance */ + TaskCreateRequest.create = function create(properties) { + return new TaskCreateRequest(properties); + }; /** - * Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}. - * @memberof flyteidl.service.AdminService - * @typedef GetExecutionMetricsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.WorkflowExecutionGetMetricsResponse} [response] WorkflowExecutionGetMetricsResponse + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskCreateRequest + * @static + * @param {flyteidl.service.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + TaskCreateRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPrefix); + return writer; + }; /** - * Calls GetExecutionMetrics. - * @function getExecutionMetrics - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object - * @param {flyteidl.service.AdminService.GetExecutionMetricsCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse - * @returns {undefined} - * @variation 1 + * Decodes a TaskCreateRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskCreateRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AdminService.prototype.getExecutionMetrics = function getExecutionMetrics(request, callback) { - return this.rpcCall(getExecutionMetrics, $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest, $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse, request, callback); - }, "name", { value: "GetExecutionMetrics" }); + 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.service.TaskCreateRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 2: + message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + break; + case 3: + message.outputPrefix = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls GetExecutionMetrics. - * @function getExecutionMetrics - * @memberof flyteidl.service.AdminService - * @instance - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a TaskCreateRequest message. + * @function verify + * @memberof flyteidl.service.TaskCreateRequest + * @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) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.template); + if (error) + return "template." + error; + } + if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) + if (!$util.isString(message.outputPrefix)) + return "outputPrefix: string expected"; + return null; + }; - return AdminService; + return TaskCreateRequest; })(); - service.AsyncAgentService = (function() { + service.TaskCreateResponse = (function() { /** - * Constructs a new AsyncAgentService service. + * Properties of a TaskCreateResponse. * @memberof flyteidl.service - * @classdesc Represents an AsyncAgentService - * @extends $protobuf.rpc.Service + * @interface ITaskCreateResponse + * @property {string|null} [jobId] TaskCreateResponse jobId + */ + + /** + * Constructs a new TaskCreateResponse. + * @memberof flyteidl.service + * @classdesc Represents a TaskCreateResponse. + * @implements ITaskCreateResponse * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set */ - function AsyncAgentService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + function TaskCreateResponse(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]]; } - (AsyncAgentService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AsyncAgentService; + /** + * TaskCreateResponse jobId. + * @member {string} jobId + * @memberof flyteidl.service.TaskCreateResponse + * @instance + */ + TaskCreateResponse.prototype.jobId = ""; /** - * Creates new AsyncAgentService service using the specified rpc implementation. + * Creates a new TaskCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.AsyncAgentService + * @memberof flyteidl.service.TaskCreateResponse * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {AsyncAgentService} RPC service. Useful where requests and/or responses are streamed. + * @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set + * @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse instance */ - AsyncAgentService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); + TaskCreateResponse.create = function create(properties) { + return new TaskCreateResponse(properties); }; /** - * Callback as used by {@link flyteidl.service.AsyncAgentService#createTask}. - * @memberof flyteidl.service.AsyncAgentService - * @typedef CreateTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.CreateTaskResponse} [response] CreateTaskResponse + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskCreateResponse + * @static + * @param {flyteidl.service.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + TaskCreateResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.jobId != null && message.hasOwnProperty("jobId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.jobId); + return writer; + }; /** - * Calls CreateTask. - * @function createTask - * @memberof flyteidl.service.AsyncAgentService - * @instance - * @param {flyteidl.admin.ICreateTaskRequest} request CreateTaskRequest message or plain object - * @param {flyteidl.service.AsyncAgentService.CreateTaskCallback} callback Node-style callback called with the error, if any, and CreateTaskResponse - * @returns {undefined} - * @variation 1 + * Decodes a TaskCreateResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskCreateResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AsyncAgentService.prototype.createTask = function createTask(request, callback) { - return this.rpcCall(createTask, $root.flyteidl.admin.CreateTaskRequest, $root.flyteidl.admin.CreateTaskResponse, request, callback); - }, "name", { value: "CreateTask" }); + 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.service.TaskCreateResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.jobId = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls CreateTask. - * @function createTask - * @memberof flyteidl.service.AsyncAgentService - * @instance - * @param {flyteidl.admin.ICreateTaskRequest} request CreateTaskRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a TaskCreateResponse message. + * @function verify + * @memberof flyteidl.service.TaskCreateResponse + * @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) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.jobId != null && message.hasOwnProperty("jobId")) + if (!$util.isString(message.jobId)) + return "jobId: string expected"; + return null; + }; + + return TaskCreateResponse; + })(); + + service.TaskGetRequest = (function() { /** - * Callback as used by {@link flyteidl.service.AsyncAgentService#getTask}. - * @memberof flyteidl.service.AsyncAgentService - * @typedef GetTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.GetTaskResponse} [response] GetTaskResponse + * Properties of a TaskGetRequest. + * @memberof flyteidl.service + * @interface ITaskGetRequest + * @property {string|null} [taskType] TaskGetRequest taskType + * @property {string|null} [jobId] TaskGetRequest jobId */ /** - * Calls GetTask. - * @function getTask - * @memberof flyteidl.service.AsyncAgentService + * Constructs a new TaskGetRequest. + * @memberof flyteidl.service + * @classdesc Represents a TaskGetRequest. + * @implements ITaskGetRequest + * @constructor + * @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set + */ + function TaskGetRequest(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]]; + } + + /** + * TaskGetRequest taskType. + * @member {string} taskType + * @memberof flyteidl.service.TaskGetRequest * @instance - * @param {flyteidl.admin.IGetTaskRequest} request GetTaskRequest message or plain object - * @param {flyteidl.service.AsyncAgentService.GetTaskCallback} callback Node-style callback called with the error, if any, and GetTaskResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(AsyncAgentService.prototype.getTask = function getTask(request, callback) { - return this.rpcCall(getTask, $root.flyteidl.admin.GetTaskRequest, $root.flyteidl.admin.GetTaskResponse, request, callback); - }, "name", { value: "GetTask" }); + TaskGetRequest.prototype.taskType = ""; /** - * Calls GetTask. - * @function getTask - * @memberof flyteidl.service.AsyncAgentService + * TaskGetRequest jobId. + * @member {string} jobId + * @memberof flyteidl.service.TaskGetRequest * @instance - * @param {flyteidl.admin.IGetTaskRequest} request GetTaskRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + TaskGetRequest.prototype.jobId = ""; /** - * Callback as used by {@link flyteidl.service.AsyncAgentService#deleteTask}. - * @memberof flyteidl.service.AsyncAgentService - * @typedef DeleteTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.admin.DeleteTaskResponse} [response] DeleteTaskResponse + * Creates a new TaskGetRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set + * @returns {flyteidl.service.TaskGetRequest} TaskGetRequest instance + */ + TaskGetRequest.create = function create(properties) { + return new TaskGetRequest(properties); + }; + + /** + * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {flyteidl.service.ITaskGetRequest} message TaskGetRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + TaskGetRequest.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.jobId != null && message.hasOwnProperty("jobId")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId); + return writer; + }; /** - * Calls DeleteTask. - * @function deleteTask - * @memberof flyteidl.service.AsyncAgentService - * @instance - * @param {flyteidl.admin.IDeleteTaskRequest} request DeleteTaskRequest message or plain object - * @param {flyteidl.service.AsyncAgentService.DeleteTaskCallback} callback Node-style callback called with the error, if any, and DeleteTaskResponse - * @returns {undefined} - * @variation 1 + * Decodes a TaskGetRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskGetRequest} TaskGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AsyncAgentService.prototype.deleteTask = function deleteTask(request, callback) { - return this.rpcCall(deleteTask, $root.flyteidl.admin.DeleteTaskRequest, $root.flyteidl.admin.DeleteTaskResponse, request, callback); - }, "name", { value: "DeleteTask" }); + TaskGetRequest.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.service.TaskGetRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskType = reader.string(); + break; + case 2: + message.jobId = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls DeleteTask. - * @function deleteTask - * @memberof flyteidl.service.AsyncAgentService - * @instance - * @param {flyteidl.admin.IDeleteTaskRequest} request DeleteTaskRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies a TaskGetRequest message. + * @function verify + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + TaskGetRequest.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.jobId != null && message.hasOwnProperty("jobId")) + if (!$util.isString(message.jobId)) + return "jobId: string expected"; + return null; + }; - return AsyncAgentService; + return TaskGetRequest; })(); - service.OAuth2MetadataRequest = (function() { + service.TaskGetResponse = (function() { /** - * Properties of a OAuth2MetadataRequest. + * Properties of a TaskGetResponse. * @memberof flyteidl.service - * @interface IOAuth2MetadataRequest + * @interface ITaskGetResponse + * @property {flyteidl.service.State|null} [state] TaskGetResponse state + * @property {flyteidl.core.ILiteralMap|null} [outputs] TaskGetResponse outputs */ /** - * Constructs a new OAuth2MetadataRequest. + * Constructs a new TaskGetResponse. * @memberof flyteidl.service - * @classdesc Represents a OAuth2MetadataRequest. - * @implements IOAuth2MetadataRequest + * @classdesc Represents a TaskGetResponse. + * @implements ITaskGetResponse * @constructor - * @param {flyteidl.service.IOAuth2MetadataRequest=} [properties] Properties to set + * @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set */ - function OAuth2MetadataRequest(properties) { + function TaskGetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45798,50 +51084,76 @@ } /** - * Creates a new OAuth2MetadataRequest instance using the specified properties. + * TaskGetResponse state. + * @member {flyteidl.service.State} state + * @memberof flyteidl.service.TaskGetResponse + * @instance + */ + TaskGetResponse.prototype.state = 0; + + /** + * TaskGetResponse outputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputs + * @memberof flyteidl.service.TaskGetResponse + * @instance + */ + TaskGetResponse.prototype.outputs = null; + + /** + * Creates a new TaskGetResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.OAuth2MetadataRequest + * @memberof flyteidl.service.TaskGetResponse * @static - * @param {flyteidl.service.IOAuth2MetadataRequest=} [properties] Properties to set - * @returns {flyteidl.service.OAuth2MetadataRequest} OAuth2MetadataRequest instance + * @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set + * @returns {flyteidl.service.TaskGetResponse} TaskGetResponse instance */ - OAuth2MetadataRequest.create = function create(properties) { - return new OAuth2MetadataRequest(properties); + TaskGetResponse.create = function create(properties) { + return new TaskGetResponse(properties); }; /** - * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages. + * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.OAuth2MetadataRequest + * @memberof flyteidl.service.TaskGetResponse * @static - * @param {flyteidl.service.IOAuth2MetadataRequest} message OAuth2MetadataRequest message or plain object to encode + * @param {flyteidl.service.ITaskGetResponse} message TaskGetResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - OAuth2MetadataRequest.encode = function encode(message, writer) { + TaskGetResponse.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.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.core.LiteralMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a OAuth2MetadataRequest message from the specified reader or buffer. + * Decodes a TaskGetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.OAuth2MetadataRequest + * @memberof flyteidl.service.TaskGetResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.OAuth2MetadataRequest} OAuth2MetadataRequest + * @returns {flyteidl.service.TaskGetResponse} TaskGetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OAuth2MetadataRequest.decode = function decode(reader, length) { + TaskGetResponse.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.service.OAuth2MetadataRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskGetResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.state = reader.int32(); + break; + case 2: + message.outputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -45851,54 +51163,57 @@ }; /** - * Verifies a OAuth2MetadataRequest message. + * Verifies a TaskGetResponse message. * @function verify - * @memberof flyteidl.service.OAuth2MetadataRequest + * @memberof flyteidl.service.TaskGetResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OAuth2MetadataRequest.verify = function verify(message) { + TaskGetResponse.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: + case 2: + case 3: + case 4: + break; + } + if (message.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputs); + if (error) + return "outputs." + error; + } return null; }; - return OAuth2MetadataRequest; + return TaskGetResponse; })(); - service.OAuth2MetadataResponse = (function() { + service.TaskDeleteRequest = (function() { /** - * Properties of a OAuth2MetadataResponse. + * Properties of a TaskDeleteRequest. * @memberof flyteidl.service - * @interface IOAuth2MetadataResponse - * @property {string|null} [issuer] OAuth2MetadataResponse issuer - * @property {string|null} [authorizationEndpoint] OAuth2MetadataResponse authorizationEndpoint - * @property {string|null} [tokenEndpoint] OAuth2MetadataResponse tokenEndpoint - * @property {Array.|null} [responseTypesSupported] OAuth2MetadataResponse responseTypesSupported - * @property {Array.|null} [scopesSupported] OAuth2MetadataResponse scopesSupported - * @property {Array.|null} [tokenEndpointAuthMethodsSupported] OAuth2MetadataResponse tokenEndpointAuthMethodsSupported - * @property {string|null} [jwksUri] OAuth2MetadataResponse jwksUri - * @property {Array.|null} [codeChallengeMethodsSupported] OAuth2MetadataResponse codeChallengeMethodsSupported - * @property {Array.|null} [grantTypesSupported] OAuth2MetadataResponse grantTypesSupported - * @property {string|null} [deviceAuthorizationEndpoint] OAuth2MetadataResponse deviceAuthorizationEndpoint + * @interface ITaskDeleteRequest + * @property {string|null} [taskType] TaskDeleteRequest taskType + * @property {string|null} [jobId] TaskDeleteRequest jobId */ /** - * Constructs a new OAuth2MetadataResponse. + * Constructs a new TaskDeleteRequest. * @memberof flyteidl.service - * @classdesc Represents a OAuth2MetadataResponse. - * @implements IOAuth2MetadataResponse + * @classdesc Represents a TaskDeleteRequest. + * @implements ITaskDeleteRequest * @constructor - * @param {flyteidl.service.IOAuth2MetadataResponse=} [properties] Properties to set + * @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set */ - function OAuth2MetadataResponse(properties) { - this.responseTypesSupported = []; - this.scopesSupported = []; - this.tokenEndpointAuthMethodsSupported = []; - this.codeChallengeMethodsSupported = []; - this.grantTypesSupported = []; + function TaskDeleteRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45906,195 +51221,175 @@ } /** - * OAuth2MetadataResponse issuer. - * @member {string} issuer - * @memberof flyteidl.service.OAuth2MetadataResponse + * TaskDeleteRequest taskType. + * @member {string} taskType + * @memberof flyteidl.service.TaskDeleteRequest * @instance */ - OAuth2MetadataResponse.prototype.issuer = ""; + TaskDeleteRequest.prototype.taskType = ""; /** - * OAuth2MetadataResponse authorizationEndpoint. - * @member {string} authorizationEndpoint - * @memberof flyteidl.service.OAuth2MetadataResponse + * TaskDeleteRequest jobId. + * @member {string} jobId + * @memberof flyteidl.service.TaskDeleteRequest * @instance */ - OAuth2MetadataResponse.prototype.authorizationEndpoint = ""; + TaskDeleteRequest.prototype.jobId = ""; /** - * OAuth2MetadataResponse tokenEndpoint. - * @member {string} tokenEndpoint - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance + * Creates a new TaskDeleteRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest instance */ - OAuth2MetadataResponse.prototype.tokenEndpoint = ""; + TaskDeleteRequest.create = function create(properties) { + return new TaskDeleteRequest(properties); + }; /** - * OAuth2MetadataResponse responseTypesSupported. - * @member {Array.} responseTypesSupported - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance + * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {flyteidl.service.ITaskDeleteRequest} message TaskDeleteRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - OAuth2MetadataResponse.prototype.responseTypesSupported = $util.emptyArray; + TaskDeleteRequest.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.jobId != null && message.hasOwnProperty("jobId")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId); + return writer; + }; /** - * OAuth2MetadataResponse scopesSupported. - * @member {Array.} scopesSupported - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance + * Decodes a TaskDeleteRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OAuth2MetadataResponse.prototype.scopesSupported = $util.emptyArray; + TaskDeleteRequest.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.service.TaskDeleteRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskType = reader.string(); + break; + case 2: + message.jobId = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. - * @member {Array.} tokenEndpointAuthMethodsSupported - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance + * Verifies a TaskDeleteRequest message. + * @function verify + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OAuth2MetadataResponse.prototype.tokenEndpointAuthMethodsSupported = $util.emptyArray; + TaskDeleteRequest.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.jobId != null && message.hasOwnProperty("jobId")) + if (!$util.isString(message.jobId)) + return "jobId: string expected"; + return null; + }; - /** - * OAuth2MetadataResponse jwksUri. - * @member {string} jwksUri - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance - */ - OAuth2MetadataResponse.prototype.jwksUri = ""; + return TaskDeleteRequest; + })(); - /** - * OAuth2MetadataResponse codeChallengeMethodsSupported. - * @member {Array.} codeChallengeMethodsSupported - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance - */ - OAuth2MetadataResponse.prototype.codeChallengeMethodsSupported = $util.emptyArray; + service.TaskDeleteResponse = (function() { /** - * OAuth2MetadataResponse grantTypesSupported. - * @member {Array.} grantTypesSupported - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance + * Properties of a TaskDeleteResponse. + * @memberof flyteidl.service + * @interface ITaskDeleteResponse */ - OAuth2MetadataResponse.prototype.grantTypesSupported = $util.emptyArray; /** - * OAuth2MetadataResponse deviceAuthorizationEndpoint. - * @member {string} deviceAuthorizationEndpoint - * @memberof flyteidl.service.OAuth2MetadataResponse - * @instance + * Constructs a new TaskDeleteResponse. + * @memberof flyteidl.service + * @classdesc Represents a TaskDeleteResponse. + * @implements ITaskDeleteResponse + * @constructor + * @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set */ - OAuth2MetadataResponse.prototype.deviceAuthorizationEndpoint = ""; + function TaskDeleteResponse(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 OAuth2MetadataResponse instance using the specified properties. + * Creates a new TaskDeleteResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.OAuth2MetadataResponse + * @memberof flyteidl.service.TaskDeleteResponse * @static - * @param {flyteidl.service.IOAuth2MetadataResponse=} [properties] Properties to set - * @returns {flyteidl.service.OAuth2MetadataResponse} OAuth2MetadataResponse instance + * @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse instance */ - OAuth2MetadataResponse.create = function create(properties) { - return new OAuth2MetadataResponse(properties); + TaskDeleteResponse.create = function create(properties) { + return new TaskDeleteResponse(properties); }; /** - * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages. + * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.OAuth2MetadataResponse + * @memberof flyteidl.service.TaskDeleteResponse * @static - * @param {flyteidl.service.IOAuth2MetadataResponse} message OAuth2MetadataResponse message or plain object to encode + * @param {flyteidl.service.ITaskDeleteResponse} message TaskDeleteResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - OAuth2MetadataResponse.encode = function encode(message, writer) { + TaskDeleteResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.issuer != null && message.hasOwnProperty("issuer")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.issuer); - if (message.authorizationEndpoint != null && message.hasOwnProperty("authorizationEndpoint")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.authorizationEndpoint); - if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.tokenEndpoint); - if (message.responseTypesSupported != null && message.responseTypesSupported.length) - for (var i = 0; i < message.responseTypesSupported.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.responseTypesSupported[i]); - if (message.scopesSupported != null && message.scopesSupported.length) - for (var i = 0; i < message.scopesSupported.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.scopesSupported[i]); - if (message.tokenEndpointAuthMethodsSupported != null && message.tokenEndpointAuthMethodsSupported.length) - for (var i = 0; i < message.tokenEndpointAuthMethodsSupported.length; ++i) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.tokenEndpointAuthMethodsSupported[i]); - if (message.jwksUri != null && message.hasOwnProperty("jwksUri")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.jwksUri); - if (message.codeChallengeMethodsSupported != null && message.codeChallengeMethodsSupported.length) - for (var i = 0; i < message.codeChallengeMethodsSupported.length; ++i) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.codeChallengeMethodsSupported[i]); - if (message.grantTypesSupported != null && message.grantTypesSupported.length) - for (var i = 0; i < message.grantTypesSupported.length; ++i) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.grantTypesSupported[i]); - if (message.deviceAuthorizationEndpoint != null && message.hasOwnProperty("deviceAuthorizationEndpoint")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.deviceAuthorizationEndpoint); return writer; }; /** - * Decodes a OAuth2MetadataResponse message from the specified reader or buffer. + * Decodes a TaskDeleteResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.OAuth2MetadataResponse + * @memberof flyteidl.service.TaskDeleteResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.OAuth2MetadataResponse} OAuth2MetadataResponse + * @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OAuth2MetadataResponse.decode = function decode(reader, length) { + TaskDeleteResponse.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.service.OAuth2MetadataResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskDeleteResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.issuer = reader.string(); - break; - case 2: - message.authorizationEndpoint = reader.string(); - break; - case 3: - message.tokenEndpoint = reader.string(); - break; - case 4: - if (!(message.responseTypesSupported && message.responseTypesSupported.length)) - message.responseTypesSupported = []; - message.responseTypesSupported.push(reader.string()); - break; - case 5: - if (!(message.scopesSupported && message.scopesSupported.length)) - message.scopesSupported = []; - message.scopesSupported.push(reader.string()); - break; - case 6: - if (!(message.tokenEndpointAuthMethodsSupported && message.tokenEndpointAuthMethodsSupported.length)) - message.tokenEndpointAuthMethodsSupported = []; - message.tokenEndpointAuthMethodsSupported.push(reader.string()); - break; - case 7: - message.jwksUri = reader.string(); - break; - case 8: - if (!(message.codeChallengeMethodsSupported && message.codeChallengeMethodsSupported.length)) - message.codeChallengeMethodsSupported = []; - message.codeChallengeMethodsSupported.push(reader.string()); - break; - case 9: - if (!(message.grantTypesSupported && message.grantTypesSupported.length)) - message.grantTypesSupported = []; - message.grantTypesSupported.push(reader.string()); - break; - case 10: - message.deviceAuthorizationEndpoint = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -46104,89 +51399,39 @@ }; /** - * Verifies a OAuth2MetadataResponse message. + * Verifies a TaskDeleteResponse message. * @function verify - * @memberof flyteidl.service.OAuth2MetadataResponse + * @memberof flyteidl.service.TaskDeleteResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OAuth2MetadataResponse.verify = function verify(message) { + TaskDeleteResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.issuer != null && message.hasOwnProperty("issuer")) - if (!$util.isString(message.issuer)) - return "issuer: string expected"; - if (message.authorizationEndpoint != null && message.hasOwnProperty("authorizationEndpoint")) - if (!$util.isString(message.authorizationEndpoint)) - return "authorizationEndpoint: string expected"; - if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) - if (!$util.isString(message.tokenEndpoint)) - return "tokenEndpoint: string expected"; - if (message.responseTypesSupported != null && message.hasOwnProperty("responseTypesSupported")) { - if (!Array.isArray(message.responseTypesSupported)) - return "responseTypesSupported: array expected"; - for (var i = 0; i < message.responseTypesSupported.length; ++i) - if (!$util.isString(message.responseTypesSupported[i])) - return "responseTypesSupported: string[] expected"; - } - if (message.scopesSupported != null && message.hasOwnProperty("scopesSupported")) { - if (!Array.isArray(message.scopesSupported)) - return "scopesSupported: array expected"; - for (var i = 0; i < message.scopesSupported.length; ++i) - if (!$util.isString(message.scopesSupported[i])) - return "scopesSupported: string[] expected"; - } - if (message.tokenEndpointAuthMethodsSupported != null && message.hasOwnProperty("tokenEndpointAuthMethodsSupported")) { - if (!Array.isArray(message.tokenEndpointAuthMethodsSupported)) - return "tokenEndpointAuthMethodsSupported: array expected"; - for (var i = 0; i < message.tokenEndpointAuthMethodsSupported.length; ++i) - if (!$util.isString(message.tokenEndpointAuthMethodsSupported[i])) - return "tokenEndpointAuthMethodsSupported: string[] expected"; - } - if (message.jwksUri != null && message.hasOwnProperty("jwksUri")) - if (!$util.isString(message.jwksUri)) - return "jwksUri: string expected"; - if (message.codeChallengeMethodsSupported != null && message.hasOwnProperty("codeChallengeMethodsSupported")) { - if (!Array.isArray(message.codeChallengeMethodsSupported)) - return "codeChallengeMethodsSupported: array expected"; - for (var i = 0; i < message.codeChallengeMethodsSupported.length; ++i) - if (!$util.isString(message.codeChallengeMethodsSupported[i])) - return "codeChallengeMethodsSupported: string[] expected"; - } - if (message.grantTypesSupported != null && message.hasOwnProperty("grantTypesSupported")) { - if (!Array.isArray(message.grantTypesSupported)) - return "grantTypesSupported: array expected"; - for (var i = 0; i < message.grantTypesSupported.length; ++i) - if (!$util.isString(message.grantTypesSupported[i])) - return "grantTypesSupported: string[] expected"; - } - if (message.deviceAuthorizationEndpoint != null && message.hasOwnProperty("deviceAuthorizationEndpoint")) - if (!$util.isString(message.deviceAuthorizationEndpoint)) - return "deviceAuthorizationEndpoint: string expected"; return null; }; - return OAuth2MetadataResponse; + return TaskDeleteResponse; })(); - service.PublicClientAuthConfigRequest = (function() { + service.UserInfoRequest = (function() { /** - * Properties of a PublicClientAuthConfigRequest. + * Properties of a UserInfoRequest. * @memberof flyteidl.service - * @interface IPublicClientAuthConfigRequest + * @interface IUserInfoRequest */ /** - * Constructs a new PublicClientAuthConfigRequest. + * Constructs a new UserInfoRequest. * @memberof flyteidl.service - * @classdesc Represents a PublicClientAuthConfigRequest. - * @implements IPublicClientAuthConfigRequest + * @classdesc Represents a UserInfoRequest. + * @implements IUserInfoRequest * @constructor - * @param {flyteidl.service.IPublicClientAuthConfigRequest=} [properties] Properties to set + * @param {flyteidl.service.IUserInfoRequest=} [properties] Properties to set */ - function PublicClientAuthConfigRequest(properties) { + function UserInfoRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46194,47 +51439,47 @@ } /** - * Creates a new PublicClientAuthConfigRequest instance using the specified properties. + * Creates a new UserInfoRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @memberof flyteidl.service.UserInfoRequest * @static - * @param {flyteidl.service.IPublicClientAuthConfigRequest=} [properties] Properties to set - * @returns {flyteidl.service.PublicClientAuthConfigRequest} PublicClientAuthConfigRequest instance + * @param {flyteidl.service.IUserInfoRequest=} [properties] Properties to set + * @returns {flyteidl.service.UserInfoRequest} UserInfoRequest instance */ - PublicClientAuthConfigRequest.create = function create(properties) { - return new PublicClientAuthConfigRequest(properties); + UserInfoRequest.create = function create(properties) { + return new UserInfoRequest(properties); }; /** - * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages. + * Encodes the specified UserInfoRequest message. Does not implicitly {@link flyteidl.service.UserInfoRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @memberof flyteidl.service.UserInfoRequest * @static - * @param {flyteidl.service.IPublicClientAuthConfigRequest} message PublicClientAuthConfigRequest message or plain object to encode + * @param {flyteidl.service.IUserInfoRequest} message UserInfoRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PublicClientAuthConfigRequest.encode = function encode(message, writer) { + UserInfoRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); return writer; }; /** - * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer. + * Decodes a UserInfoRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @memberof flyteidl.service.UserInfoRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.PublicClientAuthConfigRequest} PublicClientAuthConfigRequest + * @returns {flyteidl.service.UserInfoRequest} UserInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PublicClientAuthConfigRequest.decode = function decode(reader, length) { + UserInfoRequest.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.service.PublicClientAuthConfigRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.UserInfoRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { @@ -46247,46 +51492,47 @@ }; /** - * Verifies a PublicClientAuthConfigRequest message. + * Verifies a UserInfoRequest message. * @function verify - * @memberof flyteidl.service.PublicClientAuthConfigRequest + * @memberof flyteidl.service.UserInfoRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PublicClientAuthConfigRequest.verify = function verify(message) { + UserInfoRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; return null; }; - return PublicClientAuthConfigRequest; + return UserInfoRequest; })(); - service.PublicClientAuthConfigResponse = (function() { + service.UserInfoResponse = (function() { /** - * Properties of a PublicClientAuthConfigResponse. + * Properties of a UserInfoResponse. * @memberof flyteidl.service - * @interface IPublicClientAuthConfigResponse - * @property {string|null} [clientId] PublicClientAuthConfigResponse clientId - * @property {string|null} [redirectUri] PublicClientAuthConfigResponse redirectUri - * @property {Array.|null} [scopes] PublicClientAuthConfigResponse scopes - * @property {string|null} [authorizationMetadataKey] PublicClientAuthConfigResponse authorizationMetadataKey - * @property {string|null} [serviceHttpEndpoint] PublicClientAuthConfigResponse serviceHttpEndpoint - * @property {string|null} [audience] PublicClientAuthConfigResponse audience + * @interface IUserInfoResponse + * @property {string|null} [subject] UserInfoResponse subject + * @property {string|null} [name] UserInfoResponse name + * @property {string|null} [preferredUsername] UserInfoResponse preferredUsername + * @property {string|null} [givenName] UserInfoResponse givenName + * @property {string|null} [familyName] UserInfoResponse familyName + * @property {string|null} [email] UserInfoResponse email + * @property {string|null} [picture] UserInfoResponse picture + * @property {google.protobuf.IStruct|null} [additionalClaims] UserInfoResponse additionalClaims */ /** - * Constructs a new PublicClientAuthConfigResponse. + * Constructs a new UserInfoResponse. * @memberof flyteidl.service - * @classdesc Represents a PublicClientAuthConfigResponse. - * @implements IPublicClientAuthConfigResponse + * @classdesc Represents a UserInfoResponse. + * @implements IUserInfoResponse * @constructor - * @param {flyteidl.service.IPublicClientAuthConfigResponse=} [properties] Properties to set + * @param {flyteidl.service.IUserInfoResponse=} [properties] Properties to set */ - function PublicClientAuthConfigResponse(properties) { - this.scopes = []; + function UserInfoResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46294,130 +51540,153 @@ } /** - * PublicClientAuthConfigResponse clientId. - * @member {string} clientId - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * UserInfoResponse subject. + * @member {string} subject + * @memberof flyteidl.service.UserInfoResponse * @instance */ - PublicClientAuthConfigResponse.prototype.clientId = ""; + UserInfoResponse.prototype.subject = ""; /** - * PublicClientAuthConfigResponse redirectUri. - * @member {string} redirectUri - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * UserInfoResponse name. + * @member {string} name + * @memberof flyteidl.service.UserInfoResponse * @instance */ - PublicClientAuthConfigResponse.prototype.redirectUri = ""; + UserInfoResponse.prototype.name = ""; /** - * PublicClientAuthConfigResponse scopes. - * @member {Array.} scopes - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * UserInfoResponse preferredUsername. + * @member {string} preferredUsername + * @memberof flyteidl.service.UserInfoResponse * @instance */ - PublicClientAuthConfigResponse.prototype.scopes = $util.emptyArray; + UserInfoResponse.prototype.preferredUsername = ""; /** - * PublicClientAuthConfigResponse authorizationMetadataKey. - * @member {string} authorizationMetadataKey - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * UserInfoResponse givenName. + * @member {string} givenName + * @memberof flyteidl.service.UserInfoResponse * @instance */ - PublicClientAuthConfigResponse.prototype.authorizationMetadataKey = ""; + UserInfoResponse.prototype.givenName = ""; /** - * PublicClientAuthConfigResponse serviceHttpEndpoint. - * @member {string} serviceHttpEndpoint - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * UserInfoResponse familyName. + * @member {string} familyName + * @memberof flyteidl.service.UserInfoResponse * @instance */ - PublicClientAuthConfigResponse.prototype.serviceHttpEndpoint = ""; + UserInfoResponse.prototype.familyName = ""; /** - * PublicClientAuthConfigResponse audience. - * @member {string} audience - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * UserInfoResponse email. + * @member {string} email + * @memberof flyteidl.service.UserInfoResponse * @instance */ - PublicClientAuthConfigResponse.prototype.audience = ""; + UserInfoResponse.prototype.email = ""; /** - * Creates a new PublicClientAuthConfigResponse instance using the specified properties. + * UserInfoResponse picture. + * @member {string} picture + * @memberof flyteidl.service.UserInfoResponse + * @instance + */ + UserInfoResponse.prototype.picture = ""; + + /** + * UserInfoResponse additionalClaims. + * @member {google.protobuf.IStruct|null|undefined} additionalClaims + * @memberof flyteidl.service.UserInfoResponse + * @instance + */ + UserInfoResponse.prototype.additionalClaims = null; + + /** + * Creates a new UserInfoResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @memberof flyteidl.service.UserInfoResponse * @static - * @param {flyteidl.service.IPublicClientAuthConfigResponse=} [properties] Properties to set - * @returns {flyteidl.service.PublicClientAuthConfigResponse} PublicClientAuthConfigResponse instance + * @param {flyteidl.service.IUserInfoResponse=} [properties] Properties to set + * @returns {flyteidl.service.UserInfoResponse} UserInfoResponse instance */ - PublicClientAuthConfigResponse.create = function create(properties) { - return new PublicClientAuthConfigResponse(properties); + UserInfoResponse.create = function create(properties) { + return new UserInfoResponse(properties); }; /** - * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages. + * Encodes the specified UserInfoResponse message. Does not implicitly {@link flyteidl.service.UserInfoResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @memberof flyteidl.service.UserInfoResponse * @static - * @param {flyteidl.service.IPublicClientAuthConfigResponse} message PublicClientAuthConfigResponse message or plain object to encode + * @param {flyteidl.service.IUserInfoResponse} message UserInfoResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PublicClientAuthConfigResponse.encode = function encode(message, writer) { + UserInfoResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.clientId != null && message.hasOwnProperty("clientId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.clientId); - if (message.redirectUri != null && message.hasOwnProperty("redirectUri")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.redirectUri); - if (message.scopes != null && message.scopes.length) - for (var i = 0; i < message.scopes.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.scopes[i]); - if (message.authorizationMetadataKey != null && message.hasOwnProperty("authorizationMetadataKey")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.authorizationMetadataKey); - if (message.serviceHttpEndpoint != null && message.hasOwnProperty("serviceHttpEndpoint")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.serviceHttpEndpoint); - if (message.audience != null && message.hasOwnProperty("audience")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.audience); + if (message.subject != null && message.hasOwnProperty("subject")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.subject); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.preferredUsername != null && message.hasOwnProperty("preferredUsername")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.preferredUsername); + if (message.givenName != null && message.hasOwnProperty("givenName")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.givenName); + if (message.familyName != null && message.hasOwnProperty("familyName")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.familyName); + if (message.email != null && message.hasOwnProperty("email")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.email); + if (message.picture != null && message.hasOwnProperty("picture")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.picture); + if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims")) + $root.google.protobuf.Struct.encode(message.additionalClaims, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer. + * Decodes a UserInfoResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @memberof flyteidl.service.UserInfoResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.PublicClientAuthConfigResponse} PublicClientAuthConfigResponse + * @returns {flyteidl.service.UserInfoResponse} UserInfoResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PublicClientAuthConfigResponse.decode = function decode(reader, length) { + UserInfoResponse.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.service.PublicClientAuthConfigResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.UserInfoResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.clientId = reader.string(); + message.subject = reader.string(); break; case 2: - message.redirectUri = reader.string(); + message.name = reader.string(); break; case 3: - if (!(message.scopes && message.scopes.length)) - message.scopes = []; - message.scopes.push(reader.string()); + message.preferredUsername = reader.string(); break; case 4: - message.authorizationMetadataKey = reader.string(); + message.givenName = reader.string(); break; case 5: - message.serviceHttpEndpoint = reader.string(); + message.familyName = reader.string(); break; case 6: - message.audience = reader.string(); + message.email = reader.string(); + break; + case 7: + message.picture = reader.string(); + break; + case 8: + message.additionalClaims = $root.google.protobuf.Struct.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -46428,165 +51697,441 @@ }; /** - * Verifies a PublicClientAuthConfigResponse message. + * Verifies a UserInfoResponse message. * @function verify - * @memberof flyteidl.service.PublicClientAuthConfigResponse + * @memberof flyteidl.service.UserInfoResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PublicClientAuthConfigResponse.verify = function verify(message) { + UserInfoResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.clientId != null && message.hasOwnProperty("clientId")) - if (!$util.isString(message.clientId)) - return "clientId: string expected"; - if (message.redirectUri != null && message.hasOwnProperty("redirectUri")) - if (!$util.isString(message.redirectUri)) - return "redirectUri: string expected"; - if (message.scopes != null && message.hasOwnProperty("scopes")) { - if (!Array.isArray(message.scopes)) - return "scopes: array expected"; - for (var i = 0; i < message.scopes.length; ++i) - if (!$util.isString(message.scopes[i])) - return "scopes: string[] expected"; + if (message.subject != null && message.hasOwnProperty("subject")) + if (!$util.isString(message.subject)) + return "subject: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.preferredUsername != null && message.hasOwnProperty("preferredUsername")) + if (!$util.isString(message.preferredUsername)) + return "preferredUsername: string expected"; + if (message.givenName != null && message.hasOwnProperty("givenName")) + if (!$util.isString(message.givenName)) + return "givenName: string expected"; + if (message.familyName != null && message.hasOwnProperty("familyName")) + if (!$util.isString(message.familyName)) + return "familyName: string expected"; + if (message.email != null && message.hasOwnProperty("email")) + if (!$util.isString(message.email)) + return "email: string expected"; + if (message.picture != null && message.hasOwnProperty("picture")) + if (!$util.isString(message.picture)) + return "picture: string expected"; + if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims")) { + var error = $root.google.protobuf.Struct.verify(message.additionalClaims); + if (error) + return "additionalClaims." + error; } - if (message.authorizationMetadataKey != null && message.hasOwnProperty("authorizationMetadataKey")) - if (!$util.isString(message.authorizationMetadataKey)) - return "authorizationMetadataKey: string expected"; - if (message.serviceHttpEndpoint != null && message.hasOwnProperty("serviceHttpEndpoint")) - if (!$util.isString(message.serviceHttpEndpoint)) - return "serviceHttpEndpoint: string expected"; - if (message.audience != null && message.hasOwnProperty("audience")) - if (!$util.isString(message.audience)) - return "audience: string expected"; return null; }; - return PublicClientAuthConfigResponse; + return UserInfoResponse; })(); - service.AuthMetadataService = (function() { + service.IdentityService = (function() { /** - * Constructs a new AuthMetadataService service. + * Constructs a new IdentityService service. * @memberof flyteidl.service - * @classdesc Represents an AuthMetadataService + * @classdesc Represents an IdentityService * @extends $protobuf.rpc.Service * @constructor * @param {$protobuf.RPCImpl} rpcImpl RPC implementation * @param {boolean} [requestDelimited=false] Whether requests are length-delimited * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ - function AuthMetadataService(rpcImpl, requestDelimited, responseDelimited) { + function IdentityService(rpcImpl, requestDelimited, responseDelimited) { $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); } - (AuthMetadataService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AuthMetadataService; + (IdentityService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = IdentityService; /** - * Creates new AuthMetadataService service using the specified rpc implementation. + * Creates new IdentityService service using the specified rpc implementation. * @function create - * @memberof flyteidl.service.AuthMetadataService + * @memberof flyteidl.service.IdentityService * @static * @param {$protobuf.RPCImpl} rpcImpl RPC implementation * @param {boolean} [requestDelimited=false] Whether requests are length-delimited * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {AuthMetadataService} RPC service. Useful where requests and/or responses are streamed. + * @returns {IdentityService} RPC service. Useful where requests and/or responses are streamed. */ - AuthMetadataService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + IdentityService.create = function create(rpcImpl, requestDelimited, responseDelimited) { return new this(rpcImpl, requestDelimited, responseDelimited); }; /** - * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}. - * @memberof flyteidl.service.AuthMetadataService - * @typedef GetOAuth2MetadataCallback + * Callback as used by {@link flyteidl.service.IdentityService#userInfo}. + * @memberof flyteidl.service.IdentityService + * @typedef UserInfoCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.service.OAuth2MetadataResponse} [response] OAuth2MetadataResponse + * @param {flyteidl.service.UserInfoResponse} [response] UserInfoResponse */ /** - * Calls GetOAuth2Metadata. - * @function getOAuth2Metadata - * @memberof flyteidl.service.AuthMetadataService + * Calls UserInfo. + * @function userInfo + * @memberof flyteidl.service.IdentityService * @instance - * @param {flyteidl.service.IOAuth2MetadataRequest} request OAuth2MetadataRequest message or plain object - * @param {flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback} callback Node-style callback called with the error, if any, and OAuth2MetadataResponse + * @param {flyteidl.service.IUserInfoRequest} request UserInfoRequest message or plain object + * @param {flyteidl.service.IdentityService.UserInfoCallback} callback Node-style callback called with the error, if any, and UserInfoResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(AuthMetadataService.prototype.getOAuth2Metadata = function getOAuth2Metadata(request, callback) { - return this.rpcCall(getOAuth2Metadata, $root.flyteidl.service.OAuth2MetadataRequest, $root.flyteidl.service.OAuth2MetadataResponse, request, callback); - }, "name", { value: "GetOAuth2Metadata" }); + Object.defineProperty(IdentityService.prototype.userInfo = function userInfo(request, callback) { + return this.rpcCall(userInfo, $root.flyteidl.service.UserInfoRequest, $root.flyteidl.service.UserInfoResponse, request, callback); + }, "name", { value: "UserInfo" }); /** - * Calls GetOAuth2Metadata. - * @function getOAuth2Metadata - * @memberof flyteidl.service.AuthMetadataService + * Calls UserInfo. + * @function userInfo + * @memberof flyteidl.service.IdentityService * @instance - * @param {flyteidl.service.IOAuth2MetadataRequest} request OAuth2MetadataRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.service.IUserInfoRequest} request UserInfoRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ + return IdentityService; + })(); + + service.SignalService = (function() { + /** - * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}. - * @memberof flyteidl.service.AuthMetadataService - * @typedef GetPublicClientConfigCallback + * Constructs a new SignalService service. + * @memberof flyteidl.service + * @classdesc Represents a SignalService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function SignalService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (SignalService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = SignalService; + + /** + * Creates new SignalService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.SignalService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {SignalService} RPC service. Useful where requests and/or responses are streamed. + */ + SignalService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link flyteidl.service.SignalService#getOrCreateSignal}. + * @memberof flyteidl.service.SignalService + * @typedef GetOrCreateSignalCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.service.PublicClientAuthConfigResponse} [response] PublicClientAuthConfigResponse + * @param {flyteidl.admin.Signal} [response] Signal + */ + + /** + * Calls GetOrCreateSignal. + * @function getOrCreateSignal + * @memberof flyteidl.service.SignalService + * @instance + * @param {flyteidl.admin.ISignalGetOrCreateRequest} request SignalGetOrCreateRequest message or plain object + * @param {flyteidl.service.SignalService.GetOrCreateSignalCallback} callback Node-style callback called with the error, if any, and Signal + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SignalService.prototype.getOrCreateSignal = function getOrCreateSignal(request, callback) { + return this.rpcCall(getOrCreateSignal, $root.flyteidl.admin.SignalGetOrCreateRequest, $root.flyteidl.admin.Signal, request, callback); + }, "name", { value: "GetOrCreateSignal" }); + + /** + * Calls GetOrCreateSignal. + * @function getOrCreateSignal + * @memberof flyteidl.service.SignalService + * @instance + * @param {flyteidl.admin.ISignalGetOrCreateRequest} request SignalGetOrCreateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.SignalService#listSignals}. + * @memberof flyteidl.service.SignalService + * @typedef ListSignalsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.SignalList} [response] SignalList + */ + + /** + * Calls ListSignals. + * @function listSignals + * @memberof flyteidl.service.SignalService + * @instance + * @param {flyteidl.admin.ISignalListRequest} request SignalListRequest message or plain object + * @param {flyteidl.service.SignalService.ListSignalsCallback} callback Node-style callback called with the error, if any, and SignalList + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SignalService.prototype.listSignals = function listSignals(request, callback) { + return this.rpcCall(listSignals, $root.flyteidl.admin.SignalListRequest, $root.flyteidl.admin.SignalList, request, callback); + }, "name", { value: "ListSignals" }); + + /** + * Calls ListSignals. + * @function listSignals + * @memberof flyteidl.service.SignalService + * @instance + * @param {flyteidl.admin.ISignalListRequest} request SignalListRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.SignalService#setSignal}. + * @memberof flyteidl.service.SignalService + * @typedef SetSignalCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.SignalSetResponse} [response] SignalSetResponse + */ + + /** + * Calls SetSignal. + * @function setSignal + * @memberof flyteidl.service.SignalService + * @instance + * @param {flyteidl.admin.ISignalSetRequest} request SignalSetRequest message or plain object + * @param {flyteidl.service.SignalService.SetSignalCallback} callback Node-style callback called with the error, if any, and SignalSetResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SignalService.prototype.setSignal = function setSignal(request, callback) { + return this.rpcCall(setSignal, $root.flyteidl.admin.SignalSetRequest, $root.flyteidl.admin.SignalSetResponse, request, callback); + }, "name", { value: "SetSignal" }); + + /** + * Calls SetSignal. + * @function setSignal + * @memberof flyteidl.service.SignalService + * @instance + * @param {flyteidl.admin.ISignalSetRequest} request SignalSetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return SignalService; + })(); + + return service; + })(); + + flyteidl.artifact = (function() { + + /** + * Namespace artifact. + * @memberof flyteidl + * @namespace + */ + var artifact = {}; + + artifact.Artifact = (function() { + + /** + * Properties of an Artifact. + * @memberof flyteidl.artifact + * @interface IArtifact + * @property {flyteidl.core.IArtifactID|null} [artifactId] Artifact artifactId + * @property {flyteidl.artifact.IArtifactSpec|null} [spec] Artifact spec + * @property {Array.|null} [tags] Artifact tags + */ + + /** + * Constructs a new Artifact. + * @memberof flyteidl.artifact + * @classdesc Represents an Artifact. + * @implements IArtifact + * @constructor + * @param {flyteidl.artifact.IArtifact=} [properties] Properties to set + */ + function Artifact(properties) { + this.tags = []; + 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]]; + } + + /** + * Artifact artifactId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactId + * @memberof flyteidl.artifact.Artifact + * @instance + */ + Artifact.prototype.artifactId = null; + + /** + * Artifact spec. + * @member {flyteidl.artifact.IArtifactSpec|null|undefined} spec + * @memberof flyteidl.artifact.Artifact + * @instance + */ + Artifact.prototype.spec = null; + + /** + * Artifact tags. + * @member {Array.} tags + * @memberof flyteidl.artifact.Artifact + * @instance + */ + Artifact.prototype.tags = $util.emptyArray; + + /** + * Creates a new Artifact instance using the specified properties. + * @function create + * @memberof flyteidl.artifact.Artifact + * @static + * @param {flyteidl.artifact.IArtifact=} [properties] Properties to set + * @returns {flyteidl.artifact.Artifact} Artifact instance + */ + Artifact.create = function create(properties) { + return new Artifact(properties); + }; + + /** + * Encodes the specified Artifact message. Does not implicitly {@link flyteidl.artifact.Artifact.verify|verify} messages. + * @function encode + * @memberof flyteidl.artifact.Artifact + * @static + * @param {flyteidl.artifact.IArtifact} message Artifact message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + Artifact.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.artifact.ArtifactSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tags != null && message.tags.length) + for (var i = 0; i < message.tags.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.tags[i]); + return writer; + }; /** - * Calls GetPublicClientConfig. - * @function getPublicClientConfig - * @memberof flyteidl.service.AuthMetadataService - * @instance - * @param {flyteidl.service.IPublicClientAuthConfigRequest} request PublicClientAuthConfigRequest message or plain object - * @param {flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback} callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse - * @returns {undefined} - * @variation 1 + * Decodes an Artifact message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.artifact.Artifact + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.artifact.Artifact} Artifact + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(AuthMetadataService.prototype.getPublicClientConfig = function getPublicClientConfig(request, callback) { - return this.rpcCall(getPublicClientConfig, $root.flyteidl.service.PublicClientAuthConfigRequest, $root.flyteidl.service.PublicClientAuthConfigResponse, request, callback); - }, "name", { value: "GetPublicClientConfig" }); + Artifact.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.artifact.Artifact(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.artifactId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); + break; + case 2: + message.spec = $root.flyteidl.artifact.ArtifactSpec.decode(reader, reader.uint32()); + break; + case 3: + if (!(message.tags && message.tags.length)) + message.tags = []; + message.tags.push(reader.string()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls GetPublicClientConfig. - * @function getPublicClientConfig - * @memberof flyteidl.service.AuthMetadataService - * @instance - * @param {flyteidl.service.IPublicClientAuthConfigRequest} request PublicClientAuthConfigRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies an Artifact message. + * @function verify + * @memberof flyteidl.artifact.Artifact + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + Artifact.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.artifactId != null && message.hasOwnProperty("artifactId")) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactId); + if (error) + return "artifactId." + error; + } + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.artifact.ArtifactSpec.verify(message.spec); + if (error) + return "spec." + 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 AuthMetadataService; + return Artifact; })(); - service.CreateUploadLocationResponse = (function() { + artifact.CreateArtifactRequest = (function() { /** - * Properties of a CreateUploadLocationResponse. - * @memberof flyteidl.service - * @interface ICreateUploadLocationResponse - * @property {string|null} [signedUrl] CreateUploadLocationResponse signedUrl - * @property {string|null} [nativeUrl] CreateUploadLocationResponse nativeUrl - * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateUploadLocationResponse expiresAt + * Properties of a CreateArtifactRequest. + * @memberof flyteidl.artifact + * @interface ICreateArtifactRequest + * @property {flyteidl.core.IArtifactKey|null} [artifactKey] CreateArtifactRequest artifactKey + * @property {string|null} [version] CreateArtifactRequest version + * @property {flyteidl.artifact.IArtifactSpec|null} [spec] CreateArtifactRequest spec + * @property {Object.|null} [partitions] CreateArtifactRequest partitions + * @property {string|null} [tag] CreateArtifactRequest tag */ /** - * Constructs a new CreateUploadLocationResponse. - * @memberof flyteidl.service - * @classdesc Represents a CreateUploadLocationResponse. - * @implements ICreateUploadLocationResponse + * Constructs a new CreateArtifactRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a CreateArtifactRequest. + * @implements ICreateArtifactRequest * @constructor - * @param {flyteidl.service.ICreateUploadLocationResponse=} [properties] Properties to set + * @param {flyteidl.artifact.ICreateArtifactRequest=} [properties] Properties to set */ - function CreateUploadLocationResponse(properties) { + function CreateArtifactRequest(properties) { + this.partitions = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46594,88 +52139,120 @@ } /** - * CreateUploadLocationResponse signedUrl. - * @member {string} signedUrl - * @memberof flyteidl.service.CreateUploadLocationResponse + * CreateArtifactRequest artifactKey. + * @member {flyteidl.core.IArtifactKey|null|undefined} artifactKey + * @memberof flyteidl.artifact.CreateArtifactRequest * @instance */ - CreateUploadLocationResponse.prototype.signedUrl = ""; + CreateArtifactRequest.prototype.artifactKey = null; /** - * CreateUploadLocationResponse nativeUrl. - * @member {string} nativeUrl - * @memberof flyteidl.service.CreateUploadLocationResponse + * CreateArtifactRequest version. + * @member {string} version + * @memberof flyteidl.artifact.CreateArtifactRequest * @instance */ - CreateUploadLocationResponse.prototype.nativeUrl = ""; + CreateArtifactRequest.prototype.version = ""; /** - * CreateUploadLocationResponse expiresAt. - * @member {google.protobuf.ITimestamp|null|undefined} expiresAt - * @memberof flyteidl.service.CreateUploadLocationResponse + * CreateArtifactRequest spec. + * @member {flyteidl.artifact.IArtifactSpec|null|undefined} spec + * @memberof flyteidl.artifact.CreateArtifactRequest * @instance */ - CreateUploadLocationResponse.prototype.expiresAt = null; + CreateArtifactRequest.prototype.spec = null; /** - * Creates a new CreateUploadLocationResponse instance using the specified properties. + * CreateArtifactRequest partitions. + * @member {Object.} partitions + * @memberof flyteidl.artifact.CreateArtifactRequest + * @instance + */ + CreateArtifactRequest.prototype.partitions = $util.emptyObject; + + /** + * CreateArtifactRequest tag. + * @member {string} tag + * @memberof flyteidl.artifact.CreateArtifactRequest + * @instance + */ + CreateArtifactRequest.prototype.tag = ""; + + /** + * Creates a new CreateArtifactRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.CreateUploadLocationResponse + * @memberof flyteidl.artifact.CreateArtifactRequest * @static - * @param {flyteidl.service.ICreateUploadLocationResponse=} [properties] Properties to set - * @returns {flyteidl.service.CreateUploadLocationResponse} CreateUploadLocationResponse instance + * @param {flyteidl.artifact.ICreateArtifactRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.CreateArtifactRequest} CreateArtifactRequest instance */ - CreateUploadLocationResponse.create = function create(properties) { - return new CreateUploadLocationResponse(properties); + CreateArtifactRequest.create = function create(properties) { + return new CreateArtifactRequest(properties); }; /** - * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages. + * Encodes the specified CreateArtifactRequest message. Does not implicitly {@link flyteidl.artifact.CreateArtifactRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.CreateUploadLocationResponse + * @memberof flyteidl.artifact.CreateArtifactRequest * @static - * @param {flyteidl.service.ICreateUploadLocationResponse} message CreateUploadLocationResponse message or plain object to encode + * @param {flyteidl.artifact.ICreateArtifactRequest} message CreateArtifactRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateUploadLocationResponse.encode = function encode(message, writer) { + CreateArtifactRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl); - if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.nativeUrl); - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) - $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) + $root.flyteidl.core.ArtifactKey.encode(message.artifactKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.artifact.ArtifactSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.version != null && message.hasOwnProperty("version")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.version); + if (message.partitions != null && message.hasOwnProperty("partitions")) + for (var keys = Object.keys(message.partitions), i = 0; i < keys.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.partitions[keys[i]]).ldelim(); + if (message.tag != null && message.hasOwnProperty("tag")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.tag); return writer; }; /** - * Decodes a CreateUploadLocationResponse message from the specified reader or buffer. + * Decodes a CreateArtifactRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.CreateUploadLocationResponse + * @memberof flyteidl.artifact.CreateArtifactRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.CreateUploadLocationResponse} CreateUploadLocationResponse + * @returns {flyteidl.artifact.CreateArtifactRequest} CreateArtifactRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateUploadLocationResponse.decode = function decode(reader, length) { + CreateArtifactRequest.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.service.CreateUploadLocationResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.CreateArtifactRequest(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.signedUrl = reader.string(); + message.artifactKey = $root.flyteidl.core.ArtifactKey.decode(reader, reader.uint32()); + break; + case 3: + message.version = reader.string(); break; case 2: - message.nativeUrl = reader.string(); + message.spec = $root.flyteidl.artifact.ArtifactSpec.decode(reader, reader.uint32()); break; - case 3: - message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + case 4: + reader.skip().pos++; + if (message.partitions === $util.emptyObject) + message.partitions = {}; + key = reader.string(); + reader.pos++; + message.partitions[key] = reader.string(); + break; + case 5: + message.tag = reader.string(); break; default: reader.skipType(tag & 7); @@ -46686,56 +52263,72 @@ }; /** - * Verifies a CreateUploadLocationResponse message. + * Verifies a CreateArtifactRequest message. * @function verify - * @memberof flyteidl.service.CreateUploadLocationResponse + * @memberof flyteidl.artifact.CreateArtifactRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateUploadLocationResponse.verify = function verify(message) { + CreateArtifactRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) - if (!$util.isString(message.signedUrl)) - return "signedUrl: string expected"; - if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) - if (!$util.isString(message.nativeUrl)) - return "nativeUrl: string expected"; - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) { + var error = $root.flyteidl.core.ArtifactKey.verify(message.artifactKey); if (error) - return "expiresAt." + error; + return "artifactKey." + error; + } + if (message.version != null && message.hasOwnProperty("version")) + if (!$util.isString(message.version)) + return "version: string expected"; + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.artifact.ArtifactSpec.verify(message.spec); + if (error) + return "spec." + error; + } + if (message.partitions != null && message.hasOwnProperty("partitions")) { + if (!$util.isObject(message.partitions)) + return "partitions: object expected"; + var key = Object.keys(message.partitions); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.partitions[key[i]])) + return "partitions: string{k:string} expected"; } + if (message.tag != null && message.hasOwnProperty("tag")) + if (!$util.isString(message.tag)) + return "tag: string expected"; return null; }; - return CreateUploadLocationResponse; + return CreateArtifactRequest; })(); - service.CreateUploadLocationRequest = (function() { + artifact.ArtifactSpec = (function() { /** - * Properties of a CreateUploadLocationRequest. - * @memberof flyteidl.service - * @interface ICreateUploadLocationRequest - * @property {string|null} [project] CreateUploadLocationRequest project - * @property {string|null} [domain] CreateUploadLocationRequest domain - * @property {string|null} [filename] CreateUploadLocationRequest filename - * @property {google.protobuf.IDuration|null} [expiresIn] CreateUploadLocationRequest expiresIn - * @property {Uint8Array|null} [contentMd5] CreateUploadLocationRequest contentMd5 - * @property {string|null} [filenameRoot] CreateUploadLocationRequest filenameRoot + * Properties of an ArtifactSpec. + * @memberof flyteidl.artifact + * @interface IArtifactSpec + * @property {flyteidl.core.ILiteral|null} [value] ArtifactSpec value + * @property {flyteidl.core.ILiteralType|null} [type] ArtifactSpec type + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecution] ArtifactSpec taskExecution + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [execution] ArtifactSpec execution + * @property {string|null} [principal] ArtifactSpec principal + * @property {string|null} [shortDescription] ArtifactSpec shortDescription + * @property {string|null} [longDescription] ArtifactSpec longDescription + * @property {google.protobuf.IAny|null} [userMetadata] ArtifactSpec userMetadata + * @property {string|null} [metadataType] ArtifactSpec metadataType */ /** - * Constructs a new CreateUploadLocationRequest. - * @memberof flyteidl.service - * @classdesc Represents a CreateUploadLocationRequest. - * @implements ICreateUploadLocationRequest + * Constructs a new ArtifactSpec. + * @memberof flyteidl.artifact + * @classdesc Represents an ArtifactSpec. + * @implements IArtifactSpec * @constructor - * @param {flyteidl.service.ICreateUploadLocationRequest=} [properties] Properties to set + * @param {flyteidl.artifact.IArtifactSpec=} [properties] Properties to set */ - function CreateUploadLocationRequest(properties) { + function ArtifactSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46743,127 +52336,166 @@ } /** - * CreateUploadLocationRequest project. - * @member {string} project - * @memberof flyteidl.service.CreateUploadLocationRequest + * ArtifactSpec value. + * @member {flyteidl.core.ILiteral|null|undefined} value + * @memberof flyteidl.artifact.ArtifactSpec * @instance */ - CreateUploadLocationRequest.prototype.project = ""; + ArtifactSpec.prototype.value = null; /** - * CreateUploadLocationRequest domain. - * @member {string} domain - * @memberof flyteidl.service.CreateUploadLocationRequest + * ArtifactSpec type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.artifact.ArtifactSpec * @instance */ - CreateUploadLocationRequest.prototype.domain = ""; + ArtifactSpec.prototype.type = null; /** - * CreateUploadLocationRequest filename. - * @member {string} filename - * @memberof flyteidl.service.CreateUploadLocationRequest + * ArtifactSpec taskExecution. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecution + * @memberof flyteidl.artifact.ArtifactSpec * @instance */ - CreateUploadLocationRequest.prototype.filename = ""; + ArtifactSpec.prototype.taskExecution = null; /** - * CreateUploadLocationRequest expiresIn. - * @member {google.protobuf.IDuration|null|undefined} expiresIn - * @memberof flyteidl.service.CreateUploadLocationRequest + * ArtifactSpec execution. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} execution + * @memberof flyteidl.artifact.ArtifactSpec * @instance */ - CreateUploadLocationRequest.prototype.expiresIn = null; + ArtifactSpec.prototype.execution = null; /** - * CreateUploadLocationRequest contentMd5. - * @member {Uint8Array} contentMd5 - * @memberof flyteidl.service.CreateUploadLocationRequest + * ArtifactSpec principal. + * @member {string} principal + * @memberof flyteidl.artifact.ArtifactSpec * @instance */ - CreateUploadLocationRequest.prototype.contentMd5 = $util.newBuffer([]); + ArtifactSpec.prototype.principal = ""; /** - * CreateUploadLocationRequest filenameRoot. - * @member {string} filenameRoot - * @memberof flyteidl.service.CreateUploadLocationRequest + * ArtifactSpec shortDescription. + * @member {string} shortDescription + * @memberof flyteidl.artifact.ArtifactSpec * @instance */ - CreateUploadLocationRequest.prototype.filenameRoot = ""; + ArtifactSpec.prototype.shortDescription = ""; /** - * Creates a new CreateUploadLocationRequest instance using the specified properties. + * ArtifactSpec longDescription. + * @member {string} longDescription + * @memberof flyteidl.artifact.ArtifactSpec + * @instance + */ + ArtifactSpec.prototype.longDescription = ""; + + /** + * ArtifactSpec userMetadata. + * @member {google.protobuf.IAny|null|undefined} userMetadata + * @memberof flyteidl.artifact.ArtifactSpec + * @instance + */ + ArtifactSpec.prototype.userMetadata = null; + + /** + * ArtifactSpec metadataType. + * @member {string} metadataType + * @memberof flyteidl.artifact.ArtifactSpec + * @instance + */ + ArtifactSpec.prototype.metadataType = ""; + + /** + * Creates a new ArtifactSpec instance using the specified properties. * @function create - * @memberof flyteidl.service.CreateUploadLocationRequest + * @memberof flyteidl.artifact.ArtifactSpec * @static - * @param {flyteidl.service.ICreateUploadLocationRequest=} [properties] Properties to set - * @returns {flyteidl.service.CreateUploadLocationRequest} CreateUploadLocationRequest instance + * @param {flyteidl.artifact.IArtifactSpec=} [properties] Properties to set + * @returns {flyteidl.artifact.ArtifactSpec} ArtifactSpec instance */ - CreateUploadLocationRequest.create = function create(properties) { - return new CreateUploadLocationRequest(properties); + ArtifactSpec.create = function create(properties) { + return new ArtifactSpec(properties); }; /** - * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages. + * Encodes the specified ArtifactSpec message. Does not implicitly {@link flyteidl.artifact.ArtifactSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.service.CreateUploadLocationRequest + * @memberof flyteidl.artifact.ArtifactSpec * @static - * @param {flyteidl.service.ICreateUploadLocationRequest} message CreateUploadLocationRequest message or plain object to encode + * @param {flyteidl.artifact.IArtifactSpec} message ArtifactSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateUploadLocationRequest.encode = function encode(message, writer) { + ArtifactSpec.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.filename != null && message.hasOwnProperty("filename")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.filename); - if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) - $root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.contentMd5 != null && message.hasOwnProperty("contentMd5")) - writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.contentMd5); - if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.filenameRoot); + if (message.value != null && message.hasOwnProperty("value")) + $root.flyteidl.core.Literal.encode(message.value, 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.taskExecution != null && message.hasOwnProperty("taskExecution")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecution, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.execution != null && message.hasOwnProperty("execution")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.execution, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.principal); + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.shortDescription); + if (message.longDescription != null && message.hasOwnProperty("longDescription")) + writer.uint32(/* id 9, wireType 2 =*/74).string(message.longDescription); + if (message.userMetadata != null && message.hasOwnProperty("userMetadata")) + $root.google.protobuf.Any.encode(message.userMetadata, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.metadataType != null && message.hasOwnProperty("metadataType")) + writer.uint32(/* id 11, wireType 2 =*/90).string(message.metadataType); return writer; }; /** - * Decodes a CreateUploadLocationRequest message from the specified reader or buffer. + * Decodes an ArtifactSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.CreateUploadLocationRequest + * @memberof flyteidl.artifact.ArtifactSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.CreateUploadLocationRequest} CreateUploadLocationRequest + * @returns {flyteidl.artifact.ArtifactSpec} ArtifactSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateUploadLocationRequest.decode = function decode(reader, length) { + ArtifactSpec.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.service.CreateUploadLocationRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.ArtifactSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); - break; - case 3: - message.filename = reader.string(); - break; - case 4: - message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; case 5: - message.contentMd5 = reader.bytes(); + message.taskExecution = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 6: - message.filenameRoot = reader.string(); + message.execution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 7: + message.principal = reader.string(); + break; + case 8: + message.shortDescription = reader.string(); + break; + case 9: + message.longDescription = reader.string(); + break; + case 10: + message.userMetadata = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; + case 11: + message.metadataType = reader.string(); break; default: reader.skipType(tag & 7); @@ -46874,61 +52506,77 @@ }; /** - * Verifies a CreateUploadLocationRequest message. + * Verifies an ArtifactSpec message. * @function verify - * @memberof flyteidl.service.CreateUploadLocationRequest + * @memberof flyteidl.artifact.ArtifactSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateUploadLocationRequest.verify = function verify(message) { + ArtifactSpec.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.filename != null && message.hasOwnProperty("filename")) - if (!$util.isString(message.filename)) - return "filename: string expected"; - if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) { - var error = $root.google.protobuf.Duration.verify(message.expiresIn); + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.Literal.verify(message.value); if (error) - return "expiresIn." + error; + return "value." + error; } - if (message.contentMd5 != null && message.hasOwnProperty("contentMd5")) - if (!(message.contentMd5 && typeof message.contentMd5.length === "number" || $util.isString(message.contentMd5))) - return "contentMd5: buffer expected"; - if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot")) - if (!$util.isString(message.filenameRoot)) - return "filenameRoot: string expected"; + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); + if (error) + return "type." + error; + } + if (message.taskExecution != null && message.hasOwnProperty("taskExecution")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecution); + if (error) + return "taskExecution." + error; + } + if (message.execution != null && message.hasOwnProperty("execution")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.execution); + if (error) + return "execution." + error; + } + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + if (!$util.isString(message.shortDescription)) + return "shortDescription: string expected"; + if (message.longDescription != null && message.hasOwnProperty("longDescription")) + if (!$util.isString(message.longDescription)) + return "longDescription: string expected"; + if (message.userMetadata != null && message.hasOwnProperty("userMetadata")) { + var error = $root.google.protobuf.Any.verify(message.userMetadata); + if (error) + return "userMetadata." + error; + } + if (message.metadataType != null && message.hasOwnProperty("metadataType")) + if (!$util.isString(message.metadataType)) + return "metadataType: string expected"; return null; }; - return CreateUploadLocationRequest; + return ArtifactSpec; })(); - service.CreateDownloadLocationRequest = (function() { + artifact.CreateArtifactResponse = (function() { /** - * Properties of a CreateDownloadLocationRequest. - * @memberof flyteidl.service - * @interface ICreateDownloadLocationRequest - * @property {string|null} [nativeUrl] CreateDownloadLocationRequest nativeUrl - * @property {google.protobuf.IDuration|null} [expiresIn] CreateDownloadLocationRequest expiresIn + * Properties of a CreateArtifactResponse. + * @memberof flyteidl.artifact + * @interface ICreateArtifactResponse + * @property {flyteidl.artifact.IArtifact|null} [artifact] CreateArtifactResponse artifact */ /** - * Constructs a new CreateDownloadLocationRequest. - * @memberof flyteidl.service - * @classdesc Represents a CreateDownloadLocationRequest. - * @implements ICreateDownloadLocationRequest + * Constructs a new CreateArtifactResponse. + * @memberof flyteidl.artifact + * @classdesc Represents a CreateArtifactResponse. + * @implements ICreateArtifactResponse * @constructor - * @param {flyteidl.service.ICreateDownloadLocationRequest=} [properties] Properties to set + * @param {flyteidl.artifact.ICreateArtifactResponse=} [properties] Properties to set */ - function CreateDownloadLocationRequest(properties) { + function CreateArtifactResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46936,75 +52584,62 @@ } /** - * CreateDownloadLocationRequest nativeUrl. - * @member {string} nativeUrl - * @memberof flyteidl.service.CreateDownloadLocationRequest - * @instance - */ - CreateDownloadLocationRequest.prototype.nativeUrl = ""; - - /** - * CreateDownloadLocationRequest expiresIn. - * @member {google.protobuf.IDuration|null|undefined} expiresIn - * @memberof flyteidl.service.CreateDownloadLocationRequest + * CreateArtifactResponse artifact. + * @member {flyteidl.artifact.IArtifact|null|undefined} artifact + * @memberof flyteidl.artifact.CreateArtifactResponse * @instance */ - CreateDownloadLocationRequest.prototype.expiresIn = null; + CreateArtifactResponse.prototype.artifact = null; /** - * Creates a new CreateDownloadLocationRequest instance using the specified properties. + * Creates a new CreateArtifactResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.CreateDownloadLocationRequest + * @memberof flyteidl.artifact.CreateArtifactResponse * @static - * @param {flyteidl.service.ICreateDownloadLocationRequest=} [properties] Properties to set - * @returns {flyteidl.service.CreateDownloadLocationRequest} CreateDownloadLocationRequest instance + * @param {flyteidl.artifact.ICreateArtifactResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.CreateArtifactResponse} CreateArtifactResponse instance */ - CreateDownloadLocationRequest.create = function create(properties) { - return new CreateDownloadLocationRequest(properties); + CreateArtifactResponse.create = function create(properties) { + return new CreateArtifactResponse(properties); }; /** - * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages. + * Encodes the specified CreateArtifactResponse message. Does not implicitly {@link flyteidl.artifact.CreateArtifactResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.CreateDownloadLocationRequest + * @memberof flyteidl.artifact.CreateArtifactResponse * @static - * @param {flyteidl.service.ICreateDownloadLocationRequest} message CreateDownloadLocationRequest message or plain object to encode + * @param {flyteidl.artifact.ICreateArtifactResponse} message CreateArtifactResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateDownloadLocationRequest.encode = function encode(message, writer) { + CreateArtifactResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.nativeUrl); - if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) - $root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifact != null && message.hasOwnProperty("artifact")) + $root.flyteidl.artifact.Artifact.encode(message.artifact, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer. + * Decodes a CreateArtifactResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.CreateDownloadLocationRequest + * @memberof flyteidl.artifact.CreateArtifactResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.CreateDownloadLocationRequest} CreateDownloadLocationRequest + * @returns {flyteidl.artifact.CreateArtifactResponse} CreateArtifactResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateDownloadLocationRequest.decode = function decode(reader, length) { + CreateArtifactResponse.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.service.CreateDownloadLocationRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.CreateArtifactResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.nativeUrl = reader.string(); - break; - case 2: - message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.artifact = $root.flyteidl.artifact.Artifact.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -47015,49 +52650,46 @@ }; /** - * Verifies a CreateDownloadLocationRequest message. + * Verifies a CreateArtifactResponse message. * @function verify - * @memberof flyteidl.service.CreateDownloadLocationRequest + * @memberof flyteidl.artifact.CreateArtifactResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateDownloadLocationRequest.verify = function verify(message) { + CreateArtifactResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nativeUrl != null && message.hasOwnProperty("nativeUrl")) - if (!$util.isString(message.nativeUrl)) - return "nativeUrl: string expected"; - if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) { - var error = $root.google.protobuf.Duration.verify(message.expiresIn); + if (message.artifact != null && message.hasOwnProperty("artifact")) { + var error = $root.flyteidl.artifact.Artifact.verify(message.artifact); if (error) - return "expiresIn." + error; + return "artifact." + error; } return null; }; - return CreateDownloadLocationRequest; + return CreateArtifactResponse; })(); - service.CreateDownloadLocationResponse = (function() { + artifact.GetArtifactRequest = (function() { /** - * Properties of a CreateDownloadLocationResponse. - * @memberof flyteidl.service - * @interface ICreateDownloadLocationResponse - * @property {string|null} [signedUrl] CreateDownloadLocationResponse signedUrl - * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateDownloadLocationResponse expiresAt + * Properties of a GetArtifactRequest. + * @memberof flyteidl.artifact + * @interface IGetArtifactRequest + * @property {flyteidl.core.IArtifactQuery|null} [query] GetArtifactRequest query + * @property {boolean|null} [details] GetArtifactRequest details */ /** - * Constructs a new CreateDownloadLocationResponse. - * @memberof flyteidl.service - * @classdesc Represents a CreateDownloadLocationResponse. - * @implements ICreateDownloadLocationResponse + * Constructs a new GetArtifactRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a GetArtifactRequest. + * @implements IGetArtifactRequest * @constructor - * @param {flyteidl.service.ICreateDownloadLocationResponse=} [properties] Properties to set + * @param {flyteidl.artifact.IGetArtifactRequest=} [properties] Properties to set */ - function CreateDownloadLocationResponse(properties) { + function GetArtifactRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47065,75 +52697,75 @@ } /** - * CreateDownloadLocationResponse signedUrl. - * @member {string} signedUrl - * @memberof flyteidl.service.CreateDownloadLocationResponse + * GetArtifactRequest query. + * @member {flyteidl.core.IArtifactQuery|null|undefined} query + * @memberof flyteidl.artifact.GetArtifactRequest * @instance */ - CreateDownloadLocationResponse.prototype.signedUrl = ""; + GetArtifactRequest.prototype.query = null; /** - * CreateDownloadLocationResponse expiresAt. - * @member {google.protobuf.ITimestamp|null|undefined} expiresAt - * @memberof flyteidl.service.CreateDownloadLocationResponse + * GetArtifactRequest details. + * @member {boolean} details + * @memberof flyteidl.artifact.GetArtifactRequest * @instance */ - CreateDownloadLocationResponse.prototype.expiresAt = null; + GetArtifactRequest.prototype.details = false; /** - * Creates a new CreateDownloadLocationResponse instance using the specified properties. + * Creates a new GetArtifactRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.CreateDownloadLocationResponse + * @memberof flyteidl.artifact.GetArtifactRequest * @static - * @param {flyteidl.service.ICreateDownloadLocationResponse=} [properties] Properties to set - * @returns {flyteidl.service.CreateDownloadLocationResponse} CreateDownloadLocationResponse instance + * @param {flyteidl.artifact.IGetArtifactRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.GetArtifactRequest} GetArtifactRequest instance */ - CreateDownloadLocationResponse.create = function create(properties) { - return new CreateDownloadLocationResponse(properties); + GetArtifactRequest.create = function create(properties) { + return new GetArtifactRequest(properties); }; /** - * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages. + * Encodes the specified GetArtifactRequest message. Does not implicitly {@link flyteidl.artifact.GetArtifactRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.CreateDownloadLocationResponse + * @memberof flyteidl.artifact.GetArtifactRequest * @static - * @param {flyteidl.service.ICreateDownloadLocationResponse} message CreateDownloadLocationResponse message or plain object to encode + * @param {flyteidl.artifact.IGetArtifactRequest} message GetArtifactRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateDownloadLocationResponse.encode = function encode(message, writer) { + GetArtifactRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl); - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) - $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.query != null && message.hasOwnProperty("query")) + $root.flyteidl.core.ArtifactQuery.encode(message.query, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.details != null && message.hasOwnProperty("details")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.details); return writer; }; /** - * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer. + * Decodes a GetArtifactRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.CreateDownloadLocationResponse + * @memberof flyteidl.artifact.GetArtifactRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.CreateDownloadLocationResponse} CreateDownloadLocationResponse + * @returns {flyteidl.artifact.GetArtifactRequest} GetArtifactRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateDownloadLocationResponse.decode = function decode(reader, length) { + GetArtifactRequest.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.service.CreateDownloadLocationResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.GetArtifactRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.signedUrl = reader.string(); + message.query = $root.flyteidl.core.ArtifactQuery.decode(reader, reader.uint32()); break; case 2: - message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.details = reader.bool(); break; default: reader.skipType(tag & 7); @@ -47144,64 +52776,48 @@ }; /** - * Verifies a CreateDownloadLocationResponse message. + * Verifies a GetArtifactRequest message. * @function verify - * @memberof flyteidl.service.CreateDownloadLocationResponse + * @memberof flyteidl.artifact.GetArtifactRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateDownloadLocationResponse.verify = function verify(message) { + GetArtifactRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) - if (!$util.isString(message.signedUrl)) - return "signedUrl: string expected"; - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); + if (message.query != null && message.hasOwnProperty("query")) { + var error = $root.flyteidl.core.ArtifactQuery.verify(message.query); if (error) - return "expiresAt." + error; + return "query." + error; } + if (message.details != null && message.hasOwnProperty("details")) + if (typeof message.details !== "boolean") + return "details: boolean expected"; return null; }; - return CreateDownloadLocationResponse; - })(); - - /** - * ArtifactType enum. - * @name flyteidl.service.ArtifactType - * @enum {string} - * @property {number} ARTIFACT_TYPE_UNDEFINED=0 ARTIFACT_TYPE_UNDEFINED value - * @property {number} ARTIFACT_TYPE_DECK=1 ARTIFACT_TYPE_DECK value - */ - service.ArtifactType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ARTIFACT_TYPE_UNDEFINED"] = 0; - values[valuesById[1] = "ARTIFACT_TYPE_DECK"] = 1; - return values; + return GetArtifactRequest; })(); - service.CreateDownloadLinkRequest = (function() { + artifact.GetArtifactResponse = (function() { /** - * Properties of a CreateDownloadLinkRequest. - * @memberof flyteidl.service - * @interface ICreateDownloadLinkRequest - * @property {flyteidl.service.ArtifactType|null} [artifactType] CreateDownloadLinkRequest artifactType - * @property {google.protobuf.IDuration|null} [expiresIn] CreateDownloadLinkRequest expiresIn - * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] CreateDownloadLinkRequest nodeExecutionId + * Properties of a GetArtifactResponse. + * @memberof flyteidl.artifact + * @interface IGetArtifactResponse + * @property {flyteidl.artifact.IArtifact|null} [artifact] GetArtifactResponse artifact */ /** - * Constructs a new CreateDownloadLinkRequest. - * @memberof flyteidl.service - * @classdesc Represents a CreateDownloadLinkRequest. - * @implements ICreateDownloadLinkRequest + * Constructs a new GetArtifactResponse. + * @memberof flyteidl.artifact + * @classdesc Represents a GetArtifactResponse. + * @implements IGetArtifactResponse * @constructor - * @param {flyteidl.service.ICreateDownloadLinkRequest=} [properties] Properties to set + * @param {flyteidl.artifact.IGetArtifactResponse=} [properties] Properties to set */ - function CreateDownloadLinkRequest(properties) { + function GetArtifactResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47209,102 +52825,62 @@ } /** - * CreateDownloadLinkRequest artifactType. - * @member {flyteidl.service.ArtifactType} artifactType - * @memberof flyteidl.service.CreateDownloadLinkRequest - * @instance - */ - CreateDownloadLinkRequest.prototype.artifactType = 0; - - /** - * CreateDownloadLinkRequest expiresIn. - * @member {google.protobuf.IDuration|null|undefined} expiresIn - * @memberof flyteidl.service.CreateDownloadLinkRequest - * @instance - */ - CreateDownloadLinkRequest.prototype.expiresIn = null; - - /** - * CreateDownloadLinkRequest nodeExecutionId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId - * @memberof flyteidl.service.CreateDownloadLinkRequest - * @instance - */ - CreateDownloadLinkRequest.prototype.nodeExecutionId = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * CreateDownloadLinkRequest source. - * @member {"nodeExecutionId"|undefined} source - * @memberof flyteidl.service.CreateDownloadLinkRequest + * GetArtifactResponse artifact. + * @member {flyteidl.artifact.IArtifact|null|undefined} artifact + * @memberof flyteidl.artifact.GetArtifactResponse * @instance */ - Object.defineProperty(CreateDownloadLinkRequest.prototype, "source", { - get: $util.oneOfGetter($oneOfFields = ["nodeExecutionId"]), - set: $util.oneOfSetter($oneOfFields) - }); + GetArtifactResponse.prototype.artifact = null; /** - * Creates a new CreateDownloadLinkRequest instance using the specified properties. + * Creates a new GetArtifactResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.CreateDownloadLinkRequest + * @memberof flyteidl.artifact.GetArtifactResponse * @static - * @param {flyteidl.service.ICreateDownloadLinkRequest=} [properties] Properties to set - * @returns {flyteidl.service.CreateDownloadLinkRequest} CreateDownloadLinkRequest instance + * @param {flyteidl.artifact.IGetArtifactResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.GetArtifactResponse} GetArtifactResponse instance */ - CreateDownloadLinkRequest.create = function create(properties) { - return new CreateDownloadLinkRequest(properties); + GetArtifactResponse.create = function create(properties) { + return new GetArtifactResponse(properties); }; /** - * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages. + * Encodes the specified GetArtifactResponse message. Does not implicitly {@link flyteidl.artifact.GetArtifactResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.CreateDownloadLinkRequest + * @memberof flyteidl.artifact.GetArtifactResponse * @static - * @param {flyteidl.service.ICreateDownloadLinkRequest} message CreateDownloadLinkRequest message or plain object to encode + * @param {flyteidl.artifact.IGetArtifactResponse} message GetArtifactResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer - */ - CreateDownloadLinkRequest.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.artifactType != null && message.hasOwnProperty("artifactType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.artifactType); - if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) - $root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + */ + GetArtifactResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.artifact != null && message.hasOwnProperty("artifact")) + $root.flyteidl.artifact.Artifact.encode(message.artifact, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer. + * Decodes a GetArtifactResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.CreateDownloadLinkRequest + * @memberof flyteidl.artifact.GetArtifactResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.CreateDownloadLinkRequest} CreateDownloadLinkRequest + * @returns {flyteidl.artifact.GetArtifactResponse} GetArtifactResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateDownloadLinkRequest.decode = function decode(reader, length) { + GetArtifactResponse.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.service.CreateDownloadLinkRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.GetArtifactResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.artifactType = reader.int32(); - break; - case 2: - message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 3: - message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.artifact = $root.flyteidl.artifact.Artifact.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -47315,65 +52891,46 @@ }; /** - * Verifies a CreateDownloadLinkRequest message. + * Verifies a GetArtifactResponse message. * @function verify - * @memberof flyteidl.service.CreateDownloadLinkRequest + * @memberof flyteidl.artifact.GetArtifactResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateDownloadLinkRequest.verify = function verify(message) { + GetArtifactResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.artifactType != null && message.hasOwnProperty("artifactType")) - switch (message.artifactType) { - default: - return "artifactType: enum value expected"; - case 0: - case 1: - break; - } - if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) { - var error = $root.google.protobuf.Duration.verify(message.expiresIn); + if (message.artifact != null && message.hasOwnProperty("artifact")) { + var error = $root.flyteidl.artifact.Artifact.verify(message.artifact); if (error) - return "expiresIn." + error; - } - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { - properties.source = 1; - { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); - if (error) - return "nodeExecutionId." + error; - } + return "artifact." + error; } return null; }; - return CreateDownloadLinkRequest; + return GetArtifactResponse; })(); - service.CreateDownloadLinkResponse = (function() { + artifact.ListArtifactNamesRequest = (function() { /** - * Properties of a CreateDownloadLinkResponse. - * @memberof flyteidl.service - * @interface ICreateDownloadLinkResponse - * @property {Array.|null} [signedUrl] CreateDownloadLinkResponse signedUrl - * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateDownloadLinkResponse expiresAt - * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] CreateDownloadLinkResponse preSignedUrls + * Properties of a ListArtifactNamesRequest. + * @memberof flyteidl.artifact + * @interface IListArtifactNamesRequest + * @property {string|null} [project] ListArtifactNamesRequest project + * @property {string|null} [domain] ListArtifactNamesRequest domain */ /** - * Constructs a new CreateDownloadLinkResponse. - * @memberof flyteidl.service - * @classdesc Represents a CreateDownloadLinkResponse. - * @implements ICreateDownloadLinkResponse + * Constructs a new ListArtifactNamesRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a ListArtifactNamesRequest. + * @implements IListArtifactNamesRequest * @constructor - * @param {flyteidl.service.ICreateDownloadLinkResponse=} [properties] Properties to set + * @param {flyteidl.artifact.IListArtifactNamesRequest=} [properties] Properties to set */ - function CreateDownloadLinkResponse(properties) { - this.signedUrl = []; + function ListArtifactNamesRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47381,91 +52938,75 @@ } /** - * CreateDownloadLinkResponse signedUrl. - * @member {Array.} signedUrl - * @memberof flyteidl.service.CreateDownloadLinkResponse - * @instance - */ - CreateDownloadLinkResponse.prototype.signedUrl = $util.emptyArray; - - /** - * CreateDownloadLinkResponse expiresAt. - * @member {google.protobuf.ITimestamp|null|undefined} expiresAt - * @memberof flyteidl.service.CreateDownloadLinkResponse + * ListArtifactNamesRequest project. + * @member {string} project + * @memberof flyteidl.artifact.ListArtifactNamesRequest * @instance */ - CreateDownloadLinkResponse.prototype.expiresAt = null; + ListArtifactNamesRequest.prototype.project = ""; /** - * CreateDownloadLinkResponse preSignedUrls. - * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls - * @memberof flyteidl.service.CreateDownloadLinkResponse + * ListArtifactNamesRequest domain. + * @member {string} domain + * @memberof flyteidl.artifact.ListArtifactNamesRequest * @instance */ - CreateDownloadLinkResponse.prototype.preSignedUrls = null; + ListArtifactNamesRequest.prototype.domain = ""; /** - * Creates a new CreateDownloadLinkResponse instance using the specified properties. + * Creates a new ListArtifactNamesRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.CreateDownloadLinkResponse + * @memberof flyteidl.artifact.ListArtifactNamesRequest * @static - * @param {flyteidl.service.ICreateDownloadLinkResponse=} [properties] Properties to set - * @returns {flyteidl.service.CreateDownloadLinkResponse} CreateDownloadLinkResponse instance + * @param {flyteidl.artifact.IListArtifactNamesRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.ListArtifactNamesRequest} ListArtifactNamesRequest instance */ - CreateDownloadLinkResponse.create = function create(properties) { - return new CreateDownloadLinkResponse(properties); + ListArtifactNamesRequest.create = function create(properties) { + return new ListArtifactNamesRequest(properties); }; /** - * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages. + * Encodes the specified ListArtifactNamesRequest message. Does not implicitly {@link flyteidl.artifact.ListArtifactNamesRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.CreateDownloadLinkResponse + * @memberof flyteidl.artifact.ListArtifactNamesRequest * @static - * @param {flyteidl.service.ICreateDownloadLinkResponse} message CreateDownloadLinkResponse message or plain object to encode + * @param {flyteidl.artifact.IListArtifactNamesRequest} message ListArtifactNamesRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateDownloadLinkResponse.encode = function encode(message, writer) { + ListArtifactNamesRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signedUrl != null && message.signedUrl.length) - for (var i = 0; i < message.signedUrl.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]); - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) - $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) - $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 3, wireType 2 =*/26).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); return writer; }; /** - * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer. + * Decodes a ListArtifactNamesRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.CreateDownloadLinkResponse + * @memberof flyteidl.artifact.ListArtifactNamesRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.CreateDownloadLinkResponse} CreateDownloadLinkResponse + * @returns {flyteidl.artifact.ListArtifactNamesRequest} ListArtifactNamesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateDownloadLinkResponse.decode = function decode(reader, length) { + ListArtifactNamesRequest.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.service.CreateDownloadLinkResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.ListArtifactNamesRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.signedUrl && message.signedUrl.length)) - message.signedUrl = []; - message.signedUrl.push(reader.string()); + message.project = reader.string(); break; case 2: - message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 3: - message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32()); + message.domain = reader.string(); break; default: reader.skipType(tag & 7); @@ -47476,59 +53017,47 @@ }; /** - * Verifies a CreateDownloadLinkResponse message. + * Verifies a ListArtifactNamesRequest message. * @function verify - * @memberof flyteidl.service.CreateDownloadLinkResponse + * @memberof flyteidl.artifact.ListArtifactNamesRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateDownloadLinkResponse.verify = function verify(message) { + ListArtifactNamesRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) { - if (!Array.isArray(message.signedUrl)) - return "signedUrl: array expected"; - for (var i = 0; i < message.signedUrl.length; ++i) - if (!$util.isString(message.signedUrl[i])) - return "signedUrl: string[] expected"; - } - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); - if (error) - return "expiresAt." + error; - } - if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) { - var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls); - if (error) - return "preSignedUrls." + 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"; return null; }; - return CreateDownloadLinkResponse; + return ListArtifactNamesRequest; })(); - service.PreSignedURLs = (function() { + artifact.ListArtifactNamesResponse = (function() { /** - * Properties of a PreSignedURLs. - * @memberof flyteidl.service - * @interface IPreSignedURLs - * @property {Array.|null} [signedUrl] PreSignedURLs signedUrl - * @property {google.protobuf.ITimestamp|null} [expiresAt] PreSignedURLs expiresAt + * Properties of a ListArtifactNamesResponse. + * @memberof flyteidl.artifact + * @interface IListArtifactNamesResponse + * @property {Array.|null} [artifactKeys] ListArtifactNamesResponse artifactKeys */ /** - * Constructs a new PreSignedURLs. - * @memberof flyteidl.service - * @classdesc Represents a PreSignedURLs. - * @implements IPreSignedURLs + * Constructs a new ListArtifactNamesResponse. + * @memberof flyteidl.artifact + * @classdesc Represents a ListArtifactNamesResponse. + * @implements IListArtifactNamesResponse * @constructor - * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set + * @param {flyteidl.artifact.IListArtifactNamesResponse=} [properties] Properties to set */ - function PreSignedURLs(properties) { - this.signedUrl = []; + function ListArtifactNamesResponse(properties) { + this.artifactKeys = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47536,78 +53065,65 @@ } /** - * PreSignedURLs signedUrl. - * @member {Array.} signedUrl - * @memberof flyteidl.service.PreSignedURLs - * @instance - */ - PreSignedURLs.prototype.signedUrl = $util.emptyArray; - - /** - * PreSignedURLs expiresAt. - * @member {google.protobuf.ITimestamp|null|undefined} expiresAt - * @memberof flyteidl.service.PreSignedURLs + * ListArtifactNamesResponse artifactKeys. + * @member {Array.} artifactKeys + * @memberof flyteidl.artifact.ListArtifactNamesResponse * @instance */ - PreSignedURLs.prototype.expiresAt = null; + ListArtifactNamesResponse.prototype.artifactKeys = $util.emptyArray; /** - * Creates a new PreSignedURLs instance using the specified properties. + * Creates a new ListArtifactNamesResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.PreSignedURLs + * @memberof flyteidl.artifact.ListArtifactNamesResponse * @static - * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set - * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs instance + * @param {flyteidl.artifact.IListArtifactNamesResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.ListArtifactNamesResponse} ListArtifactNamesResponse instance */ - PreSignedURLs.create = function create(properties) { - return new PreSignedURLs(properties); + ListArtifactNamesResponse.create = function create(properties) { + return new ListArtifactNamesResponse(properties); }; /** - * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages. + * Encodes the specified ListArtifactNamesResponse message. Does not implicitly {@link flyteidl.artifact.ListArtifactNamesResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.PreSignedURLs + * @memberof flyteidl.artifact.ListArtifactNamesResponse * @static - * @param {flyteidl.service.IPreSignedURLs} message PreSignedURLs message or plain object to encode + * @param {flyteidl.artifact.IListArtifactNamesResponse} message ListArtifactNamesResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PreSignedURLs.encode = function encode(message, writer) { + ListArtifactNamesResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signedUrl != null && message.signedUrl.length) - for (var i = 0; i < message.signedUrl.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]); - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) - $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifactKeys != null && message.artifactKeys.length) + for (var i = 0; i < message.artifactKeys.length; ++i) + $root.flyteidl.core.ArtifactKey.encode(message.artifactKeys[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a PreSignedURLs message from the specified reader or buffer. + * Decodes a ListArtifactNamesResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.PreSignedURLs + * @memberof flyteidl.artifact.ListArtifactNamesResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs + * @returns {flyteidl.artifact.ListArtifactNamesResponse} ListArtifactNamesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PreSignedURLs.decode = function decode(reader, length) { + ListArtifactNamesResponse.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.service.PreSignedURLs(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.ListArtifactNamesResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.signedUrl && message.signedUrl.length)) - message.signedUrl = []; - message.signedUrl.push(reader.string()); - break; - case 2: - message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + if (!(message.artifactKeys && message.artifactKeys.length)) + message.artifactKeys = []; + message.artifactKeys.push($root.flyteidl.core.ArtifactKey.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -47618,52 +53134,49 @@ }; /** - * Verifies a PreSignedURLs message. + * Verifies a ListArtifactNamesResponse message. * @function verify - * @memberof flyteidl.service.PreSignedURLs + * @memberof flyteidl.artifact.ListArtifactNamesResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PreSignedURLs.verify = function verify(message) { + ListArtifactNamesResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) { - if (!Array.isArray(message.signedUrl)) - return "signedUrl: array expected"; - for (var i = 0; i < message.signedUrl.length; ++i) - if (!$util.isString(message.signedUrl[i])) - return "signedUrl: string[] expected"; - } - if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); - if (error) - return "expiresAt." + error; + if (message.artifactKeys != null && message.hasOwnProperty("artifactKeys")) { + if (!Array.isArray(message.artifactKeys)) + return "artifactKeys: array expected"; + for (var i = 0; i < message.artifactKeys.length; ++i) { + var error = $root.flyteidl.core.ArtifactKey.verify(message.artifactKeys[i]); + if (error) + return "artifactKeys." + error; + } } return null; }; - return PreSignedURLs; + return ListArtifactNamesResponse; })(); - service.GetDataRequest = (function() { + artifact.ListArtifactsRequest = (function() { /** - * Properties of a GetDataRequest. - * @memberof flyteidl.service - * @interface IGetDataRequest - * @property {string|null} [flyteUrl] GetDataRequest flyteUrl + * Properties of a ListArtifactsRequest. + * @memberof flyteidl.artifact + * @interface IListArtifactsRequest + * @property {flyteidl.core.IArtifactKey|null} [artifactKey] ListArtifactsRequest artifactKey */ /** - * Constructs a new GetDataRequest. - * @memberof flyteidl.service - * @classdesc Represents a GetDataRequest. - * @implements IGetDataRequest + * Constructs a new ListArtifactsRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a ListArtifactsRequest. + * @implements IListArtifactsRequest * @constructor - * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set + * @param {flyteidl.artifact.IListArtifactsRequest=} [properties] Properties to set */ - function GetDataRequest(properties) { + function ListArtifactsRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47671,62 +53184,62 @@ } /** - * GetDataRequest flyteUrl. - * @member {string} flyteUrl - * @memberof flyteidl.service.GetDataRequest + * ListArtifactsRequest artifactKey. + * @member {flyteidl.core.IArtifactKey|null|undefined} artifactKey + * @memberof flyteidl.artifact.ListArtifactsRequest * @instance */ - GetDataRequest.prototype.flyteUrl = ""; + ListArtifactsRequest.prototype.artifactKey = null; /** - * Creates a new GetDataRequest instance using the specified properties. + * Creates a new ListArtifactsRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.GetDataRequest + * @memberof flyteidl.artifact.ListArtifactsRequest * @static - * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.service.GetDataRequest} GetDataRequest instance + * @param {flyteidl.artifact.IListArtifactsRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.ListArtifactsRequest} ListArtifactsRequest instance */ - GetDataRequest.create = function create(properties) { - return new GetDataRequest(properties); + ListArtifactsRequest.create = function create(properties) { + return new ListArtifactsRequest(properties); }; /** - * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages. + * Encodes the specified ListArtifactsRequest message. Does not implicitly {@link flyteidl.artifact.ListArtifactsRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.GetDataRequest + * @memberof flyteidl.artifact.ListArtifactsRequest * @static - * @param {flyteidl.service.IGetDataRequest} message GetDataRequest message or plain object to encode + * @param {flyteidl.artifact.IListArtifactsRequest} message ListArtifactsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetDataRequest.encode = function encode(message, writer) { + ListArtifactsRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.flyteUrl); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) + $root.flyteidl.core.ArtifactKey.encode(message.artifactKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a GetDataRequest message from the specified reader or buffer. + * Decodes a ListArtifactsRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.GetDataRequest + * @memberof flyteidl.artifact.ListArtifactsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.GetDataRequest} GetDataRequest + * @returns {flyteidl.artifact.ListArtifactsRequest} ListArtifactsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetDataRequest.decode = function decode(reader, length) { + ListArtifactsRequest.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.service.GetDataRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.ListArtifactsRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.flyteUrl = reader.string(); + message.artifactKey = $root.flyteidl.core.ArtifactKey.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -47737,45 +53250,46 @@ }; /** - * Verifies a GetDataRequest message. + * Verifies a ListArtifactsRequest message. * @function verify - * @memberof flyteidl.service.GetDataRequest + * @memberof flyteidl.artifact.ListArtifactsRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetDataRequest.verify = function verify(message) { + ListArtifactsRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl")) - if (!$util.isString(message.flyteUrl)) - return "flyteUrl: string expected"; + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) { + var error = $root.flyteidl.core.ArtifactKey.verify(message.artifactKey); + if (error) + return "artifactKey." + error; + } return null; }; - return GetDataRequest; + return ListArtifactsRequest; })(); - service.GetDataResponse = (function() { + artifact.ListArtifactsResponse = (function() { /** - * Properties of a GetDataResponse. - * @memberof flyteidl.service - * @interface IGetDataResponse - * @property {flyteidl.core.ILiteralMap|null} [literalMap] GetDataResponse literalMap - * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] GetDataResponse preSignedUrls - * @property {flyteidl.core.ILiteral|null} [literal] GetDataResponse literal + * Properties of a ListArtifactsResponse. + * @memberof flyteidl.artifact + * @interface IListArtifactsResponse + * @property {Array.|null} [artifacts] ListArtifactsResponse artifacts */ /** - * Constructs a new GetDataResponse. - * @memberof flyteidl.service - * @classdesc Represents a GetDataResponse. - * @implements IGetDataResponse + * Constructs a new ListArtifactsResponse. + * @memberof flyteidl.artifact + * @classdesc Represents a ListArtifactsResponse. + * @implements IListArtifactsResponse * @constructor - * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set + * @param {flyteidl.artifact.IListArtifactsResponse=} [properties] Properties to set */ - function GetDataResponse(properties) { + function ListArtifactsResponse(properties) { + this.artifacts = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47783,102 +53297,65 @@ } /** - * GetDataResponse literalMap. - * @member {flyteidl.core.ILiteralMap|null|undefined} literalMap - * @memberof flyteidl.service.GetDataResponse - * @instance - */ - GetDataResponse.prototype.literalMap = null; - - /** - * GetDataResponse preSignedUrls. - * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls - * @memberof flyteidl.service.GetDataResponse - * @instance - */ - GetDataResponse.prototype.preSignedUrls = null; - - /** - * GetDataResponse literal. - * @member {flyteidl.core.ILiteral|null|undefined} literal - * @memberof flyteidl.service.GetDataResponse - * @instance - */ - GetDataResponse.prototype.literal = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * GetDataResponse data. - * @member {"literalMap"|"preSignedUrls"|"literal"|undefined} data - * @memberof flyteidl.service.GetDataResponse + * ListArtifactsResponse artifacts. + * @member {Array.} artifacts + * @memberof flyteidl.artifact.ListArtifactsResponse * @instance */ - Object.defineProperty(GetDataResponse.prototype, "data", { - get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls", "literal"]), - set: $util.oneOfSetter($oneOfFields) - }); + ListArtifactsResponse.prototype.artifacts = $util.emptyArray; /** - * Creates a new GetDataResponse instance using the specified properties. + * Creates a new ListArtifactsResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.GetDataResponse + * @memberof flyteidl.artifact.ListArtifactsResponse * @static - * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.service.GetDataResponse} GetDataResponse instance + * @param {flyteidl.artifact.IListArtifactsResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.ListArtifactsResponse} ListArtifactsResponse instance */ - GetDataResponse.create = function create(properties) { - return new GetDataResponse(properties); + ListArtifactsResponse.create = function create(properties) { + return new ListArtifactsResponse(properties); }; /** - * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages. + * Encodes the specified ListArtifactsResponse message. Does not implicitly {@link flyteidl.artifact.ListArtifactsResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.GetDataResponse + * @memberof flyteidl.artifact.ListArtifactsResponse * @static - * @param {flyteidl.service.IGetDataResponse} message GetDataResponse message or plain object to encode + * @param {flyteidl.artifact.IListArtifactsResponse} message ListArtifactsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetDataResponse.encode = function encode(message, writer) { + ListArtifactsResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.literalMap != null && message.hasOwnProperty("literalMap")) - $root.flyteidl.core.LiteralMap.encode(message.literalMap, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) - $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.literal != null && message.hasOwnProperty("literal")) - $root.flyteidl.core.Literal.encode(message.literal, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifacts != null && message.artifacts.length) + for (var i = 0; i < message.artifacts.length; ++i) + $root.flyteidl.artifact.Artifact.encode(message.artifacts[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a GetDataResponse message from the specified reader or buffer. + * Decodes a ListArtifactsResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.GetDataResponse + * @memberof flyteidl.artifact.ListArtifactsResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.GetDataResponse} GetDataResponse + * @returns {flyteidl.artifact.ListArtifactsResponse} ListArtifactsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetDataResponse.decode = function decode(reader, length) { + ListArtifactsResponse.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.service.GetDataResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.ListArtifactsResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.literalMap = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 2: - message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32()); - break; - case 3: - message.literal = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + if (!(message.artifacts && message.artifacts.length)) + message.artifacts = []; + message.artifacts.push($root.flyteidl.artifact.Artifact.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -47889,392 +53366,399 @@ }; /** - * Verifies a GetDataResponse message. + * Verifies a ListArtifactsResponse message. * @function verify - * @memberof flyteidl.service.GetDataResponse + * @memberof flyteidl.artifact.ListArtifactsResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetDataResponse.verify = function verify(message) { + ListArtifactsResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.literalMap != null && message.hasOwnProperty("literalMap")) { - properties.data = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.literalMap); - if (error) - return "literalMap." + error; - } - } - if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) { - if (properties.data === 1) - return "data: multiple values"; - properties.data = 1; - { - var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls); - if (error) - return "preSignedUrls." + error; - } - } - if (message.literal != null && message.hasOwnProperty("literal")) { - if (properties.data === 1) - return "data: multiple values"; - properties.data = 1; - { - var error = $root.flyteidl.core.Literal.verify(message.literal); + if (message.artifacts != null && message.hasOwnProperty("artifacts")) { + if (!Array.isArray(message.artifacts)) + return "artifacts: array expected"; + for (var i = 0; i < message.artifacts.length; ++i) { + var error = $root.flyteidl.artifact.Artifact.verify(message.artifacts[i]); if (error) - return "literal." + error; + return "artifacts." + error; } } return null; }; - return GetDataResponse; + return ListArtifactsResponse; })(); - service.DataProxyService = (function() { - - /** - * Constructs a new DataProxyService service. - * @memberof flyteidl.service - * @classdesc Represents a DataProxyService - * @extends $protobuf.rpc.Service - * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - */ - function DataProxyService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } - - (DataProxyService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataProxyService; - - /** - * Creates new DataProxyService service using the specified rpc implementation. - * @function create - * @memberof flyteidl.service.DataProxyService - * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {DataProxyService} RPC service. Useful where requests and/or responses are streamed. - */ - DataProxyService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); - }; - - /** - * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}. - * @memberof flyteidl.service.DataProxyService - * @typedef CreateUploadLocationCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.CreateUploadLocationResponse} [response] CreateUploadLocationResponse - */ - - /** - * Calls CreateUploadLocation. - * @function createUploadLocation - * @memberof flyteidl.service.DataProxyService - * @instance - * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object - * @param {flyteidl.service.DataProxyService.CreateUploadLocationCallback} callback Node-style callback called with the error, if any, and CreateUploadLocationResponse - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(DataProxyService.prototype.createUploadLocation = function createUploadLocation(request, callback) { - return this.rpcCall(createUploadLocation, $root.flyteidl.service.CreateUploadLocationRequest, $root.flyteidl.service.CreateUploadLocationResponse, request, callback); - }, "name", { value: "CreateUploadLocation" }); + artifact.AddTagRequest = (function() { /** - * Calls CreateUploadLocation. - * @function createUploadLocation - * @memberof flyteidl.service.DataProxyService - * @instance - * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Properties of an AddTagRequest. + * @memberof flyteidl.artifact + * @interface IAddTagRequest + * @property {flyteidl.core.IArtifactID|null} [artifactId] AddTagRequest artifactId + * @property {string|null} [value] AddTagRequest value + * @property {boolean|null} [overwrite] AddTagRequest overwrite */ /** - * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}. - * @memberof flyteidl.service.DataProxyService - * @typedef CreateDownloadLocationCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.CreateDownloadLocationResponse} [response] CreateDownloadLocationResponse + * Constructs a new AddTagRequest. + * @memberof flyteidl.artifact + * @classdesc Represents an AddTagRequest. + * @implements IAddTagRequest + * @constructor + * @param {flyteidl.artifact.IAddTagRequest=} [properties] Properties to set */ + function AddTagRequest(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]]; + } /** - * Calls CreateDownloadLocation. - * @function createDownloadLocation - * @memberof flyteidl.service.DataProxyService + * AddTagRequest artifactId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactId + * @memberof flyteidl.artifact.AddTagRequest * @instance - * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object - * @param {flyteidl.service.DataProxyService.CreateDownloadLocationCallback} callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(DataProxyService.prototype.createDownloadLocation = function createDownloadLocation(request, callback) { - return this.rpcCall(createDownloadLocation, $root.flyteidl.service.CreateDownloadLocationRequest, $root.flyteidl.service.CreateDownloadLocationResponse, request, callback); - }, "name", { value: "CreateDownloadLocation" }); + AddTagRequest.prototype.artifactId = null; /** - * Calls CreateDownloadLocation. - * @function createDownloadLocation - * @memberof flyteidl.service.DataProxyService + * AddTagRequest value. + * @member {string} value + * @memberof flyteidl.artifact.AddTagRequest * @instance - * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - /** - * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}. - * @memberof flyteidl.service.DataProxyService - * @typedef CreateDownloadLinkCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.CreateDownloadLinkResponse} [response] CreateDownloadLinkResponse */ + AddTagRequest.prototype.value = ""; /** - * Calls CreateDownloadLink. - * @function createDownloadLink - * @memberof flyteidl.service.DataProxyService + * AddTagRequest overwrite. + * @member {boolean} overwrite + * @memberof flyteidl.artifact.AddTagRequest * @instance - * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object - * @param {flyteidl.service.DataProxyService.CreateDownloadLinkCallback} callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(DataProxyService.prototype.createDownloadLink = function createDownloadLink(request, callback) { - return this.rpcCall(createDownloadLink, $root.flyteidl.service.CreateDownloadLinkRequest, $root.flyteidl.service.CreateDownloadLinkResponse, request, callback); - }, "name", { value: "CreateDownloadLink" }); + AddTagRequest.prototype.overwrite = false; /** - * Calls CreateDownloadLink. - * @function createDownloadLink - * @memberof flyteidl.service.DataProxyService - * @instance - * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new AddTagRequest instance using the specified properties. + * @function create + * @memberof flyteidl.artifact.AddTagRequest + * @static + * @param {flyteidl.artifact.IAddTagRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.AddTagRequest} AddTagRequest instance */ + AddTagRequest.create = function create(properties) { + return new AddTagRequest(properties); + }; /** - * Callback as used by {@link flyteidl.service.DataProxyService#getData}. - * @memberof flyteidl.service.DataProxyService - * @typedef GetDataCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.GetDataResponse} [response] GetDataResponse + * Encodes the specified AddTagRequest message. Does not implicitly {@link flyteidl.artifact.AddTagRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.artifact.AddTagRequest + * @static + * @param {flyteidl.artifact.IAddTagRequest} message AddTagRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + AddTagRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); + if (message.overwrite != null && message.hasOwnProperty("overwrite")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.overwrite); + return writer; + }; /** - * Calls GetData. - * @function getData - * @memberof flyteidl.service.DataProxyService - * @instance - * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object - * @param {flyteidl.service.DataProxyService.GetDataCallback} callback Node-style callback called with the error, if any, and GetDataResponse - * @returns {undefined} - * @variation 1 + * Decodes an AddTagRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.artifact.AddTagRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.artifact.AddTagRequest} AddTagRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(DataProxyService.prototype.getData = function getData(request, callback) { - return this.rpcCall(getData, $root.flyteidl.service.GetDataRequest, $root.flyteidl.service.GetDataResponse, request, callback); - }, "name", { value: "GetData" }); + AddTagRequest.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.artifact.AddTagRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.artifactId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); + break; + case 2: + message.value = reader.string(); + break; + case 3: + message.overwrite = reader.bool(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls GetData. - * @function getData - * @memberof flyteidl.service.DataProxyService - * @instance - * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies an AddTagRequest message. + * @function verify + * @memberof flyteidl.artifact.AddTagRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + AddTagRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.artifactId != null && message.hasOwnProperty("artifactId")) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactId); + if (error) + return "artifactId." + error; + } + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; + if (message.overwrite != null && message.hasOwnProperty("overwrite")) + if (typeof message.overwrite !== "boolean") + return "overwrite: boolean expected"; + return null; + }; - return DataProxyService; + return AddTagRequest; })(); - service.ExternalPluginService = (function() { + artifact.AddTagResponse = (function() { /** - * Constructs a new ExternalPluginService service. - * @memberof flyteidl.service - * @classdesc Represents an ExternalPluginService - * @extends $protobuf.rpc.Service + * Properties of an AddTagResponse. + * @memberof flyteidl.artifact + * @interface IAddTagResponse + */ + + /** + * Constructs a new AddTagResponse. + * @memberof flyteidl.artifact + * @classdesc Represents an AddTagResponse. + * @implements IAddTagResponse * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @param {flyteidl.artifact.IAddTagResponse=} [properties] Properties to set */ - function ExternalPluginService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + function AddTagResponse(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]]; } - (ExternalPluginService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ExternalPluginService; - /** - * Creates new ExternalPluginService service using the specified rpc implementation. + * Creates a new AddTagResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.ExternalPluginService + * @memberof flyteidl.artifact.AddTagResponse * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {ExternalPluginService} RPC service. Useful where requests and/or responses are streamed. + * @param {flyteidl.artifact.IAddTagResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.AddTagResponse} AddTagResponse instance */ - ExternalPluginService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); + AddTagResponse.create = function create(properties) { + return new AddTagResponse(properties); }; /** - * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}. - * @memberof flyteidl.service.ExternalPluginService - * @typedef CreateTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.TaskCreateResponse} [response] TaskCreateResponse + * Encodes the specified AddTagResponse message. Does not implicitly {@link flyteidl.artifact.AddTagResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.artifact.AddTagResponse + * @static + * @param {flyteidl.artifact.IAddTagResponse} message AddTagResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + AddTagResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; /** - * Calls CreateTask. - * @function createTask - * @memberof flyteidl.service.ExternalPluginService - * @instance - * @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object - * @param {flyteidl.service.ExternalPluginService.CreateTaskCallback} callback Node-style callback called with the error, if any, and TaskCreateResponse - * @returns {undefined} - * @variation 1 + * Decodes an AddTagResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.artifact.AddTagResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.artifact.AddTagResponse} AddTagResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Object.defineProperty(ExternalPluginService.prototype.createTask = function createTask(request, callback) { - return this.rpcCall(createTask, $root.flyteidl.service.TaskCreateRequest, $root.flyteidl.service.TaskCreateResponse, request, callback); - }, "name", { value: "CreateTask" }); + AddTagResponse.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.artifact.AddTagResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Calls CreateTask. - * @function createTask - * @memberof flyteidl.service.ExternalPluginService - * @instance - * @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Verifies an AddTagResponse message. + * @function verify + * @memberof flyteidl.artifact.AddTagResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ + AddTagResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return AddTagResponse; + })(); + + artifact.CreateTriggerRequest = (function() { /** - * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}. - * @memberof flyteidl.service.ExternalPluginService - * @typedef GetTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.TaskGetResponse} [response] TaskGetResponse + * Properties of a CreateTriggerRequest. + * @memberof flyteidl.artifact + * @interface ICreateTriggerRequest + * @property {flyteidl.admin.ILaunchPlan|null} [triggerLaunchPlan] CreateTriggerRequest triggerLaunchPlan */ /** - * Calls GetTask. - * @function getTask - * @memberof flyteidl.service.ExternalPluginService - * @instance - * @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object - * @param {flyteidl.service.ExternalPluginService.GetTaskCallback} callback Node-style callback called with the error, if any, and TaskGetResponse - * @returns {undefined} - * @variation 1 + * Constructs a new CreateTriggerRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a CreateTriggerRequest. + * @implements ICreateTriggerRequest + * @constructor + * @param {flyteidl.artifact.ICreateTriggerRequest=} [properties] Properties to set */ - Object.defineProperty(ExternalPluginService.prototype.getTask = function getTask(request, callback) { - return this.rpcCall(getTask, $root.flyteidl.service.TaskGetRequest, $root.flyteidl.service.TaskGetResponse, request, callback); - }, "name", { value: "GetTask" }); + function CreateTriggerRequest(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]]; + } /** - * Calls GetTask. - * @function getTask - * @memberof flyteidl.service.ExternalPluginService + * CreateTriggerRequest triggerLaunchPlan. + * @member {flyteidl.admin.ILaunchPlan|null|undefined} triggerLaunchPlan + * @memberof flyteidl.artifact.CreateTriggerRequest * @instance - * @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + CreateTriggerRequest.prototype.triggerLaunchPlan = null; /** - * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}. - * @memberof flyteidl.service.ExternalPluginService - * @typedef DeleteTaskCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.TaskDeleteResponse} [response] TaskDeleteResponse + * Creates a new CreateTriggerRequest instance using the specified properties. + * @function create + * @memberof flyteidl.artifact.CreateTriggerRequest + * @static + * @param {flyteidl.artifact.ICreateTriggerRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.CreateTriggerRequest} CreateTriggerRequest instance */ + CreateTriggerRequest.create = function create(properties) { + return new CreateTriggerRequest(properties); + }; /** - * Calls DeleteTask. - * @function deleteTask - * @memberof flyteidl.service.ExternalPluginService - * @instance - * @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object - * @param {flyteidl.service.ExternalPluginService.DeleteTaskCallback} callback Node-style callback called with the error, if any, and TaskDeleteResponse - * @returns {undefined} - * @variation 1 + * Encodes the specified CreateTriggerRequest message. Does not implicitly {@link flyteidl.artifact.CreateTriggerRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.artifact.CreateTriggerRequest + * @static + * @param {flyteidl.artifact.ICreateTriggerRequest} message CreateTriggerRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - Object.defineProperty(ExternalPluginService.prototype.deleteTask = function deleteTask(request, callback) { - return this.rpcCall(deleteTask, $root.flyteidl.service.TaskDeleteRequest, $root.flyteidl.service.TaskDeleteResponse, request, callback); - }, "name", { value: "DeleteTask" }); + CreateTriggerRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.triggerLaunchPlan != null && message.hasOwnProperty("triggerLaunchPlan")) + $root.flyteidl.admin.LaunchPlan.encode(message.triggerLaunchPlan, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; /** - * Calls DeleteTask. - * @function deleteTask - * @memberof flyteidl.service.ExternalPluginService - * @instance - * @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Decodes a CreateTriggerRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.artifact.CreateTriggerRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.artifact.CreateTriggerRequest} CreateTriggerRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ + CreateTriggerRequest.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.artifact.CreateTriggerRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.triggerLaunchPlan = $root.flyteidl.admin.LaunchPlan.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; - return ExternalPluginService; - })(); + /** + * Verifies a CreateTriggerRequest message. + * @function verify + * @memberof flyteidl.artifact.CreateTriggerRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CreateTriggerRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.triggerLaunchPlan != null && message.hasOwnProperty("triggerLaunchPlan")) { + var error = $root.flyteidl.admin.LaunchPlan.verify(message.triggerLaunchPlan); + if (error) + return "triggerLaunchPlan." + error; + } + return null; + }; - /** - * State enum. - * @name flyteidl.service.State - * @enum {string} - * @property {number} RETRYABLE_FAILURE=0 RETRYABLE_FAILURE value - * @property {number} PERMANENT_FAILURE=1 PERMANENT_FAILURE value - * @property {number} PENDING=2 PENDING value - * @property {number} RUNNING=3 RUNNING value - * @property {number} SUCCEEDED=4 SUCCEEDED value - */ - service.State = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "RETRYABLE_FAILURE"] = 0; - values[valuesById[1] = "PERMANENT_FAILURE"] = 1; - values[valuesById[2] = "PENDING"] = 2; - values[valuesById[3] = "RUNNING"] = 3; - values[valuesById[4] = "SUCCEEDED"] = 4; - return values; + return CreateTriggerRequest; })(); - service.TaskCreateRequest = (function() { + artifact.CreateTriggerResponse = (function() { /** - * Properties of a TaskCreateRequest. - * @memberof flyteidl.service - * @interface ITaskCreateRequest - * @property {flyteidl.core.ILiteralMap|null} [inputs] TaskCreateRequest inputs - * @property {flyteidl.core.ITaskTemplate|null} [template] TaskCreateRequest template - * @property {string|null} [outputPrefix] TaskCreateRequest outputPrefix + * Properties of a CreateTriggerResponse. + * @memberof flyteidl.artifact + * @interface ICreateTriggerResponse */ /** - * Constructs a new TaskCreateRequest. - * @memberof flyteidl.service - * @classdesc Represents a TaskCreateRequest. - * @implements ITaskCreateRequest + * Constructs a new CreateTriggerResponse. + * @memberof flyteidl.artifact + * @classdesc Represents a CreateTriggerResponse. + * @implements ICreateTriggerResponse * @constructor - * @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set + * @param {flyteidl.artifact.ICreateTriggerResponse=} [properties] Properties to set */ - function TaskCreateRequest(properties) { + function CreateTriggerResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48282,89 +53766,50 @@ } /** - * TaskCreateRequest inputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputs - * @memberof flyteidl.service.TaskCreateRequest - * @instance - */ - TaskCreateRequest.prototype.inputs = null; - - /** - * TaskCreateRequest template. - * @member {flyteidl.core.ITaskTemplate|null|undefined} template - * @memberof flyteidl.service.TaskCreateRequest - * @instance - */ - TaskCreateRequest.prototype.template = null; - - /** - * TaskCreateRequest outputPrefix. - * @member {string} outputPrefix - * @memberof flyteidl.service.TaskCreateRequest - * @instance - */ - TaskCreateRequest.prototype.outputPrefix = ""; - - /** - * Creates a new TaskCreateRequest instance using the specified properties. + * Creates a new CreateTriggerResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.TaskCreateRequest + * @memberof flyteidl.artifact.CreateTriggerResponse * @static - * @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set - * @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest instance + * @param {flyteidl.artifact.ICreateTriggerResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.CreateTriggerResponse} CreateTriggerResponse instance */ - TaskCreateRequest.create = function create(properties) { - return new TaskCreateRequest(properties); + CreateTriggerResponse.create = function create(properties) { + return new CreateTriggerResponse(properties); }; /** - * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages. + * Encodes the specified CreateTriggerResponse message. Does not implicitly {@link flyteidl.artifact.CreateTriggerResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.TaskCreateRequest + * @memberof flyteidl.artifact.CreateTriggerResponse * @static - * @param {flyteidl.service.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode + * @param {flyteidl.artifact.ICreateTriggerResponse} message CreateTriggerResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskCreateRequest.encode = function encode(message, writer) { + CreateTriggerResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPrefix); return writer; }; /** - * Decodes a TaskCreateRequest message from the specified reader or buffer. + * Decodes a CreateTriggerResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.TaskCreateRequest + * @memberof flyteidl.artifact.CreateTriggerResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest + * @returns {flyteidl.artifact.CreateTriggerResponse} CreateTriggerResponse * @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) { + CreateTriggerResponse.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.service.TaskCreateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.CreateTriggerResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 2: - message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); - break; - case 3: - message.outputPrefix = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -48374,53 +53819,40 @@ }; /** - * Verifies a TaskCreateRequest message. + * Verifies a CreateTriggerResponse message. * @function verify - * @memberof flyteidl.service.TaskCreateRequest + * @memberof flyteidl.artifact.CreateTriggerResponse * @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) { + CreateTriggerResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); - if (error) - return "inputs." + error; - } - if (message.template != null && message.hasOwnProperty("template")) { - var error = $root.flyteidl.core.TaskTemplate.verify(message.template); - if (error) - return "template." + error; - } - if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) - if (!$util.isString(message.outputPrefix)) - return "outputPrefix: string expected"; return null; }; - return TaskCreateRequest; + return CreateTriggerResponse; })(); - service.TaskCreateResponse = (function() { + artifact.DeleteTriggerRequest = (function() { /** - * Properties of a TaskCreateResponse. - * @memberof flyteidl.service - * @interface ITaskCreateResponse - * @property {string|null} [jobId] TaskCreateResponse jobId + * Properties of a DeleteTriggerRequest. + * @memberof flyteidl.artifact + * @interface IDeleteTriggerRequest + * @property {flyteidl.core.IIdentifier|null} [triggerId] DeleteTriggerRequest triggerId */ /** - * Constructs a new TaskCreateResponse. - * @memberof flyteidl.service - * @classdesc Represents a TaskCreateResponse. - * @implements ITaskCreateResponse + * Constructs a new DeleteTriggerRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a DeleteTriggerRequest. + * @implements IDeleteTriggerRequest * @constructor - * @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set + * @param {flyteidl.artifact.IDeleteTriggerRequest=} [properties] Properties to set */ - function TaskCreateResponse(properties) { + function DeleteTriggerRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48428,62 +53860,62 @@ } /** - * TaskCreateResponse jobId. - * @member {string} jobId - * @memberof flyteidl.service.TaskCreateResponse + * DeleteTriggerRequest triggerId. + * @member {flyteidl.core.IIdentifier|null|undefined} triggerId + * @memberof flyteidl.artifact.DeleteTriggerRequest * @instance */ - TaskCreateResponse.prototype.jobId = ""; + DeleteTriggerRequest.prototype.triggerId = null; /** - * Creates a new TaskCreateResponse instance using the specified properties. + * Creates a new DeleteTriggerRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.TaskCreateResponse + * @memberof flyteidl.artifact.DeleteTriggerRequest * @static - * @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set - * @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse instance + * @param {flyteidl.artifact.IDeleteTriggerRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.DeleteTriggerRequest} DeleteTriggerRequest instance */ - TaskCreateResponse.create = function create(properties) { - return new TaskCreateResponse(properties); + DeleteTriggerRequest.create = function create(properties) { + return new DeleteTriggerRequest(properties); }; /** - * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages. + * Encodes the specified DeleteTriggerRequest message. Does not implicitly {@link flyteidl.artifact.DeleteTriggerRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.TaskCreateResponse + * @memberof flyteidl.artifact.DeleteTriggerRequest * @static - * @param {flyteidl.service.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode + * @param {flyteidl.artifact.IDeleteTriggerRequest} message DeleteTriggerRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskCreateResponse.encode = function encode(message, writer) { + DeleteTriggerRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.jobId != null && message.hasOwnProperty("jobId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.jobId); + if (message.triggerId != null && message.hasOwnProperty("triggerId")) + $root.flyteidl.core.Identifier.encode(message.triggerId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskCreateResponse message from the specified reader or buffer. + * Decodes a DeleteTriggerRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.TaskCreateResponse + * @memberof flyteidl.artifact.DeleteTriggerRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse + * @returns {flyteidl.artifact.DeleteTriggerRequest} DeleteTriggerRequest * @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) { + DeleteTriggerRequest.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.service.TaskCreateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.DeleteTriggerRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.jobId = reader.string(); + message.triggerId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -48494,44 +53926,44 @@ }; /** - * Verifies a TaskCreateResponse message. + * Verifies a DeleteTriggerRequest message. * @function verify - * @memberof flyteidl.service.TaskCreateResponse + * @memberof flyteidl.artifact.DeleteTriggerRequest * @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) { + DeleteTriggerRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.jobId != null && message.hasOwnProperty("jobId")) - if (!$util.isString(message.jobId)) - return "jobId: string expected"; + if (message.triggerId != null && message.hasOwnProperty("triggerId")) { + var error = $root.flyteidl.core.Identifier.verify(message.triggerId); + if (error) + return "triggerId." + error; + } return null; }; - return TaskCreateResponse; + return DeleteTriggerRequest; })(); - service.TaskGetRequest = (function() { + artifact.DeleteTriggerResponse = (function() { /** - * Properties of a TaskGetRequest. - * @memberof flyteidl.service - * @interface ITaskGetRequest - * @property {string|null} [taskType] TaskGetRequest taskType - * @property {string|null} [jobId] TaskGetRequest jobId + * Properties of a DeleteTriggerResponse. + * @memberof flyteidl.artifact + * @interface IDeleteTriggerResponse */ /** - * Constructs a new TaskGetRequest. - * @memberof flyteidl.service - * @classdesc Represents a TaskGetRequest. - * @implements ITaskGetRequest + * Constructs a new DeleteTriggerResponse. + * @memberof flyteidl.artifact + * @classdesc Represents a DeleteTriggerResponse. + * @implements IDeleteTriggerResponse * @constructor - * @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set + * @param {flyteidl.artifact.IDeleteTriggerResponse=} [properties] Properties to set */ - function TaskGetRequest(properties) { + function DeleteTriggerResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48539,76 +53971,50 @@ } /** - * TaskGetRequest taskType. - * @member {string} taskType - * @memberof flyteidl.service.TaskGetRequest - * @instance - */ - TaskGetRequest.prototype.taskType = ""; - - /** - * TaskGetRequest jobId. - * @member {string} jobId - * @memberof flyteidl.service.TaskGetRequest - * @instance - */ - TaskGetRequest.prototype.jobId = ""; - - /** - * Creates a new TaskGetRequest instance using the specified properties. + * Creates a new DeleteTriggerResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.TaskGetRequest + * @memberof flyteidl.artifact.DeleteTriggerResponse * @static - * @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set - * @returns {flyteidl.service.TaskGetRequest} TaskGetRequest instance + * @param {flyteidl.artifact.IDeleteTriggerResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.DeleteTriggerResponse} DeleteTriggerResponse instance */ - TaskGetRequest.create = function create(properties) { - return new TaskGetRequest(properties); + DeleteTriggerResponse.create = function create(properties) { + return new DeleteTriggerResponse(properties); }; /** - * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages. + * Encodes the specified DeleteTriggerResponse message. Does not implicitly {@link flyteidl.artifact.DeleteTriggerResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.TaskGetRequest + * @memberof flyteidl.artifact.DeleteTriggerResponse * @static - * @param {flyteidl.service.ITaskGetRequest} message TaskGetRequest message or plain object to encode + * @param {flyteidl.artifact.IDeleteTriggerResponse} message DeleteTriggerResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskGetRequest.encode = function encode(message, writer) { + DeleteTriggerResponse.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.jobId != null && message.hasOwnProperty("jobId")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId); return writer; }; /** - * Decodes a TaskGetRequest message from the specified reader or buffer. + * Decodes a DeleteTriggerResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.TaskGetRequest + * @memberof flyteidl.artifact.DeleteTriggerResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.TaskGetRequest} TaskGetRequest + * @returns {flyteidl.artifact.DeleteTriggerResponse} DeleteTriggerResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskGetRequest.decode = function decode(reader, length) { + DeleteTriggerResponse.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.service.TaskGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.DeleteTriggerResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.taskType = reader.string(); - break; - case 2: - message.jobId = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -48618,47 +54024,41 @@ }; /** - * Verifies a TaskGetRequest message. + * Verifies a DeleteTriggerResponse message. * @function verify - * @memberof flyteidl.service.TaskGetRequest + * @memberof flyteidl.artifact.DeleteTriggerResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskGetRequest.verify = function verify(message) { + DeleteTriggerResponse.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.jobId != null && message.hasOwnProperty("jobId")) - if (!$util.isString(message.jobId)) - return "jobId: string expected"; return null; }; - return TaskGetRequest; + return DeleteTriggerResponse; })(); - service.TaskGetResponse = (function() { + artifact.ArtifactProducer = (function() { /** - * Properties of a TaskGetResponse. - * @memberof flyteidl.service - * @interface ITaskGetResponse - * @property {flyteidl.service.State|null} [state] TaskGetResponse state - * @property {flyteidl.core.ILiteralMap|null} [outputs] TaskGetResponse outputs + * Properties of an ArtifactProducer. + * @memberof flyteidl.artifact + * @interface IArtifactProducer + * @property {flyteidl.core.IIdentifier|null} [entityId] ArtifactProducer entityId + * @property {flyteidl.core.IVariableMap|null} [outputs] ArtifactProducer outputs */ /** - * Constructs a new TaskGetResponse. - * @memberof flyteidl.service - * @classdesc Represents a TaskGetResponse. - * @implements ITaskGetResponse + * Constructs a new ArtifactProducer. + * @memberof flyteidl.artifact + * @classdesc Represents an ArtifactProducer. + * @implements IArtifactProducer * @constructor - * @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set + * @param {flyteidl.artifact.IArtifactProducer=} [properties] Properties to set */ - function TaskGetResponse(properties) { + function ArtifactProducer(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48666,75 +54066,75 @@ } /** - * TaskGetResponse state. - * @member {flyteidl.service.State} state - * @memberof flyteidl.service.TaskGetResponse + * ArtifactProducer entityId. + * @member {flyteidl.core.IIdentifier|null|undefined} entityId + * @memberof flyteidl.artifact.ArtifactProducer * @instance */ - TaskGetResponse.prototype.state = 0; + ArtifactProducer.prototype.entityId = null; /** - * TaskGetResponse outputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputs - * @memberof flyteidl.service.TaskGetResponse + * ArtifactProducer outputs. + * @member {flyteidl.core.IVariableMap|null|undefined} outputs + * @memberof flyteidl.artifact.ArtifactProducer * @instance */ - TaskGetResponse.prototype.outputs = null; + ArtifactProducer.prototype.outputs = null; /** - * Creates a new TaskGetResponse instance using the specified properties. + * Creates a new ArtifactProducer instance using the specified properties. * @function create - * @memberof flyteidl.service.TaskGetResponse + * @memberof flyteidl.artifact.ArtifactProducer * @static - * @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set - * @returns {flyteidl.service.TaskGetResponse} TaskGetResponse instance + * @param {flyteidl.artifact.IArtifactProducer=} [properties] Properties to set + * @returns {flyteidl.artifact.ArtifactProducer} ArtifactProducer instance */ - TaskGetResponse.create = function create(properties) { - return new TaskGetResponse(properties); + ArtifactProducer.create = function create(properties) { + return new ArtifactProducer(properties); }; /** - * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages. + * Encodes the specified ArtifactProducer message. Does not implicitly {@link flyteidl.artifact.ArtifactProducer.verify|verify} messages. * @function encode - * @memberof flyteidl.service.TaskGetResponse + * @memberof flyteidl.artifact.ArtifactProducer * @static - * @param {flyteidl.service.ITaskGetResponse} message TaskGetResponse message or plain object to encode + * @param {flyteidl.artifact.IArtifactProducer} message ArtifactProducer message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskGetResponse.encode = function encode(message, writer) { + ArtifactProducer.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.entityId != null && message.hasOwnProperty("entityId")) + $root.flyteidl.core.Identifier.encode(message.entityId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.core.LiteralMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + $root.flyteidl.core.VariableMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskGetResponse message from the specified reader or buffer. + * Decodes an ArtifactProducer message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.TaskGetResponse + * @memberof flyteidl.artifact.ArtifactProducer * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.TaskGetResponse} TaskGetResponse + * @returns {flyteidl.artifact.ArtifactProducer} ArtifactProducer * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskGetResponse.decode = function decode(reader, length) { + ArtifactProducer.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.service.TaskGetResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.ArtifactProducer(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.state = reader.int32(); + message.entityId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.outputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.outputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -48745,57 +54145,51 @@ }; /** - * Verifies a TaskGetResponse message. + * Verifies an ArtifactProducer message. * @function verify - * @memberof flyteidl.service.TaskGetResponse + * @memberof flyteidl.artifact.ArtifactProducer * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskGetResponse.verify = function verify(message) { + ArtifactProducer.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: - case 2: - case 3: - case 4: - break; - } + if (message.entityId != null && message.hasOwnProperty("entityId")) { + var error = $root.flyteidl.core.Identifier.verify(message.entityId); + if (error) + return "entityId." + error; + } if (message.outputs != null && message.hasOwnProperty("outputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputs); + var error = $root.flyteidl.core.VariableMap.verify(message.outputs); if (error) return "outputs." + error; } return null; }; - return TaskGetResponse; + return ArtifactProducer; })(); - service.TaskDeleteRequest = (function() { + artifact.RegisterProducerRequest = (function() { /** - * Properties of a TaskDeleteRequest. - * @memberof flyteidl.service - * @interface ITaskDeleteRequest - * @property {string|null} [taskType] TaskDeleteRequest taskType - * @property {string|null} [jobId] TaskDeleteRequest jobId + * Properties of a RegisterProducerRequest. + * @memberof flyteidl.artifact + * @interface IRegisterProducerRequest + * @property {Array.|null} [producers] RegisterProducerRequest producers */ /** - * Constructs a new TaskDeleteRequest. - * @memberof flyteidl.service - * @classdesc Represents a TaskDeleteRequest. - * @implements ITaskDeleteRequest + * Constructs a new RegisterProducerRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a RegisterProducerRequest. + * @implements IRegisterProducerRequest * @constructor - * @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set + * @param {flyteidl.artifact.IRegisterProducerRequest=} [properties] Properties to set */ - function TaskDeleteRequest(properties) { + function RegisterProducerRequest(properties) { + this.producers = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48803,75 +54197,65 @@ } /** - * TaskDeleteRequest taskType. - * @member {string} taskType - * @memberof flyteidl.service.TaskDeleteRequest - * @instance - */ - TaskDeleteRequest.prototype.taskType = ""; - - /** - * TaskDeleteRequest jobId. - * @member {string} jobId - * @memberof flyteidl.service.TaskDeleteRequest + * RegisterProducerRequest producers. + * @member {Array.} producers + * @memberof flyteidl.artifact.RegisterProducerRequest * @instance */ - TaskDeleteRequest.prototype.jobId = ""; + RegisterProducerRequest.prototype.producers = $util.emptyArray; /** - * Creates a new TaskDeleteRequest instance using the specified properties. + * Creates a new RegisterProducerRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.TaskDeleteRequest + * @memberof flyteidl.artifact.RegisterProducerRequest * @static - * @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set - * @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest instance + * @param {flyteidl.artifact.IRegisterProducerRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.RegisterProducerRequest} RegisterProducerRequest instance */ - TaskDeleteRequest.create = function create(properties) { - return new TaskDeleteRequest(properties); + RegisterProducerRequest.create = function create(properties) { + return new RegisterProducerRequest(properties); }; /** - * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages. + * Encodes the specified RegisterProducerRequest message. Does not implicitly {@link flyteidl.artifact.RegisterProducerRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.TaskDeleteRequest + * @memberof flyteidl.artifact.RegisterProducerRequest * @static - * @param {flyteidl.service.ITaskDeleteRequest} message TaskDeleteRequest message or plain object to encode + * @param {flyteidl.artifact.IRegisterProducerRequest} message RegisterProducerRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskDeleteRequest.encode = function encode(message, writer) { + RegisterProducerRequest.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.jobId != null && message.hasOwnProperty("jobId")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId); + if (message.producers != null && message.producers.length) + for (var i = 0; i < message.producers.length; ++i) + $root.flyteidl.artifact.ArtifactProducer.encode(message.producers[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskDeleteRequest message from the specified reader or buffer. + * Decodes a RegisterProducerRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.TaskDeleteRequest + * @memberof flyteidl.artifact.RegisterProducerRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest + * @returns {flyteidl.artifact.RegisterProducerRequest} RegisterProducerRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskDeleteRequest.decode = function decode(reader, length) { + RegisterProducerRequest.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.service.TaskDeleteRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.RegisterProducerRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.taskType = reader.string(); - break; - case 2: - message.jobId = reader.string(); + if (!(message.producers && message.producers.length)) + message.producers = []; + message.producers.push($root.flyteidl.artifact.ArtifactProducer.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -48882,45 +54266,50 @@ }; /** - * Verifies a TaskDeleteRequest message. + * Verifies a RegisterProducerRequest message. * @function verify - * @memberof flyteidl.service.TaskDeleteRequest + * @memberof flyteidl.artifact.RegisterProducerRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskDeleteRequest.verify = function verify(message) { + RegisterProducerRequest.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.jobId != null && message.hasOwnProperty("jobId")) - if (!$util.isString(message.jobId)) - return "jobId: string expected"; + if (message.producers != null && message.hasOwnProperty("producers")) { + if (!Array.isArray(message.producers)) + return "producers: array expected"; + for (var i = 0; i < message.producers.length; ++i) { + var error = $root.flyteidl.artifact.ArtifactProducer.verify(message.producers[i]); + if (error) + return "producers." + error; + } + } return null; }; - return TaskDeleteRequest; + return RegisterProducerRequest; })(); - service.TaskDeleteResponse = (function() { + artifact.ArtifactConsumer = (function() { /** - * Properties of a TaskDeleteResponse. - * @memberof flyteidl.service - * @interface ITaskDeleteResponse + * Properties of an ArtifactConsumer. + * @memberof flyteidl.artifact + * @interface IArtifactConsumer + * @property {flyteidl.core.IIdentifier|null} [entityId] ArtifactConsumer entityId + * @property {flyteidl.core.IParameterMap|null} [inputs] ArtifactConsumer inputs */ /** - * Constructs a new TaskDeleteResponse. - * @memberof flyteidl.service - * @classdesc Represents a TaskDeleteResponse. - * @implements ITaskDeleteResponse + * Constructs a new ArtifactConsumer. + * @memberof flyteidl.artifact + * @classdesc Represents an ArtifactConsumer. + * @implements IArtifactConsumer * @constructor - * @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set + * @param {flyteidl.artifact.IArtifactConsumer=} [properties] Properties to set */ - function TaskDeleteResponse(properties) { + function ArtifactConsumer(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48928,50 +54317,76 @@ } /** - * Creates a new TaskDeleteResponse instance using the specified properties. + * ArtifactConsumer entityId. + * @member {flyteidl.core.IIdentifier|null|undefined} entityId + * @memberof flyteidl.artifact.ArtifactConsumer + * @instance + */ + ArtifactConsumer.prototype.entityId = null; + + /** + * ArtifactConsumer inputs. + * @member {flyteidl.core.IParameterMap|null|undefined} inputs + * @memberof flyteidl.artifact.ArtifactConsumer + * @instance + */ + ArtifactConsumer.prototype.inputs = null; + + /** + * Creates a new ArtifactConsumer instance using the specified properties. * @function create - * @memberof flyteidl.service.TaskDeleteResponse + * @memberof flyteidl.artifact.ArtifactConsumer * @static - * @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set - * @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse instance + * @param {flyteidl.artifact.IArtifactConsumer=} [properties] Properties to set + * @returns {flyteidl.artifact.ArtifactConsumer} ArtifactConsumer instance */ - TaskDeleteResponse.create = function create(properties) { - return new TaskDeleteResponse(properties); + ArtifactConsumer.create = function create(properties) { + return new ArtifactConsumer(properties); }; /** - * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages. + * Encodes the specified ArtifactConsumer message. Does not implicitly {@link flyteidl.artifact.ArtifactConsumer.verify|verify} messages. * @function encode - * @memberof flyteidl.service.TaskDeleteResponse + * @memberof flyteidl.artifact.ArtifactConsumer * @static - * @param {flyteidl.service.ITaskDeleteResponse} message TaskDeleteResponse message or plain object to encode + * @param {flyteidl.artifact.IArtifactConsumer} message ArtifactConsumer message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskDeleteResponse.encode = function encode(message, writer) { + ArtifactConsumer.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.entityId != null && message.hasOwnProperty("entityId")) + $root.flyteidl.core.Identifier.encode(message.entityId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.core.ParameterMap.encode(message.inputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskDeleteResponse message from the specified reader or buffer. + * Decodes an ArtifactConsumer message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.TaskDeleteResponse + * @memberof flyteidl.artifact.ArtifactConsumer * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse + * @returns {flyteidl.artifact.ArtifactConsumer} ArtifactConsumer * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskDeleteResponse.decode = function decode(reader, length) { + ArtifactConsumer.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.service.TaskDeleteResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.ArtifactConsumer(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.entityId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.inputs = $root.flyteidl.core.ParameterMap.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -48981,39 +54396,51 @@ }; /** - * Verifies a TaskDeleteResponse message. + * Verifies an ArtifactConsumer message. * @function verify - * @memberof flyteidl.service.TaskDeleteResponse + * @memberof flyteidl.artifact.ArtifactConsumer * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskDeleteResponse.verify = function verify(message) { + ArtifactConsumer.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.entityId != null && message.hasOwnProperty("entityId")) { + var error = $root.flyteidl.core.Identifier.verify(message.entityId); + if (error) + return "entityId." + error; + } + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.core.ParameterMap.verify(message.inputs); + if (error) + return "inputs." + error; + } return null; }; - return TaskDeleteResponse; + return ArtifactConsumer; })(); - service.UserInfoRequest = (function() { + artifact.RegisterConsumerRequest = (function() { /** - * Properties of a UserInfoRequest. - * @memberof flyteidl.service - * @interface IUserInfoRequest + * Properties of a RegisterConsumerRequest. + * @memberof flyteidl.artifact + * @interface IRegisterConsumerRequest + * @property {Array.|null} [consumers] RegisterConsumerRequest consumers */ /** - * Constructs a new UserInfoRequest. - * @memberof flyteidl.service - * @classdesc Represents a UserInfoRequest. - * @implements IUserInfoRequest + * Constructs a new RegisterConsumerRequest. + * @memberof flyteidl.artifact + * @classdesc Represents a RegisterConsumerRequest. + * @implements IRegisterConsumerRequest * @constructor - * @param {flyteidl.service.IUserInfoRequest=} [properties] Properties to set + * @param {flyteidl.artifact.IRegisterConsumerRequest=} [properties] Properties to set */ - function UserInfoRequest(properties) { + function RegisterConsumerRequest(properties) { + this.consumers = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49021,50 +54448,66 @@ } /** - * Creates a new UserInfoRequest instance using the specified properties. + * RegisterConsumerRequest consumers. + * @member {Array.} consumers + * @memberof flyteidl.artifact.RegisterConsumerRequest + * @instance + */ + RegisterConsumerRequest.prototype.consumers = $util.emptyArray; + + /** + * Creates a new RegisterConsumerRequest instance using the specified properties. * @function create - * @memberof flyteidl.service.UserInfoRequest + * @memberof flyteidl.artifact.RegisterConsumerRequest * @static - * @param {flyteidl.service.IUserInfoRequest=} [properties] Properties to set - * @returns {flyteidl.service.UserInfoRequest} UserInfoRequest instance + * @param {flyteidl.artifact.IRegisterConsumerRequest=} [properties] Properties to set + * @returns {flyteidl.artifact.RegisterConsumerRequest} RegisterConsumerRequest instance */ - UserInfoRequest.create = function create(properties) { - return new UserInfoRequest(properties); + RegisterConsumerRequest.create = function create(properties) { + return new RegisterConsumerRequest(properties); }; /** - * Encodes the specified UserInfoRequest message. Does not implicitly {@link flyteidl.service.UserInfoRequest.verify|verify} messages. + * Encodes the specified RegisterConsumerRequest message. Does not implicitly {@link flyteidl.artifact.RegisterConsumerRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.service.UserInfoRequest + * @memberof flyteidl.artifact.RegisterConsumerRequest * @static - * @param {flyteidl.service.IUserInfoRequest} message UserInfoRequest message or plain object to encode + * @param {flyteidl.artifact.IRegisterConsumerRequest} message RegisterConsumerRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UserInfoRequest.encode = function encode(message, writer) { + RegisterConsumerRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.consumers != null && message.consumers.length) + for (var i = 0; i < message.consumers.length; ++i) + $root.flyteidl.artifact.ArtifactConsumer.encode(message.consumers[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a UserInfoRequest message from the specified reader or buffer. + * Decodes a RegisterConsumerRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.UserInfoRequest + * @memberof flyteidl.artifact.RegisterConsumerRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.UserInfoRequest} UserInfoRequest + * @returns {flyteidl.artifact.RegisterConsumerRequest} RegisterConsumerRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UserInfoRequest.decode = function decode(reader, length) { + RegisterConsumerRequest.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.service.UserInfoRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.RegisterConsumerRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + if (!(message.consumers && message.consumers.length)) + message.consumers = []; + message.consumers.push($root.flyteidl.artifact.ArtifactConsumer.decode(reader, reader.uint32())); + break; default: reader.skipType(tag & 7); break; @@ -49074,47 +54517,48 @@ }; /** - * Verifies a UserInfoRequest message. + * Verifies a RegisterConsumerRequest message. * @function verify - * @memberof flyteidl.service.UserInfoRequest + * @memberof flyteidl.artifact.RegisterConsumerRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UserInfoRequest.verify = function verify(message) { + RegisterConsumerRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.consumers != null && message.hasOwnProperty("consumers")) { + if (!Array.isArray(message.consumers)) + return "consumers: array expected"; + for (var i = 0; i < message.consumers.length; ++i) { + var error = $root.flyteidl.artifact.ArtifactConsumer.verify(message.consumers[i]); + if (error) + return "consumers." + error; + } + } return null; }; - return UserInfoRequest; + return RegisterConsumerRequest; })(); - service.UserInfoResponse = (function() { + artifact.RegisterResponse = (function() { /** - * Properties of a UserInfoResponse. - * @memberof flyteidl.service - * @interface IUserInfoResponse - * @property {string|null} [subject] UserInfoResponse subject - * @property {string|null} [name] UserInfoResponse name - * @property {string|null} [preferredUsername] UserInfoResponse preferredUsername - * @property {string|null} [givenName] UserInfoResponse givenName - * @property {string|null} [familyName] UserInfoResponse familyName - * @property {string|null} [email] UserInfoResponse email - * @property {string|null} [picture] UserInfoResponse picture - * @property {google.protobuf.IStruct|null} [additionalClaims] UserInfoResponse additionalClaims + * Properties of a RegisterResponse. + * @memberof flyteidl.artifact + * @interface IRegisterResponse */ /** - * Constructs a new UserInfoResponse. - * @memberof flyteidl.service - * @classdesc Represents a UserInfoResponse. - * @implements IUserInfoResponse + * Constructs a new RegisterResponse. + * @memberof flyteidl.artifact + * @classdesc Represents a RegisterResponse. + * @implements IRegisterResponse * @constructor - * @param {flyteidl.service.IUserInfoResponse=} [properties] Properties to set + * @param {flyteidl.artifact.IRegisterResponse=} [properties] Properties to set */ - function UserInfoResponse(properties) { + function RegisterResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49122,154 +54566,50 @@ } /** - * UserInfoResponse subject. - * @member {string} subject - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.subject = ""; - - /** - * UserInfoResponse name. - * @member {string} name - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.name = ""; - - /** - * UserInfoResponse preferredUsername. - * @member {string} preferredUsername - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.preferredUsername = ""; - - /** - * UserInfoResponse givenName. - * @member {string} givenName - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.givenName = ""; - - /** - * UserInfoResponse familyName. - * @member {string} familyName - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.familyName = ""; - - /** - * UserInfoResponse email. - * @member {string} email - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.email = ""; - - /** - * UserInfoResponse picture. - * @member {string} picture - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.picture = ""; - - /** - * UserInfoResponse additionalClaims. - * @member {google.protobuf.IStruct|null|undefined} additionalClaims - * @memberof flyteidl.service.UserInfoResponse - * @instance - */ - UserInfoResponse.prototype.additionalClaims = null; - - /** - * Creates a new UserInfoResponse instance using the specified properties. + * Creates a new RegisterResponse instance using the specified properties. * @function create - * @memberof flyteidl.service.UserInfoResponse + * @memberof flyteidl.artifact.RegisterResponse * @static - * @param {flyteidl.service.IUserInfoResponse=} [properties] Properties to set - * @returns {flyteidl.service.UserInfoResponse} UserInfoResponse instance + * @param {flyteidl.artifact.IRegisterResponse=} [properties] Properties to set + * @returns {flyteidl.artifact.RegisterResponse} RegisterResponse instance */ - UserInfoResponse.create = function create(properties) { - return new UserInfoResponse(properties); + RegisterResponse.create = function create(properties) { + return new RegisterResponse(properties); }; /** - * Encodes the specified UserInfoResponse message. Does not implicitly {@link flyteidl.service.UserInfoResponse.verify|verify} messages. + * Encodes the specified RegisterResponse message. Does not implicitly {@link flyteidl.artifact.RegisterResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.service.UserInfoResponse + * @memberof flyteidl.artifact.RegisterResponse * @static - * @param {flyteidl.service.IUserInfoResponse} message UserInfoResponse message or plain object to encode + * @param {flyteidl.artifact.IRegisterResponse} message RegisterResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UserInfoResponse.encode = function encode(message, writer) { + RegisterResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.subject != null && message.hasOwnProperty("subject")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.subject); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.preferredUsername != null && message.hasOwnProperty("preferredUsername")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.preferredUsername); - if (message.givenName != null && message.hasOwnProperty("givenName")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.givenName); - if (message.familyName != null && message.hasOwnProperty("familyName")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.familyName); - if (message.email != null && message.hasOwnProperty("email")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.email); - if (message.picture != null && message.hasOwnProperty("picture")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.picture); - if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims")) - $root.google.protobuf.Struct.encode(message.additionalClaims, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes a UserInfoResponse message from the specified reader or buffer. + * Decodes a RegisterResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.service.UserInfoResponse + * @memberof flyteidl.artifact.RegisterResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.service.UserInfoResponse} UserInfoResponse + * @returns {flyteidl.artifact.RegisterResponse} RegisterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UserInfoResponse.decode = function decode(reader, length) { + RegisterResponse.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.service.UserInfoResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.artifact.RegisterResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.subject = reader.string(); - break; - case 2: - message.name = reader.string(); - break; - case 3: - message.preferredUsername = reader.string(); - break; - case 4: - message.givenName = reader.string(); - break; - case 5: - message.familyName = reader.string(); - break; - case 6: - message.email = reader.string(); - break; - case 7: - message.picture = reader.string(); - break; - case 8: - message.additionalClaims = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -49279,251 +54619,289 @@ }; /** - * Verifies a UserInfoResponse message. + * Verifies a RegisterResponse message. * @function verify - * @memberof flyteidl.service.UserInfoResponse + * @memberof flyteidl.artifact.RegisterResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UserInfoResponse.verify = function verify(message) { + RegisterResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.subject != null && message.hasOwnProperty("subject")) - if (!$util.isString(message.subject)) - return "subject: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.preferredUsername != null && message.hasOwnProperty("preferredUsername")) - if (!$util.isString(message.preferredUsername)) - return "preferredUsername: string expected"; - if (message.givenName != null && message.hasOwnProperty("givenName")) - if (!$util.isString(message.givenName)) - return "givenName: string expected"; - if (message.familyName != null && message.hasOwnProperty("familyName")) - if (!$util.isString(message.familyName)) - return "familyName: string expected"; - if (message.email != null && message.hasOwnProperty("email")) - if (!$util.isString(message.email)) - return "email: string expected"; - if (message.picture != null && message.hasOwnProperty("picture")) - if (!$util.isString(message.picture)) - return "picture: string expected"; - if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims")) { - var error = $root.google.protobuf.Struct.verify(message.additionalClaims); - if (error) - return "additionalClaims." + error; - } return null; }; - return UserInfoResponse; + return RegisterResponse; })(); - service.IdentityService = (function() { + artifact.ArtifactRegistry = (function() { /** - * Constructs a new IdentityService service. - * @memberof flyteidl.service - * @classdesc Represents an IdentityService + * Constructs a new ArtifactRegistry service. + * @memberof flyteidl.artifact + * @classdesc Represents an ArtifactRegistry * @extends $protobuf.rpc.Service * @constructor * @param {$protobuf.RPCImpl} rpcImpl RPC implementation * @param {boolean} [requestDelimited=false] Whether requests are length-delimited * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ - function IdentityService(rpcImpl, requestDelimited, responseDelimited) { + function ArtifactRegistry(rpcImpl, requestDelimited, responseDelimited) { $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); } - (IdentityService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = IdentityService; + (ArtifactRegistry.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ArtifactRegistry; /** - * Creates new IdentityService service using the specified rpc implementation. + * Creates new ArtifactRegistry service using the specified rpc implementation. * @function create - * @memberof flyteidl.service.IdentityService + * @memberof flyteidl.artifact.ArtifactRegistry * @static * @param {$protobuf.RPCImpl} rpcImpl RPC implementation * @param {boolean} [requestDelimited=false] Whether requests are length-delimited * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {IdentityService} RPC service. Useful where requests and/or responses are streamed. + * @returns {ArtifactRegistry} RPC service. Useful where requests and/or responses are streamed. */ - IdentityService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + ArtifactRegistry.create = function create(rpcImpl, requestDelimited, responseDelimited) { return new this(rpcImpl, requestDelimited, responseDelimited); }; /** - * Callback as used by {@link flyteidl.service.IdentityService#userInfo}. - * @memberof flyteidl.service.IdentityService - * @typedef UserInfoCallback + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#createArtifact}. + * @memberof flyteidl.artifact.ArtifactRegistry + * @typedef CreateArtifactCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.service.UserInfoResponse} [response] UserInfoResponse + * @param {flyteidl.artifact.CreateArtifactResponse} [response] CreateArtifactResponse */ /** - * Calls UserInfo. - * @function userInfo - * @memberof flyteidl.service.IdentityService + * Calls CreateArtifact. + * @function createArtifact + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.service.IUserInfoRequest} request UserInfoRequest message or plain object - * @param {flyteidl.service.IdentityService.UserInfoCallback} callback Node-style callback called with the error, if any, and UserInfoResponse + * @param {flyteidl.artifact.ICreateArtifactRequest} request CreateArtifactRequest message or plain object + * @param {flyteidl.artifact.ArtifactRegistry.CreateArtifactCallback} callback Node-style callback called with the error, if any, and CreateArtifactResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(IdentityService.prototype.userInfo = function userInfo(request, callback) { - return this.rpcCall(userInfo, $root.flyteidl.service.UserInfoRequest, $root.flyteidl.service.UserInfoResponse, request, callback); - }, "name", { value: "UserInfo" }); + Object.defineProperty(ArtifactRegistry.prototype.createArtifact = function createArtifact(request, callback) { + return this.rpcCall(createArtifact, $root.flyteidl.artifact.CreateArtifactRequest, $root.flyteidl.artifact.CreateArtifactResponse, request, callback); + }, "name", { value: "CreateArtifact" }); /** - * Calls UserInfo. - * @function userInfo - * @memberof flyteidl.service.IdentityService + * Calls CreateArtifact. + * @function createArtifact + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.service.IUserInfoRequest} request UserInfoRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.artifact.ICreateArtifactRequest} request CreateArtifactRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ - return IdentityService; - })(); + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#getArtifact}. + * @memberof flyteidl.artifact.ArtifactRegistry + * @typedef GetArtifactCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.artifact.GetArtifactResponse} [response] GetArtifactResponse + */ - service.SignalService = (function() { + /** + * Calls GetArtifact. + * @function getArtifact + * @memberof flyteidl.artifact.ArtifactRegistry + * @instance + * @param {flyteidl.artifact.IGetArtifactRequest} request GetArtifactRequest message or plain object + * @param {flyteidl.artifact.ArtifactRegistry.GetArtifactCallback} callback Node-style callback called with the error, if any, and GetArtifactResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(ArtifactRegistry.prototype.getArtifact = function getArtifact(request, callback) { + return this.rpcCall(getArtifact, $root.flyteidl.artifact.GetArtifactRequest, $root.flyteidl.artifact.GetArtifactResponse, request, callback); + }, "name", { value: "GetArtifact" }); /** - * Constructs a new SignalService service. - * @memberof flyteidl.service - * @classdesc Represents a SignalService - * @extends $protobuf.rpc.Service - * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * Calls GetArtifact. + * @function getArtifact + * @memberof flyteidl.artifact.ArtifactRegistry + * @instance + * @param {flyteidl.artifact.IGetArtifactRequest} request GetArtifactRequest message or plain object + * @returns {Promise} Promise + * @variation 2 */ - function SignalService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } - (SignalService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = SignalService; + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#createTrigger}. + * @memberof flyteidl.artifact.ArtifactRegistry + * @typedef CreateTriggerCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.artifact.CreateTriggerResponse} [response] CreateTriggerResponse + */ /** - * Creates new SignalService service using the specified rpc implementation. - * @function create - * @memberof flyteidl.service.SignalService - * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {SignalService} RPC service. Useful where requests and/or responses are streamed. + * Calls CreateTrigger. + * @function createTrigger + * @memberof flyteidl.artifact.ArtifactRegistry + * @instance + * @param {flyteidl.artifact.ICreateTriggerRequest} request CreateTriggerRequest message or plain object + * @param {flyteidl.artifact.ArtifactRegistry.CreateTriggerCallback} callback Node-style callback called with the error, if any, and CreateTriggerResponse + * @returns {undefined} + * @variation 1 */ - SignalService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); - }; + Object.defineProperty(ArtifactRegistry.prototype.createTrigger = function createTrigger(request, callback) { + return this.rpcCall(createTrigger, $root.flyteidl.artifact.CreateTriggerRequest, $root.flyteidl.artifact.CreateTriggerResponse, request, callback); + }, "name", { value: "CreateTrigger" }); /** - * Callback as used by {@link flyteidl.service.SignalService#getOrCreateSignal}. - * @memberof flyteidl.service.SignalService - * @typedef GetOrCreateSignalCallback + * Calls CreateTrigger. + * @function createTrigger + * @memberof flyteidl.artifact.ArtifactRegistry + * @instance + * @param {flyteidl.artifact.ICreateTriggerRequest} request CreateTriggerRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#deleteTrigger}. + * @memberof flyteidl.artifact.ArtifactRegistry + * @typedef DeleteTriggerCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.Signal} [response] Signal + * @param {flyteidl.artifact.DeleteTriggerResponse} [response] DeleteTriggerResponse */ /** - * Calls GetOrCreateSignal. - * @function getOrCreateSignal - * @memberof flyteidl.service.SignalService + * Calls DeleteTrigger. + * @function deleteTrigger + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.admin.ISignalGetOrCreateRequest} request SignalGetOrCreateRequest message or plain object - * @param {flyteidl.service.SignalService.GetOrCreateSignalCallback} callback Node-style callback called with the error, if any, and Signal + * @param {flyteidl.artifact.IDeleteTriggerRequest} request DeleteTriggerRequest message or plain object + * @param {flyteidl.artifact.ArtifactRegistry.DeleteTriggerCallback} callback Node-style callback called with the error, if any, and DeleteTriggerResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(SignalService.prototype.getOrCreateSignal = function getOrCreateSignal(request, callback) { - return this.rpcCall(getOrCreateSignal, $root.flyteidl.admin.SignalGetOrCreateRequest, $root.flyteidl.admin.Signal, request, callback); - }, "name", { value: "GetOrCreateSignal" }); + Object.defineProperty(ArtifactRegistry.prototype.deleteTrigger = function deleteTrigger(request, callback) { + return this.rpcCall(deleteTrigger, $root.flyteidl.artifact.DeleteTriggerRequest, $root.flyteidl.artifact.DeleteTriggerResponse, request, callback); + }, "name", { value: "DeleteTrigger" }); /** - * Calls GetOrCreateSignal. - * @function getOrCreateSignal - * @memberof flyteidl.service.SignalService + * Calls DeleteTrigger. + * @function deleteTrigger + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.admin.ISignalGetOrCreateRequest} request SignalGetOrCreateRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.artifact.IDeleteTriggerRequest} request DeleteTriggerRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ /** - * Callback as used by {@link flyteidl.service.SignalService#listSignals}. - * @memberof flyteidl.service.SignalService - * @typedef ListSignalsCallback + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#addTag}. + * @memberof flyteidl.artifact.ArtifactRegistry + * @typedef AddTagCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.SignalList} [response] SignalList + * @param {flyteidl.artifact.AddTagResponse} [response] AddTagResponse */ /** - * Calls ListSignals. - * @function listSignals - * @memberof flyteidl.service.SignalService + * Calls AddTag. + * @function addTag + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.admin.ISignalListRequest} request SignalListRequest message or plain object - * @param {flyteidl.service.SignalService.ListSignalsCallback} callback Node-style callback called with the error, if any, and SignalList + * @param {flyteidl.artifact.IAddTagRequest} request AddTagRequest message or plain object + * @param {flyteidl.artifact.ArtifactRegistry.AddTagCallback} callback Node-style callback called with the error, if any, and AddTagResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(SignalService.prototype.listSignals = function listSignals(request, callback) { - return this.rpcCall(listSignals, $root.flyteidl.admin.SignalListRequest, $root.flyteidl.admin.SignalList, request, callback); - }, "name", { value: "ListSignals" }); + Object.defineProperty(ArtifactRegistry.prototype.addTag = function addTag(request, callback) { + return this.rpcCall(addTag, $root.flyteidl.artifact.AddTagRequest, $root.flyteidl.artifact.AddTagResponse, request, callback); + }, "name", { value: "AddTag" }); /** - * Calls ListSignals. - * @function listSignals - * @memberof flyteidl.service.SignalService + * Calls AddTag. + * @function addTag + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.admin.ISignalListRequest} request SignalListRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.artifact.IAddTagRequest} request AddTagRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ /** - * Callback as used by {@link flyteidl.service.SignalService#setSignal}. - * @memberof flyteidl.service.SignalService - * @typedef SetSignalCallback + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#registerProducer}. + * @memberof flyteidl.artifact.ArtifactRegistry + * @typedef RegisterProducerCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.admin.SignalSetResponse} [response] SignalSetResponse + * @param {flyteidl.artifact.RegisterResponse} [response] RegisterResponse */ /** - * Calls SetSignal. - * @function setSignal - * @memberof flyteidl.service.SignalService + * Calls RegisterProducer. + * @function registerProducer + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.admin.ISignalSetRequest} request SignalSetRequest message or plain object - * @param {flyteidl.service.SignalService.SetSignalCallback} callback Node-style callback called with the error, if any, and SignalSetResponse + * @param {flyteidl.artifact.IRegisterProducerRequest} request RegisterProducerRequest message or plain object + * @param {flyteidl.artifact.ArtifactRegistry.RegisterProducerCallback} callback Node-style callback called with the error, if any, and RegisterResponse * @returns {undefined} * @variation 1 */ - Object.defineProperty(SignalService.prototype.setSignal = function setSignal(request, callback) { - return this.rpcCall(setSignal, $root.flyteidl.admin.SignalSetRequest, $root.flyteidl.admin.SignalSetResponse, request, callback); - }, "name", { value: "SetSignal" }); + Object.defineProperty(ArtifactRegistry.prototype.registerProducer = function registerProducer(request, callback) { + return this.rpcCall(registerProducer, $root.flyteidl.artifact.RegisterProducerRequest, $root.flyteidl.artifact.RegisterResponse, request, callback); + }, "name", { value: "RegisterProducer" }); /** - * Calls SetSignal. - * @function setSignal - * @memberof flyteidl.service.SignalService + * Calls RegisterProducer. + * @function registerProducer + * @memberof flyteidl.artifact.ArtifactRegistry * @instance - * @param {flyteidl.admin.ISignalSetRequest} request SignalSetRequest message or plain object - * @returns {Promise} Promise + * @param {flyteidl.artifact.IRegisterProducerRequest} request RegisterProducerRequest message or plain object + * @returns {Promise} Promise * @variation 2 */ - return SignalService; + /** + * Callback as used by {@link flyteidl.artifact.ArtifactRegistry#registerConsumer}. + * @memberof flyteidl.artifact.ArtifactRegistry + * @typedef RegisterConsumerCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.artifact.RegisterResponse} [response] RegisterResponse + */ + + /** + * Calls RegisterConsumer. + * @function registerConsumer + * @memberof flyteidl.artifact.ArtifactRegistry + * @instance + * @param {flyteidl.artifact.IRegisterConsumerRequest} request RegisterConsumerRequest message or plain object + * @param {flyteidl.artifact.ArtifactRegistry.RegisterConsumerCallback} callback Node-style callback called with the error, if any, and RegisterResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(ArtifactRegistry.prototype.registerConsumer = function registerConsumer(request, callback) { + return this.rpcCall(registerConsumer, $root.flyteidl.artifact.RegisterConsumerRequest, $root.flyteidl.artifact.RegisterResponse, request, callback); + }, "name", { value: "RegisterConsumer" }); + + /** + * Calls RegisterConsumer. + * @function registerConsumer + * @memberof flyteidl.artifact.ArtifactRegistry + * @instance + * @param {flyteidl.artifact.IRegisterConsumerRequest} request RegisterConsumerRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return ArtifactRegistry; })(); - return service; + return artifact; })(); return flyteidl; @@ -51291,6 +56669,133 @@ return BytesValue; })(); + protobuf.Any = (function() { + + /** + * Properties of an Any. + * @memberof google.protobuf + * @interface IAny + * @property {string|null} [type_url] Any type_url + * @property {Uint8Array|null} [value] Any value + */ + + /** + * Constructs a new Any. + * @memberof google.protobuf + * @classdesc Represents an Any. + * @implements IAny + * @constructor + * @param {google.protobuf.IAny=} [properties] Properties to set + */ + function Any(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]]; + } + + /** + * Any type_url. + * @member {string} type_url + * @memberof google.protobuf.Any + * @instance + */ + Any.prototype.type_url = ""; + + /** + * Any value. + * @member {Uint8Array} value + * @memberof google.protobuf.Any + * @instance + */ + Any.prototype.value = $util.newBuffer([]); + + /** + * Creates a new Any instance using the specified properties. + * @function create + * @memberof google.protobuf.Any + * @static + * @param {google.protobuf.IAny=} [properties] Properties to set + * @returns {google.protobuf.Any} Any instance + */ + Any.create = function create(properties) { + return new Any(properties); + }; + + /** + * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. + * @function encode + * @memberof google.protobuf.Any + * @static + * @param {google.protobuf.IAny} message Any message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Any.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.type_url != null && message.hasOwnProperty("type_url")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.type_url); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.value); + return writer; + }; + + /** + * Decodes an Any message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.Any + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.Any} Any + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Any.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.google.protobuf.Any(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.type_url = reader.string(); + break; + case 2: + message.value = reader.bytes(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an Any message. + * @function verify + * @memberof google.protobuf.Any + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Any.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.type_url != null && message.hasOwnProperty("type_url")) + if (!$util.isString(message.type_url)) + return "type_url: string expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) + return "value: buffer expected"; + return null; + }; + + return Any; + })(); + protobuf.FileDescriptorSet = (function() { /** diff --git a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py index 373d09440e..f71cdab8a2 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py @@ -15,6 +15,7 @@ from flyteidl.admin import common_pb2 as flyteidl_dot_admin_dot_common__pb2 from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 from flyteidl.core import metrics_pb2 as flyteidl_dot_core_dot_metrics__pb2 from flyteidl.core import security_pb2 as flyteidl_dot_core_dot_security__pb2 @@ -23,7 +24,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66lyteidl/admin/execution.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1b\x66lyteidl/core/metrics.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc4\x01\n\x16\x45xecutionCreateRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x31\n\x04spec\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12\x31\n\x06inputs\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x06inputs\"\x99\x01\n\x18\x45xecutionRelaunchRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\'\n\x0foverwrite_cache\x18\x04 \x01(\x08R\x0eoverwriteCacheJ\x04\x08\x02\x10\x03\"\xa8\x01\n\x17\x45xecutionRecoverRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\"U\n\x17\x45xecutionCreateResponse\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"Y\n\x1bWorkflowExecutionGetRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\xb6\x01\n\tExecution\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x31\n\x04spec\x18\x02 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12:\n\x07\x63losure\x18\x03 \x01(\x0b\x32 .flyteidl.admin.ExecutionClosureR\x07\x63losure\"`\n\rExecutionList\x12\x39\n\nexecutions\x18\x01 \x03(\x0b\x32\x19.flyteidl.admin.ExecutionR\nexecutions\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"e\n\x0eLiteralMapBlob\x12\x37\n\x06values\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\x06values\x12\x12\n\x03uri\x18\x02 \x01(\tH\x00R\x03uriB\x06\n\x04\x64\x61ta\"C\n\rAbortMetadata\x12\x14\n\x05\x63\x61use\x18\x01 \x01(\tR\x05\x63\x61use\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\"\x98\x07\n\x10\x45xecutionClosure\x12>\n\x07outputs\x18\x01 \x01(\x0b\x32\x1e.flyteidl.admin.LiteralMapBlobB\x02\x18\x01H\x00R\x07outputs\x12\x35\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00R\x05\x65rror\x12%\n\x0b\x61\x62ort_cause\x18\n \x01(\tB\x02\x18\x01H\x00R\nabortCause\x12\x46\n\x0e\x61\x62ort_metadata\x18\x0c \x01(\x0b\x32\x1d.flyteidl.admin.AbortMetadataH\x00R\rabortMetadata\x12@\n\x0boutput_data\x18\r \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\noutputData\x12\x46\n\x0f\x63omputed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x0e\x63omputedInputs\x12<\n\x05phase\x18\x04 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.PhaseR\x05phase\x12\x39\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x42\n\rnotifications\x18\t \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\x12:\n\x0bworkflow_id\x18\x0b \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12]\n\x14state_change_details\x18\x0e \x01(\x0b\x32+.flyteidl.admin.ExecutionStateChangeDetailsR\x12stateChangeDetailsB\x0f\n\routput_result\"[\n\x0eSystemMetadata\x12+\n\x11\x65xecution_cluster\x18\x01 \x01(\tR\x10\x65xecutionCluster\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\"\xba\x04\n\x11\x45xecutionMetadata\x12\x43\n\x04mode\x18\x01 \x01(\x0e\x32/.flyteidl.admin.ExecutionMetadata.ExecutionModeR\x04mode\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\x12\x18\n\x07nesting\x18\x03 \x01(\rR\x07nesting\x12=\n\x0cscheduled_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\x12Z\n\x15parent_node_execution\x18\x05 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierR\x13parentNodeExecution\x12[\n\x13reference_execution\x18\x10 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12G\n\x0fsystem_metadata\x18\x11 \x01(\x0b\x32\x1e.flyteidl.admin.SystemMetadataR\x0esystemMetadata\"g\n\rExecutionMode\x12\n\n\x06MANUAL\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0c\n\x08RELAUNCH\x10\x03\x12\x12\n\x0e\x43HILD_WORKFLOW\x10\x04\x12\r\n\tRECOVERED\x10\x05\"V\n\x10NotificationList\x12\x42\n\rnotifications\x18\x01 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\"\x90\x08\n\rExecutionSpec\x12:\n\x0blaunch_plan\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nlaunchPlan\x12\x35\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x06inputs\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\x12H\n\rnotifications\x18\x05 \x01(\x0b\x32 .flyteidl.admin.NotificationListH\x00R\rnotifications\x12!\n\x0b\x64isable_all\x18\x06 \x01(\x08H\x00R\ndisableAll\x12.\n\x06labels\x18\x07 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x08 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12\x39\n\tauth_role\x18\x10 \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12M\n\x12quality_of_service\x18\x11 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12X\n\x16raw_output_data_config\x18\x13 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12P\n\x12\x63luster_assignment\x18\x14 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignmentR\x11\x63lusterAssignment\x12@\n\rinterruptible\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x16 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x17 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\x12\x12\n\x04tags\x18\x18 \x03(\tR\x04tagsB\x18\n\x16notification_overridesJ\x04\x08\x04\x10\x05\"m\n\x19\x45xecutionTerminateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x63\x61use\x18\x02 \x01(\tR\x05\x63\x61use\"\x1c\n\x1a\x45xecutionTerminateResponse\"]\n\x1fWorkflowExecutionGetDataRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\x88\x02\n WorkflowExecutionGetDataResponse\x12\x35\n\x07outputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x07outputs\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x06inputs\x12:\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\nfullInputs\x12<\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ullOutputs\"\x8a\x01\n\x16\x45xecutionUpdateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\"\xae\x01\n\x1b\x45xecutionStateChangeDetails\x12\x34\n\x05state\x18\x01 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\x12;\n\x0boccurred_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\noccurredAt\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\"\x19\n\x17\x45xecutionUpdateResponse\"v\n\"WorkflowExecutionGetMetricsRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x64\x65pth\x18\x02 \x01(\x05R\x05\x64\x65pth\"N\n#WorkflowExecutionGetMetricsResponse\x12\'\n\x04span\x18\x01 \x01(\x0b\x32\x13.flyteidl.core.SpanR\x04span*>\n\x0e\x45xecutionState\x12\x14\n\x10\x45XECUTION_ACTIVE\x10\x00\x12\x16\n\x12\x45XECUTION_ARCHIVED\x10\x01\x42\xba\x01\n\x12\x63om.flyteidl.adminB\x0e\x45xecutionProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66lyteidl/admin/execution.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1b\x66lyteidl/core/metrics.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc4\x01\n\x16\x45xecutionCreateRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x31\n\x04spec\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12\x31\n\x06inputs\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x06inputs\"\x99\x01\n\x18\x45xecutionRelaunchRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\'\n\x0foverwrite_cache\x18\x04 \x01(\x08R\x0eoverwriteCacheJ\x04\x08\x02\x10\x03\"\xa8\x01\n\x17\x45xecutionRecoverRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\"U\n\x17\x45xecutionCreateResponse\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"Y\n\x1bWorkflowExecutionGetRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\xb6\x01\n\tExecution\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x31\n\x04spec\x18\x02 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12:\n\x07\x63losure\x18\x03 \x01(\x0b\x32 .flyteidl.admin.ExecutionClosureR\x07\x63losure\"`\n\rExecutionList\x12\x39\n\nexecutions\x18\x01 \x03(\x0b\x32\x19.flyteidl.admin.ExecutionR\nexecutions\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"e\n\x0eLiteralMapBlob\x12\x37\n\x06values\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\x06values\x12\x12\n\x03uri\x18\x02 \x01(\tH\x00R\x03uriB\x06\n\x04\x64\x61ta\"C\n\rAbortMetadata\x12\x14\n\x05\x63\x61use\x18\x01 \x01(\tR\x05\x63\x61use\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\"\x98\x07\n\x10\x45xecutionClosure\x12>\n\x07outputs\x18\x01 \x01(\x0b\x32\x1e.flyteidl.admin.LiteralMapBlobB\x02\x18\x01H\x00R\x07outputs\x12\x35\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00R\x05\x65rror\x12%\n\x0b\x61\x62ort_cause\x18\n \x01(\tB\x02\x18\x01H\x00R\nabortCause\x12\x46\n\x0e\x61\x62ort_metadata\x18\x0c \x01(\x0b\x32\x1d.flyteidl.admin.AbortMetadataH\x00R\rabortMetadata\x12@\n\x0boutput_data\x18\r \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\noutputData\x12\x46\n\x0f\x63omputed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x0e\x63omputedInputs\x12<\n\x05phase\x18\x04 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.PhaseR\x05phase\x12\x39\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x42\n\rnotifications\x18\t \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\x12:\n\x0bworkflow_id\x18\x0b \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12]\n\x14state_change_details\x18\x0e \x01(\x0b\x32+.flyteidl.admin.ExecutionStateChangeDetailsR\x12stateChangeDetailsB\x0f\n\routput_result\"[\n\x0eSystemMetadata\x12+\n\x11\x65xecution_cluster\x18\x01 \x01(\tR\x10\x65xecutionCluster\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\"\xf8\x04\n\x11\x45xecutionMetadata\x12\x43\n\x04mode\x18\x01 \x01(\x0e\x32/.flyteidl.admin.ExecutionMetadata.ExecutionModeR\x04mode\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\x12\x18\n\x07nesting\x18\x03 \x01(\rR\x07nesting\x12=\n\x0cscheduled_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\x12Z\n\x15parent_node_execution\x18\x05 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierR\x13parentNodeExecution\x12[\n\x13reference_execution\x18\x10 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12G\n\x0fsystem_metadata\x18\x11 \x01(\x0b\x32\x1e.flyteidl.admin.SystemMetadataR\x0esystemMetadata\x12<\n\x0c\x61rtifact_ids\x18\x12 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\"g\n\rExecutionMode\x12\n\n\x06MANUAL\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0c\n\x08RELAUNCH\x10\x03\x12\x12\n\x0e\x43HILD_WORKFLOW\x10\x04\x12\r\n\tRECOVERED\x10\x05\"V\n\x10NotificationList\x12\x42\n\rnotifications\x18\x01 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\"\x90\x08\n\rExecutionSpec\x12:\n\x0blaunch_plan\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nlaunchPlan\x12\x35\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x06inputs\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\x12H\n\rnotifications\x18\x05 \x01(\x0b\x32 .flyteidl.admin.NotificationListH\x00R\rnotifications\x12!\n\x0b\x64isable_all\x18\x06 \x01(\x08H\x00R\ndisableAll\x12.\n\x06labels\x18\x07 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x08 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12\x39\n\tauth_role\x18\x10 \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12M\n\x12quality_of_service\x18\x11 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12X\n\x16raw_output_data_config\x18\x13 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12P\n\x12\x63luster_assignment\x18\x14 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignmentR\x11\x63lusterAssignment\x12@\n\rinterruptible\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x16 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x17 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\x12\x12\n\x04tags\x18\x18 \x03(\tR\x04tagsB\x18\n\x16notification_overridesJ\x04\x08\x04\x10\x05\"m\n\x19\x45xecutionTerminateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x63\x61use\x18\x02 \x01(\tR\x05\x63\x61use\"\x1c\n\x1a\x45xecutionTerminateResponse\"]\n\x1fWorkflowExecutionGetDataRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\x88\x02\n WorkflowExecutionGetDataResponse\x12\x35\n\x07outputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x07outputs\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x06inputs\x12:\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\nfullInputs\x12<\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ullOutputs\"\x8a\x01\n\x16\x45xecutionUpdateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\"\xae\x01\n\x1b\x45xecutionStateChangeDetails\x12\x34\n\x05state\x18\x01 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\x12;\n\x0boccurred_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\noccurredAt\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\"\x19\n\x17\x45xecutionUpdateResponse\"v\n\"WorkflowExecutionGetMetricsRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x64\x65pth\x18\x02 \x01(\x05R\x05\x64\x65pth\"N\n#WorkflowExecutionGetMetricsResponse\x12\'\n\x04span\x18\x01 \x01(\x0b\x32\x13.flyteidl.core.SpanR\x04span*>\n\x0e\x45xecutionState\x12\x14\n\x10\x45XECUTION_ACTIVE\x10\x00\x12\x16\n\x12\x45XECUTION_ARCHIVED\x10\x01\x42\xba\x01\n\x12\x63om.flyteidl.adminB\x0e\x45xecutionProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -50,54 +51,54 @@ _WORKFLOWEXECUTIONGETDATARESPONSE.fields_by_name['outputs']._serialized_options = b'\030\001' _WORKFLOWEXECUTIONGETDATARESPONSE.fields_by_name['inputs']._options = None _WORKFLOWEXECUTIONGETDATARESPONSE.fields_by_name['inputs']._serialized_options = b'\030\001' - _globals['_EXECUTIONSTATE']._serialized_start=5296 - _globals['_EXECUTIONSTATE']._serialized_end=5358 - _globals['_EXECUTIONCREATEREQUEST']._serialized_start=370 - _globals['_EXECUTIONCREATEREQUEST']._serialized_end=566 - _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_start=569 - _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_end=722 - _globals['_EXECUTIONRECOVERREQUEST']._serialized_start=725 - _globals['_EXECUTIONRECOVERREQUEST']._serialized_end=893 - _globals['_EXECUTIONCREATERESPONSE']._serialized_start=895 - _globals['_EXECUTIONCREATERESPONSE']._serialized_end=980 - _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_start=982 - _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_end=1071 - _globals['_EXECUTION']._serialized_start=1074 - _globals['_EXECUTION']._serialized_end=1256 - _globals['_EXECUTIONLIST']._serialized_start=1258 - _globals['_EXECUTIONLIST']._serialized_end=1354 - _globals['_LITERALMAPBLOB']._serialized_start=1356 - _globals['_LITERALMAPBLOB']._serialized_end=1457 - _globals['_ABORTMETADATA']._serialized_start=1459 - _globals['_ABORTMETADATA']._serialized_end=1526 - _globals['_EXECUTIONCLOSURE']._serialized_start=1529 - _globals['_EXECUTIONCLOSURE']._serialized_end=2449 - _globals['_SYSTEMMETADATA']._serialized_start=2451 - _globals['_SYSTEMMETADATA']._serialized_end=2542 - _globals['_EXECUTIONMETADATA']._serialized_start=2545 - _globals['_EXECUTIONMETADATA']._serialized_end=3115 - _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_start=3012 - _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_end=3115 - _globals['_NOTIFICATIONLIST']._serialized_start=3117 - _globals['_NOTIFICATIONLIST']._serialized_end=3203 - _globals['_EXECUTIONSPEC']._serialized_start=3206 - _globals['_EXECUTIONSPEC']._serialized_end=4246 - _globals['_EXECUTIONTERMINATEREQUEST']._serialized_start=4248 - _globals['_EXECUTIONTERMINATEREQUEST']._serialized_end=4357 - _globals['_EXECUTIONTERMINATERESPONSE']._serialized_start=4359 - _globals['_EXECUTIONTERMINATERESPONSE']._serialized_end=4387 - _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_start=4389 - _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_end=4482 - _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_start=4485 - _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_end=4749 - _globals['_EXECUTIONUPDATEREQUEST']._serialized_start=4752 - _globals['_EXECUTIONUPDATEREQUEST']._serialized_end=4890 - _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_start=4893 - _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_end=5067 - _globals['_EXECUTIONUPDATERESPONSE']._serialized_start=5069 - _globals['_EXECUTIONUPDATERESPONSE']._serialized_end=5094 - _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_start=5096 - _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_end=5214 - _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_start=5216 - _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_end=5294 + _globals['_EXECUTIONSTATE']._serialized_start=5391 + _globals['_EXECUTIONSTATE']._serialized_end=5453 + _globals['_EXECUTIONCREATEREQUEST']._serialized_start=403 + _globals['_EXECUTIONCREATEREQUEST']._serialized_end=599 + _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_start=602 + _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_end=755 + _globals['_EXECUTIONRECOVERREQUEST']._serialized_start=758 + _globals['_EXECUTIONRECOVERREQUEST']._serialized_end=926 + _globals['_EXECUTIONCREATERESPONSE']._serialized_start=928 + _globals['_EXECUTIONCREATERESPONSE']._serialized_end=1013 + _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_start=1015 + _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_end=1104 + _globals['_EXECUTION']._serialized_start=1107 + _globals['_EXECUTION']._serialized_end=1289 + _globals['_EXECUTIONLIST']._serialized_start=1291 + _globals['_EXECUTIONLIST']._serialized_end=1387 + _globals['_LITERALMAPBLOB']._serialized_start=1389 + _globals['_LITERALMAPBLOB']._serialized_end=1490 + _globals['_ABORTMETADATA']._serialized_start=1492 + _globals['_ABORTMETADATA']._serialized_end=1559 + _globals['_EXECUTIONCLOSURE']._serialized_start=1562 + _globals['_EXECUTIONCLOSURE']._serialized_end=2482 + _globals['_SYSTEMMETADATA']._serialized_start=2484 + _globals['_SYSTEMMETADATA']._serialized_end=2575 + _globals['_EXECUTIONMETADATA']._serialized_start=2578 + _globals['_EXECUTIONMETADATA']._serialized_end=3210 + _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_start=3107 + _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_end=3210 + _globals['_NOTIFICATIONLIST']._serialized_start=3212 + _globals['_NOTIFICATIONLIST']._serialized_end=3298 + _globals['_EXECUTIONSPEC']._serialized_start=3301 + _globals['_EXECUTIONSPEC']._serialized_end=4341 + _globals['_EXECUTIONTERMINATEREQUEST']._serialized_start=4343 + _globals['_EXECUTIONTERMINATEREQUEST']._serialized_end=4452 + _globals['_EXECUTIONTERMINATERESPONSE']._serialized_start=4454 + _globals['_EXECUTIONTERMINATERESPONSE']._serialized_end=4482 + _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_start=4484 + _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_end=4577 + _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_start=4580 + _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_end=4844 + _globals['_EXECUTIONUPDATEREQUEST']._serialized_start=4847 + _globals['_EXECUTIONUPDATEREQUEST']._serialized_end=4985 + _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_start=4988 + _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_end=5162 + _globals['_EXECUTIONUPDATERESPONSE']._serialized_start=5164 + _globals['_EXECUTIONUPDATERESPONSE']._serialized_end=5189 + _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_start=5191 + _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_end=5309 + _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_start=5311 + _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_end=5389 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi index f29b3b747e..1e5e21f19f 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi @@ -2,6 +2,7 @@ from flyteidl.admin import cluster_assignment_pb2 as _cluster_assignment_pb2 from flyteidl.admin import common_pb2 as _common_pb2 from flyteidl.core import literals_pb2 as _literals_pb2 from flyteidl.core import execution_pb2 as _execution_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 from flyteidl.core import identifier_pb2 as _identifier_pb2 from flyteidl.core import metrics_pb2 as _metrics_pb2 from flyteidl.core import security_pb2 as _security_pb2 @@ -144,7 +145,7 @@ class SystemMetadata(_message.Message): def __init__(self, execution_cluster: _Optional[str] = ..., namespace: _Optional[str] = ...) -> None: ... class ExecutionMetadata(_message.Message): - __slots__ = ["mode", "principal", "nesting", "scheduled_at", "parent_node_execution", "reference_execution", "system_metadata"] + __slots__ = ["mode", "principal", "nesting", "scheduled_at", "parent_node_execution", "reference_execution", "system_metadata", "artifact_ids"] class ExecutionMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] MANUAL: _ClassVar[ExecutionMetadata.ExecutionMode] @@ -166,6 +167,7 @@ class ExecutionMetadata(_message.Message): PARENT_NODE_EXECUTION_FIELD_NUMBER: _ClassVar[int] REFERENCE_EXECUTION_FIELD_NUMBER: _ClassVar[int] SYSTEM_METADATA_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] mode: ExecutionMetadata.ExecutionMode principal: str nesting: int @@ -173,7 +175,8 @@ class ExecutionMetadata(_message.Message): parent_node_execution: _identifier_pb2.NodeExecutionIdentifier reference_execution: _identifier_pb2.WorkflowExecutionIdentifier system_metadata: SystemMetadata - def __init__(self, mode: _Optional[_Union[ExecutionMetadata.ExecutionMode, str]] = ..., principal: _Optional[str] = ..., nesting: _Optional[int] = ..., scheduled_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., parent_node_execution: _Optional[_Union[_identifier_pb2.NodeExecutionIdentifier, _Mapping]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., system_metadata: _Optional[_Union[SystemMetadata, _Mapping]] = ...) -> None: ... + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + def __init__(self, mode: _Optional[_Union[ExecutionMetadata.ExecutionMode, str]] = ..., principal: _Optional[str] = ..., nesting: _Optional[int] = ..., scheduled_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., parent_node_execution: _Optional[_Union[_identifier_pb2.NodeExecutionIdentifier, _Mapping]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., system_metadata: _Optional[_Union[SystemMetadata, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ...) -> None: ... class NotificationList(_message.Message): __slots__ = ["notifications"] diff --git a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py index b0827f2901..dea0972f4d 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py @@ -18,11 +18,12 @@ from flyteidl.core import security_pb2 as flyteidl_dot_core_dot_security__pb2 from flyteidl.admin import schedule_pb2 as flyteidl_dot_admin_dot_schedule__pb2 from flyteidl.admin import common_pb2 as flyteidl_dot_admin_dot_common__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/admin/launch_plan.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1d\x66lyteidl/admin/schedule.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"x\n\x17LaunchPlanCreateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\"\x1a\n\x18LaunchPlanCreateResponse\"\xa8\x01\n\nLaunchPlan\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\x12;\n\x07\x63losure\x18\x03 \x01(\x0b\x32!.flyteidl.admin.LaunchPlanClosureR\x07\x63losure\"e\n\x0eLaunchPlanList\x12=\n\x0claunch_plans\x18\x01 \x03(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x0blaunchPlans\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"v\n\x04\x41uth\x12,\n\x12\x61ssumable_iam_role\x18\x01 \x01(\tR\x10\x61ssumableIamRole\x12<\n\x1akubernetes_service_account\x18\x02 \x01(\tR\x18kubernetesServiceAccount:\x02\x18\x01\"\xbd\x07\n\x0eLaunchPlanSpec\x12:\n\x0bworkflow_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12K\n\x0f\x65ntity_metadata\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchPlanMetadataR\x0e\x65ntityMetadata\x12\x42\n\x0e\x64\x65\x66\x61ult_inputs\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\rdefaultInputs\x12<\n\x0c\x66ixed_inputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ixedInputs\x12\x16\n\x04role\x18\x05 \x01(\tB\x02\x18\x01R\x04role\x12.\n\x06labels\x18\x06 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12,\n\x04\x61uth\x18\x08 \x01(\x0b\x32\x14.flyteidl.admin.AuthB\x02\x18\x01R\x04\x61uth\x12\x39\n\tauth_role\x18\t \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12M\n\x12quality_of_service\x18\x10 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12X\n\x16raw_output_data_config\x18\x11 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12@\n\rinterruptible\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x14 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x15 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\"\xcd\x02\n\x11LaunchPlanClosure\x12\x35\n\x05state\x18\x01 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\x12\x44\n\x0f\x65xpected_inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x0e\x65xpectedInputs\x12\x45\n\x10\x65xpected_outputs\x18\x03 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x0f\x65xpectedOutputs\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\x8e\x01\n\x12LaunchPlanMetadata\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.ScheduleR\x08schedule\x12\x42\n\rnotifications\x18\x02 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\"{\n\x17LaunchPlanUpdateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x35\n\x05state\x18\x02 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\"\x1a\n\x18LaunchPlanUpdateResponse\"P\n\x17\x41\x63tiveLaunchPlanRequest\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifierR\x02id\"\xaa\x01\n\x1b\x41\x63tiveLaunchPlanListRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x14\n\x05limit\x18\x03 \x01(\rR\x05limit\x12\x14\n\x05token\x18\x04 \x01(\tR\x05token\x12-\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.SortR\x06sortBy*+\n\x0fLaunchPlanState\x12\x0c\n\x08INACTIVE\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x42\xbb\x01\n\x12\x63om.flyteidl.adminB\x0fLaunchPlanProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/admin/launch_plan.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1d\x66lyteidl/admin/schedule.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"x\n\x17LaunchPlanCreateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\"\x1a\n\x18LaunchPlanCreateResponse\"\xa8\x01\n\nLaunchPlan\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\x12;\n\x07\x63losure\x18\x03 \x01(\x0b\x32!.flyteidl.admin.LaunchPlanClosureR\x07\x63losure\"e\n\x0eLaunchPlanList\x12=\n\x0claunch_plans\x18\x01 \x03(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x0blaunchPlans\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"v\n\x04\x41uth\x12,\n\x12\x61ssumable_iam_role\x18\x01 \x01(\tR\x10\x61ssumableIamRole\x12<\n\x1akubernetes_service_account\x18\x02 \x01(\tR\x18kubernetesServiceAccount:\x02\x18\x01\"\xbd\x07\n\x0eLaunchPlanSpec\x12:\n\x0bworkflow_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12K\n\x0f\x65ntity_metadata\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchPlanMetadataR\x0e\x65ntityMetadata\x12\x42\n\x0e\x64\x65\x66\x61ult_inputs\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\rdefaultInputs\x12<\n\x0c\x66ixed_inputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ixedInputs\x12\x16\n\x04role\x18\x05 \x01(\tB\x02\x18\x01R\x04role\x12.\n\x06labels\x18\x06 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12,\n\x04\x61uth\x18\x08 \x01(\x0b\x32\x14.flyteidl.admin.AuthB\x02\x18\x01R\x04\x61uth\x12\x39\n\tauth_role\x18\t \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12M\n\x12quality_of_service\x18\x10 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12X\n\x16raw_output_data_config\x18\x11 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12@\n\rinterruptible\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x14 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x15 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\"\xcd\x02\n\x11LaunchPlanClosure\x12\x35\n\x05state\x18\x01 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\x12\x44\n\x0f\x65xpected_inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x0e\x65xpectedInputs\x12\x45\n\x10\x65xpected_outputs\x18\x03 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x0f\x65xpectedOutputs\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xd1\x01\n\x12LaunchPlanMetadata\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.ScheduleR\x08schedule\x12\x42\n\rnotifications\x18\x02 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\x12\x41\n\x11launch_conditions\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x10launchConditions\"{\n\x17LaunchPlanUpdateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x35\n\x05state\x18\x02 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\"\x1a\n\x18LaunchPlanUpdateResponse\"P\n\x17\x41\x63tiveLaunchPlanRequest\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifierR\x02id\"\xaa\x01\n\x1b\x41\x63tiveLaunchPlanListRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x14\n\x05limit\x18\x03 \x01(\rR\x05limit\x12\x14\n\x05token\x18\x04 \x01(\tR\x05token\x12-\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.SortR\x06sortBy*+\n\x0fLaunchPlanState\x12\x0c\n\x08INACTIVE\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x42\xbb\x01\n\x12\x63om.flyteidl.adminB\x0fLaunchPlanProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -39,30 +40,30 @@ _LAUNCHPLANSPEC.fields_by_name['auth']._serialized_options = b'\030\001' _LAUNCHPLANSPEC.fields_by_name['auth_role']._options = None _LAUNCHPLANSPEC.fields_by_name['auth_role']._serialized_options = b'\030\001' - _globals['_LAUNCHPLANSTATE']._serialized_start=2724 - _globals['_LAUNCHPLANSTATE']._serialized_end=2767 - _globals['_LAUNCHPLANCREATEREQUEST']._serialized_start=331 - _globals['_LAUNCHPLANCREATEREQUEST']._serialized_end=451 - _globals['_LAUNCHPLANCREATERESPONSE']._serialized_start=453 - _globals['_LAUNCHPLANCREATERESPONSE']._serialized_end=479 - _globals['_LAUNCHPLAN']._serialized_start=482 - _globals['_LAUNCHPLAN']._serialized_end=650 - _globals['_LAUNCHPLANLIST']._serialized_start=652 - _globals['_LAUNCHPLANLIST']._serialized_end=753 - _globals['_AUTH']._serialized_start=755 - _globals['_AUTH']._serialized_end=873 - _globals['_LAUNCHPLANSPEC']._serialized_start=876 - _globals['_LAUNCHPLANSPEC']._serialized_end=1833 - _globals['_LAUNCHPLANCLOSURE']._serialized_start=1836 - _globals['_LAUNCHPLANCLOSURE']._serialized_end=2169 - _globals['_LAUNCHPLANMETADATA']._serialized_start=2172 - _globals['_LAUNCHPLANMETADATA']._serialized_end=2314 - _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_start=2316 - _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_end=2439 - _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_start=2441 - _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_end=2467 - _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_start=2469 - _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_end=2549 - _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_start=2552 - _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_end=2722 + _globals['_LAUNCHPLANSTATE']._serialized_start=2818 + _globals['_LAUNCHPLANSTATE']._serialized_end=2861 + _globals['_LAUNCHPLANCREATEREQUEST']._serialized_start=358 + _globals['_LAUNCHPLANCREATEREQUEST']._serialized_end=478 + _globals['_LAUNCHPLANCREATERESPONSE']._serialized_start=480 + _globals['_LAUNCHPLANCREATERESPONSE']._serialized_end=506 + _globals['_LAUNCHPLAN']._serialized_start=509 + _globals['_LAUNCHPLAN']._serialized_end=677 + _globals['_LAUNCHPLANLIST']._serialized_start=679 + _globals['_LAUNCHPLANLIST']._serialized_end=780 + _globals['_AUTH']._serialized_start=782 + _globals['_AUTH']._serialized_end=900 + _globals['_LAUNCHPLANSPEC']._serialized_start=903 + _globals['_LAUNCHPLANSPEC']._serialized_end=1860 + _globals['_LAUNCHPLANCLOSURE']._serialized_start=1863 + _globals['_LAUNCHPLANCLOSURE']._serialized_end=2196 + _globals['_LAUNCHPLANMETADATA']._serialized_start=2199 + _globals['_LAUNCHPLANMETADATA']._serialized_end=2408 + _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_start=2410 + _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_end=2533 + _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_start=2535 + _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_end=2561 + _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_start=2563 + _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_end=2643 + _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_start=2646 + _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_end=2816 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi index 7a77f44820..cb6a41e2b0 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi @@ -5,6 +5,7 @@ from flyteidl.core import interface_pb2 as _interface_pb2 from flyteidl.core import security_pb2 as _security_pb2 from flyteidl.admin import schedule_pb2 as _schedule_pb2 from flyteidl.admin import common_pb2 as _common_pb2 +from google.protobuf import any_pb2 as _any_pb2 from google.protobuf import timestamp_pb2 as _timestamp_pb2 from google.protobuf import wrappers_pb2 as _wrappers_pb2 from google.protobuf.internal import containers as _containers @@ -111,12 +112,14 @@ class LaunchPlanClosure(_message.Message): def __init__(self, state: _Optional[_Union[LaunchPlanState, str]] = ..., expected_inputs: _Optional[_Union[_interface_pb2.ParameterMap, _Mapping]] = ..., expected_outputs: _Optional[_Union[_interface_pb2.VariableMap, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class LaunchPlanMetadata(_message.Message): - __slots__ = ["schedule", "notifications"] + __slots__ = ["schedule", "notifications", "launch_conditions"] SCHEDULE_FIELD_NUMBER: _ClassVar[int] NOTIFICATIONS_FIELD_NUMBER: _ClassVar[int] + LAUNCH_CONDITIONS_FIELD_NUMBER: _ClassVar[int] schedule: _schedule_pb2.Schedule notifications: _containers.RepeatedCompositeFieldContainer[_common_pb2.Notification] - def __init__(self, schedule: _Optional[_Union[_schedule_pb2.Schedule, _Mapping]] = ..., notifications: _Optional[_Iterable[_Union[_common_pb2.Notification, _Mapping]]] = ...) -> None: ... + launch_conditions: _any_pb2.Any + def __init__(self, schedule: _Optional[_Union[_schedule_pb2.Schedule, _Mapping]] = ..., notifications: _Optional[_Iterable[_Union[_common_pb2.Notification, _Mapping]]] = ..., launch_conditions: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...) -> None: ... class LaunchPlanUpdateRequest(_message.Message): __slots__ = ["id", "state"] diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/__init__.py b/flyteidl/gen/pb_python/flyteidl/artifact/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py new file mode 100644 index 0000000000..d48ac55b8e --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/artifact/artifacts.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from flyteidl.admin import launch_plan_pb2 as flyteidl_dot_admin_dot_launch__plan__pb2 +from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2 +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 +from flyteidl.core import interface_pb2 as flyteidl_dot_core_dot_interface__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\"\x8f\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\"\xd0\x02\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xdb\x03\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12M\n\x0etask_execution\x18\x05 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierR\rtaskExecution\x12H\n\texecution\x18\x06 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\texecution\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12+\n\x11short_description\x18\x08 \x01(\tR\x10shortDescription\x12)\n\x10long_description\x18\t \x01(\tR\x0flongDescription\x12\x39\n\ruser_metadata\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x0b \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"L\n\x18ListArtifactNamesRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\"\\\n\x19ListArtifactNamesResponse\x12?\n\rartifact_keys\x18\x01 \x03(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0c\x61rtifactKeys\"U\n\x14ListArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\"R\n\x15ListArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse2\xc6\x05\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12^\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\x00\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x42\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.artifact.artifacts_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\025com.flyteidl.artifactB\016ArtifactsProtoP\001Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\242\002\003FAX\252\002\021Flyteidl.Artifact\312\002\021Flyteidl\\Artifact\342\002\035Flyteidl\\Artifact\\GPBMetadata\352\002\022Flyteidl::Artifact' + _CREATEARTIFACTREQUEST_PARTITIONSENTRY._options = None + _CREATEARTIFACTREQUEST_PARTITIONSENTRY._serialized_options = b'8\001' + _globals['_ARTIFACT']._serialized_start=271 + _globals['_ARTIFACT']._serialized_end=414 + _globals['_CREATEARTIFACTREQUEST']._serialized_start=417 + _globals['_CREATEARTIFACTREQUEST']._serialized_end=753 + _globals['_CREATEARTIFACTREQUEST_PARTITIONSENTRY']._serialized_start=692 + _globals['_CREATEARTIFACTREQUEST_PARTITIONSENTRY']._serialized_end=753 + _globals['_ARTIFACTSPEC']._serialized_start=756 + _globals['_ARTIFACTSPEC']._serialized_end=1231 + _globals['_CREATEARTIFACTRESPONSE']._serialized_start=1233 + _globals['_CREATEARTIFACTRESPONSE']._serialized_end=1314 + _globals['_GETARTIFACTREQUEST']._serialized_start=1316 + _globals['_GETARTIFACTREQUEST']._serialized_end=1414 + _globals['_GETARTIFACTRESPONSE']._serialized_start=1416 + _globals['_GETARTIFACTRESPONSE']._serialized_end=1494 + _globals['_LISTARTIFACTNAMESREQUEST']._serialized_start=1496 + _globals['_LISTARTIFACTNAMESREQUEST']._serialized_end=1572 + _globals['_LISTARTIFACTNAMESRESPONSE']._serialized_start=1574 + _globals['_LISTARTIFACTNAMESRESPONSE']._serialized_end=1666 + _globals['_LISTARTIFACTSREQUEST']._serialized_start=1668 + _globals['_LISTARTIFACTSREQUEST']._serialized_end=1753 + _globals['_LISTARTIFACTSRESPONSE']._serialized_start=1755 + _globals['_LISTARTIFACTSRESPONSE']._serialized_end=1837 + _globals['_ADDTAGREQUEST']._serialized_start=1839 + _globals['_ADDTAGREQUEST']._serialized_end=1966 + _globals['_ADDTAGRESPONSE']._serialized_start=1968 + _globals['_ADDTAGRESPONSE']._serialized_end=1984 + _globals['_CREATETRIGGERREQUEST']._serialized_start=1986 + _globals['_CREATETRIGGERREQUEST']._serialized_end=2084 + _globals['_CREATETRIGGERRESPONSE']._serialized_start=2086 + _globals['_CREATETRIGGERRESPONSE']._serialized_end=2109 + _globals['_DELETETRIGGERREQUEST']._serialized_start=2111 + _globals['_DELETETRIGGERREQUEST']._serialized_end=2191 + _globals['_DELETETRIGGERRESPONSE']._serialized_start=2193 + _globals['_DELETETRIGGERRESPONSE']._serialized_end=2216 + _globals['_ARTIFACTPRODUCER']._serialized_start=2219 + _globals['_ARTIFACTPRODUCER']._serialized_end=2347 + _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2349 + _globals['_REGISTERPRODUCERREQUEST']._serialized_end=2441 + _globals['_ARTIFACTCONSUMER']._serialized_start=2443 + _globals['_ARTIFACTCONSUMER']._serialized_end=2570 + _globals['_REGISTERCONSUMERREQUEST']._serialized_start=2572 + _globals['_REGISTERCONSUMERREQUEST']._serialized_end=2664 + _globals['_REGISTERRESPONSE']._serialized_start=2666 + _globals['_REGISTERRESPONSE']._serialized_end=2684 + _globals['_ARTIFACTREGISTRY']._serialized_start=2687 + _globals['_ARTIFACTREGISTRY']._serialized_end=3397 +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi new file mode 100644 index 0000000000..1389d3da24 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi @@ -0,0 +1,178 @@ +from google.protobuf import any_pb2 as _any_pb2 +from flyteidl.admin import launch_plan_pb2 as _launch_plan_pb2 +from flyteidl.core import literals_pb2 as _literals_pb2 +from flyteidl.core import types_pb2 as _types_pb2 +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 +from flyteidl.core import interface_pb2 as _interface_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class Artifact(_message.Message): + __slots__ = ["artifact_id", "spec", "tags"] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] + SPEC_FIELD_NUMBER: _ClassVar[int] + TAGS_FIELD_NUMBER: _ClassVar[int] + artifact_id: _artifact_id_pb2.ArtifactID + spec: ArtifactSpec + tags: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, artifact_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ..., spec: _Optional[_Union[ArtifactSpec, _Mapping]] = ..., tags: _Optional[_Iterable[str]] = ...) -> None: ... + +class CreateArtifactRequest(_message.Message): + __slots__ = ["artifact_key", "version", "spec", "partitions", "tag"] + class PartitionsEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + SPEC_FIELD_NUMBER: _ClassVar[int] + PARTITIONS_FIELD_NUMBER: _ClassVar[int] + TAG_FIELD_NUMBER: _ClassVar[int] + artifact_key: _artifact_id_pb2.ArtifactKey + version: str + spec: ArtifactSpec + partitions: _containers.ScalarMap[str, str] + tag: str + def __init__(self, artifact_key: _Optional[_Union[_artifact_id_pb2.ArtifactKey, _Mapping]] = ..., version: _Optional[str] = ..., spec: _Optional[_Union[ArtifactSpec, _Mapping]] = ..., partitions: _Optional[_Mapping[str, str]] = ..., tag: _Optional[str] = ...) -> None: ... + +class ArtifactSpec(_message.Message): + __slots__ = ["value", "type", "task_execution", "execution", "principal", "short_description", "long_description", "user_metadata", "metadata_type"] + VALUE_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + TASK_EXECUTION_FIELD_NUMBER: _ClassVar[int] + EXECUTION_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + SHORT_DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + LONG_DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + USER_METADATA_FIELD_NUMBER: _ClassVar[int] + METADATA_TYPE_FIELD_NUMBER: _ClassVar[int] + value: _literals_pb2.Literal + type: _types_pb2.LiteralType + task_execution: _identifier_pb2.TaskExecutionIdentifier + execution: _identifier_pb2.WorkflowExecutionIdentifier + principal: str + short_description: str + long_description: str + user_metadata: _any_pb2.Any + metadata_type: str + def __init__(self, value: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ..., type: _Optional[_Union[_types_pb2.LiteralType, _Mapping]] = ..., task_execution: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ..., execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., principal: _Optional[str] = ..., short_description: _Optional[str] = ..., long_description: _Optional[str] = ..., user_metadata: _Optional[_Union[_any_pb2.Any, _Mapping]] = ..., metadata_type: _Optional[str] = ...) -> None: ... + +class CreateArtifactResponse(_message.Message): + __slots__ = ["artifact"] + ARTIFACT_FIELD_NUMBER: _ClassVar[int] + artifact: Artifact + def __init__(self, artifact: _Optional[_Union[Artifact, _Mapping]] = ...) -> None: ... + +class GetArtifactRequest(_message.Message): + __slots__ = ["query", "details"] + QUERY_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + query: _artifact_id_pb2.ArtifactQuery + details: bool + def __init__(self, query: _Optional[_Union[_artifact_id_pb2.ArtifactQuery, _Mapping]] = ..., details: bool = ...) -> None: ... + +class GetArtifactResponse(_message.Message): + __slots__ = ["artifact"] + ARTIFACT_FIELD_NUMBER: _ClassVar[int] + artifact: Artifact + def __init__(self, artifact: _Optional[_Union[Artifact, _Mapping]] = ...) -> None: ... + +class ListArtifactNamesRequest(_message.Message): + __slots__ = ["project", "domain"] + PROJECT_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + project: str + domain: str + def __init__(self, project: _Optional[str] = ..., domain: _Optional[str] = ...) -> None: ... + +class ListArtifactNamesResponse(_message.Message): + __slots__ = ["artifact_keys"] + ARTIFACT_KEYS_FIELD_NUMBER: _ClassVar[int] + artifact_keys: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactKey] + def __init__(self, artifact_keys: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactKey, _Mapping]]] = ...) -> None: ... + +class ListArtifactsRequest(_message.Message): + __slots__ = ["artifact_key"] + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + artifact_key: _artifact_id_pb2.ArtifactKey + def __init__(self, artifact_key: _Optional[_Union[_artifact_id_pb2.ArtifactKey, _Mapping]] = ...) -> None: ... + +class ListArtifactsResponse(_message.Message): + __slots__ = ["artifacts"] + ARTIFACTS_FIELD_NUMBER: _ClassVar[int] + artifacts: _containers.RepeatedCompositeFieldContainer[Artifact] + def __init__(self, artifacts: _Optional[_Iterable[_Union[Artifact, _Mapping]]] = ...) -> None: ... + +class AddTagRequest(_message.Message): + __slots__ = ["artifact_id", "value", "overwrite"] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + OVERWRITE_FIELD_NUMBER: _ClassVar[int] + artifact_id: _artifact_id_pb2.ArtifactID + value: str + overwrite: bool + def __init__(self, artifact_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ..., value: _Optional[str] = ..., overwrite: bool = ...) -> None: ... + +class AddTagResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class CreateTriggerRequest(_message.Message): + __slots__ = ["trigger_launch_plan"] + TRIGGER_LAUNCH_PLAN_FIELD_NUMBER: _ClassVar[int] + trigger_launch_plan: _launch_plan_pb2.LaunchPlan + def __init__(self, trigger_launch_plan: _Optional[_Union[_launch_plan_pb2.LaunchPlan, _Mapping]] = ...) -> None: ... + +class CreateTriggerResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class DeleteTriggerRequest(_message.Message): + __slots__ = ["trigger_id"] + TRIGGER_ID_FIELD_NUMBER: _ClassVar[int] + trigger_id: _identifier_pb2.Identifier + def __init__(self, trigger_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + +class DeleteTriggerResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class ArtifactProducer(_message.Message): + __slots__ = ["entity_id", "outputs"] + ENTITY_ID_FIELD_NUMBER: _ClassVar[int] + OUTPUTS_FIELD_NUMBER: _ClassVar[int] + entity_id: _identifier_pb2.Identifier + outputs: _interface_pb2.VariableMap + def __init__(self, entity_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., outputs: _Optional[_Union[_interface_pb2.VariableMap, _Mapping]] = ...) -> None: ... + +class RegisterProducerRequest(_message.Message): + __slots__ = ["producers"] + PRODUCERS_FIELD_NUMBER: _ClassVar[int] + producers: _containers.RepeatedCompositeFieldContainer[ArtifactProducer] + def __init__(self, producers: _Optional[_Iterable[_Union[ArtifactProducer, _Mapping]]] = ...) -> None: ... + +class ArtifactConsumer(_message.Message): + __slots__ = ["entity_id", "inputs"] + ENTITY_ID_FIELD_NUMBER: _ClassVar[int] + INPUTS_FIELD_NUMBER: _ClassVar[int] + entity_id: _identifier_pb2.Identifier + inputs: _interface_pb2.ParameterMap + def __init__(self, entity_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., inputs: _Optional[_Union[_interface_pb2.ParameterMap, _Mapping]] = ...) -> None: ... + +class RegisterConsumerRequest(_message.Message): + __slots__ = ["consumers"] + CONSUMERS_FIELD_NUMBER: _ClassVar[int] + consumers: _containers.RepeatedCompositeFieldContainer[ArtifactConsumer] + def __init__(self, consumers: _Optional[_Iterable[_Union[ArtifactConsumer, _Mapping]]] = ...) -> None: ... + +class RegisterResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py new file mode 100644 index 0000000000..f4d13fe4d6 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py @@ -0,0 +1,268 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from flyteidl.artifact import artifacts_pb2 as flyteidl_dot_artifact_dot_artifacts__pb2 + + +class ArtifactRegistryStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateArtifact = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/CreateArtifact', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactResponse.FromString, + ) + self.GetArtifact = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/GetArtifact', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactResponse.FromString, + ) + self.CreateTrigger = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/CreateTrigger', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.FromString, + ) + self.DeleteTrigger = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + ) + self.AddTag = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/AddTag', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagResponse.FromString, + ) + self.RegisterProducer = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/RegisterProducer', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterProducerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + ) + self.RegisterConsumer = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/RegisterConsumer', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterConsumerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + ) + + +class ArtifactRegistryServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateArtifact(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetArtifact(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateTrigger(self, request, context): + """rpc ListArtifactNames (ListArtifactNamesRequest) returns (ListArtifactNamesResponse) {} + + rpc ListArtifacts (ListArtifactsRequest) returns (ListArtifactsResponse) {} + + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTrigger(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddTag(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterProducer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterConsumer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ArtifactRegistryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateArtifact': grpc.unary_unary_rpc_method_handler( + servicer.CreateArtifact, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactResponse.SerializeToString, + ), + 'GetArtifact': grpc.unary_unary_rpc_method_handler( + servicer.GetArtifact, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactResponse.SerializeToString, + ), + 'CreateTrigger': grpc.unary_unary_rpc_method_handler( + servicer.CreateTrigger, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.SerializeToString, + ), + 'DeleteTrigger': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTrigger, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.SerializeToString, + ), + 'AddTag': grpc.unary_unary_rpc_method_handler( + servicer.AddTag, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagResponse.SerializeToString, + ), + 'RegisterProducer': grpc.unary_unary_rpc_method_handler( + servicer.RegisterProducer, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterProducerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.SerializeToString, + ), + 'RegisterConsumer': grpc.unary_unary_rpc_method_handler( + servicer.RegisterConsumer, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterConsumerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'flyteidl.artifact.ArtifactRegistry', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ArtifactRegistry(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateArtifact(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/CreateArtifact', + flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetArtifact(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/GetArtifact', + flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def CreateTrigger(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/CreateTrigger', + flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeleteTrigger(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', + flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def AddTag(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/AddTag', + flyteidl_dot_artifact_dot_artifacts__pb2.AddTagRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.AddTagResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterProducer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/RegisterProducer', + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterProducerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterConsumer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/RegisterConsumer', + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterConsumerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.py b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.py new file mode 100644 index 0000000000..9496d9c008 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/core/artifact_id.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x66lyteidl/core/artifact_id.proto\x12\rflyteidl.core\x1a\x1e\x66lyteidl/core/identifier.proto\"S\n\x0b\x41rtifactKey\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"n\n\x13\x41rtifactBindingData\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12#\n\rpartition_key\x18\x02 \x01(\tR\x0cpartitionKey\x12\x1c\n\ttransform\x18\x03 \x01(\tR\ttransform\"$\n\x10InputBindingData\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\"\xd5\x01\n\nLabelValue\x12#\n\x0cstatic_value\x18\x01 \x01(\tH\x00R\x0bstaticValue\x12Q\n\x11triggered_binding\x18\x02 \x01(\x0b\x32\".flyteidl.core.ArtifactBindingDataH\x00R\x10triggeredBinding\x12\x46\n\rinput_binding\x18\x03 \x01(\x0b\x32\x1f.flyteidl.core.InputBindingDataH\x00R\x0cinputBindingB\x07\n\x05value\"\x9d\x01\n\nPartitions\x12:\n\x05value\x18\x01 \x03(\x0b\x32$.flyteidl.core.Partitions.ValueEntryR\x05value\x1aS\n\nValueEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12/\n\x05value\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LabelValueR\x05value:\x02\x38\x01\"\xb0\x01\n\nArtifactID\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12;\n\npartitions\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.PartitionsH\x00R\npartitionsB\x0c\n\ndimensions\"}\n\x0b\x41rtifactTag\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12/\n\x05value\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LabelValueR\x05value\"\xf0\x01\n\rArtifactQuery\x12<\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDH\x00R\nartifactId\x12?\n\x0c\x61rtifact_tag\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactTagH\x00R\x0b\x61rtifactTag\x12\x12\n\x03uri\x18\x03 \x01(\tH\x00R\x03uri\x12>\n\x07\x62inding\x18\x04 \x01(\x0b\x32\".flyteidl.core.ArtifactBindingDataH\x00R\x07\x62indingB\x0c\n\nidentifier\"z\n\x07Trigger\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\x12\x35\n\x08triggers\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x08triggersB\xb5\x01\n\x11\x63om.flyteidl.coreB\x0f\x41rtifactIdProtoP\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) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.core.artifact_id_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\021com.flyteidl.coreB\017ArtifactIdProtoP\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' + _PARTITIONS_VALUEENTRY._options = None + _PARTITIONS_VALUEENTRY._serialized_options = b'8\001' + _globals['_ARTIFACTKEY']._serialized_start=82 + _globals['_ARTIFACTKEY']._serialized_end=165 + _globals['_ARTIFACTBINDINGDATA']._serialized_start=167 + _globals['_ARTIFACTBINDINGDATA']._serialized_end=277 + _globals['_INPUTBINDINGDATA']._serialized_start=279 + _globals['_INPUTBINDINGDATA']._serialized_end=315 + _globals['_LABELVALUE']._serialized_start=318 + _globals['_LABELVALUE']._serialized_end=531 + _globals['_PARTITIONS']._serialized_start=534 + _globals['_PARTITIONS']._serialized_end=691 + _globals['_PARTITIONS_VALUEENTRY']._serialized_start=608 + _globals['_PARTITIONS_VALUEENTRY']._serialized_end=691 + _globals['_ARTIFACTID']._serialized_start=694 + _globals['_ARTIFACTID']._serialized_end=870 + _globals['_ARTIFACTTAG']._serialized_start=872 + _globals['_ARTIFACTTAG']._serialized_end=997 + _globals['_ARTIFACTQUERY']._serialized_start=1000 + _globals['_ARTIFACTQUERY']._serialized_end=1240 + _globals['_TRIGGER']._serialized_start=1242 + _globals['_TRIGGER']._serialized_end=1364 +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.pyi new file mode 100644 index 0000000000..4f65759ae7 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.pyi @@ -0,0 +1,94 @@ +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class ArtifactKey(_message.Message): + __slots__ = ["project", "domain", "name"] + PROJECT_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + project: str + domain: str + name: str + def __init__(self, project: _Optional[str] = ..., domain: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ... + +class ArtifactBindingData(_message.Message): + __slots__ = ["index", "partition_key", "transform"] + INDEX_FIELD_NUMBER: _ClassVar[int] + PARTITION_KEY_FIELD_NUMBER: _ClassVar[int] + TRANSFORM_FIELD_NUMBER: _ClassVar[int] + index: int + partition_key: str + transform: str + def __init__(self, index: _Optional[int] = ..., partition_key: _Optional[str] = ..., transform: _Optional[str] = ...) -> None: ... + +class InputBindingData(_message.Message): + __slots__ = ["var"] + VAR_FIELD_NUMBER: _ClassVar[int] + var: str + def __init__(self, var: _Optional[str] = ...) -> None: ... + +class LabelValue(_message.Message): + __slots__ = ["static_value", "triggered_binding", "input_binding"] + STATIC_VALUE_FIELD_NUMBER: _ClassVar[int] + TRIGGERED_BINDING_FIELD_NUMBER: _ClassVar[int] + INPUT_BINDING_FIELD_NUMBER: _ClassVar[int] + static_value: str + triggered_binding: ArtifactBindingData + input_binding: InputBindingData + def __init__(self, static_value: _Optional[str] = ..., triggered_binding: _Optional[_Union[ArtifactBindingData, _Mapping]] = ..., input_binding: _Optional[_Union[InputBindingData, _Mapping]] = ...) -> None: ... + +class Partitions(_message.Message): + __slots__ = ["value"] + class ValueEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: LabelValue + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[LabelValue, _Mapping]] = ...) -> None: ... + VALUE_FIELD_NUMBER: _ClassVar[int] + value: _containers.MessageMap[str, LabelValue] + def __init__(self, value: _Optional[_Mapping[str, LabelValue]] = ...) -> None: ... + +class ArtifactID(_message.Message): + __slots__ = ["artifact_key", "version", "partitions"] + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + PARTITIONS_FIELD_NUMBER: _ClassVar[int] + artifact_key: ArtifactKey + version: str + partitions: Partitions + def __init__(self, artifact_key: _Optional[_Union[ArtifactKey, _Mapping]] = ..., version: _Optional[str] = ..., partitions: _Optional[_Union[Partitions, _Mapping]] = ...) -> None: ... + +class ArtifactTag(_message.Message): + __slots__ = ["artifact_key", "value"] + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + artifact_key: ArtifactKey + value: LabelValue + def __init__(self, artifact_key: _Optional[_Union[ArtifactKey, _Mapping]] = ..., value: _Optional[_Union[LabelValue, _Mapping]] = ...) -> None: ... + +class ArtifactQuery(_message.Message): + __slots__ = ["artifact_id", "artifact_tag", "uri", "binding"] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_TAG_FIELD_NUMBER: _ClassVar[int] + URI_FIELD_NUMBER: _ClassVar[int] + BINDING_FIELD_NUMBER: _ClassVar[int] + artifact_id: ArtifactID + artifact_tag: ArtifactTag + uri: str + binding: ArtifactBindingData + def __init__(self, artifact_id: _Optional[_Union[ArtifactID, _Mapping]] = ..., artifact_tag: _Optional[_Union[ArtifactTag, _Mapping]] = ..., uri: _Optional[str] = ..., binding: _Optional[_Union[ArtifactBindingData, _Mapping]] = ...) -> None: ... + +class Trigger(_message.Message): + __slots__ = ["trigger_id", "triggers"] + TRIGGER_ID_FIELD_NUMBER: _ClassVar[int] + TRIGGERS_FIELD_NUMBER: _ClassVar[int] + trigger_id: _identifier_pb2.Identifier + triggers: _containers.RepeatedCompositeFieldContainer[ArtifactID] + def __init__(self, trigger_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., triggers: _Optional[_Iterable[_Union[ArtifactID, _Mapping]]] = ...) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2_grpc.py new file mode 100644 index 0000000000..2daafffebf --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py index 7ac90d0dd1..5a35294103 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py @@ -13,9 +13,10 @@ from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2 from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x66lyteidl/core/interface.proto\x12\rflyteidl.core\x1a\x19\x66lyteidl/core/types.proto\x1a\x1c\x66lyteidl/core/literals.proto\"\\\n\x08Variable\x12.\n\x04type\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"\xad\x01\n\x0bVariableMap\x12G\n\tvariables\x18\x01 \x03(\x0b\x32).flyteidl.core.VariableMap.VariablesEntryR\tvariables\x1aU\n\x0eVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x05value:\x02\x38\x01\"z\n\x0eTypedInterface\x12\x32\n\x06inputs\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x06inputs\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\x94\x01\n\tParameter\x12)\n\x03var\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x03var\x12\x32\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralH\x00R\x07\x64\x65\x66\x61ult\x12\x1c\n\x08required\x18\x03 \x01(\x08H\x00R\x08requiredB\n\n\x08\x62\x65havior\"\xb4\x01\n\x0cParameterMap\x12K\n\nparameters\x18\x01 \x03(\x0b\x32+.flyteidl.core.ParameterMap.ParametersEntryR\nparameters\x1aW\n\x0fParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x18.flyteidl.core.ParameterR\x05value:\x02\x38\x01\x42\xb4\x01\n\x11\x63om.flyteidl.coreB\x0eInterfaceProtoP\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\x1d\x66lyteidl/core/interface.proto\x12\rflyteidl.core\x1a\x19\x66lyteidl/core/types.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\"\xe6\x01\n\x08Variable\x12.\n\x04type\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\x13\x61rtifact_partial_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x11\x61rtifactPartialId\x12=\n\x0c\x61rtifact_tag\x18\x04 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactTagR\x0b\x61rtifactTag\"\xad\x01\n\x0bVariableMap\x12G\n\tvariables\x18\x01 \x03(\x0b\x32).flyteidl.core.VariableMap.VariablesEntryR\tvariables\x1aU\n\x0eVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x05value:\x02\x38\x01\"z\n\x0eTypedInterface\x12\x32\n\x06inputs\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x06inputs\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\x99\x02\n\tParameter\x12)\n\x03var\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x03var\x12\x32\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralH\x00R\x07\x64\x65\x66\x61ult\x12\x1c\n\x08required\x18\x03 \x01(\x08H\x00R\x08required\x12\x45\n\x0e\x61rtifact_query\x18\x04 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryH\x00R\rartifactQuery\x12<\n\x0b\x61rtifact_id\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDH\x00R\nartifactIdB\n\n\x08\x62\x65havior\"\xb4\x01\n\x0cParameterMap\x12K\n\nparameters\x18\x01 \x03(\x0b\x32+.flyteidl.core.ParameterMap.ParametersEntryR\nparameters\x1aW\n\x0fParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x18.flyteidl.core.ParameterR\x05value:\x02\x38\x01\x42\xb4\x01\n\x11\x63om.flyteidl.coreB\x0eInterfaceProtoP\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) @@ -28,18 +29,18 @@ _VARIABLEMAP_VARIABLESENTRY._serialized_options = b'8\001' _PARAMETERMAP_PARAMETERSENTRY._options = None _PARAMETERMAP_PARAMETERSENTRY._serialized_options = b'8\001' - _globals['_VARIABLE']._serialized_start=105 - _globals['_VARIABLE']._serialized_end=197 - _globals['_VARIABLEMAP']._serialized_start=200 - _globals['_VARIABLEMAP']._serialized_end=373 - _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_start=288 - _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_end=373 - _globals['_TYPEDINTERFACE']._serialized_start=375 - _globals['_TYPEDINTERFACE']._serialized_end=497 - _globals['_PARAMETER']._serialized_start=500 - _globals['_PARAMETER']._serialized_end=648 - _globals['_PARAMETERMAP']._serialized_start=651 - _globals['_PARAMETERMAP']._serialized_end=831 - _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_start=744 - _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_end=831 + _globals['_VARIABLE']._serialized_start=139 + _globals['_VARIABLE']._serialized_end=369 + _globals['_VARIABLEMAP']._serialized_start=372 + _globals['_VARIABLEMAP']._serialized_end=545 + _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_start=460 + _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_end=545 + _globals['_TYPEDINTERFACE']._serialized_start=547 + _globals['_TYPEDINTERFACE']._serialized_end=669 + _globals['_PARAMETER']._serialized_start=672 + _globals['_PARAMETER']._serialized_end=953 + _globals['_PARAMETERMAP']._serialized_start=956 + _globals['_PARAMETERMAP']._serialized_end=1136 + _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_start=1049 + _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_end=1136 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi index ca7c21bb64..ee3ac9c2b5 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi @@ -1,5 +1,6 @@ from flyteidl.core import types_pb2 as _types_pb2 from flyteidl.core import literals_pb2 as _literals_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 from google.protobuf.internal import containers as _containers from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -8,12 +9,16 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class Variable(_message.Message): - __slots__ = ["type", "description"] + __slots__ = ["type", "description", "artifact_partial_id", "artifact_tag"] TYPE_FIELD_NUMBER: _ClassVar[int] DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_PARTIAL_ID_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_TAG_FIELD_NUMBER: _ClassVar[int] type: _types_pb2.LiteralType description: str - def __init__(self, type: _Optional[_Union[_types_pb2.LiteralType, _Mapping]] = ..., description: _Optional[str] = ...) -> None: ... + artifact_partial_id: _artifact_id_pb2.ArtifactID + artifact_tag: _artifact_id_pb2.ArtifactTag + def __init__(self, type: _Optional[_Union[_types_pb2.LiteralType, _Mapping]] = ..., description: _Optional[str] = ..., artifact_partial_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ..., artifact_tag: _Optional[_Union[_artifact_id_pb2.ArtifactTag, _Mapping]] = ...) -> None: ... class VariableMap(_message.Message): __slots__ = ["variables"] @@ -37,14 +42,18 @@ class TypedInterface(_message.Message): def __init__(self, inputs: _Optional[_Union[VariableMap, _Mapping]] = ..., outputs: _Optional[_Union[VariableMap, _Mapping]] = ...) -> None: ... class Parameter(_message.Message): - __slots__ = ["var", "default", "required"] + __slots__ = ["var", "default", "required", "artifact_query", "artifact_id"] VAR_FIELD_NUMBER: _ClassVar[int] DEFAULT_FIELD_NUMBER: _ClassVar[int] REQUIRED_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_QUERY_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] var: Variable default: _literals_pb2.Literal required: bool - def __init__(self, var: _Optional[_Union[Variable, _Mapping]] = ..., default: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ..., required: bool = ...) -> None: ... + artifact_query: _artifact_id_pb2.ArtifactQuery + artifact_id: _artifact_id_pb2.ArtifactID + def __init__(self, var: _Optional[_Union[Variable, _Mapping]] = ..., default: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ..., required: bool = ..., artifact_query: _Optional[_Union[_artifact_id_pb2.ArtifactQuery, _Mapping]] = ..., artifact_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ...) -> None: ... class ParameterMap(_message.Message): __slots__ = ["parameters"] diff --git a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py index 42a098cb95..77bc3ea3f0 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py @@ -17,7 +17,7 @@ from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lyteidl/core/literals.proto\x12\rflyteidl.core\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x19\x66lyteidl/core/types.proto\"\x87\x02\n\tPrimitive\x12\x1a\n\x07integer\x18\x01 \x01(\x03H\x00R\x07integer\x12!\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00R\nfloatValue\x12#\n\x0cstring_value\x18\x03 \x01(\tH\x00R\x0bstringValue\x12\x1a\n\x07\x62oolean\x18\x04 \x01(\x08H\x00R\x07\x62oolean\x12\x38\n\x08\x64\x61tetime\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x08\x64\x61tetime\x12\x37\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value\"\x06\n\x04Void\"Q\n\x04\x42lob\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x1b.flyteidl.core.BlobMetadataR\x08metadata\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\";\n\x0c\x42lobMetadata\x12+\n\x04type\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.BlobTypeR\x04type\"0\n\x06\x42inary\x12\x14\n\x05value\x18\x01 \x01(\x0cR\x05value\x12\x10\n\x03tag\x18\x02 \x01(\tR\x03tag\"I\n\x06Schema\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12-\n\x04type\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.SchemaTypeR\x04type\"e\n\x05Union\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\"y\n\x19StructuredDatasetMetadata\x12\\\n\x17structured_dataset_type\x18\x01 \x01(\x0b\x32$.flyteidl.core.StructuredDatasetTypeR\x15structuredDatasetType\"k\n\x11StructuredDataset\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12\x44\n\x08metadata\x18\x02 \x01(\x0b\x32(.flyteidl.core.StructuredDatasetMetadataR\x08metadata\"\xf0\x03\n\x06Scalar\x12\x38\n\tprimitive\x18\x01 \x01(\x0b\x32\x18.flyteidl.core.PrimitiveH\x00R\tprimitive\x12)\n\x04\x62lob\x18\x02 \x01(\x0b\x32\x13.flyteidl.core.BlobH\x00R\x04\x62lob\x12/\n\x06\x62inary\x18\x03 \x01(\x0b\x32\x15.flyteidl.core.BinaryH\x00R\x06\x62inary\x12/\n\x06schema\x18\x04 \x01(\x0b\x32\x15.flyteidl.core.SchemaH\x00R\x06schema\x12\x32\n\tnone_type\x18\x05 \x01(\x0b\x32\x13.flyteidl.core.VoidH\x00R\x08noneType\x12,\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x14.flyteidl.core.ErrorH\x00R\x05\x65rror\x12\x33\n\x07generic\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x07generic\x12Q\n\x12structured_dataset\x18\x08 \x01(\x0b\x32 .flyteidl.core.StructuredDatasetH\x00R\x11structuredDataset\x12,\n\x05union\x18\t \x01(\x0b\x32\x14.flyteidl.core.UnionH\x00R\x05unionB\x07\n\x05value\"\xca\x01\n\x07Literal\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x42\n\ncollection\x18\x02 \x01(\x0b\x32 .flyteidl.core.LiteralCollectionH\x00R\ncollection\x12-\n\x03map\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00R\x03map\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hashB\x07\n\x05value\"G\n\x11LiteralCollection\x12\x32\n\x08literals\x18\x01 \x03(\x0b\x32\x16.flyteidl.core.LiteralR\x08literals\"\xa6\x01\n\nLiteralMap\x12\x43\n\x08literals\x18\x01 \x03(\x0b\x32\'.flyteidl.core.LiteralMap.LiteralsEntryR\x08literals\x1aS\n\rLiteralsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value:\x02\x38\x01\"O\n\x15\x42indingDataCollection\x12\x36\n\x08\x62indings\x18\x01 \x03(\x0b\x32\x1a.flyteidl.core.BindingDataR\x08\x62indings\"\xb2\x01\n\x0e\x42indingDataMap\x12G\n\x08\x62indings\x18\x01 \x03(\x0b\x32+.flyteidl.core.BindingDataMap.BindingsEntryR\x08\x62indings\x1aW\n\rBindingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x05value:\x02\x38\x01\"G\n\tUnionInfo\x12:\n\ntargetType\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\ntargetType\"\xae\x02\n\x0b\x42indingData\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x46\n\ncollection\x18\x02 \x01(\x0b\x32$.flyteidl.core.BindingDataCollectionH\x00R\ncollection\x12:\n\x07promise\x18\x03 \x01(\x0b\x32\x1e.flyteidl.core.OutputReferenceH\x00R\x07promise\x12\x31\n\x03map\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.BindingDataMapH\x00R\x03map\x12.\n\x05union\x18\x05 \x01(\x0b\x32\x18.flyteidl.core.UnionInfoR\x05unionB\x07\n\x05value\"Q\n\x07\x42inding\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\x12\x34\n\x07\x62inding\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x07\x62inding\"6\n\x0cKeyValuePair\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\")\n\rRetryStrategy\x12\x18\n\x07retries\x18\x05 \x01(\rR\x07retriesB\xb3\x01\n\x11\x63om.flyteidl.coreB\rLiteralsProtoP\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/literals.proto\x12\rflyteidl.core\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x19\x66lyteidl/core/types.proto\"\x87\x02\n\tPrimitive\x12\x1a\n\x07integer\x18\x01 \x01(\x03H\x00R\x07integer\x12!\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00R\nfloatValue\x12#\n\x0cstring_value\x18\x03 \x01(\tH\x00R\x0bstringValue\x12\x1a\n\x07\x62oolean\x18\x04 \x01(\x08H\x00R\x07\x62oolean\x12\x38\n\x08\x64\x61tetime\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x08\x64\x61tetime\x12\x37\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value\"\x06\n\x04Void\"Q\n\x04\x42lob\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x1b.flyteidl.core.BlobMetadataR\x08metadata\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\";\n\x0c\x42lobMetadata\x12+\n\x04type\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.BlobTypeR\x04type\"0\n\x06\x42inary\x12\x14\n\x05value\x18\x01 \x01(\x0cR\x05value\x12\x10\n\x03tag\x18\x02 \x01(\tR\x03tag\"I\n\x06Schema\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12-\n\x04type\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.SchemaTypeR\x04type\"e\n\x05Union\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\"y\n\x19StructuredDatasetMetadata\x12\\\n\x17structured_dataset_type\x18\x01 \x01(\x0b\x32$.flyteidl.core.StructuredDatasetTypeR\x15structuredDatasetType\"k\n\x11StructuredDataset\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12\x44\n\x08metadata\x18\x02 \x01(\x0b\x32(.flyteidl.core.StructuredDatasetMetadataR\x08metadata\"\xf0\x03\n\x06Scalar\x12\x38\n\tprimitive\x18\x01 \x01(\x0b\x32\x18.flyteidl.core.PrimitiveH\x00R\tprimitive\x12)\n\x04\x62lob\x18\x02 \x01(\x0b\x32\x13.flyteidl.core.BlobH\x00R\x04\x62lob\x12/\n\x06\x62inary\x18\x03 \x01(\x0b\x32\x15.flyteidl.core.BinaryH\x00R\x06\x62inary\x12/\n\x06schema\x18\x04 \x01(\x0b\x32\x15.flyteidl.core.SchemaH\x00R\x06schema\x12\x32\n\tnone_type\x18\x05 \x01(\x0b\x32\x13.flyteidl.core.VoidH\x00R\x08noneType\x12,\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x14.flyteidl.core.ErrorH\x00R\x05\x65rror\x12\x33\n\x07generic\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x07generic\x12Q\n\x12structured_dataset\x18\x08 \x01(\x0b\x32 .flyteidl.core.StructuredDatasetH\x00R\x11structuredDataset\x12,\n\x05union\x18\t \x01(\x0b\x32\x14.flyteidl.core.UnionH\x00R\x05unionB\x07\n\x05value\"\xc9\x02\n\x07Literal\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x42\n\ncollection\x18\x02 \x01(\x0b\x32 .flyteidl.core.LiteralCollectionH\x00R\ncollection\x12-\n\x03map\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00R\x03map\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hash\x12@\n\x08metadata\x18\x05 \x03(\x0b\x32$.flyteidl.core.Literal.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x07\n\x05value\"G\n\x11LiteralCollection\x12\x32\n\x08literals\x18\x01 \x03(\x0b\x32\x16.flyteidl.core.LiteralR\x08literals\"\xa6\x01\n\nLiteralMap\x12\x43\n\x08literals\x18\x01 \x03(\x0b\x32\'.flyteidl.core.LiteralMap.LiteralsEntryR\x08literals\x1aS\n\rLiteralsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value:\x02\x38\x01\"O\n\x15\x42indingDataCollection\x12\x36\n\x08\x62indings\x18\x01 \x03(\x0b\x32\x1a.flyteidl.core.BindingDataR\x08\x62indings\"\xb2\x01\n\x0e\x42indingDataMap\x12G\n\x08\x62indings\x18\x01 \x03(\x0b\x32+.flyteidl.core.BindingDataMap.BindingsEntryR\x08\x62indings\x1aW\n\rBindingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x05value:\x02\x38\x01\"G\n\tUnionInfo\x12:\n\ntargetType\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\ntargetType\"\xae\x02\n\x0b\x42indingData\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x46\n\ncollection\x18\x02 \x01(\x0b\x32$.flyteidl.core.BindingDataCollectionH\x00R\ncollection\x12:\n\x07promise\x18\x03 \x01(\x0b\x32\x1e.flyteidl.core.OutputReferenceH\x00R\x07promise\x12\x31\n\x03map\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.BindingDataMapH\x00R\x03map\x12.\n\x05union\x18\x05 \x01(\x0b\x32\x18.flyteidl.core.UnionInfoR\x05unionB\x07\n\x05value\"Q\n\x07\x42inding\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\x12\x34\n\x07\x62inding\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x07\x62inding\"6\n\x0cKeyValuePair\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\")\n\rRetryStrategy\x12\x18\n\x07retries\x18\x05 \x01(\rR\x07retriesB\xb3\x01\n\x11\x63om.flyteidl.coreB\rLiteralsProtoP\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) @@ -26,6 +26,8 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\021com.flyteidl.coreB\rLiteralsProtoP\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' + _LITERAL_METADATAENTRY._options = None + _LITERAL_METADATAENTRY._serialized_options = b'8\001' _LITERALMAP_LITERALSENTRY._options = None _LITERALMAP_LITERALSENTRY._serialized_options = b'8\001' _BINDINGDATAMAP_BINDINGSENTRY._options = None @@ -51,27 +53,29 @@ _globals['_SCALAR']._serialized_start=1048 _globals['_SCALAR']._serialized_end=1544 _globals['_LITERAL']._serialized_start=1547 - _globals['_LITERAL']._serialized_end=1749 - _globals['_LITERALCOLLECTION']._serialized_start=1751 - _globals['_LITERALCOLLECTION']._serialized_end=1822 - _globals['_LITERALMAP']._serialized_start=1825 - _globals['_LITERALMAP']._serialized_end=1991 - _globals['_LITERALMAP_LITERALSENTRY']._serialized_start=1908 - _globals['_LITERALMAP_LITERALSENTRY']._serialized_end=1991 - _globals['_BINDINGDATACOLLECTION']._serialized_start=1993 - _globals['_BINDINGDATACOLLECTION']._serialized_end=2072 - _globals['_BINDINGDATAMAP']._serialized_start=2075 - _globals['_BINDINGDATAMAP']._serialized_end=2253 - _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_start=2166 - _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_end=2253 - _globals['_UNIONINFO']._serialized_start=2255 - _globals['_UNIONINFO']._serialized_end=2326 - _globals['_BINDINGDATA']._serialized_start=2329 - _globals['_BINDINGDATA']._serialized_end=2631 - _globals['_BINDING']._serialized_start=2633 - _globals['_BINDING']._serialized_end=2714 - _globals['_KEYVALUEPAIR']._serialized_start=2716 - _globals['_KEYVALUEPAIR']._serialized_end=2770 - _globals['_RETRYSTRATEGY']._serialized_start=2772 - _globals['_RETRYSTRATEGY']._serialized_end=2813 + _globals['_LITERAL']._serialized_end=1876 + _globals['_LITERAL_METADATAENTRY']._serialized_start=1808 + _globals['_LITERAL_METADATAENTRY']._serialized_end=1867 + _globals['_LITERALCOLLECTION']._serialized_start=1878 + _globals['_LITERALCOLLECTION']._serialized_end=1949 + _globals['_LITERALMAP']._serialized_start=1952 + _globals['_LITERALMAP']._serialized_end=2118 + _globals['_LITERALMAP_LITERALSENTRY']._serialized_start=2035 + _globals['_LITERALMAP_LITERALSENTRY']._serialized_end=2118 + _globals['_BINDINGDATACOLLECTION']._serialized_start=2120 + _globals['_BINDINGDATACOLLECTION']._serialized_end=2199 + _globals['_BINDINGDATAMAP']._serialized_start=2202 + _globals['_BINDINGDATAMAP']._serialized_end=2380 + _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_start=2293 + _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_end=2380 + _globals['_UNIONINFO']._serialized_start=2382 + _globals['_UNIONINFO']._serialized_end=2453 + _globals['_BINDINGDATA']._serialized_start=2456 + _globals['_BINDINGDATA']._serialized_end=2758 + _globals['_BINDING']._serialized_start=2760 + _globals['_BINDING']._serialized_end=2841 + _globals['_KEYVALUEPAIR']._serialized_start=2843 + _globals['_KEYVALUEPAIR']._serialized_end=2897 + _globals['_RETRYSTRATEGY']._serialized_start=2899 + _globals['_RETRYSTRATEGY']._serialized_end=2940 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi index 1df1a0bfb9..62622203bd 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi @@ -104,16 +104,25 @@ class Scalar(_message.Message): def __init__(self, primitive: _Optional[_Union[Primitive, _Mapping]] = ..., blob: _Optional[_Union[Blob, _Mapping]] = ..., binary: _Optional[_Union[Binary, _Mapping]] = ..., schema: _Optional[_Union[Schema, _Mapping]] = ..., none_type: _Optional[_Union[Void, _Mapping]] = ..., error: _Optional[_Union[_types_pb2.Error, _Mapping]] = ..., generic: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., structured_dataset: _Optional[_Union[StructuredDataset, _Mapping]] = ..., union: _Optional[_Union[Union, _Mapping]] = ...) -> None: ... class Literal(_message.Message): - __slots__ = ["scalar", "collection", "map", "hash"] + __slots__ = ["scalar", "collection", "map", "hash", "metadata"] + class MetadataEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... SCALAR_FIELD_NUMBER: _ClassVar[int] COLLECTION_FIELD_NUMBER: _ClassVar[int] MAP_FIELD_NUMBER: _ClassVar[int] HASH_FIELD_NUMBER: _ClassVar[int] + METADATA_FIELD_NUMBER: _ClassVar[int] scalar: Scalar collection: LiteralCollection map: LiteralMap hash: str - def __init__(self, scalar: _Optional[_Union[Scalar, _Mapping]] = ..., collection: _Optional[_Union[LiteralCollection, _Mapping]] = ..., map: _Optional[_Union[LiteralMap, _Mapping]] = ..., hash: _Optional[str] = ...) -> None: ... + metadata: _containers.ScalarMap[str, str] + def __init__(self, scalar: _Optional[_Union[Scalar, _Mapping]] = ..., collection: _Optional[_Union[LiteralCollection, _Mapping]] = ..., map: _Optional[_Union[LiteralMap, _Mapping]] = ..., hash: _Optional[str] = ..., metadata: _Optional[_Mapping[str, str]] = ...) -> None: ... class LiteralCollection(_message.Message): __slots__ = ["literals"] diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py new file mode 100644 index 0000000000..08b5e1af62 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/event/cloudevents.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.event import event_pb2 as flyteidl_dot_event_dot_event__pb2 +from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.core import interface_pb2 as flyteidl_dot_core_dot_interface__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/event/cloudevents.proto\x12\x0e\x66lyteidl.event\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd8\x04\n\x1b\x43loudEventWorkflowExecution\x12\x43\n\traw_event\x18\x01 \x01(\x0b\x32&.flyteidl.event.WorkflowExecutionEventR\x08rawEvent\x12:\n\x0boutput_data\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12=\n\x0cscheduled_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\x12<\n\x0c\x61rtifact_ids\x18\x06 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12Z\n\x15parent_node_execution\x18\x07 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierR\x13parentNodeExecution\x12[\n\x13reference_execution\x18\x08 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\"Z\n\x17\x43loudEventNodeExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.NodeExecutionEventR\x08rawEvent\"\xd0\x04\n\x17\x43loudEventTaskExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.TaskExecutionEventR\x08rawEvent\x12:\n\x0boutput_data\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12=\n\x0cscheduled_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\x12<\n\x0c\x61rtifact_ids\x18\x06 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12Z\n\x15parent_node_execution\x18\x07 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierR\x13parentNodeExecution\x12[\n\x13reference_execution\x18\x08 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\"\xc9\x02\n\x18\x43loudEventExecutionStart\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12?\n\x0elaunch_plan_id\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\x12:\n\x0bworkflow_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12#\n\rartifact_keys\x18\x05 \x03(\tR\x0c\x61rtifactKeysB\xbc\x01\n\x12\x63om.flyteidl.eventB\x10\x43loudeventsProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\xa2\x02\x03\x46\x45X\xaa\x02\x0e\x46lyteidl.Event\xca\x02\x0e\x46lyteidl\\Event\xe2\x02\x1a\x46lyteidl\\Event\\GPBMetadata\xea\x02\x0f\x46lyteidl::Eventb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.event.cloudevents_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.flyteidl.eventB\020CloudeventsProtoP\001Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\242\002\003FEX\252\002\016Flyteidl.Event\312\002\016Flyteidl\\Event\342\002\032Flyteidl\\Event\\GPBMetadata\352\002\017Flyteidl::Event' + _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_start=240 + _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_end=840 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_start=842 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_end=932 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_start=935 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_end=1527 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_start=1530 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_end=1859 +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi new file mode 100644 index 0000000000..95555a9236 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi @@ -0,0 +1,72 @@ +from flyteidl.event import event_pb2 as _event_pb2 +from flyteidl.core import literals_pb2 as _literals_pb2 +from flyteidl.core import interface_pb2 as _interface_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class CloudEventWorkflowExecution(_message.Message): + __slots__ = ["raw_event", "output_data", "output_interface", "input_data", "scheduled_at", "artifact_ids", "parent_node_execution", "reference_execution"] + RAW_EVENT_FIELD_NUMBER: _ClassVar[int] + OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] + OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] + INPUT_DATA_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_AT_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] + PARENT_NODE_EXECUTION_FIELD_NUMBER: _ClassVar[int] + REFERENCE_EXECUTION_FIELD_NUMBER: _ClassVar[int] + raw_event: _event_pb2.WorkflowExecutionEvent + output_data: _literals_pb2.LiteralMap + output_interface: _interface_pb2.TypedInterface + input_data: _literals_pb2.LiteralMap + scheduled_at: _timestamp_pb2.Timestamp + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + parent_node_execution: _identifier_pb2.NodeExecutionIdentifier + reference_execution: _identifier_pb2.WorkflowExecutionIdentifier + def __init__(self, raw_event: _Optional[_Union[_event_pb2.WorkflowExecutionEvent, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., scheduled_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., parent_node_execution: _Optional[_Union[_identifier_pb2.NodeExecutionIdentifier, _Mapping]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ...) -> None: ... + +class CloudEventNodeExecution(_message.Message): + __slots__ = ["raw_event"] + RAW_EVENT_FIELD_NUMBER: _ClassVar[int] + raw_event: _event_pb2.NodeExecutionEvent + def __init__(self, raw_event: _Optional[_Union[_event_pb2.NodeExecutionEvent, _Mapping]] = ...) -> None: ... + +class CloudEventTaskExecution(_message.Message): + __slots__ = ["raw_event", "output_data", "output_interface", "input_data", "scheduled_at", "artifact_ids", "parent_node_execution", "reference_execution"] + RAW_EVENT_FIELD_NUMBER: _ClassVar[int] + OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] + OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] + INPUT_DATA_FIELD_NUMBER: _ClassVar[int] + SCHEDULED_AT_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] + PARENT_NODE_EXECUTION_FIELD_NUMBER: _ClassVar[int] + REFERENCE_EXECUTION_FIELD_NUMBER: _ClassVar[int] + raw_event: _event_pb2.TaskExecutionEvent + output_data: _literals_pb2.LiteralMap + output_interface: _interface_pb2.TypedInterface + input_data: _literals_pb2.LiteralMap + scheduled_at: _timestamp_pb2.Timestamp + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + parent_node_execution: _identifier_pb2.NodeExecutionIdentifier + reference_execution: _identifier_pb2.WorkflowExecutionIdentifier + def __init__(self, raw_event: _Optional[_Union[_event_pb2.TaskExecutionEvent, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., scheduled_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., parent_node_execution: _Optional[_Union[_identifier_pb2.NodeExecutionIdentifier, _Mapping]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ...) -> None: ... + +class CloudEventExecutionStart(_message.Message): + __slots__ = ["execution_id", "launch_plan_id", "workflow_id", "artifact_ids", "artifact_keys"] + EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_KEYS_FIELD_NUMBER: _ClassVar[int] + execution_id: _identifier_pb2.WorkflowExecutionIdentifier + launch_plan_id: _identifier_pb2.Identifier + workflow_id: _identifier_pb2.Identifier + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + artifact_keys: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., workflow_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., artifact_keys: _Optional[_Iterable[str]] = ...) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2_grpc.py new file mode 100644 index 0000000000..2daafffebf --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.py b/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.py index 6dcd26a0b7..852532ee47 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.py @@ -14,11 +14,13 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.artifact import artifacts_pb2 as flyteidl_dot_artifact_dot_artifacts__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/service/dataproxy.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\"\x97\x01\n\x1c\x43reateUploadLocationResponse\x12\x1d\n\nsigned_url\x18\x01 \x01(\tR\tsignedUrl\x12\x1d\n\nnative_url\x18\x02 \x01(\tR\tnativeUrl\x12\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\"\xeb\x01\n\x1b\x43reateUploadLocationRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x1a\n\x08\x66ilename\x18\x03 \x01(\tR\x08\x66ilename\x12\x38\n\nexpires_in\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn\x12\x1f\n\x0b\x63ontent_md5\x18\x05 \x01(\x0cR\ncontentMd5\x12#\n\rfilename_root\x18\x06 \x01(\tR\x0c\x66ilenameRoot\"|\n\x1d\x43reateDownloadLocationRequest\x12\x1d\n\nnative_url\x18\x01 \x01(\tR\tnativeUrl\x12\x38\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn:\x02\x18\x01\"~\n\x1e\x43reateDownloadLocationResponse\x12\x1d\n\nsigned_url\x18\x01 \x01(\tR\tsignedUrl\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt:\x02\x18\x01\"\xfa\x01\n\x19\x43reateDownloadLinkRequest\x12\x43\n\rartifact_type\x18\x01 \x01(\x0e\x32\x1e.flyteidl.service.ArtifactTypeR\x0c\x61rtifactType\x12\x38\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn\x12T\n\x11node_execution_id\x18\x03 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierH\x00R\x0fnodeExecutionIdB\x08\n\x06source\"\xc7\x01\n\x1a\x43reateDownloadLinkResponse\x12!\n\nsigned_url\x18\x01 \x03(\tB\x02\x18\x01R\tsignedUrl\x12=\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01R\texpiresAt\x12G\n\x0fpre_signed_urls\x18\x03 \x01(\x0b\x32\x1f.flyteidl.service.PreSignedURLsR\rpreSignedUrls\"i\n\rPreSignedURLs\x12\x1d\n\nsigned_url\x18\x01 \x03(\tR\tsignedUrl\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\"-\n\x0eGetDataRequest\x12\x1b\n\tflyte_url\x18\x01 \x01(\tR\x08\x66lyteUrl\"\xd6\x01\n\x0fGetDataResponse\x12<\n\x0bliteral_map\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00R\nliteralMap\x12I\n\x0fpre_signed_urls\x18\x02 \x01(\x0b\x32\x1f.flyteidl.service.PreSignedURLsH\x00R\rpreSignedUrls\x12\x32\n\x07literal\x18\x03 \x01(\x0b\x32\x16.flyteidl.core.LiteralH\x00R\x07literalB\x06\n\x04\x64\x61ta*C\n\x0c\x41rtifactType\x12\x1b\n\x17\x41RTIFACT_TYPE_UNDEFINED\x10\x00\x12\x16\n\x12\x41RTIFACT_TYPE_DECK\x10\x01\x32\xe2\x04\n\x10\x44\x61taProxyService\x12\xa0\x01\n\x14\x43reateUploadLocation\x12-.flyteidl.service.CreateUploadLocationRequest\x1a..flyteidl.service.CreateUploadLocationResponse\")\x82\xd3\xe4\x93\x02#:\x01*\"\x1e/api/v1/dataproxy/artifact_urn\x12\xa6\x01\n\x16\x43reateDownloadLocation\x12/.flyteidl.service.CreateDownloadLocationRequest\x1a\x30.flyteidl.service.CreateDownloadLocationResponse\")\x88\x02\x01\x82\xd3\xe4\x93\x02 \x12\x1e/api/v1/dataproxy/artifact_urn\x12\x9b\x01\n\x12\x43reateDownloadLink\x12+.flyteidl.service.CreateDownloadLinkRequest\x1a,.flyteidl.service.CreateDownloadLinkResponse\"*\x82\xd3\xe4\x93\x02$:\x01*\"\x1f/api/v1/dataproxy/artifact_link\x12\x64\n\x07GetData\x12 .flyteidl.service.GetDataRequest\x1a!.flyteidl.service.GetDataResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/api/v1/dataB\xc6\x01\n\x14\x63om.flyteidl.serviceB\x0e\x44\x61taproxyProtoP\x01Z=github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service\xa2\x02\x03\x46SX\xaa\x02\x10\x46lyteidl.Service\xca\x02\x10\x46lyteidl\\Service\xe2\x02\x1c\x46lyteidl\\Service\\GPBMetadata\xea\x02\x11\x46lyteidl::Serviceb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/service/dataproxy.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a!flyteidl/artifact/artifacts.proto\"\xd0\x01\n\x1c\x43reateUploadLocationResponse\x12\x1d\n\nsigned_url\x18\x01 \x01(\tR\tsignedUrl\x12\x1d\n\nnative_url\x18\x02 \x01(\tR\tnativeUrl\x12\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x37\n\x08\x61rtifact\x18\x04 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"\xb1\x02\n\x1b\x43reateUploadLocationRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x1a\n\x08\x66ilename\x18\x03 \x01(\tR\x08\x66ilename\x12\x38\n\nexpires_in\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn\x12\x1f\n\x0b\x63ontent_md5\x18\x05 \x01(\x0cR\ncontentMd5\x12#\n\rfilename_root\x18\x06 \x01(\tR\x0c\x66ilenameRoot\x12\x44\n\rartifact_spec\x18\x07 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x0c\x61rtifactSpec\"|\n\x1d\x43reateDownloadLocationRequest\x12\x1d\n\nnative_url\x18\x01 \x01(\tR\tnativeUrl\x12\x38\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn:\x02\x18\x01\"~\n\x1e\x43reateDownloadLocationResponse\x12\x1d\n\nsigned_url\x18\x01 \x01(\tR\tsignedUrl\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt:\x02\x18\x01\"\xfa\x01\n\x19\x43reateDownloadLinkRequest\x12\x43\n\rartifact_type\x18\x01 \x01(\x0e\x32\x1e.flyteidl.service.ArtifactTypeR\x0c\x61rtifactType\x12\x38\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn\x12T\n\x11node_execution_id\x18\x03 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierH\x00R\x0fnodeExecutionIdB\x08\n\x06source\"\xc7\x01\n\x1a\x43reateDownloadLinkResponse\x12!\n\nsigned_url\x18\x01 \x03(\tB\x02\x18\x01R\tsignedUrl\x12=\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01R\texpiresAt\x12G\n\x0fpre_signed_urls\x18\x03 \x01(\x0b\x32\x1f.flyteidl.service.PreSignedURLsR\rpreSignedUrls\"i\n\rPreSignedURLs\x12\x1d\n\nsigned_url\x18\x01 \x03(\tR\tsignedUrl\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\"v\n\x0eGetDataRequest\x12\x1d\n\tflyte_url\x18\x01 \x01(\tH\x00R\x08\x66lyteUrl\x12<\n\x0b\x61rtifact_id\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDH\x00R\nartifactIdB\x07\n\x05query\"\x91\x02\n\x0fGetDataResponse\x12<\n\x0bliteral_map\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00R\nliteralMap\x12I\n\x0fpre_signed_urls\x18\x02 \x01(\x0b\x32\x1f.flyteidl.service.PreSignedURLsH\x00R\rpreSignedUrls\x12\x32\n\x07literal\x18\x03 \x01(\x0b\x32\x16.flyteidl.core.LiteralH\x00R\x07literal\x12\x39\n\x08\x61rtifact\x18\x04 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactH\x00R\x08\x61rtifactB\x06\n\x04\x64\x61ta*C\n\x0c\x41rtifactType\x12\x1b\n\x17\x41RTIFACT_TYPE_UNDEFINED\x10\x00\x12\x16\n\x12\x41RTIFACT_TYPE_DECK\x10\x01\x32\xe2\x04\n\x10\x44\x61taProxyService\x12\xa0\x01\n\x14\x43reateUploadLocation\x12-.flyteidl.service.CreateUploadLocationRequest\x1a..flyteidl.service.CreateUploadLocationResponse\")\x82\xd3\xe4\x93\x02#:\x01*\"\x1e/api/v1/dataproxy/artifact_urn\x12\xa6\x01\n\x16\x43reateDownloadLocation\x12/.flyteidl.service.CreateDownloadLocationRequest\x1a\x30.flyteidl.service.CreateDownloadLocationResponse\")\x88\x02\x01\x82\xd3\xe4\x93\x02 \x12\x1e/api/v1/dataproxy/artifact_urn\x12\x9b\x01\n\x12\x43reateDownloadLink\x12+.flyteidl.service.CreateDownloadLinkRequest\x1a,.flyteidl.service.CreateDownloadLinkResponse\"*\x82\xd3\xe4\x93\x02$:\x01*\"\x1f/api/v1/dataproxy/artifact_link\x12\x64\n\x07GetData\x12 .flyteidl.service.GetDataRequest\x1a!.flyteidl.service.GetDataResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/api/v1/dataB\xc6\x01\n\x14\x63om.flyteidl.serviceB\x0e\x44\x61taproxyProtoP\x01Z=github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service\xa2\x02\x03\x46SX\xaa\x02\x10\x46lyteidl.Service\xca\x02\x10\x46lyteidl\\Service\xe2\x02\x1c\x46lyteidl\\Service\\GPBMetadata\xea\x02\x11\x46lyteidl::Serviceb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -43,26 +45,26 @@ _DATAPROXYSERVICE.methods_by_name['CreateDownloadLink']._serialized_options = b'\202\323\344\223\002$:\001*\"\037/api/v1/dataproxy/artifact_link' _DATAPROXYSERVICE.methods_by_name['GetData']._options = None _DATAPROXYSERVICE.methods_by_name['GetData']._serialized_options = b'\202\323\344\223\002\016\022\014/api/v1/data' - _globals['_ARTIFACTTYPE']._serialized_start=1683 - _globals['_ARTIFACTTYPE']._serialized_end=1750 - _globals['_CREATEUPLOADLOCATIONRESPONSE']._serialized_start=212 - _globals['_CREATEUPLOADLOCATIONRESPONSE']._serialized_end=363 - _globals['_CREATEUPLOADLOCATIONREQUEST']._serialized_start=366 - _globals['_CREATEUPLOADLOCATIONREQUEST']._serialized_end=601 - _globals['_CREATEDOWNLOADLOCATIONREQUEST']._serialized_start=603 - _globals['_CREATEDOWNLOADLOCATIONREQUEST']._serialized_end=727 - _globals['_CREATEDOWNLOADLOCATIONRESPONSE']._serialized_start=729 - _globals['_CREATEDOWNLOADLOCATIONRESPONSE']._serialized_end=855 - _globals['_CREATEDOWNLOADLINKREQUEST']._serialized_start=858 - _globals['_CREATEDOWNLOADLINKREQUEST']._serialized_end=1108 - _globals['_CREATEDOWNLOADLINKRESPONSE']._serialized_start=1111 - _globals['_CREATEDOWNLOADLINKRESPONSE']._serialized_end=1310 - _globals['_PRESIGNEDURLS']._serialized_start=1312 - _globals['_PRESIGNEDURLS']._serialized_end=1417 - _globals['_GETDATAREQUEST']._serialized_start=1419 - _globals['_GETDATAREQUEST']._serialized_end=1464 - _globals['_GETDATARESPONSE']._serialized_start=1467 - _globals['_GETDATARESPONSE']._serialized_end=1681 - _globals['_DATAPROXYSERVICE']._serialized_start=1753 - _globals['_DATAPROXYSERVICE']._serialized_end=2363 + _globals['_ARTIFACTTYPE']._serialized_start=2010 + _globals['_ARTIFACTTYPE']._serialized_end=2077 + _globals['_CREATEUPLOADLOCATIONRESPONSE']._serialized_start=280 + _globals['_CREATEUPLOADLOCATIONRESPONSE']._serialized_end=488 + _globals['_CREATEUPLOADLOCATIONREQUEST']._serialized_start=491 + _globals['_CREATEUPLOADLOCATIONREQUEST']._serialized_end=796 + _globals['_CREATEDOWNLOADLOCATIONREQUEST']._serialized_start=798 + _globals['_CREATEDOWNLOADLOCATIONREQUEST']._serialized_end=922 + _globals['_CREATEDOWNLOADLOCATIONRESPONSE']._serialized_start=924 + _globals['_CREATEDOWNLOADLOCATIONRESPONSE']._serialized_end=1050 + _globals['_CREATEDOWNLOADLINKREQUEST']._serialized_start=1053 + _globals['_CREATEDOWNLOADLINKREQUEST']._serialized_end=1303 + _globals['_CREATEDOWNLOADLINKRESPONSE']._serialized_start=1306 + _globals['_CREATEDOWNLOADLINKRESPONSE']._serialized_end=1505 + _globals['_PRESIGNEDURLS']._serialized_start=1507 + _globals['_PRESIGNEDURLS']._serialized_end=1612 + _globals['_GETDATAREQUEST']._serialized_start=1614 + _globals['_GETDATAREQUEST']._serialized_end=1732 + _globals['_GETDATARESPONSE']._serialized_start=1735 + _globals['_GETDATARESPONSE']._serialized_end=2008 + _globals['_DATAPROXYSERVICE']._serialized_start=2080 + _globals['_DATAPROXYSERVICE']._serialized_end=2690 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.pyi index 820034751f..ec3662bb26 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/service/dataproxy_pb2.pyi @@ -1,8 +1,10 @@ from google.api import annotations_pb2 as _annotations_pb2 from google.protobuf import duration_pb2 as _duration_pb2 from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 from flyteidl.core import identifier_pb2 as _identifier_pb2 from flyteidl.core import literals_pb2 as _literals_pb2 +from flyteidl.artifact import artifacts_pb2 as _artifacts_pb2 from google.protobuf.internal import containers as _containers from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper from google.protobuf import descriptor as _descriptor @@ -19,30 +21,34 @@ ARTIFACT_TYPE_UNDEFINED: ArtifactType ARTIFACT_TYPE_DECK: ArtifactType class CreateUploadLocationResponse(_message.Message): - __slots__ = ["signed_url", "native_url", "expires_at"] + __slots__ = ["signed_url", "native_url", "expires_at", "artifact"] SIGNED_URL_FIELD_NUMBER: _ClassVar[int] NATIVE_URL_FIELD_NUMBER: _ClassVar[int] EXPIRES_AT_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_FIELD_NUMBER: _ClassVar[int] signed_url: str native_url: str expires_at: _timestamp_pb2.Timestamp - def __init__(self, signed_url: _Optional[str] = ..., native_url: _Optional[str] = ..., expires_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + artifact: _artifacts_pb2.Artifact + def __init__(self, signed_url: _Optional[str] = ..., native_url: _Optional[str] = ..., expires_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., artifact: _Optional[_Union[_artifacts_pb2.Artifact, _Mapping]] = ...) -> None: ... class CreateUploadLocationRequest(_message.Message): - __slots__ = ["project", "domain", "filename", "expires_in", "content_md5", "filename_root"] + __slots__ = ["project", "domain", "filename", "expires_in", "content_md5", "filename_root", "artifact_spec"] PROJECT_FIELD_NUMBER: _ClassVar[int] DOMAIN_FIELD_NUMBER: _ClassVar[int] FILENAME_FIELD_NUMBER: _ClassVar[int] EXPIRES_IN_FIELD_NUMBER: _ClassVar[int] CONTENT_MD5_FIELD_NUMBER: _ClassVar[int] FILENAME_ROOT_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_SPEC_FIELD_NUMBER: _ClassVar[int] project: str domain: str filename: str expires_in: _duration_pb2.Duration content_md5: bytes filename_root: str - def __init__(self, project: _Optional[str] = ..., domain: _Optional[str] = ..., filename: _Optional[str] = ..., expires_in: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., content_md5: _Optional[bytes] = ..., filename_root: _Optional[str] = ...) -> None: ... + artifact_spec: _artifacts_pb2.ArtifactSpec + def __init__(self, project: _Optional[str] = ..., domain: _Optional[str] = ..., filename: _Optional[str] = ..., expires_in: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., content_md5: _Optional[bytes] = ..., filename_root: _Optional[str] = ..., artifact_spec: _Optional[_Union[_artifacts_pb2.ArtifactSpec, _Mapping]] = ...) -> None: ... class CreateDownloadLocationRequest(_message.Message): __slots__ = ["native_url", "expires_in"] @@ -89,17 +95,21 @@ class PreSignedURLs(_message.Message): def __init__(self, signed_url: _Optional[_Iterable[str]] = ..., expires_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class GetDataRequest(_message.Message): - __slots__ = ["flyte_url"] + __slots__ = ["flyte_url", "artifact_id"] FLYTE_URL_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] flyte_url: str - def __init__(self, flyte_url: _Optional[str] = ...) -> None: ... + artifact_id: _artifact_id_pb2.ArtifactID + def __init__(self, flyte_url: _Optional[str] = ..., artifact_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ...) -> None: ... class GetDataResponse(_message.Message): - __slots__ = ["literal_map", "pre_signed_urls", "literal"] + __slots__ = ["literal_map", "pre_signed_urls", "literal", "artifact"] LITERAL_MAP_FIELD_NUMBER: _ClassVar[int] PRE_SIGNED_URLS_FIELD_NUMBER: _ClassVar[int] LITERAL_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_FIELD_NUMBER: _ClassVar[int] literal_map: _literals_pb2.LiteralMap pre_signed_urls: PreSignedURLs literal: _literals_pb2.Literal - def __init__(self, literal_map: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., pre_signed_urls: _Optional[_Union[PreSignedURLs, _Mapping]] = ..., literal: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ...) -> None: ... + artifact: _artifacts_pb2.Artifact + def __init__(self, literal_map: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., pre_signed_urls: _Optional[_Union[PreSignedURLs, _Mapping]] = ..., literal: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ..., artifact: _Optional[_Union[_artifacts_pb2.Artifact, _Mapping]] = ...) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md index 3f98e5376a..efbebad5b8 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md @@ -264,6 +264,11 @@ Class | Method | HTTP request | Description - [CoreAlias](docs/CoreAlias.md) - [CoreApproveCondition](docs/CoreApproveCondition.md) - [CoreArrayNode](docs/CoreArrayNode.md) + - [CoreArtifactBindingData](docs/CoreArtifactBindingData.md) + - [CoreArtifactID](docs/CoreArtifactID.md) + - [CoreArtifactKey](docs/CoreArtifactKey.md) + - [CoreArtifactQuery](docs/CoreArtifactQuery.md) + - [CoreArtifactTag](docs/CoreArtifactTag.md) - [CoreBinary](docs/CoreBinary.md) - [CoreBinding](docs/CoreBinding.md) - [CoreBindingData](docs/CoreBindingData.md) @@ -295,9 +300,11 @@ Class | Method | HTTP request | Description - [CoreIdentity](docs/CoreIdentity.md) - [CoreIfBlock](docs/CoreIfBlock.md) - [CoreIfElseBlock](docs/CoreIfElseBlock.md) + - [CoreInputBindingData](docs/CoreInputBindingData.md) - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) - [CoreK8sPod](docs/CoreK8sPod.md) - [CoreKeyValuePair](docs/CoreKeyValuePair.md) + - [CoreLabelValue](docs/CoreLabelValue.md) - [CoreLiteral](docs/CoreLiteral.md) - [CoreLiteralCollection](docs/CoreLiteralCollection.md) - [CoreLiteralMap](docs/CoreLiteralMap.md) @@ -313,6 +320,7 @@ Class | Method | HTTP request | Description - [CoreOutputReference](docs/CoreOutputReference.md) - [CoreParameter](docs/CoreParameter.md) - [CoreParameterMap](docs/CoreParameterMap.md) + - [CorePartitions](docs/CorePartitions.md) - [CorePrimitive](docs/CorePrimitive.md) - [CorePromiseAttribute](docs/CorePromiseAttribute.md) - [CoreQualityOfService](docs/CoreQualityOfService.md) @@ -382,6 +390,7 @@ Class | Method | HTTP request | Description - [IOStrategyUploadMode](docs/IOStrategyUploadMode.md) - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) - [ProjectProjectState](docs/ProjectProjectState.md) + - [ProtobufAny](docs/ProtobufAny.md) - [ProtobufListValue](docs/ProtobufListValue.md) - [ProtobufNullValue](docs/ProtobufNullValue.md) - [ProtobufStruct](docs/ProtobufStruct.md) diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py index 5db75c705d..ba0f1c044d 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py @@ -155,6 +155,11 @@ from flyteadmin.models.core_alias import CoreAlias from flyteadmin.models.core_approve_condition import CoreApproveCondition from flyteadmin.models.core_array_node import CoreArrayNode +from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData +from flyteadmin.models.core_artifact_id import CoreArtifactID +from flyteadmin.models.core_artifact_key import CoreArtifactKey +from flyteadmin.models.core_artifact_query import CoreArtifactQuery +from flyteadmin.models.core_artifact_tag import CoreArtifactTag from flyteadmin.models.core_binary import CoreBinary from flyteadmin.models.core_binding import CoreBinding from flyteadmin.models.core_binding_data import CoreBindingData @@ -186,9 +191,11 @@ from flyteadmin.models.core_identity import CoreIdentity from flyteadmin.models.core_if_block import CoreIfBlock from flyteadmin.models.core_if_else_block import CoreIfElseBlock +from flyteadmin.models.core_input_binding_data import CoreInputBindingData from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata from flyteadmin.models.core_k8s_pod import CoreK8sPod from flyteadmin.models.core_key_value_pair import CoreKeyValuePair +from flyteadmin.models.core_label_value import CoreLabelValue from flyteadmin.models.core_literal import CoreLiteral from flyteadmin.models.core_literal_collection import CoreLiteralCollection from flyteadmin.models.core_literal_map import CoreLiteralMap @@ -204,6 +211,7 @@ from flyteadmin.models.core_output_reference import CoreOutputReference from flyteadmin.models.core_parameter import CoreParameter from flyteadmin.models.core_parameter_map import CoreParameterMap +from flyteadmin.models.core_partitions import CorePartitions from flyteadmin.models.core_primitive import CorePrimitive from flyteadmin.models.core_promise_attribute import CorePromiseAttribute from flyteadmin.models.core_quality_of_service import CoreQualityOfService @@ -273,6 +281,7 @@ from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior from flyteadmin.models.project_project_state import ProjectProjectState +from flyteadmin.models.protobuf_any import ProtobufAny from flyteadmin.models.protobuf_list_value import ProtobufListValue from flyteadmin.models.protobuf_null_value import ProtobufNullValue from flyteadmin.models.protobuf_struct import ProtobufStruct diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py index 8ff7d20249..6bc34a5e9f 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py @@ -148,6 +148,11 @@ from flyteadmin.models.core_alias import CoreAlias from flyteadmin.models.core_approve_condition import CoreApproveCondition from flyteadmin.models.core_array_node import CoreArrayNode +from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData +from flyteadmin.models.core_artifact_id import CoreArtifactID +from flyteadmin.models.core_artifact_key import CoreArtifactKey +from flyteadmin.models.core_artifact_query import CoreArtifactQuery +from flyteadmin.models.core_artifact_tag import CoreArtifactTag from flyteadmin.models.core_binary import CoreBinary from flyteadmin.models.core_binding import CoreBinding from flyteadmin.models.core_binding_data import CoreBindingData @@ -179,9 +184,11 @@ from flyteadmin.models.core_identity import CoreIdentity from flyteadmin.models.core_if_block import CoreIfBlock from flyteadmin.models.core_if_else_block import CoreIfElseBlock +from flyteadmin.models.core_input_binding_data import CoreInputBindingData from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata from flyteadmin.models.core_k8s_pod import CoreK8sPod from flyteadmin.models.core_key_value_pair import CoreKeyValuePair +from flyteadmin.models.core_label_value import CoreLabelValue from flyteadmin.models.core_literal import CoreLiteral from flyteadmin.models.core_literal_collection import CoreLiteralCollection from flyteadmin.models.core_literal_map import CoreLiteralMap @@ -197,6 +204,7 @@ from flyteadmin.models.core_output_reference import CoreOutputReference from flyteadmin.models.core_parameter import CoreParameter from flyteadmin.models.core_parameter_map import CoreParameterMap +from flyteadmin.models.core_partitions import CorePartitions from flyteadmin.models.core_primitive import CorePrimitive from flyteadmin.models.core_promise_attribute import CorePromiseAttribute from flyteadmin.models.core_quality_of_service import CoreQualityOfService @@ -266,6 +274,7 @@ from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior from flyteadmin.models.project_project_state import ProjectProjectState +from flyteadmin.models.protobuf_any import ProtobufAny from flyteadmin.models.protobuf_list_value import ProtobufListValue from flyteadmin.models.protobuf_null_value import ProtobufNullValue from flyteadmin.models.protobuf_struct import ProtobufStruct diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py index 7deb9f109b..f5a297c487 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py @@ -17,6 +17,7 @@ import six from flyteadmin.models.admin_system_metadata import AdminSystemMetadata # noqa: F401,E501 +from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode # noqa: F401,E501 @@ -42,7 +43,8 @@ class AdminExecutionMetadata(object): 'scheduled_at': 'datetime', 'parent_node_execution': 'CoreNodeExecutionIdentifier', 'reference_execution': 'CoreWorkflowExecutionIdentifier', - 'system_metadata': 'AdminSystemMetadata' + 'system_metadata': 'AdminSystemMetadata', + 'artifact_ids': 'list[CoreArtifactID]' } attribute_map = { @@ -52,10 +54,11 @@ class AdminExecutionMetadata(object): 'scheduled_at': 'scheduled_at', 'parent_node_execution': 'parent_node_execution', 'reference_execution': 'reference_execution', - 'system_metadata': 'system_metadata' + 'system_metadata': 'system_metadata', + 'artifact_ids': 'artifact_ids' } - def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, parent_node_execution=None, reference_execution=None, system_metadata=None): # noqa: E501 + def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, parent_node_execution=None, reference_execution=None, system_metadata=None, artifact_ids=None): # noqa: E501 """AdminExecutionMetadata - a model defined in Swagger""" # noqa: E501 self._mode = None @@ -65,6 +68,7 @@ def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, p self._parent_node_execution = None self._reference_execution = None self._system_metadata = None + self._artifact_ids = None self.discriminator = None if mode is not None: @@ -81,6 +85,8 @@ def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, p self.reference_execution = reference_execution if system_metadata is not None: self.system_metadata = system_metadata + if artifact_ids is not None: + self.artifact_ids = artifact_ids @property def mode(self): @@ -239,6 +245,29 @@ def system_metadata(self, system_metadata): self._system_metadata = system_metadata + @property + def artifact_ids(self): + """Gets the artifact_ids of this AdminExecutionMetadata. # noqa: E501 + + Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping since we don't have a structure to handle nested ones anyways. # noqa: E501 + + :return: The artifact_ids of this AdminExecutionMetadata. # noqa: E501 + :rtype: list[CoreArtifactID] + """ + return self._artifact_ids + + @artifact_ids.setter + def artifact_ids(self, artifact_ids): + """Sets the artifact_ids of this AdminExecutionMetadata. + + Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping since we don't have a structure to handle nested ones anyways. # noqa: E501 + + :param artifact_ids: The artifact_ids of this AdminExecutionMetadata. # noqa: E501 + :type: list[CoreArtifactID] + """ + + self._artifact_ids = artifact_ids + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py index d4ebda5dc7..462a758704 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py @@ -18,6 +18,7 @@ from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 from flyteadmin.models.admin_schedule import AdminSchedule # noqa: F401,E501 +from flyteadmin.models.protobuf_any import ProtobufAny # noqa: F401,E501 class AdminLaunchPlanMetadata(object): @@ -35,25 +36,30 @@ class AdminLaunchPlanMetadata(object): """ swagger_types = { 'schedule': 'AdminSchedule', - 'notifications': 'list[AdminNotification]' + 'notifications': 'list[AdminNotification]', + 'launch_conditions': 'ProtobufAny' } attribute_map = { 'schedule': 'schedule', - 'notifications': 'notifications' + 'notifications': 'notifications', + 'launch_conditions': 'launch_conditions' } - def __init__(self, schedule=None, notifications=None): # noqa: E501 + def __init__(self, schedule=None, notifications=None, launch_conditions=None): # noqa: E501 """AdminLaunchPlanMetadata - a model defined in Swagger""" # noqa: E501 self._schedule = None self._notifications = None + self._launch_conditions = None self.discriminator = None if schedule is not None: self.schedule = schedule if notifications is not None: self.notifications = notifications + if launch_conditions is not None: + self.launch_conditions = launch_conditions @property def schedule(self): @@ -97,6 +103,27 @@ def notifications(self, notifications): self._notifications = notifications + @property + def launch_conditions(self): + """Gets the launch_conditions of this AdminLaunchPlanMetadata. # noqa: E501 + + + :return: The launch_conditions of this AdminLaunchPlanMetadata. # noqa: E501 + :rtype: ProtobufAny + """ + return self._launch_conditions + + @launch_conditions.setter + def launch_conditions(self, launch_conditions): + """Sets the launch_conditions of this AdminLaunchPlanMetadata. + + + :param launch_conditions: The launch_conditions of this AdminLaunchPlanMetadata. # noqa: E501 + :type: ProtobufAny + """ + + self._launch_conditions = launch_conditions + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py new file mode 100644 index 0000000000..01bdc123bd --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreArtifactBindingData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'index': 'int', + 'partition_key': 'str', + 'transform': 'str' + } + + attribute_map = { + 'index': 'index', + 'partition_key': 'partition_key', + 'transform': 'transform' + } + + def __init__(self, index=None, partition_key=None, transform=None): # noqa: E501 + """CoreArtifactBindingData - a model defined in Swagger""" # noqa: E501 + + self._index = None + self._partition_key = None + self._transform = None + self.discriminator = None + + if index is not None: + self.index = index + if partition_key is not None: + self.partition_key = partition_key + if transform is not None: + self.transform = transform + + @property + def index(self): + """Gets the index of this CoreArtifactBindingData. # noqa: E501 + + + :return: The index of this CoreArtifactBindingData. # noqa: E501 + :rtype: int + """ + return self._index + + @index.setter + def index(self, index): + """Sets the index of this CoreArtifactBindingData. + + + :param index: The index of this CoreArtifactBindingData. # noqa: E501 + :type: int + """ + + self._index = index + + @property + def partition_key(self): + """Gets the partition_key of this CoreArtifactBindingData. # noqa: E501 + + + :return: The partition_key of this CoreArtifactBindingData. # noqa: E501 + :rtype: str + """ + return self._partition_key + + @partition_key.setter + def partition_key(self, partition_key): + """Sets the partition_key of this CoreArtifactBindingData. + + + :param partition_key: The partition_key of this CoreArtifactBindingData. # noqa: E501 + :type: str + """ + + self._partition_key = partition_key + + @property + def transform(self): + """Gets the transform of this CoreArtifactBindingData. # noqa: E501 + + + :return: The transform of this CoreArtifactBindingData. # noqa: E501 + :rtype: str + """ + return self._transform + + @transform.setter + def transform(self, transform): + """Sets the transform of this CoreArtifactBindingData. + + + :param transform: The transform of this CoreArtifactBindingData. # noqa: E501 + :type: str + """ + + self._transform = transform + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreArtifactBindingData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreArtifactBindingData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py new file mode 100644 index 0000000000..3d643ce5b9 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_artifact_key import CoreArtifactKey # noqa: F401,E501 +from flyteadmin.models.core_partitions import CorePartitions # noqa: F401,E501 + + +class CoreArtifactID(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'artifact_key': 'CoreArtifactKey', + 'version': 'str', + 'partitions': 'CorePartitions' + } + + attribute_map = { + 'artifact_key': 'artifact_key', + 'version': 'version', + 'partitions': 'partitions' + } + + def __init__(self, artifact_key=None, version=None, partitions=None): # noqa: E501 + """CoreArtifactID - a model defined in Swagger""" # noqa: E501 + + self._artifact_key = None + self._version = None + self._partitions = None + self.discriminator = None + + if artifact_key is not None: + self.artifact_key = artifact_key + if version is not None: + self.version = version + if partitions is not None: + self.partitions = partitions + + @property + def artifact_key(self): + """Gets the artifact_key of this CoreArtifactID. # noqa: E501 + + + :return: The artifact_key of this CoreArtifactID. # noqa: E501 + :rtype: CoreArtifactKey + """ + return self._artifact_key + + @artifact_key.setter + def artifact_key(self, artifact_key): + """Sets the artifact_key of this CoreArtifactID. + + + :param artifact_key: The artifact_key of this CoreArtifactID. # noqa: E501 + :type: CoreArtifactKey + """ + + self._artifact_key = artifact_key + + @property + def version(self): + """Gets the version of this CoreArtifactID. # noqa: E501 + + + :return: The version of this CoreArtifactID. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this CoreArtifactID. + + + :param version: The version of this CoreArtifactID. # noqa: E501 + :type: str + """ + + self._version = version + + @property + def partitions(self): + """Gets the partitions of this CoreArtifactID. # noqa: E501 + + + :return: The partitions of this CoreArtifactID. # noqa: E501 + :rtype: CorePartitions + """ + return self._partitions + + @partitions.setter + def partitions(self, partitions): + """Sets the partitions of this CoreArtifactID. + + + :param partitions: The partitions of this CoreArtifactID. # noqa: E501 + :type: CorePartitions + """ + + self._partitions = partitions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreArtifactID, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreArtifactID): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py new file mode 100644 index 0000000000..a0612fcf2d --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreArtifactKey(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'name': 'str' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'name': 'name' + } + + def __init__(self, project=None, domain=None, name=None): # noqa: E501 + """CoreArtifactKey - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._name = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if name is not None: + self.name = name + + @property + def project(self): + """Gets the project of this CoreArtifactKey. # noqa: E501 + + Project and domain and suffix needs to be unique across a given artifact store. # noqa: E501 + + :return: The project of this CoreArtifactKey. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this CoreArtifactKey. + + Project and domain and suffix needs to be unique across a given artifact store. # noqa: E501 + + :param project: The project of this CoreArtifactKey. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this CoreArtifactKey. # noqa: E501 + + + :return: The domain of this CoreArtifactKey. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this CoreArtifactKey. + + + :param domain: The domain of this CoreArtifactKey. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def name(self): + """Gets the name of this CoreArtifactKey. # noqa: E501 + + + :return: The name of this CoreArtifactKey. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreArtifactKey. + + + :param name: The name of this CoreArtifactKey. # noqa: E501 + :type: str + """ + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreArtifactKey, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreArtifactKey): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py new file mode 100644 index 0000000000..b87007f5b4 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py @@ -0,0 +1,199 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData # noqa: F401,E501 +from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 +from flyteadmin.models.core_artifact_tag import CoreArtifactTag # noqa: F401,E501 + + +class CoreArtifactQuery(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'artifact_id': 'CoreArtifactID', + 'artifact_tag': 'CoreArtifactTag', + 'uri': 'str', + 'binding': 'CoreArtifactBindingData' + } + + attribute_map = { + 'artifact_id': 'artifact_id', + 'artifact_tag': 'artifact_tag', + 'uri': 'uri', + 'binding': 'binding' + } + + def __init__(self, artifact_id=None, artifact_tag=None, uri=None, binding=None): # noqa: E501 + """CoreArtifactQuery - a model defined in Swagger""" # noqa: E501 + + self._artifact_id = None + self._artifact_tag = None + self._uri = None + self._binding = None + self.discriminator = None + + if artifact_id is not None: + self.artifact_id = artifact_id + if artifact_tag is not None: + self.artifact_tag = artifact_tag + if uri is not None: + self.uri = uri + if binding is not None: + self.binding = binding + + @property + def artifact_id(self): + """Gets the artifact_id of this CoreArtifactQuery. # noqa: E501 + + + :return: The artifact_id of this CoreArtifactQuery. # noqa: E501 + :rtype: CoreArtifactID + """ + return self._artifact_id + + @artifact_id.setter + def artifact_id(self, artifact_id): + """Sets the artifact_id of this CoreArtifactQuery. + + + :param artifact_id: The artifact_id of this CoreArtifactQuery. # noqa: E501 + :type: CoreArtifactID + """ + + self._artifact_id = artifact_id + + @property + def artifact_tag(self): + """Gets the artifact_tag of this CoreArtifactQuery. # noqa: E501 + + + :return: The artifact_tag of this CoreArtifactQuery. # noqa: E501 + :rtype: CoreArtifactTag + """ + return self._artifact_tag + + @artifact_tag.setter + def artifact_tag(self, artifact_tag): + """Sets the artifact_tag of this CoreArtifactQuery. + + + :param artifact_tag: The artifact_tag of this CoreArtifactQuery. # noqa: E501 + :type: CoreArtifactTag + """ + + self._artifact_tag = artifact_tag + + @property + def uri(self): + """Gets the uri of this CoreArtifactQuery. # noqa: E501 + + + :return: The uri of this CoreArtifactQuery. # noqa: E501 + :rtype: str + """ + return self._uri + + @uri.setter + def uri(self, uri): + """Sets the uri of this CoreArtifactQuery. + + + :param uri: The uri of this CoreArtifactQuery. # noqa: E501 + :type: str + """ + + self._uri = uri + + @property + def binding(self): + """Gets the binding of this CoreArtifactQuery. # noqa: E501 + + This is used in the trigger case, where a user specifies a value for an input that is one of the triggering artifacts, or a partition value derived from a triggering artifact. # noqa: E501 + + :return: The binding of this CoreArtifactQuery. # noqa: E501 + :rtype: CoreArtifactBindingData + """ + return self._binding + + @binding.setter + def binding(self, binding): + """Sets the binding of this CoreArtifactQuery. + + This is used in the trigger case, where a user specifies a value for an input that is one of the triggering artifacts, or a partition value derived from a triggering artifact. # noqa: E501 + + :param binding: The binding of this CoreArtifactQuery. # noqa: E501 + :type: CoreArtifactBindingData + """ + + self._binding = binding + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreArtifactQuery, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreArtifactQuery): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py new file mode 100644 index 0000000000..9277c6698c --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_artifact_key import CoreArtifactKey # noqa: F401,E501 +from flyteadmin.models.core_label_value import CoreLabelValue # noqa: F401,E501 + + +class CoreArtifactTag(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'artifact_key': 'CoreArtifactKey', + 'value': 'CoreLabelValue' + } + + attribute_map = { + 'artifact_key': 'artifact_key', + 'value': 'value' + } + + def __init__(self, artifact_key=None, value=None): # noqa: E501 + """CoreArtifactTag - a model defined in Swagger""" # noqa: E501 + + self._artifact_key = None + self._value = None + self.discriminator = None + + if artifact_key is not None: + self.artifact_key = artifact_key + if value is not None: + self.value = value + + @property + def artifact_key(self): + """Gets the artifact_key of this CoreArtifactTag. # noqa: E501 + + + :return: The artifact_key of this CoreArtifactTag. # noqa: E501 + :rtype: CoreArtifactKey + """ + return self._artifact_key + + @artifact_key.setter + def artifact_key(self, artifact_key): + """Sets the artifact_key of this CoreArtifactTag. + + + :param artifact_key: The artifact_key of this CoreArtifactTag. # noqa: E501 + :type: CoreArtifactKey + """ + + self._artifact_key = artifact_key + + @property + def value(self): + """Gets the value of this CoreArtifactTag. # noqa: E501 + + + :return: The value of this CoreArtifactTag. # noqa: E501 + :rtype: CoreLabelValue + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this CoreArtifactTag. + + + :param value: The value of this CoreArtifactTag. # noqa: E501 + :type: CoreLabelValue + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreArtifactTag, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreArtifactTag): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py new file mode 100644 index 0000000000..88a1c11a3b --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CoreInputBindingData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'var': 'str' + } + + attribute_map = { + 'var': 'var' + } + + def __init__(self, var=None): # noqa: E501 + """CoreInputBindingData - a model defined in Swagger""" # noqa: E501 + + self._var = None + self.discriminator = None + + if var is not None: + self.var = var + + @property + def var(self): + """Gets the var of this CoreInputBindingData. # noqa: E501 + + + :return: The var of this CoreInputBindingData. # noqa: E501 + :rtype: str + """ + return self._var + + @var.setter + def var(self, var): + """Sets the var of this CoreInputBindingData. + + + :param var: The var of this CoreInputBindingData. # noqa: E501 + :type: str + """ + + self._var = var + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreInputBindingData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreInputBindingData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py new file mode 100644 index 0000000000..a15f0fba07 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData # noqa: F401,E501 +from flyteadmin.models.core_input_binding_data import CoreInputBindingData # noqa: F401,E501 + + +class CoreLabelValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'static_value': 'str', + 'triggered_binding': 'CoreArtifactBindingData', + 'input_binding': 'CoreInputBindingData' + } + + attribute_map = { + 'static_value': 'static_value', + 'triggered_binding': 'triggered_binding', + 'input_binding': 'input_binding' + } + + def __init__(self, static_value=None, triggered_binding=None, input_binding=None): # noqa: E501 + """CoreLabelValue - a model defined in Swagger""" # noqa: E501 + + self._static_value = None + self._triggered_binding = None + self._input_binding = None + self.discriminator = None + + if static_value is not None: + self.static_value = static_value + if triggered_binding is not None: + self.triggered_binding = triggered_binding + if input_binding is not None: + self.input_binding = input_binding + + @property + def static_value(self): + """Gets the static_value of this CoreLabelValue. # noqa: E501 + + + :return: The static_value of this CoreLabelValue. # noqa: E501 + :rtype: str + """ + return self._static_value + + @static_value.setter + def static_value(self, static_value): + """Sets the static_value of this CoreLabelValue. + + + :param static_value: The static_value of this CoreLabelValue. # noqa: E501 + :type: str + """ + + self._static_value = static_value + + @property + def triggered_binding(self): + """Gets the triggered_binding of this CoreLabelValue. # noqa: E501 + + + :return: The triggered_binding of this CoreLabelValue. # noqa: E501 + :rtype: CoreArtifactBindingData + """ + return self._triggered_binding + + @triggered_binding.setter + def triggered_binding(self, triggered_binding): + """Sets the triggered_binding of this CoreLabelValue. + + + :param triggered_binding: The triggered_binding of this CoreLabelValue. # noqa: E501 + :type: CoreArtifactBindingData + """ + + self._triggered_binding = triggered_binding + + @property + def input_binding(self): + """Gets the input_binding of this CoreLabelValue. # noqa: E501 + + + :return: The input_binding of this CoreLabelValue. # noqa: E501 + :rtype: CoreInputBindingData + """ + return self._input_binding + + @input_binding.setter + def input_binding(self, input_binding): + """Sets the input_binding of this CoreLabelValue. + + + :param input_binding: The input_binding of this CoreLabelValue. # noqa: E501 + :type: CoreInputBindingData + """ + + self._input_binding = input_binding + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreLabelValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreLabelValue): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py index a0099dacf3..da80711e0c 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py @@ -38,23 +38,26 @@ class CoreLiteral(object): 'scalar': 'CoreScalar', 'collection': 'CoreLiteralCollection', 'map': 'CoreLiteralMap', - 'hash': 'str' + 'hash': 'str', + 'metadata': 'dict(str, str)' } attribute_map = { 'scalar': 'scalar', 'collection': 'collection', 'map': 'map', - 'hash': 'hash' + 'hash': 'hash', + 'metadata': 'metadata' } - def __init__(self, scalar=None, collection=None, map=None, hash=None): # noqa: E501 + def __init__(self, scalar=None, collection=None, map=None, hash=None, metadata=None): # noqa: E501 """CoreLiteral - a model defined in Swagger""" # noqa: E501 self._scalar = None self._collection = None self._map = None self._hash = None + self._metadata = None self.discriminator = None if scalar is not None: @@ -65,6 +68,8 @@ def __init__(self, scalar=None, collection=None, map=None, hash=None): # noqa: self.map = map if hash is not None: self.hash = hash + if metadata is not None: + self.metadata = metadata @property def scalar(self): @@ -156,6 +161,29 @@ def hash(self, hash): self._hash = hash + @property + def metadata(self): + """Gets the metadata of this CoreLiteral. # noqa: E501 + + Additional metadata for literals. # noqa: E501 + + :return: The metadata of this CoreLiteral. # noqa: E501 + :rtype: dict(str, str) + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreLiteral. + + Additional metadata for literals. # noqa: E501 + + :param metadata: The metadata of this CoreLiteral. # noqa: E501 + :type: dict(str, str) + """ + + self._metadata = metadata + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py index a6e71104f4..c8426a5833 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py @@ -16,6 +16,8 @@ import six +from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 +from flyteadmin.models.core_artifact_query import CoreArtifactQuery # noqa: F401,E501 from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 from flyteadmin.models.core_variable import CoreVariable # noqa: F401,E501 @@ -36,21 +38,27 @@ class CoreParameter(object): swagger_types = { 'var': 'CoreVariable', 'default': 'CoreLiteral', - 'required': 'bool' + 'required': 'bool', + 'artifact_query': 'CoreArtifactQuery', + 'artifact_id': 'CoreArtifactID' } attribute_map = { 'var': 'var', 'default': 'default', - 'required': 'required' + 'required': 'required', + 'artifact_query': 'artifact_query', + 'artifact_id': 'artifact_id' } - def __init__(self, var=None, default=None, required=None): # noqa: E501 + def __init__(self, var=None, default=None, required=None, artifact_query=None, artifact_id=None): # noqa: E501 """CoreParameter - a model defined in Swagger""" # noqa: E501 self._var = None self._default = None self._required = None + self._artifact_query = None + self._artifact_id = None self.discriminator = None if var is not None: @@ -59,6 +67,10 @@ def __init__(self, var=None, default=None, required=None): # noqa: E501 self.default = default if required is not None: self.required = required + if artifact_query is not None: + self.artifact_query = artifact_query + if artifact_id is not None: + self.artifact_id = artifact_id @property def var(self): @@ -129,6 +141,50 @@ def required(self, required): self._required = required + @property + def artifact_query(self): + """Gets the artifact_query of this CoreParameter. # noqa: E501 + + This is an execution time search basically that should result in exactly one Artifact with a Type that matches the type of the variable. # noqa: E501 + + :return: The artifact_query of this CoreParameter. # noqa: E501 + :rtype: CoreArtifactQuery + """ + return self._artifact_query + + @artifact_query.setter + def artifact_query(self, artifact_query): + """Sets the artifact_query of this CoreParameter. + + This is an execution time search basically that should result in exactly one Artifact with a Type that matches the type of the variable. # noqa: E501 + + :param artifact_query: The artifact_query of this CoreParameter. # noqa: E501 + :type: CoreArtifactQuery + """ + + self._artifact_query = artifact_query + + @property + def artifact_id(self): + """Gets the artifact_id of this CoreParameter. # noqa: E501 + + + :return: The artifact_id of this CoreParameter. # noqa: E501 + :rtype: CoreArtifactID + """ + return self._artifact_id + + @artifact_id.setter + def artifact_id(self, artifact_id): + """Sets the artifact_id of this CoreParameter. + + + :param artifact_id: The artifact_id of this CoreParameter. # noqa: E501 + :type: CoreArtifactID + """ + + self._artifact_id = artifact_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py new file mode 100644 index 0000000000..cfd6d29cbf --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_label_value import CoreLabelValue # noqa: F401,E501 + + +class CorePartitions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'dict(str, CoreLabelValue)' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value=None): # noqa: E501 + """CorePartitions - a model defined in Swagger""" # noqa: E501 + + self._value = None + self.discriminator = None + + if value is not None: + self.value = value + + @property + def value(self): + """Gets the value of this CorePartitions. # noqa: E501 + + + :return: The value of this CorePartitions. # noqa: E501 + :rtype: dict(str, CoreLabelValue) + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this CorePartitions. + + + :param value: The value of this CorePartitions. # noqa: E501 + :type: dict(str, CoreLabelValue) + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CorePartitions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CorePartitions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py index 186179d2ce..5a57bd3aa0 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py @@ -16,6 +16,8 @@ import six +from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 +from flyteadmin.models.core_artifact_tag import CoreArtifactTag # noqa: F401,E501 from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 @@ -34,25 +36,35 @@ class CoreVariable(object): """ swagger_types = { 'type': 'CoreLiteralType', - 'description': 'str' + 'description': 'str', + 'artifact_partial_id': 'CoreArtifactID', + 'artifact_tag': 'CoreArtifactTag' } attribute_map = { 'type': 'type', - 'description': 'description' + 'description': 'description', + 'artifact_partial_id': 'artifact_partial_id', + 'artifact_tag': 'artifact_tag' } - def __init__(self, type=None, description=None): # noqa: E501 + def __init__(self, type=None, description=None, artifact_partial_id=None, artifact_tag=None): # noqa: E501 """CoreVariable - a model defined in Swagger""" # noqa: E501 self._type = None self._description = None + self._artifact_partial_id = None + self._artifact_tag = None self.discriminator = None if type is not None: self.type = type if description is not None: self.description = description + if artifact_partial_id is not None: + self.artifact_partial_id = artifact_partial_id + if artifact_tag is not None: + self.artifact_tag = artifact_tag @property def type(self): @@ -98,6 +110,50 @@ def description(self, description): self._description = description + @property + def artifact_partial_id(self): + """Gets the artifact_partial_id of this CoreVariable. # noqa: E501 + + +optional This object allows the user to specify how Artifacts are created. name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. # noqa: E501 + + :return: The artifact_partial_id of this CoreVariable. # noqa: E501 + :rtype: CoreArtifactID + """ + return self._artifact_partial_id + + @artifact_partial_id.setter + def artifact_partial_id(self, artifact_partial_id): + """Sets the artifact_partial_id of this CoreVariable. + + +optional This object allows the user to specify how Artifacts are created. name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. # noqa: E501 + + :param artifact_partial_id: The artifact_partial_id of this CoreVariable. # noqa: E501 + :type: CoreArtifactID + """ + + self._artifact_partial_id = artifact_partial_id + + @property + def artifact_tag(self): + """Gets the artifact_tag of this CoreVariable. # noqa: E501 + + + :return: The artifact_tag of this CoreVariable. # noqa: E501 + :rtype: CoreArtifactTag + """ + return self._artifact_tag + + @artifact_tag.setter + def artifact_tag(self, artifact_tag): + """Sets the artifact_tag of this CoreVariable. + + + :param artifact_tag: The artifact_tag of this CoreVariable. # noqa: E501 + :type: CoreArtifactTag + """ + + self._artifact_tag = artifact_tag + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py new file mode 100644 index 0000000000..ef1317d099 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ProtobufAny(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'type_url': 'str', + 'value': 'str' + } + + attribute_map = { + 'type_url': 'type_url', + 'value': 'value' + } + + def __init__(self, type_url=None, value=None): # noqa: E501 + """ProtobufAny - a model defined in Swagger""" # noqa: E501 + + self._type_url = None + self._value = None + self.discriminator = None + + if type_url is not None: + self.type_url = type_url + if value is not None: + self.value = value + + @property + def type_url(self): + """Gets the type_url of this ProtobufAny. # noqa: E501 + + A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. # noqa: E501 + + :return: The type_url of this ProtobufAny. # noqa: E501 + :rtype: str + """ + return self._type_url + + @type_url.setter + def type_url(self, type_url): + """Sets the type_url of this ProtobufAny. + + A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. # noqa: E501 + + :param type_url: The type_url of this ProtobufAny. # noqa: E501 + :type: str + """ + + self._type_url = type_url + + @property + def value(self): + """Gets the value of this ProtobufAny. # noqa: E501 + + Must be a valid serialized protocol buffer of the above specified type. # noqa: E501 + + :return: The value of this ProtobufAny. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this ProtobufAny. + + Must be a valid serialized protocol buffer of the above specified type. # noqa: E501 + + :param value: The value of this ProtobufAny. # noqa: E501 + :type: str + """ + if value is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', value): # noqa: E501 + raise ValueError(r"Invalid value for `value`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProtobufAny, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProtobufAny): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py new file mode 100644 index 0000000000..b8bddd5f31 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreArtifactBindingData(unittest.TestCase): + """CoreArtifactBindingData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreArtifactBindingData(self): + """Test CoreArtifactBindingData""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_artifact_binding_data.CoreArtifactBindingData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py new file mode 100644 index 0000000000..a53c965fb0 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreArtifactID(unittest.TestCase): + """CoreArtifactID unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreArtifactID(self): + """Test CoreArtifactID""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_artifact_id.CoreArtifactID() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py new file mode 100644 index 0000000000..72ed469119 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_artifact_key import CoreArtifactKey # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreArtifactKey(unittest.TestCase): + """CoreArtifactKey unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreArtifactKey(self): + """Test CoreArtifactKey""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_artifact_key.CoreArtifactKey() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py new file mode 100644 index 0000000000..9edf91e3ba --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_artifact_query import CoreArtifactQuery # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreArtifactQuery(unittest.TestCase): + """CoreArtifactQuery unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreArtifactQuery(self): + """Test CoreArtifactQuery""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_artifact_query.CoreArtifactQuery() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py new file mode 100644 index 0000000000..fbc9f058d2 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_artifact_tag import CoreArtifactTag # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreArtifactTag(unittest.TestCase): + """CoreArtifactTag unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreArtifactTag(self): + """Test CoreArtifactTag""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_artifact_tag.CoreArtifactTag() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py new file mode 100644 index 0000000000..2afb623d9a --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_input_binding_data import CoreInputBindingData # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreInputBindingData(unittest.TestCase): + """CoreInputBindingData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreInputBindingData(self): + """Test CoreInputBindingData""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_input_binding_data.CoreInputBindingData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py new file mode 100644 index 0000000000..505dba75e2 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_label_value import CoreLabelValue # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreLabelValue(unittest.TestCase): + """CoreLabelValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreLabelValue(self): + """Test CoreLabelValue""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_label_value.CoreLabelValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py new file mode 100644 index 0000000000..b79cf8551e --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_partitions import CorePartitions # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCorePartitions(unittest.TestCase): + """CorePartitions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCorePartitions(self): + """Test CorePartitions""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_partitions.CorePartitions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py new file mode 100644 index 0000000000..8e201fcf46 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.protobuf_any import ProtobufAny # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestProtobufAny(unittest.TestCase): + """ProtobufAny unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProtobufAny(self): + """Test ProtobufAny""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.protobuf_any.ProtobufAny() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_rust/flyteidl.admin.rs b/flyteidl/gen/pb_rust/flyteidl.admin.rs index 759983a507..ceb373303b 100644 --- a/flyteidl/gen/pb_rust/flyteidl.admin.rs +++ b/flyteidl/gen/pb_rust/flyteidl.admin.rs @@ -1029,6 +1029,10 @@ pub struct ExecutionMetadata { /// In this the future this may be gated behind an ACL or some sort of authorization. #[prost(message, optional, tag="17")] pub system_metadata: ::core::option::Option, + /// Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping + /// since we don't have a structure to handle nested ones anyways. + #[prost(message, repeated, tag="18")] + pub artifact_ids: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ExecutionMetadata`. pub mod execution_metadata { @@ -1523,6 +1527,9 @@ pub struct LaunchPlanMetadata { /// List of notifications based on Execution status transitions #[prost(message, repeated, tag="2")] pub notifications: ::prost::alloc::vec::Vec, + /// Additional metadata for how to launch the launch plan + #[prost(message, optional, tag="3")] + pub launch_conditions: ::core::option::Option<::prost_types::Any>, } /// Request to set the referenced launch plan state to the configured value. /// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details diff --git a/flyteidl/gen/pb_rust/flyteidl.artifact.rs b/flyteidl/gen/pb_rust/flyteidl.artifact.rs new file mode 100644 index 0000000000..e2d65967b9 --- /dev/null +++ b/flyteidl/gen/pb_rust/flyteidl.artifact.rs @@ -0,0 +1,177 @@ +// @generated +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Artifact { + #[prost(message, optional, tag="1")] + pub artifact_id: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub spec: ::core::option::Option, + /// references the tag field in ArtifactTag + #[prost(string, repeated, tag="3")] + pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateArtifactRequest { + /// Specify just project/domain on creation + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, + #[prost(string, tag="3")] + pub version: ::prost::alloc::string::String, + #[prost(message, optional, tag="2")] + pub spec: ::core::option::Option, + #[prost(map="string, string", tag="4")] + pub partitions: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, + #[prost(string, tag="5")] + pub tag: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactSpec { + #[prost(message, optional, tag="1")] + pub value: ::core::option::Option, + /// This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but + /// forgets to change the name, that is okay. And the reason why this is a separate field is because adding the + /// type to all Literals is a lot of work. + #[prost(message, optional, tag="2")] + pub r#type: ::core::option::Option, + /// Outputs of tasks will have this. + #[prost(message, optional, tag="5")] + pub task_execution: ::core::option::Option, + /// Workflow outputs will have this. + #[prost(message, optional, tag="6")] + pub execution: ::core::option::Option, + /// Uploads, either from the UI or from the CLI, or FlyteRemote, will have this. + #[prost(string, tag="7")] + pub principal: ::prost::alloc::string::String, + #[prost(string, tag="8")] + pub short_description: ::prost::alloc::string::String, + #[prost(string, tag="9")] + pub long_description: ::prost::alloc::string::String, + /// Additional user metadata + #[prost(message, optional, tag="10")] + pub user_metadata: ::core::option::Option<::prost_types::Any>, + #[prost(string, tag="11")] + pub metadata_type: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateArtifactResponse { + #[prost(message, optional, tag="1")] + pub artifact: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct GetArtifactRequest { + #[prost(message, optional, tag="1")] + pub query: ::core::option::Option, + /// If false, then long_description is not returned. + #[prost(bool, tag="2")] + pub details: bool, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct GetArtifactResponse { + #[prost(message, optional, tag="1")] + pub artifact: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ListArtifactNamesRequest { + #[prost(string, tag="1")] + pub project: ::prost::alloc::string::String, + #[prost(string, tag="2")] + pub domain: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ListArtifactNamesResponse { + #[prost(message, repeated, tag="1")] + pub artifact_keys: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ListArtifactsRequest { + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ListArtifactsResponse { + #[prost(message, repeated, tag="1")] + pub artifacts: ::prost::alloc::vec::Vec, +} +/// Aliases identify a particular version of an artifact. They are different than tags in that they +/// have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind, +/// at most one version can have any given value at any point. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AddTagRequest { + #[prost(message, optional, tag="1")] + pub artifact_id: ::core::option::Option, + #[prost(string, tag="2")] + pub value: ::prost::alloc::string::String, + /// If true, and another version already has the specified kind/value, set this version instead + #[prost(bool, tag="3")] + pub overwrite: bool, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AddTagResponse { +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateTriggerRequest { + #[prost(message, optional, tag="1")] + pub trigger_launch_plan: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateTriggerResponse { +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct DeleteTriggerRequest { + #[prost(message, optional, tag="1")] + pub trigger_id: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct DeleteTriggerResponse { +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactProducer { + /// These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in + /// Admin's domain. + #[prost(message, optional, tag="1")] + pub entity_id: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub outputs: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct RegisterProducerRequest { + #[prost(message, repeated, tag="1")] + pub producers: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactConsumer { + /// These should all be launch plan IDs + #[prost(message, optional, tag="1")] + pub entity_id: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub inputs: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct RegisterConsumerRequest { + #[prost(message, repeated, tag="1")] + pub consumers: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct RegisterResponse { +} +// @@protoc_insertion_point(module) diff --git a/flyteidl/gen/pb_rust/flyteidl.core.rs b/flyteidl/gen/pb_rust/flyteidl.core.rs index e3328f81d3..e0080f6dd5 100644 --- a/flyteidl/gen/pb_rust/flyteidl.core.rs +++ b/flyteidl/gen/pb_rust/flyteidl.core.rs @@ -478,6 +478,9 @@ pub struct Literal { /// () #[prost(string, tag="4")] pub hash: ::prost::alloc::string::String, + /// Additional metadata for literals. + #[prost(map="string, string", tag="5")] + pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, #[prost(oneof="literal::Value", tags="1, 2, 3")] pub value: ::core::option::Option, } @@ -697,6 +700,138 @@ impl ResourceType { } } } +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactKey { + /// Project and domain and suffix needs to be unique across a given artifact store. + #[prost(string, tag="1")] + pub project: ::prost::alloc::string::String, + #[prost(string, tag="2")] + pub domain: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub name: ::prost::alloc::string::String, +} +/// Only valid for triggers +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactBindingData { + #[prost(uint32, tag="1")] + pub index: u32, + /// These two fields are only relevant in the partition value case + #[prost(string, tag="2")] + pub partition_key: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub transform: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct InputBindingData { + #[prost(string, tag="1")] + pub var: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct LabelValue { + #[prost(oneof="label_value::Value", tags="1, 2, 3")] + pub value: ::core::option::Option, +} +/// Nested message and enum types in `LabelValue`. +pub mod label_value { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Value { + #[prost(string, tag="1")] + StaticValue(::prost::alloc::string::String), + #[prost(message, tag="2")] + TriggeredBinding(super::ArtifactBindingData), + #[prost(message, tag="3")] + InputBinding(super::InputBindingData), + } +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Partitions { + #[prost(map="string, message", tag="1")] + pub value: ::std::collections::HashMap<::prost::alloc::string::String, LabelValue>, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactId { + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, + #[prost(string, tag="2")] + pub version: ::prost::alloc::string::String, + /// Think of a partition as a tag on an Artifact, except it's a key-value pair. + /// Different partitions naturally have different versions (execution ids). + /// This is a oneof because of partition querying... we need a way to distinguish between + /// a user not-specifying partitions when searching, and specifically searching for an Artifact + /// that is not partitioned (this can happen if an Artifact goes from partitioned to non- + /// partitioned across executions). + #[prost(oneof="artifact_id::Dimensions", tags="3")] + pub dimensions: ::core::option::Option, +} +/// Nested message and enum types in `ArtifactID`. +pub mod artifact_id { + /// Think of a partition as a tag on an Artifact, except it's a key-value pair. + /// Different partitions naturally have different versions (execution ids). + /// This is a oneof because of partition querying... we need a way to distinguish between + /// a user not-specifying partitions when searching, and specifically searching for an Artifact + /// that is not partitioned (this can happen if an Artifact goes from partitioned to non- + /// partitioned across executions). + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Dimensions { + #[prost(message, tag="3")] + Partitions(super::Partitions), + } +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactTag { + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub value: ::core::option::Option, +} +/// Uniqueness constraints for Artifacts +/// - project, domain, name, version, partitions +/// Option 2 (tags are standalone, point to an individual artifact id): +/// - project, domain, name, alias (points to one partition if partitioned) +/// - project, domain, name, partition key, partition value +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactQuery { + #[prost(oneof="artifact_query::Identifier", tags="1, 2, 3, 4")] + pub identifier: ::core::option::Option, +} +/// Nested message and enum types in `ArtifactQuery`. +pub mod artifact_query { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Identifier { + #[prost(message, tag="1")] + ArtifactId(super::ArtifactId), + #[prost(message, tag="2")] + ArtifactTag(super::ArtifactTag), + #[prost(string, tag="3")] + Uri(::prost::alloc::string::String), + /// This is used in the trigger case, where a user specifies a value for an input that is one of the triggering + /// artifacts, or a partition value derived from a triggering artifact. + #[prost(message, tag="4")] + Binding(super::ArtifactBindingData), + } +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Trigger { + /// This will be set to a launch plan type, but note that this is different than the actual launch plan type. + #[prost(message, optional, tag="1")] + pub trigger_id: ::core::option::Option, + /// These are partial artifact IDs that will be triggered on + /// Consider making these ArtifactQuery instead. + #[prost(message, repeated, tag="2")] + pub triggers: ::prost::alloc::vec::Vec, +} /// Defines a strongly typed variable. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -707,6 +842,12 @@ pub struct Variable { /// +optional string describing input variable #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, + /// +optional This object allows the user to specify how Artifacts are created. + /// name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. + #[prost(message, optional, tag="3")] + pub artifact_partial_id: ::core::option::Option, + #[prost(message, optional, tag="4")] + pub artifact_tag: ::core::option::Option, } /// A map of Variables #[allow(clippy::derive_partial_eq_without_eq)] @@ -734,7 +875,7 @@ pub struct Parameter { #[prost(message, optional, tag="1")] pub var: ::core::option::Option, /// +optional - #[prost(oneof="parameter::Behavior", tags="2, 3")] + #[prost(oneof="parameter::Behavior", tags="2, 3, 4, 5")] pub behavior: ::core::option::Option, } /// Nested message and enum types in `Parameter`. @@ -749,6 +890,12 @@ pub mod parameter { /// +optional, is this value required to be filled. #[prost(bool, tag="3")] Required(bool), + /// This is an execution time search basically that should result in exactly one Artifact with a Type that + /// matches the type of the variable. + #[prost(message, tag="4")] + ArtifactQuery(super::ArtifactQuery), + #[prost(message, tag="5")] + ArtifactId(super::ArtifactId), } } /// A map of Parameters. diff --git a/flyteidl/gen/pb_rust/flyteidl.event.rs b/flyteidl/gen/pb_rust/flyteidl.event.rs index 537167cc99..d0ed13d8af 100644 --- a/flyteidl/gen/pb_rust/flyteidl.event.rs +++ b/flyteidl/gen/pb_rust/flyteidl.event.rs @@ -385,4 +385,77 @@ pub mod task_execution_metadata { } } } +/// This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional +/// information that downstream consumers may find useful. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventWorkflowExecution { + #[prost(message, optional, tag="1")] + pub raw_event: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub output_data: ::core::option::Option, + #[prost(message, optional, tag="3")] + pub output_interface: ::core::option::Option, + #[prost(message, optional, tag="4")] + pub input_data: ::core::option::Option, + /// The following are ExecutionMetadata fields + /// We can't have the ExecutionMetadata object directly because of import cycle + #[prost(message, optional, tag="5")] + pub scheduled_at: ::core::option::Option<::prost_types::Timestamp>, + #[prost(message, repeated, tag="6")] + pub artifact_ids: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag="7")] + pub parent_node_execution: ::core::option::Option, + #[prost(message, optional, tag="8")] + pub reference_execution: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventNodeExecution { + #[prost(message, optional, tag="1")] + pub raw_event: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventTaskExecution { + #[prost(message, optional, tag="1")] + pub raw_event: ::core::option::Option, + /// Hydrated output + #[prost(message, optional, tag="2")] + pub output_data: ::core::option::Option, + /// The typed interface for the task that produced the event. + #[prost(message, optional, tag="3")] + pub output_interface: ::core::option::Option, + #[prost(message, optional, tag="4")] + pub input_data: ::core::option::Option, + /// The following are ExecutionMetadata fields + /// We can't have the ExecutionMetadata object directly because of import cycle + #[prost(message, optional, tag="5")] + pub scheduled_at: ::core::option::Option<::prost_types::Timestamp>, + #[prost(message, repeated, tag="6")] + pub artifact_ids: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag="7")] + pub parent_node_execution: ::core::option::Option, + #[prost(message, optional, tag="8")] + pub reference_execution: ::core::option::Option, +} +/// This event is to be sent by Admin after it creates an execution. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventExecutionStart { + /// The execution created. + #[prost(message, optional, tag="1")] + pub execution_id: ::core::option::Option, + /// The launch plan used. + #[prost(message, optional, tag="2")] + pub launch_plan_id: ::core::option::Option, + #[prost(message, optional, tag="3")] + pub workflow_id: ::core::option::Option, + /// Artifact IDs found + #[prost(message, repeated, tag="4")] + pub artifact_ids: ::prost::alloc::vec::Vec, + /// Artifact keys found. + #[prost(string, repeated, tag="5")] + pub artifact_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +} // @@protoc_insertion_point(module) diff --git a/flyteidl/gen/pb_rust/flyteidl.service.rs b/flyteidl/gen/pb_rust/flyteidl.service.rs index c427170333..c4db77d66b 100644 --- a/flyteidl/gen/pb_rust/flyteidl.service.rs +++ b/flyteidl/gen/pb_rust/flyteidl.service.rs @@ -85,6 +85,8 @@ pub struct CreateUploadLocationResponse { /// ExpiresAt defines when will the signed URL expires. #[prost(message, optional, tag="3")] pub expires_at: ::core::option::Option<::prost_types::Timestamp>, + #[prost(message, optional, tag="4")] + pub artifact: ::core::option::Option, } /// CreateUploadLocationRequest specified request for the CreateUploadLocation API. /// The implementation in data proxy service will create the s3 location with some server side configured prefixes, @@ -122,6 +124,9 @@ pub struct CreateUploadLocationRequest { /// +optional #[prost(string, tag="6")] pub filename_root: ::prost::alloc::string::String, + /// If provided, the Artifact that the upload creates will contain the information specified here. + #[prost(message, optional, tag="7")] + pub artifact_spec: ::core::option::Option, } /// CreateDownloadLocationRequest specified request for the CreateDownloadLocation API. #[allow(clippy::derive_partial_eq_without_eq)] @@ -208,13 +213,29 @@ pub struct GetDataRequest { /// e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) /// flyte://v1/proj/development/execid/n2/i (for node execution input) /// flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node) - #[prost(string, tag="1")] - pub flyte_url: ::prost::alloc::string::String, + #[prost(oneof="get_data_request::Query", tags="1, 2")] + pub query: ::core::option::Option, +} +/// Nested message and enum types in `GetDataRequest`. +pub mod get_data_request { + /// A unique identifier in the form of flyte:// that uniquely, for a given Flyte + /// backend, identifies a Flyte artifact (\[i\]nput, \[o\]output, flyte \[d\]eck, etc.). + /// e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) + /// flyte://v1/proj/development/execid/n2/i (for node execution input) + /// flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node) + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Query { + #[prost(string, tag="1")] + FlyteUrl(::prost::alloc::string::String), + #[prost(message, tag="2")] + ArtifactId(super::super::core::ArtifactId), + } } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataResponse { - #[prost(oneof="get_data_response::Data", tags="1, 2, 3")] + #[prost(oneof="get_data_response::Data", tags="1, 2, 3, 4")] pub data: ::core::option::Option, } /// Nested message and enum types in `GetDataResponse`. @@ -232,6 +253,8 @@ pub mod get_data_response { /// by name. See the o3 example above. #[prost(message, tag="3")] Literal(super::super::core::Literal), + #[prost(message, tag="4")] + Artifact(super::super::artifact::Artifact), } } /// ArtifactType diff --git a/flyteidl/generate_protos.sh b/flyteidl/generate_protos.sh index 02f75f1545..524330eb26 100755 --- a/flyteidl/generate_protos.sh +++ b/flyteidl/generate_protos.sh @@ -12,13 +12,14 @@ export LC_ALL=C.UTF-8 docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/service --with_gateway -l go --go_source_relative docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/admin --with_gateway -l go --go_source_relative --validate_out +docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/artifact --with_gateway -l go --go_source_relative --validate_out docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/core --with_gateway -l go --go_source_relative --validate_out docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/event --with_gateway -l go --go_source_relative --validate_out docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/plugins -l go --go_source_relative --validate_out docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/datacatalog -l go --go_source_relative --validate_out languages=("cpp" "java") -idlfolders=("service" "admin" "core" "event" "plugins" "datacatalog") +idlfolders=("service" "admin" "core" "event" "plugins" "datacatalog" "artifact") for lang in "${languages[@]}" do diff --git a/flyteidl/protos/flyteidl/admin/execution.proto b/flyteidl/protos/flyteidl/admin/execution.proto index ee33969a0c..7ddda0f233 100644 --- a/flyteidl/protos/flyteidl/admin/execution.proto +++ b/flyteidl/protos/flyteidl/admin/execution.proto @@ -7,6 +7,7 @@ import "flyteidl/admin/cluster_assignment.proto"; import "flyteidl/admin/common.proto"; import "flyteidl/core/literals.proto"; import "flyteidl/core/execution.proto"; +import "flyteidl/core/artifact_id.proto"; import "flyteidl/core/identifier.proto"; import "flyteidl/core/metrics.proto"; import "flyteidl/core/security.proto"; @@ -245,6 +246,10 @@ message ExecutionMetadata { // Optional, platform-specific metadata about the execution. // In this the future this may be gated behind an ACL or some sort of authorization. SystemMetadata system_metadata = 17; + + // Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping + // since we don't have a structure to handle nested ones anyways. + repeated core.ArtifactID artifact_ids = 18; } message NotificationList { @@ -316,6 +321,7 @@ message ExecutionSpec { // Environment variables to be set for the execution. Envs envs = 23; + // Tags to be set for the execution. repeated string tags = 24; } diff --git a/flyteidl/protos/flyteidl/admin/launch_plan.proto b/flyteidl/protos/flyteidl/admin/launch_plan.proto index c9bda4d252..252d926c5d 100644 --- a/flyteidl/protos/flyteidl/admin/launch_plan.proto +++ b/flyteidl/protos/flyteidl/admin/launch_plan.proto @@ -10,9 +10,11 @@ import "flyteidl/core/interface.proto"; import "flyteidl/core/security.proto"; import "flyteidl/admin/schedule.proto"; import "flyteidl/admin/common.proto"; +import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; + // Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required // to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to // set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. @@ -163,6 +165,9 @@ message LaunchPlanMetadata { // List of notifications based on Execution status transitions repeated Notification notifications = 2; + + // Additional metadata for how to launch the launch plan + google.protobuf.Any launch_conditions = 3; } // Request to set the referenced launch plan state to the configured value. diff --git a/flyteidl/protos/flyteidl/artifact/artifacts.proto b/flyteidl/protos/flyteidl/artifact/artifacts.proto new file mode 100644 index 0000000000..a0656ca289 --- /dev/null +++ b/flyteidl/protos/flyteidl/artifact/artifacts.proto @@ -0,0 +1,167 @@ +syntax = "proto3"; +package flyteidl.artifact; + +option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact"; + + +import "google/protobuf/any.proto"; + +import "flyteidl/admin/launch_plan.proto"; +import "flyteidl/core/literals.proto"; +import "flyteidl/core/types.proto"; +import "flyteidl/core/identifier.proto"; +import "flyteidl/core/artifact_id.proto"; +import "flyteidl/core/interface.proto"; + + +message Artifact { + core.ArtifactID artifact_id = 1; + + ArtifactSpec spec = 2; + + // references the tag field in ArtifactTag + repeated string tags = 3; +} + +message CreateArtifactRequest { + // Specify just project/domain on creation + core.ArtifactKey artifact_key = 1; + + string version = 3; + + ArtifactSpec spec = 2; + + map partitions = 4; + + string tag = 5; +} + +message ArtifactSpec { + core.Literal value = 1; + + // This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but + // forgets to change the name, that is okay. And the reason why this is a separate field is because adding the + // type to all Literals is a lot of work. + core.LiteralType type = 2; + + // Outputs of tasks will have this. + core.TaskExecutionIdentifier task_execution = 5; + + // Workflow outputs will have this. + core.WorkflowExecutionIdentifier execution = 6; + + // Uploads, either from the UI or from the CLI, or FlyteRemote, will have this. + string principal = 7; + + string short_description = 8; + string long_description = 9; + + // Additional user metadata + google.protobuf.Any user_metadata = 10; + + string metadata_type = 11; +} + + +message CreateArtifactResponse { + Artifact artifact = 1; +} + +message GetArtifactRequest { + core.ArtifactQuery query = 1; + + // If false, then long_description is not returned. + bool details = 2; +} + +message GetArtifactResponse { + Artifact artifact = 1; +} + +message ListArtifactNamesRequest { + string project = 1; + string domain = 2; +} + +message ListArtifactNamesResponse { + repeated core.ArtifactKey artifact_keys = 1; +} + +message ListArtifactsRequest { + core.ArtifactKey artifact_key = 1; +} + +message ListArtifactsResponse { + repeated Artifact artifacts = 1; +} + +// Aliases identify a particular version of an artifact. They are different than tags in that they +// have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind, +// at most one version can have any given value at any point. +message AddTagRequest { + core.ArtifactID artifact_id = 1; + + string value = 2; + + // If true, and another version already has the specified kind/value, set this version instead + bool overwrite = 3; +} + +message AddTagResponse {} + +message CreateTriggerRequest { + admin.LaunchPlan trigger_launch_plan = 1; +} + +message CreateTriggerResponse {} + +message DeleteTriggerRequest { + core.Identifier trigger_id = 1; +} + +message DeleteTriggerResponse {} + +message ArtifactProducer { + // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in + // Admin's domain. + core.Identifier entity_id = 1; + + core.VariableMap outputs = 2; +} + +message RegisterProducerRequest { + repeated ArtifactProducer producers = 1; +} + +message ArtifactConsumer { + // These should all be launch plan IDs + core.Identifier entity_id = 1; + + core.ParameterMap inputs = 2; +} + +message RegisterConsumerRequest { + repeated ArtifactConsumer consumers = 1; +} + +message RegisterResponse {} + +service ArtifactRegistry { + rpc CreateArtifact (CreateArtifactRequest) returns (CreateArtifactResponse) {} + + rpc GetArtifact (GetArtifactRequest) returns (GetArtifactResponse) {} + +// rpc ListArtifactNames (ListArtifactNamesRequest) returns (ListArtifactNamesResponse) {} +// +// rpc ListArtifacts (ListArtifactsRequest) returns (ListArtifactsResponse) {} + + rpc CreateTrigger (CreateTriggerRequest) returns (CreateTriggerResponse) {} + + rpc DeleteTrigger (DeleteTriggerRequest) returns (DeleteTriggerResponse) {} + + rpc AddTag(AddTagRequest) returns (AddTagResponse) {} + + rpc RegisterProducer(RegisterProducerRequest) returns (RegisterResponse) {} + + rpc RegisterConsumer(RegisterConsumerRequest) returns (RegisterResponse) {} +} diff --git a/flyteidl/protos/flyteidl/core/artifact_id.proto b/flyteidl/protos/flyteidl/core/artifact_id.proto new file mode 100644 index 0000000000..e7719cf010 --- /dev/null +++ b/flyteidl/protos/flyteidl/core/artifact_id.proto @@ -0,0 +1,87 @@ +syntax = "proto3"; + +package flyteidl.core; + +option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core"; + +import "flyteidl/core/identifier.proto"; + + +message ArtifactKey { + // Project and domain and suffix needs to be unique across a given artifact store. + string project = 1; + string domain = 2; + string name = 3; +} + +// Only valid for triggers +message ArtifactBindingData { + uint32 index = 1; + + // These two fields are only relevant in the partition value case + string partition_key = 2; + string transform = 3; +} + +message InputBindingData { + string var = 1; +} + +message LabelValue { + oneof value { + string static_value = 1; + ArtifactBindingData triggered_binding = 2; + InputBindingData input_binding = 3; + } +} +message Partitions { + map value = 1; +} + +message ArtifactID { + ArtifactKey artifact_key = 1; + + string version = 2; + + // Think of a partition as a tag on an Artifact, except it's a key-value pair. + // Different partitions naturally have different versions (execution ids). + // This is a oneof because of partition querying... we need a way to distinguish between + // a user not-specifying partitions when searching, and specifically searching for an Artifact + // that is not partitioned (this can happen if an Artifact goes from partitioned to non- + // partitioned across executions). + oneof dimensions { + Partitions partitions = 3; + } +} + +message ArtifactTag { + ArtifactKey artifact_key = 1; + + LabelValue value = 2; +} + +// Uniqueness constraints for Artifacts +// - project, domain, name, version, partitions +// Option 2 (tags are standalone, point to an individual artifact id): +// - project, domain, name, alias (points to one partition if partitioned) +// - project, domain, name, partition key, partition value +message ArtifactQuery { + oneof identifier { + ArtifactID artifact_id = 1; + ArtifactTag artifact_tag = 2; + string uri = 3; + + // This is used in the trigger case, where a user specifies a value for an input that is one of the triggering + // artifacts, or a partition value derived from a triggering artifact. + ArtifactBindingData binding = 4; + } +} + +message Trigger { + // This will be set to a launch plan type, but note that this is different than the actual launch plan type. + Identifier trigger_id = 1; + + // These are partial artifact IDs that will be triggered on + // Consider making these ArtifactQuery instead. + repeated core.ArtifactID triggers = 2; +} diff --git a/flyteidl/protos/flyteidl/core/interface.proto b/flyteidl/protos/flyteidl/core/interface.proto index cfd56fadf8..ec7673d9c4 100644 --- a/flyteidl/protos/flyteidl/core/interface.proto +++ b/flyteidl/protos/flyteidl/core/interface.proto @@ -6,6 +6,7 @@ option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" import "flyteidl/core/types.proto"; import "flyteidl/core/literals.proto"; +import "flyteidl/core/artifact_id.proto"; // Defines a strongly typed variable. message Variable { @@ -14,6 +15,12 @@ message Variable { //+optional string describing input variable string description = 2; + + //+optional This object allows the user to specify how Artifacts are created. + // name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. + core.ArtifactID artifact_partial_id = 3; + + core.ArtifactTag artifact_tag = 4; } // A map of Variables @@ -41,6 +48,12 @@ message Parameter { //+optional, is this value required to be filled. bool required = 3; + + // This is an execution time search basically that should result in exactly one Artifact with a Type that + // matches the type of the variable. + core.ArtifactQuery artifact_query = 4; + + core.ArtifactID artifact_id = 5; } } diff --git a/flyteidl/protos/flyteidl/core/literals.proto b/flyteidl/protos/flyteidl/core/literals.proto index 33ab9f45a2..f886873ffb 100644 --- a/flyteidl/protos/flyteidl/core/literals.proto +++ b/flyteidl/protos/flyteidl/core/literals.proto @@ -108,6 +108,9 @@ message Literal { // This is used for caching purposes. For more details refer to RFC 1893 // (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md) string hash = 4; + + // Additional metadata for literals. + map metadata = 5; } // A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. diff --git a/flyteidl/protos/flyteidl/event/cloudevents.proto b/flyteidl/protos/flyteidl/event/cloudevents.proto new file mode 100644 index 0000000000..eb354fe3dd --- /dev/null +++ b/flyteidl/protos/flyteidl/event/cloudevents.proto @@ -0,0 +1,72 @@ +syntax = "proto3"; + +package flyteidl.event; + +option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event"; + +import "flyteidl/event/event.proto"; +import "flyteidl/core/literals.proto"; +import "flyteidl/core/interface.proto"; +import "flyteidl/core/artifact_id.proto"; +import "flyteidl/core/identifier.proto"; +import "google/protobuf/timestamp.proto"; + +// This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional +// information that downstream consumers may find useful. +message CloudEventWorkflowExecution { + event.WorkflowExecutionEvent raw_event = 1; + + core.LiteralMap output_data = 2; + + core.TypedInterface output_interface = 3; + + core.LiteralMap input_data = 4; + + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + google.protobuf.Timestamp scheduled_at = 5; + repeated core.ArtifactID artifact_ids = 6; + core.NodeExecutionIdentifier parent_node_execution = 7; + core.WorkflowExecutionIdentifier reference_execution = 8; +} + + +message CloudEventNodeExecution { + event.NodeExecutionEvent raw_event = 1; +} + +message CloudEventTaskExecution { + event.TaskExecutionEvent raw_event = 1; + + // Hydrated output + core.LiteralMap output_data = 2; + + // The typed interface for the task that produced the event. + core.TypedInterface output_interface = 3; + + core.LiteralMap input_data = 4; + + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + google.protobuf.Timestamp scheduled_at = 5; + repeated core.ArtifactID artifact_ids = 6; + core.NodeExecutionIdentifier parent_node_execution = 7; + core.WorkflowExecutionIdentifier reference_execution = 8; + +} + +// This event is to be sent by Admin after it creates an execution. +message CloudEventExecutionStart { + // The execution created. + core.WorkflowExecutionIdentifier execution_id = 1; + // The launch plan used. + core.Identifier launch_plan_id = 2; + + core.Identifier workflow_id = 3; + + // Artifact IDs found + repeated core.ArtifactID artifact_ids = 4; + + // Artifact keys found. + repeated string artifact_keys = 5; +} diff --git a/flyteidl/protos/flyteidl/event/event.proto b/flyteidl/protos/flyteidl/event/event.proto index 4702adcd9c..3157620af1 100644 --- a/flyteidl/protos/flyteidl/event/event.proto +++ b/flyteidl/protos/flyteidl/event/event.proto @@ -12,6 +12,7 @@ import "flyteidl/core/catalog.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/struct.proto"; + message WorkflowExecutionEvent { // Workflow execution id core.WorkflowExecutionIdentifier execution_id = 1; diff --git a/flyteidl/protos/flyteidl/service/dataproxy.proto b/flyteidl/protos/flyteidl/service/dataproxy.proto index 8858e92db0..54d4fb9ce9 100644 --- a/flyteidl/protos/flyteidl/service/dataproxy.proto +++ b/flyteidl/protos/flyteidl/service/dataproxy.proto @@ -7,8 +7,10 @@ import "google/api/annotations.proto"; // import "protoc-gen-swagger/options/annotations.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; +import "flyteidl/core/artifact_id.proto"; import "flyteidl/core/identifier.proto"; import "flyteidl/core/literals.proto"; +import "flyteidl/artifact/artifacts.proto"; message CreateUploadLocationResponse { @@ -20,6 +22,8 @@ message CreateUploadLocationResponse { // ExpiresAt defines when will the signed URL expires. google.protobuf.Timestamp expires_at = 3; + + artifact.Artifact artifact = 4; } // CreateUploadLocationRequest specified request for the CreateUploadLocation API. @@ -55,6 +59,9 @@ message CreateUploadLocationRequest { // in data proxy config. This option is useful when uploading multiple files. // +optional string filename_root = 6; + + // If provided, the Artifact that the upload creates will contain the information specified here. + artifact.ArtifactSpec artifact_spec = 7; } // CreateDownloadLocationRequest specified request for the CreateDownloadLocation API. @@ -67,7 +74,6 @@ message CreateDownloadLocationRequest { // exceeds the platform allowed max. // +optional. The default value comes from a global config. google.protobuf.Duration expires_in = 2; - } message CreateDownloadLocationResponse { @@ -133,7 +139,10 @@ message GetDataRequest { // e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) // flyte://v1/proj/development/execid/n2/i (for node execution input) // flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node) - string flyte_url = 1; + oneof query { + string flyte_url = 1; + core.ArtifactID artifact_id = 2; + } } message GetDataResponse { @@ -147,6 +156,8 @@ message GetDataResponse { // Single literal will be returned. This is returned when the user/url requests a specific output or input // by name. See the o3 example above. core.Literal literal = 3; + + artifact.Artifact artifact = 4; } }