diff --git a/flyteadmin/pkg/executioncluster/execution_target.go b/flyteadmin/pkg/executioncluster/execution_target.go index 9691e12afb..78667ed62c 100644 --- a/flyteadmin/pkg/executioncluster/execution_target.go +++ b/flyteadmin/pkg/executioncluster/execution_target.go @@ -5,18 +5,20 @@ import ( restclient "k8s.io/client-go/rest" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" flyteclient "github.com/flyteorg/flyte/flytepropeller/pkg/client/clientset/versioned" "github.com/flyteorg/flyte/flytestdlib/random" ) // Spec to determine the execution target type ExecutionTargetSpec struct { - TargetID string - ExecutionID string - Project string - Domain string - Workflow string - LaunchPlan string + TargetID string + ExecutionID string + Project string + Domain string + Workflow string + LaunchPlan string + ExecutionClusterLabel *admin.ExecutionClusterLabel } // Client object of the target execution cluster diff --git a/flyteadmin/pkg/executioncluster/impl/in_cluster.go b/flyteadmin/pkg/executioncluster/impl/in_cluster.go index fb42178dec..f06d1c4adf 100644 --- a/flyteadmin/pkg/executioncluster/impl/in_cluster.go +++ b/flyteadmin/pkg/executioncluster/impl/in_cluster.go @@ -26,6 +26,9 @@ func (i InCluster) GetTarget(ctx context.Context, spec *executioncluster.Executi if spec != nil && !(spec.TargetID == "" || spec.TargetID == defaultInClusterTargetID) { return nil, errors.New(fmt.Sprintf("remote target %s is not supported", spec.TargetID)) } + if spec != nil && spec.ExecutionClusterLabel != nil && spec.ExecutionClusterLabel.Value != "" { + return nil, errors.New(fmt.Sprintf("execution cluster label %s is not supported", spec.ExecutionClusterLabel.Value)) + } return &i.target, nil } diff --git a/flyteadmin/pkg/executioncluster/impl/in_cluster_test.go b/flyteadmin/pkg/executioncluster/impl/in_cluster_test.go index e31cb8ad11..a02d735e46 100644 --- a/flyteadmin/pkg/executioncluster/impl/in_cluster_test.go +++ b/flyteadmin/pkg/executioncluster/impl/in_cluster_test.go @@ -7,6 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/flyteorg/flyte/flyteadmin/pkg/executioncluster" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" ) func TestInClusterGetTarget(t *testing.T) { @@ -52,6 +53,16 @@ func TestInClusterGetRemoteTarget(t *testing.T) { assert.EqualError(t, err, "remote target t1 is not supported") } +func TestInClusterGetTargetWithExecutionClusterLabel(t *testing.T) { + cluster := InCluster{ + target: executioncluster.ExecutionTarget{}, + } + _, err := cluster.GetTarget(context.Background(), &executioncluster.ExecutionTargetSpec{ExecutionClusterLabel: &admin.ExecutionClusterLabel{ + Value: "l1", + }}) + assert.EqualError(t, err, "execution cluster label l1 is not supported") +} + func TestInClusterGetAllValidTargets(t *testing.T) { target := &executioncluster.ExecutionTarget{ Enabled: true, diff --git a/flyteadmin/pkg/executioncluster/impl/random_cluster_selector.go b/flyteadmin/pkg/executioncluster/impl/random_cluster_selector.go index 74dad42ce0..35340d3822 100644 --- a/flyteadmin/pkg/executioncluster/impl/random_cluster_selector.go +++ b/flyteadmin/pkg/executioncluster/impl/random_cluster_selector.go @@ -93,21 +93,31 @@ func (s RandomClusterSelector) GetTarget(ctx context.Context, spec *executionclu } return nil, fmt.Errorf("invalid cluster target %s", spec.TargetID) } - resource, err := s.resourceManager.GetResource(ctx, managerInterfaces.ResourceRequest{ - Project: spec.Project, - Domain: spec.Domain, - Workflow: spec.Workflow, - LaunchPlan: spec.LaunchPlan, - ResourceType: admin.MatchableResource_EXECUTION_CLUSTER_LABEL, - }) - if err != nil && !errors.IsDoesNotExistError(err) { - return nil, err - } var weightedRandomList random.WeightedRandomList - if resource != nil && resource.Attributes.GetExecutionClusterLabel() != nil { - label := resource.Attributes.GetExecutionClusterLabel().Value + var label string + + if spec.ExecutionClusterLabel != nil && spec.ExecutionClusterLabel.Value != "" { + label = spec.ExecutionClusterLabel.Value + logger.Debugf(ctx, "Using execution cluster label %s", label) + } else { + resource, err := s.resourceManager.GetResource(ctx, managerInterfaces.ResourceRequest{ + Project: spec.Project, + Domain: spec.Domain, + Workflow: spec.Workflow, + LaunchPlan: spec.LaunchPlan, + ResourceType: admin.MatchableResource_EXECUTION_CLUSTER_LABEL, + }) + if err != nil && !errors.IsDoesNotExistError(err) { + return nil, err + } + if resource != nil && resource.Attributes.GetExecutionClusterLabel() != nil { + label = resource.Attributes.GetExecutionClusterLabel().Value + } + } + + if label != "" { if _, ok := s.labelWeightedRandomMap[label]; ok { weightedRandomList = s.labelWeightedRandomMap[label] } else { diff --git a/flyteadmin/pkg/executioncluster/impl/random_cluster_selector_test.go b/flyteadmin/pkg/executioncluster/impl/random_cluster_selector_test.go index 0564a05447..955d740100 100644 --- a/flyteadmin/pkg/executioncluster/impl/random_cluster_selector_test.go +++ b/flyteadmin/pkg/executioncluster/impl/random_cluster_selector_test.go @@ -307,3 +307,35 @@ func TestRandomClusterSelectorGetTargetWithFallbackToDefault3(t *testing.T) { assert.Equal(t, testCluster1, target.ID) assert.True(t, target.Enabled) } + +func TestRandomClusterSelectorGetTargetWithExecutionClusterLabelClusterAssignmentOne(t *testing.T) { + cluster := getRandomClusterSelectorWithDefaultLabelForTest(t, clusterConfig2WithDefaultLabel) + target, err := cluster.GetTarget(context.Background(), &executioncluster.ExecutionTargetSpec{ + Project: testProject, + Domain: "different", + Workflow: testWorkflow, + ExecutionID: "e3", + ExecutionClusterLabel: &admin.ExecutionClusterLabel{ + Value: "one", + }, + }) + assert.Nil(t, err) + assert.Equal(t, "testcluster1", target.ID) + assert.True(t, target.Enabled) +} + +func TestRandomClusterSelectorGetTargetWithExecutionClusterLabelClusterAssignmentThree(t *testing.T) { + cluster := getRandomClusterSelectorWithDefaultLabelForTest(t, clusterConfig2WithDefaultLabel) + target, err := cluster.GetTarget(context.Background(), &executioncluster.ExecutionTargetSpec{ + Project: testProject, + Domain: "different", + Workflow: testWorkflow, + ExecutionID: "e3", + ExecutionClusterLabel: &admin.ExecutionClusterLabel{ + Value: "three", + }, + }) + assert.Nil(t, err) + assert.Equal(t, "testcluster3", target.ID) + assert.True(t, target.Enabled) +} diff --git a/flyteadmin/pkg/manager/impl/execution_manager.go b/flyteadmin/pkg/manager/impl/execution_manager.go index 16a36f895f..e3fd87ba71 100644 --- a/flyteadmin/pkg/manager/impl/execution_manager.go +++ b/flyteadmin/pkg/manager/impl/execution_manager.go @@ -547,17 +547,22 @@ func (m *ExecutionManager) launchSingleTaskExecution( return nil, nil, err } + var executionClusterLabel *admin.ExecutionClusterLabel + if requestSpec.ExecutionClusterLabel != nil { + executionClusterLabel = requestSpec.ExecutionClusterLabel + } executionParameters := workflowengineInterfaces.ExecutionParameters{ - Inputs: executionInputs, - AcceptedAt: requestedAt, - Labels: labels, - Annotations: annotations, - ExecutionConfig: executionConfig, - TaskResources: &platformTaskResources, - EventVersion: m.config.ApplicationConfiguration().GetTopLevelConfig().EventVersion, - RoleNameKey: m.config.ApplicationConfiguration().GetTopLevelConfig().RoleNameKey, - RawOutputDataConfig: rawOutputDataConfig, - ClusterAssignment: clusterAssignment, + Inputs: executionInputs, + AcceptedAt: requestedAt, + Labels: labels, + Annotations: annotations, + ExecutionConfig: executionConfig, + TaskResources: &platformTaskResources, + EventVersion: m.config.ApplicationConfiguration().GetTopLevelConfig().EventVersion, + RoleNameKey: m.config.ApplicationConfiguration().GetTopLevelConfig().RoleNameKey, + RawOutputDataConfig: rawOutputDataConfig, + ClusterAssignment: clusterAssignment, + ExecutionClusterLabel: executionClusterLabel, } overrides, err := m.addPluginOverrides(ctx, &workflowExecutionID, workflowExecutionID.Name, "") @@ -947,17 +952,23 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( return nil, nil, err } + var executionClusterLabel *admin.ExecutionClusterLabel + if requestSpec.ExecutionClusterLabel != nil { + executionClusterLabel = requestSpec.ExecutionClusterLabel + } + executionParameters := workflowengineInterfaces.ExecutionParameters{ - Inputs: executionInputs, - AcceptedAt: requestedAt, - Labels: labels, - Annotations: annotations, - ExecutionConfig: executionConfig, - TaskResources: &platformTaskResources, - EventVersion: m.config.ApplicationConfiguration().GetTopLevelConfig().EventVersion, - RoleNameKey: m.config.ApplicationConfiguration().GetTopLevelConfig().RoleNameKey, - RawOutputDataConfig: rawOutputDataConfig, - ClusterAssignment: clusterAssignment, + Inputs: executionInputs, + AcceptedAt: requestedAt, + Labels: labels, + Annotations: annotations, + ExecutionConfig: executionConfig, + TaskResources: &platformTaskResources, + EventVersion: m.config.ApplicationConfiguration().GetTopLevelConfig().EventVersion, + RoleNameKey: m.config.ApplicationConfiguration().GetTopLevelConfig().RoleNameKey, + RawOutputDataConfig: rawOutputDataConfig, + ClusterAssignment: clusterAssignment, + ExecutionClusterLabel: executionClusterLabel, } overrides, err := m.addPluginOverrides(ctx, &workflowExecutionID, launchPlan.GetSpec().WorkflowId.Name, launchPlan.Id.Name) diff --git a/flyteadmin/pkg/manager/impl/execution_manager_test.go b/flyteadmin/pkg/manager/impl/execution_manager_test.go index d6a05cc214..52ff607725 100644 --- a/flyteadmin/pkg/manager/impl/execution_manager_test.go +++ b/flyteadmin/pkg/manager/impl/execution_manager_test.go @@ -54,8 +54,9 @@ import ( ) const ( - principal = "principal" - rawOutput = "raw_output" + principal = "principal" + rawOutput = "raw_output" + executionClusterLabel = "execution_cluster_label" ) var spec = testutils.GetExecutionRequest().Spec @@ -383,6 +384,7 @@ func TestCreateExecution(t *testing.T) { } request.Spec.RawOutputDataConfig = &admin.RawOutputDataConfig{OutputLocationPrefix: rawOutput} request.Spec.ClusterAssignment = &clusterAssignment + request.Spec.ExecutionClusterLabel = &admin.ExecutionClusterLabel{Value: executionClusterLabel} identity, err := auth.NewIdentityContext("", principal, "", time.Now(), sets.NewString(), nil, nil) assert.NoError(t, err) diff --git a/flyteadmin/pkg/server/service.go b/flyteadmin/pkg/server/service.go index 3a2eff220d..ff80c343d3 100644 --- a/flyteadmin/pkg/server/service.go +++ b/flyteadmin/pkg/server/service.go @@ -4,7 +4,6 @@ import ( "context" "crypto/tls" "fmt" - "google.golang.org/protobuf/encoding/protojson" "net" "net/http" "strings" @@ -24,6 +23,7 @@ import ( "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/metadata" "google.golang.org/grpc/reflection" + "google.golang.org/protobuf/encoding/protojson" "k8s.io/apimachinery/pkg/util/rand" "github.com/flyteorg/flyte/flyteadmin/auth" diff --git a/flyteadmin/pkg/workflowengine/impl/k8s_executor.go b/flyteadmin/pkg/workflowengine/impl/k8s_executor.go index a141b14de9..f90051fabe 100644 --- a/flyteadmin/pkg/workflowengine/impl/k8s_executor.go +++ b/flyteadmin/pkg/workflowengine/impl/k8s_executor.go @@ -56,11 +56,12 @@ func (e K8sWorkflowExecutor) Execute(ctx context.Context, data interfaces.Execut } executionTargetSpec := executioncluster.ExecutionTargetSpec{ - Project: data.ExecutionID.Project, - Domain: data.ExecutionID.Domain, - Workflow: data.ReferenceWorkflowName, - LaunchPlan: data.ReferenceWorkflowName, - ExecutionID: data.ExecutionID.Name, + Project: data.ExecutionID.Project, + Domain: data.ExecutionID.Domain, + Workflow: data.ReferenceWorkflowName, + LaunchPlan: data.ReferenceWorkflowName, + ExecutionID: data.ExecutionID.Name, + ExecutionClusterLabel: data.ExecutionParameters.ExecutionClusterLabel, } targetCluster, err := e.executionCluster.GetTarget(ctx, &executionTargetSpec) if err != nil { diff --git a/flyteadmin/pkg/workflowengine/interfaces/executor.go b/flyteadmin/pkg/workflowengine/interfaces/executor.go index 726423c333..181986c2c3 100644 --- a/flyteadmin/pkg/workflowengine/interfaces/executor.go +++ b/flyteadmin/pkg/workflowengine/interfaces/executor.go @@ -18,18 +18,19 @@ type TaskResources struct { } type ExecutionParameters struct { - Inputs *core.LiteralMap - AcceptedAt time.Time - Labels map[string]string - Annotations map[string]string - TaskPluginOverrides []*admin.PluginOverride - ExecutionConfig *admin.WorkflowExecutionConfig - RecoveryExecution *core.WorkflowExecutionIdentifier - TaskResources *TaskResources - EventVersion int - RoleNameKey string - RawOutputDataConfig *admin.RawOutputDataConfig - ClusterAssignment *admin.ClusterAssignment + Inputs *core.LiteralMap + AcceptedAt time.Time + Labels map[string]string + Annotations map[string]string + TaskPluginOverrides []*admin.PluginOverride + ExecutionConfig *admin.WorkflowExecutionConfig + RecoveryExecution *core.WorkflowExecutionIdentifier + TaskResources *TaskResources + EventVersion int + RoleNameKey string + RawOutputDataConfig *admin.RawOutputDataConfig + ClusterAssignment *admin.ClusterAssignment + ExecutionClusterLabel *admin.ExecutionClusterLabel } // ExecutionData includes all parameters required to create an execution CRD object. diff --git a/flyteadmin/tests/project_test.go b/flyteadmin/tests/project_test.go index daf3c792f7..0534ca1f3a 100644 --- a/flyteadmin/tests/project_test.go +++ b/flyteadmin/tests/project_test.go @@ -5,13 +5,13 @@ package tests import ( "context" - "github.com/flyteorg/flyte/flytestdlib/utils" "testing" "github.com/stretchr/testify/assert" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/utils" ) func TestCreateProject(t *testing.T) { diff --git a/flyteidl/clients/go/assets/admin.swagger.json b/flyteidl/clients/go/assets/admin.swagger.json index 226588a131..dcbfa5ce37 100644 --- a/flyteidl/clients/go/assets/admin.swagger.json +++ b/flyteidl/clients/go/assets/admin.swagger.json @@ -5016,6 +5016,10 @@ "type": "string" }, "description": "Tags to be set for the execution." + }, + "execution_cluster_label": { + "$ref": "#/definitions/adminExecutionClusterLabel", + "description": "Execution cluster label to be set for the execution." } }, "description": "An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime\nof an execution as it progresses across phase changes." diff --git a/flyteidl/gen/pb-es/flyteidl/admin/execution_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/execution_pb.ts index bce98af489..185455bcb5 100644 --- a/flyteidl/gen/pb-es/flyteidl/admin/execution_pb.ts +++ b/flyteidl/gen/pb-es/flyteidl/admin/execution_pb.ts @@ -12,6 +12,7 @@ import { Annotations, AuthRole, Envs, Labels, Notification, RawOutputDataConfig, import { ArtifactID } from "../core/artifact_id_pb.js"; import { SecurityContext } from "../core/security_pb.js"; import { ClusterAssignment } from "./cluster_assignment_pb.js"; +import { ExecutionClusterLabel } from "./matchable_resource_pb.js"; import { Span } from "../core/metrics_pb.js"; /** @@ -1115,6 +1116,13 @@ export class ExecutionSpec extends Message { */ tags: string[] = []; + /** + * Execution cluster label to be set for the execution. + * + * @generated from field: flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 25; + */ + executionClusterLabel?: ExecutionClusterLabel; + constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); @@ -1140,6 +1148,7 @@ export class ExecutionSpec extends Message { { no: 22, name: "overwrite_cache", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 23, name: "envs", kind: "message", T: Envs }, { no: 24, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 25, name: "execution_cluster_label", kind: "message", T: ExecutionClusterLabel }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionSpec { diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go index e288f658ad..3fe65e1b88 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go @@ -1267,6 +1267,8 @@ type ExecutionSpec struct { Envs *Envs `protobuf:"bytes,23,opt,name=envs,proto3" json:"envs,omitempty"` // Tags to be set for the execution. Tags []string `protobuf:"bytes,24,rep,name=tags,proto3" json:"tags,omitempty"` + // Execution cluster label to be set for the execution. + ExecutionClusterLabel *ExecutionClusterLabel `protobuf:"bytes,25,opt,name=execution_cluster_label,json=executionClusterLabel,proto3" json:"execution_cluster_label,omitempty"` } func (x *ExecutionSpec) Reset() { @@ -1429,6 +1431,13 @@ func (x *ExecutionSpec) GetTags() []string { return nil } +func (x *ExecutionSpec) GetExecutionClusterLabel() *ExecutionClusterLabel { + if x != nil { + return x.ExecutionClusterLabel + } + return nil +} + type isExecutionSpec_NotificationOverrides interface { isExecutionSpec_NotificationOverrides() } @@ -1980,337 +1989,345 @@ var file_flyteidl_admin_execution_proto_rawDesc = []byte{ 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0xd6, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, - 0x73, 0x70, 0x65, 0x63, 0x12, 0x31, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, - 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, - 0x69, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4a, - 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xa8, 0x01, 0x0a, 0x17, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x22, 0x55, 0x0a, 0x17, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0x59, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, - 0x69, 0x64, 0x22, 0xb6, 0x01, 0x0a, 0x09, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x04, - 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, - 0x3a, 0x0a, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, - 0x72, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x22, 0x60, 0x0a, 0x0d, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0a, - 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, - 0x0e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x6c, 0x6f, 0x62, 0x12, - 0x37, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, - 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x42, 0x06, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x43, 0x0a, 0x0d, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, - 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0x98, 0x07, 0x0a, 0x10, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x3e, - 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x6c, 0x6f, 0x62, 0x42, - 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x35, - 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0b, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x63, - 0x61, 0x75, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, - 0x52, 0x0a, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0e, - 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, - 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, - 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, - 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, - 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, - 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, - 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x42, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, - 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, - 0x12, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5b, 0x0a, 0x0e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x22, 0x85, 0x05, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, - 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x64, 0x41, 0x74, 0x12, 0x5a, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, - 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x13, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x5b, 0x0a, 0x13, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0f, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, - 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, - 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x49, 0x64, 0x73, 0x22, 0x74, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x00, - 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, - 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, - 0x45, 0x4c, 0x41, 0x55, 0x4e, 0x43, 0x48, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x48, 0x49, - 0x4c, 0x44, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x0d, 0x0a, - 0x09, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, - 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x10, 0x06, 0x22, 0x56, 0x0a, 0x10, 0x4e, 0x6f, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x42, 0x0a, - 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0x90, 0x08, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x70, 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x0b, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, - 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, - 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x52, 0x0a, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x12, - 0x35, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, - 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x16, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x48, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, - 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, - 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x21, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, - 0x6c, 0x6c, 0x12, 0x2e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x49, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, - 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x75, - 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x39, 0x0a, 0x09, - 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x61, - 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x71, 0x75, 0x61, 0x6c, 0x69, - 0x74, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x10, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, - 0x58, 0x0a, 0x16, 0x72, 0x61, 0x77, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, - 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x52, 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13, 0x72, 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, - 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x12, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, - 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, - 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, - 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x17, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, - 0x74, 0x61, 0x67, 0x73, 0x42, 0x18, 0x0a, 0x16, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x4a, 0x04, - 0x08, 0x04, 0x10, 0x05, 0x22, 0x6d, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, - 0x75, 0x73, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x5d, 0x0a, 0x1f, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x31, 0x0a, + 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, + 0x72, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, + 0x69, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xa8, + 0x01, 0x0a, 0x17, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x55, 0x0a, 0x17, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x88, 0x02, 0x0a, 0x20, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x06, - 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, - 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, - 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, - 0x70, 0x52, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, - 0x0c, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0b, - 0x66, 0x75, 0x6c, 0x6c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x16, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x34, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x65, + 0x22, 0x59, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0xb6, 0x01, 0x0a, 0x09, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, + 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x6c, 0x6f, 0x73, + 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x6f, + 0x73, 0x75, 0x72, 0x65, 0x22, 0x60, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x0e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x37, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x03, 0x75, 0x72, 0x69, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x43, 0x0a, + 0x0d, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, + 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, + 0x61, 0x75, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, + 0x61, 0x6c, 0x22, 0x98, 0x07, 0x0a, 0x10, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x07, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, + 0x0a, 0x0b, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x62, 0x6f, 0x72, 0x74, + 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0e, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, + 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0d, + 0x61, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, + 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, + 0x01, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x46, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, + 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, + 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x42, 0x0a, + 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x5d, 0x0a, + 0x14, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, - 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, + 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x12, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x0f, 0x0a, 0x0d, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5b, 0x0a, + 0x0e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x85, 0x05, 0x0a, 0x11, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x43, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, + 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, + 0x70, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x3d, 0x0a, + 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, - 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, 0x22, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x22, 0x4e, 0x0a, 0x23, + 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, 0x5a, 0x0a, 0x15, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x13, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, + 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x12, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x52, + 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x73, 0x22, 0x74, 0x0a, 0x0d, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, + 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, + 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, + 0x45, 0x4d, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4c, 0x41, 0x55, 0x4e, 0x43, 0x48, + 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, 0x57, 0x4f, 0x52, 0x4b, + 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, + 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, + 0x10, 0x06, 0x22, 0x56, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xef, 0x08, 0x0a, 0x0d, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x0b, + 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x6c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, + 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x48, + 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, + 0x0a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x6c, 0x12, 0x2e, 0x0a, 0x06, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x6f, + 0x6c, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x6f, + 0x6c, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, + 0x12, 0x4d, 0x0a, 0x12, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, + 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x10, 0x71, + 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, + 0x73, 0x6d, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x58, 0x0a, 0x16, 0x72, 0x61, 0x77, 0x5f, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x61, 0x77, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13, 0x72, + 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x50, 0x0a, 0x12, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x11, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, + 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, + 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, + 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, + 0x69, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, + 0x28, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, + 0x6e, 0x76, 0x73, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x5d, 0x0a, + 0x17, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x15, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x42, 0x18, 0x0a, 0x16, + 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x76, 0x65, + 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x6d, 0x0a, 0x19, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x0a, 0x1f, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0x88, 0x02, 0x0a, 0x20, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, + 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x66, 0x75, 0x6c, + 0x6c, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, + 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x49, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x22, 0xae, 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x12, 0x34, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, + 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, 0x22, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x2a, 0x3e, 0x0a, 0x0e, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, - 0x0a, 0x10, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, - 0x56, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x01, 0x42, 0xba, 0x01, 0x0a, - 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x42, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, - 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, - 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, - 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, - 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x6e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, + 0x65, 0x70, 0x74, 0x68, 0x22, 0x4e, 0x0a, 0x23, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x04, 0x73, + 0x70, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, + 0x73, 0x70, 0x61, 0x6e, 0x2a, 0x3e, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, + 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, + 0x45, 0x44, 0x10, 0x01, 0x42, 0xba, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, + 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2372,8 +2389,9 @@ var file_flyteidl_admin_execution_proto_goTypes = []interface{}{ (*ClusterAssignment)(nil), // 41: flyteidl.admin.ClusterAssignment (*wrapperspb.BoolValue)(nil), // 42: google.protobuf.BoolValue (*Envs)(nil), // 43: flyteidl.admin.Envs - (*UrlBlob)(nil), // 44: flyteidl.admin.UrlBlob - (*core.Span)(nil), // 45: flyteidl.core.Span + (*ExecutionClusterLabel)(nil), // 44: flyteidl.admin.ExecutionClusterLabel + (*UrlBlob)(nil), // 45: flyteidl.admin.UrlBlob + (*core.Span)(nil), // 46: flyteidl.core.Span } var file_flyteidl_admin_execution_proto_depIdxs = []int32{ 15, // 0: flyteidl.admin.ExecutionCreateRequest.spec:type_name -> flyteidl.admin.ExecutionSpec @@ -2421,23 +2439,24 @@ var file_flyteidl_admin_execution_proto_depIdxs = []int32{ 41, // 42: flyteidl.admin.ExecutionSpec.cluster_assignment:type_name -> flyteidl.admin.ClusterAssignment 42, // 43: flyteidl.admin.ExecutionSpec.interruptible:type_name -> google.protobuf.BoolValue 43, // 44: flyteidl.admin.ExecutionSpec.envs:type_name -> flyteidl.admin.Envs - 26, // 45: flyteidl.admin.ExecutionTerminateRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier - 26, // 46: flyteidl.admin.WorkflowExecutionGetDataRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier - 44, // 47: flyteidl.admin.WorkflowExecutionGetDataResponse.outputs:type_name -> flyteidl.admin.UrlBlob - 44, // 48: flyteidl.admin.WorkflowExecutionGetDataResponse.inputs:type_name -> flyteidl.admin.UrlBlob - 25, // 49: flyteidl.admin.WorkflowExecutionGetDataResponse.full_inputs:type_name -> flyteidl.core.LiteralMap - 25, // 50: flyteidl.admin.WorkflowExecutionGetDataResponse.full_outputs:type_name -> flyteidl.core.LiteralMap - 26, // 51: flyteidl.admin.ExecutionUpdateRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier - 0, // 52: flyteidl.admin.ExecutionUpdateRequest.state:type_name -> flyteidl.admin.ExecutionState - 0, // 53: flyteidl.admin.ExecutionStateChangeDetails.state:type_name -> flyteidl.admin.ExecutionState - 29, // 54: flyteidl.admin.ExecutionStateChangeDetails.occurred_at:type_name -> google.protobuf.Timestamp - 26, // 55: flyteidl.admin.WorkflowExecutionGetMetricsRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier - 45, // 56: flyteidl.admin.WorkflowExecutionGetMetricsResponse.span:type_name -> flyteidl.core.Span - 57, // [57:57] is the sub-list for method output_type - 57, // [57:57] is the sub-list for method input_type - 57, // [57:57] is the sub-list for extension type_name - 57, // [57:57] is the sub-list for extension extendee - 0, // [0:57] is the sub-list for field type_name + 44, // 45: flyteidl.admin.ExecutionSpec.execution_cluster_label:type_name -> flyteidl.admin.ExecutionClusterLabel + 26, // 46: flyteidl.admin.ExecutionTerminateRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 26, // 47: flyteidl.admin.WorkflowExecutionGetDataRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 45, // 48: flyteidl.admin.WorkflowExecutionGetDataResponse.outputs:type_name -> flyteidl.admin.UrlBlob + 45, // 49: flyteidl.admin.WorkflowExecutionGetDataResponse.inputs:type_name -> flyteidl.admin.UrlBlob + 25, // 50: flyteidl.admin.WorkflowExecutionGetDataResponse.full_inputs:type_name -> flyteidl.core.LiteralMap + 25, // 51: flyteidl.admin.WorkflowExecutionGetDataResponse.full_outputs:type_name -> flyteidl.core.LiteralMap + 26, // 52: flyteidl.admin.ExecutionUpdateRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 0, // 53: flyteidl.admin.ExecutionUpdateRequest.state:type_name -> flyteidl.admin.ExecutionState + 0, // 54: flyteidl.admin.ExecutionStateChangeDetails.state:type_name -> flyteidl.admin.ExecutionState + 29, // 55: flyteidl.admin.ExecutionStateChangeDetails.occurred_at:type_name -> google.protobuf.Timestamp + 26, // 56: flyteidl.admin.WorkflowExecutionGetMetricsRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 46, // 57: flyteidl.admin.WorkflowExecutionGetMetricsResponse.span:type_name -> flyteidl.core.Span + 58, // [58:58] is the sub-list for method output_type + 58, // [58:58] is the sub-list for method input_type + 58, // [58:58] is the sub-list for extension type_name + 58, // [58:58] is the sub-list for extension extendee + 0, // [0:58] is the sub-list for field type_name } func init() { file_flyteidl_admin_execution_proto_init() } @@ -2447,6 +2466,7 @@ func file_flyteidl_admin_execution_proto_init() { } file_flyteidl_admin_cluster_assignment_proto_init() file_flyteidl_admin_common_proto_init() + file_flyteidl_admin_matchable_resource_proto_init() if !protoimpl.UnsafeEnabled { file_flyteidl_admin_execution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExecutionCreateRequest); i { diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json index 226588a131..dcbfa5ce37 100644 --- a/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json @@ -5016,6 +5016,10 @@ "type": "string" }, "description": "Tags to be set for the execution." + }, + "execution_cluster_label": { + "$ref": "#/definitions/adminExecutionClusterLabel", + "description": "Execution cluster label to be set for the execution." } }, "description": "An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime\nof an execution as it progresses across phase changes." diff --git a/flyteidl/gen/pb-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index 8c1034865b..a09e5aa7b9 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -13928,6 +13928,9 @@ export namespace flyteidl { /** ExecutionSpec tags */ tags?: (string[]|null); + + /** ExecutionSpec executionClusterLabel */ + executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); } /** Represents an ExecutionSpec. */ @@ -13990,6 +13993,9 @@ export namespace flyteidl { /** ExecutionSpec tags. */ public tags: string[]; + /** ExecutionSpec executionClusterLabel. */ + public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + /** ExecutionSpec notificationOverrides. */ public notificationOverrides?: ("notifications"|"disableAll"); @@ -14536,1816 +14542,1816 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanCreateRequest. */ - interface ILaunchPlanCreateRequest { + /** 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 + } - /** LaunchPlanCreateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** Properties of a TaskResourceSpec. */ + interface ITaskResourceSpec { - /** LaunchPlanCreateRequest spec */ - spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** TaskResourceSpec cpu */ + cpu?: (string|null); + + /** TaskResourceSpec gpu */ + gpu?: (string|null); + + /** TaskResourceSpec memory */ + memory?: (string|null); + + /** TaskResourceSpec storage */ + storage?: (string|null); + + /** TaskResourceSpec ephemeralStorage */ + ephemeralStorage?: (string|null); } - /** Represents a LaunchPlanCreateRequest. */ - class LaunchPlanCreateRequest implements ILaunchPlanCreateRequest { + /** Represents a TaskResourceSpec. */ + class TaskResourceSpec implements ITaskResourceSpec { /** - * Constructs a new LaunchPlanCreateRequest. + * Constructs a new TaskResourceSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanCreateRequest); + constructor(properties?: flyteidl.admin.ITaskResourceSpec); - /** LaunchPlanCreateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** TaskResourceSpec cpu. */ + public cpu: string; - /** LaunchPlanCreateRequest spec. */ - public spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** TaskResourceSpec gpu. */ + public gpu: string; + + /** TaskResourceSpec memory. */ + public memory: string; + + /** TaskResourceSpec storage. */ + public storage: string; + + /** TaskResourceSpec ephemeralStorage. */ + public ephemeralStorage: string; /** - * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * Creates a new TaskResourceSpec instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanCreateRequest instance + * @returns TaskResourceSpec instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanCreateRequest): flyteidl.admin.LaunchPlanCreateRequest; + public static create(properties?: flyteidl.admin.ITaskResourceSpec): flyteidl.admin.TaskResourceSpec; /** - * 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 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.ILaunchPlanCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanCreateRequest 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 LaunchPlanCreateRequest + * @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.LaunchPlanCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceSpec; /** - * Verifies a LaunchPlanCreateRequest 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 LaunchPlanCreateResponse. */ - interface ILaunchPlanCreateResponse { + /** Properties of a TaskResourceAttributes. */ + interface ITaskResourceAttributes { + + /** TaskResourceAttributes defaults */ + defaults?: (flyteidl.admin.ITaskResourceSpec|null); + + /** TaskResourceAttributes limits */ + limits?: (flyteidl.admin.ITaskResourceSpec|null); } - /** Represents a LaunchPlanCreateResponse. */ - class LaunchPlanCreateResponse implements ILaunchPlanCreateResponse { + /** Represents a TaskResourceAttributes. */ + class TaskResourceAttributes implements ITaskResourceAttributes { /** - * Constructs a new LaunchPlanCreateResponse. + * Constructs a new TaskResourceAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanCreateResponse); + constructor(properties?: flyteidl.admin.ITaskResourceAttributes); + + /** TaskResourceAttributes defaults. */ + public defaults?: (flyteidl.admin.ITaskResourceSpec|null); + + /** TaskResourceAttributes limits. */ + public limits?: (flyteidl.admin.ITaskResourceSpec|null); /** - * Creates a new LaunchPlanCreateResponse instance using the specified properties. + * Creates a new TaskResourceAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanCreateResponse instance + * @returns TaskResourceAttributes instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanCreateResponse): flyteidl.admin.LaunchPlanCreateResponse; + public static create(properties?: flyteidl.admin.ITaskResourceAttributes): flyteidl.admin.TaskResourceAttributes; /** - * 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 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.ILaunchPlanCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanCreateResponse 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 LaunchPlanCreateResponse + * @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.LaunchPlanCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceAttributes; /** - * Verifies a LaunchPlanCreateResponse 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); } - /** LaunchPlanState enum. */ - enum LaunchPlanState { - INACTIVE = 0, - ACTIVE = 1 - } - - /** Properties of a LaunchPlan. */ - interface ILaunchPlan { - - /** LaunchPlan id */ - id?: (flyteidl.core.IIdentifier|null); - - /** LaunchPlan spec */ - spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** Properties of a ClusterResourceAttributes. */ + interface IClusterResourceAttributes { - /** LaunchPlan closure */ - closure?: (flyteidl.admin.ILaunchPlanClosure|null); + /** ClusterResourceAttributes attributes */ + attributes?: ({ [k: string]: string }|null); } - /** Represents a LaunchPlan. */ - class LaunchPlan implements ILaunchPlan { + /** Represents a ClusterResourceAttributes. */ + class ClusterResourceAttributes implements IClusterResourceAttributes { /** - * Constructs a new LaunchPlan. + * Constructs a new ClusterResourceAttributes. * @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.IClusterResourceAttributes); - /** LaunchPlan closure. */ - public closure?: (flyteidl.admin.ILaunchPlanClosure|null); + /** ClusterResourceAttributes attributes. */ + public attributes: { [k: string]: string }; /** - * Creates a new LaunchPlan instance using the specified properties. + * Creates a new ClusterResourceAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlan instance + * @returns ClusterResourceAttributes instance */ - public static create(properties?: flyteidl.admin.ILaunchPlan): flyteidl.admin.LaunchPlan; + public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; /** - * 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 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.ILaunchPlan, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlan 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 LaunchPlan + * @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.LaunchPlan; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterResourceAttributes; /** - * Verifies a LaunchPlan 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 LaunchPlanList. */ - interface ILaunchPlanList { - - /** LaunchPlanList launchPlans */ - launchPlans?: (flyteidl.admin.ILaunchPlan[]|null); + /** Properties of an ExecutionQueueAttributes. */ + interface IExecutionQueueAttributes { - /** LaunchPlanList token */ - token?: (string|null); + /** ExecutionQueueAttributes tags */ + tags?: (string[]|null); } - /** Represents a LaunchPlanList. */ - class LaunchPlanList implements ILaunchPlanList { + /** Represents an ExecutionQueueAttributes. */ + class ExecutionQueueAttributes implements IExecutionQueueAttributes { /** - * Constructs a new LaunchPlanList. + * Constructs a new ExecutionQueueAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanList); - - /** LaunchPlanList launchPlans. */ - public launchPlans: flyteidl.admin.ILaunchPlan[]; + constructor(properties?: flyteidl.admin.IExecutionQueueAttributes); - /** LaunchPlanList token. */ - public token: string; + /** ExecutionQueueAttributes tags. */ + public tags: string[]; /** - * Creates a new LaunchPlanList instance using the specified properties. + * Creates a new ExecutionQueueAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanList instance + * @returns ExecutionQueueAttributes instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanList): flyteidl.admin.LaunchPlanList; + public static create(properties?: flyteidl.admin.IExecutionQueueAttributes): flyteidl.admin.ExecutionQueueAttributes; /** - * 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 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.ILaunchPlanList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionQueueAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanList 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 LaunchPlanList + * @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.LaunchPlanList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionQueueAttributes; /** - * Verifies a LaunchPlanList message. + * Verifies an ExecutionQueueAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an Auth. */ - interface IAuth { - - /** Auth assumableIamRole */ - assumableIamRole?: (string|null); + /** Properties of an ExecutionClusterLabel. */ + interface IExecutionClusterLabel { - /** Auth kubernetesServiceAccount */ - kubernetesServiceAccount?: (string|null); + /** ExecutionClusterLabel value */ + value?: (string|null); } - /** Represents an Auth. */ - class Auth implements IAuth { + /** Represents an ExecutionClusterLabel. */ + class ExecutionClusterLabel implements IExecutionClusterLabel { /** - * Constructs a new Auth. + * Constructs a new ExecutionClusterLabel. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAuth); - - /** Auth assumableIamRole. */ - public assumableIamRole: string; + constructor(properties?: flyteidl.admin.IExecutionClusterLabel); - /** Auth kubernetesServiceAccount. */ - public kubernetesServiceAccount: string; + /** ExecutionClusterLabel value. */ + public value: string; /** - * Creates a new Auth instance using the specified properties. + * Creates a new ExecutionClusterLabel instance using the specified properties. * @param [properties] Properties to set - * @returns Auth instance + * @returns ExecutionClusterLabel instance */ - public static create(properties?: flyteidl.admin.IAuth): flyteidl.admin.Auth; + public static create(properties?: flyteidl.admin.IExecutionClusterLabel): flyteidl.admin.ExecutionClusterLabel; /** - * 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 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.IAuth, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionClusterLabel, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Auth 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 Auth + * @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.Auth; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionClusterLabel; /** - * Verifies an Auth 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 LaunchPlanSpec. */ - interface ILaunchPlanSpec { - - /** LaunchPlanSpec workflowId */ - workflowId?: (flyteidl.core.IIdentifier|null); - - /** LaunchPlanSpec entityMetadata */ - entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); - - /** LaunchPlanSpec defaultInputs */ - defaultInputs?: (flyteidl.core.IParameterMap|null); - - /** LaunchPlanSpec fixedInputs */ - fixedInputs?: (flyteidl.core.ILiteralMap|null); - - /** LaunchPlanSpec role */ - role?: (string|null); - - /** LaunchPlanSpec labels */ - labels?: (flyteidl.admin.ILabels|null); - - /** LaunchPlanSpec annotations */ - annotations?: (flyteidl.admin.IAnnotations|null); - - /** LaunchPlanSpec auth */ - auth?: (flyteidl.admin.IAuth|null); - - /** LaunchPlanSpec authRole */ - authRole?: (flyteidl.admin.IAuthRole|null); - - /** LaunchPlanSpec securityContext */ - securityContext?: (flyteidl.core.ISecurityContext|null); - - /** LaunchPlanSpec qualityOfService */ - qualityOfService?: (flyteidl.core.IQualityOfService|null); - - /** LaunchPlanSpec rawOutputDataConfig */ - rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); - - /** LaunchPlanSpec maxParallelism */ - maxParallelism?: (number|null); + /** Properties of a PluginOverride. */ + interface IPluginOverride { - /** LaunchPlanSpec interruptible */ - interruptible?: (google.protobuf.IBoolValue|null); + /** PluginOverride taskType */ + taskType?: (string|null); - /** LaunchPlanSpec overwriteCache */ - overwriteCache?: (boolean|null); + /** PluginOverride pluginId */ + pluginId?: (string[]|null); - /** LaunchPlanSpec envs */ - envs?: (flyteidl.admin.IEnvs|null); + /** PluginOverride missingPluginBehavior */ + missingPluginBehavior?: (flyteidl.admin.PluginOverride.MissingPluginBehavior|null); } - /** Represents a LaunchPlanSpec. */ - class LaunchPlanSpec implements ILaunchPlanSpec { + /** Represents a PluginOverride. */ + class PluginOverride implements IPluginOverride { /** - * Constructs a new LaunchPlanSpec. + * Constructs a new PluginOverride. * @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; + constructor(properties?: flyteidl.admin.IPluginOverride); - /** LaunchPlanSpec interruptible. */ - public interruptible?: (google.protobuf.IBoolValue|null); + /** PluginOverride taskType. */ + public taskType: string; - /** LaunchPlanSpec overwriteCache. */ - public overwriteCache: boolean; + /** PluginOverride pluginId. */ + public pluginId: string[]; - /** LaunchPlanSpec envs. */ - public envs?: (flyteidl.admin.IEnvs|null); + /** PluginOverride missingPluginBehavior. */ + public missingPluginBehavior: flyteidl.admin.PluginOverride.MissingPluginBehavior; /** - * Creates a new LaunchPlanSpec instance using the specified properties. + * Creates a new PluginOverride instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanSpec instance + * @returns PluginOverride instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanSpec): flyteidl.admin.LaunchPlanSpec; + public static create(properties?: flyteidl.admin.IPluginOverride): flyteidl.admin.PluginOverride; /** - * 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 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.ILaunchPlanSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPluginOverride, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanSpec 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 LaunchPlanSpec + * @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.LaunchPlanSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverride; /** - * Verifies a LaunchPlanSpec 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 LaunchPlanClosure. */ - interface ILaunchPlanClosure { - - /** LaunchPlanClosure state */ - state?: (flyteidl.admin.LaunchPlanState|null); - - /** LaunchPlanClosure expectedInputs */ - expectedInputs?: (flyteidl.core.IParameterMap|null); + namespace PluginOverride { - /** LaunchPlanClosure expectedOutputs */ - expectedOutputs?: (flyteidl.core.IVariableMap|null); + /** MissingPluginBehavior enum. */ + enum MissingPluginBehavior { + FAIL = 0, + USE_DEFAULT = 1 + } + } - /** LaunchPlanClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); + /** Properties of a PluginOverrides. */ + interface IPluginOverrides { - /** LaunchPlanClosure updatedAt */ - updatedAt?: (google.protobuf.ITimestamp|null); + /** PluginOverrides overrides */ + overrides?: (flyteidl.admin.IPluginOverride[]|null); } - /** Represents a LaunchPlanClosure. */ - class LaunchPlanClosure implements ILaunchPlanClosure { + /** Represents a PluginOverrides. */ + class PluginOverrides implements IPluginOverrides { /** - * Constructs a new LaunchPlanClosure. + * Constructs a new PluginOverrides. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanClosure); - - /** 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); + constructor(properties?: flyteidl.admin.IPluginOverrides); - /** LaunchPlanClosure updatedAt. */ - public updatedAt?: (google.protobuf.ITimestamp|null); + /** PluginOverrides overrides. */ + public overrides: flyteidl.admin.IPluginOverride[]; /** - * Creates a new LaunchPlanClosure instance using the specified properties. + * Creates a new PluginOverrides instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanClosure instance + * @returns PluginOverrides instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanClosure): flyteidl.admin.LaunchPlanClosure; + public static create(properties?: flyteidl.admin.IPluginOverrides): flyteidl.admin.PluginOverrides; /** - * 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 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.ILaunchPlanClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPluginOverrides, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanClosure 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 LaunchPlanClosure + * @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.LaunchPlanClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverrides; /** - * Verifies a LaunchPlanClosure 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 LaunchPlanMetadata. */ - interface ILaunchPlanMetadata { + /** Properties of a WorkflowExecutionConfig. */ + interface IWorkflowExecutionConfig { - /** LaunchPlanMetadata schedule */ - schedule?: (flyteidl.admin.ISchedule|null); + /** WorkflowExecutionConfig maxParallelism */ + maxParallelism?: (number|null); - /** LaunchPlanMetadata notifications */ - notifications?: (flyteidl.admin.INotification[]|null); + /** WorkflowExecutionConfig securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); - /** LaunchPlanMetadata launchConditions */ - launchConditions?: (google.protobuf.IAny|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 LaunchPlanMetadata. */ - class LaunchPlanMetadata implements ILaunchPlanMetadata { + /** Represents a WorkflowExecutionConfig. */ + class WorkflowExecutionConfig implements IWorkflowExecutionConfig { /** - * Constructs a new LaunchPlanMetadata. + * Constructs a new WorkflowExecutionConfig. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanMetadata); + constructor(properties?: flyteidl.admin.IWorkflowExecutionConfig); - /** LaunchPlanMetadata schedule. */ - public schedule?: (flyteidl.admin.ISchedule|null); + /** WorkflowExecutionConfig maxParallelism. */ + public maxParallelism: number; - /** LaunchPlanMetadata notifications. */ - public notifications: flyteidl.admin.INotification[]; + /** WorkflowExecutionConfig securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); - /** LaunchPlanMetadata launchConditions. */ - public launchConditions?: (google.protobuf.IAny|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); /** - * Creates a new LaunchPlanMetadata instance using the specified properties. + * Creates a new WorkflowExecutionConfig instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanMetadata instance + * @returns WorkflowExecutionConfig instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanMetadata): flyteidl.admin.LaunchPlanMetadata; + public static create(properties?: flyteidl.admin.IWorkflowExecutionConfig): flyteidl.admin.WorkflowExecutionConfig; /** - * 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 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.ILaunchPlanMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanMetadata 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 LaunchPlanMetadata + * @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.LaunchPlanMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionConfig; /** - * Verifies a LaunchPlanMetadata 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 LaunchPlanUpdateRequest. */ - interface ILaunchPlanUpdateRequest { + /** Properties of a MatchingAttributes. */ + interface IMatchingAttributes { - /** LaunchPlanUpdateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** MatchingAttributes taskResourceAttributes */ + taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - /** LaunchPlanUpdateRequest state */ - state?: (flyteidl.admin.LaunchPlanState|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); + + /** MatchingAttributes clusterAssignment */ + clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); } - /** Represents a LaunchPlanUpdateRequest. */ - class LaunchPlanUpdateRequest implements ILaunchPlanUpdateRequest { + /** Represents a MatchingAttributes. */ + class MatchingAttributes implements IMatchingAttributes { /** - * Constructs a new LaunchPlanUpdateRequest. + * Constructs a new MatchingAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanUpdateRequest); + constructor(properties?: flyteidl.admin.IMatchingAttributes); - /** LaunchPlanUpdateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** MatchingAttributes taskResourceAttributes. */ + public taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - /** LaunchPlanUpdateRequest state. */ - public state: flyteidl.admin.LaunchPlanState; + /** 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); + + /** MatchingAttributes target. */ + public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"); /** - * Creates a new LaunchPlanUpdateRequest instance using the specified properties. + * Creates a new MatchingAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanUpdateRequest instance + * @returns MatchingAttributes instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanUpdateRequest): flyteidl.admin.LaunchPlanUpdateRequest; + public static create(properties?: flyteidl.admin.IMatchingAttributes): flyteidl.admin.MatchingAttributes; /** - * 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 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.ILaunchPlanUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IMatchingAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanUpdateRequest 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 LaunchPlanUpdateRequest + * @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.LaunchPlanUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchingAttributes; /** - * Verifies a LaunchPlanUpdateRequest 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 LaunchPlanUpdateResponse. */ - interface ILaunchPlanUpdateResponse { + /** Properties of a MatchableAttributesConfiguration. */ + interface IMatchableAttributesConfiguration { + + /** MatchableAttributesConfiguration attributes */ + attributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** MatchableAttributesConfiguration domain */ + domain?: (string|null); + + /** MatchableAttributesConfiguration project */ + project?: (string|null); + + /** MatchableAttributesConfiguration workflow */ + workflow?: (string|null); + + /** MatchableAttributesConfiguration launchPlan */ + launchPlan?: (string|null); + + /** MatchableAttributesConfiguration org */ + org?: (string|null); } - /** Represents a LaunchPlanUpdateResponse. */ - class LaunchPlanUpdateResponse implements ILaunchPlanUpdateResponse { + /** Represents a MatchableAttributesConfiguration. */ + class MatchableAttributesConfiguration implements IMatchableAttributesConfiguration { /** - * Constructs a new LaunchPlanUpdateResponse. + * Constructs a new MatchableAttributesConfiguration. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanUpdateResponse); + constructor(properties?: flyteidl.admin.IMatchableAttributesConfiguration); + + /** MatchableAttributesConfiguration attributes. */ + public attributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** MatchableAttributesConfiguration domain. */ + public domain: string; + + /** MatchableAttributesConfiguration project. */ + public project: string; + + /** MatchableAttributesConfiguration workflow. */ + public workflow: string; + + /** MatchableAttributesConfiguration launchPlan. */ + public launchPlan: string; + + /** MatchableAttributesConfiguration org. */ + public org: string; /** - * Creates a new LaunchPlanUpdateResponse instance using the specified properties. + * Creates a new MatchableAttributesConfiguration instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanUpdateResponse instance + * @returns MatchableAttributesConfiguration instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanUpdateResponse): flyteidl.admin.LaunchPlanUpdateResponse; + public static create(properties?: flyteidl.admin.IMatchableAttributesConfiguration): flyteidl.admin.MatchableAttributesConfiguration; /** - * 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 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.ILaunchPlanUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IMatchableAttributesConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanUpdateResponse 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 LaunchPlanUpdateResponse + * @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.LaunchPlanUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchableAttributesConfiguration; /** - * Verifies a LaunchPlanUpdateResponse 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 ActiveLaunchPlanRequest. */ - interface IActiveLaunchPlanRequest { + /** Properties of a ListMatchableAttributesRequest. */ + interface IListMatchableAttributesRequest { - /** ActiveLaunchPlanRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** ListMatchableAttributesRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ListMatchableAttributesRequest org */ + org?: (string|null); } - /** Represents an ActiveLaunchPlanRequest. */ - class ActiveLaunchPlanRequest implements IActiveLaunchPlanRequest { + /** Represents a ListMatchableAttributesRequest. */ + class ListMatchableAttributesRequest implements IListMatchableAttributesRequest { /** - * Constructs a new ActiveLaunchPlanRequest. + * Constructs a new ListMatchableAttributesRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IActiveLaunchPlanRequest); + constructor(properties?: flyteidl.admin.IListMatchableAttributesRequest); - /** ActiveLaunchPlanRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** ListMatchableAttributesRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ListMatchableAttributesRequest org. */ + public org: string; /** - * Creates a new ActiveLaunchPlanRequest instance using the specified properties. + * Creates a new ListMatchableAttributesRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ActiveLaunchPlanRequest instance + * @returns ListMatchableAttributesRequest instance */ - public static create(properties?: flyteidl.admin.IActiveLaunchPlanRequest): flyteidl.admin.ActiveLaunchPlanRequest; + public static create(properties?: flyteidl.admin.IListMatchableAttributesRequest): flyteidl.admin.ListMatchableAttributesRequest; /** - * 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 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.IActiveLaunchPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListMatchableAttributesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ActiveLaunchPlanRequest 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 ActiveLaunchPlanRequest + * @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.ActiveLaunchPlanRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesRequest; /** - * Verifies an ActiveLaunchPlanRequest message. + * Verifies a ListMatchableAttributesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ActiveLaunchPlanListRequest. */ - interface IActiveLaunchPlanListRequest { - - /** ActiveLaunchPlanListRequest project */ - project?: (string|null); - - /** ActiveLaunchPlanListRequest domain */ - domain?: (string|null); - - /** ActiveLaunchPlanListRequest limit */ - limit?: (number|null); - - /** ActiveLaunchPlanListRequest token */ - token?: (string|null); - - /** ActiveLaunchPlanListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** Properties of a ListMatchableAttributesResponse. */ + interface IListMatchableAttributesResponse { - /** ActiveLaunchPlanListRequest org */ - org?: (string|null); + /** ListMatchableAttributesResponse configurations */ + configurations?: (flyteidl.admin.IMatchableAttributesConfiguration[]|null); } - /** Represents an ActiveLaunchPlanListRequest. */ - class ActiveLaunchPlanListRequest implements IActiveLaunchPlanListRequest { + /** Represents a ListMatchableAttributesResponse. */ + class ListMatchableAttributesResponse implements IListMatchableAttributesResponse { /** - * Constructs a new ActiveLaunchPlanListRequest. + * Constructs a new ListMatchableAttributesResponse. * @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; - - /** ActiveLaunchPlanListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + constructor(properties?: flyteidl.admin.IListMatchableAttributesResponse); - /** ActiveLaunchPlanListRequest org. */ - public org: string; + /** ListMatchableAttributesResponse configurations. */ + public configurations: flyteidl.admin.IMatchableAttributesConfiguration[]; /** - * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. + * Creates a new ListMatchableAttributesResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ActiveLaunchPlanListRequest instance + * @returns ListMatchableAttributesResponse instance */ - public static create(properties?: flyteidl.admin.IActiveLaunchPlanListRequest): flyteidl.admin.ActiveLaunchPlanListRequest; + public static create(properties?: flyteidl.admin.IListMatchableAttributesResponse): flyteidl.admin.ListMatchableAttributesResponse; /** - * 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 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.IActiveLaunchPlanListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListMatchableAttributesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ActiveLaunchPlanListRequest 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 ActiveLaunchPlanListRequest + * @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.ActiveLaunchPlanListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesResponse; /** - * Verifies an ActiveLaunchPlanListRequest 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); } - /** 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); + + /** LaunchPlanSpec entityMetadata */ + entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); + + /** LaunchPlanSpec defaultInputs */ + defaultInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanSpec fixedInputs */ + fixedInputs?: (flyteidl.core.ILiteralMap|null); + + /** LaunchPlanSpec role */ + role?: (string|null); + + /** LaunchPlanSpec labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** LaunchPlanSpec annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); + + /** LaunchPlanSpec auth */ + auth?: (flyteidl.admin.IAuth|null); + + /** LaunchPlanSpec authRole */ + authRole?: (flyteidl.admin.IAuthRole|null); + + /** LaunchPlanSpec securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** LaunchPlanSpec qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** LaunchPlanSpec rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** LaunchPlanSpec maxParallelism */ + maxParallelism?: (number|null); + + /** LaunchPlanSpec interruptible */ + interruptible?: (google.protobuf.IBoolValue|null); + + /** LaunchPlanSpec overwriteCache */ + overwriteCache?: (boolean|null); + + /** LaunchPlanSpec envs */ + envs?: (flyteidl.admin.IEnvs|null); } - /** Represents a ClusterResourceAttributes. */ - class ClusterResourceAttributes implements IClusterResourceAttributes { + /** Represents a LaunchPlanSpec. */ + class LaunchPlanSpec implements ILaunchPlanSpec { /** - * Constructs a new ClusterResourceAttributes. + * Constructs a new LaunchPlanSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IClusterResourceAttributes); + constructor(properties?: flyteidl.admin.ILaunchPlanSpec); - /** ClusterResourceAttributes attributes. */ - public attributes: { [k: string]: 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 ClusterResourceAttributes instance using the specified properties. + * Creates a new LaunchPlanSpec instance using the specified properties. * @param [properties] Properties to set - * @returns ClusterResourceAttributes instance + * @returns LaunchPlanSpec instance */ - public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; + public static create(properties?: flyteidl.admin.ILaunchPlanSpec): flyteidl.admin.LaunchPlanSpec; /** - * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. - * @param message ClusterResourceAttributes message or plain object to encode + * Encodes the specified 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.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ClusterResourceAttributes 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 ClusterResourceAttributes + * @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.ClusterResourceAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanSpec; /** - * Verifies a ClusterResourceAttributes 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 ExecutionQueueAttributes. */ - interface IExecutionQueueAttributes { + /** Properties of a LaunchPlanClosure. */ + interface ILaunchPlanClosure { - /** ExecutionQueueAttributes tags */ - tags?: (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 ExecutionQueueAttributes. */ - class ExecutionQueueAttributes implements IExecutionQueueAttributes { + /** Represents a LaunchPlanClosure. */ + class LaunchPlanClosure implements ILaunchPlanClosure { /** - * Constructs a new ExecutionQueueAttributes. + * Constructs a new LaunchPlanClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionQueueAttributes); + constructor(properties?: flyteidl.admin.ILaunchPlanClosure); - /** ExecutionQueueAttributes tags. */ - public tags: 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 ExecutionQueueAttributes instance using the specified properties. + * Creates a new LaunchPlanClosure instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionQueueAttributes instance + * @returns LaunchPlanClosure instance */ - public static create(properties?: flyteidl.admin.IExecutionQueueAttributes): flyteidl.admin.ExecutionQueueAttributes; + public static create(properties?: flyteidl.admin.ILaunchPlanClosure): flyteidl.admin.LaunchPlanClosure; /** - * 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 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.IExecutionQueueAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionQueueAttributes 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 ExecutionQueueAttributes + * @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.ExecutionQueueAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanClosure; /** - * Verifies an ExecutionQueueAttributes 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 an ExecutionClusterLabel. */ - interface IExecutionClusterLabel { + /** Properties of a LaunchPlanMetadata. */ + interface ILaunchPlanMetadata { + + /** LaunchPlanMetadata schedule */ + schedule?: (flyteidl.admin.ISchedule|null); + + /** LaunchPlanMetadata notifications */ + notifications?: (flyteidl.admin.INotification[]|null); - /** ExecutionClusterLabel value */ - value?: (string|null); + /** LaunchPlanMetadata launchConditions */ + launchConditions?: (google.protobuf.IAny|null); } - /** Represents an ExecutionClusterLabel. */ - class ExecutionClusterLabel implements IExecutionClusterLabel { + /** Represents a LaunchPlanMetadata. */ + class LaunchPlanMetadata implements ILaunchPlanMetadata { /** - * Constructs a new ExecutionClusterLabel. + * Constructs a new LaunchPlanMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionClusterLabel); + constructor(properties?: flyteidl.admin.ILaunchPlanMetadata); - /** ExecutionClusterLabel value. */ - public value: string; + /** LaunchPlanMetadata schedule. */ + public schedule?: (flyteidl.admin.ISchedule|null); + + /** LaunchPlanMetadata notifications. */ + public notifications: flyteidl.admin.INotification[]; + + /** LaunchPlanMetadata launchConditions. */ + public launchConditions?: (google.protobuf.IAny|null); /** - * Creates a new ExecutionClusterLabel instance using the specified properties. + * Creates a new LaunchPlanMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionClusterLabel instance + * @returns LaunchPlanMetadata instance */ - public static create(properties?: flyteidl.admin.IExecutionClusterLabel): flyteidl.admin.ExecutionClusterLabel; + public static create(properties?: flyteidl.admin.ILaunchPlanMetadata): flyteidl.admin.LaunchPlanMetadata; /** - * 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 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.IExecutionClusterLabel, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionClusterLabel 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 ExecutionClusterLabel + * @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.ExecutionClusterLabel; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanMetadata; /** - * Verifies an ExecutionClusterLabel 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); } - /** Properties of a PluginOverride. */ - interface IPluginOverride { - - /** PluginOverride taskType */ - taskType?: (string|null); + /** Properties of a LaunchPlanUpdateRequest. */ + interface ILaunchPlanUpdateRequest { - /** PluginOverride pluginId */ - pluginId?: (string[]|null); + /** LaunchPlanUpdateRequest id */ + id?: (flyteidl.core.IIdentifier|null); - /** PluginOverride missingPluginBehavior */ - missingPluginBehavior?: (flyteidl.admin.PluginOverride.MissingPluginBehavior|null); + /** LaunchPlanUpdateRequest state */ + state?: (flyteidl.admin.LaunchPlanState|null); } - /** Represents a PluginOverride. */ - class PluginOverride implements IPluginOverride { + /** Represents a LaunchPlanUpdateRequest. */ + class LaunchPlanUpdateRequest implements ILaunchPlanUpdateRequest { /** - * Constructs a new PluginOverride. + * Constructs a new LaunchPlanUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IPluginOverride); - - /** PluginOverride taskType. */ - public taskType: string; + constructor(properties?: flyteidl.admin.ILaunchPlanUpdateRequest); - /** PluginOverride pluginId. */ - public pluginId: string[]; + /** LaunchPlanUpdateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** PluginOverride missingPluginBehavior. */ - public missingPluginBehavior: flyteidl.admin.PluginOverride.MissingPluginBehavior; + /** LaunchPlanUpdateRequest state. */ + public state: flyteidl.admin.LaunchPlanState; /** - * Creates a new PluginOverride instance using the specified properties. + * Creates a new LaunchPlanUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns PluginOverride instance + * @returns LaunchPlanUpdateRequest instance */ - public static create(properties?: flyteidl.admin.IPluginOverride): flyteidl.admin.PluginOverride; + public static create(properties?: flyteidl.admin.ILaunchPlanUpdateRequest): flyteidl.admin.LaunchPlanUpdateRequest; /** - * 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 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.IPluginOverride, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PluginOverride 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 PluginOverride + * @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.PluginOverride; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanUpdateRequest; /** - * Verifies a PluginOverride 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); } - namespace PluginOverride { - - /** MissingPluginBehavior enum. */ - enum MissingPluginBehavior { - FAIL = 0, - USE_DEFAULT = 1 - } - } - - /** Properties of a PluginOverrides. */ - interface IPluginOverrides { - - /** PluginOverrides overrides */ - overrides?: (flyteidl.admin.IPluginOverride[]|null); + /** Properties of a LaunchPlanUpdateResponse. */ + interface ILaunchPlanUpdateResponse { } - /** Represents a PluginOverrides. */ - class PluginOverrides implements IPluginOverrides { + /** Represents a LaunchPlanUpdateResponse. */ + class LaunchPlanUpdateResponse implements ILaunchPlanUpdateResponse { /** - * Constructs a new PluginOverrides. + * Constructs a new LaunchPlanUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IPluginOverrides); - - /** PluginOverrides overrides. */ - public overrides: flyteidl.admin.IPluginOverride[]; + constructor(properties?: flyteidl.admin.ILaunchPlanUpdateResponse); /** - * Creates a new PluginOverrides instance using the specified properties. + * Creates a new LaunchPlanUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns PluginOverrides instance + * @returns LaunchPlanUpdateResponse instance */ - public static create(properties?: flyteidl.admin.IPluginOverrides): flyteidl.admin.PluginOverrides; + public static create(properties?: flyteidl.admin.ILaunchPlanUpdateResponse): flyteidl.admin.LaunchPlanUpdateResponse; /** - * 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 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.IPluginOverrides, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PluginOverrides 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 PluginOverrides + * @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.PluginOverrides; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanUpdateResponse; /** - * Verifies a PluginOverrides 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 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); + /** Properties of an ActiveLaunchPlanRequest. */ + interface IActiveLaunchPlanRequest { - /** WorkflowExecutionConfig envs */ - envs?: (flyteidl.admin.IEnvs|null); + /** ActiveLaunchPlanRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); } - /** Represents a WorkflowExecutionConfig. */ - class WorkflowExecutionConfig implements IWorkflowExecutionConfig { + /** Represents an ActiveLaunchPlanRequest. */ + class ActiveLaunchPlanRequest implements IActiveLaunchPlanRequest { /** - * Constructs a new WorkflowExecutionConfig. + * Constructs a new ActiveLaunchPlanRequest. * @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; + constructor(properties?: flyteidl.admin.IActiveLaunchPlanRequest); - /** WorkflowExecutionConfig envs. */ - public envs?: (flyteidl.admin.IEnvs|null); + /** ActiveLaunchPlanRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); /** - * Creates a new WorkflowExecutionConfig instance using the specified properties. + * Creates a new ActiveLaunchPlanRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionConfig instance + * @returns ActiveLaunchPlanRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionConfig): flyteidl.admin.WorkflowExecutionConfig; + public static create(properties?: flyteidl.admin.IActiveLaunchPlanRequest): flyteidl.admin.ActiveLaunchPlanRequest; /** - * 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 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.IWorkflowExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IActiveLaunchPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionConfig 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 WorkflowExecutionConfig + * @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.WorkflowExecutionConfig; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ActiveLaunchPlanRequest; /** - * Verifies a WorkflowExecutionConfig 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 MatchingAttributes. */ - interface IMatchingAttributes { - - /** MatchingAttributes taskResourceAttributes */ - taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - - /** MatchingAttributes clusterResourceAttributes */ - clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); + /** Properties of an ActiveLaunchPlanListRequest. */ + interface IActiveLaunchPlanListRequest { - /** MatchingAttributes executionQueueAttributes */ - executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); + /** ActiveLaunchPlanListRequest project */ + project?: (string|null); - /** MatchingAttributes executionClusterLabel */ - executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + /** ActiveLaunchPlanListRequest domain */ + domain?: (string|null); - /** MatchingAttributes qualityOfService */ - qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** ActiveLaunchPlanListRequest limit */ + limit?: (number|null); - /** MatchingAttributes pluginOverrides */ - pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); + /** ActiveLaunchPlanListRequest token */ + token?: (string|null); - /** MatchingAttributes workflowExecutionConfig */ - workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); + /** ActiveLaunchPlanListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); - /** MatchingAttributes clusterAssignment */ - clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + /** ActiveLaunchPlanListRequest org */ + org?: (string|null); } - /** Represents a MatchingAttributes. */ - class MatchingAttributes implements IMatchingAttributes { + /** Represents an ActiveLaunchPlanListRequest. */ + class ActiveLaunchPlanListRequest implements IActiveLaunchPlanListRequest { /** - * Constructs a new MatchingAttributes. + * Constructs a new ActiveLaunchPlanListRequest. * @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); + constructor(properties?: flyteidl.admin.IActiveLaunchPlanListRequest); - /** MatchingAttributes executionClusterLabel. */ - public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + /** ActiveLaunchPlanListRequest project. */ + public project: string; - /** MatchingAttributes qualityOfService. */ - public qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** ActiveLaunchPlanListRequest domain. */ + public domain: string; - /** MatchingAttributes pluginOverrides. */ - public pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); + /** ActiveLaunchPlanListRequest limit. */ + public limit: number; - /** MatchingAttributes workflowExecutionConfig. */ - public workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); + /** ActiveLaunchPlanListRequest token. */ + public token: string; - /** MatchingAttributes clusterAssignment. */ - public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + /** ActiveLaunchPlanListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); - /** MatchingAttributes target. */ - public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"); + /** ActiveLaunchPlanListRequest org. */ + public org: string; /** - * Creates a new MatchingAttributes instance using the specified properties. + * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns MatchingAttributes instance + * @returns ActiveLaunchPlanListRequest instance */ - public static create(properties?: flyteidl.admin.IMatchingAttributes): flyteidl.admin.MatchingAttributes; + public static create(properties?: flyteidl.admin.IActiveLaunchPlanListRequest): flyteidl.admin.ActiveLaunchPlanListRequest; /** - * 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 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.IMatchingAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IActiveLaunchPlanListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a MatchingAttributes 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 MatchingAttributes + * @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.MatchingAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ActiveLaunchPlanListRequest; /** - * Verifies a MatchingAttributes 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 MatchableAttributesConfiguration. */ - interface IMatchableAttributesConfiguration { - - /** MatchableAttributesConfiguration attributes */ - attributes?: (flyteidl.admin.IMatchingAttributes|null); - - /** MatchableAttributesConfiguration domain */ - domain?: (string|null); - - /** MatchableAttributesConfiguration project */ - project?: (string|null); + /** FixedRateUnit enum. */ + enum FixedRateUnit { + MINUTE = 0, + HOUR = 1, + DAY = 2 + } - /** MatchableAttributesConfiguration workflow */ - workflow?: (string|null); + /** Properties of a FixedRate. */ + interface IFixedRate { - /** MatchableAttributesConfiguration launchPlan */ - launchPlan?: (string|null); + /** FixedRate value */ + value?: (number|null); - /** MatchableAttributesConfiguration org */ - org?: (string|null); + /** FixedRate unit */ + unit?: (flyteidl.admin.FixedRateUnit|null); } - /** Represents a MatchableAttributesConfiguration. */ - class MatchableAttributesConfiguration implements IMatchableAttributesConfiguration { + /** Represents a FixedRate. */ + class FixedRate implements IFixedRate { /** - * Constructs a new MatchableAttributesConfiguration. + * Constructs a new FixedRate. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IMatchableAttributesConfiguration); - - /** MatchableAttributesConfiguration attributes. */ - public attributes?: (flyteidl.admin.IMatchingAttributes|null); - - /** MatchableAttributesConfiguration domain. */ - public domain: string; - - /** MatchableAttributesConfiguration project. */ - public project: string; - - /** MatchableAttributesConfiguration workflow. */ - public workflow: string; + constructor(properties?: flyteidl.admin.IFixedRate); - /** MatchableAttributesConfiguration launchPlan. */ - public launchPlan: string; + /** FixedRate value. */ + public value: number; - /** MatchableAttributesConfiguration org. */ - public org: string; + /** FixedRate unit. */ + public unit: flyteidl.admin.FixedRateUnit; /** - * Creates a new MatchableAttributesConfiguration instance using the specified properties. + * Creates a new FixedRate instance using the specified properties. * @param [properties] Properties to set - * @returns MatchableAttributesConfiguration instance + * @returns FixedRate instance */ - public static create(properties?: flyteidl.admin.IMatchableAttributesConfiguration): flyteidl.admin.MatchableAttributesConfiguration; + public static create(properties?: flyteidl.admin.IFixedRate): flyteidl.admin.FixedRate; /** - * 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 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.IMatchableAttributesConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IFixedRate, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a MatchableAttributesConfiguration 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 MatchableAttributesConfiguration + * @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.MatchableAttributesConfiguration; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FixedRate; /** - * Verifies a MatchableAttributesConfiguration 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 ListMatchableAttributesRequest. */ - interface IListMatchableAttributesRequest { + /** Properties of a CronSchedule. */ + interface ICronSchedule { - /** ListMatchableAttributesRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** CronSchedule schedule */ + schedule?: (string|null); - /** ListMatchableAttributesRequest org */ - org?: (string|null); + /** CronSchedule offset */ + offset?: (string|null); } - /** Represents a ListMatchableAttributesRequest. */ - class ListMatchableAttributesRequest implements IListMatchableAttributesRequest { + /** Represents a CronSchedule. */ + class CronSchedule implements ICronSchedule { /** - * Constructs a new ListMatchableAttributesRequest. + * Constructs a new CronSchedule. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IListMatchableAttributesRequest); + constructor(properties?: flyteidl.admin.ICronSchedule); - /** ListMatchableAttributesRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** CronSchedule schedule. */ + public schedule: string; - /** ListMatchableAttributesRequest org. */ - public org: string; + /** CronSchedule offset. */ + public offset: string; /** - * Creates a new ListMatchableAttributesRequest instance using the specified properties. + * Creates a new CronSchedule instance using the specified properties. * @param [properties] Properties to set - * @returns ListMatchableAttributesRequest instance + * @returns CronSchedule instance */ - public static create(properties?: flyteidl.admin.IListMatchableAttributesRequest): flyteidl.admin.ListMatchableAttributesRequest; + public static create(properties?: flyteidl.admin.ICronSchedule): flyteidl.admin.CronSchedule; /** - * 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 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.IListMatchableAttributesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ICronSchedule, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ListMatchableAttributesRequest 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 ListMatchableAttributesRequest + * @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.ListMatchableAttributesRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CronSchedule; /** - * Verifies a ListMatchableAttributesRequest 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 ListMatchableAttributesResponse. */ - interface IListMatchableAttributesResponse { + /** Properties of a Schedule. */ + interface ISchedule { - /** ListMatchableAttributesResponse configurations */ - configurations?: (flyteidl.admin.IMatchableAttributesConfiguration[]|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 ListMatchableAttributesResponse. */ - class ListMatchableAttributesResponse implements IListMatchableAttributesResponse { + /** Represents a Schedule. */ + class Schedule implements ISchedule { /** - * Constructs a new ListMatchableAttributesResponse. + * Constructs a new Schedule. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IListMatchableAttributesResponse); + constructor(properties?: flyteidl.admin.ISchedule); - /** ListMatchableAttributesResponse configurations. */ - public configurations: flyteidl.admin.IMatchableAttributesConfiguration[]; + /** 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 ListMatchableAttributesResponse instance using the specified properties. + * Creates a new Schedule instance using the specified properties. * @param [properties] Properties to set - * @returns ListMatchableAttributesResponse instance + * @returns Schedule instance */ - public static create(properties?: flyteidl.admin.IListMatchableAttributesResponse): flyteidl.admin.ListMatchableAttributesResponse; + public static create(properties?: flyteidl.admin.ISchedule): flyteidl.admin.Schedule; /** - * 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 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.IListMatchableAttributesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ListMatchableAttributesResponse 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 ListMatchableAttributesResponse + * @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.ListMatchableAttributesResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Schedule; /** - * Verifies a ListMatchableAttributesResponse message. + * Verifies a Schedule message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ diff --git a/flyteidl/gen/pb-js/flyteidl.js b/flyteidl/gen/pb-js/flyteidl.js index 680cf11ee2..41484ba0ef 100644 --- a/flyteidl/gen/pb-js/flyteidl.js +++ b/flyteidl/gen/pb-js/flyteidl.js @@ -33630,6 +33630,7 @@ * @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache * @property {flyteidl.admin.IEnvs|null} [envs] ExecutionSpec envs * @property {Array.|null} [tags] ExecutionSpec tags + * @property {flyteidl.admin.IExecutionClusterLabel|null} [executionClusterLabel] ExecutionSpec executionClusterLabel */ /** @@ -33784,6 +33785,14 @@ */ ExecutionSpec.prototype.tags = $util.emptyArray; + /** + * ExecutionSpec executionClusterLabel. + * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.executionClusterLabel = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -33857,6 +33866,8 @@ if (message.tags != null && message.tags.length) for (var i = 0; i < message.tags.length; ++i) writer.uint32(/* id 24, wireType 2 =*/194).string(message.tags[i]); + if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) + $root.flyteidl.admin.ExecutionClusterLabel.encode(message.executionClusterLabel, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim(); return writer; }; @@ -33931,6 +33942,9 @@ message.tags = []; message.tags.push(reader.string()); break; + case 25: + message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -34039,6 +34053,11 @@ if (!$util.isString(message.tags[i])) return "tags: string[] expected"; } + if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) { + var error = $root.flyteidl.admin.ExecutionClusterLabel.verify(message.executionClusterLabel); + if (error) + return "executionClusterLabel." + error; + } return null; }; @@ -35181,25 +35200,54 @@ return WorkflowExecutionGetMetricsResponse; })(); - admin.LaunchPlanCreateRequest = (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 LaunchPlanCreateRequest. + * Properties of a TaskResourceSpec. * @memberof flyteidl.admin - * @interface ILaunchPlanCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id - * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec + * @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 LaunchPlanCreateRequest. + * Constructs a new TaskResourceSpec. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanCreateRequest. - * @implements ILaunchPlanCreateRequest + * @classdesc Represents a TaskResourceSpec. + * @implements ITaskResourceSpec * @constructor - * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set */ - function LaunchPlanCreateRequest(properties) { + function TaskResourceSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35207,75 +35255,114 @@ } /** - * LaunchPlanCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * TaskResourceSpec cpu. + * @member {string} cpu + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - LaunchPlanCreateRequest.prototype.id = null; + TaskResourceSpec.prototype.cpu = ""; /** - * LaunchPlanCreateRequest spec. - * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * TaskResourceSpec gpu. + * @member {string} gpu + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - LaunchPlanCreateRequest.prototype.spec = null; + TaskResourceSpec.prototype.gpu = ""; /** - * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * TaskResourceSpec memory. + * @member {string} memory + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.memory = ""; + + /** + * TaskResourceSpec storage. + * @member {string} storage + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.storage = ""; + + /** + * TaskResourceSpec ephemeralStorage. + * @member {string} ephemeralStorage + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.ephemeralStorage = ""; + + /** + * Creates a new TaskResourceSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static - * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest instance + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec instance */ - LaunchPlanCreateRequest.create = function create(properties) { - return new LaunchPlanCreateRequest(properties); + TaskResourceSpec.create = function create(properties) { + return new TaskResourceSpec(properties); }; /** - * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. + * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static - * @param {flyteidl.admin.ILaunchPlanCreateRequest} message LaunchPlanCreateRequest 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 */ - LaunchPlanCreateRequest.encode = function encode(message, writer) { + TaskResourceSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.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.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 LaunchPlanCreateRequest message from the specified reader or buffer. + * Decodes a TaskResourceSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @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.LaunchPlanCreateRequest} LaunchPlanCreateRequest + * @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 */ - LaunchPlanCreateRequest.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.LaunchPlanCreateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskResourceSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.cpu = reader.string(); break; case 2: - message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); + message.gpu = reader.string(); + break; + case 3: + message.memory = reader.string(); + break; + case 4: + message.storage = reader.string(); + break; + case 5: + message.ephemeralStorage = reader.string(); break; default: reader.skipType(tag & 7); @@ -35286,49 +35373,56 @@ }; /** - * Verifies a LaunchPlanCreateRequest message. + * Verifies a TaskResourceSpec message. * @function verify - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @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 */ - LaunchPlanCreateRequest.verify = function verify(message) { + TaskResourceSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.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.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 LaunchPlanCreateRequest; + return TaskResourceSpec; })(); - admin.LaunchPlanCreateResponse = (function() { + admin.TaskResourceAttributes = (function() { /** - * Properties of a LaunchPlanCreateResponse. + * Properties of a TaskResourceAttributes. * @memberof flyteidl.admin - * @interface ILaunchPlanCreateResponse + * @interface ITaskResourceAttributes + * @property {flyteidl.admin.ITaskResourceSpec|null} [defaults] TaskResourceAttributes defaults + * @property {flyteidl.admin.ITaskResourceSpec|null} [limits] TaskResourceAttributes limits */ /** - * Constructs a new LaunchPlanCreateResponse. + * Constructs a new TaskResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanCreateResponse. - * @implements ILaunchPlanCreateResponse + * @classdesc Represents a TaskResourceAttributes. + * @implements ITaskResourceAttributes * @constructor - * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set */ - function LaunchPlanCreateResponse(properties) { + function TaskResourceAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35336,50 +35430,76 @@ } /** - * Creates a new LaunchPlanCreateResponse instance using the specified properties. + * TaskResourceAttributes defaults. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} defaults + * @memberof flyteidl.admin.TaskResourceAttributes + * @instance + */ + TaskResourceAttributes.prototype.defaults = null; + + /** + * TaskResourceAttributes limits. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} limits + * @memberof flyteidl.admin.TaskResourceAttributes + * @instance + */ + TaskResourceAttributes.prototype.limits = null; + + /** + * Creates a new TaskResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse instance + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes instance */ - LaunchPlanCreateResponse.create = function create(properties) { - return new LaunchPlanCreateResponse(properties); + TaskResourceAttributes.create = function create(properties) { + return new TaskResourceAttributes(properties); }; /** - * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. + * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.ILaunchPlanCreateResponse} message LaunchPlanCreateResponse 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 */ - LaunchPlanCreateResponse.encode = function encode(message, writer) { + TaskResourceAttributes.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(); return writer; }; /** - * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. + * Decodes a TaskResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @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.LaunchPlanCreateResponse} LaunchPlanCreateResponse + * @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 */ - LaunchPlanCreateResponse.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.LaunchPlanCreateResponse(); + 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.defaults = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); + break; + case 2: + message.limits = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -35389,56 +35509,51 @@ }; /** - * Verifies a LaunchPlanCreateResponse message. + * Verifies a TaskResourceAttributes message. * @function verify - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @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 */ - LaunchPlanCreateResponse.verify = function verify(message) { + TaskResourceAttributes.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 (error) + return "limits." + 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 TaskResourceAttributes; })(); - admin.LaunchPlan = (function() { + admin.ClusterResourceAttributes = (function() { /** - * Properties of a LaunchPlan. + * Properties of a ClusterResourceAttributes. * @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 IClusterResourceAttributes + * @property {Object.|null} [attributes] ClusterResourceAttributes attributes */ /** - * Constructs a new LaunchPlan. + * Constructs a new ClusterResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlan. - * @implements ILaunchPlan + * @classdesc Represents a ClusterResourceAttributes. + * @implements IClusterResourceAttributes * @constructor - * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set */ - function LaunchPlan(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) @@ -35446,88 +35561,68 @@ } /** - * 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 + * ClusterResourceAttributes attributes. + * @member {Object.} attributes + * @memberof flyteidl.admin.ClusterResourceAttributes * @instance */ - LaunchPlan.prototype.closure = null; + ClusterResourceAttributes.prototype.attributes = $util.emptyObject; /** - * Creates a new LaunchPlan instance using the specified properties. + * Creates a new ClusterResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlan + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlan} LaunchPlan instance + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes instance */ - LaunchPlan.create = function create(properties) { - return new LaunchPlan(properties); + ClusterResourceAttributes.create = function create(properties) { + return new ClusterResourceAttributes(properties); }; /** - * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. + * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlan + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.ILaunchPlan} message LaunchPlan 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 */ - LaunchPlan.encode = function encode(message, writer) { + ClusterResourceAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.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.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 LaunchPlan message from the specified reader or buffer. + * Decodes a ClusterResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlan + * @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.LaunchPlan} LaunchPlan + * @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 */ - LaunchPlan.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.LaunchPlan(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ClusterResourceAttributes(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.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()); + 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); @@ -35538,57 +35633,49 @@ }; /** - * Verifies a LaunchPlan message. + * Verifies a ClusterResourceAttributes message. * @function verify - * @memberof flyteidl.admin.LaunchPlan + * @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 */ - LaunchPlan.verify = function verify(message) { + ClusterResourceAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.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; + 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 LaunchPlan; + return ClusterResourceAttributes; })(); - admin.LaunchPlanList = (function() { + admin.ExecutionQueueAttributes = (function() { /** - * Properties of a LaunchPlanList. + * Properties of an ExecutionQueueAttributes. * @memberof flyteidl.admin - * @interface ILaunchPlanList - * @property {Array.|null} [launchPlans] LaunchPlanList launchPlans - * @property {string|null} [token] LaunchPlanList token + * @interface IExecutionQueueAttributes + * @property {Array.|null} [tags] ExecutionQueueAttributes tags */ /** - * Constructs a new LaunchPlanList. + * Constructs a new ExecutionQueueAttributes. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanList. - * @implements ILaunchPlanList + * @classdesc Represents an ExecutionQueueAttributes. + * @implements IExecutionQueueAttributes * @constructor - * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set */ - function LaunchPlanList(properties) { - this.launchPlans = []; + function ExecutionQueueAttributes(properties) { + this.tags = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35596,78 +35683,65 @@ } /** - * LaunchPlanList launchPlans. - * @member {Array.} launchPlans - * @memberof flyteidl.admin.LaunchPlanList - * @instance - */ - LaunchPlanList.prototype.launchPlans = $util.emptyArray; - - /** - * LaunchPlanList token. - * @member {string} token - * @memberof flyteidl.admin.LaunchPlanList + * ExecutionQueueAttributes tags. + * @member {Array.} tags + * @memberof flyteidl.admin.ExecutionQueueAttributes * @instance */ - LaunchPlanList.prototype.token = ""; + ExecutionQueueAttributes.prototype.tags = $util.emptyArray; /** - * Creates a new LaunchPlanList instance using the specified properties. + * Creates a new ExecutionQueueAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList instance + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes instance */ - LaunchPlanList.create = function create(properties) { - return new LaunchPlanList(properties); + ExecutionQueueAttributes.create = function create(properties) { + return new ExecutionQueueAttributes(properties); }; /** - * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. + * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.ILaunchPlanList} message LaunchPlanList 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 */ - LaunchPlanList.encode = function encode(message, writer) { + ExecutionQueueAttributes.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.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 LaunchPlanList message from the specified reader or buffer. + * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanList + * @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.LaunchPlanList} LaunchPlanList + * @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 */ - LaunchPlanList.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.LaunchPlanList(); + 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.launchPlans && message.launchPlans.length)) - message.launchPlans = []; - message.launchPlans.push($root.flyteidl.admin.LaunchPlan.decode(reader, reader.uint32())); - break; - case 2: - message.token = reader.string(); + if (!(message.tags && message.tags.length)) + message.tags = []; + message.tags.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -35678,53 +35752,47 @@ }; /** - * Verifies a LaunchPlanList message. + * Verifies an ExecutionQueueAttributes message. * @function verify - * @memberof flyteidl.admin.LaunchPlanList + * @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 */ - LaunchPlanList.verify = function verify(message) { + ExecutionQueueAttributes.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.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.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return LaunchPlanList; + return ExecutionQueueAttributes; })(); - admin.Auth = (function() { + admin.ExecutionClusterLabel = (function() { /** - * Properties of an Auth. + * Properties of an ExecutionClusterLabel. * @memberof flyteidl.admin - * @interface IAuth - * @property {string|null} [assumableIamRole] Auth assumableIamRole - * @property {string|null} [kubernetesServiceAccount] Auth kubernetesServiceAccount + * @interface IExecutionClusterLabel + * @property {string|null} [value] ExecutionClusterLabel value */ /** - * Constructs a new Auth. + * Constructs a new ExecutionClusterLabel. * @memberof flyteidl.admin - * @classdesc Represents an Auth. - * @implements IAuth + * @classdesc Represents an ExecutionClusterLabel. + * @implements IExecutionClusterLabel * @constructor - * @param {flyteidl.admin.IAuth=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set */ - function Auth(properties) { + function ExecutionClusterLabel(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35732,75 +35800,62 @@ } /** - * Auth assumableIamRole. - * @member {string} assumableIamRole - * @memberof flyteidl.admin.Auth - * @instance - */ - Auth.prototype.assumableIamRole = ""; - - /** - * Auth kubernetesServiceAccount. - * @member {string} kubernetesServiceAccount - * @memberof flyteidl.admin.Auth + * ExecutionClusterLabel value. + * @member {string} value + * @memberof flyteidl.admin.ExecutionClusterLabel * @instance */ - Auth.prototype.kubernetesServiceAccount = ""; + ExecutionClusterLabel.prototype.value = ""; /** - * Creates a new Auth instance using the specified properties. + * Creates a new ExecutionClusterLabel instance using the specified properties. * @function create - * @memberof flyteidl.admin.Auth + * @memberof flyteidl.admin.ExecutionClusterLabel * @static - * @param {flyteidl.admin.IAuth=} [properties] Properties to set - * @returns {flyteidl.admin.Auth} Auth instance + * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel instance */ - Auth.create = function create(properties) { - return new Auth(properties); + ExecutionClusterLabel.create = function create(properties) { + return new ExecutionClusterLabel(properties); }; /** - * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. + * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Auth + * @memberof flyteidl.admin.ExecutionClusterLabel * @static - * @param {flyteidl.admin.IAuth} message Auth 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 */ - Auth.encode = function encode(message, writer) { + ExecutionClusterLabel.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.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); return writer; }; /** - * Decodes an Auth message from the specified reader or buffer. + * Decodes an ExecutionClusterLabel message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Auth + * @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.Auth} Auth + * @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 */ - Auth.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.Auth(); + 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.assumableIamRole = reader.string(); - break; - case 2: - message.kubernetesServiceAccount = reader.string(); + message.value = reader.string(); break; default: reader.skipType(tag & 7); @@ -35811,61 +35866,46 @@ }; /** - * Verifies an Auth message. + * Verifies an ExecutionClusterLabel message. * @function verify - * @memberof flyteidl.admin.Auth + * @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 */ - Auth.verify = function verify(message) { + ExecutionClusterLabel.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.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; return null; }; - return Auth; + return ExecutionClusterLabel; })(); - admin.LaunchPlanSpec = (function() { + admin.PluginOverride = (function() { /** - * Properties of a LaunchPlanSpec. + * Properties of a PluginOverride. * @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 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 LaunchPlanSpec. + * Constructs a new PluginOverride. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanSpec. - * @implements ILaunchPlanSpec + * @classdesc Represents a PluginOverride. + * @implements IPluginOverride * @constructor - * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set + * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set */ - function LaunchPlanSpec(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) @@ -35873,257 +35913,234 @@ } /** - * LaunchPlanSpec workflowId. - * @member {flyteidl.core.IIdentifier|null|undefined} workflowId - * @memberof flyteidl.admin.LaunchPlanSpec + * PluginOverride taskType. + * @member {string} taskType + * @memberof flyteidl.admin.PluginOverride * @instance */ - LaunchPlanSpec.prototype.workflowId = null; + PluginOverride.prototype.taskType = ""; /** - * LaunchPlanSpec entityMetadata. - * @member {flyteidl.admin.ILaunchPlanMetadata|null|undefined} entityMetadata - * @memberof flyteidl.admin.LaunchPlanSpec + * PluginOverride pluginId. + * @member {Array.} pluginId + * @memberof flyteidl.admin.PluginOverride * @instance */ - LaunchPlanSpec.prototype.entityMetadata = null; + PluginOverride.prototype.pluginId = $util.emptyArray; /** - * LaunchPlanSpec defaultInputs. - * @member {flyteidl.core.IParameterMap|null|undefined} defaultInputs - * @memberof flyteidl.admin.LaunchPlanSpec + * PluginOverride missingPluginBehavior. + * @member {flyteidl.admin.PluginOverride.MissingPluginBehavior} missingPluginBehavior + * @memberof flyteidl.admin.PluginOverride * @instance */ - LaunchPlanSpec.prototype.defaultInputs = null; + PluginOverride.prototype.missingPluginBehavior = 0; /** - * LaunchPlanSpec fixedInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fixedInputs - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Creates a new PluginOverride instance using the specified properties. + * @function create + * @memberof flyteidl.admin.PluginOverride + * @static + * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set + * @returns {flyteidl.admin.PluginOverride} PluginOverride instance */ - LaunchPlanSpec.prototype.fixedInputs = null; + PluginOverride.create = function create(properties) { + return new PluginOverride(properties); + }; /** - * LaunchPlanSpec role. - * @member {string} role - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.PluginOverride + * @static + * @param {flyteidl.admin.IPluginOverride} message PluginOverride message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - LaunchPlanSpec.prototype.role = ""; + PluginOverride.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); + return writer; + }; /** - * LaunchPlanSpec labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Decodes a PluginOverride message from the specified reader or buffer. + * @function decode + * @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.PluginOverride} PluginOverride + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanSpec.prototype.labels = null; + 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.PluginOverride(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskType = reader.string(); + break; + case 2: + if (!(message.pluginId && message.pluginId.length)) + message.pluginId = []; + message.pluginId.push(reader.string()); + break; + case 4: + message.missingPluginBehavior = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * LaunchPlanSpec annotations. - * @member {flyteidl.admin.IAnnotations|null|undefined} annotations - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.annotations = null; - - /** - * LaunchPlanSpec auth. - * @member {flyteidl.admin.IAuth|null|undefined} auth - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.auth = null; - - /** - * LaunchPlanSpec authRole. - * @member {flyteidl.admin.IAuthRole|null|undefined} authRole - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.authRole = null; - - /** - * LaunchPlanSpec securityContext. - * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Verifies a PluginOverride message. + * @function verify + * @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 */ - LaunchPlanSpec.prototype.securityContext = null; + PluginOverride.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) { + default: + return "missingPluginBehavior: enum value expected"; + case 0: + case 1: + break; + } + return null; + }; /** - * LaunchPlanSpec qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * MissingPluginBehavior enum. + * @name flyteidl.admin.PluginOverride.MissingPluginBehavior + * @enum {string} + * @property {number} FAIL=0 FAIL value + * @property {number} USE_DEFAULT=1 USE_DEFAULT value */ - LaunchPlanSpec.prototype.qualityOfService = null; + PluginOverride.MissingPluginBehavior = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "FAIL"] = 0; + values[valuesById[1] = "USE_DEFAULT"] = 1; + return values; + })(); - /** - * LaunchPlanSpec rawOutputDataConfig. - * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.rawOutputDataConfig = null; + return PluginOverride; + })(); - /** - * LaunchPlanSpec maxParallelism. - * @member {number} maxParallelism - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.maxParallelism = 0; + admin.PluginOverrides = (function() { /** - * LaunchPlanSpec interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Properties of a PluginOverrides. + * @memberof flyteidl.admin + * @interface IPluginOverrides + * @property {Array.|null} [overrides] PluginOverrides overrides */ - LaunchPlanSpec.prototype.interruptible = null; /** - * LaunchPlanSpec overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance + * Constructs a new PluginOverrides. + * @memberof flyteidl.admin + * @classdesc Represents a PluginOverrides. + * @implements IPluginOverrides + * @constructor + * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set */ - LaunchPlanSpec.prototype.overwriteCache = false; + function PluginOverrides(properties) { + this.overrides = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } /** - * LaunchPlanSpec envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.LaunchPlanSpec + * PluginOverrides overrides. + * @member {Array.} overrides + * @memberof flyteidl.admin.PluginOverrides * @instance */ - LaunchPlanSpec.prototype.envs = null; + PluginOverrides.prototype.overrides = $util.emptyArray; /** - * Creates a new LaunchPlanSpec instance using the specified properties. + * Creates a new PluginOverrides instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanSpec + * @memberof flyteidl.admin.PluginOverrides * @static - * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec instance + * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set + * @returns {flyteidl.admin.PluginOverrides} PluginOverrides instance */ - LaunchPlanSpec.create = function create(properties) { - return new LaunchPlanSpec(properties); + PluginOverrides.create = function create(properties) { + return new PluginOverrides(properties); }; /** - * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. + * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanSpec + * @memberof flyteidl.admin.PluginOverrides * @static - * @param {flyteidl.admin.ILaunchPlanSpec} message LaunchPlanSpec 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 */ - LaunchPlanSpec.encode = function encode(message, writer) { + PluginOverrides.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.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 LaunchPlanSpec message from the specified reader or buffer. + * Decodes a PluginOverrides message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanSpec + * @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.LaunchPlanSpec} LaunchPlanSpec + * @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 */ - LaunchPlanSpec.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.LaunchPlanSpec(); + 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.workflowId = $root.flyteidl.core.Identifier.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()); + 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); @@ -36134,118 +36151,56 @@ }; /** - * Verifies a LaunchPlanSpec message. + * Verifies a PluginOverrides message. * @function verify - * @memberof flyteidl.admin.LaunchPlanSpec + * @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 */ - LaunchPlanSpec.verify = function verify(message) { + PluginOverrides.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 (error) - return "envs." + 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 LaunchPlanSpec; + return PluginOverrides; })(); - admin.LaunchPlanClosure = (function() { + admin.WorkflowExecutionConfig = (function() { /** - * Properties of a LaunchPlanClosure. + * Properties of a WorkflowExecutionConfig. * @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 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 LaunchPlanClosure. + * Constructs a new WorkflowExecutionConfig. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanClosure. - * @implements ILaunchPlanClosure + * @classdesc Represents a WorkflowExecutionConfig. + * @implements IWorkflowExecutionConfig * @constructor - * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set */ - function LaunchPlanClosure(properties) { + function WorkflowExecutionConfig(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36253,114 +36208,153 @@ } /** - * LaunchPlanClosure state. - * @member {flyteidl.admin.LaunchPlanState} state - * @memberof flyteidl.admin.LaunchPlanClosure + * WorkflowExecutionConfig maxParallelism. + * @member {number} maxParallelism + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - LaunchPlanClosure.prototype.state = 0; + WorkflowExecutionConfig.prototype.maxParallelism = 0; /** - * LaunchPlanClosure expectedInputs. - * @member {flyteidl.core.IParameterMap|null|undefined} expectedInputs - * @memberof flyteidl.admin.LaunchPlanClosure + * WorkflowExecutionConfig securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - LaunchPlanClosure.prototype.expectedInputs = null; + WorkflowExecutionConfig.prototype.securityContext = null; /** - * LaunchPlanClosure expectedOutputs. - * @member {flyteidl.core.IVariableMap|null|undefined} expectedOutputs - * @memberof flyteidl.admin.LaunchPlanClosure + * WorkflowExecutionConfig rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - LaunchPlanClosure.prototype.expectedOutputs = null; + WorkflowExecutionConfig.prototype.rawOutputDataConfig = null; /** - * LaunchPlanClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.LaunchPlanClosure + * WorkflowExecutionConfig labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - LaunchPlanClosure.prototype.createdAt = null; + WorkflowExecutionConfig.prototype.labels = null; /** - * LaunchPlanClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.LaunchPlanClosure + * WorkflowExecutionConfig annotations. + * @member {flyteidl.admin.IAnnotations|null|undefined} annotations + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - LaunchPlanClosure.prototype.updatedAt = null; + WorkflowExecutionConfig.prototype.annotations = null; /** - * Creates a new LaunchPlanClosure instance using the specified properties. + * 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.LaunchPlanClosure + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static - * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure instance + * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig instance */ - LaunchPlanClosure.create = function create(properties) { - return new LaunchPlanClosure(properties); + WorkflowExecutionConfig.create = function create(properties) { + return new WorkflowExecutionConfig(properties); }; /** - * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. + * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanClosure + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static - * @param {flyteidl.admin.ILaunchPlanClosure} message LaunchPlanClosure 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 */ - LaunchPlanClosure.encode = function encode(message, writer) { + WorkflowExecutionConfig.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.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 LaunchPlanClosure message from the specified reader or buffer. + * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanClosure + * @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.LaunchPlanClosure} LaunchPlanClosure + * @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 */ - LaunchPlanClosure.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.LaunchPlanClosure(); + 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.state = reader.int32(); + message.maxParallelism = reader.int32(); break; case 2: - message.expectedInputs = $root.flyteidl.core.ParameterMap.decode(reader, reader.uint32()); + message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); break; case 3: - message.expectedOutputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); + message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); break; case 4: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); break; case 5: - message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + 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); @@ -36371,71 +36365,83 @@ }; /** - * Verifies a LaunchPlanClosure message. + * Verifies a WorkflowExecutionConfig message. * @function verify - * @memberof flyteidl.admin.LaunchPlanClosure + * @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 */ - LaunchPlanClosure.verify = function verify(message) { + WorkflowExecutionConfig.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 (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 "expectedInputs." + error; + return "securityContext." + error; } - if (message.expectedOutputs != null && message.hasOwnProperty("expectedOutputs")) { - var error = $root.flyteidl.core.VariableMap.verify(message.expectedOutputs); + if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { + var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); if (error) - return "expectedOutputs." + error; + return "rawOutputDataConfig." + error; } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); if (error) - return "createdAt." + error; + return "labels." + error; } - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (message.annotations != null && message.hasOwnProperty("annotations")) { + var error = $root.flyteidl.admin.Annotations.verify(message.annotations); if (error) - return "updatedAt." + 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 LaunchPlanClosure; + return WorkflowExecutionConfig; })(); - admin.LaunchPlanMetadata = (function() { + admin.MatchingAttributes = (function() { /** - * Properties of a LaunchPlanMetadata. + * Properties of a MatchingAttributes. * @memberof flyteidl.admin - * @interface ILaunchPlanMetadata - * @property {flyteidl.admin.ISchedule|null} [schedule] LaunchPlanMetadata schedule - * @property {Array.|null} [notifications] LaunchPlanMetadata notifications - * @property {google.protobuf.IAny|null} [launchConditions] LaunchPlanMetadata launchConditions + * @interface 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 LaunchPlanMetadata. + * Constructs a new MatchingAttributes. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanMetadata. - * @implements ILaunchPlanMetadata + * @classdesc Represents a MatchingAttributes. + * @implements IMatchingAttributes * @constructor - * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set */ - function LaunchPlanMetadata(properties) { - this.notifications = []; + function MatchingAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36443,91 +36449,167 @@ } /** - * LaunchPlanMetadata schedule. - * @member {flyteidl.admin.ISchedule|null|undefined} schedule - * @memberof flyteidl.admin.LaunchPlanMetadata + * MatchingAttributes taskResourceAttributes. + * @member {flyteidl.admin.ITaskResourceAttributes|null|undefined} taskResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - LaunchPlanMetadata.prototype.schedule = null; + MatchingAttributes.prototype.taskResourceAttributes = null; /** - * LaunchPlanMetadata notifications. - * @member {Array.} notifications - * @memberof flyteidl.admin.LaunchPlanMetadata + * MatchingAttributes clusterResourceAttributes. + * @member {flyteidl.admin.IClusterResourceAttributes|null|undefined} clusterResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - LaunchPlanMetadata.prototype.notifications = $util.emptyArray; + MatchingAttributes.prototype.clusterResourceAttributes = null; /** - * LaunchPlanMetadata launchConditions. - * @member {google.protobuf.IAny|null|undefined} launchConditions - * @memberof flyteidl.admin.LaunchPlanMetadata + * MatchingAttributes executionQueueAttributes. + * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - LaunchPlanMetadata.prototype.launchConditions = null; + MatchingAttributes.prototype.executionQueueAttributes = null; /** - * Creates a new LaunchPlanMetadata instance using the specified properties. + * MatchingAttributes executionClusterLabel. + * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + MatchingAttributes.prototype.executionClusterLabel = null; + + /** + * MatchingAttributes qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + MatchingAttributes.prototype.qualityOfService = null; + + /** + * 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.LaunchPlanMetadata + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata instance + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes instance */ - LaunchPlanMetadata.create = function create(properties) { - return new LaunchPlanMetadata(properties); + MatchingAttributes.create = function create(properties) { + return new MatchingAttributes(properties); }; /** - * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. + * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanMetadata + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.ILaunchPlanMetadata} message LaunchPlanMetadata 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 */ - LaunchPlanMetadata.encode = function encode(message, writer) { + MatchingAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.schedule != null && message.hasOwnProperty("schedule")) - $root.flyteidl.admin.Schedule.encode(message.schedule, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.notifications != null && message.notifications.length) - for (var i = 0; i < message.notifications.length; ++i) - $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) - $root.google.protobuf.Any.encode(message.launchConditions, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.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 LaunchPlanMetadata message from the specified reader or buffer. + * Decodes a MatchingAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanMetadata + * @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.LaunchPlanMetadata} LaunchPlanMetadata + * @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 */ - LaunchPlanMetadata.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.LaunchPlanMetadata(); + 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.schedule = $root.flyteidl.admin.Schedule.decode(reader, reader.uint32()); + message.taskResourceAttributes = $root.flyteidl.admin.TaskResourceAttributes.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.clusterResourceAttributes = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32()); break; case 3: - message.launchConditions = $root.google.protobuf.Any.decode(reader, reader.uint32()); + message.executionQueueAttributes = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32()); + break; + case 4: + message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); + 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()); break; default: reader.skipType(tag & 7); @@ -36538,60 +36620,124 @@ }; /** - * Verifies a LaunchPlanMetadata message. + * Verifies a MatchingAttributes message. * @function verify - * @memberof flyteidl.admin.LaunchPlanMetadata + * @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 */ - LaunchPlanMetadata.verify = function verify(message) { + MatchingAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.schedule != null && message.hasOwnProperty("schedule")) { - var error = $root.flyteidl.admin.Schedule.verify(message.schedule); - if (error) - return "schedule." + error; - } - if (message.notifications != null && message.hasOwnProperty("notifications")) { - if (!Array.isArray(message.notifications)) - return "notifications: array expected"; - for (var i = 0; i < message.notifications.length; ++i) { - var error = $root.flyteidl.admin.Notification.verify(message.notifications[i]); + var properties = {}; + if (message.taskResourceAttributes != null && message.hasOwnProperty("taskResourceAttributes")) { + properties.target = 1; + { + var error = $root.flyteidl.admin.TaskResourceAttributes.verify(message.taskResourceAttributes); if (error) - return "notifications." + error; + return "taskResourceAttributes." + error; } } - if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) { - var error = $root.google.protobuf.Any.verify(message.launchConditions); - if (error) - return "launchConditions." + 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; + } } - return null; - }; - - return LaunchPlanMetadata; + 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 MatchingAttributes; })(); - admin.LaunchPlanUpdateRequest = (function() { + admin.MatchableAttributesConfiguration = (function() { /** - * Properties of a LaunchPlanUpdateRequest. + * Properties of a MatchableAttributesConfiguration. * @memberof flyteidl.admin - * @interface ILaunchPlanUpdateRequest - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanUpdateRequest id - * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanUpdateRequest state + * @interface IMatchableAttributesConfiguration + * @property {flyteidl.admin.IMatchingAttributes|null} [attributes] MatchableAttributesConfiguration attributes + * @property {string|null} [domain] MatchableAttributesConfiguration domain + * @property {string|null} [project] MatchableAttributesConfiguration project + * @property {string|null} [workflow] MatchableAttributesConfiguration workflow + * @property {string|null} [launchPlan] MatchableAttributesConfiguration launchPlan + * @property {string|null} [org] MatchableAttributesConfiguration org */ /** - * Constructs a new LaunchPlanUpdateRequest. + * Constructs a new MatchableAttributesConfiguration. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanUpdateRequest. - * @implements ILaunchPlanUpdateRequest + * @classdesc Represents a MatchableAttributesConfiguration. + * @implements IMatchableAttributesConfiguration * @constructor - * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set */ - function LaunchPlanUpdateRequest(properties) { + function MatchableAttributesConfiguration(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36599,75 +36745,127 @@ } /** - * LaunchPlanUpdateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * MatchableAttributesConfiguration attributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} attributes + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @instance */ - LaunchPlanUpdateRequest.prototype.id = null; + MatchableAttributesConfiguration.prototype.attributes = null; /** - * LaunchPlanUpdateRequest state. - * @member {flyteidl.admin.LaunchPlanState} state - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * MatchableAttributesConfiguration domain. + * @member {string} domain + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @instance */ - LaunchPlanUpdateRequest.prototype.state = 0; + MatchableAttributesConfiguration.prototype.domain = ""; /** - * Creates a new LaunchPlanUpdateRequest instance using the specified properties. + * MatchableAttributesConfiguration project. + * @member {string} project + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.project = ""; + + /** + * MatchableAttributesConfiguration workflow. + * @member {string} workflow + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.workflow = ""; + + /** + * MatchableAttributesConfiguration launchPlan. + * @member {string} launchPlan + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.launchPlan = ""; + + /** + * MatchableAttributesConfiguration org. + * @member {string} org + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.org = ""; + + /** + * Creates a new MatchableAttributesConfiguration instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @static - * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest instance + * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set + * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration instance */ - LaunchPlanUpdateRequest.create = function create(properties) { - return new LaunchPlanUpdateRequest(properties); + MatchableAttributesConfiguration.create = function create(properties) { + return new MatchableAttributesConfiguration(properties); }; /** - * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. + * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @static - * @param {flyteidl.admin.ILaunchPlanUpdateRequest} message LaunchPlanUpdateRequest message or plain object to encode + * @param {flyteidl.admin.IMatchableAttributesConfiguration} message MatchableAttributesConfiguration message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanUpdateRequest.encode = function encode(message, writer) { + MatchableAttributesConfiguration.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.state != null && message.hasOwnProperty("state")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.state); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.project); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.workflow); + if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.launchPlan); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); return writer; }; /** - * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. + * Decodes a MatchableAttributesConfiguration message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @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.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest + * @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 */ - LaunchPlanUpdateRequest.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.LaunchPlanUpdateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.MatchableAttributesConfiguration(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.attributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); break; case 2: - message.state = reader.int32(); + message.domain = reader.string(); + break; + case 3: + message.project = reader.string(); + break; + case 4: + message.workflow = reader.string(); + break; + case 5: + message.launchPlan = reader.string(); + break; + case 6: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -36678,52 +36876,61 @@ }; /** - * Verifies a LaunchPlanUpdateRequest message. + * Verifies a MatchableAttributesConfiguration message. * @function verify - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @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 */ - LaunchPlanUpdateRequest.verify = function verify(message) { + MatchableAttributesConfiguration.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.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.MatchingAttributes.verify(message.attributes); if (error) - return "id." + error; + return "attributes." + error; } - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { - default: - return "state: enum value expected"; - case 0: - case 1: - break; - } + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) + if (!$util.isString(message.launchPlan)) + return "launchPlan: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return LaunchPlanUpdateRequest; + return MatchableAttributesConfiguration; })(); - admin.LaunchPlanUpdateResponse = (function() { + admin.ListMatchableAttributesRequest = (function() { /** - * Properties of a LaunchPlanUpdateResponse. + * Properties of a ListMatchableAttributesRequest. * @memberof flyteidl.admin - * @interface ILaunchPlanUpdateResponse + * @interface IListMatchableAttributesRequest + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ListMatchableAttributesRequest resourceType + * @property {string|null} [org] ListMatchableAttributesRequest org */ /** - * Constructs a new LaunchPlanUpdateResponse. + * Constructs a new ListMatchableAttributesRequest. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanUpdateResponse. - * @implements ILaunchPlanUpdateResponse + * @classdesc Represents a ListMatchableAttributesRequest. + * @implements IListMatchableAttributesRequest * @constructor - * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set */ - function LaunchPlanUpdateResponse(properties) { + function ListMatchableAttributesRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36731,50 +36938,76 @@ } /** - * Creates a new LaunchPlanUpdateResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * ListMatchableAttributesRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @instance + */ + ListMatchableAttributesRequest.prototype.resourceType = 0; + + /** + * ListMatchableAttributesRequest org. + * @member {string} org + * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @instance + */ + ListMatchableAttributesRequest.prototype.org = ""; + + /** + * Creates a new ListMatchableAttributesRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static - * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse instance + * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest instance */ - LaunchPlanUpdateResponse.create = function create(properties) { - return new LaunchPlanUpdateResponse(properties); + ListMatchableAttributesRequest.create = function create(properties) { + return new ListMatchableAttributesRequest(properties); }; /** - * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. + * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static - * @param {flyteidl.admin.ILaunchPlanUpdateResponse} message LaunchPlanUpdateResponse 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 */ - LaunchPlanUpdateResponse.encode = function encode(message, writer) { + ListMatchableAttributesRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); return writer; }; /** - * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. + * Decodes a ListMatchableAttributesRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @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.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse + * @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 */ - LaunchPlanUpdateResponse.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.LaunchPlanUpdateResponse(); + 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.resourceType = reader.int32(); + break; + case 2: + message.org = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -36784,40 +37017,58 @@ }; /** - * Verifies a LaunchPlanUpdateResponse message. + * Verifies a ListMatchableAttributesRequest message. * @function verify - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @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 */ - LaunchPlanUpdateResponse.verify = function verify(message) { + ListMatchableAttributesRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return LaunchPlanUpdateResponse; + return ListMatchableAttributesRequest; })(); - admin.ActiveLaunchPlanRequest = (function() { + admin.ListMatchableAttributesResponse = (function() { /** - * Properties of an ActiveLaunchPlanRequest. + * Properties of a ListMatchableAttributesResponse. * @memberof flyteidl.admin - * @interface IActiveLaunchPlanRequest - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ActiveLaunchPlanRequest id + * @interface IListMatchableAttributesResponse + * @property {Array.|null} [configurations] ListMatchableAttributesResponse configurations */ /** - * Constructs a new ActiveLaunchPlanRequest. + * Constructs a new ListMatchableAttributesResponse. * @memberof flyteidl.admin - * @classdesc Represents an ActiveLaunchPlanRequest. - * @implements IActiveLaunchPlanRequest + * @classdesc Represents a ListMatchableAttributesResponse. + * @implements IListMatchableAttributesResponse * @constructor - * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set + * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set */ - function ActiveLaunchPlanRequest(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) @@ -36825,62 +37076,65 @@ } /** - * ActiveLaunchPlanRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * ListMatchableAttributesResponse configurations. + * @member {Array.} configurations + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @instance */ - ActiveLaunchPlanRequest.prototype.id = null; + ListMatchableAttributesResponse.prototype.configurations = $util.emptyArray; /** - * Creates a new ActiveLaunchPlanRequest instance using the specified properties. + * Creates a new ListMatchableAttributesResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static - * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest instance + * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse instance */ - ActiveLaunchPlanRequest.create = function create(properties) { - return new ActiveLaunchPlanRequest(properties); + ListMatchableAttributesResponse.create = function create(properties) { + return new ListMatchableAttributesResponse(properties); }; /** - * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. + * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static - * @param {flyteidl.admin.IActiveLaunchPlanRequest} message ActiveLaunchPlanRequest 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 */ - ActiveLaunchPlanRequest.encode = function encode(message, writer) { + ListMatchableAttributesResponse.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.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 an ActiveLaunchPlanRequest message from the specified reader or buffer. + * Decodes a ListMatchableAttributesResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @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.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest + * @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 */ - ActiveLaunchPlanRequest.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.ActiveLaunchPlanRequest(); + 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.id = $root.flyteidl.admin.NamedEntityIdentifier.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); @@ -36891,50 +37145,50 @@ }; /** - * Verifies an ActiveLaunchPlanRequest message. + * Verifies a ListMatchableAttributesResponse message. * @function verify - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @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 */ - ActiveLaunchPlanRequest.verify = function verify(message) { + ListMatchableAttributesResponse.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.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 ActiveLaunchPlanRequest; + return ListMatchableAttributesResponse; })(); - admin.ActiveLaunchPlanListRequest = (function() { + admin.LaunchPlanCreateRequest = (function() { /** - * Properties of an ActiveLaunchPlanListRequest. + * Properties of a LaunchPlanCreateRequest. * @memberof flyteidl.admin - * @interface IActiveLaunchPlanListRequest - * @property {string|null} [project] ActiveLaunchPlanListRequest project - * @property {string|null} [domain] ActiveLaunchPlanListRequest domain - * @property {number|null} [limit] ActiveLaunchPlanListRequest limit - * @property {string|null} [token] ActiveLaunchPlanListRequest token - * @property {flyteidl.admin.ISort|null} [sortBy] ActiveLaunchPlanListRequest sortBy - * @property {string|null} [org] ActiveLaunchPlanListRequest org + * @interface ILaunchPlanCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id + * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec */ /** - * Constructs a new ActiveLaunchPlanListRequest. + * Constructs a new LaunchPlanCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents an ActiveLaunchPlanListRequest. - * @implements IActiveLaunchPlanListRequest + * @classdesc Represents a LaunchPlanCreateRequest. + * @implements ILaunchPlanCreateRequest * @constructor - * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set */ - function ActiveLaunchPlanListRequest(properties) { + function LaunchPlanCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36942,127 +37196,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 - * @instance - */ - ActiveLaunchPlanListRequest.prototype.token = ""; - - /** - * ActiveLaunchPlanListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * LaunchPlanCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @instance */ - ActiveLaunchPlanListRequest.prototype.sortBy = null; + LaunchPlanCreateRequest.prototype.id = null; /** - * ActiveLaunchPlanListRequest org. - * @member {string} org - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * LaunchPlanCreateRequest spec. + * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @instance */ - ActiveLaunchPlanListRequest.prototype.org = ""; + LaunchPlanCreateRequest.prototype.spec = null; /** - * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. + * Creates a new LaunchPlanCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @static - * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest instance + * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest instance */ - ActiveLaunchPlanListRequest.create = function create(properties) { - return new ActiveLaunchPlanListRequest(properties); + LaunchPlanCreateRequest.create = function create(properties) { + return new LaunchPlanCreateRequest(properties); }; /** - * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. + * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @static - * @param {flyteidl.admin.IActiveLaunchPlanListRequest} message ActiveLaunchPlanListRequest 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 */ - ActiveLaunchPlanListRequest.encode = function encode(message, writer) { + LaunchPlanCreateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); + if (message.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 an ActiveLaunchPlanListRequest message from the specified reader or buffer. + * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @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.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest + * @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 */ - ActiveLaunchPlanListRequest.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.ActiveLaunchPlanListRequest(); + 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.project = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); - break; - case 3: - message.limit = reader.uint32(); - break; - case 4: - message.token = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; - case 6: - message.org = reader.string(); + message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -37073,77 +37275,49 @@ }; /** - * Verifies an ActiveLaunchPlanListRequest message. + * Verifies a LaunchPlanCreateRequest message. * @function verify - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @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 */ - ActiveLaunchPlanListRequest.verify = function verify(message) { + LaunchPlanCreateRequest.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.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "sortBy." + 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.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return ActiveLaunchPlanListRequest; - })(); - - /** - * FixedRateUnit enum. - * @name flyteidl.admin.FixedRateUnit - * @enum {string} - * @property {number} MINUTE=0 MINUTE value - * @property {number} HOUR=1 HOUR value - * @property {number} DAY=2 DAY value - */ - admin.FixedRateUnit = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "MINUTE"] = 0; - values[valuesById[1] = "HOUR"] = 1; - values[valuesById[2] = "DAY"] = 2; - return values; + return LaunchPlanCreateRequest; })(); - admin.FixedRate = (function() { + admin.LaunchPlanCreateResponse = (function() { /** - * Properties of a FixedRate. + * Properties of a LaunchPlanCreateResponse. * @memberof flyteidl.admin - * @interface IFixedRate - * @property {number|null} [value] FixedRate value - * @property {flyteidl.admin.FixedRateUnit|null} [unit] FixedRate unit + * @interface ILaunchPlanCreateResponse */ /** - * Constructs a new FixedRate. + * Constructs a new LaunchPlanCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a FixedRate. - * @implements IFixedRate + * @classdesc Represents a LaunchPlanCreateResponse. + * @implements ILaunchPlanCreateResponse * @constructor - * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set */ - function FixedRate(properties) { + function LaunchPlanCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37151,76 +37325,50 @@ } /** - * FixedRate value. - * @member {number} value - * @memberof flyteidl.admin.FixedRate - * @instance - */ - FixedRate.prototype.value = 0; - - /** - * FixedRate unit. - * @member {flyteidl.admin.FixedRateUnit} unit - * @memberof flyteidl.admin.FixedRate - * @instance - */ - FixedRate.prototype.unit = 0; - - /** - * Creates a new FixedRate instance using the specified properties. + * Creates a new LaunchPlanCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.FixedRate + * @memberof flyteidl.admin.LaunchPlanCreateResponse * @static - * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set - * @returns {flyteidl.admin.FixedRate} FixedRate instance + * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse instance */ - FixedRate.create = function create(properties) { - return new FixedRate(properties); + LaunchPlanCreateResponse.create = function create(properties) { + return new LaunchPlanCreateResponse(properties); }; /** - * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. + * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.FixedRate + * @memberof flyteidl.admin.LaunchPlanCreateResponse * @static - * @param {flyteidl.admin.IFixedRate} message FixedRate 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 */ - FixedRate.encode = function encode(message, writer) { + LaunchPlanCreateResponse.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; }; /** - * Decodes a FixedRate message from the specified reader or buffer. + * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.FixedRate + * @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.FixedRate} FixedRate + * @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 */ - FixedRate.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.FixedRate(); + 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.value = reader.uint32(); - break; - case 2: - message.unit = reader.int32(); - break; default: reader.skipType(tag & 7); break; @@ -37230,53 +37378,56 @@ }; /** - * Verifies a FixedRate message. + * Verifies a LaunchPlanCreateResponse message. * @function verify - * @memberof flyteidl.admin.FixedRate + * @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 */ - FixedRate.verify = function verify(message) { + LaunchPlanCreateResponse.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; }; - return FixedRate; + return LaunchPlanCreateResponse; })(); - admin.CronSchedule = (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 CronSchedule. + * Properties of a LaunchPlan. * @memberof flyteidl.admin - * @interface ICronSchedule - * @property {string|null} [schedule] CronSchedule schedule - * @property {string|null} [offset] CronSchedule offset + * @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 CronSchedule. + * Constructs a new LaunchPlan. * @memberof flyteidl.admin - * @classdesc Represents a CronSchedule. - * @implements ICronSchedule + * @classdesc Represents a LaunchPlan. + * @implements ILaunchPlan * @constructor - * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set */ - function CronSchedule(properties) { + function LaunchPlan(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37284,75 +37435,88 @@ } /** - * CronSchedule schedule. - * @member {string} schedule - * @memberof flyteidl.admin.CronSchedule + * LaunchPlan id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlan * @instance */ - CronSchedule.prototype.schedule = ""; + LaunchPlan.prototype.id = null; /** - * CronSchedule offset. - * @member {string} offset - * @memberof flyteidl.admin.CronSchedule + * LaunchPlan spec. + * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec + * @memberof flyteidl.admin.LaunchPlan * @instance */ - CronSchedule.prototype.offset = ""; + LaunchPlan.prototype.spec = null; /** - * Creates a new CronSchedule instance using the specified properties. - * @function create - * @memberof flyteidl.admin.CronSchedule - * @static - * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set - * @returns {flyteidl.admin.CronSchedule} CronSchedule instance + * LaunchPlan closure. + * @member {flyteidl.admin.ILaunchPlanClosure|null|undefined} closure + * @memberof flyteidl.admin.LaunchPlan + * @instance */ - CronSchedule.create = function create(properties) { - return new CronSchedule(properties); - }; + LaunchPlan.prototype.closure = null; /** - * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.CronSchedule + * Creates a new LaunchPlan instance using the specified properties. + * @function create + * @memberof flyteidl.admin.LaunchPlan * @static - * @param {flyteidl.admin.ICronSchedule} message CronSchedule message or plain object to encode + * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlan} LaunchPlan instance + */ + LaunchPlan.create = function create(properties) { + return new LaunchPlan(properties); + }; + + /** + * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.LaunchPlan + * @static + * @param {flyteidl.admin.ILaunchPlan} message LaunchPlan message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CronSchedule.encode = function encode(message, writer) { + LaunchPlan.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.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 CronSchedule message from the specified reader or buffer. + * Decodes a LaunchPlan message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.CronSchedule + * @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.CronSchedule} CronSchedule + * @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 */ - CronSchedule.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.CronSchedule(); + 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.schedule = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.offset = reader.string(); + message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); + break; + case 3: + message.closure = $root.flyteidl.admin.LaunchPlanClosure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -37363,49 +37527,57 @@ }; /** - * Verifies a CronSchedule message. + * Verifies a LaunchPlan message. * @function verify - * @memberof flyteidl.admin.CronSchedule + * @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 */ - CronSchedule.verify = function verify(message) { + LaunchPlan.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.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 CronSchedule; + return LaunchPlan; })(); - admin.Schedule = (function() { + admin.LaunchPlanList = (function() { /** - * Properties of a Schedule. + * Properties of a LaunchPlanList. * @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 ILaunchPlanList + * @property {Array.|null} [launchPlans] LaunchPlanList launchPlans + * @property {string|null} [token] LaunchPlanList token */ /** - * Constructs a new Schedule. + * Constructs a new LaunchPlanList. * @memberof flyteidl.admin - * @classdesc Represents a Schedule. - * @implements ISchedule + * @classdesc Represents a LaunchPlanList. + * @implements ILaunchPlanList * @constructor - * @param {flyteidl.admin.ISchedule=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set */ - function Schedule(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) @@ -37413,115 +37585,78 @@ } /** - * Schedule cronExpression. - * @member {string} cronExpression - * @memberof flyteidl.admin.Schedule - * @instance - */ - Schedule.prototype.cronExpression = ""; - - /** - * Schedule rate. - * @member {flyteidl.admin.IFixedRate|null|undefined} rate - * @memberof flyteidl.admin.Schedule - * @instance - */ - Schedule.prototype.rate = null; - - /** - * Schedule cronSchedule. - * @member {flyteidl.admin.ICronSchedule|null|undefined} cronSchedule - * @memberof flyteidl.admin.Schedule - * @instance - */ - Schedule.prototype.cronSchedule = null; - - /** - * Schedule kickoffTimeInputArg. - * @member {string} kickoffTimeInputArg - * @memberof flyteidl.admin.Schedule + * LaunchPlanList launchPlans. + * @member {Array.} launchPlans + * @memberof flyteidl.admin.LaunchPlanList * @instance */ - Schedule.prototype.kickoffTimeInputArg = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + LaunchPlanList.prototype.launchPlans = $util.emptyArray; /** - * Schedule ScheduleExpression. - * @member {"cronExpression"|"rate"|"cronSchedule"|undefined} ScheduleExpression - * @memberof flyteidl.admin.Schedule + * LaunchPlanList token. + * @member {string} token + * @memberof flyteidl.admin.LaunchPlanList * @instance */ - Object.defineProperty(Schedule.prototype, "ScheduleExpression", { - get: $util.oneOfGetter($oneOfFields = ["cronExpression", "rate", "cronSchedule"]), - set: $util.oneOfSetter($oneOfFields) - }); + LaunchPlanList.prototype.token = ""; /** - * Creates a new Schedule instance using the specified properties. + * Creates a new LaunchPlanList instance using the specified properties. * @function create - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.LaunchPlanList * @static - * @param {flyteidl.admin.ISchedule=} [properties] Properties to set - * @returns {flyteidl.admin.Schedule} Schedule instance + * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList instance */ - Schedule.create = function create(properties) { - return new Schedule(properties); + LaunchPlanList.create = function create(properties) { + return new LaunchPlanList(properties); }; /** - * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. + * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.LaunchPlanList * @static - * @param {flyteidl.admin.ISchedule} message Schedule 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 */ - Schedule.encode = function encode(message, writer) { + LaunchPlanList.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.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 a Schedule message from the specified reader or buffer. + * Decodes a LaunchPlanList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Schedule + * @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.Schedule} Schedule + * @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 */ - Schedule.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.Schedule(); + 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.cronExpression = reader.string(); + if (!(message.launchPlans && message.launchPlans.length)) + message.launchPlans = []; + message.launchPlans.push($root.flyteidl.admin.LaunchPlan.decode(reader, reader.uint32())); break; case 2: - message.rate = $root.flyteidl.admin.FixedRate.decode(reader, reader.uint32()); - break; - case 4: - message.cronSchedule = $root.flyteidl.admin.CronSchedule.decode(reader, reader.uint32()); - break; - case 3: - message.kickoffTimeInputArg = reader.string(); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -37532,99 +37667,53 @@ }; /** - * Verifies a Schedule message. + * Verifies a LaunchPlanList message. * @function verify - * @memberof flyteidl.admin.Schedule + * @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 */ - Schedule.verify = function verify(message) { + LaunchPlanList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.cronExpression != null && message.hasOwnProperty("cronExpression")) { - properties.ScheduleExpression = 1; - if (!$util.isString(message.cronExpression)) - return "cronExpression: string expected"; - } - if (message.rate != null && message.hasOwnProperty("rate")) { - if (properties.ScheduleExpression === 1) - return "ScheduleExpression: multiple values"; - properties.ScheduleExpression = 1; - { - var error = $root.flyteidl.admin.FixedRate.verify(message.rate); - if (error) - return "rate." + error; - } - } - if (message.cronSchedule != null && message.hasOwnProperty("cronSchedule")) { - if (properties.ScheduleExpression === 1) - return "ScheduleExpression: multiple values"; - properties.ScheduleExpression = 1; - { - var error = $root.flyteidl.admin.CronSchedule.verify(message.cronSchedule); + if (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 "cronSchedule." + error; + return "launchPlans." + error; } } - if (message.kickoffTimeInputArg != null && message.hasOwnProperty("kickoffTimeInputArg")) - if (!$util.isString(message.kickoffTimeInputArg)) - return "kickoffTimeInputArg: string expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return Schedule; + return LaunchPlanList; })(); - /** - * 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() { + admin.Auth = (function() { /** - * Properties of a TaskResourceSpec. + * Properties of an Auth. * @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 IAuth + * @property {string|null} [assumableIamRole] Auth assumableIamRole + * @property {string|null} [kubernetesServiceAccount] Auth kubernetesServiceAccount */ /** - * Constructs a new TaskResourceSpec. + * Constructs a new Auth. * @memberof flyteidl.admin - * @classdesc Represents a TaskResourceSpec. - * @implements ITaskResourceSpec + * @classdesc Represents an Auth. + * @implements IAuth * @constructor - * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set + * @param {flyteidl.admin.IAuth=} [properties] Properties to set */ - function TaskResourceSpec(properties) { + function Auth(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37632,114 +37721,75 @@ } /** - * TaskResourceSpec cpu. - * @member {string} cpu - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.cpu = ""; - - /** - * TaskResourceSpec gpu. - * @member {string} gpu - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.gpu = ""; - - /** - * TaskResourceSpec memory. - * @member {string} memory - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.memory = ""; - - /** - * TaskResourceSpec storage. - * @member {string} storage - * @memberof flyteidl.admin.TaskResourceSpec + * Auth assumableIamRole. + * @member {string} assumableIamRole + * @memberof flyteidl.admin.Auth * @instance */ - TaskResourceSpec.prototype.storage = ""; + Auth.prototype.assumableIamRole = ""; /** - * TaskResourceSpec ephemeralStorage. - * @member {string} ephemeralStorage - * @memberof flyteidl.admin.TaskResourceSpec + * Auth kubernetesServiceAccount. + * @member {string} kubernetesServiceAccount + * @memberof flyteidl.admin.Auth * @instance */ - TaskResourceSpec.prototype.ephemeralStorage = ""; + Auth.prototype.kubernetesServiceAccount = ""; /** - * Creates a new TaskResourceSpec instance using the specified properties. + * Creates a new Auth instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.Auth * @static - * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set - * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec instance + * @param {flyteidl.admin.IAuth=} [properties] Properties to set + * @returns {flyteidl.admin.Auth} Auth instance */ - TaskResourceSpec.create = function create(properties) { - return new TaskResourceSpec(properties); + Auth.create = function create(properties) { + return new Auth(properties); }; /** - * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. + * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.Auth * @static - * @param {flyteidl.admin.ITaskResourceSpec} message TaskResourceSpec 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 */ - TaskResourceSpec.encode = function encode(message, writer) { + Auth.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.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.assumableIamRole); + if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesServiceAccount); return writer; }; /** - * Decodes a TaskResourceSpec message from the specified reader or buffer. + * Decodes an Auth message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskResourceSpec + * @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.TaskResourceSpec} TaskResourceSpec + * @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 */ - TaskResourceSpec.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.TaskResourceSpec(); + 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.cpu = reader.string(); + message.assumableIamRole = reader.string(); break; case 2: - message.gpu = reader.string(); - break; - case 3: - message.memory = reader.string(); - break; - case 4: - message.storage = reader.string(); - break; - case 5: - message.ephemeralStorage = reader.string(); + message.kubernetesServiceAccount = reader.string(); break; default: reader.skipType(tag & 7); @@ -37750,56 +37800,61 @@ }; /** - * Verifies a TaskResourceSpec message. + * Verifies an Auth message. * @function verify - * @memberof flyteidl.admin.TaskResourceSpec + * @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 */ - TaskResourceSpec.verify = function verify(message) { + Auth.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.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 TaskResourceSpec; + return Auth; })(); - admin.TaskResourceAttributes = (function() { + admin.LaunchPlanSpec = (function() { /** - * Properties of a TaskResourceAttributes. + * Properties of a LaunchPlanSpec. * @memberof flyteidl.admin - * @interface ITaskResourceAttributes - * @property {flyteidl.admin.ITaskResourceSpec|null} [defaults] TaskResourceAttributes defaults - * @property {flyteidl.admin.ITaskResourceSpec|null} [limits] TaskResourceAttributes limits + * @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 TaskResourceAttributes. + * Constructs a new LaunchPlanSpec. * @memberof flyteidl.admin - * @classdesc Represents a TaskResourceAttributes. - * @implements ITaskResourceAttributes + * @classdesc Represents a LaunchPlanSpec. + * @implements ILaunchPlanSpec * @constructor - * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set */ - function TaskResourceAttributes(properties) { + function LaunchPlanSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37807,252 +37862,379 @@ } /** - * TaskResourceAttributes defaults. - * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} defaults - * @memberof flyteidl.admin.TaskResourceAttributes + * LaunchPlanSpec workflowId. + * @member {flyteidl.core.IIdentifier|null|undefined} workflowId + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - TaskResourceAttributes.prototype.defaults = null; + LaunchPlanSpec.prototype.workflowId = null; /** - * TaskResourceAttributes limits. - * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} limits - * @memberof flyteidl.admin.TaskResourceAttributes + * LaunchPlanSpec entityMetadata. + * @member {flyteidl.admin.ILaunchPlanMetadata|null|undefined} entityMetadata + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - TaskResourceAttributes.prototype.limits = null; + LaunchPlanSpec.prototype.entityMetadata = null; /** - * Creates a new TaskResourceAttributes instance using the specified properties. - * @function create - * @memberof flyteidl.admin.TaskResourceAttributes - * @static - * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes instance + * LaunchPlanSpec defaultInputs. + * @member {flyteidl.core.IParameterMap|null|undefined} defaultInputs + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - TaskResourceAttributes.create = function create(properties) { - return new TaskResourceAttributes(properties); - }; + LaunchPlanSpec.prototype.defaultInputs = null; /** - * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.TaskResourceAttributes - * @static - * @param {flyteidl.admin.ITaskResourceAttributes} message TaskResourceAttributes 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 */ - TaskResourceAttributes.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(); - return writer; - }; + LaunchPlanSpec.prototype.fixedInputs = null; /** - * Decodes a TaskResourceAttributes message from the specified reader or buffer. - * @function decode - * @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.TaskResourceAttributes} TaskResourceAttributes - * @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 */ - 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.TaskResourceAttributes(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.defaults = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); - break; - case 2: - message.limits = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + LaunchPlanSpec.prototype.role = ""; /** - * Verifies a TaskResourceAttributes message. - * @function verify - * @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 + * LaunchPlanSpec labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - TaskResourceAttributes.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 (error) - return "limits." + error; - } - return null; - }; + LaunchPlanSpec.prototype.labels = null; - return TaskResourceAttributes; - })(); + /** + * LaunchPlanSpec annotations. + * @member {flyteidl.admin.IAnnotations|null|undefined} annotations + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.annotations = null; - admin.ClusterResourceAttributes = (function() { + /** + * LaunchPlanSpec auth. + * @member {flyteidl.admin.IAuth|null|undefined} auth + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.auth = null; /** - * Properties of a ClusterResourceAttributes. - * @memberof flyteidl.admin - * @interface IClusterResourceAttributes - * @property {Object.|null} [attributes] ClusterResourceAttributes attributes + * LaunchPlanSpec authRole. + * @member {flyteidl.admin.IAuthRole|null|undefined} authRole + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ + LaunchPlanSpec.prototype.authRole = null; /** - * Constructs a new ClusterResourceAttributes. - * @memberof flyteidl.admin - * @classdesc Represents a ClusterResourceAttributes. - * @implements IClusterResourceAttributes - * @constructor - * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set + * LaunchPlanSpec securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - function ClusterResourceAttributes(properties) { - this.attributes = {}; - 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; /** - * ClusterResourceAttributes attributes. - * @member {Object.} attributes - * @memberof flyteidl.admin.ClusterResourceAttributes + * LaunchPlanSpec qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - ClusterResourceAttributes.prototype.attributes = $util.emptyObject; + LaunchPlanSpec.prototype.qualityOfService = null; /** - * Creates a new ClusterResourceAttributes instance using the specified properties. + * LaunchPlanSpec rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.rawOutputDataConfig = null; + + /** + * 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.ClusterResourceAttributes + * @memberof flyteidl.admin.LaunchPlanSpec * @static - * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes instance + * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec instance */ - ClusterResourceAttributes.create = function create(properties) { - return new ClusterResourceAttributes(properties); + LaunchPlanSpec.create = function create(properties) { + return new LaunchPlanSpec(properties); }; /** - * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. + * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ClusterResourceAttributes + * @memberof flyteidl.admin.LaunchPlanSpec * @static - * @param {flyteidl.admin.IClusterResourceAttributes} message ClusterResourceAttributes 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 */ - ClusterResourceAttributes.encode = function encode(message, writer) { + LaunchPlanSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - for (var keys = Object.keys(message.attributes), i = 0; i < keys.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.attributes[keys[i]]).ldelim(); + if (message.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 ClusterResourceAttributes message from the specified reader or buffer. + * Decodes a LaunchPlanSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ClusterResourceAttributes + * @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.ClusterResourceAttributes} ClusterResourceAttributes + * @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 */ - ClusterResourceAttributes.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.ClusterResourceAttributes(), key; + 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: - reader.skip().pos++; - if (message.attributes === $util.emptyObject) - message.attributes = {}; - key = reader.string(); - reader.pos++; - message.attributes[key] = reader.string(); + message.workflowId = $root.flyteidl.core.Identifier.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()); break; default: reader.skipType(tag & 7); break; } } - return message; - }; - - /** - * Verifies a ClusterResourceAttributes message. - * @function verify - * @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 - */ - ClusterResourceAttributes.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 message; + }; + + /** + * Verifies a LaunchPlanSpec message. + * @function verify + * @memberof flyteidl.admin.LaunchPlanSpec + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + LaunchPlanSpec.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + var error = $root.flyteidl.core.Identifier.verify(message.workflowId); + if (error) + return "workflowId." + error; + } + if (message.entityMetadata != null && message.hasOwnProperty("entityMetadata")) { + var error = $root.flyteidl.admin.LaunchPlanMetadata.verify(message.entityMetadata); + if (error) + return "entityMetadata." + error; + } + if (message.defaultInputs != null && message.hasOwnProperty("defaultInputs")) { + var error = $root.flyteidl.core.ParameterMap.verify(message.defaultInputs); + if (error) + return "defaultInputs." + error; + } + if (message.fixedInputs != null && message.hasOwnProperty("fixedInputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fixedInputs); + if (error) + return "fixedInputs." + error; + } + if (message.role != null && message.hasOwnProperty("role")) + if (!$util.isString(message.role)) + return "role: string expected"; + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); + if (error) + return "labels." + error; + } + if (message.annotations != null && message.hasOwnProperty("annotations")) { + var error = $root.flyteidl.admin.Annotations.verify(message.annotations); + if (error) + return "annotations." + error; + } + if (message.auth != null && message.hasOwnProperty("auth")) { + var error = $root.flyteidl.admin.Auth.verify(message.auth); + if (error) + return "auth." + error; + } + if (message.authRole != null && message.hasOwnProperty("authRole")) { + var error = $root.flyteidl.admin.AuthRole.verify(message.authRole); + if (error) + return "authRole." + error; + } + if (message.securityContext != null && message.hasOwnProperty("securityContext")) { + var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); + 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 ClusterResourceAttributes; + return LaunchPlanSpec; })(); - admin.ExecutionQueueAttributes = (function() { + admin.LaunchPlanClosure = (function() { /** - * Properties of an ExecutionQueueAttributes. + * Properties of a LaunchPlanClosure. * @memberof flyteidl.admin - * @interface IExecutionQueueAttributes - * @property {Array.|null} [tags] ExecutionQueueAttributes tags + * @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 ExecutionQueueAttributes. + * Constructs a new LaunchPlanClosure. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionQueueAttributes. - * @implements IExecutionQueueAttributes + * @classdesc Represents a LaunchPlanClosure. + * @implements ILaunchPlanClosure * @constructor - * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set */ - function ExecutionQueueAttributes(properties) { - this.tags = []; + function LaunchPlanClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38060,65 +38242,114 @@ } /** - * ExecutionQueueAttributes tags. - * @member {Array.} tags - * @memberof flyteidl.admin.ExecutionQueueAttributes + * LaunchPlanClosure state. + * @member {flyteidl.admin.LaunchPlanState} state + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - ExecutionQueueAttributes.prototype.tags = $util.emptyArray; + LaunchPlanClosure.prototype.state = 0; /** - * Creates a new ExecutionQueueAttributes instance using the specified properties. + * LaunchPlanClosure expectedInputs. + * @member {flyteidl.core.IParameterMap|null|undefined} expectedInputs + * @memberof flyteidl.admin.LaunchPlanClosure + * @instance + */ + LaunchPlanClosure.prototype.expectedInputs = null; + + /** + * LaunchPlanClosure expectedOutputs. + * @member {flyteidl.core.IVariableMap|null|undefined} expectedOutputs + * @memberof flyteidl.admin.LaunchPlanClosure + * @instance + */ + LaunchPlanClosure.prototype.expectedOutputs = null; + + /** + * LaunchPlanClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.LaunchPlanClosure + * @instance + */ + LaunchPlanClosure.prototype.createdAt = null; + + /** + * LaunchPlanClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.LaunchPlanClosure + * @instance + */ + LaunchPlanClosure.prototype.updatedAt = null; + + /** + * Creates a new LaunchPlanClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.LaunchPlanClosure * @static - * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes instance + * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure instance */ - ExecutionQueueAttributes.create = function create(properties) { - return new ExecutionQueueAttributes(properties); + LaunchPlanClosure.create = function create(properties) { + return new LaunchPlanClosure(properties); }; /** - * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. + * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.LaunchPlanClosure * @static - * @param {flyteidl.admin.IExecutionQueueAttributes} message ExecutionQueueAttributes 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 */ - ExecutionQueueAttributes.encode = function encode(message, writer) { + LaunchPlanClosure.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.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 an ExecutionQueueAttributes message from the specified reader or buffer. + * Decodes a LaunchPlanClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @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.ExecutionQueueAttributes} ExecutionQueueAttributes + * @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 */ - ExecutionQueueAttributes.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.ExecutionQueueAttributes(); + 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: - if (!(message.tags && message.tags.length)) - message.tags = []; - message.tags.push(reader.string()); + 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()); break; default: reader.skipType(tag & 7); @@ -38129,47 +38360,71 @@ }; /** - * Verifies an ExecutionQueueAttributes message. + * Verifies a LaunchPlanClosure message. * @function verify - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @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 */ - ExecutionQueueAttributes.verify = function verify(message) { + LaunchPlanClosure.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.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 (error) + return "updatedAt." + error; } return null; }; - return ExecutionQueueAttributes; + return LaunchPlanClosure; })(); - admin.ExecutionClusterLabel = (function() { + admin.LaunchPlanMetadata = (function() { /** - * Properties of an ExecutionClusterLabel. + * Properties of a LaunchPlanMetadata. * @memberof flyteidl.admin - * @interface IExecutionClusterLabel - * @property {string|null} [value] ExecutionClusterLabel value + * @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 ExecutionClusterLabel. + * Constructs a new LaunchPlanMetadata. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionClusterLabel. - * @implements IExecutionClusterLabel + * @classdesc Represents a LaunchPlanMetadata. + * @implements ILaunchPlanMetadata * @constructor - * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set */ - function ExecutionClusterLabel(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) @@ -38177,62 +38432,91 @@ } /** - * ExecutionClusterLabel value. - * @member {string} value - * @memberof flyteidl.admin.ExecutionClusterLabel + * LaunchPlanMetadata schedule. + * @member {flyteidl.admin.ISchedule|null|undefined} schedule + * @memberof flyteidl.admin.LaunchPlanMetadata * @instance */ - ExecutionClusterLabel.prototype.value = ""; + LaunchPlanMetadata.prototype.schedule = null; /** - * Creates a new ExecutionClusterLabel instance using the specified properties. + * LaunchPlanMetadata notifications. + * @member {Array.} notifications + * @memberof flyteidl.admin.LaunchPlanMetadata + * @instance + */ + LaunchPlanMetadata.prototype.notifications = $util.emptyArray; + + /** + * LaunchPlanMetadata launchConditions. + * @member {google.protobuf.IAny|null|undefined} launchConditions + * @memberof flyteidl.admin.LaunchPlanMetadata + * @instance + */ + LaunchPlanMetadata.prototype.launchConditions = null; + + /** + * Creates a new LaunchPlanMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.LaunchPlanMetadata * @static - * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel instance + * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata instance */ - ExecutionClusterLabel.create = function create(properties) { - return new ExecutionClusterLabel(properties); + LaunchPlanMetadata.create = function create(properties) { + return new LaunchPlanMetadata(properties); }; /** - * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. + * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.LaunchPlanMetadata * @static - * @param {flyteidl.admin.IExecutionClusterLabel} message ExecutionClusterLabel 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 */ - ExecutionClusterLabel.encode = function encode(message, writer) { + LaunchPlanMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); + if (message.schedule != null && message.hasOwnProperty("schedule")) + $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 an ExecutionClusterLabel message from the specified reader or buffer. + * Decodes a LaunchPlanMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionClusterLabel + * @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.ExecutionClusterLabel} ExecutionClusterLabel + * @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 */ - ExecutionClusterLabel.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.ExecutionClusterLabel(); + 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.value = reader.string(); + message.schedule = $root.flyteidl.admin.Schedule.decode(reader, reader.uint32()); + break; + case 2: + if (!(message.notifications && message.notifications.length)) + message.notifications = []; + message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); + break; + case 3: + message.launchConditions = $root.google.protobuf.Any.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -38243,46 +38527,60 @@ }; /** - * Verifies an ExecutionClusterLabel message. + * Verifies a LaunchPlanMetadata message. * @function verify - * @memberof flyteidl.admin.ExecutionClusterLabel + * @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 */ - ExecutionClusterLabel.verify = function verify(message) { + LaunchPlanMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; + if (message.schedule != null && message.hasOwnProperty("schedule")) { + 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 ExecutionClusterLabel; + return LaunchPlanMetadata; })(); - admin.PluginOverride = (function() { + admin.LaunchPlanUpdateRequest = (function() { /** - * Properties of a PluginOverride. + * Properties of a LaunchPlanUpdateRequest. * @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 ILaunchPlanUpdateRequest + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanUpdateRequest id + * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanUpdateRequest state */ /** - * Constructs a new PluginOverride. + * Constructs a new LaunchPlanUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a PluginOverride. - * @implements IPluginOverride + * @classdesc Represents a LaunchPlanUpdateRequest. + * @implements ILaunchPlanUpdateRequest * @constructor - * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set */ - function PluginOverride(properties) { - this.pluginId = []; + function LaunchPlanUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38290,91 +38588,75 @@ } /** - * PluginOverride taskType. - * @member {string} taskType - * @memberof flyteidl.admin.PluginOverride - * @instance - */ - PluginOverride.prototype.taskType = ""; - - /** - * PluginOverride pluginId. - * @member {Array.} pluginId - * @memberof flyteidl.admin.PluginOverride + * LaunchPlanUpdateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @instance */ - PluginOverride.prototype.pluginId = $util.emptyArray; + LaunchPlanUpdateRequest.prototype.id = null; /** - * PluginOverride missingPluginBehavior. - * @member {flyteidl.admin.PluginOverride.MissingPluginBehavior} missingPluginBehavior - * @memberof flyteidl.admin.PluginOverride + * LaunchPlanUpdateRequest state. + * @member {flyteidl.admin.LaunchPlanState} state + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @instance */ - PluginOverride.prototype.missingPluginBehavior = 0; + LaunchPlanUpdateRequest.prototype.state = 0; /** - * Creates a new PluginOverride instance using the specified properties. + * Creates a new LaunchPlanUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static - * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set - * @returns {flyteidl.admin.PluginOverride} PluginOverride instance + * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest instance */ - PluginOverride.create = function create(properties) { - return new PluginOverride(properties); + LaunchPlanUpdateRequest.create = function create(properties) { + return new LaunchPlanUpdateRequest(properties); }; /** - * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. + * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static - * @param {flyteidl.admin.IPluginOverride} message PluginOverride 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 */ - PluginOverride.encode = function encode(message, writer) { + LaunchPlanUpdateRequest.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.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 PluginOverride message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PluginOverride + * @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.PluginOverride} PluginOverride + * @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 */ - PluginOverride.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.PluginOverride(); + 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.taskType = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, 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.state = reader.int32(); break; default: reader.skipType(tag & 7); @@ -38385,30 +38667,25 @@ }; /** - * Verifies a PluginOverride message. + * Verifies a LaunchPlanUpdateRequest message. * @function verify - * @memberof flyteidl.admin.PluginOverride + * @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 */ - PluginOverride.verify = function verify(message) { + LaunchPlanUpdateRequest.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.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; } - if (message.missingPluginBehavior != null && message.hasOwnProperty("missingPluginBehavior")) - switch (message.missingPluginBehavior) { + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { default: - return "missingPluginBehavior: enum value expected"; + return "state: enum value expected"; case 0: case 1: break; @@ -38416,42 +38693,26 @@ 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 LaunchPlanUpdateRequest; })(); - admin.PluginOverrides = (function() { + admin.LaunchPlanUpdateResponse = (function() { /** - * Properties of a PluginOverrides. + * Properties of a LaunchPlanUpdateResponse. * @memberof flyteidl.admin - * @interface IPluginOverrides - * @property {Array.|null} [overrides] PluginOverrides overrides + * @interface ILaunchPlanUpdateResponse */ /** - * Constructs a new PluginOverrides. + * Constructs a new LaunchPlanUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a PluginOverrides. - * @implements IPluginOverrides + * @classdesc Represents a LaunchPlanUpdateResponse. + * @implements ILaunchPlanUpdateResponse * @constructor - * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set */ - function PluginOverrides(properties) { - this.overrides = []; + function LaunchPlanUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38459,66 +38720,50 @@ } /** - * PluginOverrides overrides. - * @member {Array.} overrides - * @memberof flyteidl.admin.PluginOverrides - * @instance - */ - PluginOverrides.prototype.overrides = $util.emptyArray; - - /** - * Creates a new PluginOverrides instance using the specified properties. + * Creates a new LaunchPlanUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.PluginOverrides + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static - * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set - * @returns {flyteidl.admin.PluginOverrides} PluginOverrides instance + * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse instance */ - PluginOverrides.create = function create(properties) { - return new PluginOverrides(properties); + LaunchPlanUpdateResponse.create = function create(properties) { + return new LaunchPlanUpdateResponse(properties); }; /** - * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. + * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PluginOverrides + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static - * @param {flyteidl.admin.IPluginOverrides} message PluginOverrides 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 */ - PluginOverrides.encode = function encode(message, writer) { + LaunchPlanUpdateResponse.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(); return writer; }; /** - * Decodes a PluginOverrides message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PluginOverrides + * @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.PluginOverrides} PluginOverrides + * @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 */ - PluginOverrides.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.PluginOverrides(); + 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: - 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); break; @@ -38528,56 +38773,40 @@ }; /** - * Verifies a PluginOverrides message. + * Verifies a LaunchPlanUpdateResponse message. * @function verify - * @memberof flyteidl.admin.PluginOverrides + * @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 */ - PluginOverrides.verify = function verify(message) { + LaunchPlanUpdateResponse.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; - } - } return null; }; - return PluginOverrides; + return LaunchPlanUpdateResponse; })(); - admin.WorkflowExecutionConfig = (function() { + admin.ActiveLaunchPlanRequest = (function() { /** - * Properties of a WorkflowExecutionConfig. + * Properties of an ActiveLaunchPlanRequest. * @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 IActiveLaunchPlanRequest + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ActiveLaunchPlanRequest id */ /** - * Constructs a new WorkflowExecutionConfig. + * Constructs a new ActiveLaunchPlanRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionConfig. - * @implements IWorkflowExecutionConfig + * @classdesc Represents an ActiveLaunchPlanRequest. + * @implements IActiveLaunchPlanRequest * @constructor - * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set + * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set */ - function WorkflowExecutionConfig(properties) { + function ActiveLaunchPlanRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38585,153 +38814,62 @@ } /** - * WorkflowExecutionConfig maxParallelism. - * @member {number} maxParallelism - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.maxParallelism = 0; - - /** - * WorkflowExecutionConfig securityContext. - * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.securityContext = null; - - /** - * WorkflowExecutionConfig rawOutputDataConfig. - * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.rawOutputDataConfig = null; - - /** - * WorkflowExecutionConfig labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.labels = null; - - /** - * WorkflowExecutionConfig annotations. - * @member {flyteidl.admin.IAnnotations|null|undefined} annotations - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.annotations = null; - - /** - * WorkflowExecutionConfig interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.interruptible = null; - - /** - * WorkflowExecutionConfig overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.overwriteCache = false; - - /** - * WorkflowExecutionConfig envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.WorkflowExecutionConfig + * ActiveLaunchPlanRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @instance */ - WorkflowExecutionConfig.prototype.envs = null; + ActiveLaunchPlanRequest.prototype.id = null; /** - * Creates a new WorkflowExecutionConfig instance using the specified properties. + * Creates a new ActiveLaunchPlanRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig instance + * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest instance */ - WorkflowExecutionConfig.create = function create(properties) { - return new WorkflowExecutionConfig(properties); + ActiveLaunchPlanRequest.create = function create(properties) { + return new ActiveLaunchPlanRequest(properties); }; /** - * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. + * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionConfig} message WorkflowExecutionConfig 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 */ - WorkflowExecutionConfig.encode = function encode(message, writer) { + ActiveLaunchPlanRequest.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.id != null && message.hasOwnProperty("id")) + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @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.WorkflowExecutionConfig} WorkflowExecutionConfig + * @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 */ - WorkflowExecutionConfig.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.WorkflowExecutionConfig(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ActiveLaunchPlanRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.maxParallelism = reader.int32(); - 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()); - break; - case 4: - message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); - break; - case 5: - message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); - break; - case 6: - message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 7: - message.overwriteCache = reader.bool(); - break; - case 8: - message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -38742,83 +38880,50 @@ }; /** - * Verifies a WorkflowExecutionConfig message. + * Verifies an ActiveLaunchPlanRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @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 */ - WorkflowExecutionConfig.verify = function verify(message) { + ActiveLaunchPlanRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) - if (!$util.isInteger(message.maxParallelism)) - return "maxParallelism: integer expected"; - if (message.securityContext != null && message.hasOwnProperty("securityContext")) { - var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); - if (error) - return "securityContext." + error; - } - if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { - var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); - if (error) - return "rawOutputDataConfig." + error; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - var error = $root.flyteidl.admin.Labels.verify(message.labels); - if (error) - return "labels." + error; - } - if (message.annotations != null && message.hasOwnProperty("annotations")) { - var error = $root.flyteidl.admin.Annotations.verify(message.annotations); - if (error) - return "annotations." + error; - } - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - var error = $root.google.protobuf.BoolValue.verify(message.interruptible); - if (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.admin.NamedEntityIdentifier.verify(message.id); if (error) - return "envs." + error; + return "id." + error; } return null; }; - return WorkflowExecutionConfig; + return ActiveLaunchPlanRequest; })(); - admin.MatchingAttributes = (function() { + admin.ActiveLaunchPlanListRequest = (function() { /** - * Properties of a MatchingAttributes. + * Properties of an ActiveLaunchPlanListRequest. * @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 IActiveLaunchPlanListRequest + * @property {string|null} [project] ActiveLaunchPlanListRequest project + * @property {string|null} [domain] ActiveLaunchPlanListRequest domain + * @property {number|null} [limit] ActiveLaunchPlanListRequest limit + * @property {string|null} [token] ActiveLaunchPlanListRequest token + * @property {flyteidl.admin.ISort|null} [sortBy] ActiveLaunchPlanListRequest sortBy + * @property {string|null} [org] ActiveLaunchPlanListRequest org */ /** - * Constructs a new MatchingAttributes. + * Constructs a new ActiveLaunchPlanListRequest. * @memberof flyteidl.admin - * @classdesc Represents a MatchingAttributes. - * @implements IMatchingAttributes + * @classdesc Represents an ActiveLaunchPlanListRequest. + * @implements IActiveLaunchPlanListRequest * @constructor - * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set */ - function MatchingAttributes(properties) { + function ActiveLaunchPlanListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38826,295 +38931,208 @@ } /** - * MatchingAttributes taskResourceAttributes. - * @member {flyteidl.admin.ITaskResourceAttributes|null|undefined} taskResourceAttributes - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.taskResourceAttributes = null; - - /** - * MatchingAttributes clusterResourceAttributes. - * @member {flyteidl.admin.IClusterResourceAttributes|null|undefined} clusterResourceAttributes - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.clusterResourceAttributes = null; - - /** - * MatchingAttributes executionQueueAttributes. - * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueAttributes - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.executionQueueAttributes = null; - - /** - * MatchingAttributes executionClusterLabel. - * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel - * @memberof flyteidl.admin.MatchingAttributes + * ActiveLaunchPlanListRequest project. + * @member {string} project + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - MatchingAttributes.prototype.executionClusterLabel = null; + ActiveLaunchPlanListRequest.prototype.project = ""; /** - * MatchingAttributes qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.admin.MatchingAttributes + * ActiveLaunchPlanListRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - MatchingAttributes.prototype.qualityOfService = null; + ActiveLaunchPlanListRequest.prototype.domain = ""; /** - * MatchingAttributes pluginOverrides. - * @member {flyteidl.admin.IPluginOverrides|null|undefined} pluginOverrides - * @memberof flyteidl.admin.MatchingAttributes + * ActiveLaunchPlanListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - MatchingAttributes.prototype.pluginOverrides = null; + ActiveLaunchPlanListRequest.prototype.limit = 0; /** - * MatchingAttributes workflowExecutionConfig. - * @member {flyteidl.admin.IWorkflowExecutionConfig|null|undefined} workflowExecutionConfig - * @memberof flyteidl.admin.MatchingAttributes + * ActiveLaunchPlanListRequest token. + * @member {string} token + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - MatchingAttributes.prototype.workflowExecutionConfig = null; + ActiveLaunchPlanListRequest.prototype.token = ""; /** - * MatchingAttributes clusterAssignment. - * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment - * @memberof flyteidl.admin.MatchingAttributes + * ActiveLaunchPlanListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - MatchingAttributes.prototype.clusterAssignment = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + ActiveLaunchPlanListRequest.prototype.sortBy = null; /** - * MatchingAttributes target. - * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"|undefined} target - * @memberof flyteidl.admin.MatchingAttributes + * ActiveLaunchPlanListRequest org. + * @member {string} org + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - Object.defineProperty(MatchingAttributes.prototype, "target", { - get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes", "executionClusterLabel", "qualityOfService", "pluginOverrides", "workflowExecutionConfig", "clusterAssignment"]), - set: $util.oneOfSetter($oneOfFields) - }); + ActiveLaunchPlanListRequest.prototype.org = ""; /** - * Creates a new MatchingAttributes instance using the specified properties. + * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.MatchingAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static - * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes instance + * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest instance */ - MatchingAttributes.create = function create(properties) { - return new MatchingAttributes(properties); + ActiveLaunchPlanListRequest.create = function create(properties) { + return new ActiveLaunchPlanListRequest(properties); }; /** - * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. + * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.MatchingAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static - * @param {flyteidl.admin.IMatchingAttributes} message MatchingAttributes 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 */ - MatchingAttributes.encode = function encode(message, writer) { + ActiveLaunchPlanListRequest.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.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); return writer; }; /** - * Decodes a MatchingAttributes message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.MatchingAttributes + * @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.MatchingAttributes} MatchingAttributes + * @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 */ - MatchingAttributes.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.MatchingAttributes(); + 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.taskResourceAttributes = $root.flyteidl.admin.TaskResourceAttributes.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.clusterResourceAttributes = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32()); + message.domain = reader.string(); break; case 3: - message.executionQueueAttributes = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32()); + message.limit = reader.uint32(); break; case 4: - message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); + message.token = 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()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a MatchingAttributes message. - * @function verify - * @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 - */ - MatchingAttributes.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; + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; + case 6: + message.org = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; } } - 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 message; + }; + + /** + * Verifies an ActiveLaunchPlanListRequest message. + * @function verify + * @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 + */ + ActiveLaunchPlanListRequest.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.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return MatchingAttributes; + return ActiveLaunchPlanListRequest; })(); - admin.MatchableAttributesConfiguration = (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 MatchableAttributesConfiguration. + * Properties of a FixedRate. * @memberof flyteidl.admin - * @interface IMatchableAttributesConfiguration - * @property {flyteidl.admin.IMatchingAttributes|null} [attributes] MatchableAttributesConfiguration attributes - * @property {string|null} [domain] MatchableAttributesConfiguration domain - * @property {string|null} [project] MatchableAttributesConfiguration project - * @property {string|null} [workflow] MatchableAttributesConfiguration workflow - * @property {string|null} [launchPlan] MatchableAttributesConfiguration launchPlan - * @property {string|null} [org] MatchableAttributesConfiguration org + * @interface IFixedRate + * @property {number|null} [value] FixedRate value + * @property {flyteidl.admin.FixedRateUnit|null} [unit] FixedRate unit */ /** - * Constructs a new MatchableAttributesConfiguration. + * Constructs a new FixedRate. * @memberof flyteidl.admin - * @classdesc Represents a MatchableAttributesConfiguration. - * @implements IMatchableAttributesConfiguration + * @classdesc Represents a FixedRate. + * @implements IFixedRate * @constructor - * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set + * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set */ - function MatchableAttributesConfiguration(properties) { + function FixedRate(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39122,127 +39140,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 - * @instance - */ - MatchableAttributesConfiguration.prototype.workflow = ""; - - /** - * MatchableAttributesConfiguration launchPlan. - * @member {string} launchPlan - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * FixedRate value. + * @member {number} value + * @memberof flyteidl.admin.FixedRate * @instance */ - MatchableAttributesConfiguration.prototype.launchPlan = ""; + FixedRate.prototype.value = 0; /** - * MatchableAttributesConfiguration org. - * @member {string} org - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * FixedRate unit. + * @member {flyteidl.admin.FixedRateUnit} unit + * @memberof flyteidl.admin.FixedRate * @instance */ - MatchableAttributesConfiguration.prototype.org = ""; + FixedRate.prototype.unit = 0; /** - * Creates a new MatchableAttributesConfiguration instance using the specified properties. + * Creates a new FixedRate instance using the specified properties. * @function create - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.FixedRate * @static - * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set - * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration instance + * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set + * @returns {flyteidl.admin.FixedRate} FixedRate instance */ - MatchableAttributesConfiguration.create = function create(properties) { - return new MatchableAttributesConfiguration(properties); + FixedRate.create = function create(properties) { + return new FixedRate(properties); }; /** - * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. + * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.FixedRate * @static - * @param {flyteidl.admin.IMatchableAttributesConfiguration} message MatchableAttributesConfiguration 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 */ - MatchableAttributesConfiguration.encode = function encode(message, writer) { + FixedRate.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.MatchingAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.project); - if (message.workflow != null && message.hasOwnProperty("workflow")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.workflow); - if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.launchPlan); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); + if (message.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 MatchableAttributesConfiguration message from the specified reader or buffer. + * Decodes a FixedRate message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @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.MatchableAttributesConfiguration} MatchableAttributesConfiguration + * @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 */ - MatchableAttributesConfiguration.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.MatchableAttributesConfiguration(); + 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.attributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + message.value = 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(); - break; - case 6: - message.org = reader.string(); + message.unit = reader.int32(); break; default: reader.skipType(tag & 7); @@ -39253,61 +39219,53 @@ }; /** - * Verifies a MatchableAttributesConfiguration message. + * Verifies a FixedRate message. * @function verify - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @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 */ - MatchableAttributesConfiguration.verify = function verify(message) { + FixedRate.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 (error) - return "attributes." + error; - } - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.workflow != null && message.hasOwnProperty("workflow")) - if (!$util.isString(message.workflow)) - return "workflow: string expected"; - if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) - if (!$util.isString(message.launchPlan)) - return "launchPlan: string expected"; - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + if (message.unit != null && message.hasOwnProperty("unit")) + switch (message.unit) { + default: + return "unit: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; - return MatchableAttributesConfiguration; + return FixedRate; })(); - admin.ListMatchableAttributesRequest = (function() { + admin.CronSchedule = (function() { /** - * Properties of a ListMatchableAttributesRequest. + * Properties of a CronSchedule. * @memberof flyteidl.admin - * @interface IListMatchableAttributesRequest - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ListMatchableAttributesRequest resourceType - * @property {string|null} [org] ListMatchableAttributesRequest org + * @interface ICronSchedule + * @property {string|null} [schedule] CronSchedule schedule + * @property {string|null} [offset] CronSchedule offset */ /** - * Constructs a new ListMatchableAttributesRequest. + * Constructs a new CronSchedule. * @memberof flyteidl.admin - * @classdesc Represents a ListMatchableAttributesRequest. - * @implements IListMatchableAttributesRequest + * @classdesc Represents a CronSchedule. + * @implements ICronSchedule * @constructor - * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set + * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set */ - function ListMatchableAttributesRequest(properties) { + function CronSchedule(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39315,75 +39273,75 @@ } /** - * ListMatchableAttributesRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * CronSchedule schedule. + * @member {string} schedule + * @memberof flyteidl.admin.CronSchedule * @instance */ - ListMatchableAttributesRequest.prototype.resourceType = 0; + CronSchedule.prototype.schedule = ""; /** - * ListMatchableAttributesRequest org. - * @member {string} org - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * CronSchedule offset. + * @member {string} offset + * @memberof flyteidl.admin.CronSchedule * @instance */ - ListMatchableAttributesRequest.prototype.org = ""; + CronSchedule.prototype.offset = ""; /** - * Creates a new ListMatchableAttributesRequest instance using the specified properties. + * Creates a new CronSchedule instance using the specified properties. * @function create - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.CronSchedule * @static - * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest instance + * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set + * @returns {flyteidl.admin.CronSchedule} CronSchedule instance */ - ListMatchableAttributesRequest.create = function create(properties) { - return new ListMatchableAttributesRequest(properties); + CronSchedule.create = function create(properties) { + return new CronSchedule(properties); }; /** - * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. + * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.CronSchedule * @static - * @param {flyteidl.admin.IListMatchableAttributesRequest} message ListMatchableAttributesRequest 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 */ - ListMatchableAttributesRequest.encode = function encode(message, writer) { + CronSchedule.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); + if (message.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 ListMatchableAttributesRequest message from the specified reader or buffer. + * Decodes a CronSchedule message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @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.ListMatchableAttributesRequest} ListMatchableAttributesRequest + * @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 */ - ListMatchableAttributesRequest.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.ListMatchableAttributesRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.CronSchedule(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resourceType = reader.int32(); + message.schedule = reader.string(); break; case 2: - message.org = reader.string(); + message.offset = reader.string(); break; default: reader.skipType(tag & 7); @@ -39394,58 +39352,49 @@ }; /** - * Verifies a ListMatchableAttributesRequest message. + * Verifies a CronSchedule message. * @function verify - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @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 */ - ListMatchableAttributesRequest.verify = function verify(message) { + CronSchedule.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.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 ListMatchableAttributesRequest; + return CronSchedule; })(); - admin.ListMatchableAttributesResponse = (function() { + admin.Schedule = (function() { /** - * Properties of a ListMatchableAttributesResponse. + * Properties of a Schedule. * @memberof flyteidl.admin - * @interface IListMatchableAttributesResponse - * @property {Array.|null} [configurations] ListMatchableAttributesResponse configurations + * @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 ListMatchableAttributesResponse. + * Constructs a new Schedule. * @memberof flyteidl.admin - * @classdesc Represents a ListMatchableAttributesResponse. - * @implements IListMatchableAttributesResponse + * @classdesc Represents a Schedule. + * @implements ISchedule * @constructor - * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set + * @param {flyteidl.admin.ISchedule=} [properties] Properties to set */ - function ListMatchableAttributesResponse(properties) { - this.configurations = []; + function Schedule(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39453,65 +39402,115 @@ } /** - * ListMatchableAttributesResponse configurations. - * @member {Array.} configurations - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * Schedule cronExpression. + * @member {string} cronExpression + * @memberof flyteidl.admin.Schedule * @instance */ - ListMatchableAttributesResponse.prototype.configurations = $util.emptyArray; + Schedule.prototype.cronExpression = ""; /** - * Creates a new ListMatchableAttributesResponse instance using the specified properties. + * Schedule rate. + * @member {flyteidl.admin.IFixedRate|null|undefined} rate + * @memberof flyteidl.admin.Schedule + * @instance + */ + Schedule.prototype.rate = null; + + /** + * Schedule cronSchedule. + * @member {flyteidl.admin.ICronSchedule|null|undefined} cronSchedule + * @memberof flyteidl.admin.Schedule + * @instance + */ + Schedule.prototype.cronSchedule = null; + + /** + * Schedule kickoffTimeInputArg. + * @member {string} kickoffTimeInputArg + * @memberof flyteidl.admin.Schedule + * @instance + */ + Schedule.prototype.kickoffTimeInputArg = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Schedule ScheduleExpression. + * @member {"cronExpression"|"rate"|"cronSchedule"|undefined} ScheduleExpression + * @memberof flyteidl.admin.Schedule + * @instance + */ + Object.defineProperty(Schedule.prototype, "ScheduleExpression", { + get: $util.oneOfGetter($oneOfFields = ["cronExpression", "rate", "cronSchedule"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Schedule instance using the specified properties. * @function create - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.Schedule * @static - * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse instance + * @param {flyteidl.admin.ISchedule=} [properties] Properties to set + * @returns {flyteidl.admin.Schedule} Schedule instance */ - ListMatchableAttributesResponse.create = function create(properties) { - return new ListMatchableAttributesResponse(properties); + Schedule.create = function create(properties) { + return new Schedule(properties); }; /** - * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. + * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.Schedule * @static - * @param {flyteidl.admin.IListMatchableAttributesResponse} message ListMatchableAttributesResponse 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 */ - ListMatchableAttributesResponse.encode = function encode(message, writer) { + Schedule.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.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 ListMatchableAttributesResponse message from the specified reader or buffer. + * Decodes a Schedule message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @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.ListMatchableAttributesResponse} ListMatchableAttributesResponse + * @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 */ - ListMatchableAttributesResponse.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.ListMatchableAttributesResponse(); + 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: - if (!(message.configurations && message.configurations.length)) - message.configurations = []; - message.configurations.push($root.flyteidl.admin.MatchableAttributesConfiguration.decode(reader, reader.uint32())); + message.cronExpression = reader.string(); + break; + case 2: + message.rate = $root.flyteidl.admin.FixedRate.decode(reader, reader.uint32()); + break; + case 4: + message.cronSchedule = $root.flyteidl.admin.CronSchedule.decode(reader, reader.uint32()); + break; + case 3: + message.kickoffTimeInputArg = reader.string(); break; default: reader.skipType(tag & 7); @@ -39522,29 +39521,49 @@ }; /** - * Verifies a ListMatchableAttributesResponse message. + * Verifies a Schedule message. * @function verify - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @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 */ - ListMatchableAttributesResponse.verify = function verify(message) { + Schedule.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]); + 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 "configurations." + error; + return "rate." + error; + } + } + if (message.cronSchedule != null && message.hasOwnProperty("cronSchedule")) { + if (properties.ScheduleExpression === 1) + return "ScheduleExpression: multiple values"; + properties.ScheduleExpression = 1; + { + var error = $root.flyteidl.admin.CronSchedule.verify(message.cronSchedule); + if (error) + return "cronSchedule." + error; } } + if (message.kickoffTimeInputArg != null && message.hasOwnProperty("kickoffTimeInputArg")) + if (!$util.isString(message.kickoffTimeInputArg)) + return "kickoffTimeInputArg: string expected"; return null; }; - return ListMatchableAttributesResponse; + return Schedule; })(); admin.NodeExecutionGetRequest = (function() { diff --git a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py index 4c2a628407..9a8fd202c7 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py @@ -22,9 +22,10 @@ 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 google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from flyteidl.admin import matchable_resource_pb2 as flyteidl_dot_admin_dot_matchable__resource__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\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\"\xd6\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\x12\x10\n\x03org\x18\x06 \x01(\tR\x03org\"\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\"\x85\x05\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\"t\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\x12\x0b\n\x07TRIGGER\x10\x06\"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\x1a\'flyteidl/admin/matchable_resource.proto\"\xd6\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\x12\x10\n\x03org\x18\x06 \x01(\tR\x03org\"\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\"\x85\x05\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\"t\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\x12\x0b\n\x07TRIGGER\x10\x06\"V\n\x10NotificationList\x12\x42\n\rnotifications\x18\x01 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\"\xef\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\x04tags\x12]\n\x17\x65xecution_cluster_label\x18\x19 \x01(\x0b\x32%.flyteidl.admin.ExecutionClusterLabelR\x15\x65xecutionClusterLabelB\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) @@ -51,54 +52,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=5422 - _globals['_EXECUTIONSTATE']._serialized_end=5484 - _globals['_EXECUTIONCREATEREQUEST']._serialized_start=403 - _globals['_EXECUTIONCREATEREQUEST']._serialized_end=617 - _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_start=620 - _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_end=773 - _globals['_EXECUTIONRECOVERREQUEST']._serialized_start=776 - _globals['_EXECUTIONRECOVERREQUEST']._serialized_end=944 - _globals['_EXECUTIONCREATERESPONSE']._serialized_start=946 - _globals['_EXECUTIONCREATERESPONSE']._serialized_end=1031 - _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_start=1033 - _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_end=1122 - _globals['_EXECUTION']._serialized_start=1125 - _globals['_EXECUTION']._serialized_end=1307 - _globals['_EXECUTIONLIST']._serialized_start=1309 - _globals['_EXECUTIONLIST']._serialized_end=1405 - _globals['_LITERALMAPBLOB']._serialized_start=1407 - _globals['_LITERALMAPBLOB']._serialized_end=1508 - _globals['_ABORTMETADATA']._serialized_start=1510 - _globals['_ABORTMETADATA']._serialized_end=1577 - _globals['_EXECUTIONCLOSURE']._serialized_start=1580 - _globals['_EXECUTIONCLOSURE']._serialized_end=2500 - _globals['_SYSTEMMETADATA']._serialized_start=2502 - _globals['_SYSTEMMETADATA']._serialized_end=2593 - _globals['_EXECUTIONMETADATA']._serialized_start=2596 - _globals['_EXECUTIONMETADATA']._serialized_end=3241 - _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_start=3125 - _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_end=3241 - _globals['_NOTIFICATIONLIST']._serialized_start=3243 - _globals['_NOTIFICATIONLIST']._serialized_end=3329 - _globals['_EXECUTIONSPEC']._serialized_start=3332 - _globals['_EXECUTIONSPEC']._serialized_end=4372 - _globals['_EXECUTIONTERMINATEREQUEST']._serialized_start=4374 - _globals['_EXECUTIONTERMINATEREQUEST']._serialized_end=4483 - _globals['_EXECUTIONTERMINATERESPONSE']._serialized_start=4485 - _globals['_EXECUTIONTERMINATERESPONSE']._serialized_end=4513 - _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_start=4515 - _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_end=4608 - _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_start=4611 - _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_end=4875 - _globals['_EXECUTIONUPDATEREQUEST']._serialized_start=4878 - _globals['_EXECUTIONUPDATEREQUEST']._serialized_end=5016 - _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_start=5019 - _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_end=5193 - _globals['_EXECUTIONUPDATERESPONSE']._serialized_start=5195 - _globals['_EXECUTIONUPDATERESPONSE']._serialized_end=5220 - _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_start=5222 - _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_end=5340 - _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_start=5342 - _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_end=5420 + _globals['_EXECUTIONSTATE']._serialized_start=5558 + _globals['_EXECUTIONSTATE']._serialized_end=5620 + _globals['_EXECUTIONCREATEREQUEST']._serialized_start=444 + _globals['_EXECUTIONCREATEREQUEST']._serialized_end=658 + _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_start=661 + _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_end=814 + _globals['_EXECUTIONRECOVERREQUEST']._serialized_start=817 + _globals['_EXECUTIONRECOVERREQUEST']._serialized_end=985 + _globals['_EXECUTIONCREATERESPONSE']._serialized_start=987 + _globals['_EXECUTIONCREATERESPONSE']._serialized_end=1072 + _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_start=1074 + _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_end=1163 + _globals['_EXECUTION']._serialized_start=1166 + _globals['_EXECUTION']._serialized_end=1348 + _globals['_EXECUTIONLIST']._serialized_start=1350 + _globals['_EXECUTIONLIST']._serialized_end=1446 + _globals['_LITERALMAPBLOB']._serialized_start=1448 + _globals['_LITERALMAPBLOB']._serialized_end=1549 + _globals['_ABORTMETADATA']._serialized_start=1551 + _globals['_ABORTMETADATA']._serialized_end=1618 + _globals['_EXECUTIONCLOSURE']._serialized_start=1621 + _globals['_EXECUTIONCLOSURE']._serialized_end=2541 + _globals['_SYSTEMMETADATA']._serialized_start=2543 + _globals['_SYSTEMMETADATA']._serialized_end=2634 + _globals['_EXECUTIONMETADATA']._serialized_start=2637 + _globals['_EXECUTIONMETADATA']._serialized_end=3282 + _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_start=3166 + _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_end=3282 + _globals['_NOTIFICATIONLIST']._serialized_start=3284 + _globals['_NOTIFICATIONLIST']._serialized_end=3370 + _globals['_EXECUTIONSPEC']._serialized_start=3373 + _globals['_EXECUTIONSPEC']._serialized_end=4508 + _globals['_EXECUTIONTERMINATEREQUEST']._serialized_start=4510 + _globals['_EXECUTIONTERMINATEREQUEST']._serialized_end=4619 + _globals['_EXECUTIONTERMINATERESPONSE']._serialized_start=4621 + _globals['_EXECUTIONTERMINATERESPONSE']._serialized_end=4649 + _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_start=4651 + _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_end=4744 + _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_start=4747 + _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_end=5011 + _globals['_EXECUTIONUPDATEREQUEST']._serialized_start=5014 + _globals['_EXECUTIONUPDATEREQUEST']._serialized_end=5152 + _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_start=5155 + _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_end=5329 + _globals['_EXECUTIONUPDATERESPONSE']._serialized_start=5331 + _globals['_EXECUTIONUPDATERESPONSE']._serialized_end=5356 + _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_start=5358 + _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_end=5476 + _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_start=5478 + _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_end=5556 # @@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 c832b3a429..6b34cbf578 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi @@ -9,6 +9,7 @@ from flyteidl.core import security_pb2 as _security_pb2 from google.protobuf import duration_pb2 as _duration_pb2 from google.protobuf import timestamp_pb2 as _timestamp_pb2 from google.protobuf import wrappers_pb2 as _wrappers_pb2 +from flyteidl.admin import matchable_resource_pb2 as _matchable_resource_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 @@ -189,7 +190,7 @@ class NotificationList(_message.Message): def __init__(self, notifications: _Optional[_Iterable[_Union[_common_pb2.Notification, _Mapping]]] = ...) -> None: ... class ExecutionSpec(_message.Message): - __slots__ = ["launch_plan", "inputs", "metadata", "notifications", "disable_all", "labels", "annotations", "security_context", "auth_role", "quality_of_service", "max_parallelism", "raw_output_data_config", "cluster_assignment", "interruptible", "overwrite_cache", "envs", "tags"] + __slots__ = ["launch_plan", "inputs", "metadata", "notifications", "disable_all", "labels", "annotations", "security_context", "auth_role", "quality_of_service", "max_parallelism", "raw_output_data_config", "cluster_assignment", "interruptible", "overwrite_cache", "envs", "tags", "execution_cluster_label"] LAUNCH_PLAN_FIELD_NUMBER: _ClassVar[int] INPUTS_FIELD_NUMBER: _ClassVar[int] METADATA_FIELD_NUMBER: _ClassVar[int] @@ -207,6 +208,7 @@ class ExecutionSpec(_message.Message): OVERWRITE_CACHE_FIELD_NUMBER: _ClassVar[int] ENVS_FIELD_NUMBER: _ClassVar[int] TAGS_FIELD_NUMBER: _ClassVar[int] + EXECUTION_CLUSTER_LABEL_FIELD_NUMBER: _ClassVar[int] launch_plan: _identifier_pb2.Identifier inputs: _literals_pb2.LiteralMap metadata: ExecutionMetadata @@ -224,7 +226,8 @@ class ExecutionSpec(_message.Message): overwrite_cache: bool envs: _common_pb2.Envs tags: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, launch_plan: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., inputs: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., metadata: _Optional[_Union[ExecutionMetadata, _Mapping]] = ..., notifications: _Optional[_Union[NotificationList, _Mapping]] = ..., disable_all: bool = ..., labels: _Optional[_Union[_common_pb2.Labels, _Mapping]] = ..., annotations: _Optional[_Union[_common_pb2.Annotations, _Mapping]] = ..., security_context: _Optional[_Union[_security_pb2.SecurityContext, _Mapping]] = ..., auth_role: _Optional[_Union[_common_pb2.AuthRole, _Mapping]] = ..., quality_of_service: _Optional[_Union[_execution_pb2.QualityOfService, _Mapping]] = ..., max_parallelism: _Optional[int] = ..., raw_output_data_config: _Optional[_Union[_common_pb2.RawOutputDataConfig, _Mapping]] = ..., cluster_assignment: _Optional[_Union[_cluster_assignment_pb2.ClusterAssignment, _Mapping]] = ..., interruptible: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., overwrite_cache: bool = ..., envs: _Optional[_Union[_common_pb2.Envs, _Mapping]] = ..., tags: _Optional[_Iterable[str]] = ...) -> None: ... + execution_cluster_label: _matchable_resource_pb2.ExecutionClusterLabel + def __init__(self, launch_plan: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., inputs: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., metadata: _Optional[_Union[ExecutionMetadata, _Mapping]] = ..., notifications: _Optional[_Union[NotificationList, _Mapping]] = ..., disable_all: bool = ..., labels: _Optional[_Union[_common_pb2.Labels, _Mapping]] = ..., annotations: _Optional[_Union[_common_pb2.Annotations, _Mapping]] = ..., security_context: _Optional[_Union[_security_pb2.SecurityContext, _Mapping]] = ..., auth_role: _Optional[_Union[_common_pb2.AuthRole, _Mapping]] = ..., quality_of_service: _Optional[_Union[_execution_pb2.QualityOfService, _Mapping]] = ..., max_parallelism: _Optional[int] = ..., raw_output_data_config: _Optional[_Union[_common_pb2.RawOutputDataConfig, _Mapping]] = ..., cluster_assignment: _Optional[_Union[_cluster_assignment_pb2.ClusterAssignment, _Mapping]] = ..., interruptible: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., overwrite_cache: bool = ..., envs: _Optional[_Union[_common_pb2.Envs, _Mapping]] = ..., tags: _Optional[_Iterable[str]] = ..., execution_cluster_label: _Optional[_Union[_matchable_resource_pb2.ExecutionClusterLabel, _Mapping]] = ...) -> None: ... class ExecutionTerminateRequest(_message.Message): __slots__ = ["id", "cause"] diff --git a/flyteidl/gen/pb_rust/flyteidl.admin.rs b/flyteidl/gen/pb_rust/flyteidl.admin.rs index f324614904..ea1a14ce25 100644 --- a/flyteidl/gen/pb_rust/flyteidl.admin.rs +++ b/flyteidl/gen/pb_rust/flyteidl.admin.rs @@ -1034,153 +1034,412 @@ pub struct TaskExecutionEventRequest { #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskExecutionEventResponse { } -/// Request to launch an execution with the given project, domain and optionally-assigned name. +/// Defines a set of overridable task resource attributes set during task registration. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionCreateRequest { - /// Name of the project the execution belongs to. - /// +required +pub struct TaskResourceSpec { #[prost(string, tag="1")] - pub project: ::prost::alloc::string::String, - /// Name of the domain the execution belongs to. - /// A domain can be considered as a subset within a specific project. - /// +required + pub cpu: ::prost::alloc::string::String, #[prost(string, tag="2")] - pub domain: ::prost::alloc::string::String, - /// User provided value for the resource. - /// If none is provided the system will generate a unique string. - /// +optional + pub gpu: ::prost::alloc::string::String, #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - /// Additional fields necessary to launch the execution. - /// +optional - #[prost(message, optional, tag="4")] - pub spec: ::core::option::Option, - /// The inputs required to start the execution. All required inputs must be - /// included in this map. If not required and not provided, defaults apply. - /// +optional - #[prost(message, optional, tag="5")] - pub inputs: ::core::option::Option, - /// Optional, org key applied to the resource. - #[prost(string, tag="6")] - pub org: ::prost::alloc::string::String, + pub memory: ::prost::alloc::string::String, + #[prost(string, tag="4")] + pub storage: ::prost::alloc::string::String, + #[prost(string, tag="5")] + pub ephemeral_storage: ::prost::alloc::string::String, } -/// Request to relaunch the referenced execution. +/// Defines task resource defaults and limits that will be applied at task registration. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionRelaunchRequest { - /// Identifier of the workflow execution to relaunch. - /// +required +pub struct TaskResourceAttributes { #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// User provided value for the relaunched execution. - /// If none is provided the system will generate a unique string. - /// +optional - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - /// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. - /// If enabled, all calculations are performed even if cached results would be available, overwriting the stored - /// data once execution finishes successfully. - #[prost(bool, tag="4")] - pub overwrite_cache: bool, + pub defaults: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub limits: ::core::option::Option, } -/// Request to recover the referenced execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionRecoverRequest { - /// Identifier of the workflow execution to recover. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// User provided value for the recovered execution. - /// If none is provided the system will generate a unique string. - /// +optional - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - /// Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. - #[prost(message, optional, tag="3")] - pub metadata: ::core::option::Option, +pub struct ClusterResourceAttributes { + /// Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). + /// Map keys are the *case-sensitive* names of variables in templatized resource files. + /// Map values should be the custom values which get substituted during resource creation. + #[prost(map="string, string", tag="1")] + pub attributes: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// The unique identifier for a successfully created execution. -/// If the name was *not* specified in the create request, this identifier will include a generated name. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionCreateResponse { - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, +pub struct ExecutionQueueAttributes { + /// Tags used for assigning execution queues for tasks defined within this project. + #[prost(string, repeated, tag="1")] + pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A message used to fetch a single workflow execution entity. -/// See :ref:`ref_flyteidl.admin.Execution` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct WorkflowExecutionGetRequest { - /// Uniquely identifies an individual workflow execution. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, +pub struct ExecutionClusterLabel { + /// Label value to determine where the execution will be run + #[prost(string, tag="1")] + pub value: ::prost::alloc::string::String, } -/// A workflow execution represents an instantiated workflow, including all inputs and additional -/// metadata as well as computed results included state, outputs, and duration-based attributes. -/// Used as a response object used in Get and List execution requests. +/// This MatchableAttribute configures selecting alternate plugin implementations for a given task type. +/// In addition to an override implementation a selection of fallbacks can be provided or other modes +/// for handling cases where the desired plugin override is not enabled in a given Flyte deployment. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Execution { - /// Unique identifier of the workflow execution. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// User-provided configuration and inputs for launching the execution. - #[prost(message, optional, tag="2")] - pub spec: ::core::option::Option, - /// Execution results. - #[prost(message, optional, tag="3")] - pub closure: ::core::option::Option, +pub struct PluginOverride { + /// A predefined yet extensible Task type identifier. + #[prost(string, tag="1")] + pub task_type: ::prost::alloc::string::String, + /// A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. + #[prost(string, repeated, tag="2")] + pub plugin_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + /// Defines the behavior when no plugin from the plugin_id list is not found. + #[prost(enumeration="plugin_override::MissingPluginBehavior", tag="4")] + pub missing_plugin_behavior: i32, +} +/// Nested message and enum types in `PluginOverride`. +pub mod plugin_override { + #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] + #[repr(i32)] + pub enum MissingPluginBehavior { + /// By default, if this plugin is not enabled for a Flyte deployment then execution will fail. + Fail = 0, + /// Uses the system-configured default implementation. + UseDefault = 1, + } + impl MissingPluginBehavior { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + MissingPluginBehavior::Fail => "FAIL", + MissingPluginBehavior::UseDefault => "USE_DEFAULT", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "FAIL" => Some(Self::Fail), + "USE_DEFAULT" => Some(Self::UseDefault), + _ => None, + } + } + } } -/// Used as a response for request to list executions. -/// See :ref:`ref_flyteidl.admin.Execution` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionList { +pub struct PluginOverrides { #[prost(message, repeated, tag="1")] - pub executions: ::prost::alloc::vec::Vec, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. If there are no more results, this value will be empty. - #[prost(string, tag="2")] - pub token: ::prost::alloc::string::String, + pub overrides: ::prost::alloc::vec::Vec, } -/// Input/output data can represented by actual values or a link to where values are stored +/// Adds defaults for customizable workflow-execution specifications and overrides. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct LiteralMapBlob { - #[prost(oneof="literal_map_blob::Data", tags="1, 2")] - pub data: ::core::option::Option, +pub struct WorkflowExecutionConfig { + /// Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. + #[prost(int32, tag="1")] + pub max_parallelism: i32, + /// Indicates security context permissions for executions triggered with this matchable attribute. + #[prost(message, optional, tag="2")] + pub security_context: ::core::option::Option, + /// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + #[prost(message, optional, tag="3")] + pub raw_output_data_config: ::core::option::Option, + /// Custom labels to be applied to a triggered execution resource. + #[prost(message, optional, tag="4")] + pub labels: ::core::option::Option, + /// Custom annotations to be applied to a triggered execution resource. + #[prost(message, optional, tag="5")] + pub annotations: ::core::option::Option, + /// Allows for the interruptible flag of a workflow to be overwritten for a single execution. + /// Omitting this field uses the workflow's value as a default. + /// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper + /// around the bool field. + #[prost(message, optional, tag="6")] + pub interruptible: ::core::option::Option, + /// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. + /// If enabled, all calculations are performed even if cached results would be available, overwriting the stored + /// data once execution finishes successfully. + #[prost(bool, tag="7")] + pub overwrite_cache: bool, + /// Environment variables to be set for the execution. + #[prost(message, optional, tag="8")] + pub envs: ::core::option::Option, } -/// Nested message and enum types in `LiteralMapBlob`. -pub mod literal_map_blob { +/// Generic container for encapsulating all types of the above attributes messages. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct MatchingAttributes { + #[prost(oneof="matching_attributes::Target", tags="1, 2, 3, 4, 5, 6, 7, 8")] + pub target: ::core::option::Option, +} +/// Nested message and enum types in `MatchingAttributes`. +pub mod matching_attributes { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum Data { - /// Data in LiteralMap format + pub enum Target { #[prost(message, tag="1")] - Values(super::super::core::LiteralMap), - /// In the event that the map is too large, we return a uri to the data - #[prost(string, tag="2")] - Uri(::prost::alloc::string::String), + TaskResourceAttributes(super::TaskResourceAttributes), + #[prost(message, tag="2")] + ClusterResourceAttributes(super::ClusterResourceAttributes), + #[prost(message, tag="3")] + ExecutionQueueAttributes(super::ExecutionQueueAttributes), + #[prost(message, tag="4")] + ExecutionClusterLabel(super::ExecutionClusterLabel), + #[prost(message, tag="5")] + QualityOfService(super::super::core::QualityOfService), + #[prost(message, tag="6")] + PluginOverrides(super::PluginOverrides), + #[prost(message, tag="7")] + WorkflowExecutionConfig(super::WorkflowExecutionConfig), + #[prost(message, tag="8")] + ClusterAssignment(super::ClusterAssignment), } } -/// Specifies metadata around an aborted workflow execution. +/// Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org); +/// or domain, project and workflow name (and optional org). +/// These are used to override system level defaults for kubernetes cluster resource management, +/// default execution values, and more all across different levels of specificity. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct AbortMetadata { - /// In the case of a user-specified abort, this will pass along the user-supplied cause. - #[prost(string, tag="1")] - pub cause: ::prost::alloc::string::String, - /// Identifies the entity (if any) responsible for terminating the execution +pub struct MatchableAttributesConfiguration { + #[prost(message, optional, tag="1")] + pub attributes: ::core::option::Option, #[prost(string, tag="2")] - pub principal: ::prost::alloc::string::String, + pub domain: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub project: ::prost::alloc::string::String, + #[prost(string, tag="4")] + pub workflow: ::prost::alloc::string::String, + #[prost(string, tag="5")] + pub launch_plan: ::prost::alloc::string::String, + /// Optional, org key applied to the resource. + #[prost(string, tag="6")] + pub org: ::prost::alloc::string::String, } -/// Encapsulates the results of the Execution +/// Request all matching resource attributes for a resource type. +/// See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionClosure { - /// Inputs computed and passed for execution. +pub struct ListMatchableAttributesRequest { + /// +required + #[prost(enumeration="MatchableResource", tag="1")] + pub resource_type: i32, + /// Optional, org filter applied to list project requests. + #[prost(string, tag="2")] + pub org: ::prost::alloc::string::String, +} +/// Response for a request for all matching resource attributes for a resource type. +/// See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ListMatchableAttributesResponse { + #[prost(message, repeated, tag="1")] + pub configurations: ::prost::alloc::vec::Vec, +} +/// Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes +/// based on matching tags. +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] +#[repr(i32)] +pub enum MatchableResource { + /// Applies to customizable task resource requests and limits. + TaskResource = 0, + /// Applies to configuring templated kubernetes cluster resources. + ClusterResource = 1, + /// Configures task and dynamic task execution queue assignment. + ExecutionQueue = 2, + /// Configures the K8s cluster label to be used for execution to be run + ExecutionClusterLabel = 3, + /// Configures default quality of service when undefined in an execution spec. + QualityOfServiceSpecification = 4, + /// Selects configurable plugin implementation behavior for a given task type. + PluginOverride = 5, + /// Adds defaults for customizable workflow-execution specifications and overrides. + WorkflowExecutionConfig = 6, + /// Controls how to select an available cluster on which this execution should run. + ClusterAssignment = 7, +} +impl MatchableResource { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + MatchableResource::TaskResource => "TASK_RESOURCE", + MatchableResource::ClusterResource => "CLUSTER_RESOURCE", + MatchableResource::ExecutionQueue => "EXECUTION_QUEUE", + MatchableResource::ExecutionClusterLabel => "EXECUTION_CLUSTER_LABEL", + MatchableResource::QualityOfServiceSpecification => "QUALITY_OF_SERVICE_SPECIFICATION", + MatchableResource::PluginOverride => "PLUGIN_OVERRIDE", + MatchableResource::WorkflowExecutionConfig => "WORKFLOW_EXECUTION_CONFIG", + MatchableResource::ClusterAssignment => "CLUSTER_ASSIGNMENT", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "TASK_RESOURCE" => Some(Self::TaskResource), + "CLUSTER_RESOURCE" => Some(Self::ClusterResource), + "EXECUTION_QUEUE" => Some(Self::ExecutionQueue), + "EXECUTION_CLUSTER_LABEL" => Some(Self::ExecutionClusterLabel), + "QUALITY_OF_SERVICE_SPECIFICATION" => Some(Self::QualityOfServiceSpecification), + "PLUGIN_OVERRIDE" => Some(Self::PluginOverride), + "WORKFLOW_EXECUTION_CONFIG" => Some(Self::WorkflowExecutionConfig), + "CLUSTER_ASSIGNMENT" => Some(Self::ClusterAssignment), + _ => None, + } + } +} +/// Request to launch an execution with the given project, domain and optionally-assigned name. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionCreateRequest { + /// Name of the project the execution belongs to. + /// +required + #[prost(string, tag="1")] + pub project: ::prost::alloc::string::String, + /// Name of the domain the execution belongs to. + /// A domain can be considered as a subset within a specific project. + /// +required + #[prost(string, tag="2")] + pub domain: ::prost::alloc::string::String, + /// User provided value for the resource. + /// If none is provided the system will generate a unique string. + /// +optional + #[prost(string, tag="3")] + pub name: ::prost::alloc::string::String, + /// Additional fields necessary to launch the execution. + /// +optional + #[prost(message, optional, tag="4")] + pub spec: ::core::option::Option, + /// The inputs required to start the execution. All required inputs must be + /// included in this map. If not required and not provided, defaults apply. + /// +optional + #[prost(message, optional, tag="5")] + pub inputs: ::core::option::Option, + /// Optional, org key applied to the resource. + #[prost(string, tag="6")] + pub org: ::prost::alloc::string::String, +} +/// Request to relaunch the referenced execution. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionRelaunchRequest { + /// Identifier of the workflow execution to relaunch. + /// +required + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, + /// User provided value for the relaunched execution. + /// If none is provided the system will generate a unique string. + /// +optional + #[prost(string, tag="3")] + pub name: ::prost::alloc::string::String, + /// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. + /// If enabled, all calculations are performed even if cached results would be available, overwriting the stored + /// data once execution finishes successfully. + #[prost(bool, tag="4")] + pub overwrite_cache: bool, +} +/// Request to recover the referenced execution. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionRecoverRequest { + /// Identifier of the workflow execution to recover. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, + /// User provided value for the recovered execution. + /// If none is provided the system will generate a unique string. + /// +optional + #[prost(string, tag="2")] + pub name: ::prost::alloc::string::String, + /// Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. + #[prost(message, optional, tag="3")] + pub metadata: ::core::option::Option, +} +/// The unique identifier for a successfully created execution. +/// If the name was *not* specified in the create request, this identifier will include a generated name. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionCreateResponse { + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, +} +/// A message used to fetch a single workflow execution entity. +/// See :ref:`ref_flyteidl.admin.Execution` for more details +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct WorkflowExecutionGetRequest { + /// Uniquely identifies an individual workflow execution. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, +} +/// A workflow execution represents an instantiated workflow, including all inputs and additional +/// metadata as well as computed results included state, outputs, and duration-based attributes. +/// Used as a response object used in Get and List execution requests. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Execution { + /// Unique identifier of the workflow execution. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, + /// User-provided configuration and inputs for launching the execution. + #[prost(message, optional, tag="2")] + pub spec: ::core::option::Option, + /// Execution results. + #[prost(message, optional, tag="3")] + pub closure: ::core::option::Option, +} +/// Used as a response for request to list executions. +/// See :ref:`ref_flyteidl.admin.Execution` for more details +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionList { + #[prost(message, repeated, tag="1")] + pub executions: ::prost::alloc::vec::Vec, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. If there are no more results, this value will be empty. + #[prost(string, tag="2")] + pub token: ::prost::alloc::string::String, +} +/// Input/output data can represented by actual values or a link to where values are stored +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct LiteralMapBlob { + #[prost(oneof="literal_map_blob::Data", tags="1, 2")] + pub data: ::core::option::Option, +} +/// Nested message and enum types in `LiteralMapBlob`. +pub mod literal_map_blob { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Data { + /// Data in LiteralMap format + #[prost(message, tag="1")] + Values(super::super::core::LiteralMap), + /// In the event that the map is too large, we return a uri to the data + #[prost(string, tag="2")] + Uri(::prost::alloc::string::String), + } +} +/// Specifies metadata around an aborted workflow execution. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AbortMetadata { + /// In the case of a user-specified abort, this will pass along the user-supplied cause. + #[prost(string, tag="1")] + pub cause: ::prost::alloc::string::String, + /// Identifies the entity (if any) responsible for terminating the execution + #[prost(string, tag="2")] + pub principal: ::prost::alloc::string::String, +} +/// Encapsulates the results of the Execution +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionClosure { + /// Inputs computed and passed for execution. /// computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan #[deprecated] #[prost(message, optional, tag="3")] @@ -1328,814 +1587,558 @@ pub mod execution_metadata { ExecutionMode::Trigger => "TRIGGER", } } - /// Creates an enum from field names used in the ProtoBuf definition. - pub fn from_str_name(value: &str) -> ::core::option::Option { - match value { - "MANUAL" => Some(Self::Manual), - "SCHEDULED" => Some(Self::Scheduled), - "SYSTEM" => Some(Self::System), - "RELAUNCH" => Some(Self::Relaunch), - "CHILD_WORKFLOW" => Some(Self::ChildWorkflow), - "RECOVERED" => Some(Self::Recovered), - "TRIGGER" => Some(Self::Trigger), - _ => None, - } - } - } -} -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct NotificationList { - #[prost(message, repeated, tag="1")] - pub notifications: ::prost::alloc::vec::Vec, -} -/// An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime -/// of an execution as it progresses across phase changes. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionSpec { - /// Launch plan to be executed - #[prost(message, optional, tag="1")] - pub launch_plan: ::core::option::Option, - /// Input values to be passed for the execution - #[deprecated] - #[prost(message, optional, tag="2")] - pub inputs: ::core::option::Option, - /// Metadata for the execution - #[prost(message, optional, tag="3")] - pub metadata: ::core::option::Option, - /// Labels to apply to the execution resource. - #[prost(message, optional, tag="7")] - pub labels: ::core::option::Option, - /// Annotations to apply to the execution resource. - #[prost(message, optional, tag="8")] - pub annotations: ::core::option::Option, - /// Optional: security context override to apply this execution. - #[prost(message, optional, tag="10")] - pub security_context: ::core::option::Option, - /// Optional: auth override to apply this execution. - #[deprecated] - #[prost(message, optional, tag="16")] - pub auth_role: ::core::option::Option, - /// Indicates the runtime priority of the execution. - #[prost(message, optional, tag="17")] - pub quality_of_service: ::core::option::Option, - /// Controls the maximum number of task nodes that can be run in parallel for the entire workflow. - /// This is useful to achieve fairness. Note: MapTasks are regarded as one unit, - /// and parallelism/concurrency of MapTasks is independent from this. - #[prost(int32, tag="18")] - pub max_parallelism: i32, - /// User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). - /// This should be a prefix like s3://my-bucket/my-data - #[prost(message, optional, tag="19")] - pub raw_output_data_config: ::core::option::Option, - /// Controls how to select an available cluster on which this execution should run. - #[prost(message, optional, tag="20")] - pub cluster_assignment: ::core::option::Option, - /// Allows for the interruptible flag of a workflow to be overwritten for a single execution. - /// Omitting this field uses the workflow's value as a default. - /// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper - /// around the bool field. - #[prost(message, optional, tag="21")] - pub interruptible: ::core::option::Option, - /// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. - /// If enabled, all calculations are performed even if cached results would be available, overwriting the stored - /// data once execution finishes successfully. - #[prost(bool, tag="22")] - pub overwrite_cache: bool, - /// Environment variables to be set for the execution. - #[prost(message, optional, tag="23")] - pub envs: ::core::option::Option, - /// Tags to be set for the execution. - #[prost(string, repeated, tag="24")] - pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - #[prost(oneof="execution_spec::NotificationOverrides", tags="5, 6")] - pub notification_overrides: ::core::option::Option, -} -/// Nested message and enum types in `ExecutionSpec`. -pub mod execution_spec { - #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum NotificationOverrides { - /// List of notifications based on Execution status transitions - /// When this list is not empty it is used rather than any notifications defined in the referenced launch plan. - /// When this list is empty, the notifications defined for the launch plan will be applied. - #[prost(message, tag="5")] - Notifications(super::NotificationList), - /// This should be set to true if all notifications are intended to be disabled for this execution. - #[prost(bool, tag="6")] - DisableAll(bool), - } -} -/// Request to terminate an in-progress execution. This action is irreversible. -/// If an execution is already terminated, this request will simply be a no-op. -/// This request will fail if it references a non-existent execution. -/// If the request succeeds the phase "ABORTED" will be recorded for the termination -/// with the optional cause added to the output_result. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionTerminateRequest { - /// Uniquely identifies the individual workflow execution to be terminated. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// Optional reason for aborting. - #[prost(string, tag="2")] - pub cause: ::prost::alloc::string::String, -} -/// Purposefully empty, may be populated in the future. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionTerminateResponse { -} -/// Request structure to fetch inputs, output and other data produced by an execution. -/// By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest` -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct WorkflowExecutionGetDataRequest { - /// The identifier of the execution for which to fetch inputs and outputs. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, -} -/// Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct WorkflowExecutionGetDataResponse { - /// Signed url to fetch a core.LiteralMap of execution outputs. - /// Deprecated: Please use full_outputs instead. - #[deprecated] - #[prost(message, optional, tag="1")] - pub outputs: ::core::option::Option, - /// Signed url to fetch a core.LiteralMap of execution inputs. - /// Deprecated: Please use full_inputs instead. - #[deprecated] - #[prost(message, optional, tag="2")] - pub inputs: ::core::option::Option, - /// Full_inputs will only be populated if they are under a configured size threshold. - #[prost(message, optional, tag="3")] - pub full_inputs: ::core::option::Option, - /// Full_outputs will only be populated if they are under a configured size threshold. - #[prost(message, optional, tag="4")] - pub full_outputs: ::core::option::Option, -} -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionUpdateRequest { - /// Identifier of the execution to update - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// State to set as the new value active/archive - #[prost(enumeration="ExecutionState", tag="2")] - pub state: i32, -} -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionStateChangeDetails { - /// The state of the execution is used to control its visibility in the UI/CLI. - #[prost(enumeration="ExecutionState", tag="1")] - pub state: i32, - /// This timestamp represents when the state changed. - #[prost(message, optional, tag="2")] - pub occurred_at: ::core::option::Option<::prost_types::Timestamp>, - /// Identifies the entity (if any) responsible for causing the state change of the execution - #[prost(string, tag="3")] - pub principal: ::prost::alloc::string::String, -} -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionUpdateResponse { -} -/// WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct WorkflowExecutionGetMetricsRequest { - /// id defines the workflow execution to query for. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// depth defines the number of Flyte entity levels to traverse when breaking down execution details. - #[prost(int32, tag="2")] - pub depth: i32, -} -/// WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct WorkflowExecutionGetMetricsResponse { - /// Span defines the top-level breakdown of the workflows execution. More precise information is nested in a - /// hierarchical structure using Flyte entity references. - #[prost(message, optional, tag="1")] - pub span: ::core::option::Option, -} -/// The state of the execution is used to control its visibility in the UI/CLI. -#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] -#[repr(i32)] -pub enum ExecutionState { - /// By default, all executions are considered active. - ExecutionActive = 0, - /// Archived executions are no longer visible in the UI. - ExecutionArchived = 1, -} -impl ExecutionState { - /// String value of the enum field names used in the ProtoBuf definition. - /// - /// The values are not transformed in any way and thus are considered stable - /// (if the ProtoBuf definition does not change) and safe for programmatic use. - pub fn as_str_name(&self) -> &'static str { - match self { - ExecutionState::ExecutionActive => "EXECUTION_ACTIVE", - ExecutionState::ExecutionArchived => "EXECUTION_ARCHIVED", - } - } - /// Creates an enum from field names used in the ProtoBuf definition. - pub fn from_str_name(value: &str) -> ::core::option::Option { - match value { - "EXECUTION_ACTIVE" => Some(Self::ExecutionActive), - "EXECUTION_ARCHIVED" => Some(Self::ExecutionArchived), - _ => None, - } - } -} -/// Option for schedules run at a certain frequency e.g. every 2 minutes. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct FixedRate { - #[prost(uint32, tag="1")] - pub value: u32, - #[prost(enumeration="FixedRateUnit", tag="2")] - pub unit: i32, -} -/// Options for schedules to run according to a cron expression. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct CronSchedule { - /// Standard/default cron implementation as described by - /// Also supports nonstandard predefined scheduling definitions - /// as described by - /// except @reboot - #[prost(string, tag="1")] - pub schedule: ::prost::alloc::string::String, - /// ISO 8601 duration as described by - #[prost(string, tag="2")] - pub offset: ::prost::alloc::string::String, -} -/// Defines complete set of information required to trigger an execution on a schedule. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct Schedule { - /// Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. - #[prost(string, tag="3")] - pub kickoff_time_input_arg: ::prost::alloc::string::String, - #[prost(oneof="schedule::ScheduleExpression", tags="1, 2, 4")] - pub schedule_expression: ::core::option::Option, -} -/// Nested message and enum types in `Schedule`. -pub mod schedule { - #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum ScheduleExpression { - /// Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year - /// e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? * - #[prost(string, tag="1")] - CronExpression(::prost::alloc::string::String), - #[prost(message, tag="2")] - Rate(super::FixedRate), - #[prost(message, tag="4")] - CronSchedule(super::CronSchedule), - } -} -/// Represents a frequency at which to run a schedule. -#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] -#[repr(i32)] -pub enum FixedRateUnit { - Minute = 0, - Hour = 1, - Day = 2, -} -impl FixedRateUnit { - /// String value of the enum field names used in the ProtoBuf definition. - /// - /// The values are not transformed in any way and thus are considered stable - /// (if the ProtoBuf definition does not change) and safe for programmatic use. - pub fn as_str_name(&self) -> &'static str { - match self { - FixedRateUnit::Minute => "MINUTE", - FixedRateUnit::Hour => "HOUR", - FixedRateUnit::Day => "DAY", - } - } - /// Creates an enum from field names used in the ProtoBuf definition. - pub fn from_str_name(value: &str) -> ::core::option::Option { - match value { - "MINUTE" => Some(Self::Minute), - "HOUR" => Some(Self::Hour), - "DAY" => Some(Self::Day), - _ => None, - } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "MANUAL" => Some(Self::Manual), + "SCHEDULED" => Some(Self::Scheduled), + "SYSTEM" => Some(Self::System), + "RELAUNCH" => Some(Self::Relaunch), + "CHILD_WORKFLOW" => Some(Self::ChildWorkflow), + "RECOVERED" => Some(Self::Recovered), + "TRIGGER" => Some(Self::Trigger), + _ => None, + } + } } } -/// 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. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanCreateRequest { - /// Uniquely identifies a launch plan entity. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// User-provided launch plan details, including reference workflow, inputs and other metadata. - #[prost(message, optional, tag="2")] - pub spec: ::core::option::Option, -} -/// Purposefully empty, may be populated in the future. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanCreateResponse { -} -/// A LaunchPlan provides the capability to templatize workflow executions. -/// Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. -/// Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow -/// definition doesn't necessarily have a default value for said input. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlan { - /// Uniquely identifies a launch plan entity. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// User-provided launch plan details, including reference workflow, inputs and other metadata. - #[prost(message, optional, tag="2")] - pub spec: ::core::option::Option, - /// Values computed by the flyte platform after launch plan registration. - #[prost(message, optional, tag="3")] - pub closure: ::core::option::Option, -} -/// Response object for list launch plan requests. -/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanList { +pub struct NotificationList { #[prost(message, repeated, tag="1")] - pub launch_plans: ::prost::alloc::vec::Vec, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. If there are no more results, this value will be empty. - #[prost(string, tag="2")] - pub token: ::prost::alloc::string::String, -} -/// Defines permissions associated with executions created by this launch plan spec. -/// Use either of these roles when they have permissions required by your workflow execution. -/// Deprecated. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct Auth { - /// Defines an optional iam role which will be used for tasks run in executions created with this launch plan. - #[prost(string, tag="1")] - pub assumable_iam_role: ::prost::alloc::string::String, - /// Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - #[prost(string, tag="2")] - pub kubernetes_service_account: ::prost::alloc::string::String, + pub notifications: ::prost::alloc::vec::Vec, } -/// User-provided launch plan definition and configuration values. +/// An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime +/// of an execution as it progresses across phase changes. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanSpec { - /// Reference to the Workflow template that the launch plan references +pub struct ExecutionSpec { + /// Launch plan to be executed #[prost(message, optional, tag="1")] - pub workflow_id: ::core::option::Option, - /// Metadata for the Launch Plan + pub launch_plan: ::core::option::Option, + /// Input values to be passed for the execution + #[deprecated] #[prost(message, optional, tag="2")] - pub entity_metadata: ::core::option::Option, - /// Input values to be passed for the execution. - /// These can be overridden when an execution is created with this launch plan. + pub inputs: ::core::option::Option, + /// Metadata for the execution #[prost(message, optional, tag="3")] - pub default_inputs: ::core::option::Option, - /// Fixed, non-overridable inputs for the Launch Plan. - /// These can not be overridden when an execution is created with this launch plan. - #[prost(message, optional, tag="4")] - pub fixed_inputs: ::core::option::Option, - /// String to indicate the role to use to execute the workflow underneath - #[deprecated] - #[prost(string, tag="5")] - pub role: ::prost::alloc::string::String, - /// Custom labels to be applied to the execution resource. - #[prost(message, optional, tag="6")] - pub labels: ::core::option::Option, - /// Custom annotations to be applied to the execution resource. + pub metadata: ::core::option::Option, + /// Labels to apply to the execution resource. #[prost(message, optional, tag="7")] - pub annotations: ::core::option::Option, - /// Indicates the permission associated with workflow executions triggered with this launch plan. - #[deprecated] + pub labels: ::core::option::Option, + /// Annotations to apply to the execution resource. #[prost(message, optional, tag="8")] - pub auth: ::core::option::Option, - #[deprecated] - #[prost(message, optional, tag="9")] - pub auth_role: ::core::option::Option, - /// Indicates security context for permissions triggered with this launch plan + pub annotations: ::core::option::Option, + /// Optional: security context override to apply this execution. #[prost(message, optional, tag="10")] pub security_context: ::core::option::Option, - /// Indicates the runtime priority of the execution. + /// Optional: auth override to apply this execution. + #[deprecated] #[prost(message, optional, tag="16")] - pub quality_of_service: ::core::option::Option, - /// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + pub auth_role: ::core::option::Option, + /// Indicates the runtime priority of the execution. #[prost(message, optional, tag="17")] - pub raw_output_data_config: ::core::option::Option, - /// Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. + pub quality_of_service: ::core::option::Option, + /// Controls the maximum number of task nodes that can be run in parallel for the entire workflow. /// This is useful to achieve fairness. Note: MapTasks are regarded as one unit, /// and parallelism/concurrency of MapTasks is independent from this. #[prost(int32, tag="18")] pub max_parallelism: i32, + /// User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). + /// This should be a prefix like s3://my-bucket/my-data + #[prost(message, optional, tag="19")] + pub raw_output_data_config: ::core::option::Option, + /// Controls how to select an available cluster on which this execution should run. + #[prost(message, optional, tag="20")] + pub cluster_assignment: ::core::option::Option, /// Allows for the interruptible flag of a workflow to be overwritten for a single execution. /// Omitting this field uses the workflow's value as a default. /// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper /// around the bool field. - #[prost(message, optional, tag="19")] + #[prost(message, optional, tag="21")] pub interruptible: ::core::option::Option, /// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. /// If enabled, all calculations are performed even if cached results would be available, overwriting the stored /// data once execution finishes successfully. - #[prost(bool, tag="20")] + #[prost(bool, tag="22")] pub overwrite_cache: bool, /// Environment variables to be set for the execution. - #[prost(message, optional, tag="21")] + #[prost(message, optional, tag="23")] pub envs: ::core::option::Option, + /// Tags to be set for the execution. + #[prost(string, repeated, tag="24")] + pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + /// Execution cluster label to be set for the execution. + #[prost(message, optional, tag="25")] + pub execution_cluster_label: ::core::option::Option, + #[prost(oneof="execution_spec::NotificationOverrides", tags="5, 6")] + pub notification_overrides: ::core::option::Option, } -/// Values computed by the flyte platform after launch plan registration. -/// These include expected_inputs required to be present in a CreateExecutionRequest -/// to launch the reference workflow as well timestamp values associated with the launch plan. +/// Nested message and enum types in `ExecutionSpec`. +pub mod execution_spec { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum NotificationOverrides { + /// List of notifications based on Execution status transitions + /// When this list is not empty it is used rather than any notifications defined in the referenced launch plan. + /// When this list is empty, the notifications defined for the launch plan will be applied. + #[prost(message, tag="5")] + Notifications(super::NotificationList), + /// This should be set to true if all notifications are intended to be disabled for this execution. + #[prost(bool, tag="6")] + DisableAll(bool), + } +} +/// Request to terminate an in-progress execution. This action is irreversible. +/// If an execution is already terminated, this request will simply be a no-op. +/// This request will fail if it references a non-existent execution. +/// If the request succeeds the phase "ABORTED" will be recorded for the termination +/// with the optional cause added to the output_result. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanClosure { - /// Indicate the Launch plan state. - #[prost(enumeration="LaunchPlanState", tag="1")] - pub state: i32, - /// Indicates the set of inputs expected when creating an execution with the Launch plan +pub struct ExecutionTerminateRequest { + /// Uniquely identifies the individual workflow execution to be terminated. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, + /// Optional reason for aborting. + #[prost(string, tag="2")] + pub cause: ::prost::alloc::string::String, +} +/// Purposefully empty, may be populated in the future. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionTerminateResponse { +} +/// Request structure to fetch inputs, output and other data produced by an execution. +/// By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest` +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct WorkflowExecutionGetDataRequest { + /// The identifier of the execution for which to fetch inputs and outputs. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, +} +/// Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct WorkflowExecutionGetDataResponse { + /// Signed url to fetch a core.LiteralMap of execution outputs. + /// Deprecated: Please use full_outputs instead. + #[deprecated] + #[prost(message, optional, tag="1")] + pub outputs: ::core::option::Option, + /// Signed url to fetch a core.LiteralMap of execution inputs. + /// Deprecated: Please use full_inputs instead. + #[deprecated] #[prost(message, optional, tag="2")] - pub expected_inputs: ::core::option::Option, - /// Indicates the set of outputs expected to be produced by creating an execution with the Launch plan + pub inputs: ::core::option::Option, + /// Full_inputs will only be populated if they are under a configured size threshold. #[prost(message, optional, tag="3")] - pub expected_outputs: ::core::option::Option, - /// Time at which the launch plan was created. + pub full_inputs: ::core::option::Option, + /// Full_outputs will only be populated if they are under a configured size threshold. #[prost(message, optional, tag="4")] - pub created_at: ::core::option::Option<::prost_types::Timestamp>, - /// Time at which the launch plan was last updated. - #[prost(message, optional, tag="5")] - pub updated_at: ::core::option::Option<::prost_types::Timestamp>, + pub full_outputs: ::core::option::Option, } -/// Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch -/// the reference workflow. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanMetadata { - /// Schedule to execute the Launch Plan +pub struct ExecutionUpdateRequest { + /// Identifier of the execution to update #[prost(message, optional, tag="1")] - pub schedule: ::core::option::Option, - /// 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>, + pub id: ::core::option::Option, + /// State to set as the new value active/archive + #[prost(enumeration="ExecutionState", tag="2")] + pub state: i32, } -/// Request to set the referenced launch plan state to the configured value. -/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanUpdateRequest { - /// Identifier of launch plan for which to change state. - /// +required. - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// Desired state to apply to the launch plan. - /// +required. - #[prost(enumeration="LaunchPlanState", tag="2")] +pub struct ExecutionStateChangeDetails { + /// The state of the execution is used to control its visibility in the UI/CLI. + #[prost(enumeration="ExecutionState", tag="1")] pub state: i32, + /// This timestamp represents when the state changed. + #[prost(message, optional, tag="2")] + pub occurred_at: ::core::option::Option<::prost_types::Timestamp>, + /// Identifies the entity (if any) responsible for causing the state change of the execution + #[prost(string, tag="3")] + pub principal: ::prost::alloc::string::String, } -/// Purposefully empty, may be populated in the future. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct LaunchPlanUpdateResponse { +pub struct ExecutionUpdateResponse { } -/// Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier -/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details +/// WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ActiveLaunchPlanRequest { - /// +required. +pub struct WorkflowExecutionGetMetricsRequest { + /// id defines the workflow execution to query for. #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, + pub id: ::core::option::Option, + /// depth defines the number of Flyte entity levels to traverse when breaking down execution details. + #[prost(int32, tag="2")] + pub depth: i32, } -/// Represents a request structure to list active launch plans within a project/domain and optional org. -/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details +/// WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ActiveLaunchPlanListRequest { - /// Name of the project that contains the identifiers. - /// +required. - #[prost(string, tag="1")] - pub project: ::prost::alloc::string::String, - /// Name of the domain the identifiers belongs to within the project. - /// +required. - #[prost(string, tag="2")] - pub domain: ::prost::alloc::string::String, - /// Indicates the number of resources to be returned. - /// +required. - #[prost(uint32, tag="3")] - pub limit: u32, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. - /// +optional - #[prost(string, tag="4")] - pub token: ::prost::alloc::string::String, - /// Sort ordering. - /// +optional - #[prost(message, optional, tag="5")] - pub sort_by: ::core::option::Option, - /// Optional, org key applied to the resource. - #[prost(string, tag="6")] - pub org: ::prost::alloc::string::String, +pub struct WorkflowExecutionGetMetricsResponse { + /// Span defines the top-level breakdown of the workflows execution. More precise information is nested in a + /// hierarchical structure using Flyte entity references. + #[prost(message, optional, tag="1")] + pub span: ::core::option::Option, } -/// By default any launch plan regardless of state can be used to launch a workflow execution. -/// However, at most one version of a launch plan -/// (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be -/// active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier -/// group will be observed and trigger executions at a defined cadence. +/// The state of the execution is used to control its visibility in the UI/CLI. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] -pub enum LaunchPlanState { - Inactive = 0, - Active = 1, +pub enum ExecutionState { + /// By default, all executions are considered active. + ExecutionActive = 0, + /// Archived executions are no longer visible in the UI. + ExecutionArchived = 1, } -impl LaunchPlanState { +impl ExecutionState { /// String value of the enum field names used in the ProtoBuf definition. /// /// The values are not transformed in any way and thus are considered stable /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - LaunchPlanState::Inactive => "INACTIVE", - LaunchPlanState::Active => "ACTIVE", + ExecutionState::ExecutionActive => "EXECUTION_ACTIVE", + ExecutionState::ExecutionArchived => "EXECUTION_ARCHIVED", } } /// Creates an enum from field names used in the ProtoBuf definition. pub fn from_str_name(value: &str) -> ::core::option::Option { match value { - "INACTIVE" => Some(Self::Inactive), - "ACTIVE" => Some(Self::Active), + "EXECUTION_ACTIVE" => Some(Self::ExecutionActive), + "EXECUTION_ARCHIVED" => Some(Self::ExecutionArchived), _ => None, } } } -/// Defines a set of overridable task resource attributes set during task registration. +/// Option for schedules run at a certain frequency e.g. every 2 minutes. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct TaskResourceSpec { - #[prost(string, tag="1")] - pub cpu: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub gpu: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub memory: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub storage: ::prost::alloc::string::String, - #[prost(string, tag="5")] - pub ephemeral_storage: ::prost::alloc::string::String, +pub struct FixedRate { + #[prost(uint32, tag="1")] + pub value: u32, + #[prost(enumeration="FixedRateUnit", tag="2")] + pub unit: i32, } -/// Defines task resource defaults and limits that will be applied at task registration. +/// Options for schedules to run according to a cron expression. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct TaskResourceAttributes { - #[prost(message, optional, tag="1")] - pub defaults: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub limits: ::core::option::Option, +pub struct CronSchedule { + /// Standard/default cron implementation as described by + /// Also supports nonstandard predefined scheduling definitions + /// as described by + /// except @reboot + #[prost(string, tag="1")] + pub schedule: ::prost::alloc::string::String, + /// ISO 8601 duration as described by + #[prost(string, tag="2")] + pub offset: ::prost::alloc::string::String, } +/// Defines complete set of information required to trigger an execution on a schedule. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ClusterResourceAttributes { - /// Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). - /// Map keys are the *case-sensitive* names of variables in templatized resource files. - /// Map values should be the custom values which get substituted during resource creation. - #[prost(map="string, string", tag="1")] - pub attributes: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, +pub struct Schedule { + /// Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. + #[prost(string, tag="3")] + pub kickoff_time_input_arg: ::prost::alloc::string::String, + #[prost(oneof="schedule::ScheduleExpression", tags="1, 2, 4")] + pub schedule_expression: ::core::option::Option, +} +/// Nested message and enum types in `Schedule`. +pub mod schedule { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum ScheduleExpression { + /// Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year + /// e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? * + #[prost(string, tag="1")] + CronExpression(::prost::alloc::string::String), + #[prost(message, tag="2")] + Rate(super::FixedRate), + #[prost(message, tag="4")] + CronSchedule(super::CronSchedule), + } +} +/// Represents a frequency at which to run a schedule. +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] +#[repr(i32)] +pub enum FixedRateUnit { + Minute = 0, + Hour = 1, + Day = 2, +} +impl FixedRateUnit { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + FixedRateUnit::Minute => "MINUTE", + FixedRateUnit::Hour => "HOUR", + FixedRateUnit::Day => "DAY", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "MINUTE" => Some(Self::Minute), + "HOUR" => Some(Self::Hour), + "DAY" => Some(Self::Day), + _ => None, + } + } } +/// 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. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionQueueAttributes { - /// Tags used for assigning execution queues for tasks defined within this project. - #[prost(string, repeated, tag="1")] - pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +pub struct LaunchPlanCreateRequest { + /// Uniquely identifies a launch plan entity. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, + /// User-provided launch plan details, including reference workflow, inputs and other metadata. + #[prost(message, optional, tag="2")] + pub spec: ::core::option::Option, } +/// Purposefully empty, may be populated in the future. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecutionClusterLabel { - /// Label value to determine where the execution will be run - #[prost(string, tag="1")] - pub value: ::prost::alloc::string::String, +pub struct LaunchPlanCreateResponse { } -/// This MatchableAttribute configures selecting alternate plugin implementations for a given task type. -/// In addition to an override implementation a selection of fallbacks can be provided or other modes -/// for handling cases where the desired plugin override is not enabled in a given Flyte deployment. +/// A LaunchPlan provides the capability to templatize workflow executions. +/// Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. +/// Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow +/// definition doesn't necessarily have a default value for said input. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct PluginOverride { - /// A predefined yet extensible Task type identifier. - #[prost(string, tag="1")] - pub task_type: ::prost::alloc::string::String, - /// A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. - #[prost(string, repeated, tag="2")] - pub plugin_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Defines the behavior when no plugin from the plugin_id list is not found. - #[prost(enumeration="plugin_override::MissingPluginBehavior", tag="4")] - pub missing_plugin_behavior: i32, -} -/// Nested message and enum types in `PluginOverride`. -pub mod plugin_override { - #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] - #[repr(i32)] - pub enum MissingPluginBehavior { - /// By default, if this plugin is not enabled for a Flyte deployment then execution will fail. - Fail = 0, - /// Uses the system-configured default implementation. - UseDefault = 1, - } - impl MissingPluginBehavior { - /// String value of the enum field names used in the ProtoBuf definition. - /// - /// The values are not transformed in any way and thus are considered stable - /// (if the ProtoBuf definition does not change) and safe for programmatic use. - pub fn as_str_name(&self) -> &'static str { - match self { - MissingPluginBehavior::Fail => "FAIL", - MissingPluginBehavior::UseDefault => "USE_DEFAULT", - } - } - /// Creates an enum from field names used in the ProtoBuf definition. - pub fn from_str_name(value: &str) -> ::core::option::Option { - match value { - "FAIL" => Some(Self::Fail), - "USE_DEFAULT" => Some(Self::UseDefault), - _ => None, - } - } - } +pub struct LaunchPlan { + /// Uniquely identifies a launch plan entity. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, + /// User-provided launch plan details, including reference workflow, inputs and other metadata. + #[prost(message, optional, tag="2")] + pub spec: ::core::option::Option, + /// Values computed by the flyte platform after launch plan registration. + #[prost(message, optional, tag="3")] + pub closure: ::core::option::Option, } +/// Response object for list launch plan requests. +/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct PluginOverrides { +pub struct LaunchPlanList { #[prost(message, repeated, tag="1")] - pub overrides: ::prost::alloc::vec::Vec, + pub launch_plans: ::prost::alloc::vec::Vec, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. If there are no more results, this value will be empty. + #[prost(string, tag="2")] + pub token: ::prost::alloc::string::String, +} +/// Defines permissions associated with executions created by this launch plan spec. +/// Use either of these roles when they have permissions required by your workflow execution. +/// Deprecated. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Auth { + /// Defines an optional iam role which will be used for tasks run in executions created with this launch plan. + #[prost(string, tag="1")] + pub assumable_iam_role: ::prost::alloc::string::String, + /// Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. + #[prost(string, tag="2")] + pub kubernetes_service_account: ::prost::alloc::string::String, } -/// Adds defaults for customizable workflow-execution specifications and overrides. +/// User-provided launch plan definition and configuration values. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct WorkflowExecutionConfig { - /// Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. - #[prost(int32, tag="1")] - pub max_parallelism: i32, - /// Indicates security context permissions for executions triggered with this matchable attribute. +pub struct LaunchPlanSpec { + /// Reference to the Workflow template that the launch plan references + #[prost(message, optional, tag="1")] + pub workflow_id: ::core::option::Option, + /// Metadata for the Launch Plan #[prost(message, optional, tag="2")] - pub security_context: ::core::option::Option, - /// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + pub entity_metadata: ::core::option::Option, + /// Input values to be passed for the execution. + /// These can be overridden when an execution is created with this launch plan. #[prost(message, optional, tag="3")] - pub raw_output_data_config: ::core::option::Option, - /// Custom labels to be applied to a triggered execution resource. + pub default_inputs: ::core::option::Option, + /// Fixed, non-overridable inputs for the Launch Plan. + /// These can not be overridden when an execution is created with this launch plan. #[prost(message, optional, tag="4")] + pub fixed_inputs: ::core::option::Option, + /// String to indicate the role to use to execute the workflow underneath + #[deprecated] + #[prost(string, tag="5")] + pub role: ::prost::alloc::string::String, + /// Custom labels to be applied to the execution resource. + #[prost(message, optional, tag="6")] pub labels: ::core::option::Option, - /// Custom annotations to be applied to a triggered execution resource. - #[prost(message, optional, tag="5")] + /// Custom annotations to be applied to the execution resource. + #[prost(message, optional, tag="7")] pub annotations: ::core::option::Option, + /// Indicates the permission associated with workflow executions triggered with this launch plan. + #[deprecated] + #[prost(message, optional, tag="8")] + pub auth: ::core::option::Option, + #[deprecated] + #[prost(message, optional, tag="9")] + pub auth_role: ::core::option::Option, + /// Indicates security context for permissions triggered with this launch plan + #[prost(message, optional, tag="10")] + pub security_context: ::core::option::Option, + /// Indicates the runtime priority of the execution. + #[prost(message, optional, tag="16")] + pub quality_of_service: ::core::option::Option, + /// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + #[prost(message, optional, tag="17")] + pub raw_output_data_config: ::core::option::Option, + /// Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. + /// This is useful to achieve fairness. Note: MapTasks are regarded as one unit, + /// and parallelism/concurrency of MapTasks is independent from this. + #[prost(int32, tag="18")] + pub max_parallelism: i32, /// Allows for the interruptible flag of a workflow to be overwritten for a single execution. /// Omitting this field uses the workflow's value as a default. /// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper /// around the bool field. - #[prost(message, optional, tag="6")] + #[prost(message, optional, tag="19")] pub interruptible: ::core::option::Option, /// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. /// If enabled, all calculations are performed even if cached results would be available, overwriting the stored /// data once execution finishes successfully. - #[prost(bool, tag="7")] + #[prost(bool, tag="20")] pub overwrite_cache: bool, /// Environment variables to be set for the execution. - #[prost(message, optional, tag="8")] + #[prost(message, optional, tag="21")] pub envs: ::core::option::Option, } -/// Generic container for encapsulating all types of the above attributes messages. +/// Values computed by the flyte platform after launch plan registration. +/// These include expected_inputs required to be present in a CreateExecutionRequest +/// to launch the reference workflow as well timestamp values associated with the launch plan. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct MatchingAttributes { - #[prost(oneof="matching_attributes::Target", tags="1, 2, 3, 4, 5, 6, 7, 8")] - pub target: ::core::option::Option, +pub struct LaunchPlanClosure { + /// Indicate the Launch plan state. + #[prost(enumeration="LaunchPlanState", tag="1")] + pub state: i32, + /// Indicates the set of inputs expected when creating an execution with the Launch plan + #[prost(message, optional, tag="2")] + pub expected_inputs: ::core::option::Option, + /// Indicates the set of outputs expected to be produced by creating an execution with the Launch plan + #[prost(message, optional, tag="3")] + pub expected_outputs: ::core::option::Option, + /// Time at which the launch plan was created. + #[prost(message, optional, tag="4")] + pub created_at: ::core::option::Option<::prost_types::Timestamp>, + /// Time at which the launch plan was last updated. + #[prost(message, optional, tag="5")] + pub updated_at: ::core::option::Option<::prost_types::Timestamp>, } -/// Nested message and enum types in `MatchingAttributes`. -pub mod matching_attributes { - #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum Target { - #[prost(message, tag="1")] - TaskResourceAttributes(super::TaskResourceAttributes), - #[prost(message, tag="2")] - ClusterResourceAttributes(super::ClusterResourceAttributes), - #[prost(message, tag="3")] - ExecutionQueueAttributes(super::ExecutionQueueAttributes), - #[prost(message, tag="4")] - ExecutionClusterLabel(super::ExecutionClusterLabel), - #[prost(message, tag="5")] - QualityOfService(super::super::core::QualityOfService), - #[prost(message, tag="6")] - PluginOverrides(super::PluginOverrides), - #[prost(message, tag="7")] - WorkflowExecutionConfig(super::WorkflowExecutionConfig), - #[prost(message, tag="8")] - ClusterAssignment(super::ClusterAssignment), - } +/// Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch +/// the reference workflow. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct LaunchPlanMetadata { + /// Schedule to execute the Launch Plan + #[prost(message, optional, tag="1")] + pub schedule: ::core::option::Option, + /// 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>, } -/// Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org); -/// or domain, project and workflow name (and optional org). -/// These are used to override system level defaults for kubernetes cluster resource management, -/// default execution values, and more all across different levels of specificity. +/// Request to set the referenced launch plan state to the configured value. +/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct MatchableAttributesConfiguration { +pub struct LaunchPlanUpdateRequest { + /// Identifier of launch plan for which to change state. + /// +required. #[prost(message, optional, tag="1")] - pub attributes: ::core::option::Option, - #[prost(string, tag="2")] - pub domain: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub project: ::prost::alloc::string::String, - #[prost(string, tag="4")] - pub workflow: ::prost::alloc::string::String, - #[prost(string, tag="5")] - pub launch_plan: ::prost::alloc::string::String, - /// Optional, org key applied to the resource. - #[prost(string, tag="6")] - pub org: ::prost::alloc::string::String, + pub id: ::core::option::Option, + /// Desired state to apply to the launch plan. + /// +required. + #[prost(enumeration="LaunchPlanState", tag="2")] + pub state: i32, } -/// Request all matching resource attributes for a resource type. -/// See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details +/// Purposefully empty, may be populated in the future. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ListMatchableAttributesRequest { - /// +required - #[prost(enumeration="MatchableResource", tag="1")] - pub resource_type: i32, - /// Optional, org filter applied to list project requests. - #[prost(string, tag="2")] - pub org: ::prost::alloc::string::String, +pub struct LaunchPlanUpdateResponse { } -/// Response for a request for all matching resource attributes for a resource type. -/// See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details +/// Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier +/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ListMatchableAttributesResponse { - #[prost(message, repeated, tag="1")] - pub configurations: ::prost::alloc::vec::Vec, +pub struct ActiveLaunchPlanRequest { + /// +required. + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, } -/// Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes -/// based on matching tags. +/// Represents a request structure to list active launch plans within a project/domain and optional org. +/// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ActiveLaunchPlanListRequest { + /// Name of the project that contains the identifiers. + /// +required. + #[prost(string, tag="1")] + pub project: ::prost::alloc::string::String, + /// Name of the domain the identifiers belongs to within the project. + /// +required. + #[prost(string, tag="2")] + pub domain: ::prost::alloc::string::String, + /// Indicates the number of resources to be returned. + /// +required. + #[prost(uint32, tag="3")] + pub limit: u32, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. + /// +optional + #[prost(string, tag="4")] + pub token: ::prost::alloc::string::String, + /// Sort ordering. + /// +optional + #[prost(message, optional, tag="5")] + pub sort_by: ::core::option::Option, + /// Optional, org key applied to the resource. + #[prost(string, tag="6")] + pub org: ::prost::alloc::string::String, +} +/// By default any launch plan regardless of state can be used to launch a workflow execution. +/// However, at most one version of a launch plan +/// (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be +/// active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier +/// group will be observed and trigger executions at a defined cadence. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] -pub enum MatchableResource { - /// Applies to customizable task resource requests and limits. - TaskResource = 0, - /// Applies to configuring templated kubernetes cluster resources. - ClusterResource = 1, - /// Configures task and dynamic task execution queue assignment. - ExecutionQueue = 2, - /// Configures the K8s cluster label to be used for execution to be run - ExecutionClusterLabel = 3, - /// Configures default quality of service when undefined in an execution spec. - QualityOfServiceSpecification = 4, - /// Selects configurable plugin implementation behavior for a given task type. - PluginOverride = 5, - /// Adds defaults for customizable workflow-execution specifications and overrides. - WorkflowExecutionConfig = 6, - /// Controls how to select an available cluster on which this execution should run. - ClusterAssignment = 7, +pub enum LaunchPlanState { + Inactive = 0, + Active = 1, } -impl MatchableResource { +impl LaunchPlanState { /// String value of the enum field names used in the ProtoBuf definition. /// /// The values are not transformed in any way and thus are considered stable /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - MatchableResource::TaskResource => "TASK_RESOURCE", - MatchableResource::ClusterResource => "CLUSTER_RESOURCE", - MatchableResource::ExecutionQueue => "EXECUTION_QUEUE", - MatchableResource::ExecutionClusterLabel => "EXECUTION_CLUSTER_LABEL", - MatchableResource::QualityOfServiceSpecification => "QUALITY_OF_SERVICE_SPECIFICATION", - MatchableResource::PluginOverride => "PLUGIN_OVERRIDE", - MatchableResource::WorkflowExecutionConfig => "WORKFLOW_EXECUTION_CONFIG", - MatchableResource::ClusterAssignment => "CLUSTER_ASSIGNMENT", + LaunchPlanState::Inactive => "INACTIVE", + LaunchPlanState::Active => "ACTIVE", } } /// Creates an enum from field names used in the ProtoBuf definition. pub fn from_str_name(value: &str) -> ::core::option::Option { match value { - "TASK_RESOURCE" => Some(Self::TaskResource), - "CLUSTER_RESOURCE" => Some(Self::ClusterResource), - "EXECUTION_QUEUE" => Some(Self::ExecutionQueue), - "EXECUTION_CLUSTER_LABEL" => Some(Self::ExecutionClusterLabel), - "QUALITY_OF_SERVICE_SPECIFICATION" => Some(Self::QualityOfServiceSpecification), - "PLUGIN_OVERRIDE" => Some(Self::PluginOverride), - "WORKFLOW_EXECUTION_CONFIG" => Some(Self::WorkflowExecutionConfig), - "CLUSTER_ASSIGNMENT" => Some(Self::ClusterAssignment), + "INACTIVE" => Some(Self::Inactive), + "ACTIVE" => Some(Self::Active), _ => None, } } diff --git a/flyteidl/protos/flyteidl/admin/execution.proto b/flyteidl/protos/flyteidl/admin/execution.proto index a46d6efdd3..09f8fcc7ec 100644 --- a/flyteidl/protos/flyteidl/admin/execution.proto +++ b/flyteidl/protos/flyteidl/admin/execution.proto @@ -14,6 +14,7 @@ import "flyteidl/core/security.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; +import "flyteidl/admin/matchable_resource.proto"; // Request to launch an execution with the given project, domain and optionally-assigned name. message ExecutionCreateRequest { @@ -330,6 +331,9 @@ message ExecutionSpec { // Tags to be set for the execution. repeated string tags = 24; + + // Execution cluster label to be set for the execution. + ExecutionClusterLabel execution_cluster_label = 25; } // Request to terminate an in-progress execution. This action is irreversible.