From 8ac697e3467e5c3b49c63979c0e4316b3587e839 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Tue, 9 Jan 2024 02:10:41 +0800 Subject: [PATCH] Artifacts shell 2 (#4649) This is a follow up PR to the [first shell pr](https://github.com/flyteorg/flyte/pull/4474/), which just brought in the non-artifact-service artifact changes. This PR continues with additional smaller changes. * Remove the `/data` prefix in the grpc gateway paths. Signed-off-by: Yee Hing Tong --- .github/workflows/flyteidl-buf-publish.yml | 2 +- flyteadmin/pkg/artifacts/registry.go | 4 +- .../implementations/cloudevent_publisher.go | 64 +- .../manager/impl/exec_manager_other_test.go | 12 +- .../pkg/manager/impl/execution_manager.go | 52 +- .../flyteidl/artifact/artifacts.grpc.pb.cc | 38 +- .../flyteidl/artifact/artifacts.grpc.pb.h | 132 +- .../pb-cpp/flyteidl/artifact/artifacts.pb.cc | 391 +++-- .../pb-cpp/flyteidl/artifact/artifacts.pb.h | 130 +- .../pb-cpp/flyteidl/event/cloudevents.pb.cc | 602 ++----- .../pb-cpp/flyteidl/event/cloudevents.pb.h | 398 +---- .../pb-go/flyteidl/artifact/artifacts.pb.go | 307 ++-- .../flyteidl/artifact/artifacts.pb.gw.go | 55 +- .../flyteidl/artifact/artifacts.swagger.json | 62 +- .../pb-go/flyteidl/event/cloudevents.pb.go | 136 +- .../pb-java/flyteidl/artifact/Artifacts.java | 395 ++--- .../pb-java/flyteidl/event/Cloudevents.java | 1561 ++++------------- flyteidl/gen/pb-js/flyteidl.d.ts | 32 +- flyteidl/gen/pb-js/flyteidl.js | 142 +- .../flyteidl/artifact/artifacts_pb2.py | 50 +- .../flyteidl/artifact/artifacts_pb2.pyi | 4 +- .../flyteidl/artifact/artifacts_pb2_grpc.py | 26 +- .../flyteidl/event/cloudevents_pb2.py | 16 +- .../flyteidl/event/cloudevents_pb2.pyi | 24 +- flyteidl/gen/pb_rust/flyteidl.artifact.rs | 4 +- flyteidl/gen/pb_rust/flyteidl.event.rs | 31 +- .../protos/flyteidl/artifact/artifacts.proto | 25 +- .../protos/flyteidl/event/cloudevents.proto | 33 +- flytestdlib/database/db.go | 7 +- flytestdlib/database/postgres.go | 1 + flytestdlib/go.mod | 1 - 31 files changed, 1619 insertions(+), 3118 deletions(-) diff --git a/.github/workflows/flyteidl-buf-publish.yml b/.github/workflows/flyteidl-buf-publish.yml index cbb530421c..96bd0085a6 100644 --- a/.github/workflows/flyteidl-buf-publish.yml +++ b/.github/workflows/flyteidl-buf-publish.yml @@ -3,7 +3,7 @@ name: Publish flyteidl Buf Package on: push: branches: - - artifacts-shell + - artifacts-shell-2 - artifacts - master paths: diff --git a/flyteadmin/pkg/artifacts/registry.go b/flyteadmin/pkg/artifacts/registry.go index cdc0717ac6..0ea2e11a5c 100644 --- a/flyteadmin/pkg/artifacts/registry.go +++ b/flyteadmin/pkg/artifacts/registry.go @@ -87,8 +87,8 @@ func NewArtifactRegistry(ctx context.Context, connCfg *admin2.Config, _ ...grpc. client: nil, } } - var cfg = connCfg - clients, err := admin2.NewClientsetBuilder().WithConfig(cfg).Build(ctx) + + clients, err := admin2.NewClientsetBuilder().WithConfig(connCfg).Build(ctx) if err != nil { logger.Errorf(ctx, "Failed to create Artifact client") // too many calls to this function to update, just panic for now. diff --git a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go index 20bdc0203d..46bd0f0ede 100644 --- a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go +++ b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go @@ -136,9 +136,7 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context // For now, don't append any additional information unless succeeded if rawEvent.Phase != core.WorkflowExecution_SUCCEEDED { return &event.CloudEventWorkflowExecution{ - RawEvent: rawEvent, - OutputData: nil, - OutputInterface: nil, + RawEvent: rawEvent, }, nil } @@ -181,13 +179,6 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context } } - // Get inputs to the workflow execution - var inputs *core.LiteralMap - inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, executionModel.InputsURI.String()) - if err != nil { - logger.Warningf(ctx, "Error fetching input literal map %s", executionModel.InputsURI.String()) - } // The spec is used to retrieve metadata fields spec := &admin.ExecutionSpec{} err = proto.Unmarshal(executionModel.Spec, spec) @@ -195,25 +186,9 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) } - // Get outputs from the workflow execution - var outputs *core.LiteralMap - if rawEvent.GetOutputData() != nil { - outputs = rawEvent.GetOutputData() - } else if len(rawEvent.GetOutputUri()) > 0 { - // GetInputs actually fetches the data, even though this is an output - outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, c.storageClient, rawEvent.GetOutputUri()) - if err != nil { - // gatepr: metric this - logger.Warningf(ctx, "Error fetching output literal map %v", rawEvent) - return nil, err - } - } - return &event.CloudEventWorkflowExecution{ RawEvent: rawEvent, - OutputData: outputs, OutputInterface: &workflowInterface, - InputData: inputs, ArtifactIds: spec.GetMetadata().GetArtifactIds(), ReferenceExecution: spec.GetMetadata().GetReferenceExecution(), Principal: spec.GetMetadata().Principal, @@ -303,40 +278,6 @@ func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Con fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) } - // Get inputs/outputs - // This will likely need to move to the artifact service side, given message size limits. - // Replace with call to GetNodeExecutionData - var inputs *core.LiteralMap - logger.Debugf(ctx, "RawEvent id %v", rawEvent.Id) - if len(rawEvent.GetInputUri()) > 0 { - inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, rawEvent.GetInputUri()) - logger.Debugf(ctx, "RawEvent input uri %v, %v", rawEvent.GetInputUri(), inputs) - - if err != nil { - fmt.Printf("Error fetching input literal map %v", rawEvent) - } - } else if rawEvent.GetInputData() != nil { - inputs = rawEvent.GetInputData() - logger.Debugf(ctx, "RawEvent input data %v, %v", rawEvent.GetInputData(), inputs) - } else { - logger.Infof(ctx, "Node execution for node exec [%+v] has no input data", rawEvent.Id) - } - - // This will likely need to move to the artifact service side, given message size limits. - var outputs *core.LiteralMap - if rawEvent.GetOutputData() != nil { - outputs = rawEvent.GetOutputData() - } else if len(rawEvent.GetOutputUri()) > 0 { - // GetInputs actually fetches the data, even though this is an output - outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, rawEvent.GetOutputUri()) - if err != nil { - fmt.Printf("Error fetching output literal map %v", rawEvent) - return nil, err - } - } - // Fetch the latest task execution if any, and pull out the task interface, if applicable. // These are optional fields... if the node execution doesn't have a task execution then these will be empty. var taskExecID *core.TaskExecutionIdentifier @@ -369,13 +310,10 @@ func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Con taskExecID = lte.Id } - logger.Debugf(ctx, "RawEvent inputs %v", inputs) return &event.CloudEventNodeExecution{ RawEvent: rawEvent, TaskExecId: taskExecID, - OutputData: outputs, OutputInterface: typedInterface, - InputData: inputs, ArtifactIds: spec.GetMetadata().GetArtifactIds(), Principal: spec.GetMetadata().Principal, LaunchPlanId: spec.LaunchPlan, diff --git a/flyteadmin/pkg/manager/impl/exec_manager_other_test.go b/flyteadmin/pkg/manager/impl/exec_manager_other_test.go index 35b8e14d5b..2534d4055f 100644 --- a/flyteadmin/pkg/manager/impl/exec_manager_other_test.go +++ b/flyteadmin/pkg/manager/impl/exec_manager_other_test.go @@ -54,12 +54,16 @@ func TestTrackingBitExtract(t *testing.T) { }, } - trackers := execManager.ExtractArtifactKeys(&lit) + var trackers = make(map[string]string) + execManager.ExtractArtifactTrackers(trackers, &lit) assert.Equal(t, 1, len(trackers)) - trackers = execManager.ExtractArtifactKeys(&core.Literal{Value: &core.Literal_Map{Map: &inputMap}}) + trackers = make(map[string]string) + execManager.ExtractArtifactTrackers(trackers, &core.Literal{Value: &core.Literal_Map{Map: &inputMap}}) assert.Equal(t, 1, len(trackers)) - trackers = execManager.ExtractArtifactKeys(&core.Literal{Value: &core.Literal_Collection{Collection: &inputColl}}) + + trackers = make(map[string]string) + execManager.ExtractArtifactTrackers(trackers, &core.Literal{Value: &core.Literal_Collection{Collection: &inputColl}}) assert.Equal(t, 1, len(trackers)) - assert.Equal(t, "proj/domain/name@version", trackers[0]) + assert.Equal(t, "", trackers["proj/domain/name@version"]) } diff --git a/flyteadmin/pkg/manager/impl/execution_manager.go b/flyteadmin/pkg/manager/impl/execution_manager.go index db02fabf07..dc36a308c4 100644 --- a/flyteadmin/pkg/manager/impl/execution_manager.go +++ b/flyteadmin/pkg/manager/impl/execution_manager.go @@ -47,6 +47,7 @@ import ( ) const childContainerQueueKey = "child_queue" +const artifactTrackerKey = "_ua" // Map of [project] -> map of [domain] -> stop watch type projectDomainScopedStopWatchMap = map[string]map[string]*promutils.StopWatch @@ -700,31 +701,26 @@ func resolveSecurityCtx(ctx context.Context, executionConfigSecurityCtx *core.Se } } -// ExtractArtifactKeys pulls out artifact keys from Literals for lineage -// todo: rename this function to be less confusing -func (m *ExecutionManager) ExtractArtifactKeys(input *core.Literal) []string { - var artifactKeys []string +// ExtractArtifactTrackers pulls out artifact tracker strings from Literals for lineage +func (m *ExecutionManager) ExtractArtifactTrackers(artifactTrackers map[string]string, input *core.Literal) { if input == nil { - return artifactKeys + return } if input.GetMetadata() != nil { - if artifactKey, ok := input.GetMetadata()["_ua"]; ok { - artifactKeys = append(artifactKeys, artifactKey) + if tracker, ok := input.GetMetadata()[artifactTrackerKey]; ok { + artifactTrackers[tracker] = "" } } if input.GetCollection() != nil { for _, v := range input.GetCollection().Literals { - mapKeys := m.ExtractArtifactKeys(v) - artifactKeys = append(artifactKeys, mapKeys...) + m.ExtractArtifactTrackers(artifactTrackers, v) } } else if input.GetMap() != nil { for _, v := range input.GetMap().Literals { - mapKeys := m.ExtractArtifactKeys(v) - artifactKeys = append(artifactKeys, mapKeys...) + m.ExtractArtifactTrackers(artifactTrackers, v) } } - return artifactKeys } // getStringFromInput should be called when a tag or partition value is a binding to an input. the input is looked up @@ -976,7 +972,7 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( // TODO: Artifact feature gate, remove when ready var lpExpectedInputs *core.ParameterMap - var artifactTrackers []string + var artifactTrackers = make(map[string]string) var usedArtifactIDs []*core.ArtifactID if m.artifactRegistry.GetClient() != nil { // Literals may have an artifact key in the metadata field. This is something the artifact service should have @@ -988,9 +984,8 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( fixedInputMap := &core.Literal{ Value: &core.Literal_Map{Map: launchPlan.Spec.FixedInputs}, } - artifactTrackers = m.ExtractArtifactKeys(requestInputMap) - fixedInputArtifactKeys := m.ExtractArtifactKeys(fixedInputMap) - artifactTrackers = append(artifactTrackers, fixedInputArtifactKeys...) + m.ExtractArtifactTrackers(artifactTrackers, requestInputMap) + m.ExtractArtifactTrackers(artifactTrackers, fixedInputMap) // Put together the inputs that we've already resolved so that the artifact querying bit can fill them in. // This is to support artifact queries that depend on other inputs using the {{ .inputs.var }} construct. @@ -1018,7 +1013,7 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( } logger.Debugf(ctx, "Resolved launch plan closure expected inputs from [%+v] to [%+v]", launchPlan.Closure.ExpectedInputs, lpExpectedInputs) - logger.Debugf(ctx, "Found artifact keys: %v", artifactTrackers) + logger.Debugf(ctx, "Found artifact trackers: %v", artifactTrackers) logger.Debugf(ctx, "Found artifact IDs: %v", usedArtifactIDs) } else { @@ -1173,6 +1168,7 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( // Publish of event is also gated on the artifact client being available, even though it's not directly required. // TODO: Artifact feature gate, remove when ready if m.artifactRegistry.GetClient() != nil { + // TODO: Add principal m.publishExecutionStart(ctx, workflowExecutionID, request.Spec.LaunchPlan, workflow.Id, artifactTrackers, usedArtifactIDs) } @@ -1227,17 +1223,23 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( // publishExecutionStart is an event that Admin publishes for artifact lineage. func (m *ExecutionManager) publishExecutionStart(ctx context.Context, executionID core.WorkflowExecutionIdentifier, - launchPlanID *core.Identifier, workflowID *core.Identifier, inputArtifactKeys []string, usedArtifactIDs []*core.ArtifactID) { + launchPlanID *core.Identifier, workflowID *core.Identifier, artifactTrackers map[string]string, usedArtifactIDs []*core.ArtifactID) { + + var artifactTrackerList []string + // Use a list instead of the fake set + for k := range artifactTrackers { + artifactTrackerList = append(artifactTrackerList, k) + } - if len(inputArtifactKeys) > 0 || len(usedArtifactIDs) > 0 { - logger.Debugf(ctx, "Sending execution start event for execution [%+v] with input artifact keys [%+v] and used artifact ids [%+v]", executionID, inputArtifactKeys, usedArtifactIDs) + if len(artifactTrackerList) > 0 || len(usedArtifactIDs) > 0 { + logger.Debugf(ctx, "Sending execution start event for execution [%+v] with trackers [%+v] and artifact ids [%+v]", executionID, artifactTrackerList, usedArtifactIDs) request := event.CloudEventExecutionStart{ - ExecutionId: &executionID, - LaunchPlanId: launchPlanID, - WorkflowId: workflowID, - ArtifactIds: usedArtifactIDs, - ArtifactKeys: inputArtifactKeys, + ExecutionId: &executionID, + LaunchPlanId: launchPlanID, + WorkflowId: workflowID, + ArtifactIds: usedArtifactIDs, + ArtifactTrackers: artifactTrackerList, } go func() { ceCtx := context.TODO() diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc index bcf5f3f71a..80aff7ed55 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc @@ -24,7 +24,7 @@ static const char* ArtifactRegistry_method_names[] = { "/flyteidl.artifact.ArtifactRegistry/GetArtifact", "/flyteidl.artifact.ArtifactRegistry/SearchArtifacts", "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", - "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + "/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger", "/flyteidl.artifact.ArtifactRegistry/AddTag", "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", @@ -43,7 +43,7 @@ ArtifactRegistry::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& c , rpcmethod_GetArtifact_(ArtifactRegistry_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_SearchArtifacts_(ArtifactRegistry_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateTrigger_(ArtifactRegistry_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteTrigger_(ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeactivateTrigger_(ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_AddTag_(ArtifactRegistry_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_RegisterProducer_(ArtifactRegistry_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_RegisterConsumer_(ArtifactRegistry_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) @@ -163,32 +163,32 @@ ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_CreateTrigger_, context, request, false); } -::grpc::Status ArtifactRegistry::Stub::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteTrigger_, context, request, response); +::grpc::Status ArtifactRegistry::Stub::DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::flyteidl::artifact::DeactivateTriggerResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeactivateTrigger_, context, request, response); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, std::move(f)); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, std::move(f)); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, reactor); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, true); +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* ArtifactRegistry::Stub::AsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeactivateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeactivateTrigger_, context, request, true); } -::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, false); +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeactivateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeactivateTrigger_, context, request, false); } ::grpc::Status ArtifactRegistry::Stub::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) { @@ -355,8 +355,8 @@ ArtifactRegistry::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( - std::mem_fn(&ArtifactRegistry::Service::DeleteTrigger), this))); + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>( + std::mem_fn(&ArtifactRegistry::Service::DeactivateTrigger), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( ArtifactRegistry_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, @@ -415,7 +415,7 @@ ::grpc::Status ArtifactRegistry::Service::CreateTrigger(::grpc::ServerContext* c return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status ArtifactRegistry::Service::DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) { +::grpc::Status ArtifactRegistry::Service::DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) { (void) context; (void) request; (void) response; diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h index 1fbe28eb23..8de7e34e02 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h @@ -76,12 +76,12 @@ class ArtifactRegistry final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); } - virtual ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + virtual ::grpc::Status DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::flyteidl::artifact::DeactivateTriggerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>> AsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>>(AsyncDeactivateTriggerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>> PrepareAsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>>(PrepareAsyncDeactivateTriggerRaw(context, request, cq)); } virtual ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { @@ -137,10 +137,10 @@ class ArtifactRegistry final { virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) = 0; virtual void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; @@ -172,8 +172,8 @@ class ArtifactRegistry final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>* AsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>* PrepareAsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -216,12 +216,12 @@ class ArtifactRegistry final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); } - ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + ::grpc::Status DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>> AsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>>(AsyncDeactivateTriggerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>> PrepareAsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>>(PrepareAsyncDeactivateTriggerRaw(context, request, cq)); } ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { @@ -277,10 +277,10 @@ class ArtifactRegistry final { void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) override; void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; @@ -320,8 +320,8 @@ class ArtifactRegistry final { ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* AsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* PrepareAsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) override; @@ -336,7 +336,7 @@ class ArtifactRegistry final { const ::grpc::internal::RpcMethod rpcmethod_GetArtifact_; const ::grpc::internal::RpcMethod rpcmethod_SearchArtifacts_; const ::grpc::internal::RpcMethod rpcmethod_CreateTrigger_; - const ::grpc::internal::RpcMethod rpcmethod_DeleteTrigger_; + const ::grpc::internal::RpcMethod rpcmethod_DeactivateTrigger_; const ::grpc::internal::RpcMethod rpcmethod_AddTag_; const ::grpc::internal::RpcMethod rpcmethod_RegisterProducer_; const ::grpc::internal::RpcMethod rpcmethod_RegisterConsumer_; @@ -353,7 +353,7 @@ class ArtifactRegistry final { virtual ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response); virtual ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response); virtual ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response); - virtual ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response); + virtual ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response); virtual ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response); virtual ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response); virtual ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response); @@ -441,22 +441,22 @@ class ArtifactRegistry final { } }; template - class WithAsyncMethod_DeleteTrigger : public BaseClass { + class WithAsyncMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithAsyncMethod_DeleteTrigger() { + WithAsyncMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodAsync(4); } - ~WithAsyncMethod_DeleteTrigger() override { + ~WithAsyncMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestDeleteTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::DeleteTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::DeleteTriggerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeactivateTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::DeactivateTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::DeactivateTriggerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -560,7 +560,7 @@ class ArtifactRegistry final { ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateArtifact > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CreateArtifact > > > > > > > > > AsyncService; template class ExperimentalWithCallbackMethod_CreateArtifact : public BaseClass { private: @@ -686,35 +686,35 @@ class ArtifactRegistry final { virtual void CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template - class ExperimentalWithCallbackMethod_DeleteTrigger : public BaseClass { + class ExperimentalWithCallbackMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - ExperimentalWithCallbackMethod_DeleteTrigger() { + ExperimentalWithCallbackMethod_DeactivateTrigger() { ::grpc::Service::experimental().MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>( [this](::grpc::ServerContext* context, - const ::flyteidl::artifact::DeleteTriggerRequest* request, - ::flyteidl::artifact::DeleteTriggerResponse* response, + const ::flyteidl::artifact::DeactivateTriggerRequest* request, + ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->DeleteTrigger(context, request, response, controller); + return this->DeactivateTrigger(context, request, response, controller); })); } - void SetMessageAllocatorFor_DeleteTrigger( - ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>*>( + void SetMessageAllocatorFor_DeactivateTrigger( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>*>( ::grpc::Service::experimental().GetHandler(4)) ->SetMessageAllocator(allocator); } - ~ExperimentalWithCallbackMethod_DeleteTrigger() override { + ~ExperimentalWithCallbackMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual void DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + virtual void DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template class ExperimentalWithCallbackMethod_AddTag : public BaseClass { @@ -871,7 +871,7 @@ class ArtifactRegistry final { } virtual void FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; - typedef ExperimentalWithCallbackMethod_CreateArtifact > > > > > > > > > ExperimentalCallbackService; + typedef ExperimentalWithCallbackMethod_CreateArtifact > > > > > > > > > ExperimentalCallbackService; template class WithGenericMethod_CreateArtifact : public BaseClass { private: @@ -941,18 +941,18 @@ class ArtifactRegistry final { } }; template - class WithGenericMethod_DeleteTrigger : public BaseClass { + class WithGenericMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithGenericMethod_DeleteTrigger() { + WithGenericMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodGeneric(4); } - ~WithGenericMethod_DeleteTrigger() override { + ~WithGenericMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1123,22 +1123,22 @@ class ArtifactRegistry final { } }; template - class WithRawMethod_DeleteTrigger : public BaseClass { + class WithRawMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithRawMethod_DeleteTrigger() { + WithRawMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodRaw(4); } - ~WithRawMethod_DeleteTrigger() override { + ~WithRawMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestDeleteTrigger(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeactivateTrigger(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -1343,29 +1343,29 @@ class ArtifactRegistry final { virtual void CreateTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template - class ExperimentalWithRawCallbackMethod_DeleteTrigger : public BaseClass { + class ExperimentalWithRawCallbackMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - ExperimentalWithRawCallbackMethod_DeleteTrigger() { + ExperimentalWithRawCallbackMethod_DeactivateTrigger() { ::grpc::Service::experimental().MarkMethodRawCallback(4, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this](::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { - this->DeleteTrigger(context, request, response, controller); + this->DeactivateTrigger(context, request, response, controller); })); } - ~ExperimentalWithRawCallbackMethod_DeleteTrigger() override { + ~ExperimentalWithRawCallbackMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual void DeleteTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + virtual void DeactivateTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template class ExperimentalWithRawCallbackMethod_AddTag : public BaseClass { @@ -1573,24 +1573,24 @@ class ArtifactRegistry final { virtual ::grpc::Status StreamedCreateTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::CreateTriggerRequest,::flyteidl::artifact::CreateTriggerResponse>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_DeleteTrigger : public BaseClass { + class WithStreamedUnaryMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithStreamedUnaryMethod_DeleteTrigger() { + WithStreamedUnaryMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>(std::bind(&WithStreamedUnaryMethod_DeleteTrigger::StreamedDeleteTrigger, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>(std::bind(&WithStreamedUnaryMethod_DeactivateTrigger::StreamedDeactivateTrigger, this, std::placeholders::_1, std::placeholders::_2))); } - ~WithStreamedUnaryMethod_DeleteTrigger() override { + ~WithStreamedUnaryMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedDeleteTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::DeleteTriggerRequest,::flyteidl::artifact::DeleteTriggerResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedDeactivateTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::DeactivateTriggerRequest,::flyteidl::artifact::DeactivateTriggerResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_AddTag : public BaseClass { @@ -1692,9 +1692,9 @@ class ArtifactRegistry final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedFindByWorkflowExec(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::FindByWorkflowExecRequest,::flyteidl::artifact::SearchArtifactsResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedService; }; } // namespace artifact diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc index 230d0b093a..8ad1843781 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc @@ -101,14 +101,14 @@ class CreateTriggerResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _CreateTriggerResponse_default_instance_; -class DeleteTriggerRequestDefaultTypeInternal { +class DeactivateTriggerRequestDefaultTypeInternal { public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DeleteTriggerRequest_default_instance_; -class DeleteTriggerResponseDefaultTypeInternal { + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeactivateTriggerRequest_default_instance_; +class DeactivateTriggerResponseDefaultTypeInternal { public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DeleteTriggerResponse_default_instance_; + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeactivateTriggerResponse_default_instance_; class ArtifactProducerDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -384,34 +384,34 @@ static void InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2e ::google::protobuf::internal::SCCInfo<0> scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; -static void InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { +static void InitDefaultsDeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::flyteidl::artifact::_DeleteTriggerRequest_default_instance_; - new (ptr) ::flyteidl::artifact::DeleteTriggerRequest(); + void* ptr = &::flyteidl::artifact::_DeactivateTriggerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::DeactivateTriggerRequest(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::flyteidl::artifact::DeleteTriggerRequest::InitAsDefaultInstance(); + ::flyteidl::artifact::DeactivateTriggerRequest::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { +::google::protobuf::internal::SCCInfo<1> scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; -static void InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { +static void InitDefaultsDeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::flyteidl::artifact::_DeleteTriggerResponse_default_instance_; - new (ptr) ::flyteidl::artifact::DeleteTriggerResponse(); + void* ptr = &::flyteidl::artifact::_DeactivateTriggerResponse_default_instance_; + new (ptr) ::flyteidl::artifact::DeactivateTriggerResponse(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::flyteidl::artifact::DeleteTriggerResponse::InitAsDefaultInstance(); + ::flyteidl::artifact::DeactivateTriggerResponse::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<0> scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; +::google::protobuf::internal::SCCInfo<0> scc_info_DeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; static void InitDefaultsArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -536,8 +536,8 @@ void InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_AddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); @@ -678,13 +678,13 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fartifact_2fartifacts_2ep ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeactivateTriggerRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, trigger_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeactivateTriggerRequest, trigger_id_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeactivateTriggerResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ @@ -749,8 +749,8 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 109, -1, sizeof(::flyteidl::artifact::AddTagResponse)}, { 114, -1, sizeof(::flyteidl::artifact::CreateTriggerRequest)}, { 120, -1, sizeof(::flyteidl::artifact::CreateTriggerResponse)}, - { 125, -1, sizeof(::flyteidl::artifact::DeleteTriggerRequest)}, - { 131, -1, sizeof(::flyteidl::artifact::DeleteTriggerResponse)}, + { 125, -1, sizeof(::flyteidl::artifact::DeactivateTriggerRequest)}, + { 131, -1, sizeof(::flyteidl::artifact::DeactivateTriggerResponse)}, { 136, -1, sizeof(::flyteidl::artifact::ArtifactProducer)}, { 143, -1, sizeof(::flyteidl::artifact::RegisterProducerRequest)}, { 149, -1, sizeof(::flyteidl::artifact::ArtifactConsumer)}, @@ -777,8 +777,8 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::artifact::_AddTagResponse_default_instance_), reinterpret_cast(&::flyteidl::artifact::_CreateTriggerRequest_default_instance_), reinterpret_cast(&::flyteidl::artifact::_CreateTriggerResponse_default_instance_), - reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerRequest_default_instance_), - reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeactivateTriggerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeactivateTriggerResponse_default_instance_), reinterpret_cast(&::flyteidl::artifact::_ArtifactProducer_default_instance_), reinterpret_cast(&::flyteidl::artifact::_RegisterProducerRequest_default_instance_), reinterpret_cast(&::flyteidl::artifact::_ArtifactConsumer_default_instance_), @@ -851,78 +851,79 @@ const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" - "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" - "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" - "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" - "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" - "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" - "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" - "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" - "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" - "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" - "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" - "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" - "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" - " \003(\0132#.flyteidl.artifact.ArtifactConsume" - "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" - "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" - "l.core.WorkflowExecutionIdentifier\022)\n\006in" - "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" - "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" - "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" - "act.CreateArtifactRequest\032).flyteidl.art" - "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" - "tifact\022%.flyteidl.artifact.GetArtifactRe" - "quest\032&.flyteidl.artifact.GetArtifactRes" - "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" - "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" - "tifact/id/{query.artifact_id.artifact_ke" - "y.project}/{query.artifact_id.artifact_k" - "ey.domain}/{query.artifact_id.artifact_k" - "ey.name}/{query.artifact_id.version}Z\234\001\022" - "\231\001/artifacts/api/v1/data/artifact/id/{qu" - "ery.artifact_id.artifact_key.project}/{q" - "uery.artifact_id.artifact_key.domain}/{q" - "uery.artifact_id.artifact_key.name}Z\240\001\022\235" - "\001/artifacts/api/v1/data/artifact/tag/{qu" - "ery.artifact_tag.artifact_key.project}/{" - "query.artifact_tag.artifact_key.domain}/" - "{query.artifact_tag.artifact_key.name}\022\240" - "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" - "earchArtifactsRequest\032*.flyteidl.artifac" - "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" - "tifacts/api/v1/data/query/s/{artifact_ke" - "y.project}/{artifact_key.domain}/{artifa" - "ct_key.name}ZK\022I/artifacts/api/v1/data/q" - "uery/{artifact_key.project}/{artifact_ke" - "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" - "tifact.CreateTriggerRequest\032(.flyteidl.a" - "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" - "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" - "erRequest\032(.flyteidl.artifact.DeleteTrig" - "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" - "act.AddTagRequest\032!.flyteidl.artifact.Ad" - "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" - "teidl.artifact.RegisterProducerRequest\032#" - ".flyteidl.artifact.RegisterResponse\"\000\022e\n" - "\020RegisterConsumer\022*.flyteidl.artifact.Re" - "gisterConsumerRequest\032#.flyteidl.artifac" - "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" - "ts\022).flyteidl.artifact.ExecutionInputsRe" - "quest\032*.flyteidl.artifact.ExecutionInput" - "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" - "teidl.artifact.FindByWorkflowExecRequest" - "\032*.flyteidl.artifact.SearchArtifactsResp" - "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" - "ry/e/{exec_id.project}/{exec_id.domain}/" - "{exec_id.name}/{direction}B@Z>github.com" - "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" - "idl/artifactb\006proto3" + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"I\n" + "\030DeactivateTriggerRequest\022-\n\ntrigger_id\030" + "\001 \001(\0132\031.flyteidl.core.Identifier\"\033\n\031Deac" + "tivateTriggerResponse\"m\n\020ArtifactProduce" + "r\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.core.Ide" + "ntifier\022+\n\007outputs\030\002 \001(\0132\032.flyteidl.core" + ".VariableMap\"Q\n\027RegisterProducerRequest\022" + "6\n\tproducers\030\001 \003(\0132#.flyteidl.artifact.A" + "rtifactProducer\"m\n\020ArtifactConsumer\022,\n\te" + "ntity_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + "r\022+\n\006inputs\030\002 \001(\0132\033.flyteidl.core.Parame" + "terMap\"Q\n\027RegisterConsumerRequest\0226\n\tcon" + "sumers\030\001 \003(\0132#.flyteidl.artifact.Artifac" + "tConsumer\"\022\n\020RegisterResponse\"\205\001\n\026Execut" + "ionInputsRequest\022@\n\014execution_id\030\001 \001(\0132*" + ".flyteidl.core.WorkflowExecutionIdentifi" + "er\022)\n\006inputs\030\002 \003(\0132\031.flyteidl.core.Artif" + "actID\"\031\n\027ExecutionInputsResponse2\371\016\n\020Art" + "ifactRegistry\022g\n\016CreateArtifact\022(.flytei" + "dl.artifact.CreateArtifactRequest\032).flyt" + "eidl.artifact.CreateArtifactResponse\"\000\022\361" + "\004\n\013GetArtifact\022%.flyteidl.artifact.GetAr" + "tifactRequest\032&.flyteidl.artifact.GetArt" + "ifactResponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/" + "v1/artifactsZ\263\001\022\260\001/artifacts/api/v1/arti" + "fact/id/{query.artifact_id.artifact_key." + "project}/{query.artifact_id.artifact_key" + ".domain}/{query.artifact_id.artifact_key" + ".name}/{query.artifact_id.version}Z\227\001\022\224\001" + "/artifacts/api/v1/artifact/id/{query.art" + "ifact_id.artifact_key.project}/{query.ar" + "tifact_id.artifact_key.domain}/{query.ar" + "tifact_id.artifact_key.name}Z\233\001\022\230\001/artif" + "acts/api/v1/artifact/tag/{query.artifact" + "_tag.artifact_key.project}/{query.artifa" + "ct_tag.artifact_key.domain}/{query.artif" + "act_tag.artifact_key.name}\022\226\002\n\017SearchArt" + "ifacts\022).flyteidl.artifact.SearchArtifac" + "tsRequest\032*.flyteidl.artifact.SearchArti" + "factsResponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/" + "v1/search/{artifact_key.project}/{artifa" + "ct_key.domain}/{artifact_key.name}ZG\022E/a" + "rtifacts/api/v1/search/{artifact_key.pro" + "ject}/{artifact_key.domain}\022d\n\rCreateTri" + "gger\022\'.flyteidl.artifact.CreateTriggerRe" + "quest\032(.flyteidl.artifact.CreateTriggerR" + "esponse\"\000\022\237\001\n\021DeactivateTrigger\022+.flytei" + "dl.artifact.DeactivateTriggerRequest\032,.f" + "lyteidl.artifact.DeactivateTriggerRespon" + "se\"/\202\323\344\223\002)2$/artifacts/api/v1/trigger/de" + "activate:\001*\022O\n\006AddTag\022 .flyteidl.artifac" + "t.AddTagRequest\032!.flyteidl.artifact.AddT" + "agResponse\"\000\022e\n\020RegisterProducer\022*.flyte" + "idl.artifact.RegisterProducerRequest\032#.f" + "lyteidl.artifact.RegisterResponse\"\000\022e\n\020R" + "egisterConsumer\022*.flyteidl.artifact.Regi" + "sterConsumerRequest\032#.flyteidl.artifact." + "RegisterResponse\"\000\022m\n\022SetExecutionInputs" + "\022).flyteidl.artifact.ExecutionInputsRequ" + "est\032*.flyteidl.artifact.ExecutionInputsR" + "esponse\"\000\022\330\001\n\022FindByWorkflowExec\022,.flyte" + "idl.artifact.FindByWorkflowExecRequest\032*" + ".flyteidl.artifact.SearchArtifactsRespon" + "se\"h\202\323\344\223\002b\022`/artifacts/api/v1/search/exe" + "cution/{exec_id.project}/{exec_id.domain" + "}/{exec_id.name}/{direction}B@Z>github.c" + "om/flyteorg/flyte/flyteidl/gen/pb-go/fly" + "teidl/artifactb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto = { false, InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto, descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto, - "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4900, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4942, }; void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { @@ -7137,35 +7138,35 @@ ::google::protobuf::Metadata CreateTriggerResponse::GetMetadata() const { // =================================================================== -void DeleteTriggerRequest::InitAsDefaultInstance() { - ::flyteidl::artifact::_DeleteTriggerRequest_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( +void DeactivateTriggerRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_DeactivateTriggerRequest_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( ::flyteidl::core::Identifier::internal_default_instance()); } -class DeleteTriggerRequest::HasBitSetters { +class DeactivateTriggerRequest::HasBitSetters { public: - static const ::flyteidl::core::Identifier& trigger_id(const DeleteTriggerRequest* msg); + static const ::flyteidl::core::Identifier& trigger_id(const DeactivateTriggerRequest* msg); }; const ::flyteidl::core::Identifier& -DeleteTriggerRequest::HasBitSetters::trigger_id(const DeleteTriggerRequest* msg) { +DeactivateTriggerRequest::HasBitSetters::trigger_id(const DeactivateTriggerRequest* msg) { return *msg->trigger_id_; } -void DeleteTriggerRequest::clear_trigger_id() { +void DeactivateTriggerRequest::clear_trigger_id() { if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { delete trigger_id_; } trigger_id_ = nullptr; } #if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DeleteTriggerRequest::kTriggerIdFieldNumber; +const int DeactivateTriggerRequest::kTriggerIdFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -DeleteTriggerRequest::DeleteTriggerRequest() +DeactivateTriggerRequest::DeactivateTriggerRequest() : ::google::protobuf::Message(), _internal_metadata_(nullptr) { SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeactivateTriggerRequest) } -DeleteTriggerRequest::DeleteTriggerRequest(const DeleteTriggerRequest& from) +DeactivateTriggerRequest::DeactivateTriggerRequest(const DeactivateTriggerRequest& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); @@ -7174,35 +7175,35 @@ DeleteTriggerRequest::DeleteTriggerRequest(const DeleteTriggerRequest& from) } else { trigger_id_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeactivateTriggerRequest) } -void DeleteTriggerRequest::SharedCtor() { +void DeactivateTriggerRequest::SharedCtor() { ::google::protobuf::internal::InitSCC( - &scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + &scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); trigger_id_ = nullptr; } -DeleteTriggerRequest::~DeleteTriggerRequest() { - // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerRequest) +DeactivateTriggerRequest::~DeactivateTriggerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeactivateTriggerRequest) SharedDtor(); } -void DeleteTriggerRequest::SharedDtor() { +void DeactivateTriggerRequest::SharedDtor() { if (this != internal_default_instance()) delete trigger_id_; } -void DeleteTriggerRequest::SetCachedSize(int size) const { +void DeactivateTriggerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DeleteTriggerRequest& DeleteTriggerRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); +const DeactivateTriggerRequest& DeactivateTriggerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); return *internal_default_instance(); } -void DeleteTriggerRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7215,9 +7216,9 @@ void DeleteTriggerRequest::Clear() { } #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DeleteTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, +const char* DeactivateTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); + auto msg = static_cast(object); ::google::protobuf::int32 size; (void)size; int depth; (void)depth; ::google::protobuf::uint32 tag; @@ -7260,11 +7261,11 @@ const char* DeleteTriggerRequest::_InternalParse(const char* begin, const char* {parser_till_end, object}, size); } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DeleteTriggerRequest::MergePartialFromCodedStream( +bool DeactivateTriggerRequest::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeactivateTriggerRequest) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -7293,18 +7294,18 @@ bool DeleteTriggerRequest::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeactivateTriggerRequest) return true; failure: - // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeactivateTriggerRequest) return false; #undef DO_ } #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -void DeleteTriggerRequest::SerializeWithCachedSizes( +void DeactivateTriggerRequest::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7318,12 +7319,12 @@ void DeleteTriggerRequest::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } - // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeactivateTriggerRequest) } -::google::protobuf::uint8* DeleteTriggerRequest::InternalSerializeWithCachedSizesToArray( +::google::protobuf::uint8* DeactivateTriggerRequest::InternalSerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7338,12 +7339,12 @@ ::google::protobuf::uint8* DeleteTriggerRequest::InternalSerializeWithCachedSize target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeactivateTriggerRequest) return target; } -size_t DeleteTriggerRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerRequest) +size_t DeactivateTriggerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeactivateTriggerRequest) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { @@ -7367,23 +7368,23 @@ size_t DeleteTriggerRequest::ByteSizeLong() const { return total_size; } -void DeleteTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeactivateTriggerRequest) GOOGLE_DCHECK_NE(&from, this); - const DeleteTriggerRequest* source = - ::google::protobuf::DynamicCastToGenerated( + const DeactivateTriggerRequest* source = + ::google::protobuf::DynamicCastToGenerated( &from); if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeactivateTriggerRequest) MergeFrom(*source); } } -void DeleteTriggerRequest::MergeFrom(const DeleteTriggerRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::MergeFrom(const DeactivateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeactivateTriggerRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -7394,35 +7395,35 @@ void DeleteTriggerRequest::MergeFrom(const DeleteTriggerRequest& from) { } } -void DeleteTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeactivateTriggerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -void DeleteTriggerRequest::CopyFrom(const DeleteTriggerRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::CopyFrom(const DeactivateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeactivateTriggerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteTriggerRequest::IsInitialized() const { +bool DeactivateTriggerRequest::IsInitialized() const { return true; } -void DeleteTriggerRequest::Swap(DeleteTriggerRequest* other) { +void DeactivateTriggerRequest::Swap(DeactivateTriggerRequest* other) { if (other == this) return; InternalSwap(other); } -void DeleteTriggerRequest::InternalSwap(DeleteTriggerRequest* other) { +void DeactivateTriggerRequest::InternalSwap(DeactivateTriggerRequest* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); swap(trigger_id_, other->trigger_id_); } -::google::protobuf::Metadata DeleteTriggerRequest::GetMetadata() const { +::google::protobuf::Metadata DeactivateTriggerRequest::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; } @@ -7430,49 +7431,49 @@ ::google::protobuf::Metadata DeleteTriggerRequest::GetMetadata() const { // =================================================================== -void DeleteTriggerResponse::InitAsDefaultInstance() { +void DeactivateTriggerResponse::InitAsDefaultInstance() { } -class DeleteTriggerResponse::HasBitSetters { +class DeactivateTriggerResponse::HasBitSetters { public: }; #if !defined(_MSC_VER) || _MSC_VER >= 1900 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -DeleteTriggerResponse::DeleteTriggerResponse() +DeactivateTriggerResponse::DeactivateTriggerResponse() : ::google::protobuf::Message(), _internal_metadata_(nullptr) { SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeactivateTriggerResponse) } -DeleteTriggerResponse::DeleteTriggerResponse(const DeleteTriggerResponse& from) +DeactivateTriggerResponse::DeactivateTriggerResponse(const DeactivateTriggerResponse& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeactivateTriggerResponse) } -void DeleteTriggerResponse::SharedCtor() { +void DeactivateTriggerResponse::SharedCtor() { } -DeleteTriggerResponse::~DeleteTriggerResponse() { - // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerResponse) +DeactivateTriggerResponse::~DeactivateTriggerResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeactivateTriggerResponse) SharedDtor(); } -void DeleteTriggerResponse::SharedDtor() { +void DeactivateTriggerResponse::SharedDtor() { } -void DeleteTriggerResponse::SetCachedSize(int size) const { +void DeactivateTriggerResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DeleteTriggerResponse& DeleteTriggerResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); +const DeactivateTriggerResponse& DeactivateTriggerResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); return *internal_default_instance(); } -void DeleteTriggerResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7481,9 +7482,9 @@ void DeleteTriggerResponse::Clear() { } #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DeleteTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, +const char* DeactivateTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); + auto msg = static_cast(object); ::google::protobuf::int32 size; (void)size; int depth; (void)depth; ::google::protobuf::uint32 tag; @@ -7509,11 +7510,11 @@ const char* DeleteTriggerResponse::_InternalParse(const char* begin, const char* return ptr; } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DeleteTriggerResponse::MergePartialFromCodedStream( +bool DeactivateTriggerResponse::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeactivateTriggerResponse) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -7526,18 +7527,18 @@ bool DeleteTriggerResponse::MergePartialFromCodedStream( input, tag, _internal_metadata_.mutable_unknown_fields())); } success: - // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeactivateTriggerResponse) return true; failure: - // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeactivateTriggerResponse) return false; #undef DO_ } #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -void DeleteTriggerResponse::SerializeWithCachedSizes( +void DeactivateTriggerResponse::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7545,12 +7546,12 @@ void DeleteTriggerResponse::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } - // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeactivateTriggerResponse) } -::google::protobuf::uint8* DeleteTriggerResponse::InternalSerializeWithCachedSizesToArray( +::google::protobuf::uint8* DeactivateTriggerResponse::InternalSerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7558,12 +7559,12 @@ ::google::protobuf::uint8* DeleteTriggerResponse::InternalSerializeWithCachedSiz target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeactivateTriggerResponse) return target; } -size_t DeleteTriggerResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerResponse) +size_t DeactivateTriggerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeactivateTriggerResponse) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { @@ -7580,23 +7581,23 @@ size_t DeleteTriggerResponse::ByteSizeLong() const { return total_size; } -void DeleteTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeactivateTriggerResponse) GOOGLE_DCHECK_NE(&from, this); - const DeleteTriggerResponse* source = - ::google::protobuf::DynamicCastToGenerated( + const DeactivateTriggerResponse* source = + ::google::protobuf::DynamicCastToGenerated( &from); if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeactivateTriggerResponse) MergeFrom(*source); } } -void DeleteTriggerResponse::MergeFrom(const DeleteTriggerResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::MergeFrom(const DeactivateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeactivateTriggerResponse) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -7604,34 +7605,34 @@ void DeleteTriggerResponse::MergeFrom(const DeleteTriggerResponse& from) { } -void DeleteTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeactivateTriggerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -void DeleteTriggerResponse::CopyFrom(const DeleteTriggerResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::CopyFrom(const DeactivateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeactivateTriggerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteTriggerResponse::IsInitialized() const { +bool DeactivateTriggerResponse::IsInitialized() const { return true; } -void DeleteTriggerResponse::Swap(DeleteTriggerResponse* other) { +void DeactivateTriggerResponse::Swap(DeactivateTriggerResponse* other) { if (other == this) return; InternalSwap(other); } -void DeleteTriggerResponse::InternalSwap(DeleteTriggerResponse* other) { +void DeactivateTriggerResponse::InternalSwap(DeactivateTriggerResponse* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); } -::google::protobuf::Metadata DeleteTriggerResponse::GetMetadata() const { +::google::protobuf::Metadata DeactivateTriggerResponse::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; } @@ -9758,11 +9759,11 @@ template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerRequest* Arena:: template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateTriggerResponse >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::artifact::CreateTriggerResponse >(arena); } -template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerRequest >(arena); +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeactivateTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeactivateTriggerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeactivateTriggerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerResponse >(arena); +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeactivateTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeactivateTriggerResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeactivateTriggerResponse >(arena); } template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactProducer* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactProducer >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::artifact::ArtifactProducer >(arena); diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h index bbdb47cfa8..e64c3003b5 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h @@ -99,12 +99,12 @@ extern CreateTriggerRequestDefaultTypeInternal _CreateTriggerRequest_default_ins class CreateTriggerResponse; class CreateTriggerResponseDefaultTypeInternal; extern CreateTriggerResponseDefaultTypeInternal _CreateTriggerResponse_default_instance_; -class DeleteTriggerRequest; -class DeleteTriggerRequestDefaultTypeInternal; -extern DeleteTriggerRequestDefaultTypeInternal _DeleteTriggerRequest_default_instance_; -class DeleteTriggerResponse; -class DeleteTriggerResponseDefaultTypeInternal; -extern DeleteTriggerResponseDefaultTypeInternal _DeleteTriggerResponse_default_instance_; +class DeactivateTriggerRequest; +class DeactivateTriggerRequestDefaultTypeInternal; +extern DeactivateTriggerRequestDefaultTypeInternal _DeactivateTriggerRequest_default_instance_; +class DeactivateTriggerResponse; +class DeactivateTriggerResponseDefaultTypeInternal; +extern DeactivateTriggerResponseDefaultTypeInternal _DeactivateTriggerResponse_default_instance_; class ExecutionInputsRequest; class ExecutionInputsRequestDefaultTypeInternal; extern ExecutionInputsRequestDefaultTypeInternal _ExecutionInputsRequest_default_instance_; @@ -154,8 +154,8 @@ template<> ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse* template<> ::flyteidl::artifact::CreateArtifactResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactResponse>(Arena*); template<> ::flyteidl::artifact::CreateTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerRequest>(Arena*); template<> ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerResponse>(Arena*); -template<> ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerRequest>(Arena*); -template<> ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerResponse>(Arena*); +template<> ::flyteidl::artifact::DeactivateTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::DeactivateTriggerRequest>(Arena*); +template<> ::flyteidl::artifact::DeactivateTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::DeactivateTriggerResponse>(Arena*); template<> ::flyteidl::artifact::ExecutionInputsRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::ExecutionInputsRequest>(Arena*); template<> ::flyteidl::artifact::ExecutionInputsResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::ExecutionInputsResponse>(Arena*); template<> ::flyteidl::artifact::FindByWorkflowExecRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::FindByWorkflowExecRequest>(Arena*); @@ -2286,25 +2286,25 @@ class CreateTriggerResponse final : }; // ------------------------------------------------------------------- -class DeleteTriggerRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerRequest) */ { +class DeactivateTriggerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeactivateTriggerRequest) */ { public: - DeleteTriggerRequest(); - virtual ~DeleteTriggerRequest(); + DeactivateTriggerRequest(); + virtual ~DeactivateTriggerRequest(); - DeleteTriggerRequest(const DeleteTriggerRequest& from); + DeactivateTriggerRequest(const DeactivateTriggerRequest& from); - inline DeleteTriggerRequest& operator=(const DeleteTriggerRequest& from) { + inline DeactivateTriggerRequest& operator=(const DeactivateTriggerRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - DeleteTriggerRequest(DeleteTriggerRequest&& from) noexcept - : DeleteTriggerRequest() { + DeactivateTriggerRequest(DeactivateTriggerRequest&& from) noexcept + : DeactivateTriggerRequest() { *this = ::std::move(from); } - inline DeleteTriggerRequest& operator=(DeleteTriggerRequest&& from) noexcept { + inline DeactivateTriggerRequest& operator=(DeactivateTriggerRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2316,34 +2316,34 @@ class DeleteTriggerRequest final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const DeleteTriggerRequest& default_instance(); + static const DeactivateTriggerRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DeleteTriggerRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteTriggerRequest_default_instance_); + static inline const DeactivateTriggerRequest* internal_default_instance() { + return reinterpret_cast( + &_DeactivateTriggerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 16; - void Swap(DeleteTriggerRequest* other); - friend void swap(DeleteTriggerRequest& a, DeleteTriggerRequest& b) { + void Swap(DeactivateTriggerRequest* other); + friend void swap(DeactivateTriggerRequest& a, DeactivateTriggerRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline DeleteTriggerRequest* New() const final { - return CreateMaybeMessage(nullptr); + inline DeactivateTriggerRequest* New() const final { + return CreateMaybeMessage(nullptr); } - DeleteTriggerRequest* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DeactivateTriggerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const DeleteTriggerRequest& from); - void MergeFrom(const DeleteTriggerRequest& from); + void CopyFrom(const DeactivateTriggerRequest& from); + void MergeFrom(const DeactivateTriggerRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2365,7 +2365,7 @@ class DeleteTriggerRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteTriggerRequest* other); + void InternalSwap(DeactivateTriggerRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2390,7 +2390,7 @@ class DeleteTriggerRequest final : ::flyteidl::core::Identifier* mutable_trigger_id(); void set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id); - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerRequest) private: class HasBitSetters; @@ -2401,25 +2401,25 @@ class DeleteTriggerRequest final : }; // ------------------------------------------------------------------- -class DeleteTriggerResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerResponse) */ { +class DeactivateTriggerResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeactivateTriggerResponse) */ { public: - DeleteTriggerResponse(); - virtual ~DeleteTriggerResponse(); + DeactivateTriggerResponse(); + virtual ~DeactivateTriggerResponse(); - DeleteTriggerResponse(const DeleteTriggerResponse& from); + DeactivateTriggerResponse(const DeactivateTriggerResponse& from); - inline DeleteTriggerResponse& operator=(const DeleteTriggerResponse& from) { + inline DeactivateTriggerResponse& operator=(const DeactivateTriggerResponse& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - DeleteTriggerResponse(DeleteTriggerResponse&& from) noexcept - : DeleteTriggerResponse() { + DeactivateTriggerResponse(DeactivateTriggerResponse&& from) noexcept + : DeactivateTriggerResponse() { *this = ::std::move(from); } - inline DeleteTriggerResponse& operator=(DeleteTriggerResponse&& from) noexcept { + inline DeactivateTriggerResponse& operator=(DeactivateTriggerResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2431,34 +2431,34 @@ class DeleteTriggerResponse final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const DeleteTriggerResponse& default_instance(); + static const DeactivateTriggerResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DeleteTriggerResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteTriggerResponse_default_instance_); + static inline const DeactivateTriggerResponse* internal_default_instance() { + return reinterpret_cast( + &_DeactivateTriggerResponse_default_instance_); } static constexpr int kIndexInFileMessages = 17; - void Swap(DeleteTriggerResponse* other); - friend void swap(DeleteTriggerResponse& a, DeleteTriggerResponse& b) { + void Swap(DeactivateTriggerResponse* other); + friend void swap(DeactivateTriggerResponse& a, DeactivateTriggerResponse& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline DeleteTriggerResponse* New() const final { - return CreateMaybeMessage(nullptr); + inline DeactivateTriggerResponse* New() const final { + return CreateMaybeMessage(nullptr); } - DeleteTriggerResponse* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DeactivateTriggerResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const DeleteTriggerResponse& from); - void MergeFrom(const DeleteTriggerResponse& from); + void CopyFrom(const DeactivateTriggerResponse& from); + void MergeFrom(const DeactivateTriggerResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2480,7 +2480,7 @@ class DeleteTriggerResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteTriggerResponse* other); + void InternalSwap(DeactivateTriggerResponse* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2496,7 +2496,7 @@ class DeleteTriggerResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerResponse) private: class HasBitSetters; @@ -5139,35 +5139,35 @@ inline void CreateTriggerRequest::set_allocated_trigger_launch_plan(::flyteidl:: // ------------------------------------------------------------------- -// DeleteTriggerRequest +// DeactivateTriggerRequest // .flyteidl.core.Identifier trigger_id = 1; -inline bool DeleteTriggerRequest::has_trigger_id() const { +inline bool DeactivateTriggerRequest::has_trigger_id() const { return this != internal_default_instance() && trigger_id_ != nullptr; } -inline const ::flyteidl::core::Identifier& DeleteTriggerRequest::trigger_id() const { +inline const ::flyteidl::core::Identifier& DeactivateTriggerRequest::trigger_id() const { const ::flyteidl::core::Identifier* p = trigger_id_; - // @@protoc_insertion_point(field_get:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + // @@protoc_insertion_point(field_get:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) return p != nullptr ? *p : *reinterpret_cast( &::flyteidl::core::_Identifier_default_instance_); } -inline ::flyteidl::core::Identifier* DeleteTriggerRequest::release_trigger_id() { - // @@protoc_insertion_point(field_release:flyteidl.artifact.DeleteTriggerRequest.trigger_id) +inline ::flyteidl::core::Identifier* DeactivateTriggerRequest::release_trigger_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) ::flyteidl::core::Identifier* temp = trigger_id_; trigger_id_ = nullptr; return temp; } -inline ::flyteidl::core::Identifier* DeleteTriggerRequest::mutable_trigger_id() { +inline ::flyteidl::core::Identifier* DeactivateTriggerRequest::mutable_trigger_id() { if (trigger_id_ == nullptr) { auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); trigger_id_ = p; } - // @@protoc_insertion_point(field_mutable:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) return trigger_id_; } -inline void DeleteTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { +inline void DeactivateTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_id_); @@ -5183,12 +5183,12 @@ inline void DeleteTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Ide } trigger_id_ = trigger_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) } // ------------------------------------------------------------------- -// DeleteTriggerResponse +// DeactivateTriggerResponse // ------------------------------------------------------------------- diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc index 5200354c7b..ec498323e1 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc @@ -21,7 +21,6 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::p extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto; @@ -56,10 +55,9 @@ static void InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudeven ::flyteidl::event::CloudEventWorkflowExecution::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<6> scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { +::google::protobuf::internal::SCCInfo<5> scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { &scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, @@ -76,11 +74,10 @@ static void InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2 ::flyteidl::event::CloudEventNodeExecution::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<6> scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { +::google::protobuf::internal::SCCInfo<5> scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { &scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; @@ -135,9 +132,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2epr ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, raw_event_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, input_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, artifact_ids_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, reference_execution_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, principal_), @@ -149,9 +144,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2epr ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, raw_event_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, task_exec_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, output_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, output_interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, input_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, artifact_ids_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, principal_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, launch_plan_id_), @@ -170,14 +163,14 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2epr PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, launch_plan_id_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, workflow_id_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, artifact_ids_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, artifact_keys_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, artifact_trackers_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, principal_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::event::CloudEventWorkflowExecution)}, - { 13, -1, sizeof(::flyteidl::event::CloudEventNodeExecution)}, - { 26, -1, sizeof(::flyteidl::event::CloudEventTaskExecution)}, - { 32, -1, sizeof(::flyteidl::event::CloudEventExecutionStart)}, + { 11, -1, sizeof(::flyteidl::event::CloudEventNodeExecution)}, + { 22, -1, sizeof(::flyteidl::event::CloudEventTaskExecution)}, + { 28, -1, sizeof(::flyteidl::event::CloudEventExecutionStart)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -199,45 +192,40 @@ const char descriptor_table_protodef_flyteidl_2fevent_2fcloudevents_2eproto[] = "flyteidl/core/literals.proto\032\035flyteidl/c" "ore/interface.proto\032\037flyteidl/core/artif" "act_id.proto\032\036flyteidl/core/identifier.p" - "roto\032\037google/protobuf/timestamp.proto\"\260\003" + "roto\032\037google/protobuf/timestamp.proto\"\321\002" "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" - "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" - ".core.LiteralMap\0227\n\020output_interface\030\003 \001" - "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" - "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" - "\022/\n\014artifact_ids\030\005 \003(\0132\031.flyteidl.core.A" - "rtifactID\022G\n\023reference_execution\030\006 \001(\0132*" - ".flyteidl.core.WorkflowExecutionIdentifi" - "er\022\021\n\tprincipal\030\007 \001(\t\0221\n\016launch_plan_id\030" - "\010 \001(\0132\031.flyteidl.core.Identifier\"\235\003\n\027Clo" - "udEventNodeExecution\0225\n\traw_event\030\001 \001(\0132" - "\".flyteidl.event.NodeExecutionEvent\022<\n\014t" - "ask_exec_id\030\002 \001(\0132&.flyteidl.core.TaskEx" - "ecutionIdentifier\022.\n\013output_data\030\003 \001(\0132\031" - ".flyteidl.core.LiteralMap\0227\n\020output_inte" - "rface\030\004 \001(\0132\035.flyteidl.core.TypedInterfa" - "ce\022-\n\ninput_data\030\005 \001(\0132\031.flyteidl.core.L" - "iteralMap\022/\n\014artifact_ids\030\006 \003(\0132\031.flytei" - "dl.core.ArtifactID\022\021\n\tprincipal\030\007 \001(\t\0221\n" - "\016launch_plan_id\030\010 \001(\0132\031.flyteidl.core.Id" - "entifier\"P\n\027CloudEventTaskExecution\0225\n\tr" - "aw_event\030\001 \001(\0132\".flyteidl.event.TaskExec" - "utionEvent\"\232\002\n\030CloudEventExecutionStart\022" - "@\n\014execution_id\030\001 \001(\0132*.flyteidl.core.Wo" - "rkflowExecutionIdentifier\0221\n\016launch_plan" - "_id\030\002 \001(\0132\031.flyteidl.core.Identifier\022.\n\013" - "workflow_id\030\003 \001(\0132\031.flyteidl.core.Identi" - "fier\022/\n\014artifact_ids\030\004 \003(\0132\031.flyteidl.co" - "re.ArtifactID\022\025\n\rartifact_keys\030\005 \003(\t\022\021\n\t" - "principal\030\006 \001(\tB=Z;github.com/flyteorg/f" - "lyte/flyteidl/gen/pb-go/flyteidl/eventb\006" - "proto3" + "ionEvent\0227\n\020output_interface\030\002 \001(\0132\035.fly" + "teidl.core.TypedInterface\022/\n\014artifact_id" + "s\030\003 \003(\0132\031.flyteidl.core.ArtifactID\022G\n\023re" + "ference_execution\030\004 \001(\0132*.flyteidl.core." + "WorkflowExecutionIdentifier\022\021\n\tprincipal" + "\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flyteid" + "l.core.Identifier\"\276\002\n\027CloudEventNodeExec" + "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" + "t.NodeExecutionEvent\022<\n\014task_exec_id\030\002 \001" + "(\0132&.flyteidl.core.TaskExecutionIdentifi" + "er\0227\n\020output_interface\030\003 \001(\0132\035.flyteidl." + "core.TypedInterface\022/\n\014artifact_ids\030\004 \003(" + "\0132\031.flyteidl.core.ArtifactID\022\021\n\tprincipa" + "l\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flytei" + "dl.core.Identifier\"P\n\027CloudEventTaskExec" + "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" + "t.TaskExecutionEvent\"\236\002\n\030CloudEventExecu" + "tionStart\022@\n\014execution_id\030\001 \001(\0132*.flytei" + "dl.core.WorkflowExecutionIdentifier\0221\n\016l" + "aunch_plan_id\030\002 \001(\0132\031.flyteidl.core.Iden" + "tifier\022.\n\013workflow_id\030\003 \001(\0132\031.flyteidl.c" + "ore.Identifier\022/\n\014artifact_ids\030\004 \003(\0132\031.f" + "lyteidl.core.ArtifactID\022\031\n\021artifact_trac" + "kers\030\005 \003(\t\022\021\n\tprincipal\030\006 \001(\tB=Z;github." + "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + "yteidl/eventb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fevent_2fcloudevents_2eproto = { false, InitDefaults_flyteidl_2fevent_2fcloudevents_2eproto, descriptor_table_protodef_flyteidl_2fevent_2fcloudevents_2eproto, - "flyteidl/event/cloudevents.proto", &assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto, 1526, + "flyteidl/event/cloudevents.proto", &assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto, 1340, }; void AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto() { @@ -263,12 +251,8 @@ namespace event { void CloudEventWorkflowExecution::InitAsDefaultInstance() { ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->raw_event_ = const_cast< ::flyteidl::event::WorkflowExecutionEvent*>( ::flyteidl::event::WorkflowExecutionEvent::internal_default_instance()); - ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->output_interface_ = const_cast< ::flyteidl::core::TypedInterface*>( ::flyteidl::core::TypedInterface::internal_default_instance()); - ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->reference_execution_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->launch_plan_id_ = const_cast< ::flyteidl::core::Identifier*>( @@ -277,9 +261,7 @@ void CloudEventWorkflowExecution::InitAsDefaultInstance() { class CloudEventWorkflowExecution::HasBitSetters { public: static const ::flyteidl::event::WorkflowExecutionEvent& raw_event(const CloudEventWorkflowExecution* msg); - static const ::flyteidl::core::LiteralMap& output_data(const CloudEventWorkflowExecution* msg); static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventWorkflowExecution* msg); - static const ::flyteidl::core::LiteralMap& input_data(const CloudEventWorkflowExecution* msg); static const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution(const CloudEventWorkflowExecution* msg); static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventWorkflowExecution* msg); }; @@ -288,18 +270,10 @@ const ::flyteidl::event::WorkflowExecutionEvent& CloudEventWorkflowExecution::HasBitSetters::raw_event(const CloudEventWorkflowExecution* msg) { return *msg->raw_event_; } -const ::flyteidl::core::LiteralMap& -CloudEventWorkflowExecution::HasBitSetters::output_data(const CloudEventWorkflowExecution* msg) { - return *msg->output_data_; -} const ::flyteidl::core::TypedInterface& CloudEventWorkflowExecution::HasBitSetters::output_interface(const CloudEventWorkflowExecution* msg) { return *msg->output_interface_; } -const ::flyteidl::core::LiteralMap& -CloudEventWorkflowExecution::HasBitSetters::input_data(const CloudEventWorkflowExecution* msg) { - return *msg->input_data_; -} const ::flyteidl::core::WorkflowExecutionIdentifier& CloudEventWorkflowExecution::HasBitSetters::reference_execution(const CloudEventWorkflowExecution* msg) { return *msg->reference_execution_; @@ -314,24 +288,12 @@ void CloudEventWorkflowExecution::clear_raw_event() { } raw_event_ = nullptr; } -void CloudEventWorkflowExecution::clear_output_data() { - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; -} void CloudEventWorkflowExecution::clear_output_interface() { if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; } -void CloudEventWorkflowExecution::clear_input_data() { - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; -} void CloudEventWorkflowExecution::clear_artifact_ids() { artifact_ids_.Clear(); } @@ -349,9 +311,7 @@ void CloudEventWorkflowExecution::clear_launch_plan_id() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CloudEventWorkflowExecution::kRawEventFieldNumber; -const int CloudEventWorkflowExecution::kOutputDataFieldNumber; const int CloudEventWorkflowExecution::kOutputInterfaceFieldNumber; -const int CloudEventWorkflowExecution::kInputDataFieldNumber; const int CloudEventWorkflowExecution::kArtifactIdsFieldNumber; const int CloudEventWorkflowExecution::kReferenceExecutionFieldNumber; const int CloudEventWorkflowExecution::kPrincipalFieldNumber; @@ -377,21 +337,11 @@ CloudEventWorkflowExecution::CloudEventWorkflowExecution(const CloudEventWorkflo } else { raw_event_ = nullptr; } - if (from.has_output_data()) { - output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); - } else { - output_data_ = nullptr; - } if (from.has_output_interface()) { output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); } else { output_interface_ = nullptr; } - if (from.has_input_data()) { - input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); - } else { - input_data_ = nullptr; - } if (from.has_reference_execution()) { reference_execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.reference_execution_); } else { @@ -422,9 +372,7 @@ CloudEventWorkflowExecution::~CloudEventWorkflowExecution() { void CloudEventWorkflowExecution::SharedDtor() { principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete raw_event_; - if (this != internal_default_instance()) delete output_data_; if (this != internal_default_instance()) delete output_interface_; - if (this != internal_default_instance()) delete input_data_; if (this != internal_default_instance()) delete reference_execution_; if (this != internal_default_instance()) delete launch_plan_id_; } @@ -450,18 +398,10 @@ void CloudEventWorkflowExecution::Clear() { delete raw_event_; } raw_event_ = nullptr; - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { delete reference_execution_; } @@ -499,24 +439,11 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap output_data = 2; + // .flyteidl.core.TypedInterface output_interface = 2; case 2: { if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.core.TypedInterface output_interface = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); parser_till_end = ::flyteidl::core::TypedInterface::_InternalParse; object = msg->mutable_output_interface(); if (size > end - ptr) goto len_delim_till_end; @@ -525,22 +452,9 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap input_data = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_input_data(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; do { ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); @@ -551,12 +465,12 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( {parser_till_end, object}, ptr - size, ptr)); if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); break; } - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; @@ -567,9 +481,9 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } - // string principal = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + // string principal = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventWorkflowExecution.principal"); @@ -583,9 +497,9 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const ptr += size; break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + // .flyteidl.core.Identifier launch_plan_id = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); parser_till_end = ::flyteidl::core::Identifier::_InternalParse; @@ -641,64 +555,42 @@ bool CloudEventWorkflowExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.LiteralMap output_data = 2; + // .flyteidl.core.TypedInterface output_interface = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); + input, mutable_output_interface())); } else { goto handle_unusual; } break; } - // .flyteidl.core.TypedInterface output_interface = 3; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_interface())); + input, add_artifact_ids())); } else { goto handle_unusual; } break; } - // .flyteidl.core.LiteralMap input_data = 4; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_input_data())); + input, mutable_reference_execution())); } else { goto handle_unusual; } break; } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // string principal = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reference_execution())); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_principal())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( @@ -711,9 +603,9 @@ bool CloudEventWorkflowExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + // .flyteidl.core.Identifier launch_plan_id = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_launch_plan_id())); } else { @@ -755,53 +647,41 @@ void CloudEventWorkflowExecution::SerializeWithCachedSizes( 1, HasBitSetters::raw_event(this), output); } - // .flyteidl.core.LiteralMap output_data = 2; - if (this->has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::output_data(this), output); - } - - // .flyteidl.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; if (this->has_output_interface()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::output_interface(this), output); - } - - // .flyteidl.core.LiteralMap input_data = 4; - if (this->has_input_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::input_data(this), output); + 2, HasBitSetters::output_interface(this), output); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; for (unsigned int i = 0, n = static_cast(this->artifact_ids_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, + 3, this->artifact_ids(static_cast(i)), output); } - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; if (this->has_reference_execution()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::reference_execution(this), output); + 4, HasBitSetters::reference_execution(this), output); } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->principal().data(), static_cast(this->principal().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flyteidl.event.CloudEventWorkflowExecution.principal"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->principal(), output); + 5, this->principal(), output); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::launch_plan_id(this), output); + 6, HasBitSetters::launch_plan_id(this), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -824,43 +704,29 @@ ::google::protobuf::uint8* CloudEventWorkflowExecution::InternalSerializeWithCac 1, HasBitSetters::raw_event(this), target); } - // .flyteidl.core.LiteralMap output_data = 2; - if (this->has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::output_data(this), target); - } - - // .flyteidl.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; if (this->has_output_interface()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 3, HasBitSetters::output_interface(this), target); - } - - // .flyteidl.core.LiteralMap input_data = 4; - if (this->has_input_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::input_data(this), target); + 2, HasBitSetters::output_interface(this), target); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; for (unsigned int i = 0, n = static_cast(this->artifact_ids_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 5, this->artifact_ids(static_cast(i)), target); + 3, this->artifact_ids(static_cast(i)), target); } - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; if (this->has_reference_execution()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 6, HasBitSetters::reference_execution(this), target); + 4, HasBitSetters::reference_execution(this), target); } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->principal().data(), static_cast(this->principal().length()), @@ -868,14 +734,14 @@ ::google::protobuf::uint8* CloudEventWorkflowExecution::InternalSerializeWithCac "flyteidl.event.CloudEventWorkflowExecution.principal"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->principal(), target); + 5, this->principal(), target); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 8, HasBitSetters::launch_plan_id(this), target); + 6, HasBitSetters::launch_plan_id(this), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -899,7 +765,7 @@ size_t CloudEventWorkflowExecution::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; { unsigned int count = static_cast(this->artifact_ids_size()); total_size += 1UL * count; @@ -910,7 +776,7 @@ size_t CloudEventWorkflowExecution::ByteSizeLong() const { } } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( @@ -924,35 +790,21 @@ size_t CloudEventWorkflowExecution::ByteSizeLong() const { *raw_event_); } - // .flyteidl.core.LiteralMap output_data = 2; - if (this->has_output_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_data_); - } - - // .flyteidl.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; if (this->has_output_interface()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *output_interface_); } - // .flyteidl.core.LiteralMap input_data = 4; - if (this->has_input_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *input_data_); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; if (this->has_reference_execution()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *reference_execution_); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( @@ -994,15 +846,9 @@ void CloudEventWorkflowExecution::MergeFrom(const CloudEventWorkflowExecution& f if (from.has_raw_event()) { mutable_raw_event()->::flyteidl::event::WorkflowExecutionEvent::MergeFrom(from.raw_event()); } - if (from.has_output_data()) { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - } if (from.has_output_interface()) { mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); } - if (from.has_input_data()) { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - } if (from.has_reference_execution()) { mutable_reference_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.reference_execution()); } @@ -1040,9 +886,7 @@ void CloudEventWorkflowExecution::InternalSwap(CloudEventWorkflowExecution* othe principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(raw_event_, other->raw_event_); - swap(output_data_, other->output_data_); swap(output_interface_, other->output_interface_); - swap(input_data_, other->input_data_); swap(reference_execution_, other->reference_execution_); swap(launch_plan_id_, other->launch_plan_id_); } @@ -1060,12 +904,8 @@ void CloudEventNodeExecution::InitAsDefaultInstance() { ::flyteidl::event::NodeExecutionEvent::internal_default_instance()); ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->task_exec_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); - ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->output_interface_ = const_cast< ::flyteidl::core::TypedInterface*>( ::flyteidl::core::TypedInterface::internal_default_instance()); - ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->launch_plan_id_ = const_cast< ::flyteidl::core::Identifier*>( ::flyteidl::core::Identifier::internal_default_instance()); } @@ -1073,9 +913,7 @@ class CloudEventNodeExecution::HasBitSetters { public: static const ::flyteidl::event::NodeExecutionEvent& raw_event(const CloudEventNodeExecution* msg); static const ::flyteidl::core::TaskExecutionIdentifier& task_exec_id(const CloudEventNodeExecution* msg); - static const ::flyteidl::core::LiteralMap& output_data(const CloudEventNodeExecution* msg); static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventNodeExecution* msg); - static const ::flyteidl::core::LiteralMap& input_data(const CloudEventNodeExecution* msg); static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventNodeExecution* msg); }; @@ -1087,18 +925,10 @@ const ::flyteidl::core::TaskExecutionIdentifier& CloudEventNodeExecution::HasBitSetters::task_exec_id(const CloudEventNodeExecution* msg) { return *msg->task_exec_id_; } -const ::flyteidl::core::LiteralMap& -CloudEventNodeExecution::HasBitSetters::output_data(const CloudEventNodeExecution* msg) { - return *msg->output_data_; -} const ::flyteidl::core::TypedInterface& CloudEventNodeExecution::HasBitSetters::output_interface(const CloudEventNodeExecution* msg) { return *msg->output_interface_; } -const ::flyteidl::core::LiteralMap& -CloudEventNodeExecution::HasBitSetters::input_data(const CloudEventNodeExecution* msg) { - return *msg->input_data_; -} const ::flyteidl::core::Identifier& CloudEventNodeExecution::HasBitSetters::launch_plan_id(const CloudEventNodeExecution* msg) { return *msg->launch_plan_id_; @@ -1115,24 +945,12 @@ void CloudEventNodeExecution::clear_task_exec_id() { } task_exec_id_ = nullptr; } -void CloudEventNodeExecution::clear_output_data() { - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; -} void CloudEventNodeExecution::clear_output_interface() { if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; } -void CloudEventNodeExecution::clear_input_data() { - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; -} void CloudEventNodeExecution::clear_artifact_ids() { artifact_ids_.Clear(); } @@ -1145,9 +963,7 @@ void CloudEventNodeExecution::clear_launch_plan_id() { #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CloudEventNodeExecution::kRawEventFieldNumber; const int CloudEventNodeExecution::kTaskExecIdFieldNumber; -const int CloudEventNodeExecution::kOutputDataFieldNumber; const int CloudEventNodeExecution::kOutputInterfaceFieldNumber; -const int CloudEventNodeExecution::kInputDataFieldNumber; const int CloudEventNodeExecution::kArtifactIdsFieldNumber; const int CloudEventNodeExecution::kPrincipalFieldNumber; const int CloudEventNodeExecution::kLaunchPlanIdFieldNumber; @@ -1177,21 +993,11 @@ CloudEventNodeExecution::CloudEventNodeExecution(const CloudEventNodeExecution& } else { task_exec_id_ = nullptr; } - if (from.has_output_data()) { - output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); - } else { - output_data_ = nullptr; - } if (from.has_output_interface()) { output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); } else { output_interface_ = nullptr; } - if (from.has_input_data()) { - input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); - } else { - input_data_ = nullptr; - } if (from.has_launch_plan_id()) { launch_plan_id_ = new ::flyteidl::core::Identifier(*from.launch_plan_id_); } else { @@ -1218,9 +1024,7 @@ void CloudEventNodeExecution::SharedDtor() { principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete raw_event_; if (this != internal_default_instance()) delete task_exec_id_; - if (this != internal_default_instance()) delete output_data_; if (this != internal_default_instance()) delete output_interface_; - if (this != internal_default_instance()) delete input_data_; if (this != internal_default_instance()) delete launch_plan_id_; } @@ -1249,18 +1053,10 @@ void CloudEventNodeExecution::Clear() { delete task_exec_id_; } task_exec_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { delete launch_plan_id_; } @@ -1307,24 +1103,11 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap output_data = 3; + // .flyteidl.core.TypedInterface output_interface = 3; case 3: { if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.core.TypedInterface output_interface = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); parser_till_end = ::flyteidl::core::TypedInterface::_InternalParse; object = msg->mutable_output_interface(); if (size > end - ptr) goto len_delim_till_end; @@ -1333,22 +1116,9 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap input_data = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_input_data(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; do { ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); @@ -1359,12 +1129,12 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( {parser_till_end, object}, ptr - size, ptr)); if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 50 && (ptr += 1)); + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); break; } - // string principal = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + // string principal = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventNodeExecution.principal"); @@ -1378,9 +1148,9 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha ptr += size; break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + // .flyteidl.core.Identifier launch_plan_id = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); parser_till_end = ::flyteidl::core::Identifier::_InternalParse; @@ -1447,53 +1217,31 @@ bool CloudEventNodeExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.LiteralMap output_data = 3; + // .flyteidl.core.TypedInterface output_interface = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); + input, mutable_output_interface())); } else { goto handle_unusual; } break; } - // .flyteidl.core.TypedInterface output_interface = 4; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_interface())); + input, add_artifact_ids())); } else { goto handle_unusual; } break; } - // .flyteidl.core.LiteralMap input_data = 5; + // string principal = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_input_data())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_principal())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( @@ -1506,9 +1254,9 @@ bool CloudEventNodeExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + // .flyteidl.core.Identifier launch_plan_id = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( input, mutable_launch_plan_id())); } else { @@ -1556,47 +1304,35 @@ void CloudEventNodeExecution::SerializeWithCachedSizes( 2, HasBitSetters::task_exec_id(this), output); } - // .flyteidl.core.LiteralMap output_data = 3; - if (this->has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::output_data(this), output); - } - - // .flyteidl.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; if (this->has_output_interface()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::output_interface(this), output); - } - - // .flyteidl.core.LiteralMap input_data = 5; - if (this->has_input_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::input_data(this), output); + 3, HasBitSetters::output_interface(this), output); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; for (unsigned int i = 0, n = static_cast(this->artifact_ids_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, + 4, this->artifact_ids(static_cast(i)), output); } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->principal().data(), static_cast(this->principal().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flyteidl.event.CloudEventNodeExecution.principal"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->principal(), output); + 5, this->principal(), output); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::launch_plan_id(this), output); + 6, HasBitSetters::launch_plan_id(this), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -1626,36 +1362,22 @@ ::google::protobuf::uint8* CloudEventNodeExecution::InternalSerializeWithCachedS 2, HasBitSetters::task_exec_id(this), target); } - // .flyteidl.core.LiteralMap output_data = 3; - if (this->has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::output_data(this), target); - } - - // .flyteidl.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; if (this->has_output_interface()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 4, HasBitSetters::output_interface(this), target); - } - - // .flyteidl.core.LiteralMap input_data = 5; - if (this->has_input_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::input_data(this), target); + 3, HasBitSetters::output_interface(this), target); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; for (unsigned int i = 0, n = static_cast(this->artifact_ids_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 6, this->artifact_ids(static_cast(i)), target); + 4, this->artifact_ids(static_cast(i)), target); } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->principal().data(), static_cast(this->principal().length()), @@ -1663,14 +1385,14 @@ ::google::protobuf::uint8* CloudEventNodeExecution::InternalSerializeWithCachedS "flyteidl.event.CloudEventNodeExecution.principal"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->principal(), target); + 5, this->principal(), target); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 8, HasBitSetters::launch_plan_id(this), target); + 6, HasBitSetters::launch_plan_id(this), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -1694,7 +1416,7 @@ size_t CloudEventNodeExecution::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; { unsigned int count = static_cast(this->artifact_ids_size()); total_size += 1UL * count; @@ -1705,7 +1427,7 @@ size_t CloudEventNodeExecution::ByteSizeLong() const { } } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( @@ -1726,28 +1448,14 @@ size_t CloudEventNodeExecution::ByteSizeLong() const { *task_exec_id_); } - // .flyteidl.core.LiteralMap output_data = 3; - if (this->has_output_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_data_); - } - - // .flyteidl.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; if (this->has_output_interface()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *output_interface_); } - // .flyteidl.core.LiteralMap input_data = 5; - if (this->has_input_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *input_data_); - } - - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( @@ -1792,15 +1500,9 @@ void CloudEventNodeExecution::MergeFrom(const CloudEventNodeExecution& from) { if (from.has_task_exec_id()) { mutable_task_exec_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_exec_id()); } - if (from.has_output_data()) { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - } if (from.has_output_interface()) { mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); } - if (from.has_input_data()) { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - } if (from.has_launch_plan_id()) { mutable_launch_plan_id()->::flyteidl::core::Identifier::MergeFrom(from.launch_plan_id()); } @@ -1836,9 +1538,7 @@ void CloudEventNodeExecution::InternalSwap(CloudEventNodeExecution* other) { GetArenaNoVirtual()); swap(raw_event_, other->raw_event_); swap(task_exec_id_, other->task_exec_id_); - swap(output_data_, other->output_data_); swap(output_interface_, other->output_interface_); - swap(input_data_, other->input_data_); swap(launch_plan_id_, other->launch_plan_id_); } @@ -2196,7 +1896,7 @@ const int CloudEventExecutionStart::kExecutionIdFieldNumber; const int CloudEventExecutionStart::kLaunchPlanIdFieldNumber; const int CloudEventExecutionStart::kWorkflowIdFieldNumber; const int CloudEventExecutionStart::kArtifactIdsFieldNumber; -const int CloudEventExecutionStart::kArtifactKeysFieldNumber; +const int CloudEventExecutionStart::kArtifactTrackersFieldNumber; const int CloudEventExecutionStart::kPrincipalFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 @@ -2209,7 +1909,7 @@ CloudEventExecutionStart::CloudEventExecutionStart(const CloudEventExecutionStar : ::google::protobuf::Message(), _internal_metadata_(nullptr), artifact_ids_(from.artifact_ids_), - artifact_keys_(from.artifact_keys_) { + artifact_trackers_(from.artifact_trackers_) { _internal_metadata_.MergeFrom(from._internal_metadata_); principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.principal().size() > 0) { @@ -2270,7 +1970,7 @@ void CloudEventExecutionStart::Clear() { (void) cached_has_bits; artifact_ids_.Clear(); - artifact_keys_.Clear(); + artifact_trackers_.Clear(); principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { delete execution_id_; @@ -2355,14 +2055,14 @@ const char* CloudEventExecutionStart::_InternalParse(const char* begin, const ch } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); break; } - // repeated string artifact_keys = 5; + // repeated string artifact_trackers = 5; case 5: { if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; do { ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventExecutionStart.artifact_keys"); - object = msg->add_artifact_keys(); + ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventExecutionStart.artifact_trackers"); + object = msg->add_artifact_trackers(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; goto string_till_end; @@ -2468,16 +2168,16 @@ bool CloudEventExecutionStart::MergePartialFromCodedStream( break; } - // repeated string artifact_keys = 5; + // repeated string artifact_trackers = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_artifact_keys())); + input, this->add_artifact_trackers())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_keys(this->artifact_keys_size() - 1).data(), - static_cast(this->artifact_keys(this->artifact_keys_size() - 1).length()), + this->artifact_trackers(this->artifact_trackers_size() - 1).data(), + static_cast(this->artifact_trackers(this->artifact_trackers_size() - 1).length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.CloudEventExecutionStart.artifact_keys")); + "flyteidl.event.CloudEventExecutionStart.artifact_trackers")); } else { goto handle_unusual; } @@ -2553,14 +2253,14 @@ void CloudEventExecutionStart::SerializeWithCachedSizes( output); } - // repeated string artifact_keys = 5; - for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + // repeated string artifact_trackers = 5; + for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + this->artifact_trackers(i).data(), static_cast(this->artifact_trackers(i).length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + "flyteidl.event.CloudEventExecutionStart.artifact_trackers"); ::google::protobuf::internal::WireFormatLite::WriteString( - 5, this->artifact_keys(i), output); + 5, this->artifact_trackers(i), output); } // string principal = 6; @@ -2615,14 +2315,14 @@ ::google::protobuf::uint8* CloudEventExecutionStart::InternalSerializeWithCached 4, this->artifact_ids(static_cast(i)), target); } - // repeated string artifact_keys = 5; - for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + // repeated string artifact_trackers = 5; + for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + this->artifact_trackers(i).data(), static_cast(this->artifact_trackers(i).length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + "flyteidl.event.CloudEventExecutionStart.artifact_trackers"); target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(5, this->artifact_keys(i), target); + WriteStringToArray(5, this->artifact_trackers(i), target); } // string principal = 6; @@ -2668,12 +2368,12 @@ size_t CloudEventExecutionStart::ByteSizeLong() const { } } - // repeated string artifact_keys = 5; + // repeated string artifact_trackers = 5; total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->artifact_keys_size()); - for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + ::google::protobuf::internal::FromIntSize(this->artifact_trackers_size()); + for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->artifact_keys(i)); + this->artifact_trackers(i)); } // string principal = 6; @@ -2732,7 +2432,7 @@ void CloudEventExecutionStart::MergeFrom(const CloudEventExecutionStart& from) { (void) cached_has_bits; artifact_ids_.MergeFrom(from.artifact_ids_); - artifact_keys_.MergeFrom(from.artifact_keys_); + artifact_trackers_.MergeFrom(from.artifact_trackers_); if (from.principal().size() > 0) { principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); @@ -2774,7 +2474,7 @@ void CloudEventExecutionStart::InternalSwap(CloudEventExecutionStart* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); - artifact_keys_.InternalSwap(CastToBase(&other->artifact_keys_)); + artifact_trackers_.InternalSwap(CastToBase(&other->artifact_trackers_)); principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(execution_id_, other->execution_id_); diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h index 999d5a1137..ac0a1cc959 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h @@ -178,10 +178,10 @@ class CloudEventWorkflowExecution final : // accessors ------------------------------------------------------- - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; int artifact_ids_size() const; void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 5; + static const int kArtifactIdsFieldNumber = 3; ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* mutable_artifact_ids(); @@ -190,9 +190,9 @@ class CloudEventWorkflowExecution final : const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& artifact_ids() const; - // string principal = 7; + // string principal = 5; void clear_principal(); - static const int kPrincipalFieldNumber = 7; + static const int kPrincipalFieldNumber = 5; const ::std::string& principal() const; void set_principal(const ::std::string& value); #if LANG_CXX11 @@ -213,46 +213,28 @@ class CloudEventWorkflowExecution final : ::flyteidl::event::WorkflowExecutionEvent* mutable_raw_event(); void set_allocated_raw_event(::flyteidl::event::WorkflowExecutionEvent* raw_event); - // .flyteidl.core.LiteralMap output_data = 2; - bool has_output_data() const; - void clear_output_data(); - static const int kOutputDataFieldNumber = 2; - const ::flyteidl::core::LiteralMap& output_data() const; - ::flyteidl::core::LiteralMap* release_output_data(); - ::flyteidl::core::LiteralMap* mutable_output_data(); - void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - // .flyteidl.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; bool has_output_interface() const; void clear_output_interface(); - static const int kOutputInterfaceFieldNumber = 3; + static const int kOutputInterfaceFieldNumber = 2; const ::flyteidl::core::TypedInterface& output_interface() const; ::flyteidl::core::TypedInterface* release_output_interface(); ::flyteidl::core::TypedInterface* mutable_output_interface(); void set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface); - // .flyteidl.core.LiteralMap input_data = 4; - bool has_input_data() const; - void clear_input_data(); - static const int kInputDataFieldNumber = 4; - const ::flyteidl::core::LiteralMap& input_data() const; - ::flyteidl::core::LiteralMap* release_input_data(); - ::flyteidl::core::LiteralMap* mutable_input_data(); - void set_allocated_input_data(::flyteidl::core::LiteralMap* input_data); - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; bool has_reference_execution() const; void clear_reference_execution(); - static const int kReferenceExecutionFieldNumber = 6; + static const int kReferenceExecutionFieldNumber = 4; const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution() const; ::flyteidl::core::WorkflowExecutionIdentifier* release_reference_execution(); ::flyteidl::core::WorkflowExecutionIdentifier* mutable_reference_execution(); void set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution); - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; bool has_launch_plan_id() const; void clear_launch_plan_id(); - static const int kLaunchPlanIdFieldNumber = 8; + static const int kLaunchPlanIdFieldNumber = 6; const ::flyteidl::core::Identifier& launch_plan_id() const; ::flyteidl::core::Identifier* release_launch_plan_id(); ::flyteidl::core::Identifier* mutable_launch_plan_id(); @@ -266,9 +248,7 @@ class CloudEventWorkflowExecution final : ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; ::google::protobuf::internal::ArenaStringPtr principal_; ::flyteidl::event::WorkflowExecutionEvent* raw_event_; - ::flyteidl::core::LiteralMap* output_data_; ::flyteidl::core::TypedInterface* output_interface_; - ::flyteidl::core::LiteralMap* input_data_; ::flyteidl::core::WorkflowExecutionIdentifier* reference_execution_; ::flyteidl::core::Identifier* launch_plan_id_; mutable ::google::protobuf::internal::CachedSize _cached_size_; @@ -371,10 +351,10 @@ class CloudEventNodeExecution final : // accessors ------------------------------------------------------- - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; int artifact_ids_size() const; void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 6; + static const int kArtifactIdsFieldNumber = 4; ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* mutable_artifact_ids(); @@ -383,9 +363,9 @@ class CloudEventNodeExecution final : const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& artifact_ids() const; - // string principal = 7; + // string principal = 5; void clear_principal(); - static const int kPrincipalFieldNumber = 7; + static const int kPrincipalFieldNumber = 5; const ::std::string& principal() const; void set_principal(const ::std::string& value); #if LANG_CXX11 @@ -415,37 +395,19 @@ class CloudEventNodeExecution final : ::flyteidl::core::TaskExecutionIdentifier* mutable_task_exec_id(); void set_allocated_task_exec_id(::flyteidl::core::TaskExecutionIdentifier* task_exec_id); - // .flyteidl.core.LiteralMap output_data = 3; - bool has_output_data() const; - void clear_output_data(); - static const int kOutputDataFieldNumber = 3; - const ::flyteidl::core::LiteralMap& output_data() const; - ::flyteidl::core::LiteralMap* release_output_data(); - ::flyteidl::core::LiteralMap* mutable_output_data(); - void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - // .flyteidl.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; bool has_output_interface() const; void clear_output_interface(); - static const int kOutputInterfaceFieldNumber = 4; + static const int kOutputInterfaceFieldNumber = 3; const ::flyteidl::core::TypedInterface& output_interface() const; ::flyteidl::core::TypedInterface* release_output_interface(); ::flyteidl::core::TypedInterface* mutable_output_interface(); void set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface); - // .flyteidl.core.LiteralMap input_data = 5; - bool has_input_data() const; - void clear_input_data(); - static const int kInputDataFieldNumber = 5; - const ::flyteidl::core::LiteralMap& input_data() const; - ::flyteidl::core::LiteralMap* release_input_data(); - ::flyteidl::core::LiteralMap* mutable_input_data(); - void set_allocated_input_data(::flyteidl::core::LiteralMap* input_data); - - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; bool has_launch_plan_id() const; void clear_launch_plan_id(); - static const int kLaunchPlanIdFieldNumber = 8; + static const int kLaunchPlanIdFieldNumber = 6; const ::flyteidl::core::Identifier& launch_plan_id() const; ::flyteidl::core::Identifier* release_launch_plan_id(); ::flyteidl::core::Identifier* mutable_launch_plan_id(); @@ -460,9 +422,7 @@ class CloudEventNodeExecution final : ::google::protobuf::internal::ArenaStringPtr principal_; ::flyteidl::event::NodeExecutionEvent* raw_event_; ::flyteidl::core::TaskExecutionIdentifier* task_exec_id_; - ::flyteidl::core::LiteralMap* output_data_; ::flyteidl::core::TypedInterface* output_interface_; - ::flyteidl::core::LiteralMap* input_data_; ::flyteidl::core::Identifier* launch_plan_id_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; @@ -691,27 +651,27 @@ class CloudEventExecutionStart final : const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& artifact_ids() const; - // repeated string artifact_keys = 5; - int artifact_keys_size() const; - void clear_artifact_keys(); - static const int kArtifactKeysFieldNumber = 5; - const ::std::string& artifact_keys(int index) const; - ::std::string* mutable_artifact_keys(int index); - void set_artifact_keys(int index, const ::std::string& value); + // repeated string artifact_trackers = 5; + int artifact_trackers_size() const; + void clear_artifact_trackers(); + static const int kArtifactTrackersFieldNumber = 5; + const ::std::string& artifact_trackers(int index) const; + ::std::string* mutable_artifact_trackers(int index); + void set_artifact_trackers(int index, const ::std::string& value); #if LANG_CXX11 - void set_artifact_keys(int index, ::std::string&& value); + void set_artifact_trackers(int index, ::std::string&& value); #endif - void set_artifact_keys(int index, const char* value); - void set_artifact_keys(int index, const char* value, size_t size); - ::std::string* add_artifact_keys(); - void add_artifact_keys(const ::std::string& value); + void set_artifact_trackers(int index, const char* value); + void set_artifact_trackers(int index, const char* value, size_t size); + ::std::string* add_artifact_trackers(); + void add_artifact_trackers(const ::std::string& value); #if LANG_CXX11 - void add_artifact_keys(::std::string&& value); + void add_artifact_trackers(::std::string&& value); #endif - void add_artifact_keys(const char* value); - void add_artifact_keys(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& artifact_keys() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_artifact_keys(); + void add_artifact_trackers(const char* value); + void add_artifact_trackers(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField<::std::string>& artifact_trackers() const; + ::google::protobuf::RepeatedPtrField<::std::string>* mutable_artifact_trackers(); // string principal = 6; void clear_principal(); @@ -760,7 +720,7 @@ class CloudEventExecutionStart final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; - ::google::protobuf::RepeatedPtrField<::std::string> artifact_keys_; + ::google::protobuf::RepeatedPtrField<::std::string> artifact_trackers_; ::google::protobuf::internal::ArenaStringPtr principal_; ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; ::flyteidl::core::Identifier* launch_plan_id_; @@ -824,52 +784,7 @@ inline void CloudEventWorkflowExecution::set_allocated_raw_event(::flyteidl::eve // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.raw_event) } -// .flyteidl.core.LiteralMap output_data = 2; -inline bool CloudEventWorkflowExecution::has_output_data() const { - return this != internal_default_instance() && output_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::output_data() const { - const ::flyteidl::core::LiteralMap* p = output_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.output_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.output_data) - - ::flyteidl::core::LiteralMap* temp = output_data_; - output_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_output_data() { - - if (output_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - output_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.output_data) - return output_data_; -} -inline void CloudEventWorkflowExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); - } - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - - } else { - - } - output_data_ = output_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_data) -} - -// .flyteidl.core.TypedInterface output_interface = 3; +// .flyteidl.core.TypedInterface output_interface = 2; inline bool CloudEventWorkflowExecution::has_output_interface() const { return this != internal_default_instance() && output_interface_ != nullptr; } @@ -914,52 +829,7 @@ inline void CloudEventWorkflowExecution::set_allocated_output_interface(::flytei // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_interface) } -// .flyteidl.core.LiteralMap input_data = 4; -inline bool CloudEventWorkflowExecution::has_input_data() const { - return this != internal_default_instance() && input_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::input_data() const { - const ::flyteidl::core::LiteralMap* p = input_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.input_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_input_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.input_data) - - ::flyteidl::core::LiteralMap* temp = input_data_; - input_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_input_data() { - - if (input_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - input_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.input_data) - return input_data_; -} -inline void CloudEventWorkflowExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); - } - if (input_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - input_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, input_data, submessage_arena); - } - - } else { - - } - input_data_ = input_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.input_data) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 5; +// repeated .flyteidl.core.ArtifactID artifact_ids = 3; inline int CloudEventWorkflowExecution::artifact_ids_size() const { return artifact_ids_.size(); } @@ -986,7 +856,7 @@ CloudEventWorkflowExecution::artifact_ids() const { return artifact_ids_; } -// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; +// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; inline bool CloudEventWorkflowExecution::has_reference_execution() const { return this != internal_default_instance() && reference_execution_ != nullptr; } @@ -1031,7 +901,7 @@ inline void CloudEventWorkflowExecution::set_allocated_reference_execution(::fly // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.reference_execution) } -// string principal = 7; +// string principal = 5; inline void CloudEventWorkflowExecution::clear_principal() { principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } @@ -1084,7 +954,7 @@ inline void CloudEventWorkflowExecution::set_allocated_principal(::std::string* // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.principal) } -// .flyteidl.core.Identifier launch_plan_id = 8; +// .flyteidl.core.Identifier launch_plan_id = 6; inline bool CloudEventWorkflowExecution::has_launch_plan_id() const { return this != internal_default_instance() && launch_plan_id_ != nullptr; } @@ -1223,52 +1093,7 @@ inline void CloudEventNodeExecution::set_allocated_task_exec_id(::flyteidl::core // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.task_exec_id) } -// .flyteidl.core.LiteralMap output_data = 3; -inline bool CloudEventNodeExecution::has_output_data() const { - return this != internal_default_instance() && output_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventNodeExecution::output_data() const { - const ::flyteidl::core::LiteralMap* p = output_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.output_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.output_data) - - ::flyteidl::core::LiteralMap* temp = output_data_; - output_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::mutable_output_data() { - - if (output_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - output_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.output_data) - return output_data_; -} -inline void CloudEventNodeExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); - } - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - - } else { - - } - output_data_ = output_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.output_data) -} - -// .flyteidl.core.TypedInterface output_interface = 4; +// .flyteidl.core.TypedInterface output_interface = 3; inline bool CloudEventNodeExecution::has_output_interface() const { return this != internal_default_instance() && output_interface_ != nullptr; } @@ -1313,52 +1138,7 @@ inline void CloudEventNodeExecution::set_allocated_output_interface(::flyteidl:: // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.output_interface) } -// .flyteidl.core.LiteralMap input_data = 5; -inline bool CloudEventNodeExecution::has_input_data() const { - return this != internal_default_instance() && input_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventNodeExecution::input_data() const { - const ::flyteidl::core::LiteralMap* p = input_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.input_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::release_input_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.input_data) - - ::flyteidl::core::LiteralMap* temp = input_data_; - input_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::mutable_input_data() { - - if (input_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - input_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.input_data) - return input_data_; -} -inline void CloudEventNodeExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); - } - if (input_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - input_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, input_data, submessage_arena); - } - - } else { - - } - input_data_ = input_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.input_data) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 6; +// repeated .flyteidl.core.ArtifactID artifact_ids = 4; inline int CloudEventNodeExecution::artifact_ids_size() const { return artifact_ids_.size(); } @@ -1385,7 +1165,7 @@ CloudEventNodeExecution::artifact_ids() const { return artifact_ids_; } -// string principal = 7; +// string principal = 5; inline void CloudEventNodeExecution::clear_principal() { principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } @@ -1438,7 +1218,7 @@ inline void CloudEventNodeExecution::set_allocated_principal(::std::string* prin // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.principal) } -// .flyteidl.core.Identifier launch_plan_id = 8; +// .flyteidl.core.Identifier launch_plan_id = 6; inline bool CloudEventNodeExecution::has_launch_plan_id() const { return this != internal_default_instance() && launch_plan_id_ != nullptr; } @@ -1698,73 +1478,73 @@ CloudEventExecutionStart::artifact_ids() const { return artifact_ids_; } -// repeated string artifact_keys = 5; -inline int CloudEventExecutionStart::artifact_keys_size() const { - return artifact_keys_.size(); +// repeated string artifact_trackers = 5; +inline int CloudEventExecutionStart::artifact_trackers_size() const { + return artifact_trackers_.size(); } -inline void CloudEventExecutionStart::clear_artifact_keys() { - artifact_keys_.Clear(); +inline void CloudEventExecutionStart::clear_artifact_trackers() { + artifact_trackers_.Clear(); } -inline const ::std::string& CloudEventExecutionStart::artifact_keys(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_.Get(index); +inline const ::std::string& CloudEventExecutionStart::artifact_trackers(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + return artifact_trackers_.Get(index); } -inline ::std::string* CloudEventExecutionStart::mutable_artifact_keys(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_.Mutable(index); +inline ::std::string* CloudEventExecutionStart::mutable_artifact_trackers(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + return artifact_trackers_.Mutable(index); } -inline void CloudEventExecutionStart::set_artifact_keys(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) - artifact_keys_.Mutable(index)->assign(value); +inline void CloudEventExecutionStart::set_artifact_trackers(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + artifact_trackers_.Mutable(index)->assign(value); } #if LANG_CXX11 -inline void CloudEventExecutionStart::set_artifact_keys(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) - artifact_keys_.Mutable(index)->assign(std::move(value)); +inline void CloudEventExecutionStart::set_artifact_trackers(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + artifact_trackers_.Mutable(index)->assign(std::move(value)); } #endif -inline void CloudEventExecutionStart::set_artifact_keys(int index, const char* value) { +inline void CloudEventExecutionStart::set_artifact_trackers(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); - artifact_keys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_trackers_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } -inline void CloudEventExecutionStart::set_artifact_keys(int index, const char* value, size_t size) { - artifact_keys_.Mutable(index)->assign( +inline void CloudEventExecutionStart::set_artifact_trackers(int index, const char* value, size_t size) { + artifact_trackers_.Mutable(index)->assign( reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventExecutionStart.artifact_keys) + // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } -inline ::std::string* CloudEventExecutionStart::add_artifact_keys() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_.Add(); +inline ::std::string* CloudEventExecutionStart::add_artifact_trackers() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + return artifact_trackers_.Add(); } -inline void CloudEventExecutionStart::add_artifact_keys(const ::std::string& value) { - artifact_keys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +inline void CloudEventExecutionStart::add_artifact_trackers(const ::std::string& value) { + artifact_trackers_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } #if LANG_CXX11 -inline void CloudEventExecutionStart::add_artifact_keys(::std::string&& value) { - artifact_keys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +inline void CloudEventExecutionStart::add_artifact_trackers(::std::string&& value) { + artifact_trackers_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } #endif -inline void CloudEventExecutionStart::add_artifact_keys(const char* value) { +inline void CloudEventExecutionStart::add_artifact_trackers(const char* value) { GOOGLE_DCHECK(value != nullptr); - artifact_keys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_trackers_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } -inline void CloudEventExecutionStart::add_artifact_keys(const char* value, size_t size) { - artifact_keys_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.event.CloudEventExecutionStart.artifact_keys) +inline void CloudEventExecutionStart::add_artifact_trackers(const char* value, size_t size) { + artifact_trackers_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } inline const ::google::protobuf::RepeatedPtrField<::std::string>& -CloudEventExecutionStart::artifact_keys() const { - // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_; +CloudEventExecutionStart::artifact_trackers() const { + // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + return artifact_trackers_; } inline ::google::protobuf::RepeatedPtrField<::std::string>* -CloudEventExecutionStart::mutable_artifact_keys() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return &artifact_keys_; +CloudEventExecutionStart::mutable_artifact_trackers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + return &artifact_trackers_; } // string principal = 6; diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go index 1145a30d04..e29d85883e 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go @@ -864,75 +864,75 @@ func (m *CreateTriggerResponse) XXX_DiscardUnknown() { var xxx_messageInfo_CreateTriggerResponse proto.InternalMessageInfo -type DeleteTriggerRequest struct { +type DeactivateTriggerRequest struct { TriggerId *core.Identifier `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteTriggerRequest) Reset() { *m = DeleteTriggerRequest{} } -func (m *DeleteTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTriggerRequest) ProtoMessage() {} -func (*DeleteTriggerRequest) Descriptor() ([]byte, []int) { +func (m *DeactivateTriggerRequest) Reset() { *m = DeactivateTriggerRequest{} } +func (m *DeactivateTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*DeactivateTriggerRequest) ProtoMessage() {} +func (*DeactivateTriggerRequest) Descriptor() ([]byte, []int) { return fileDescriptor_804518da5936dedb, []int{15} } -func (m *DeleteTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTriggerRequest.Unmarshal(m, b) +func (m *DeactivateTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeactivateTriggerRequest.Unmarshal(m, b) } -func (m *DeleteTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTriggerRequest.Marshal(b, m, deterministic) +func (m *DeactivateTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeactivateTriggerRequest.Marshal(b, m, deterministic) } -func (m *DeleteTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTriggerRequest.Merge(m, src) +func (m *DeactivateTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeactivateTriggerRequest.Merge(m, src) } -func (m *DeleteTriggerRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTriggerRequest.Size(m) +func (m *DeactivateTriggerRequest) XXX_Size() int { + return xxx_messageInfo_DeactivateTriggerRequest.Size(m) } -func (m *DeleteTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTriggerRequest.DiscardUnknown(m) +func (m *DeactivateTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeactivateTriggerRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteTriggerRequest proto.InternalMessageInfo +var xxx_messageInfo_DeactivateTriggerRequest proto.InternalMessageInfo -func (m *DeleteTriggerRequest) GetTriggerId() *core.Identifier { +func (m *DeactivateTriggerRequest) GetTriggerId() *core.Identifier { if m != nil { return m.TriggerId } return nil } -type DeleteTriggerResponse struct { +type DeactivateTriggerResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteTriggerResponse) Reset() { *m = DeleteTriggerResponse{} } -func (m *DeleteTriggerResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteTriggerResponse) ProtoMessage() {} -func (*DeleteTriggerResponse) Descriptor() ([]byte, []int) { +func (m *DeactivateTriggerResponse) Reset() { *m = DeactivateTriggerResponse{} } +func (m *DeactivateTriggerResponse) String() string { return proto.CompactTextString(m) } +func (*DeactivateTriggerResponse) ProtoMessage() {} +func (*DeactivateTriggerResponse) Descriptor() ([]byte, []int) { return fileDescriptor_804518da5936dedb, []int{16} } -func (m *DeleteTriggerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTriggerResponse.Unmarshal(m, b) +func (m *DeactivateTriggerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeactivateTriggerResponse.Unmarshal(m, b) } -func (m *DeleteTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTriggerResponse.Marshal(b, m, deterministic) +func (m *DeactivateTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeactivateTriggerResponse.Marshal(b, m, deterministic) } -func (m *DeleteTriggerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTriggerResponse.Merge(m, src) +func (m *DeactivateTriggerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeactivateTriggerResponse.Merge(m, src) } -func (m *DeleteTriggerResponse) XXX_Size() int { - return xxx_messageInfo_DeleteTriggerResponse.Size(m) +func (m *DeactivateTriggerResponse) XXX_Size() int { + return xxx_messageInfo_DeactivateTriggerResponse.Size(m) } -func (m *DeleteTriggerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTriggerResponse.DiscardUnknown(m) +func (m *DeactivateTriggerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeactivateTriggerResponse.DiscardUnknown(m) } -var xxx_messageInfo_DeleteTriggerResponse proto.InternalMessageInfo +var xxx_messageInfo_DeactivateTriggerResponse proto.InternalMessageInfo type ArtifactProducer struct { // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in @@ -1237,8 +1237,8 @@ func init() { proto.RegisterType((*AddTagResponse)(nil), "flyteidl.artifact.AddTagResponse") proto.RegisterType((*CreateTriggerRequest)(nil), "flyteidl.artifact.CreateTriggerRequest") proto.RegisterType((*CreateTriggerResponse)(nil), "flyteidl.artifact.CreateTriggerResponse") - proto.RegisterType((*DeleteTriggerRequest)(nil), "flyteidl.artifact.DeleteTriggerRequest") - proto.RegisterType((*DeleteTriggerResponse)(nil), "flyteidl.artifact.DeleteTriggerResponse") + proto.RegisterType((*DeactivateTriggerRequest)(nil), "flyteidl.artifact.DeactivateTriggerRequest") + proto.RegisterType((*DeactivateTriggerResponse)(nil), "flyteidl.artifact.DeactivateTriggerResponse") proto.RegisterType((*ArtifactProducer)(nil), "flyteidl.artifact.ArtifactProducer") proto.RegisterType((*RegisterProducerRequest)(nil), "flyteidl.artifact.RegisterProducerRequest") proto.RegisterType((*ArtifactConsumer)(nil), "flyteidl.artifact.ArtifactConsumer") @@ -1251,110 +1251,111 @@ func init() { func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } var fileDescriptor_804518da5936dedb = []byte{ - // 1635 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0x46, - 0x1a, 0x37, 0x2d, 0x59, 0xb2, 0x3e, 0x59, 0x8e, 0x3d, 0xf1, 0xda, 0xb2, 0x92, 0xdd, 0x28, 0xcc, - 0x3e, 0x9c, 0x6c, 0x56, 0x44, 0x9c, 0x45, 0x36, 0x0e, 0x90, 0x45, 0x9d, 0x38, 0x2d, 0x54, 0xe7, - 0xe1, 0xd0, 0x4e, 0x1f, 0x46, 0x50, 0x75, 0x44, 0x8e, 0x65, 0xc6, 0x14, 0xc9, 0x0c, 0x47, 0x76, - 0x89, 0x20, 0x48, 0x51, 0xa0, 0xa7, 0x1e, 0x7b, 0x6a, 0xd1, 0xa2, 0x39, 0xf5, 0xd8, 0x43, 0x81, - 0x00, 0xfd, 0x1b, 0x7a, 0x6d, 0x81, 0x5e, 0x7a, 0xec, 0x3f, 0x51, 0xf4, 0x52, 0x70, 0xc8, 0xe1, - 0x43, 0xa2, 0x64, 0x3b, 0xe9, 0xa1, 0x37, 0xce, 0x37, 0xbf, 0xef, 0x39, 0xdf, 0x4b, 0x82, 0xb3, - 0x3b, 0xa6, 0xc7, 0x88, 0xa1, 0x9b, 0x0a, 0xa6, 0xcc, 0xd8, 0xc1, 0x1a, 0x8b, 0x3e, 0xdc, 0x86, - 0x43, 0x6d, 0x66, 0xa3, 0x59, 0x01, 0x69, 0x88, 0x9b, 0xda, 0x62, 0xc7, 0xb6, 0x3b, 0x26, 0x51, - 0x38, 0xa0, 0xdd, 0xdb, 0x51, 0xb0, 0xe5, 0x05, 0xe8, 0xda, 0xe9, 0xf0, 0x0a, 0x3b, 0x86, 0x82, - 0x2d, 0xcb, 0x66, 0x98, 0x19, 0xb6, 0x15, 0xca, 0xaa, 0xd5, 0x63, 0x75, 0x7a, 0xd7, 0xb0, 0x14, - 0x13, 0xf7, 0x2c, 0x6d, 0xb7, 0xe5, 0x98, 0xd8, 0x12, 0xfc, 0x11, 0x42, 0xb3, 0x29, 0x51, 0x4c, - 0x83, 0x11, 0x8a, 0x4d, 0xc1, 0xbf, 0x98, 0xbe, 0x65, 0x9e, 0x43, 0xc4, 0xd5, 0xdf, 0xd2, 0x57, - 0x86, 0x4e, 0x2c, 0x66, 0xec, 0x18, 0x84, 0x86, 0xf7, 0x67, 0xd2, 0xf7, 0xc2, 0x97, 0x96, 0xa1, - 0x87, 0x80, 0xbf, 0xf6, 0x09, 0xb0, 0x18, 0xa1, 0x3b, 0x58, 0x23, 0x03, 0xa6, 0x93, 0x7d, 0x62, - 0x31, 0x45, 0x33, 0xed, 0x9e, 0xce, 0x3f, 0x43, 0x0b, 0xe4, 0xef, 0x25, 0x98, 0x5c, 0x0d, 0xc5, - 0xa2, 0x6b, 0x50, 0x4e, 0xa8, 0xa8, 0x4a, 0x75, 0x69, 0xa9, 0xbc, 0xbc, 0xd8, 0x88, 0x62, 0xe9, - 0xeb, 0x68, 0x08, 0x74, 0x73, 0x4d, 0x05, 0x81, 0x6e, 0xea, 0xe8, 0x32, 0xe4, 0x5d, 0x87, 0x68, - 0xd5, 0x71, 0xce, 0x74, 0xa6, 0x31, 0xf0, 0x00, 0x11, 0xe3, 0xa6, 0x43, 0x34, 0x95, 0x83, 0x11, - 0x82, 0x3c, 0xc3, 0x1d, 0xb7, 0x9a, 0xab, 0xe7, 0x96, 0x4a, 0x2a, 0xff, 0x46, 0x2b, 0x50, 0x70, - 0xed, 0x1e, 0xd5, 0x48, 0x35, 0xcf, 0x45, 0x9d, 0x1d, 0x25, 0x8a, 0x03, 0xd5, 0x90, 0x41, 0xfe, - 0x24, 0x07, 0x7f, 0xb9, 0x49, 0x09, 0x66, 0x44, 0x00, 0x54, 0xf2, 0xb8, 0x47, 0x5c, 0x86, 0xae, - 0xc3, 0x54, 0xe4, 0xd9, 0x1e, 0xf1, 0x42, 0xd7, 0x6a, 0x43, 0x5c, 0x5b, 0x27, 0x9e, 0x1a, 0x45, - 0x62, 0x9d, 0x78, 0xa8, 0x0a, 0xc5, 0x7d, 0x42, 0x5d, 0xc3, 0xb6, 0xaa, 0xb9, 0xba, 0xb4, 0x54, - 0x52, 0xc5, 0xf1, 0xe5, 0xdc, 0x7e, 0x07, 0xc0, 0xf1, 0xef, 0x79, 0x96, 0x55, 0xf3, 0xf5, 0xdc, - 0x52, 0x79, 0xf9, 0x6a, 0x06, 0x6b, 0xa6, 0x2f, 0x8d, 0x8d, 0x88, 0xf5, 0x96, 0xc5, 0xa8, 0xa7, - 0x26, 0x64, 0xa1, 0x19, 0xc8, 0x31, 0xdc, 0xa9, 0x4e, 0x70, 0x23, 0xfd, 0xcf, 0x44, 0x38, 0x0b, - 0xc7, 0x0c, 0x67, 0xed, 0x3a, 0x9c, 0xe8, 0xd3, 0xe5, 0xcb, 0x17, 0xe1, 0x2b, 0xa9, 0xfe, 0x27, - 0x9a, 0x83, 0x89, 0x7d, 0x6c, 0xf6, 0x08, 0x8f, 0x40, 0x49, 0x0d, 0x0e, 0xd7, 0xc6, 0xaf, 0x4a, - 0xf2, 0x6f, 0x12, 0x4c, 0xa7, 0x25, 0xa3, 0x77, 0x01, 0x1d, 0xd8, 0x74, 0x6f, 0xc7, 0xb4, 0x0f, - 0x5a, 0xe4, 0x03, 0xa2, 0xf5, 0x7c, 0xd1, 0xe1, 0x63, 0x5c, 0xe8, 0x7b, 0x8c, 0xb7, 0x43, 0xe0, - 0x2d, 0x81, 0x6b, 0x46, 0xd5, 0xa1, 0xce, 0x1e, 0xf4, 0x5f, 0xa2, 0x05, 0x28, 0x5a, 0xb6, 0x4e, - 0xfc, 0xbc, 0x0d, 0x2c, 0x29, 0xf8, 0xc7, 0xa6, 0x8e, 0x96, 0xa1, 0xc8, 0xb0, 0xbb, 0xe7, 0x5f, - 0xe4, 0x32, 0x13, 0x3a, 0x21, 0xb7, 0xe0, 0x23, 0x9b, 0x3a, 0x3a, 0x07, 0x15, 0x4a, 0x18, 0xf5, - 0x5a, 0x98, 0x31, 0xd2, 0x75, 0x18, 0x4f, 0xc5, 0x8a, 0x3a, 0xc5, 0x89, 0xab, 0x01, 0x0d, 0x9d, - 0x86, 0x92, 0x43, 0x0d, 0x4b, 0x33, 0x1c, 0x6c, 0x86, 0x11, 0x8f, 0x09, 0xf2, 0xaf, 0x12, 0x4c, - 0x25, 0x9f, 0x1e, 0x5d, 0x14, 0x81, 0x0a, 0xdc, 0x9d, 0xef, 0xb3, 0xe2, 0x76, 0xd0, 0x34, 0xc2, - 0x00, 0xa2, 0x06, 0xe4, 0xfd, 0x46, 0x11, 0xe6, 0x55, 0x2d, 0x1b, 0xbc, 0xe5, 0x39, 0x44, 0xe5, - 0x38, 0xf4, 0x6f, 0x98, 0x75, 0x77, 0x6d, 0xca, 0x5a, 0x3a, 0x71, 0x35, 0x6a, 0x38, 0x2c, 0xce, - 0xd5, 0x19, 0x7e, 0xb1, 0x16, 0xd3, 0xd1, 0x0a, 0x54, 0x7a, 0x2e, 0xa1, 0xad, 0x2e, 0x61, 0x58, - 0xc7, 0x0c, 0x87, 0x95, 0x36, 0xd7, 0x08, 0xfa, 0x60, 0x43, 0xb4, 0xc8, 0xc6, 0xaa, 0xe5, 0xa9, - 0x53, 0x3e, 0xf4, 0x4e, 0x88, 0xf4, 0x23, 0x23, 0xb8, 0x5a, 0xdc, 0xc0, 0xc0, 0xf1, 0x29, 0x41, - 0xf4, 0x4d, 0x92, 0xef, 0xc3, 0x7c, 0x7f, 0xea, 0xba, 0x8e, 0x6d, 0xb9, 0x04, 0xfd, 0x0f, 0x26, - 0x45, 0xd6, 0x85, 0x71, 0x38, 0x35, 0x22, 0x1f, 0xd5, 0x08, 0x2c, 0xb7, 0x01, 0xbd, 0x41, 0x58, - 0x7f, 0x59, 0x2f, 0xc3, 0xc4, 0xe3, 0x1e, 0xa1, 0xa2, 0x9e, 0x4f, 0x0f, 0xa9, 0xe7, 0xfb, 0x3e, - 0x46, 0x0d, 0xa0, 0x7e, 0x2d, 0xeb, 0x84, 0x61, 0xc3, 0x74, 0x79, 0x70, 0x27, 0x55, 0x71, 0x94, - 0xef, 0xc2, 0xc9, 0x94, 0x8e, 0x57, 0xb5, 0xf9, 0x7d, 0xa8, 0x6c, 0x12, 0x4c, 0xb5, 0xdd, 0x7b, - 0x4e, 0x50, 0x9d, 0xfe, 0x23, 0x31, 0x6a, 0x68, 0xac, 0x95, 0x28, 0x7f, 0x89, 0x1b, 0x31, 0x13, - 0x5c, 0xc4, 0xf5, 0x86, 0x64, 0xa8, 0x98, 0x98, 0x11, 0x97, 0xb5, 0xda, 0x1e, 0xef, 0x59, 0x81, - 0xb5, 0xe5, 0x80, 0x78, 0xc3, 0x5b, 0x27, 0x9e, 0xfc, 0xed, 0x38, 0xcc, 0x07, 0x2a, 0x84, 0x7a, - 0xf7, 0x0f, 0xea, 0x78, 0x2b, 0xa9, 0x16, 0x35, 0x9e, 0x59, 0x38, 0xb1, 0xb1, 0xa9, 0x1e, 0x94, - 0xaa, 0x8b, 0x5c, 0x5f, 0x5d, 0x24, 0x5b, 0x69, 0x3e, 0xdd, 0x4a, 0xaf, 0x41, 0xd1, 0x0e, 0x02, - 0xc5, 0x93, 0xaa, 0xbc, 0x5c, 0xcf, 0x08, 0x73, 0x2a, 0xa0, 0xaa, 0x60, 0xf0, 0xbb, 0x10, 0xb3, - 0xf7, 0x88, 0xc5, 0x9b, 0x5c, 0x49, 0x0d, 0x0e, 0x3e, 0xd5, 0x34, 0xba, 0x06, 0xab, 0x16, 0xeb, - 0xd2, 0xd2, 0x84, 0x1a, 0x1c, 0xe4, 0x47, 0xb0, 0x30, 0x10, 0xb3, 0xf0, 0xa9, 0x57, 0xa0, 0x14, - 0x6d, 0x12, 0x55, 0x89, 0xf7, 0xe5, 0x91, 0x6f, 0x1d, 0xa3, 0x63, 0x0b, 0xc6, 0x13, 0x16, 0xc8, - 0x3f, 0x4b, 0xb0, 0xf8, 0xba, 0x61, 0xe9, 0x37, 0xbc, 0x64, 0x3b, 0x13, 0x6f, 0x74, 0x13, 0x8a, - 0x7e, 0x17, 0x8c, 0x67, 0xed, 0x71, 0x7a, 0x60, 0xc1, 0x67, 0x6d, 0xea, 0x68, 0x0b, 0x4a, 0xba, - 0x41, 0x89, 0xc6, 0x2b, 0xde, 0x57, 0x3e, 0xbd, 0x7c, 0x25, 0xc3, 0xe6, 0xa1, 0x56, 0x34, 0xd6, - 0x04, 0xb7, 0x1a, 0x0b, 0x92, 0xff, 0x0e, 0xa5, 0x88, 0x8e, 0x00, 0x0a, 0xcd, 0xbb, 0x1b, 0x0f, - 0xb6, 0x36, 0x67, 0xc6, 0x50, 0x19, 0x8a, 0xf7, 0x1e, 0x6c, 0xf1, 0x83, 0x24, 0x3f, 0x83, 0xca, - 0xaa, 0xae, 0x6f, 0xe1, 0x8e, 0xf0, 0xe8, 0x55, 0x36, 0x88, 0xcc, 0x49, 0xe2, 0x67, 0x93, 0xbd, - 0x4f, 0xe8, 0x01, 0x35, 0x18, 0xe1, 0xd9, 0x34, 0xa9, 0xc6, 0x04, 0x79, 0x06, 0xa6, 0x85, 0x01, - 0xc1, 0x13, 0xca, 0x6d, 0x98, 0x0b, 0x7a, 0xcf, 0x16, 0x35, 0x3a, 0x1d, 0x42, 0x85, 0x65, 0x6f, - 0xc2, 0x49, 0x16, 0x50, 0x5a, 0x89, 0x05, 0x6e, 0xb0, 0x2c, 0xf8, 0x8e, 0xd7, 0xb8, 0xcd, 0x21, - 0x1b, 0x26, 0xb6, 0xd4, 0xd9, 0x90, 0x2d, 0x26, 0xc9, 0x0b, 0x62, 0xcd, 0x88, 0x74, 0x84, 0xca, - 0x37, 0x60, 0x6e, 0x8d, 0x98, 0x64, 0x40, 0xf9, 0x55, 0x00, 0xa1, 0x7c, 0x68, 0x54, 0x12, 0x4f, - 0x5b, 0x0a, 0xc1, 0x4d, 0xdd, 0x57, 0xd5, 0x27, 0x31, 0x54, 0xf5, 0xa1, 0x04, 0x33, 0x22, 0x90, - 0x1b, 0xd4, 0xd6, 0x7b, 0x1a, 0xa1, 0xe8, 0x0a, 0x94, 0x7c, 0x21, 0xcc, 0x3b, 0x92, 0x9a, 0xc9, - 0x00, 0xdb, 0xd4, 0xd1, 0x7f, 0xa1, 0x68, 0xf7, 0x98, 0xd3, 0x63, 0xee, 0x90, 0x81, 0xf3, 0x16, - 0xa6, 0x06, 0x6e, 0x9b, 0xe4, 0x0e, 0x76, 0x54, 0x01, 0x95, 0x1f, 0xc2, 0x82, 0x4a, 0x3a, 0x86, - 0xcb, 0x08, 0x15, 0x16, 0x08, 0x87, 0x57, 0xfd, 0x1e, 0x10, 0x90, 0x44, 0x21, 0x9d, 0x1b, 0x51, - 0x48, 0x11, 0x7b, 0xcc, 0x25, 0x3f, 0x8b, 0xfd, 0xbb, 0x69, 0x5b, 0x6e, 0xaf, 0xfb, 0x0a, 0xfe, - 0x5d, 0x86, 0x82, 0x61, 0x25, 0xdc, 0x3b, 0x35, 0xd8, 0xc9, 0x70, 0x97, 0x30, 0x42, 0x7d, 0xff, - 0x42, 0x68, 0xd2, 0x3d, 0x61, 0x40, 0xc2, 0x3d, 0x2d, 0x24, 0x1d, 0xc5, 0xbd, 0x88, 0x3d, 0xe6, - 0x92, 0x11, 0xcc, 0x08, 0xe9, 0xd1, 0x9b, 0x7e, 0x2e, 0xc1, 0x7c, 0x5c, 0xea, 0xdc, 0x0a, 0xa1, - 0xf1, 0x0e, 0x4c, 0x45, 0x0b, 0xd3, 0xcb, 0xf5, 0x8b, 0x32, 0x89, 0x89, 0xe8, 0x52, 0x22, 0x20, - 0xb9, 0xd1, 0x25, 0x2a, 0xc2, 0xb1, 0x08, 0x0b, 0x03, 0xb6, 0x05, 0x76, 0x2f, 0xff, 0x34, 0x1d, - 0xbf, 0x55, 0xe0, 0x14, 0xf5, 0x50, 0x07, 0xa6, 0xd3, 0x4b, 0x00, 0x5a, 0x3a, 0xea, 0x8a, 0x5b, - 0x3b, 0x7f, 0x04, 0x64, 0x18, 0xb3, 0x31, 0xf4, 0xf1, 0x04, 0x94, 0x13, 0x73, 0x1b, 0xfd, 0x23, - 0x83, 0x79, 0x70, 0x77, 0xa8, 0xfd, 0xf3, 0x30, 0x58, 0xa8, 0xe0, 0xeb, 0xfc, 0x47, 0x3f, 0xfc, - 0xf2, 0xe9, 0xf8, 0x57, 0x79, 0x54, 0x8f, 0x7f, 0x66, 0xf2, 0x9f, 0x8a, 0xfb, 0x97, 0x14, 0x7f, - 0xe5, 0x89, 0xa9, 0xdb, 0xdf, 0x49, 0xe8, 0x85, 0x74, 0x08, 0x4a, 0x31, 0x74, 0xe5, 0x09, 0x5f, - 0x45, 0x1a, 0xc9, 0xdf, 0x73, 0xc9, 0x61, 0xed, 0x2f, 0x60, 0x8f, 0x88, 0xc6, 0x9e, 0x1e, 0x0a, - 0xd4, 0xed, 0x2e, 0x36, 0xac, 0xc3, 0x71, 0x16, 0xee, 0x92, 0x4c, 0x54, 0x38, 0x7c, 0x9f, 0x6e, - 0x7f, 0x21, 0xa1, 0xcf, 0xfe, 0xbc, 0xa6, 0x6f, 0x3f, 0x97, 0xd0, 0x97, 0x87, 0x9a, 0xc7, 0x70, - 0x67, 0x40, 0x1c, 0xc3, 0x9d, 0x23, 0x1a, 0x38, 0x80, 0x1c, 0x66, 0xe1, 0x00, 0x90, 0x9b, 0x88, - 0x9e, 0x8f, 0xc3, 0x89, 0xbe, 0xc5, 0x02, 0x9d, 0x1f, 0xba, 0xc2, 0xf4, 0x2f, 0x6c, 0xb5, 0x0b, - 0x47, 0x81, 0x86, 0x39, 0xf9, 0x42, 0xe2, 0x39, 0xf9, 0x8d, 0x84, 0x5a, 0x43, 0x62, 0xc2, 0x4d, - 0x56, 0x5c, 0xe5, 0xc9, 0x10, 0xdf, 0xb3, 0x1d, 0xcd, 0x08, 0xfc, 0x3a, 0x6a, 0x8e, 0x54, 0x71, - 0x1c, 0x05, 0x48, 0x87, 0x4a, 0x6a, 0x70, 0xa2, 0x7f, 0x0d, 0x2d, 0xf4, 0xf4, 0x04, 0xad, 0x2d, - 0x1d, 0x0e, 0x8c, 0x1a, 0x82, 0x0e, 0x95, 0xd4, 0xcc, 0xcc, 0xd4, 0x92, 0x35, 0xa7, 0x33, 0xb5, - 0x64, 0x8f, 0xdf, 0x31, 0x74, 0x0f, 0x0a, 0xc1, 0xea, 0x81, 0xb2, 0xf6, 0xd4, 0xd4, 0x5a, 0x54, - 0x3b, 0x3b, 0x02, 0x11, 0x09, 0x24, 0xf1, 0x44, 0x88, 0x06, 0x7a, 0x56, 0x52, 0x0c, 0x99, 0xb9, - 0xb5, 0x73, 0x23, 0xb0, 0xd9, 0x6a, 0xa2, 0xb9, 0x3a, 0x4a, 0x4d, 0xdf, 0xec, 0x3b, 0xaa, 0x9a, - 0x2e, 0xa0, 0x4d, 0xc2, 0xfa, 0x26, 0x46, 0x66, 0x3d, 0x64, 0x4f, 0xbc, 0xcc, 0x7a, 0x18, 0x32, - 0x80, 0xe4, 0x31, 0xf4, 0xa3, 0x04, 0x68, 0x70, 0xc5, 0x45, 0x17, 0x8f, 0xb3, 0x09, 0x1f, 0xab, - 0x04, 0x75, 0x5e, 0x81, 0xef, 0xa1, 0x87, 0x23, 0xab, 0x83, 0x28, 0x4f, 0xc2, 0x0d, 0x3f, 0x51, - 0x1a, 0x82, 0x12, 0x95, 0x9d, 0x20, 0x84, 0x5d, 0x3a, 0xda, 0xc2, 0x9f, 0xde, 0x78, 0x6d, 0xfb, - 0xff, 0x1d, 0x83, 0xed, 0xf6, 0xda, 0x0d, 0xcd, 0xee, 0x2a, 0xdc, 0x3a, 0x9b, 0x76, 0x82, 0x0f, - 0x25, 0xfa, 0x73, 0xaf, 0x43, 0x2c, 0xc5, 0x69, 0xff, 0xa7, 0x63, 0x2b, 0x03, 0xff, 0x8c, 0xb6, - 0x0b, 0xfc, 0xc7, 0xfc, 0xe5, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x8a, 0xd7, 0x3b, 0x35, - 0x15, 0x00, 0x00, + // 1656 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x73, 0xdb, 0xc6, + 0x19, 0x37, 0x44, 0x8a, 0x14, 0x3f, 0x4a, 0xb2, 0xb4, 0x76, 0x25, 0x8a, 0x72, 0x6b, 0x19, 0x76, + 0x5b, 0xf9, 0x51, 0x62, 0x4c, 0x77, 0x5c, 0x4b, 0x33, 0xee, 0x54, 0xb6, 0x5c, 0x0f, 0xeb, 0x97, + 0x0c, 0xc9, 0x6d, 0xad, 0xe9, 0x0c, 0xbd, 0x04, 0x56, 0x14, 0x2c, 0x10, 0x80, 0x17, 0x4b, 0xa9, + 0x18, 0x8f, 0xc7, 0x99, 0x5c, 0x7d, 0x4b, 0x32, 0x49, 0x26, 0x39, 0xe4, 0x92, 0x5b, 0x2e, 0x99, + 0xe4, 0xbf, 0xc8, 0x35, 0x97, 0x1c, 0x72, 0xcc, 0x3f, 0x90, 0xa3, 0x27, 0x97, 0x0c, 0x16, 0x58, + 0x00, 0x24, 0x40, 0x8a, 0xb2, 0x7d, 0xc8, 0x0d, 0xfb, 0xed, 0xef, 0x7b, 0xee, 0xf7, 0x22, 0xe1, + 0xcc, 0x8e, 0xe9, 0x31, 0x62, 0xe8, 0xa6, 0x82, 0x29, 0x33, 0x76, 0xb0, 0xc6, 0xa2, 0x0f, 0xb7, + 0xe6, 0x50, 0x9b, 0xd9, 0x68, 0x56, 0x40, 0x6a, 0xe2, 0xa6, 0xba, 0xd0, 0xb6, 0xed, 0xb6, 0x49, + 0x14, 0x0e, 0x68, 0x75, 0x77, 0x14, 0x6c, 0x79, 0x01, 0xba, 0x7a, 0x2a, 0xbc, 0xc2, 0x8e, 0xa1, + 0x60, 0xcb, 0xb2, 0x19, 0x66, 0x86, 0x6d, 0x85, 0xb2, 0xaa, 0x4b, 0xb1, 0x3a, 0xbd, 0x63, 0x58, + 0x8a, 0x89, 0xbb, 0x96, 0xb6, 0xdb, 0x74, 0x4c, 0x6c, 0x09, 0xfe, 0x08, 0xa1, 0xd9, 0x94, 0x28, + 0xa6, 0xc1, 0x08, 0xc5, 0xa6, 0xe0, 0x5f, 0xe8, 0xbd, 0x65, 0x9e, 0x43, 0xc4, 0xd5, 0x1f, 0x7a, + 0xaf, 0x0c, 0x9d, 0x58, 0xcc, 0xd8, 0x31, 0x08, 0x0d, 0xef, 0x4f, 0xf7, 0xde, 0x0b, 0x5f, 0x9a, + 0x86, 0x1e, 0x02, 0x7e, 0xdf, 0x27, 0xc0, 0x62, 0x84, 0xee, 0x60, 0x8d, 0xa4, 0x4c, 0x27, 0xfb, + 0xc4, 0x62, 0x8a, 0x66, 0xda, 0x5d, 0x9d, 0x7f, 0x86, 0x16, 0xc8, 0xdf, 0x49, 0x30, 0xb1, 0x16, + 0x8a, 0x45, 0xab, 0x50, 0x4e, 0xa8, 0xa8, 0x48, 0x4b, 0xd2, 0x72, 0xb9, 0xbe, 0x50, 0x8b, 0x62, + 0xe9, 0xeb, 0xa8, 0x09, 0x74, 0x63, 0x5d, 0x05, 0x81, 0x6e, 0xe8, 0xe8, 0x0a, 0xe4, 0x5d, 0x87, + 0x68, 0x95, 0x31, 0xce, 0x74, 0xba, 0x96, 0x7a, 0x80, 0x88, 0x71, 0xd3, 0x21, 0x9a, 0xca, 0xc1, + 0x08, 0x41, 0x9e, 0xe1, 0xb6, 0x5b, 0xc9, 0x2d, 0xe5, 0x96, 0x4b, 0x2a, 0xff, 0x46, 0x2b, 0x50, + 0x70, 0xed, 0x2e, 0xd5, 0x48, 0x25, 0xcf, 0x45, 0x9d, 0x19, 0x26, 0x8a, 0x03, 0xd5, 0x90, 0x41, + 0x7e, 0x95, 0x83, 0xdf, 0xdd, 0xa4, 0x04, 0x33, 0x22, 0x00, 0x2a, 0x79, 0xd6, 0x25, 0x2e, 0x43, + 0xd7, 0x61, 0x32, 0xf2, 0x6c, 0x8f, 0x78, 0xa1, 0x6b, 0xd5, 0x01, 0xae, 0xdd, 0x21, 0x9e, 0x1a, + 0x45, 0xe2, 0x0e, 0xf1, 0x50, 0x05, 0x8a, 0xfb, 0x84, 0xba, 0x86, 0x6d, 0x55, 0x72, 0x4b, 0xd2, + 0x72, 0x49, 0x15, 0xc7, 0x37, 0x73, 0xfb, 0xbf, 0x00, 0x8e, 0x7f, 0xcf, 0xb3, 0xac, 0x92, 0x5f, + 0xca, 0x2d, 0x97, 0xeb, 0xd7, 0x32, 0x58, 0x33, 0x7d, 0xa9, 0x6d, 0x44, 0xac, 0xb7, 0x2c, 0x46, + 0x3d, 0x35, 0x21, 0x0b, 0xcd, 0x40, 0x8e, 0xe1, 0x76, 0x65, 0x9c, 0x1b, 0xe9, 0x7f, 0x26, 0xc2, + 0x59, 0x38, 0x62, 0x38, 0xab, 0xd7, 0xe1, 0x78, 0x9f, 0x2e, 0x5f, 0xbe, 0x08, 0x5f, 0x49, 0xf5, + 0x3f, 0xd1, 0x49, 0x18, 0xdf, 0xc7, 0x66, 0x97, 0xf0, 0x08, 0x94, 0xd4, 0xe0, 0xb0, 0x3a, 0x76, + 0x4d, 0x92, 0x7f, 0x91, 0x60, 0xba, 0x57, 0x32, 0x7a, 0x0c, 0xe8, 0xc0, 0xa6, 0x7b, 0x3b, 0xa6, + 0x7d, 0xd0, 0x24, 0xff, 0x27, 0x5a, 0xd7, 0x17, 0x1d, 0x3e, 0xc6, 0x85, 0xbe, 0xc7, 0xf8, 0x4f, + 0x08, 0xbc, 0x25, 0x70, 0x8d, 0xa8, 0x3a, 0xd4, 0xd9, 0x83, 0xfe, 0x4b, 0x34, 0x0f, 0x45, 0xcb, + 0xd6, 0x89, 0x9f, 0xb7, 0x81, 0x25, 0x05, 0xff, 0xd8, 0xd0, 0x51, 0x1d, 0x8a, 0x0c, 0xbb, 0x7b, + 0xfe, 0x45, 0x2e, 0x33, 0xa1, 0x13, 0x72, 0x0b, 0x3e, 0xb2, 0xa1, 0xa3, 0xb3, 0x30, 0x45, 0x09, + 0xa3, 0x5e, 0x13, 0x33, 0x46, 0x3a, 0x0e, 0xe3, 0xa9, 0x38, 0xa5, 0x4e, 0x72, 0xe2, 0x5a, 0x40, + 0x43, 0xa7, 0xa0, 0xe4, 0x50, 0xc3, 0xd2, 0x0c, 0x07, 0x9b, 0x61, 0xc4, 0x63, 0x82, 0xfc, 0x5a, + 0x82, 0xc9, 0xe4, 0xd3, 0xa3, 0x4b, 0x22, 0x50, 0x81, 0xbb, 0x73, 0x7d, 0x56, 0xdc, 0x0d, 0x9a, + 0x46, 0x18, 0x40, 0x54, 0x83, 0xbc, 0xdf, 0x28, 0xc2, 0xbc, 0xaa, 0x66, 0x83, 0xb7, 0x3c, 0x87, + 0xa8, 0x1c, 0x87, 0x2e, 0xc2, 0xac, 0xbb, 0x6b, 0x53, 0xd6, 0xd4, 0x89, 0xab, 0x51, 0xc3, 0x61, + 0x71, 0xae, 0xce, 0xf0, 0x8b, 0xf5, 0x98, 0x8e, 0x56, 0x60, 0xaa, 0xeb, 0x12, 0xda, 0xec, 0x10, + 0x86, 0x75, 0xcc, 0x70, 0x58, 0x69, 0x27, 0x6b, 0x41, 0x1f, 0xac, 0x89, 0x16, 0x59, 0x5b, 0xb3, + 0x3c, 0x75, 0xd2, 0x87, 0xde, 0x0b, 0x91, 0x7e, 0x64, 0x04, 0x57, 0x93, 0x1b, 0x18, 0x38, 0x3e, + 0x29, 0x88, 0xbe, 0x49, 0xf2, 0x43, 0x98, 0xeb, 0x4f, 0x5d, 0xd7, 0xb1, 0x2d, 0x97, 0xa0, 0xbf, + 0xc1, 0x84, 0xc8, 0xba, 0x30, 0x0e, 0x8b, 0x43, 0xf2, 0x51, 0x8d, 0xc0, 0x72, 0x0b, 0xd0, 0x6d, + 0xc2, 0xfa, 0xcb, 0xba, 0x0e, 0xe3, 0xcf, 0xba, 0x84, 0x8a, 0x7a, 0x3e, 0x35, 0xa0, 0x9e, 0x1f, + 0xfa, 0x18, 0x35, 0x80, 0xfa, 0xb5, 0xac, 0x13, 0x86, 0x0d, 0xd3, 0xe5, 0xc1, 0x9d, 0x50, 0xc5, + 0x51, 0xbe, 0x0f, 0x27, 0x7a, 0x74, 0xbc, 0xad, 0xcd, 0x4f, 0x60, 0x6a, 0x93, 0x60, 0xaa, 0xed, + 0x3e, 0x70, 0x82, 0xea, 0xf4, 0x1f, 0x89, 0x51, 0x43, 0x63, 0xcd, 0x44, 0xf9, 0x4b, 0xdc, 0x88, + 0x99, 0xe0, 0x22, 0xae, 0x37, 0x24, 0xc3, 0x94, 0x89, 0x19, 0x71, 0x59, 0xb3, 0xe5, 0xf1, 0x9e, + 0x15, 0x58, 0x5b, 0x0e, 0x88, 0x37, 0xbc, 0x3b, 0xc4, 0x93, 0xbf, 0x19, 0x83, 0xb9, 0x40, 0x85, + 0x50, 0xef, 0xbe, 0xa3, 0x8e, 0xb7, 0xd2, 0xd3, 0xa2, 0xc6, 0x32, 0x0b, 0x27, 0x36, 0xb6, 0xa7, + 0x07, 0xf5, 0xd4, 0x45, 0xae, 0xaf, 0x2e, 0x92, 0xad, 0x34, 0xdf, 0xdb, 0x4a, 0x57, 0xa1, 0x68, + 0x07, 0x81, 0xe2, 0x49, 0x55, 0xae, 0x2f, 0x65, 0x84, 0xb9, 0x27, 0xa0, 0xaa, 0x60, 0xf0, 0xbb, + 0x10, 0xb3, 0xf7, 0x88, 0xc5, 0x9b, 0x5c, 0x49, 0x0d, 0x0e, 0x3e, 0xd5, 0x34, 0x3a, 0x06, 0xab, + 0x14, 0x97, 0xa4, 0xe5, 0x71, 0x35, 0x38, 0xc8, 0x4f, 0x61, 0x3e, 0x15, 0xb3, 0xf0, 0xa9, 0x57, + 0xa0, 0x14, 0x6d, 0x12, 0x15, 0x89, 0xf7, 0xe5, 0xa1, 0x6f, 0x1d, 0xa3, 0x63, 0x0b, 0xc6, 0x12, + 0x16, 0xc8, 0x3f, 0x4a, 0xb0, 0xf0, 0x4f, 0xc3, 0xd2, 0x6f, 0x78, 0xc9, 0x76, 0x26, 0xde, 0xe8, + 0x26, 0x14, 0xfd, 0x2e, 0x18, 0xcf, 0xda, 0xa3, 0xf4, 0xc0, 0x82, 0xcf, 0xda, 0xd0, 0xd1, 0x16, + 0x94, 0x74, 0x83, 0x12, 0x8d, 0x57, 0xbc, 0xaf, 0x7c, 0xba, 0x7e, 0x35, 0xc3, 0xe6, 0x81, 0x56, + 0xd4, 0xd6, 0x05, 0xb7, 0x1a, 0x0b, 0x92, 0xcf, 0x41, 0x29, 0xa2, 0x23, 0x80, 0x42, 0xe3, 0xfe, + 0xc6, 0xa3, 0xad, 0xcd, 0x99, 0x63, 0xa8, 0x0c, 0xc5, 0x07, 0x8f, 0xb6, 0xf8, 0x41, 0x92, 0x5f, + 0xc2, 0xd4, 0x9a, 0xae, 0x6f, 0xe1, 0xb6, 0xf0, 0xe8, 0x6d, 0x36, 0x88, 0xcc, 0x49, 0xe2, 0x67, + 0x93, 0xbd, 0x4f, 0xe8, 0x01, 0x35, 0x18, 0xe1, 0xd9, 0x34, 0xa1, 0xc6, 0x04, 0x79, 0x06, 0xa6, + 0x85, 0x01, 0xc1, 0x13, 0xca, 0x2d, 0x38, 0x19, 0xf4, 0x9e, 0x2d, 0x6a, 0xb4, 0xdb, 0x84, 0x0a, + 0xcb, 0xfe, 0x05, 0x27, 0x58, 0x40, 0x69, 0x26, 0x16, 0xb8, 0x74, 0x59, 0xf0, 0x1d, 0xaf, 0x76, + 0x97, 0x43, 0x36, 0x4c, 0x6c, 0xa9, 0xb3, 0x21, 0x5b, 0x4c, 0x92, 0xe7, 0xc5, 0x9a, 0x11, 0xe9, + 0x08, 0x95, 0x6f, 0x41, 0x65, 0x9d, 0x60, 0x8d, 0x19, 0xfb, 0x69, 0x03, 0xae, 0x01, 0x08, 0x03, + 0x06, 0x46, 0x26, 0xf1, 0xbc, 0xa5, 0x10, 0xdc, 0xd0, 0xe5, 0x45, 0x58, 0xc8, 0x90, 0x1a, 0xaa, + 0x7c, 0x4f, 0x82, 0x19, 0x11, 0xd0, 0x0d, 0x6a, 0xeb, 0x5d, 0x8d, 0x50, 0x74, 0x15, 0x4a, 0xbe, + 0x20, 0xe6, 0x8d, 0xa4, 0x6a, 0x22, 0xc0, 0x36, 0x74, 0xf4, 0x57, 0x28, 0xda, 0x5d, 0xe6, 0x74, + 0x99, 0x3b, 0x60, 0xf0, 0xfc, 0x1b, 0x53, 0x03, 0xb7, 0x4c, 0x72, 0x0f, 0x3b, 0xaa, 0x80, 0xca, + 0xff, 0x83, 0x79, 0x95, 0xb4, 0x0d, 0x97, 0x11, 0x2a, 0x2c, 0x10, 0x4e, 0xaf, 0xf9, 0xbd, 0x20, + 0x20, 0x89, 0x82, 0x3a, 0x3b, 0xa4, 0xa0, 0x22, 0xf6, 0x98, 0x4b, 0x7e, 0x19, 0xfb, 0x77, 0xd3, + 0xb6, 0xdc, 0x6e, 0xe7, 0x2d, 0xfc, 0xbb, 0x02, 0x05, 0xc3, 0x4a, 0xb8, 0xb7, 0x98, 0xee, 0x68, + 0xb8, 0x43, 0x18, 0xa1, 0xbe, 0x7f, 0x21, 0x34, 0xe9, 0x9e, 0x30, 0x20, 0xe1, 0x9e, 0x16, 0x92, + 0x46, 0x71, 0x2f, 0x62, 0x8f, 0xb9, 0x64, 0x04, 0x33, 0x42, 0x7a, 0xf4, 0xa6, 0x9f, 0x49, 0x30, + 0x17, 0x97, 0x3c, 0xb7, 0x42, 0x68, 0xbc, 0x07, 0x93, 0xd1, 0xe2, 0xf4, 0x66, 0x7d, 0xa3, 0x4c, + 0x62, 0x22, 0xba, 0x9c, 0x08, 0x48, 0x6e, 0x78, 0xa9, 0x8a, 0x70, 0x2c, 0xc0, 0x7c, 0xca, 0xb6, + 0xc0, 0xee, 0xfa, 0xeb, 0xe9, 0xf8, 0xad, 0x02, 0xa7, 0xa8, 0x87, 0xda, 0x30, 0xdd, 0xbb, 0x0c, + 0xa0, 0xe5, 0x51, 0x57, 0xdd, 0xea, 0xf9, 0x11, 0x90, 0x61, 0xcc, 0x8e, 0xa1, 0x9f, 0xf3, 0x50, + 0x4e, 0xcc, 0x6f, 0xf4, 0xc7, 0x0c, 0xe6, 0xf4, 0x0e, 0x51, 0xfd, 0xd3, 0x61, 0xb0, 0x50, 0xc1, + 0x07, 0xf9, 0xf7, 0xbf, 0xff, 0xe9, 0xc3, 0xb1, 0x57, 0x79, 0xb4, 0x18, 0xff, 0xdc, 0xe4, 0x3f, + 0x19, 0xf7, 0x2f, 0xc7, 0x84, 0xed, 0x6f, 0x25, 0xf4, 0xb5, 0x34, 0x18, 0xa0, 0x18, 0xba, 0xf2, + 0x9c, 0x2f, 0x22, 0xb5, 0xe4, 0xaf, 0xb9, 0xe4, 0xa8, 0xf6, 0xd7, 0xaf, 0xa7, 0x44, 0x63, 0x2f, + 0x0e, 0x05, 0xea, 0x76, 0x07, 0x1b, 0xd6, 0xe1, 0x38, 0x0b, 0x77, 0x48, 0x26, 0x2a, 0x1c, 0xbd, + 0x2f, 0xb6, 0x3f, 0x91, 0xd0, 0x47, 0xbf, 0x49, 0xab, 0xb7, 0x3f, 0x97, 0xd0, 0xa7, 0xc3, 0x2c, + 0x63, 0xb8, 0x9d, 0x92, 0xc4, 0x70, 0x7b, 0x44, 0xdb, 0x52, 0xc8, 0x41, 0xc6, 0xa5, 0x80, 0xdc, + 0x3a, 0xf4, 0xf1, 0x18, 0x1c, 0xef, 0x5b, 0x26, 0xd0, 0xf9, 0x81, 0x6b, 0x4b, 0xff, 0x92, 0x56, + 0xbd, 0x30, 0x0a, 0x34, 0xcc, 0xbf, 0xaf, 0x24, 0x9e, 0x7f, 0x5f, 0x4a, 0xe8, 0x71, 0x3a, 0x1c, + 0x2e, 0x67, 0x52, 0x9e, 0x0f, 0xf0, 0x3a, 0xdb, 0xc5, 0x8c, 0x68, 0xdf, 0x46, 0xb7, 0xde, 0x89, + 0x70, 0xa4, 0xc3, 0x54, 0xcf, 0x88, 0x44, 0x7f, 0x1e, 0x58, 0xca, 0xbd, 0x73, 0xb2, 0xba, 0x7c, + 0x38, 0x30, 0x2a, 0xf9, 0x2f, 0x24, 0x98, 0x4d, 0x8d, 0x46, 0x74, 0x31, 0x43, 0xc2, 0xa0, 0xb1, + 0x5c, 0xbd, 0x34, 0x1a, 0x38, 0x54, 0xa9, 0xf0, 0x37, 0x38, 0x5f, 0x3f, 0x97, 0x8e, 0x52, 0x38, + 0xaf, 0x15, 0x3d, 0x62, 0x5e, 0x95, 0x2e, 0xa0, 0x07, 0x50, 0x08, 0x16, 0x14, 0x94, 0xb5, 0xcd, + 0xf6, 0x2c, 0x4f, 0xd5, 0x33, 0x43, 0x10, 0x91, 0xcb, 0x24, 0x9e, 0x17, 0xd1, 0xb8, 0xcf, 0x4a, + 0xa3, 0x01, 0x13, 0xb9, 0x7a, 0x76, 0x08, 0x36, 0x5b, 0x4d, 0x34, 0x75, 0x87, 0xa9, 0xe9, 0x9b, + 0x8c, 0xa3, 0xaa, 0xe9, 0x00, 0xda, 0x24, 0xac, 0x6f, 0x9e, 0x64, 0x56, 0x50, 0xf6, 0x3c, 0xcc, + 0xac, 0xa0, 0x01, 0xe3, 0x49, 0x3e, 0x86, 0x7e, 0x90, 0x00, 0xa5, 0x17, 0x61, 0x74, 0xe9, 0x28, + 0xfb, 0xf2, 0x91, 0x8a, 0x76, 0x97, 0xe7, 0x4b, 0x0b, 0x3d, 0x19, 0x58, 0x55, 0xd1, 0x34, 0x56, + 0x9e, 0x87, 0xbf, 0x05, 0x12, 0xa5, 0x25, 0x28, 0x51, 0xc9, 0x0a, 0x42, 0xd8, 0xd1, 0xa3, 0x7d, + 0xfd, 0xc5, 0x8d, 0x7f, 0x6c, 0xff, 0xbd, 0x6d, 0xb0, 0xdd, 0x6e, 0xab, 0xa6, 0xd9, 0x1d, 0x85, + 0x5b, 0x68, 0xd3, 0x76, 0xf0, 0xa1, 0x44, 0x7f, 0x03, 0xb6, 0x89, 0xa5, 0x38, 0xad, 0xbf, 0xb4, + 0x6d, 0x25, 0xf5, 0x1f, 0x6a, 0xab, 0xc0, 0x7f, 0xf6, 0x5f, 0xf9, 0x35, 0x00, 0x00, 0xff, 0xff, + 0x39, 0x44, 0x4a, 0xb7, 0x5f, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1373,7 +1374,7 @@ type ArtifactRegistryClient interface { GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) SearchArtifacts(ctx context.Context, in *SearchArtifactsRequest, opts ...grpc.CallOption) (*SearchArtifactsResponse, error) CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*CreateTriggerResponse, error) - DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) + DeactivateTrigger(ctx context.Context, in *DeactivateTriggerRequest, opts ...grpc.CallOption) (*DeactivateTriggerResponse, error) AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) RegisterProducer(ctx context.Context, in *RegisterProducerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) RegisterConsumer(ctx context.Context, in *RegisterConsumerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) @@ -1425,9 +1426,9 @@ func (c *artifactRegistryClient) CreateTrigger(ctx context.Context, in *CreateTr return out, nil } -func (c *artifactRegistryClient) DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) { - out := new(DeleteTriggerResponse) - err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", in, out, opts...) +func (c *artifactRegistryClient) DeactivateTrigger(ctx context.Context, in *DeactivateTriggerRequest, opts ...grpc.CallOption) (*DeactivateTriggerResponse, error) { + out := new(DeactivateTriggerResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger", in, out, opts...) if err != nil { return nil, err } @@ -1485,7 +1486,7 @@ type ArtifactRegistryServer interface { GetArtifact(context.Context, *GetArtifactRequest) (*GetArtifactResponse, error) SearchArtifacts(context.Context, *SearchArtifactsRequest) (*SearchArtifactsResponse, error) CreateTrigger(context.Context, *CreateTriggerRequest) (*CreateTriggerResponse, error) - DeleteTrigger(context.Context, *DeleteTriggerRequest) (*DeleteTriggerResponse, error) + DeactivateTrigger(context.Context, *DeactivateTriggerRequest) (*DeactivateTriggerResponse, error) AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) RegisterProducer(context.Context, *RegisterProducerRequest) (*RegisterResponse, error) RegisterConsumer(context.Context, *RegisterConsumerRequest) (*RegisterResponse, error) @@ -1509,8 +1510,8 @@ func (*UnimplementedArtifactRegistryServer) SearchArtifacts(ctx context.Context, func (*UnimplementedArtifactRegistryServer) CreateTrigger(ctx context.Context, req *CreateTriggerRequest) (*CreateTriggerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateTrigger not implemented") } -func (*UnimplementedArtifactRegistryServer) DeleteTrigger(ctx context.Context, req *DeleteTriggerRequest) (*DeleteTriggerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTrigger not implemented") +func (*UnimplementedArtifactRegistryServer) DeactivateTrigger(ctx context.Context, req *DeactivateTriggerRequest) (*DeactivateTriggerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeactivateTrigger not implemented") } func (*UnimplementedArtifactRegistryServer) AddTag(ctx context.Context, req *AddTagRequest) (*AddTagResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTag not implemented") @@ -1604,20 +1605,20 @@ func _ArtifactRegistry_CreateTrigger_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } -func _ArtifactRegistry_DeleteTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTriggerRequest) +func _ArtifactRegistry_DeactivateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeactivateTriggerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, in) + return srv.(ArtifactRegistryServer).DeactivateTrigger(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + FullMethod: "/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, req.(*DeleteTriggerRequest)) + return srv.(ArtifactRegistryServer).DeactivateTrigger(ctx, req.(*DeactivateTriggerRequest)) } return interceptor(ctx, in, info, handler) } @@ -1733,8 +1734,8 @@ var _ArtifactRegistry_serviceDesc = grpc.ServiceDesc{ Handler: _ArtifactRegistry_CreateTrigger_Handler, }, { - MethodName: "DeleteTrigger", - Handler: _ArtifactRegistry_DeleteTrigger_Handler, + MethodName: "DeactivateTrigger", + Handler: _ArtifactRegistry_DeactivateTrigger_Handler, }, { MethodName: "AddTag", diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go index b6e603f774..664d0c4869 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go @@ -348,6 +348,23 @@ func request_ArtifactRegistry_SearchArtifacts_1(ctx context.Context, marshaler r } +func request_ArtifactRegistry_DeactivateTrigger_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DeactivateTriggerRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.DeactivateTrigger(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + var ( filter_ArtifactRegistry_FindByWorkflowExec_0 = &utilities.DoubleArray{Encoding: map[string]int{"exec_id": 0, "project": 1, "domain": 2, "name": 3, "direction": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 1, 3, 4, 5, 6}} ) @@ -580,6 +597,26 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser }) + mux.Handle("PATCH", pattern_ArtifactRegistry_DeactivateTrigger_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ArtifactRegistry_DeactivateTrigger_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_DeactivateTrigger_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_ArtifactRegistry_FindByWorkflowExec_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -604,19 +641,21 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser } var ( - pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 0}, []string{"artifacts", "api", "v1", "data"}, "")) + pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 0}, []string{"artifacts", "api", "v1"}, "")) + + pattern_ArtifactRegistry_GetArtifact_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) - pattern_ArtifactRegistry_GetArtifact_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9}, []string{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) + pattern_ArtifactRegistry_GetArtifact_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"artifacts", "api", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) - pattern_ArtifactRegistry_GetArtifact_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) + pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"artifacts", "api", "v1", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) - pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) + pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"artifacts", "api", "v1", "search", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) - pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "query", "s", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) + pattern_ArtifactRegistry_SearchArtifacts_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"artifacts", "api", "v1", "search", "artifact_key.project", "artifact_key.domain"}, "")) - pattern_ArtifactRegistry_SearchArtifacts_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"artifacts", "api", "v1", "data", "query", "artifact_key.project", "artifact_key.domain"}, "")) + pattern_ArtifactRegistry_DeactivateTrigger_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"artifacts", "api", "v1", "trigger", "deactivate"}, "")) - pattern_ArtifactRegistry_FindByWorkflowExec_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9}, []string{"artifacts", "api", "v1", "data", "query", "e", "exec_id.project", "exec_id.domain", "exec_id.name", "direction"}, "")) + pattern_ArtifactRegistry_FindByWorkflowExec_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "search", "execution", "exec_id.project", "exec_id.domain", "exec_id.name", "direction"}, "")) ) var ( @@ -632,5 +671,7 @@ var ( forward_ArtifactRegistry_SearchArtifacts_1 = runtime.ForwardResponseMessage + forward_ArtifactRegistry_DeactivateTrigger_0 = runtime.ForwardResponseMessage + forward_ArtifactRegistry_FindByWorkflowExec_0 = runtime.ForwardResponseMessage ) diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json index 8617ff5fee..e6ea0b65d9 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -15,7 +15,7 @@ "application/json" ], "paths": { - "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { + "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { "get": { "operationId": "GetArtifact3", "responses": { @@ -124,7 +124,7 @@ ] } }, - "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { + "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { "get": { "operationId": "GetArtifact2", "responses": { @@ -233,7 +233,7 @@ ] } }, - "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { + "/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { "get": { "operationId": "GetArtifact4", "responses": { @@ -342,7 +342,7 @@ ] } }, - "/artifacts/api/v1/data/artifacts": { + "/artifacts/api/v1/artifacts": { "get": { "operationId": "GetArtifact", "responses": { @@ -470,7 +470,7 @@ ] } }, - "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}": { + "/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}": { "get": { "operationId": "FindByWorkflowExec", "responses": { @@ -519,9 +519,9 @@ ] } }, - "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { + "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}": { "get": { - "operationId": "SearchArtifacts", + "operationId": "SearchArtifacts2", "responses": { "200": { "description": "A successful response.", @@ -546,8 +546,8 @@ }, { "name": "artifact_key.name", - "in": "path", - "required": true, + "in": "query", + "required": false, "type": "string" }, { @@ -597,9 +597,9 @@ ] } }, - "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}": { + "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { "get": { - "operationId": "SearchArtifacts2", + "operationId": "SearchArtifacts", "responses": { "200": { "description": "A successful response.", @@ -624,8 +624,8 @@ }, { "name": "artifact_key.name", - "in": "query", - "required": false, + "in": "path", + "required": true, "type": "string" }, { @@ -674,6 +674,32 @@ "ArtifactRegistry" ] } + }, + "/artifacts/api/v1/trigger/deactivate": { + "patch": { + "operationId": "DeactivateTrigger", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactDeactivateTriggerResponse" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/artifactDeactivateTriggerRequest" + } + } + ], + "tags": [ + "ArtifactRegistry" + ] + } } }, "definitions": { @@ -1190,7 +1216,15 @@ "artifactCreateTriggerResponse": { "type": "object" }, - "artifactDeleteTriggerResponse": { + "artifactDeactivateTriggerRequest": { + "type": "object", + "properties": { + "trigger_id": { + "$ref": "#/definitions/coreIdentifier" + } + } + }, + "artifactDeactivateTriggerResponse": { "type": "object" }, "artifactExecutionInputsResponse": { diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go index b692594368..dd2cf39d08 100644 --- a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go @@ -26,18 +26,16 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // information that downstream consumers may find useful. type CloudEventWorkflowExecution struct { RawEvent *WorkflowExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` - OutputData *core.LiteralMap `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` - OutputInterface *core.TypedInterface `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` - InputData *core.LiteralMap `protobuf:"bytes,4,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + OutputInterface *core.TypedInterface `protobuf:"bytes,2,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - ArtifactIds []*core.ArtifactID `protobuf:"bytes,5,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` - ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,6,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` - Principal string `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"` + ArtifactIds []*core.ArtifactID `protobuf:"bytes,3,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,4,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` + Principal string `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"` // The ID of the LP that generated the execution that generated the Artifact. // Here for provenance information. // Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - LaunchPlanId *core.Identifier `protobuf:"bytes,8,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` + LaunchPlanId *core.Identifier `protobuf:"bytes,6,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -75,13 +73,6 @@ func (m *CloudEventWorkflowExecution) GetRawEvent() *WorkflowExecutionEvent { return nil } -func (m *CloudEventWorkflowExecution) GetOutputData() *core.LiteralMap { - if m != nil { - return m.OutputData - } - return nil -} - func (m *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface { if m != nil { return m.OutputInterface @@ -89,13 +80,6 @@ func (m *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface return nil } -func (m *CloudEventWorkflowExecution) GetInputData() *core.LiteralMap { - if m != nil { - return m.InputData - } - return nil -} - func (m *CloudEventWorkflowExecution) GetArtifactIds() []*core.ArtifactID { if m != nil { return m.ArtifactIds @@ -128,19 +112,16 @@ type CloudEventNodeExecution struct { RawEvent *NodeExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` // The relevant task execution if applicable TaskExecId *core.TaskExecutionIdentifier `protobuf:"bytes,2,opt,name=task_exec_id,json=taskExecId,proto3" json:"task_exec_id,omitempty"` - // Hydrated output - OutputData *core.LiteralMap `protobuf:"bytes,3,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` // The typed interface for the task that produced the event. - OutputInterface *core.TypedInterface `protobuf:"bytes,4,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` - InputData *core.LiteralMap `protobuf:"bytes,5,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + OutputInterface *core.TypedInterface `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - ArtifactIds []*core.ArtifactID `protobuf:"bytes,6,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` - Principal string `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"` + ArtifactIds []*core.ArtifactID `protobuf:"bytes,4,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + Principal string `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"` // The ID of the LP that generated the execution that generated the Artifact. // Here for provenance information. // Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - LaunchPlanId *core.Identifier `protobuf:"bytes,8,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` + LaunchPlanId *core.Identifier `protobuf:"bytes,6,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -185,13 +166,6 @@ func (m *CloudEventNodeExecution) GetTaskExecId() *core.TaskExecutionIdentifier return nil } -func (m *CloudEventNodeExecution) GetOutputData() *core.LiteralMap { - if m != nil { - return m.OutputData - } - return nil -} - func (m *CloudEventNodeExecution) GetOutputInterface() *core.TypedInterface { if m != nil { return m.OutputInterface @@ -199,13 +173,6 @@ func (m *CloudEventNodeExecution) GetOutputInterface() *core.TypedInterface { return nil } -func (m *CloudEventNodeExecution) GetInputData() *core.LiteralMap { - if m != nil { - return m.InputData - } - return nil -} - func (m *CloudEventNodeExecution) GetArtifactIds() []*core.ArtifactID { if m != nil { return m.ArtifactIds @@ -273,10 +240,10 @@ type CloudEventExecutionStart struct { // The launch plan used. LaunchPlanId *core.Identifier `protobuf:"bytes,2,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` WorkflowId *core.Identifier `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - // Artifact IDs found + // Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run. ArtifactIds []*core.ArtifactID `protobuf:"bytes,4,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` - // Artifact keys found. - ArtifactKeys []string `protobuf:"bytes,5,rep,name=artifact_keys,json=artifactKeys,proto3" json:"artifact_keys,omitempty"` + // Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service. + ArtifactTrackers []string `protobuf:"bytes,5,rep,name=artifact_trackers,json=artifactTrackers,proto3" json:"artifact_trackers,omitempty"` Principal string `protobuf:"bytes,6,opt,name=principal,proto3" json:"principal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -336,9 +303,9 @@ func (m *CloudEventExecutionStart) GetArtifactIds() []*core.ArtifactID { return nil } -func (m *CloudEventExecutionStart) GetArtifactKeys() []string { +func (m *CloudEventExecutionStart) GetArtifactTrackers() []string { if m != nil { - return m.ArtifactKeys + return m.ArtifactTrackers } return nil } @@ -360,43 +327,40 @@ func init() { func init() { proto.RegisterFile("flyteidl/event/cloudevents.proto", fileDescriptor_f8af3ecc827e5d5e) } var fileDescriptor_f8af3ecc827e5d5e = []byte{ - // 595 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x55, 0x3f, 0x56, 0x56, 0xb7, 0x0c, 0x14, 0x1e, 0x08, 0x65, 0x83, 0xaa, 0x48, 0x68, 0x42, - 0x22, 0x91, 0xe0, 0x05, 0xf1, 0xa1, 0x09, 0xb6, 0x49, 0x8b, 0x60, 0x08, 0x05, 0x24, 0xa4, 0xf1, - 0x10, 0xb9, 0xf1, 0x4d, 0x66, 0x35, 0x8d, 0x23, 0xc7, 0xa1, 0xf4, 0x91, 0xff, 0xc1, 0xff, 0xe3, - 0x6f, 0xa0, 0x38, 0x89, 0xd3, 0xb8, 0x95, 0x46, 0x35, 0x78, 0x99, 0x3c, 0xdf, 0x73, 0x8e, 0xaf, - 0xcf, 0x3d, 0xa9, 0xd1, 0x38, 0x88, 0x96, 0x02, 0x28, 0x89, 0x6c, 0xf8, 0x0e, 0xb1, 0xb0, 0xfd, - 0x88, 0x65, 0x44, 0x2e, 0x53, 0x2b, 0xe1, 0x4c, 0x30, 0x63, 0xaf, 0x42, 0x58, 0x72, 0x7b, 0x34, - 0xd2, 0x18, 0xf2, 0x6f, 0x81, 0x1d, 0xed, 0xab, 0x9a, 0xcf, 0x38, 0xd8, 0x11, 0x15, 0xc0, 0x71, - 0x54, 0x2a, 0x8d, 0x0e, 0x9a, 0x55, 0x1a, 0x0b, 0xe0, 0x01, 0xf6, 0xa1, 0x2c, 0x3f, 0x6c, 0x96, - 0x31, 0x17, 0x34, 0xc0, 0xbe, 0xf0, 0x28, 0x29, 0x01, 0x0f, 0x34, 0x3e, 0x81, 0x58, 0xd0, 0x80, - 0x02, 0xaf, 0x04, 0x42, 0xc6, 0xc2, 0x08, 0x6c, 0xf9, 0xdf, 0x34, 0x0b, 0x6c, 0x41, 0xe7, 0x90, - 0x0a, 0x3c, 0x4f, 0x0a, 0xc0, 0xe4, 0x57, 0x17, 0xdd, 0x3f, 0xce, 0x2f, 0x78, 0x9a, 0xf7, 0xfc, - 0x95, 0xf1, 0x59, 0x10, 0xb1, 0xc5, 0xe9, 0x0f, 0xf0, 0x33, 0x41, 0x59, 0x6c, 0x1c, 0xa3, 0x3e, - 0xc7, 0x0b, 0x4f, 0xde, 0xc8, 0x6c, 0x8d, 0x5b, 0x87, 0x83, 0x67, 0x8f, 0xad, 0xe6, 0xf5, 0xad, - 0x35, 0x96, 0xd4, 0x72, 0x77, 0x39, 0x5e, 0xc8, 0x95, 0xf1, 0x12, 0x0d, 0x58, 0x26, 0x92, 0x4c, - 0x78, 0x04, 0x0b, 0x6c, 0xb6, 0xa5, 0xcc, 0xbd, 0x5a, 0x26, 0xef, 0xdd, 0xfa, 0x50, 0x38, 0x73, - 0x8e, 0x13, 0x17, 0x15, 0xe8, 0x13, 0x2c, 0xb0, 0x71, 0x86, 0x6e, 0x97, 0x5c, 0x65, 0x8e, 0xd9, - 0x91, 0x02, 0x07, 0x9a, 0xc0, 0x97, 0x65, 0x02, 0xc4, 0xa9, 0x40, 0xee, 0xad, 0x82, 0xa6, 0x36, - 0x8c, 0x17, 0x08, 0xd1, 0x58, 0x35, 0xd1, 0xbd, 0xaa, 0x89, 0xbe, 0x04, 0xcb, 0x1e, 0x5e, 0xa3, - 0xe1, 0x8a, 0xf5, 0xa9, 0xb9, 0x33, 0xee, 0x6c, 0xe0, 0xbe, 0x2d, 0x21, 0xce, 0x89, 0x3b, 0xa8, - 0xe0, 0x0e, 0x49, 0x8d, 0x6f, 0xe8, 0x0e, 0x87, 0x00, 0x38, 0xc4, 0x3e, 0x78, 0x50, 0x79, 0x64, - 0xf6, 0x64, 0x03, 0x4f, 0x34, 0x91, 0x35, 0x2f, 0x1d, 0x35, 0x52, 0xd7, 0x50, 0x32, 0xf5, 0x7c, - 0xf6, 0x51, 0x3f, 0xe1, 0x34, 0xf6, 0x69, 0x82, 0x23, 0xf3, 0xc6, 0xb8, 0x75, 0xd8, 0x77, 0xeb, - 0x0d, 0xe3, 0x08, 0xed, 0x45, 0x38, 0x8b, 0xfd, 0x4b, 0x2f, 0x89, 0x70, 0xec, 0x51, 0x62, 0xee, - 0x6e, 0xbc, 0xf6, 0xca, 0x21, 0xc3, 0x82, 0xf0, 0x29, 0xc2, 0xb1, 0x43, 0x26, 0x3f, 0xbb, 0xe8, - 0x6e, 0x1d, 0x8f, 0x8f, 0x8c, 0xac, 0x1c, 0x7d, 0xb4, 0x1e, 0x8d, 0x89, 0x1e, 0x8d, 0x06, 0x43, - 0x8f, 0xc5, 0x19, 0x1a, 0x0a, 0x9c, 0xce, 0xa4, 0x27, 0x79, 0x6f, 0x6d, 0x3d, 0x5e, 0xc5, 0x58, - 0x71, 0x3a, 0xdb, 0xe4, 0x06, 0x12, 0x65, 0xc1, 0x21, 0x7a, 0xc0, 0x3a, 0xd7, 0x0d, 0x58, 0xf7, - 0x1f, 0x04, 0x6c, 0xe7, 0x1a, 0x01, 0xeb, 0x6d, 0x15, 0xb0, 0xff, 0x9c, 0x81, 0x8b, 0xd5, 0x08, - 0x34, 0xa6, 0xf1, 0x57, 0x11, 0x68, 0x30, 0xb4, 0x08, 0x4c, 0x7e, 0xb7, 0x91, 0x59, 0x8b, 0x2b, - 0xd8, 0x67, 0x81, 0xb9, 0x30, 0xce, 0xd1, 0x50, 0x7d, 0x2e, 0x79, 0xdf, 0xad, 0xad, 0xbf, 0x98, - 0x01, 0xd4, 0x9b, 0x1b, 0x8c, 0x68, 0x6f, 0x65, 0x44, 0x9e, 0xb2, 0x45, 0x79, 0x58, 0xce, 0xee, - 0x5c, 0xc5, 0x46, 0x15, 0xda, 0x21, 0x6b, 0x13, 0xee, 0x6e, 0x35, 0xe1, 0x47, 0xe8, 0xa6, 0x62, - 0xcf, 0x60, 0x59, 0xfc, 0x02, 0xf5, 0x5d, 0x25, 0xf9, 0x1e, 0x96, 0x5a, 0x0c, 0x7a, 0x5a, 0x0c, - 0xde, 0xbd, 0xb9, 0x78, 0x15, 0x52, 0x71, 0x99, 0x4d, 0x2d, 0x9f, 0xcd, 0x6d, 0x79, 0x2c, 0xe3, - 0x61, 0xb1, 0xb0, 0xd5, 0x2b, 0x12, 0x42, 0x6c, 0x27, 0xd3, 0xa7, 0x21, 0xb3, 0x9b, 0x4f, 0xda, - 0xb4, 0x27, 0x9f, 0x8b, 0xe7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0x62, 0x9e, 0x02, 0x1d, - 0x07, 0x00, 0x00, + // 552 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xdd, 0x8a, 0xd3, 0x40, + 0x14, 0xa6, 0xcd, 0x6e, 0xb1, 0xd3, 0xb2, 0xae, 0xf1, 0xc2, 0x58, 0x77, 0x35, 0xf4, 0x42, 0x8a, + 0x62, 0x02, 0xeb, 0x9d, 0x3f, 0x2c, 0xba, 0x2e, 0x98, 0x0b, 0x45, 0xe2, 0x82, 0xb0, 0x5e, 0x84, + 0x69, 0xe6, 0x24, 0x3b, 0x74, 0x3a, 0x13, 0x26, 0x13, 0xeb, 0x3e, 0x83, 0xef, 0xe1, 0xeb, 0xf9, + 0x0a, 0x92, 0xc9, 0x5f, 0x93, 0x16, 0xb4, 0xe8, 0xde, 0x84, 0xc9, 0x39, 0xdf, 0xf7, 0x9d, 0x9f, + 0x6f, 0x18, 0x64, 0x47, 0xec, 0x5a, 0x01, 0x25, 0xcc, 0x85, 0x6f, 0xc0, 0x95, 0x1b, 0x32, 0x91, + 0x11, 0x7d, 0x4c, 0x9d, 0x44, 0x0a, 0x25, 0xcc, 0x83, 0x0a, 0xe1, 0xe8, 0xf0, 0x64, 0xd2, 0x61, + 0xe8, 0x6f, 0x81, 0x9d, 0x1c, 0xd5, 0xb9, 0x50, 0x48, 0x70, 0x19, 0x55, 0x20, 0x31, 0x2b, 0x95, + 0x26, 0xc7, 0xed, 0x2c, 0xe5, 0x0a, 0x64, 0x84, 0x43, 0x28, 0xd3, 0x8f, 0xda, 0x69, 0x2c, 0x15, + 0x8d, 0x70, 0xa8, 0x02, 0x4a, 0x4a, 0xc0, 0xc3, 0x0e, 0x9f, 0x00, 0x57, 0x34, 0xa2, 0x20, 0x2b, + 0x81, 0x58, 0x88, 0x98, 0x81, 0xab, 0xff, 0xe6, 0x59, 0xe4, 0x2a, 0xba, 0x84, 0x54, 0xe1, 0x65, + 0x52, 0x00, 0xa6, 0x3f, 0x0d, 0xf4, 0xe0, 0x2c, 0x1f, 0xf0, 0x3c, 0xef, 0xf9, 0x8b, 0x90, 0x8b, + 0x88, 0x89, 0xd5, 0xf9, 0x77, 0x08, 0x33, 0x45, 0x05, 0x37, 0xcf, 0xd0, 0x50, 0xe2, 0x55, 0xa0, + 0x27, 0xb2, 0x7a, 0x76, 0x6f, 0x36, 0x3a, 0x79, 0xec, 0xb4, 0xc7, 0x77, 0x36, 0x58, 0x5a, 0xcb, + 0xbf, 0x25, 0xf1, 0x4a, 0x9f, 0xcc, 0xf7, 0xe8, 0x50, 0x64, 0x2a, 0xc9, 0x54, 0x50, 0x0f, 0x68, + 0xf5, 0xb5, 0xd6, 0x71, 0xa3, 0x95, 0x0f, 0xe0, 0x5c, 0x5c, 0x27, 0x40, 0xbc, 0x0a, 0xe4, 0xdf, + 0x2e, 0x68, 0x75, 0xc0, 0x7c, 0x85, 0xc6, 0x6b, 0x4b, 0x48, 0x2d, 0xc3, 0x36, 0x66, 0xa3, 0x93, + 0xfb, 0x1d, 0x95, 0x37, 0x25, 0xc4, 0x7b, 0xe7, 0x8f, 0x2a, 0xb8, 0x47, 0x52, 0xf3, 0x2b, 0xba, + 0x2b, 0x21, 0x02, 0x09, 0x3c, 0x84, 0x00, 0xaa, 0x6e, 0xad, 0x3d, 0xdd, 0xca, 0x93, 0x8e, 0xc8, + 0xc6, 0x54, 0x5e, 0xbd, 0x5c, 0xdf, 0xac, 0x65, 0x9a, 0x4d, 0x1d, 0xa1, 0x61, 0x22, 0x29, 0x0f, + 0x69, 0x82, 0x99, 0xb5, 0x6f, 0xf7, 0x66, 0x43, 0xbf, 0x09, 0x98, 0xa7, 0xe8, 0x80, 0xe1, 0x8c, + 0x87, 0x57, 0x41, 0xc2, 0x30, 0x0f, 0x28, 0xb1, 0x06, 0xba, 0x6a, 0xb7, 0xf5, 0xb5, 0x22, 0xe3, + 0x82, 0xf0, 0x89, 0x61, 0xee, 0x91, 0xe9, 0x0f, 0x03, 0xdd, 0x6b, 0x8c, 0xfa, 0x28, 0xc8, 0x5a, + 0xe9, 0xd3, 0x4d, 0x93, 0xa6, 0x5d, 0x93, 0x5a, 0x8c, 0x4d, 0x83, 0xc6, 0x0a, 0xa7, 0x0b, 0xbd, + 0x93, 0xbc, 0xb7, 0x7e, 0xd7, 0xe8, 0xc2, 0x1c, 0x9c, 0x2e, 0xb6, 0x6d, 0x03, 0xa9, 0x32, 0xe1, + 0x91, 0xad, 0x56, 0x1b, 0xff, 0xc5, 0xea, 0xbd, 0x9d, 0xac, 0xbe, 0x61, 0x37, 0x2e, 0xd7, 0xcd, + 0x68, 0xed, 0xe5, 0xaf, 0xcc, 0x68, 0x31, 0x3a, 0x66, 0x4c, 0x7f, 0xf5, 0x91, 0xd5, 0x88, 0xd7, + 0xb0, 0xcf, 0x0a, 0x4b, 0x65, 0x7e, 0x40, 0xe3, 0xfa, 0xe2, 0xe6, 0x7d, 0xf7, 0x76, 0xbe, 0xbb, + 0x23, 0x68, 0x82, 0x5b, 0x16, 0xd1, 0xdf, 0x69, 0x11, 0xe6, 0x0b, 0x34, 0x5a, 0x95, 0xc5, 0x72, + 0xb6, 0xf1, 0x27, 0x36, 0xaa, 0xd0, 0x1e, 0xf9, 0x47, 0x87, 0x9f, 0xa2, 0x3b, 0x35, 0x5b, 0x49, + 0x1c, 0x2e, 0x40, 0xa6, 0xd6, 0xbe, 0x6d, 0xcc, 0x86, 0xfe, 0x61, 0x95, 0xb8, 0x28, 0xe3, 0xed, + 0xeb, 0x30, 0xe8, 0x5c, 0x87, 0xb7, 0xaf, 0x2f, 0x5f, 0xc6, 0x54, 0x5d, 0x65, 0x73, 0x27, 0x14, + 0x4b, 0x57, 0x97, 0x17, 0x32, 0x2e, 0x0e, 0x6e, 0xfd, 0xc2, 0xc6, 0xc0, 0xdd, 0x64, 0xfe, 0x2c, + 0x16, 0x6e, 0xfb, 0xb9, 0x9f, 0x0f, 0xf4, 0x53, 0xfa, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, + 0xff, 0xef, 0x43, 0x56, 0x39, 0x06, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java index 9d3cbf73cb..861dc1f87b 100644 --- a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java +++ b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java @@ -13584,8 +13584,8 @@ public flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstanceForTy } - public interface DeleteTriggerRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerRequest) + public interface DeactivateTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeactivateTriggerRequest) com.google.protobuf.MessageOrBuilder { /** @@ -13602,18 +13602,18 @@ public interface DeleteTriggerRequestOrBuilder extends flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder(); } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerRequest} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerRequest} */ - public static final class DeleteTriggerRequest extends + public static final class DeactivateTriggerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerRequest) - DeleteTriggerRequestOrBuilder { + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeactivateTriggerRequest) + DeactivateTriggerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use DeleteTriggerRequest.newBuilder() to construct. - private DeleteTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeactivateTriggerRequest.newBuilder() to construct. + private DeactivateTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTriggerRequest() { + private DeactivateTriggerRequest() { } @java.lang.Override @@ -13621,7 +13621,7 @@ private DeleteTriggerRequest() { getUnknownFields() { return this.unknownFields; } - private DeleteTriggerRequest( + private DeactivateTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13674,15 +13674,15 @@ private DeleteTriggerRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerRequest.class, flyteidl.artifact.Artifacts.DeactivateTriggerRequest.Builder.class); } public static final int TRIGGER_ID_FIELD_NUMBER = 1; @@ -13746,10 +13746,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof flyteidl.artifact.Artifacts.DeleteTriggerRequest)) { + if (!(obj instanceof flyteidl.artifact.Artifacts.DeactivateTriggerRequest)) { return super.equals(obj); } - flyteidl.artifact.Artifacts.DeleteTriggerRequest other = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) obj; + flyteidl.artifact.Artifacts.DeactivateTriggerRequest other = (flyteidl.artifact.Artifacts.DeactivateTriggerRequest) obj; if (hasTriggerId() != other.hasTriggerId()) return false; if (hasTriggerId()) { @@ -13776,69 +13776,69 @@ public int hashCode() { return hash; } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(byte[] data) + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13851,7 +13851,7 @@ public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerRequest prototype) { + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeactivateTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -13867,26 +13867,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerRequest} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerRequest) - flyteidl.artifact.Artifacts.DeleteTriggerRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeactivateTriggerRequest) + flyteidl.artifact.Artifacts.DeactivateTriggerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerRequest.class, flyteidl.artifact.Artifacts.DeactivateTriggerRequest.Builder.class); } - // Construct using flyteidl.artifact.Artifacts.DeleteTriggerRequest.newBuilder() + // Construct using flyteidl.artifact.Artifacts.DeactivateTriggerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -13916,17 +13916,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { - return flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance(); + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeactivateTriggerRequest.getDefaultInstance(); } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest build() { - flyteidl.artifact.Artifacts.DeleteTriggerRequest result = buildPartial(); + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest build() { + flyteidl.artifact.Artifacts.DeactivateTriggerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13934,8 +13934,8 @@ public flyteidl.artifact.Artifacts.DeleteTriggerRequest build() { } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest buildPartial() { - flyteidl.artifact.Artifacts.DeleteTriggerRequest result = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(this); + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest buildPartial() { + flyteidl.artifact.Artifacts.DeactivateTriggerRequest result = new flyteidl.artifact.Artifacts.DeactivateTriggerRequest(this); if (triggerIdBuilder_ == null) { result.triggerId_ = triggerId_; } else { @@ -13979,16 +13979,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.artifact.Artifacts.DeleteTriggerRequest) { - return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerRequest)other); + if (other instanceof flyteidl.artifact.Artifacts.DeactivateTriggerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.DeactivateTriggerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerRequest other) { - if (other == flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance()) return this; + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeactivateTriggerRequest other) { + if (other == flyteidl.artifact.Artifacts.DeactivateTriggerRequest.getDefaultInstance()) return this; if (other.hasTriggerId()) { mergeTriggerId(other.getTriggerId()); } @@ -14007,11 +14007,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - flyteidl.artifact.Artifacts.DeleteTriggerRequest parsedMessage = null; + flyteidl.artifact.Artifacts.DeactivateTriggerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (flyteidl.artifact.Artifacts.DeactivateTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14150,63 +14150,63 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeactivateTriggerRequest) } - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) - private static final flyteidl.artifact.Artifacts.DeleteTriggerRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerRequest) + private static final flyteidl.artifact.Artifacts.DeactivateTriggerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(); + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeactivateTriggerRequest(); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstance() { + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public DeleteTriggerRequest parsePartialFrom( + public DeactivateTriggerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTriggerRequest(input, extensionRegistry); + return new DeactivateTriggerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface DeleteTriggerResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerResponse) + public interface DeactivateTriggerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeactivateTriggerResponse) com.google.protobuf.MessageOrBuilder { } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerResponse} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerResponse} */ - public static final class DeleteTriggerResponse extends + public static final class DeactivateTriggerResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerResponse) - DeleteTriggerResponseOrBuilder { + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeactivateTriggerResponse) + DeactivateTriggerResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use DeleteTriggerResponse.newBuilder() to construct. - private DeleteTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeactivateTriggerResponse.newBuilder() to construct. + private DeactivateTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTriggerResponse() { + private DeactivateTriggerResponse() { } @java.lang.Override @@ -14214,7 +14214,7 @@ private DeleteTriggerResponse() { getUnknownFields() { return this.unknownFields; } - private DeleteTriggerResponse( + private DeactivateTriggerResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14253,15 +14253,15 @@ private DeleteTriggerResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerResponse.class, flyteidl.artifact.Artifacts.DeactivateTriggerResponse.Builder.class); } private byte memoizedIsInitialized = -1; @@ -14297,10 +14297,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof flyteidl.artifact.Artifacts.DeleteTriggerResponse)) { + if (!(obj instanceof flyteidl.artifact.Artifacts.DeactivateTriggerResponse)) { return super.equals(obj); } - flyteidl.artifact.Artifacts.DeleteTriggerResponse other = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) obj; + flyteidl.artifact.Artifacts.DeactivateTriggerResponse other = (flyteidl.artifact.Artifacts.DeactivateTriggerResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14318,69 +14318,69 @@ public int hashCode() { return hash; } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(byte[] data) + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14393,7 +14393,7 @@ public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerResponse prototype) { + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeactivateTriggerResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -14409,26 +14409,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerResponse} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerResponse) - flyteidl.artifact.Artifacts.DeleteTriggerResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeactivateTriggerResponse) + flyteidl.artifact.Artifacts.DeactivateTriggerResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerResponse.class, flyteidl.artifact.Artifacts.DeactivateTriggerResponse.Builder.class); } - // Construct using flyteidl.artifact.Artifacts.DeleteTriggerResponse.newBuilder() + // Construct using flyteidl.artifact.Artifacts.DeactivateTriggerResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -14452,17 +14452,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { - return flyteidl.artifact.Artifacts.DeleteTriggerResponse.getDefaultInstance(); + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeactivateTriggerResponse.getDefaultInstance(); } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse build() { - flyteidl.artifact.Artifacts.DeleteTriggerResponse result = buildPartial(); + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse build() { + flyteidl.artifact.Artifacts.DeactivateTriggerResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14470,8 +14470,8 @@ public flyteidl.artifact.Artifacts.DeleteTriggerResponse build() { } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse buildPartial() { - flyteidl.artifact.Artifacts.DeleteTriggerResponse result = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(this); + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse buildPartial() { + flyteidl.artifact.Artifacts.DeactivateTriggerResponse result = new flyteidl.artifact.Artifacts.DeactivateTriggerResponse(this); onBuilt(); return result; } @@ -14510,16 +14510,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.artifact.Artifacts.DeleteTriggerResponse) { - return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerResponse)other); + if (other instanceof flyteidl.artifact.Artifacts.DeactivateTriggerResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.DeactivateTriggerResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerResponse other) { - if (other == flyteidl.artifact.Artifacts.DeleteTriggerResponse.getDefaultInstance()) return this; + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeactivateTriggerResponse other) { + if (other == flyteidl.artifact.Artifacts.DeactivateTriggerResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -14535,11 +14535,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - flyteidl.artifact.Artifacts.DeleteTriggerResponse parsedMessage = null; + flyteidl.artifact.Artifacts.DeactivateTriggerResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) e.getUnfinishedMessage(); + parsedMessage = (flyteidl.artifact.Artifacts.DeactivateTriggerResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14561,41 +14561,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeactivateTriggerResponse) } - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerResponse) - private static final flyteidl.artifact.Artifacts.DeleteTriggerResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerResponse) + private static final flyteidl.artifact.Artifacts.DeactivateTriggerResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(); + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeactivateTriggerResponse(); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstance() { + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public DeleteTriggerResponse parsePartialFrom( + public DeactivateTriggerResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTriggerResponse(input, extensionRegistry); + return new DeactivateTriggerResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -19891,15 +19891,15 @@ public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceFor com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable; + internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable; + internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_artifact_ArtifactProducer_descriptor; private static final @@ -20000,73 +20000,74 @@ public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceFor "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" + "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" + "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" + - "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" + - "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" + - "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" + - "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" + - "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" + - "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" + - "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" + - "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" + - "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" + - "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" + - "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" + - "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" + - " \003(\0132#.flyteidl.artifact.ArtifactConsume" + - "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" + - "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" + - "l.core.WorkflowExecutionIdentifier\022)\n\006in" + - "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" + - "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" + - "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + - "act.CreateArtifactRequest\032).flyteidl.art" + - "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" + - "tifact\022%.flyteidl.artifact.GetArtifactRe" + - "quest\032&.flyteidl.artifact.GetArtifactRes" + - "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" + - "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" + - "tifact/id/{query.artifact_id.artifact_ke" + - "y.project}/{query.artifact_id.artifact_k" + - "ey.domain}/{query.artifact_id.artifact_k" + - "ey.name}/{query.artifact_id.version}Z\234\001\022" + - "\231\001/artifacts/api/v1/data/artifact/id/{qu" + - "ery.artifact_id.artifact_key.project}/{q" + - "uery.artifact_id.artifact_key.domain}/{q" + - "uery.artifact_id.artifact_key.name}Z\240\001\022\235" + - "\001/artifacts/api/v1/data/artifact/tag/{qu" + - "ery.artifact_tag.artifact_key.project}/{" + - "query.artifact_tag.artifact_key.domain}/" + - "{query.artifact_tag.artifact_key.name}\022\240" + - "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" + - "earchArtifactsRequest\032*.flyteidl.artifac" + - "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" + - "tifacts/api/v1/data/query/s/{artifact_ke" + - "y.project}/{artifact_key.domain}/{artifa" + - "ct_key.name}ZK\022I/artifacts/api/v1/data/q" + - "uery/{artifact_key.project}/{artifact_ke" + - "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" + - "tifact.CreateTriggerRequest\032(.flyteidl.a" + - "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" + - "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" + - "erRequest\032(.flyteidl.artifact.DeleteTrig" + - "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" + - "act.AddTagRequest\032!.flyteidl.artifact.Ad" + - "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" + - "teidl.artifact.RegisterProducerRequest\032#" + - ".flyteidl.artifact.RegisterResponse\"\000\022e\n" + - "\020RegisterConsumer\022*.flyteidl.artifact.Re" + - "gisterConsumerRequest\032#.flyteidl.artifac" + - "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" + - "ts\022).flyteidl.artifact.ExecutionInputsRe" + - "quest\032*.flyteidl.artifact.ExecutionInput" + - "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" + - "teidl.artifact.FindByWorkflowExecRequest" + - "\032*.flyteidl.artifact.SearchArtifactsResp" + - "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" + - "ry/e/{exec_id.project}/{exec_id.domain}/" + - "{exec_id.name}/{direction}B@Z>github.com" + - "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" + - "idl/artifactb\006proto3" + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"I\n" + + "\030DeactivateTriggerRequest\022-\n\ntrigger_id\030" + + "\001 \001(\0132\031.flyteidl.core.Identifier\"\033\n\031Deac" + + "tivateTriggerResponse\"m\n\020ArtifactProduce" + + "r\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.core.Ide" + + "ntifier\022+\n\007outputs\030\002 \001(\0132\032.flyteidl.core" + + ".VariableMap\"Q\n\027RegisterProducerRequest\022" + + "6\n\tproducers\030\001 \003(\0132#.flyteidl.artifact.A" + + "rtifactProducer\"m\n\020ArtifactConsumer\022,\n\te" + + "ntity_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + + "r\022+\n\006inputs\030\002 \001(\0132\033.flyteidl.core.Parame" + + "terMap\"Q\n\027RegisterConsumerRequest\0226\n\tcon" + + "sumers\030\001 \003(\0132#.flyteidl.artifact.Artifac" + + "tConsumer\"\022\n\020RegisterResponse\"\205\001\n\026Execut" + + "ionInputsRequest\022@\n\014execution_id\030\001 \001(\0132*" + + ".flyteidl.core.WorkflowExecutionIdentifi" + + "er\022)\n\006inputs\030\002 \003(\0132\031.flyteidl.core.Artif" + + "actID\"\031\n\027ExecutionInputsResponse2\371\016\n\020Art" + + "ifactRegistry\022g\n\016CreateArtifact\022(.flytei" + + "dl.artifact.CreateArtifactRequest\032).flyt" + + "eidl.artifact.CreateArtifactResponse\"\000\022\361" + + "\004\n\013GetArtifact\022%.flyteidl.artifact.GetAr" + + "tifactRequest\032&.flyteidl.artifact.GetArt" + + "ifactResponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/" + + "v1/artifactsZ\263\001\022\260\001/artifacts/api/v1/arti" + + "fact/id/{query.artifact_id.artifact_key." + + "project}/{query.artifact_id.artifact_key" + + ".domain}/{query.artifact_id.artifact_key" + + ".name}/{query.artifact_id.version}Z\227\001\022\224\001" + + "/artifacts/api/v1/artifact/id/{query.art" + + "ifact_id.artifact_key.project}/{query.ar" + + "tifact_id.artifact_key.domain}/{query.ar" + + "tifact_id.artifact_key.name}Z\233\001\022\230\001/artif" + + "acts/api/v1/artifact/tag/{query.artifact" + + "_tag.artifact_key.project}/{query.artifa" + + "ct_tag.artifact_key.domain}/{query.artif" + + "act_tag.artifact_key.name}\022\226\002\n\017SearchArt" + + "ifacts\022).flyteidl.artifact.SearchArtifac" + + "tsRequest\032*.flyteidl.artifact.SearchArti" + + "factsResponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/" + + "v1/search/{artifact_key.project}/{artifa" + + "ct_key.domain}/{artifact_key.name}ZG\022E/a" + + "rtifacts/api/v1/search/{artifact_key.pro" + + "ject}/{artifact_key.domain}\022d\n\rCreateTri" + + "gger\022\'.flyteidl.artifact.CreateTriggerRe" + + "quest\032(.flyteidl.artifact.CreateTriggerR" + + "esponse\"\000\022\237\001\n\021DeactivateTrigger\022+.flytei" + + "dl.artifact.DeactivateTriggerRequest\032,.f" + + "lyteidl.artifact.DeactivateTriggerRespon" + + "se\"/\202\323\344\223\002)2$/artifacts/api/v1/trigger/de" + + "activate:\001*\022O\n\006AddTag\022 .flyteidl.artifac" + + "t.AddTagRequest\032!.flyteidl.artifact.AddT" + + "agResponse\"\000\022e\n\020RegisterProducer\022*.flyte" + + "idl.artifact.RegisterProducerRequest\032#.f" + + "lyteidl.artifact.RegisterResponse\"\000\022e\n\020R" + + "egisterConsumer\022*.flyteidl.artifact.Regi" + + "sterConsumerRequest\032#.flyteidl.artifact." + + "RegisterResponse\"\000\022m\n\022SetExecutionInputs" + + "\022).flyteidl.artifact.ExecutionInputsRequ" + + "est\032*.flyteidl.artifact.ExecutionInputsR" + + "esponse\"\000\022\330\001\n\022FindByWorkflowExec\022,.flyte" + + "idl.artifact.FindByWorkflowExecRequest\032*" + + ".flyteidl.artifact.SearchArtifactsRespon" + + "se\"h\202\323\344\223\002b\022`/artifacts/api/v1/search/exe" + + "cution/{exec_id.project}/{exec_id.domain" + + "}/{exec_id.name}/{direction}B@Z>github.c" + + "om/flyteorg/flyte/flyteidl/gen/pb-go/fly" + + "teidl/artifactb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -20185,17 +20186,17 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor, new java.lang.String[] { }); - internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor = + internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor = getDescriptor().getMessageTypes().get(15); - internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable = new + internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor, + internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor, new java.lang.String[] { "TriggerId", }); - internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor = + internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor = getDescriptor().getMessageTypes().get(16); - internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable = new + internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor, + internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor, new java.lang.String[] { }); internal_static_flyteidl_artifact_ArtifactProducer_descriptor = getDescriptor().getMessageTypes().get(17); diff --git a/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java b/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java index 65bdf5ab1f..0a1bc8e73a 100644 --- a/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java +++ b/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java @@ -32,51 +32,25 @@ public interface CloudEventWorkflowExecutionOrBuilder extends flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder(); /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - boolean hasOutputData(); - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - flyteidl.core.Literals.LiteralMap getOutputData(); - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ boolean hasOutputInterface(); /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ flyteidl.core.Interface.TypedInterface getOutputInterface(); /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - boolean hasInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - flyteidl.core.Literals.LiteralMap getInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); - /** *
      * The following are ExecutionMetadata fields
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ java.util.List getArtifactIdsList(); @@ -86,7 +60,7 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); /** @@ -95,7 +69,7 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ int getArtifactIdsCount(); /** @@ -104,7 +78,7 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ java.util.List getArtifactIdsOrBuilderList(); @@ -114,30 +88,30 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index); /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ boolean hasReferenceExecution(); /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution(); /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder(); /** - * string principal = 7; + * string principal = 5; */ java.lang.String getPrincipal(); /** - * string principal = 7; + * string principal = 5; */ com.google.protobuf.ByteString getPrincipalBytes(); @@ -149,7 +123,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ boolean hasLaunchPlanId(); /** @@ -159,7 +133,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); /** @@ -169,7 +143,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); } @@ -233,19 +207,6 @@ private CloudEventWorkflowExecution( break; } case 18: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputData_ != null) { - subBuilder = outputData_.toBuilder(); - } - outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputData_); - outputData_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; if (outputInterface_ != null) { subBuilder = outputInterface_.toBuilder(); @@ -258,29 +219,16 @@ private CloudEventWorkflowExecution( break; } - case 34: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputData_ != null) { - subBuilder = inputData_.toBuilder(); - } - inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputData_); - inputData_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } artifactIds_.add( input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); break; } - case 50: { + case 34: { flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; if (referenceExecution_ != null) { subBuilder = referenceExecution_.toBuilder(); @@ -293,13 +241,13 @@ private CloudEventWorkflowExecution( break; } - case 58: { + case 42: { java.lang.String s = input.readStringRequireUtf8(); principal_ = s; break; } - case 66: { + case 50: { flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; if (launchPlanId_ != null) { subBuilder = launchPlanId_.toBuilder(); @@ -327,7 +275,7 @@ private CloudEventWorkflowExecution( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); } this.unknownFields = unknownFields.build(); @@ -369,70 +317,28 @@ public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder return getRawEvent(); } - public static final int OUTPUT_DATA_FIELD_NUMBER = 2; - private flyteidl.core.Literals.LiteralMap outputData_; - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public boolean hasOutputData() { - return outputData_ != null; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - return getOutputData(); - } - - public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 3; + public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 2; private flyteidl.core.Interface.TypedInterface outputInterface_; /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public boolean hasOutputInterface() { return outputInterface_ != null; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterface getOutputInterface() { return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { return getOutputInterface(); } - public static final int INPUT_DATA_FIELD_NUMBER = 4; - private flyteidl.core.Literals.LiteralMap inputData_; - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public boolean hasInputData() { - return inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - return getInputData(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 5; + public static final int ARTIFACT_IDS_FIELD_NUMBER = 3; private java.util.List artifactIds_; /** *
@@ -440,7 +346,7 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() {
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsList() { return artifactIds_; @@ -451,7 +357,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -463,7 +369,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public int getArtifactIdsCount() { return artifactIds_.size(); @@ -474,7 +380,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { return artifactIds_.get(index); @@ -485,38 +391,38 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index) { return artifactIds_.get(index); } - public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 6; + public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 4; private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public boolean hasReferenceExecution() { return referenceExecution_ != null; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { return getReferenceExecution(); } - public static final int PRINCIPAL_FIELD_NUMBER = 7; + public static final int PRINCIPAL_FIELD_NUMBER = 5; private volatile java.lang.Object principal_; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -531,7 +437,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -547,7 +453,7 @@ public java.lang.String getPrincipal() { } } - public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 8; + public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 6; private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; /** *
@@ -556,7 +462,7 @@ public java.lang.String getPrincipal() {
      * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
      * 
* - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanId_ != null; @@ -568,7 +474,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; @@ -580,7 +486,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { return getLaunchPlanId(); @@ -603,26 +509,20 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (rawEvent_ != null) { output.writeMessage(1, getRawEvent()); } - if (outputData_ != null) { - output.writeMessage(2, getOutputData()); - } if (outputInterface_ != null) { - output.writeMessage(3, getOutputInterface()); - } - if (inputData_ != null) { - output.writeMessage(4, getInputData()); + output.writeMessage(2, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(5, artifactIds_.get(i)); + output.writeMessage(3, artifactIds_.get(i)); } if (referenceExecution_ != null) { - output.writeMessage(6, getReferenceExecution()); + output.writeMessage(4, getReferenceExecution()); } if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, principal_); } if (launchPlanId_ != null) { - output.writeMessage(8, getLaunchPlanId()); + output.writeMessage(6, getLaunchPlanId()); } unknownFields.writeTo(output); } @@ -637,32 +537,24 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRawEvent()); } - if (outputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputData()); - } if (outputInterface_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOutputInterface()); - } - if (inputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInputData()); + .computeMessageSize(2, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, artifactIds_.get(i)); + .computeMessageSize(3, artifactIds_.get(i)); } if (referenceExecution_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getReferenceExecution()); + .computeMessageSize(4, getReferenceExecution()); } if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, principal_); } if (launchPlanId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLaunchPlanId()); + .computeMessageSize(6, getLaunchPlanId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -684,21 +576,11 @@ public boolean equals(final java.lang.Object obj) { if (!getRawEvent() .equals(other.getRawEvent())) return false; } - if (hasOutputData() != other.hasOutputData()) return false; - if (hasOutputData()) { - if (!getOutputData() - .equals(other.getOutputData())) return false; - } if (hasOutputInterface() != other.hasOutputInterface()) return false; if (hasOutputInterface()) { if (!getOutputInterface() .equals(other.getOutputInterface())) return false; } - if (hasInputData() != other.hasInputData()) return false; - if (hasInputData()) { - if (!getInputData() - .equals(other.getInputData())) return false; - } if (!getArtifactIdsList() .equals(other.getArtifactIdsList())) return false; if (hasReferenceExecution() != other.hasReferenceExecution()) return false; @@ -728,18 +610,10 @@ public int hashCode() { hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; hash = (53 * hash) + getRawEvent().hashCode(); } - if (hasOutputData()) { - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - } if (hasOutputInterface()) { hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; hash = (53 * hash) + getOutputInterface().hashCode(); } - if (hasInputData()) { - hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getInputData().hashCode(); - } if (getArtifactIdsCount() > 0) { hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; hash = (53 * hash) + getArtifactIdsList().hashCode(); @@ -899,27 +773,15 @@ public Builder clear() { rawEvent_ = null; rawEventBuilder_ = null; } - if (outputDataBuilder_ == null) { - outputData_ = null; - } else { - outputData_ = null; - outputDataBuilder_ = null; - } if (outputInterfaceBuilder_ == null) { outputInterface_ = null; } else { outputInterface_ = null; outputInterfaceBuilder_ = null; } - if (inputDataBuilder_ == null) { - inputData_ = null; - } else { - inputData_ = null; - inputDataBuilder_ = null; - } if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { artifactIdsBuilder_.clear(); } @@ -970,25 +832,15 @@ public flyteidl.event.Cloudevents.CloudEventWorkflowExecution buildPartial() { } else { result.rawEvent_ = rawEventBuilder_.build(); } - if (outputDataBuilder_ == null) { - result.outputData_ = outputData_; - } else { - result.outputData_ = outputDataBuilder_.build(); - } if (outputInterfaceBuilder_ == null) { result.outputInterface_ = outputInterface_; } else { result.outputInterface_ = outputInterfaceBuilder_.build(); } - if (inputDataBuilder_ == null) { - result.inputData_ = inputData_; - } else { - result.inputData_ = inputDataBuilder_.build(); - } if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.artifactIds_ = artifactIds_; } else { @@ -1057,20 +909,14 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventWorkflowExecution if (other.hasRawEvent()) { mergeRawEvent(other.getRawEvent()); } - if (other.hasOutputData()) { - mergeOutputData(other.getOutputData()); - } if (other.hasOutputInterface()) { mergeOutputInterface(other.getOutputInterface()); } - if (other.hasInputData()) { - mergeInputData(other.getInputData()); - } if (artifactIdsBuilder_ == null) { if (!other.artifactIds_.isEmpty()) { if (artifactIds_.isEmpty()) { artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureArtifactIdsIsMutable(); artifactIds_.addAll(other.artifactIds_); @@ -1083,7 +929,7 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventWorkflowExecution artifactIdsBuilder_.dispose(); artifactIdsBuilder_ = null; artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); artifactIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArtifactIdsFieldBuilder() : null; @@ -1249,134 +1095,17 @@ public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder return rawEventBuilder_; } - private flyteidl.core.Literals.LiteralMap outputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public boolean hasOutputData() { - return outputDataBuilder_ != null || outputData_ != null; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } else { - return outputDataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputData_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputData_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputData_ != null) { - outputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); - } else { - outputData_ = value; - } - onChanged(); - } else { - outputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - outputData_ = null; - onChanged(); - } else { - outputData_ = null; - outputDataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - - onChanged(); - return getOutputDataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputDataBuilder_ != null) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - return outputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getOutputData(), - getParentForChildren(), - isClean()); - outputData_ = null; - } - return outputDataBuilder_; - } - private flyteidl.core.Interface.TypedInterface outputInterface_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> outputInterfaceBuilder_; /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public boolean hasOutputInterface() { return outputInterfaceBuilder_ != null || outputInterface_ != null; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterface getOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -1386,7 +1115,7 @@ public flyteidl.core.Interface.TypedInterface getOutputInterface() { } } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -1402,7 +1131,7 @@ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder setOutputInterface( flyteidl.core.Interface.TypedInterface.Builder builderForValue) { @@ -1416,7 +1145,7 @@ public Builder setOutputInterface( return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -1434,7 +1163,7 @@ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder clearOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -1448,7 +1177,7 @@ public Builder clearOutputInterface() { return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { @@ -1456,7 +1185,7 @@ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder( return getOutputInterfaceFieldBuilder().getBuilder(); } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { if (outputInterfaceBuilder_ != null) { @@ -1467,7 +1196,7 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild } } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> @@ -1483,129 +1212,12 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild return outputInterfaceBuilder_; } - private flyteidl.core.Literals.LiteralMap inputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public boolean hasInputData() { - return inputDataBuilder_ != null || inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputDataBuilder_ == null) { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } else { - return inputDataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputData_ = value; - onChanged(); - } else { - inputDataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder setInputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputDataBuilder_ == null) { - inputData_ = builderForValue.build(); - onChanged(); - } else { - inputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (inputData_ != null) { - inputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); - } else { - inputData_ = value; - } - onChanged(); - } else { - inputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder clearInputData() { - if (inputDataBuilder_ == null) { - inputData_ = null; - onChanged(); - } else { - inputData_ = null; - inputDataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { - - onChanged(); - return getInputDataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if (inputDataBuilder_ != null) { - return inputDataBuilder_.getMessageOrBuilder(); - } else { - return inputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputDataFieldBuilder() { - if (inputDataBuilder_ == null) { - inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputData(), - getParentForChildren(), - isClean()); - inputData_ = null; - } - return inputDataBuilder_; - } - private java.util.List artifactIds_ = java.util.Collections.emptyList(); private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000004; } } @@ -1618,7 +1230,7 @@ private void ensureArtifactIdsIsMutable() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsList() { if (artifactIdsBuilder_ == null) { @@ -1633,7 +1245,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public int getArtifactIdsCount() { if (artifactIdsBuilder_ == null) { @@ -1648,7 +1260,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -1663,7 +1275,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -1685,7 +1297,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -1704,7 +1316,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { if (artifactIdsBuilder_ == null) { @@ -1725,7 +1337,7 @@ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -1747,7 +1359,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds( flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -1766,7 +1378,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -1785,7 +1397,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addAllArtifactIds( java.lang.Iterable values) { @@ -1805,12 +1417,12 @@ public Builder addAllArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder clearArtifactIds() { if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { artifactIdsBuilder_.clear(); @@ -1823,7 +1435,7 @@ public Builder clearArtifactIds() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder removeArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -1841,7 +1453,7 @@ public Builder removeArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( int index) { @@ -1853,7 +1465,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index) { @@ -1868,7 +1480,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -1884,7 +1496,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { return getArtifactIdsFieldBuilder().addBuilder( @@ -1896,7 +1508,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( int index) { @@ -1909,7 +1521,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsBuilderList() { @@ -1922,7 +1534,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( artifactIds_, - ((bitField0_ & 0x00000010) != 0), + ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); artifactIds_ = null; @@ -1934,13 +1546,13 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> referenceExecutionBuilder_; /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public boolean hasReferenceExecution() { return referenceExecutionBuilder_ != null || referenceExecution_ != null; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { if (referenceExecutionBuilder_ == null) { @@ -1950,7 +1562,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferen } } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { if (referenceExecutionBuilder_ == null) { @@ -1966,7 +1578,7 @@ public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.Workflow return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder setReferenceExecution( flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { @@ -1980,7 +1592,7 @@ public Builder setReferenceExecution( return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { if (referenceExecutionBuilder_ == null) { @@ -1998,7 +1610,7 @@ public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.Workfl return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder clearReferenceExecution() { if (referenceExecutionBuilder_ == null) { @@ -2012,7 +1624,7 @@ public Builder clearReferenceExecution() { return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getReferenceExecutionBuilder() { @@ -2020,7 +1632,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder ge return getReferenceExecutionFieldBuilder().getBuilder(); } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { if (referenceExecutionBuilder_ != null) { @@ -2031,7 +1643,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder g } } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> @@ -2049,7 +1661,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder g private java.lang.Object principal_ = ""; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -2064,7 +1676,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -2080,7 +1692,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipal( java.lang.String value) { @@ -2093,7 +1705,7 @@ public Builder setPrincipal( return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder clearPrincipal() { @@ -2102,7 +1714,7 @@ public Builder clearPrincipal() { return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipalBytes( com.google.protobuf.ByteString value) { @@ -2126,7 +1738,7 @@ public Builder setPrincipalBytes( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanIdBuilder_ != null || launchPlanId_ != null; @@ -2138,7 +1750,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -2154,7 +1766,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -2176,7 +1788,7 @@ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier val * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId( flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { @@ -2196,7 +1808,7 @@ public Builder setLaunchPlanId( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -2220,7 +1832,7 @@ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier v * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder clearLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -2240,7 +1852,7 @@ public Builder clearLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { @@ -2254,7 +1866,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuil * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { if (launchPlanIdBuilder_ != null) { @@ -2271,7 +1883,7 @@ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrB * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> @@ -2381,37 +1993,12 @@ public interface CloudEventNodeExecutionOrBuilder extends */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecIdOrBuilder(); - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - boolean hasOutputData(); - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - /** *
      * The typed interface for the task that produced the event.
      * 
* - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ boolean hasOutputInterface(); /** @@ -2419,7 +2006,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ flyteidl.core.Interface.TypedInterface getOutputInterface(); /** @@ -2427,30 +2014,17 @@ public interface CloudEventNodeExecutionOrBuilder extends * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - boolean hasInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - flyteidl.core.Literals.LiteralMap getInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); - /** *
      * The following are ExecutionMetadata fields
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ java.util.List getArtifactIdsList(); @@ -2460,7 +2034,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); /** @@ -2469,7 +2043,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ int getArtifactIdsCount(); /** @@ -2478,7 +2052,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ java.util.List getArtifactIdsOrBuilderList(); @@ -2488,17 +2062,17 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index); /** - * string principal = 7; + * string principal = 5; */ java.lang.String getPrincipal(); /** - * string principal = 7; + * string principal = 5; */ com.google.protobuf.ByteString getPrincipalBytes(); @@ -2510,7 +2084,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ boolean hasLaunchPlanId(); /** @@ -2520,7 +2094,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); /** @@ -2530,7 +2104,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); } @@ -2602,19 +2176,6 @@ private CloudEventNodeExecution( break; } case 26: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputData_ != null) { - subBuilder = outputData_.toBuilder(); - } - outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputData_); - outputData_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; if (outputInterface_ != null) { subBuilder = outputInterface_.toBuilder(); @@ -2627,35 +2188,22 @@ private CloudEventNodeExecution( break; } - case 42: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputData_ != null) { - subBuilder = inputData_.toBuilder(); - } - inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputData_); - inputData_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000008; } artifactIds_.add( input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); break; } - case 58: { + case 42: { java.lang.String s = input.readStringRequireUtf8(); principal_ = s; break; } - case 66: { + case 50: { flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; if (launchPlanId_ != null) { subBuilder = launchPlanId_.toBuilder(); @@ -2683,7 +2231,7 @@ private CloudEventNodeExecution( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); } this.unknownFields = unknownFields.build(); @@ -2758,47 +2306,14 @@ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTa return getTaskExecId(); } - public static final int OUTPUT_DATA_FIELD_NUMBER = 3; - private flyteidl.core.Literals.LiteralMap outputData_; - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public boolean hasOutputData() { - return outputData_ != null; - } - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - return getOutputData(); - } - - public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 4; + public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 3; private flyteidl.core.Interface.TypedInterface outputInterface_; /** *
      * The typed interface for the task that produced the event.
      * 
* - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public boolean hasOutputInterface() { return outputInterface_ != null; @@ -2808,7 +2323,7 @@ public boolean hasOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterface getOutputInterface() { return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; @@ -2818,34 +2333,13 @@ public flyteidl.core.Interface.TypedInterface getOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { return getOutputInterface(); } - public static final int INPUT_DATA_FIELD_NUMBER = 5; - private flyteidl.core.Literals.LiteralMap inputData_; - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public boolean hasInputData() { - return inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - return getInputData(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 6; + public static final int ARTIFACT_IDS_FIELD_NUMBER = 4; private java.util.List artifactIds_; /** *
@@ -2853,7 +2347,7 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() {
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsList() { return artifactIds_; @@ -2864,7 +2358,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -2876,7 +2370,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public int getArtifactIdsCount() { return artifactIds_.size(); @@ -2887,7 +2381,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { return artifactIds_.get(index); @@ -2898,17 +2392,17 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index) { return artifactIds_.get(index); } - public static final int PRINCIPAL_FIELD_NUMBER = 7; + public static final int PRINCIPAL_FIELD_NUMBER = 5; private volatile java.lang.Object principal_; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -2923,7 +2417,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -2939,7 +2433,7 @@ public java.lang.String getPrincipal() { } } - public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 8; + public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 6; private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; /** *
@@ -2948,7 +2442,7 @@ public java.lang.String getPrincipal() {
      * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
      * 
* - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanId_ != null; @@ -2960,7 +2454,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; @@ -2972,7 +2466,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { return getLaunchPlanId(); @@ -2998,23 +2492,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (taskExecId_ != null) { output.writeMessage(2, getTaskExecId()); } - if (outputData_ != null) { - output.writeMessage(3, getOutputData()); - } if (outputInterface_ != null) { - output.writeMessage(4, getOutputInterface()); - } - if (inputData_ != null) { - output.writeMessage(5, getInputData()); + output.writeMessage(3, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(6, artifactIds_.get(i)); + output.writeMessage(4, artifactIds_.get(i)); } if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, principal_); } if (launchPlanId_ != null) { - output.writeMessage(8, getLaunchPlanId()); + output.writeMessage(6, getLaunchPlanId()); } unknownFields.writeTo(output); } @@ -3033,28 +2521,20 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTaskExecId()); } - if (outputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOutputData()); - } if (outputInterface_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getOutputInterface()); - } - if (inputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInputData()); + .computeMessageSize(3, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, artifactIds_.get(i)); + .computeMessageSize(4, artifactIds_.get(i)); } if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, principal_); } if (launchPlanId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLaunchPlanId()); + .computeMessageSize(6, getLaunchPlanId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3081,21 +2561,11 @@ public boolean equals(final java.lang.Object obj) { if (!getTaskExecId() .equals(other.getTaskExecId())) return false; } - if (hasOutputData() != other.hasOutputData()) return false; - if (hasOutputData()) { - if (!getOutputData() - .equals(other.getOutputData())) return false; - } if (hasOutputInterface() != other.hasOutputInterface()) return false; if (hasOutputInterface()) { if (!getOutputInterface() .equals(other.getOutputInterface())) return false; } - if (hasInputData() != other.hasInputData()) return false; - if (hasInputData()) { - if (!getInputData() - .equals(other.getInputData())) return false; - } if (!getArtifactIdsList() .equals(other.getArtifactIdsList())) return false; if (!getPrincipal() @@ -3124,18 +2594,10 @@ public int hashCode() { hash = (37 * hash) + TASK_EXEC_ID_FIELD_NUMBER; hash = (53 * hash) + getTaskExecId().hashCode(); } - if (hasOutputData()) { - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - } if (hasOutputInterface()) { hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; hash = (53 * hash) + getOutputInterface().hashCode(); } - if (hasInputData()) { - hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getInputData().hashCode(); - } if (getArtifactIdsCount() > 0) { hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; hash = (53 * hash) + getArtifactIdsList().hashCode(); @@ -3292,27 +2754,15 @@ public Builder clear() { taskExecId_ = null; taskExecIdBuilder_ = null; } - if (outputDataBuilder_ == null) { - outputData_ = null; - } else { - outputData_ = null; - outputDataBuilder_ = null; - } if (outputInterfaceBuilder_ == null) { outputInterface_ = null; } else { outputInterface_ = null; outputInterfaceBuilder_ = null; } - if (inputDataBuilder_ == null) { - inputData_ = null; - } else { - inputData_ = null; - inputDataBuilder_ = null; - } if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { artifactIdsBuilder_.clear(); } @@ -3362,25 +2812,15 @@ public flyteidl.event.Cloudevents.CloudEventNodeExecution buildPartial() { } else { result.taskExecId_ = taskExecIdBuilder_.build(); } - if (outputDataBuilder_ == null) { - result.outputData_ = outputData_; - } else { - result.outputData_ = outputDataBuilder_.build(); - } if (outputInterfaceBuilder_ == null) { result.outputInterface_ = outputInterface_; } else { result.outputInterface_ = outputInterfaceBuilder_.build(); } - if (inputDataBuilder_ == null) { - result.inputData_ = inputData_; - } else { - result.inputData_ = inputDataBuilder_.build(); - } if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } result.artifactIds_ = artifactIds_; } else { @@ -3447,20 +2887,14 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventNodeExecution othe if (other.hasTaskExecId()) { mergeTaskExecId(other.getTaskExecId()); } - if (other.hasOutputData()) { - mergeOutputData(other.getOutputData()); - } if (other.hasOutputInterface()) { mergeOutputInterface(other.getOutputInterface()); } - if (other.hasInputData()) { - mergeInputData(other.getInputData()); - } if (artifactIdsBuilder_ == null) { if (!other.artifactIds_.isEmpty()) { if (artifactIds_.isEmpty()) { artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureArtifactIdsIsMutable(); artifactIds_.addAll(other.artifactIds_); @@ -3473,7 +2907,7 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventNodeExecution othe artifactIdsBuilder_.dispose(); artifactIdsBuilder_ = null; artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); artifactIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArtifactIdsFieldBuilder() : null; @@ -3789,159 +3223,6 @@ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTa return taskExecIdBuilder_; } - private flyteidl.core.Literals.LiteralMap outputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public boolean hasOutputData() { - return outputDataBuilder_ != null || outputData_ != null; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } else { - return outputDataBuilder_.getMessage(); - } - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputData_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputData_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputData_ != null) { - outputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); - } else { - outputData_ = value; - } - onChanged(); - } else { - outputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - outputData_ = null; - onChanged(); - } else { - outputData_ = null; - outputDataBuilder_ = null; - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - - onChanged(); - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputDataBuilder_ != null) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - return outputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getOutputData(), - getParentForChildren(), - isClean()); - outputData_ = null; - } - return outputDataBuilder_; - } - private flyteidl.core.Interface.TypedInterface outputInterface_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> outputInterfaceBuilder_; @@ -3950,7 +3231,7 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public boolean hasOutputInterface() { return outputInterfaceBuilder_ != null || outputInterface_ != null; @@ -3960,7 +3241,7 @@ public boolean hasOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterface getOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -3974,7 +3255,7 @@ public flyteidl.core.Interface.TypedInterface getOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -3994,7 +3275,7 @@ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder setOutputInterface( flyteidl.core.Interface.TypedInterface.Builder builderForValue) { @@ -4012,7 +3293,7 @@ public Builder setOutputInterface( * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -4034,7 +3315,7 @@ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder clearOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -4052,7 +3333,7 @@ public Builder clearOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { @@ -4064,7 +3345,7 @@ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder( * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { if (outputInterfaceBuilder_ != null) { @@ -4079,7 +3360,7 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> @@ -4095,129 +3376,12 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild return outputInterfaceBuilder_; } - private flyteidl.core.Literals.LiteralMap inputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public boolean hasInputData() { - return inputDataBuilder_ != null || inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputDataBuilder_ == null) { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } else { - return inputDataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputData_ = value; - onChanged(); - } else { - inputDataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder setInputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputDataBuilder_ == null) { - inputData_ = builderForValue.build(); - onChanged(); - } else { - inputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (inputData_ != null) { - inputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); - } else { - inputData_ = value; - } - onChanged(); - } else { - inputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder clearInputData() { - if (inputDataBuilder_ == null) { - inputData_ = null; - onChanged(); - } else { - inputData_ = null; - inputDataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { - - onChanged(); - return getInputDataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if (inputDataBuilder_ != null) { - return inputDataBuilder_.getMessageOrBuilder(); - } else { - return inputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputDataFieldBuilder() { - if (inputDataBuilder_ == null) { - inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputData(), - getParentForChildren(), - isClean()); - inputData_ = null; - } - return inputDataBuilder_; - } - private java.util.List artifactIds_ = java.util.Collections.emptyList(); private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000008; } } @@ -4230,7 +3394,7 @@ private void ensureArtifactIdsIsMutable() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsList() { if (artifactIdsBuilder_ == null) { @@ -4245,7 +3409,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public int getArtifactIdsCount() { if (artifactIdsBuilder_ == null) { @@ -4260,7 +3424,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -4275,7 +3439,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -4297,7 +3461,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -4316,7 +3480,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { if (artifactIdsBuilder_ == null) { @@ -4337,7 +3501,7 @@ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -4359,7 +3523,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds( flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -4378,7 +3542,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -4397,7 +3561,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addAllArtifactIds( java.lang.Iterable values) { @@ -4417,12 +3581,12 @@ public Builder addAllArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder clearArtifactIds() { if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { artifactIdsBuilder_.clear(); @@ -4435,7 +3599,7 @@ public Builder clearArtifactIds() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder removeArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -4453,7 +3617,7 @@ public Builder removeArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( int index) { @@ -4465,7 +3629,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index) { @@ -4480,7 +3644,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -4496,7 +3660,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { return getArtifactIdsFieldBuilder().addBuilder( @@ -4508,7 +3672,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( int index) { @@ -4521,7 +3685,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsBuilderList() { @@ -4534,7 +3698,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( artifactIds_, - ((bitField0_ & 0x00000020) != 0), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); artifactIds_ = null; @@ -4544,7 +3708,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( private java.lang.Object principal_ = ""; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -4559,7 +3723,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -4575,7 +3739,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipal( java.lang.String value) { @@ -4588,7 +3752,7 @@ public Builder setPrincipal( return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder clearPrincipal() { @@ -4597,7 +3761,7 @@ public Builder clearPrincipal() { return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipalBytes( com.google.protobuf.ByteString value) { @@ -4621,7 +3785,7 @@ public Builder setPrincipalBytes( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanIdBuilder_ != null || launchPlanId_ != null; @@ -4633,7 +3797,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -4649,7 +3813,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -4671,7 +3835,7 @@ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier val * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId( flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { @@ -4691,7 +3855,7 @@ public Builder setLaunchPlanId( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -4715,7 +3879,7 @@ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier v * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder clearLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -4735,7 +3899,7 @@ public Builder clearLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { @@ -4749,7 +3913,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuil * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { if (launchPlanIdBuilder_ != null) { @@ -4766,7 +3930,7 @@ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrB * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> @@ -5509,7 +4673,7 @@ public interface CloudEventExecutionStartOrBuilder extends /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5518,7 +4682,7 @@ public interface CloudEventExecutionStartOrBuilder extends getArtifactIdsList(); /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5526,7 +4690,7 @@ public interface CloudEventExecutionStartOrBuilder extends flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5534,7 +4698,7 @@ public interface CloudEventExecutionStartOrBuilder extends int getArtifactIdsCount(); /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5543,7 +4707,7 @@ public interface CloudEventExecutionStartOrBuilder extends getArtifactIdsOrBuilderList(); /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5553,38 +4717,38 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ java.util.List - getArtifactKeysList(); + getArtifactTrackersList(); /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - int getArtifactKeysCount(); + int getArtifactTrackersCount(); /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - java.lang.String getArtifactKeys(int index); + java.lang.String getArtifactTrackers(int index); /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ com.google.protobuf.ByteString - getArtifactKeysBytes(int index); + getArtifactTrackersBytes(int index); /** * string principal = 6; @@ -5614,7 +4778,7 @@ private CloudEventExecutionStart(com.google.protobuf.GeneratedMessageV3.Builder< } private CloudEventExecutionStart() { artifactIds_ = java.util.Collections.emptyList(); - artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; principal_ = ""; } @@ -5693,10 +4857,10 @@ private CloudEventExecutionStart( case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = new com.google.protobuf.LazyStringArrayList(); + artifactTrackers_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } - artifactKeys_.add(s); + artifactTrackers_.add(s); break; } case 50: { @@ -5724,7 +4888,7 @@ private CloudEventExecutionStart( artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = artifactKeys_.getUnmodifiableView(); + artifactTrackers_ = artifactTrackers_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -5835,7 +4999,7 @@ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBui private java.util.List artifactIds_; /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5845,7 +5009,7 @@ public java.util.List getArtifactIdsList() } /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5856,7 +5020,7 @@ public java.util.List getArtifactIdsList() } /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5866,7 +5030,7 @@ public int getArtifactIdsCount() { } /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5876,7 +5040,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { } /** *
-     * Artifact IDs found
+     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
      * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -5886,49 +5050,49 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( return artifactIds_.get(index); } - public static final int ARTIFACT_KEYS_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList artifactKeys_; + public static final int ARTIFACT_TRACKERS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList artifactTrackers_; /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ProtocolStringList - getArtifactKeysList() { - return artifactKeys_; + getArtifactTrackersList() { + return artifactTrackers_; } /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public int getArtifactKeysCount() { - return artifactKeys_.size(); + public int getArtifactTrackersCount() { + return artifactTrackers_.size(); } /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public java.lang.String getArtifactKeys(int index) { - return artifactKeys_.get(index); + public java.lang.String getArtifactTrackers(int index) { + return artifactTrackers_.get(index); } /** *
-     * Artifact keys found.
+     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
      * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ByteString - getArtifactKeysBytes(int index) { - return artifactKeys_.getByteString(index); + getArtifactTrackersBytes(int index) { + return artifactTrackers_.getByteString(index); } public static final int PRINCIPAL_FIELD_NUMBER = 6; @@ -5991,8 +5155,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < artifactIds_.size(); i++) { output.writeMessage(4, artifactIds_.get(i)); } - for (int i = 0; i < artifactKeys_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, artifactKeys_.getRaw(i)); + for (int i = 0; i < artifactTrackers_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, artifactTrackers_.getRaw(i)); } if (!getPrincipalBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, principal_); @@ -6024,11 +5188,11 @@ public int getSerializedSize() { } { int dataSize = 0; - for (int i = 0; i < artifactKeys_.size(); i++) { - dataSize += computeStringSizeNoTag(artifactKeys_.getRaw(i)); + for (int i = 0; i < artifactTrackers_.size(); i++) { + dataSize += computeStringSizeNoTag(artifactTrackers_.getRaw(i)); } size += dataSize; - size += 1 * getArtifactKeysList().size(); + size += 1 * getArtifactTrackersList().size(); } if (!getPrincipalBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, principal_); @@ -6065,8 +5229,8 @@ public boolean equals(final java.lang.Object obj) { } if (!getArtifactIdsList() .equals(other.getArtifactIdsList())) return false; - if (!getArtifactKeysList() - .equals(other.getArtifactKeysList())) return false; + if (!getArtifactTrackersList() + .equals(other.getArtifactTrackersList())) return false; if (!getPrincipal() .equals(other.getPrincipal())) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -6096,9 +5260,9 @@ public int hashCode() { hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; hash = (53 * hash) + getArtifactIdsList().hashCode(); } - if (getArtifactKeysCount() > 0) { - hash = (37 * hash) + ARTIFACT_KEYS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactKeysList().hashCode(); + if (getArtifactTrackersCount() > 0) { + hash = (37 * hash) + ARTIFACT_TRACKERS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactTrackersList().hashCode(); } hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; hash = (53 * hash) + getPrincipal().hashCode(); @@ -6264,7 +5428,7 @@ public Builder clear() { } else { artifactIdsBuilder_.clear(); } - artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); principal_ = ""; @@ -6321,10 +5485,10 @@ public flyteidl.event.Cloudevents.CloudEventExecutionStart buildPartial() { result.artifactIds_ = artifactIdsBuilder_.build(); } if (((bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = artifactKeys_.getUnmodifiableView(); + artifactTrackers_ = artifactTrackers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } - result.artifactKeys_ = artifactKeys_; + result.artifactTrackers_ = artifactTrackers_; result.principal_ = principal_; result.bitField0_ = to_bitField0_; onBuilt(); @@ -6410,13 +5574,13 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventExecutionStart oth } } } - if (!other.artifactKeys_.isEmpty()) { - if (artifactKeys_.isEmpty()) { - artifactKeys_ = other.artifactKeys_; + if (!other.artifactTrackers_.isEmpty()) { + if (artifactTrackers_.isEmpty()) { + artifactTrackers_ = other.artifactTrackers_; bitField0_ = (bitField0_ & ~0x00000010); } else { - ensureArtifactKeysIsMutable(); - artifactKeys_.addAll(other.artifactKeys_); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.addAll(other.artifactTrackers_); } onChanged(); } @@ -6891,7 +6055,7 @@ private void ensureArtifactIdsIsMutable() { /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -6905,7 +6069,7 @@ public java.util.List getArtifactIdsList() } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -6919,7 +6083,7 @@ public int getArtifactIdsCount() { } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -6933,7 +6097,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -6954,7 +6118,7 @@ public Builder setArtifactIds( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -6972,7 +6136,7 @@ public Builder setArtifactIds( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -6992,7 +6156,7 @@ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7013,7 +6177,7 @@ public Builder addArtifactIds( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7031,7 +6195,7 @@ public Builder addArtifactIds( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7049,7 +6213,7 @@ public Builder addArtifactIds( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7068,7 +6232,7 @@ public Builder addAllArtifactIds( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7085,7 +6249,7 @@ public Builder clearArtifactIds() { } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7102,7 +6266,7 @@ public Builder removeArtifactIds(int index) { } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7113,7 +6277,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7127,7 +6291,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7142,7 +6306,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7153,7 +6317,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7165,7 +6329,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( } /** *
-       * Artifact IDs found
+       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
        * 
* * repeated .flyteidl.core.ArtifactID artifact_ids = 4; @@ -7189,132 +6353,132 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( return artifactIdsBuilder_; } - private com.google.protobuf.LazyStringList artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureArtifactKeysIsMutable() { + private com.google.protobuf.LazyStringList artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArtifactTrackersIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = new com.google.protobuf.LazyStringArrayList(artifactKeys_); + artifactTrackers_ = new com.google.protobuf.LazyStringArrayList(artifactTrackers_); bitField0_ |= 0x00000010; } } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ProtocolStringList - getArtifactKeysList() { - return artifactKeys_.getUnmodifiableView(); + getArtifactTrackersList() { + return artifactTrackers_.getUnmodifiableView(); } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public int getArtifactKeysCount() { - return artifactKeys_.size(); + public int getArtifactTrackersCount() { + return artifactTrackers_.size(); } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public java.lang.String getArtifactKeys(int index) { - return artifactKeys_.get(index); + public java.lang.String getArtifactTrackers(int index) { + return artifactTrackers_.get(index); } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ByteString - getArtifactKeysBytes(int index) { - return artifactKeys_.getByteString(index); + getArtifactTrackersBytes(int index) { + return artifactTrackers_.getByteString(index); } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder setArtifactKeys( + public Builder setArtifactTrackers( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureArtifactKeysIsMutable(); - artifactKeys_.set(index, value); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.set(index, value); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder addArtifactKeys( + public Builder addArtifactTrackers( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureArtifactKeysIsMutable(); - artifactKeys_.add(value); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.add(value); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder addAllArtifactKeys( + public Builder addAllArtifactTrackers( java.lang.Iterable values) { - ensureArtifactKeysIsMutable(); + ensureArtifactTrackersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifactKeys_); + values, artifactTrackers_); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder clearArtifactKeys() { - artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + public Builder clearArtifactTrackers() { + artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
        * 
* - * repeated string artifact_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder addArtifactKeysBytes( + public Builder addArtifactTrackersBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureArtifactKeysIsMutable(); - artifactKeys_.add(value); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.add(value); onChanged(); return this; } @@ -7474,40 +6638,35 @@ public flyteidl.event.Cloudevents.CloudEventExecutionStart getDefaultInstanceFor "flyteidl/core/literals.proto\032\035flyteidl/c" + "ore/interface.proto\032\037flyteidl/core/artif" + "act_id.proto\032\036flyteidl/core/identifier.p" + - "roto\032\037google/protobuf/timestamp.proto\"\260\003" + + "roto\032\037google/protobuf/timestamp.proto\"\321\002" + "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" + "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" + - "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + - ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + - "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + - "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + - "\022/\n\014artifact_ids\030\005 \003(\0132\031.flyteidl.core.A" + - "rtifactID\022G\n\023reference_execution\030\006 \001(\0132*" + - ".flyteidl.core.WorkflowExecutionIdentifi" + - "er\022\021\n\tprincipal\030\007 \001(\t\0221\n\016launch_plan_id\030" + - "\010 \001(\0132\031.flyteidl.core.Identifier\"\235\003\n\027Clo" + - "udEventNodeExecution\0225\n\traw_event\030\001 \001(\0132" + - "\".flyteidl.event.NodeExecutionEvent\022<\n\014t" + - "ask_exec_id\030\002 \001(\0132&.flyteidl.core.TaskEx" + - "ecutionIdentifier\022.\n\013output_data\030\003 \001(\0132\031" + - ".flyteidl.core.LiteralMap\0227\n\020output_inte" + - "rface\030\004 \001(\0132\035.flyteidl.core.TypedInterfa" + - "ce\022-\n\ninput_data\030\005 \001(\0132\031.flyteidl.core.L" + - "iteralMap\022/\n\014artifact_ids\030\006 \003(\0132\031.flytei" + - "dl.core.ArtifactID\022\021\n\tprincipal\030\007 \001(\t\0221\n" + - "\016launch_plan_id\030\010 \001(\0132\031.flyteidl.core.Id" + - "entifier\"P\n\027CloudEventTaskExecution\0225\n\tr" + - "aw_event\030\001 \001(\0132\".flyteidl.event.TaskExec" + - "utionEvent\"\232\002\n\030CloudEventExecutionStart\022" + - "@\n\014execution_id\030\001 \001(\0132*.flyteidl.core.Wo" + - "rkflowExecutionIdentifier\0221\n\016launch_plan" + - "_id\030\002 \001(\0132\031.flyteidl.core.Identifier\022.\n\013" + - "workflow_id\030\003 \001(\0132\031.flyteidl.core.Identi" + - "fier\022/\n\014artifact_ids\030\004 \003(\0132\031.flyteidl.co" + - "re.ArtifactID\022\025\n\rartifact_keys\030\005 \003(\t\022\021\n\t" + - "principal\030\006 \001(\tB=Z;github.com/flyteorg/f" + - "lyte/flyteidl/gen/pb-go/flyteidl/eventb\006" + - "proto3" + "ionEvent\0227\n\020output_interface\030\002 \001(\0132\035.fly" + + "teidl.core.TypedInterface\022/\n\014artifact_id" + + "s\030\003 \003(\0132\031.flyteidl.core.ArtifactID\022G\n\023re" + + "ference_execution\030\004 \001(\0132*.flyteidl.core." + + "WorkflowExecutionIdentifier\022\021\n\tprincipal" + + "\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flyteid" + + "l.core.Identifier\"\276\002\n\027CloudEventNodeExec" + + "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" + + "t.NodeExecutionEvent\022<\n\014task_exec_id\030\002 \001" + + "(\0132&.flyteidl.core.TaskExecutionIdentifi" + + "er\0227\n\020output_interface\030\003 \001(\0132\035.flyteidl." + + "core.TypedInterface\022/\n\014artifact_ids\030\004 \003(" + + "\0132\031.flyteidl.core.ArtifactID\022\021\n\tprincipa" + + "l\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flytei" + + "dl.core.Identifier\"P\n\027CloudEventTaskExec" + + "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" + + "t.TaskExecutionEvent\"\236\002\n\030CloudEventExecu" + + "tionStart\022@\n\014execution_id\030\001 \001(\0132*.flytei" + + "dl.core.WorkflowExecutionIdentifier\0221\n\016l" + + "aunch_plan_id\030\002 \001(\0132\031.flyteidl.core.Iden" + + "tifier\022.\n\013workflow_id\030\003 \001(\0132\031.flyteidl.c" + + "ore.Identifier\022/\n\014artifact_ids\030\004 \003(\0132\031.f" + + "lyteidl.core.ArtifactID\022\031\n\021artifact_trac" + + "kers\030\005 \003(\t\022\021\n\tprincipal\030\006 \001(\tB=Z;github." + + "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + + "yteidl/eventb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -7532,13 +6691,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor, - new java.lang.String[] { "RawEvent", "OutputData", "OutputInterface", "InputData", "ArtifactIds", "ReferenceExecution", "Principal", "LaunchPlanId", }); + new java.lang.String[] { "RawEvent", "OutputInterface", "ArtifactIds", "ReferenceExecution", "Principal", "LaunchPlanId", }); internal_static_flyteidl_event_CloudEventNodeExecution_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_event_CloudEventNodeExecution_descriptor, - new java.lang.String[] { "RawEvent", "TaskExecId", "OutputData", "OutputInterface", "InputData", "ArtifactIds", "Principal", "LaunchPlanId", }); + new java.lang.String[] { "RawEvent", "TaskExecId", "OutputInterface", "ArtifactIds", "Principal", "LaunchPlanId", }); internal_static_flyteidl_event_CloudEventTaskExecution_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable = new @@ -7550,7 +6709,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_event_CloudEventExecutionStart_descriptor, - new java.lang.String[] { "ExecutionId", "LaunchPlanId", "WorkflowId", "ArtifactIds", "ArtifactKeys", "Principal", }); + new java.lang.String[] { "ExecutionId", "LaunchPlanId", "WorkflowId", "ArtifactIds", "ArtifactTrackers", "Principal", }); flyteidl.event.Event.getDescriptor(); flyteidl.core.Literals.getDescriptor(); flyteidl.core.Interface.getDescriptor(); diff --git a/flyteidl/gen/pb-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index af564753d4..44c8f52a04 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -7420,15 +7420,9 @@ export namespace flyteidl { /** CloudEventWorkflowExecution rawEvent */ rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - /** CloudEventWorkflowExecution outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution outputInterface */ outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventWorkflowExecution inputData */ - inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution artifactIds */ artifactIds?: (flyteidl.core.IArtifactID[]|null); @@ -7454,15 +7448,9 @@ export namespace flyteidl { /** CloudEventWorkflowExecution rawEvent. */ public rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - /** CloudEventWorkflowExecution outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution outputInterface. */ public outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventWorkflowExecution inputData. */ - public inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution artifactIds. */ public artifactIds: flyteidl.core.IArtifactID[]; @@ -7517,15 +7505,9 @@ export namespace flyteidl { /** CloudEventNodeExecution taskExecId */ taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** CloudEventNodeExecution outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution outputInterface */ outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventNodeExecution inputData */ - inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution artifactIds */ artifactIds?: (flyteidl.core.IArtifactID[]|null); @@ -7551,15 +7533,9 @@ export namespace flyteidl { /** CloudEventNodeExecution taskExecId. */ public taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** CloudEventNodeExecution outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution outputInterface. */ public outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventNodeExecution inputData. */ - public inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution artifactIds. */ public artifactIds: flyteidl.core.IArtifactID[]; @@ -7669,8 +7645,8 @@ export namespace flyteidl { /** CloudEventExecutionStart artifactIds */ artifactIds?: (flyteidl.core.IArtifactID[]|null); - /** CloudEventExecutionStart artifactKeys */ - artifactKeys?: (string[]|null); + /** CloudEventExecutionStart artifactTrackers */ + artifactTrackers?: (string[]|null); /** CloudEventExecutionStart principal */ principal?: (string|null); @@ -7697,8 +7673,8 @@ export namespace flyteidl { /** CloudEventExecutionStart artifactIds. */ public artifactIds: flyteidl.core.IArtifactID[]; - /** CloudEventExecutionStart artifactKeys. */ - public artifactKeys: string[]; + /** CloudEventExecutionStart artifactTrackers. */ + public artifactTrackers: string[]; /** CloudEventExecutionStart principal. */ public principal: string; diff --git a/flyteidl/gen/pb-js/flyteidl.js b/flyteidl/gen/pb-js/flyteidl.js index 8375c630e7..3bd5e9bd3d 100644 --- a/flyteidl/gen/pb-js/flyteidl.js +++ b/flyteidl/gen/pb-js/flyteidl.js @@ -17947,9 +17947,7 @@ * @memberof flyteidl.event * @interface ICloudEventWorkflowExecution * @property {flyteidl.event.IWorkflowExecutionEvent|null} [rawEvent] CloudEventWorkflowExecution rawEvent - * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventWorkflowExecution outputData * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventWorkflowExecution outputInterface - * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventWorkflowExecution inputData * @property {Array.|null} [artifactIds] CloudEventWorkflowExecution artifactIds * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventWorkflowExecution referenceExecution * @property {string|null} [principal] CloudEventWorkflowExecution principal @@ -17980,14 +17978,6 @@ */ CloudEventWorkflowExecution.prototype.rawEvent = null; - /** - * CloudEventWorkflowExecution outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.CloudEventWorkflowExecution - * @instance - */ - CloudEventWorkflowExecution.prototype.outputData = null; - /** * CloudEventWorkflowExecution outputInterface. * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface @@ -17996,14 +17986,6 @@ */ CloudEventWorkflowExecution.prototype.outputInterface = null; - /** - * CloudEventWorkflowExecution inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.CloudEventWorkflowExecution - * @instance - */ - CloudEventWorkflowExecution.prototype.inputData = null; - /** * CloudEventWorkflowExecution artifactIds. * @member {Array.} artifactIds @@ -18062,21 +18044,17 @@ writer = $Writer.create(); if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) $root.flyteidl.event.WorkflowExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) - $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.inputData != null && message.hasOwnProperty("inputData")) - $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.artifactIds != null && message.artifactIds.length) for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.principal); + writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) - $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; @@ -18102,26 +18080,20 @@ message.rawEvent = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); break; case 2: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 3: message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); break; - case 4: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 5: + case 3: if (!(message.artifactIds && message.artifactIds.length)) message.artifactIds = []; message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; - case 6: + case 4: message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; - case 7: + case 5: message.principal = reader.string(); break; - case 8: + case 6: message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: @@ -18148,21 +18120,11 @@ if (error) return "rawEvent." + error; } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); if (error) return "outputInterface." + error; } - if (message.inputData != null && message.hasOwnProperty("inputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); - if (error) - return "inputData." + error; - } if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { if (!Array.isArray(message.artifactIds)) return "artifactIds: array expected"; @@ -18199,9 +18161,7 @@ * @interface ICloudEventNodeExecution * @property {flyteidl.event.INodeExecutionEvent|null} [rawEvent] CloudEventNodeExecution rawEvent * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecId] CloudEventNodeExecution taskExecId - * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventNodeExecution outputData * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventNodeExecution outputInterface - * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventNodeExecution inputData * @property {Array.|null} [artifactIds] CloudEventNodeExecution artifactIds * @property {string|null} [principal] CloudEventNodeExecution principal * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventNodeExecution launchPlanId @@ -18239,14 +18199,6 @@ */ CloudEventNodeExecution.prototype.taskExecId = null; - /** - * CloudEventNodeExecution outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.outputData = null; - /** * CloudEventNodeExecution outputInterface. * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface @@ -18255,14 +18207,6 @@ */ CloudEventNodeExecution.prototype.outputInterface = null; - /** - * CloudEventNodeExecution inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.inputData = null; - /** * CloudEventNodeExecution artifactIds. * @member {Array.} artifactIds @@ -18315,19 +18259,15 @@ $root.flyteidl.event.NodeExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) - $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.inputData != null && message.hasOwnProperty("inputData")) - $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.artifactIds != null && message.artifactIds.length) for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.principal); + writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) - $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; @@ -18356,23 +18296,17 @@ message.taskExecId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 3: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 4: message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); break; - case 5: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 6: + case 4: if (!(message.artifactIds && message.artifactIds.length)) message.artifactIds = []; message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; - case 7: + case 5: message.principal = reader.string(); break; - case 8: + case 6: message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: @@ -18404,21 +18338,11 @@ if (error) return "taskExecId." + error; } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); if (error) return "outputInterface." + error; } - if (message.inputData != null && message.hasOwnProperty("inputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); - if (error) - return "inputData." + error; - } if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { if (!Array.isArray(message.artifactIds)) return "artifactIds: array expected"; @@ -18564,7 +18488,7 @@ * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventExecutionStart launchPlanId * @property {flyteidl.core.IIdentifier|null} [workflowId] CloudEventExecutionStart workflowId * @property {Array.|null} [artifactIds] CloudEventExecutionStart artifactIds - * @property {Array.|null} [artifactKeys] CloudEventExecutionStart artifactKeys + * @property {Array.|null} [artifactTrackers] CloudEventExecutionStart artifactTrackers * @property {string|null} [principal] CloudEventExecutionStart principal */ @@ -18578,7 +18502,7 @@ */ function CloudEventExecutionStart(properties) { this.artifactIds = []; - this.artifactKeys = []; + this.artifactTrackers = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -18618,12 +18542,12 @@ CloudEventExecutionStart.prototype.artifactIds = $util.emptyArray; /** - * CloudEventExecutionStart artifactKeys. - * @member {Array.} artifactKeys + * CloudEventExecutionStart artifactTrackers. + * @member {Array.} artifactTrackers * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - CloudEventExecutionStart.prototype.artifactKeys = $util.emptyArray; + CloudEventExecutionStart.prototype.artifactTrackers = $util.emptyArray; /** * CloudEventExecutionStart principal. @@ -18666,9 +18590,9 @@ if (message.artifactIds != null && message.artifactIds.length) for (var i = 0; i < message.artifactIds.length; ++i) $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.artifactKeys != null && message.artifactKeys.length) - for (var i = 0; i < message.artifactKeys.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactKeys[i]); + if (message.artifactTrackers != null && message.artifactTrackers.length) + for (var i = 0; i < message.artifactTrackers.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactTrackers[i]); if (message.principal != null && message.hasOwnProperty("principal")) writer.uint32(/* id 6, wireType 2 =*/50).string(message.principal); return writer; @@ -18707,9 +18631,9 @@ message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; case 5: - if (!(message.artifactKeys && message.artifactKeys.length)) - message.artifactKeys = []; - message.artifactKeys.push(reader.string()); + if (!(message.artifactTrackers && message.artifactTrackers.length)) + message.artifactTrackers = []; + message.artifactTrackers.push(reader.string()); break; case 6: message.principal = reader.string(); @@ -18757,12 +18681,12 @@ return "artifactIds." + error; } } - if (message.artifactKeys != null && message.hasOwnProperty("artifactKeys")) { - if (!Array.isArray(message.artifactKeys)) - return "artifactKeys: array expected"; - for (var i = 0; i < message.artifactKeys.length; ++i) - if (!$util.isString(message.artifactKeys[i])) - return "artifactKeys: string[] expected"; + if (message.artifactTrackers != null && message.hasOwnProperty("artifactTrackers")) { + if (!Array.isArray(message.artifactTrackers)) + return "artifactTrackers: array expected"; + for (var i = 0; i < message.artifactTrackers.length; ++i) + if (!$util.isString(message.artifactTrackers[i])) + return "artifactTrackers: string[] expected"; } if (message.principal != null && message.hasOwnProperty("principal")) if (!$util.isString(message.principal)) diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py index 84e5a5344a..3cded1be54 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py @@ -22,7 +22,7 @@ from flyteidl.event import cloudevents_pb2 as flyteidl_dot_event_dot_cloudevents__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xd7\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\x85\x05\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\xa6\x04\x82\xd3\xe4\x93\x02\x9f\x04Z\xb8\x01\x12\xb5\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x9c\x01\x12\x99\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\xa0\x01\x12\x9d\x01/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12 /artifacts/api/v1/data/artifacts\x12\xa0\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xb5\x01\x82\xd3\xe4\x93\x02\xae\x01ZK\x12I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\x12_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd4\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"d\x82\xd3\xe4\x93\x02^\x12\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"T\n\x18\x44\x65\x61\x63tivateTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x1b\n\x19\x44\x65\x61\x63tivateTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xf9\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\xf1\x04\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\x92\x04\x82\xd3\xe4\x93\x02\x8b\x04Z\xb3\x01\x12\xb0\x01/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x97\x01\x12\x94\x01/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\x9b\x01\x12\x98\x01/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12\x1b/artifacts/api/v1/artifacts\x12\x96\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xab\x01\x82\xd3\xe4\x93\x02\xa4\x01ZG\x12\x45/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}\x12Y/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x9f\x01\n\x11\x44\x65\x61\x63tivateTrigger\x12+.flyteidl.artifact.DeactivateTriggerRequest\x1a,.flyteidl.artifact.DeactivateTriggerResponse\"/\x82\xd3\xe4\x93\x02):\x01*2$/artifacts/api/v1/trigger/deactivate\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd8\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"h\x82\xd3\xe4\x93\x02\x62\x12`/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,11 +34,13 @@ _CREATEARTIFACTREQUEST_PARTITIONSENTRY._options = None _CREATEARTIFACTREQUEST_PARTITIONSENTRY._serialized_options = b'8\001' _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._options = None - _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\237\004Z\270\001\022\265\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\234\001\022\231\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\240\001\022\235\001/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022 /artifacts/api/v1/data/artifacts' + _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\213\004Z\263\001\022\260\001/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\227\001\022\224\001/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\233\001\022\230\001/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022\033/artifacts/api/v1/artifacts' _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._options = None - _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\256\001ZK\022I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\022_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' + _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\244\001ZG\022E/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}\022Y/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' + _ARTIFACTREGISTRY.methods_by_name['DeactivateTrigger']._options = None + _ARTIFACTREGISTRY.methods_by_name['DeactivateTrigger']._serialized_options = b'\202\323\344\223\002):\001*2$/artifacts/api/v1/trigger/deactivate' _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._options = None - _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._serialized_options = b'\202\323\344\223\002^\022\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}' + _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._serialized_options = b'\202\323\344\223\002b\022`/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}' _globals['_ARTIFACT']._serialized_start=335 _globals['_ARTIFACT']._serialized_end=537 _globals['_CREATEARTIFACTREQUEST']._serialized_start=540 @@ -73,24 +75,24 @@ _globals['_CREATETRIGGERREQUEST']._serialized_end=2689 _globals['_CREATETRIGGERRESPONSE']._serialized_start=2691 _globals['_CREATETRIGGERRESPONSE']._serialized_end=2714 - _globals['_DELETETRIGGERREQUEST']._serialized_start=2716 - _globals['_DELETETRIGGERREQUEST']._serialized_end=2796 - _globals['_DELETETRIGGERRESPONSE']._serialized_start=2798 - _globals['_DELETETRIGGERRESPONSE']._serialized_end=2821 - _globals['_ARTIFACTPRODUCER']._serialized_start=2824 - _globals['_ARTIFACTPRODUCER']._serialized_end=2952 - _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2954 - _globals['_REGISTERPRODUCERREQUEST']._serialized_end=3046 - _globals['_ARTIFACTCONSUMER']._serialized_start=3048 - _globals['_ARTIFACTCONSUMER']._serialized_end=3175 - _globals['_REGISTERCONSUMERREQUEST']._serialized_start=3177 - _globals['_REGISTERCONSUMERREQUEST']._serialized_end=3269 - _globals['_REGISTERRESPONSE']._serialized_start=3271 - _globals['_REGISTERRESPONSE']._serialized_end=3289 - _globals['_EXECUTIONINPUTSREQUEST']._serialized_start=3292 - _globals['_EXECUTIONINPUTSREQUEST']._serialized_end=3446 - _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3448 - _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3473 - _globals['_ARTIFACTREGISTRY']._serialized_start=3476 - _globals['_ARTIFACTREGISTRY']._serialized_end=5355 + _globals['_DEACTIVATETRIGGERREQUEST']._serialized_start=2716 + _globals['_DEACTIVATETRIGGERREQUEST']._serialized_end=2800 + _globals['_DEACTIVATETRIGGERRESPONSE']._serialized_start=2802 + _globals['_DEACTIVATETRIGGERRESPONSE']._serialized_end=2829 + _globals['_ARTIFACTPRODUCER']._serialized_start=2832 + _globals['_ARTIFACTPRODUCER']._serialized_end=2960 + _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2962 + _globals['_REGISTERPRODUCERREQUEST']._serialized_end=3054 + _globals['_ARTIFACTCONSUMER']._serialized_start=3056 + _globals['_ARTIFACTCONSUMER']._serialized_end=3183 + _globals['_REGISTERCONSUMERREQUEST']._serialized_start=3185 + _globals['_REGISTERCONSUMERREQUEST']._serialized_end=3277 + _globals['_REGISTERRESPONSE']._serialized_start=3279 + _globals['_REGISTERRESPONSE']._serialized_end=3297 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_start=3300 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_end=3454 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3456 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3481 + _globals['_ARTIFACTREGISTRY']._serialized_start=3484 + _globals['_ARTIFACTREGISTRY']._serialized_end=5397 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi index 91c389b456..61c28f21d4 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi @@ -170,13 +170,13 @@ class CreateTriggerResponse(_message.Message): __slots__ = [] def __init__(self) -> None: ... -class DeleteTriggerRequest(_message.Message): +class DeactivateTriggerRequest(_message.Message): __slots__ = ["trigger_id"] TRIGGER_ID_FIELD_NUMBER: _ClassVar[int] trigger_id: _identifier_pb2.Identifier def __init__(self, trigger_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... -class DeleteTriggerResponse(_message.Message): +class DeactivateTriggerResponse(_message.Message): __slots__ = [] def __init__(self) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py index b989cdc000..95ddd8107e 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py @@ -34,10 +34,10 @@ def __init__(self, channel): request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.SerializeToString, response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.FromString, ) - self.DeleteTrigger = channel.unary_unary( - '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', - request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, - response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + self.DeactivateTrigger = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerResponse.FromString, ) self.AddTag = channel.unary_unary( '/flyteidl.artifact.ArtifactRegistry/AddTag', @@ -93,7 +93,7 @@ def CreateTrigger(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def DeleteTrigger(self, request, context): + def DeactivateTrigger(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -152,10 +152,10 @@ def add_ArtifactRegistryServicer_to_server(servicer, server): request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.FromString, response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.SerializeToString, ), - 'DeleteTrigger': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTrigger, - request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.FromString, - response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.SerializeToString, + 'DeactivateTrigger': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateTrigger, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerResponse.SerializeToString, ), 'AddTag': grpc.unary_unary_rpc_method_handler( servicer.AddTag, @@ -261,7 +261,7 @@ def CreateTrigger(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteTrigger(request, + def DeactivateTrigger(request, target, options=(), channel_credentials=None, @@ -271,9 +271,9 @@ def DeleteTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', - flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, - flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger', + flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py index b7035b32b5..7addfe281f 100644 --- a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py @@ -19,7 +19,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/event/cloudevents.proto\x12\x0e\x66lyteidl.event\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c\x04\n\x1b\x43loudEventWorkflowExecution\x12\x43\n\traw_event\x18\x01 \x01(\x0b\x32&.flyteidl.event.WorkflowExecutionEventR\x08rawEvent\x12:\n\x0boutput_data\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12<\n\x0c\x61rtifact_ids\x18\x05 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12[\n\x13reference_execution\x18\x06 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"\x81\x04\n\x17\x43loudEventNodeExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.NodeExecutionEventR\x08rawEvent\x12H\n\x0ctask_exec_id\x18\x02 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierR\ntaskExecId\x12:\n\x0boutput_data\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12<\n\x0c\x61rtifact_ids\x18\x06 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"Z\n\x17\x43loudEventTaskExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.TaskExecutionEventR\x08rawEvent\"\xe7\x02\n\x18\x43loudEventExecutionStart\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12?\n\x0elaunch_plan_id\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\x12:\n\x0bworkflow_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12#\n\rartifact_keys\x18\x05 \x03(\tR\x0c\x61rtifactKeys\x12\x1c\n\tprincipal\x18\x06 \x01(\tR\tprincipalB\xbc\x01\n\x12\x63om.flyteidl.eventB\x10\x43loudeventsProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\xa2\x02\x03\x46\x45X\xaa\x02\x0e\x46lyteidl.Event\xca\x02\x0e\x46lyteidl\\Event\xe2\x02\x1a\x46lyteidl\\Event\\GPBMetadata\xea\x02\x0f\x46lyteidl::Eventb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/event/cloudevents.proto\x12\x0e\x66lyteidl.event\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x03\n\x1b\x43loudEventWorkflowExecution\x12\x43\n\traw_event\x18\x01 \x01(\x0b\x32&.flyteidl.event.WorkflowExecutionEventR\x08rawEvent\x12H\n\x10output_interface\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12<\n\x0c\x61rtifact_ids\x18\x03 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12[\n\x13reference_execution\x18\x04 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x06 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"\x8b\x03\n\x17\x43loudEventNodeExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.NodeExecutionEventR\x08rawEvent\x12H\n\x0ctask_exec_id\x18\x02 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierR\ntaskExecId\x12H\n\x10output_interface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x06 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"Z\n\x17\x43loudEventTaskExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.TaskExecutionEventR\x08rawEvent\"\xef\x02\n\x18\x43loudEventExecutionStart\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12?\n\x0elaunch_plan_id\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\x12:\n\x0bworkflow_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12+\n\x11\x61rtifact_trackers\x18\x05 \x03(\tR\x10\x61rtifactTrackers\x12\x1c\n\tprincipal\x18\x06 \x01(\tR\tprincipalB\xbc\x01\n\x12\x63om.flyteidl.eventB\x10\x43loudeventsProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\xa2\x02\x03\x46\x45X\xaa\x02\x0e\x46lyteidl.Event\xca\x02\x0e\x46lyteidl\\Event\xe2\x02\x1a\x46lyteidl\\Event\\GPBMetadata\xea\x02\x0f\x46lyteidl::Eventb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,11 +29,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022com.flyteidl.eventB\020CloudeventsProtoP\001Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\242\002\003FEX\252\002\016Flyteidl.Event\312\002\016Flyteidl\\Event\342\002\032Flyteidl\\Event\\GPBMetadata\352\002\017Flyteidl::Event' _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_start=240 - _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_end=780 - _globals['_CLOUDEVENTNODEEXECUTION']._serialized_start=783 - _globals['_CLOUDEVENTNODEEXECUTION']._serialized_end=1296 - _globals['_CLOUDEVENTTASKEXECUTION']._serialized_start=1298 - _globals['_CLOUDEVENTTASKEXECUTION']._serialized_end=1388 - _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_start=1391 - _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_end=1750 + _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_end=662 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_start=665 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_end=1060 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_start=1062 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_end=1152 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_start=1155 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_end=1522 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi index 8444627c32..b79750c9ca 100644 --- a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi @@ -12,44 +12,36 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class CloudEventWorkflowExecution(_message.Message): - __slots__ = ["raw_event", "output_data", "output_interface", "input_data", "artifact_ids", "reference_execution", "principal", "launch_plan_id"] + __slots__ = ["raw_event", "output_interface", "artifact_ids", "reference_execution", "principal", "launch_plan_id"] RAW_EVENT_FIELD_NUMBER: _ClassVar[int] - OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] - INPUT_DATA_FIELD_NUMBER: _ClassVar[int] ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] REFERENCE_EXECUTION_FIELD_NUMBER: _ClassVar[int] PRINCIPAL_FIELD_NUMBER: _ClassVar[int] LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] raw_event: _event_pb2.WorkflowExecutionEvent - output_data: _literals_pb2.LiteralMap output_interface: _interface_pb2.TypedInterface - input_data: _literals_pb2.LiteralMap artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] reference_execution: _identifier_pb2.WorkflowExecutionIdentifier principal: str launch_plan_id: _identifier_pb2.Identifier - def __init__(self, raw_event: _Optional[_Union[_event_pb2.WorkflowExecutionEvent, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + def __init__(self, raw_event: _Optional[_Union[_event_pb2.WorkflowExecutionEvent, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... class CloudEventNodeExecution(_message.Message): - __slots__ = ["raw_event", "task_exec_id", "output_data", "output_interface", "input_data", "artifact_ids", "principal", "launch_plan_id"] + __slots__ = ["raw_event", "task_exec_id", "output_interface", "artifact_ids", "principal", "launch_plan_id"] RAW_EVENT_FIELD_NUMBER: _ClassVar[int] TASK_EXEC_ID_FIELD_NUMBER: _ClassVar[int] - OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] - INPUT_DATA_FIELD_NUMBER: _ClassVar[int] ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] PRINCIPAL_FIELD_NUMBER: _ClassVar[int] LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] raw_event: _event_pb2.NodeExecutionEvent task_exec_id: _identifier_pb2.TaskExecutionIdentifier - output_data: _literals_pb2.LiteralMap output_interface: _interface_pb2.TypedInterface - input_data: _literals_pb2.LiteralMap artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] principal: str launch_plan_id: _identifier_pb2.Identifier - def __init__(self, raw_event: _Optional[_Union[_event_pb2.NodeExecutionEvent, _Mapping]] = ..., task_exec_id: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + def __init__(self, raw_event: _Optional[_Union[_event_pb2.NodeExecutionEvent, _Mapping]] = ..., task_exec_id: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... class CloudEventTaskExecution(_message.Message): __slots__ = ["raw_event"] @@ -58,17 +50,17 @@ class CloudEventTaskExecution(_message.Message): def __init__(self, raw_event: _Optional[_Union[_event_pb2.TaskExecutionEvent, _Mapping]] = ...) -> None: ... class CloudEventExecutionStart(_message.Message): - __slots__ = ["execution_id", "launch_plan_id", "workflow_id", "artifact_ids", "artifact_keys", "principal"] + __slots__ = ["execution_id", "launch_plan_id", "workflow_id", "artifact_ids", "artifact_trackers", "principal"] EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] - ARTIFACT_KEYS_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_TRACKERS_FIELD_NUMBER: _ClassVar[int] PRINCIPAL_FIELD_NUMBER: _ClassVar[int] execution_id: _identifier_pb2.WorkflowExecutionIdentifier launch_plan_id: _identifier_pb2.Identifier workflow_id: _identifier_pb2.Identifier artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] - artifact_keys: _containers.RepeatedScalarFieldContainer[str] + artifact_trackers: _containers.RepeatedScalarFieldContainer[str] principal: str - def __init__(self, execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., workflow_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., artifact_keys: _Optional[_Iterable[str]] = ..., principal: _Optional[str] = ...) -> None: ... + def __init__(self, execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., workflow_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., artifact_trackers: _Optional[_Iterable[str]] = ..., principal: _Optional[str] = ...) -> None: ... diff --git a/flyteidl/gen/pb_rust/flyteidl.artifact.rs b/flyteidl/gen/pb_rust/flyteidl.artifact.rs index e3bc2c72fa..d35149b740 100644 --- a/flyteidl/gen/pb_rust/flyteidl.artifact.rs +++ b/flyteidl/gen/pb_rust/flyteidl.artifact.rs @@ -189,13 +189,13 @@ pub struct CreateTriggerResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct DeleteTriggerRequest { +pub struct DeactivateTriggerRequest { #[prost(message, optional, tag="1")] pub trigger_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct DeleteTriggerResponse { +pub struct DeactivateTriggerResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/flyteidl/gen/pb_rust/flyteidl.event.rs b/flyteidl/gen/pb_rust/flyteidl.event.rs index b7dd7ac9f3..703e5c9e9c 100644 --- a/flyteidl/gen/pb_rust/flyteidl.event.rs +++ b/flyteidl/gen/pb_rust/flyteidl.event.rs @@ -393,23 +393,19 @@ pub struct CloudEventWorkflowExecution { #[prost(message, optional, tag="1")] pub raw_event: ::core::option::Option, #[prost(message, optional, tag="2")] - pub output_data: ::core::option::Option, - #[prost(message, optional, tag="3")] pub output_interface: ::core::option::Option, - #[prost(message, optional, tag="4")] - pub input_data: ::core::option::Option, /// The following are ExecutionMetadata fields /// We can't have the ExecutionMetadata object directly because of import cycle - #[prost(message, repeated, tag="5")] + #[prost(message, repeated, tag="3")] pub artifact_ids: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="6")] + #[prost(message, optional, tag="4")] pub reference_execution: ::core::option::Option, - #[prost(string, tag="7")] + #[prost(string, tag="5")] pub principal: ::prost::alloc::string::String, /// The ID of the LP that generated the execution that generated the Artifact. /// Here for provenance information. /// Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - #[prost(message, optional, tag="8")] + #[prost(message, optional, tag="6")] pub launch_plan_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] @@ -420,24 +416,19 @@ pub struct CloudEventNodeExecution { /// The relevant task execution if applicable #[prost(message, optional, tag="2")] pub task_exec_id: ::core::option::Option, - /// Hydrated output - #[prost(message, optional, tag="3")] - pub output_data: ::core::option::Option, /// The typed interface for the task that produced the event. - #[prost(message, optional, tag="4")] + #[prost(message, optional, tag="3")] pub output_interface: ::core::option::Option, - #[prost(message, optional, tag="5")] - pub input_data: ::core::option::Option, /// The following are ExecutionMetadata fields /// We can't have the ExecutionMetadata object directly because of import cycle - #[prost(message, repeated, tag="6")] + #[prost(message, repeated, tag="4")] pub artifact_ids: ::prost::alloc::vec::Vec, - #[prost(string, tag="7")] + #[prost(string, tag="5")] pub principal: ::prost::alloc::string::String, /// The ID of the LP that generated the execution that generated the Artifact. /// Here for provenance information. /// Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - #[prost(message, optional, tag="8")] + #[prost(message, optional, tag="6")] pub launch_plan_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] @@ -458,12 +449,12 @@ pub struct CloudEventExecutionStart { pub launch_plan_id: ::core::option::Option, #[prost(message, optional, tag="3")] pub workflow_id: ::core::option::Option, - /// Artifact IDs found + /// Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run. #[prost(message, repeated, tag="4")] pub artifact_ids: ::prost::alloc::vec::Vec, - /// Artifact keys found. + /// Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service. #[prost(string, repeated, tag="5")] - pub artifact_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + pub artifact_trackers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, tag="6")] pub principal: ::prost::alloc::string::String, } diff --git a/flyteidl/protos/flyteidl/artifact/artifacts.proto b/flyteidl/protos/flyteidl/artifact/artifacts.proto index 43cbddf9c5..aea350c6cf 100644 --- a/flyteidl/protos/flyteidl/artifact/artifacts.proto +++ b/flyteidl/protos/flyteidl/artifact/artifacts.proto @@ -144,11 +144,11 @@ message CreateTriggerRequest { message CreateTriggerResponse {} -message DeleteTriggerRequest { +message DeactivateTriggerRequest { core.Identifier trigger_id = 1; } -message DeleteTriggerResponse {} +message DeactivateTriggerResponse {} message ArtifactProducer { // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in @@ -189,23 +189,28 @@ service ArtifactRegistry { rpc GetArtifact (GetArtifactRequest) returns (GetArtifactResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/data/artifacts" - additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} - additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} - additional_bindings {get: "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} + get: "/artifacts/api/v1/artifacts" + additional_bindings {get: "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} + additional_bindings {get: "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} + additional_bindings {get: "/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} }; } rpc SearchArtifacts (SearchArtifactsRequest) returns (SearchArtifactsResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" - additional_bindings {get: "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}"} + get: "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" + additional_bindings {get: "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}"} }; } rpc CreateTrigger (CreateTriggerRequest) returns (CreateTriggerResponse) {} - rpc DeleteTrigger (DeleteTriggerRequest) returns (DeleteTriggerResponse) {} + rpc DeactivateTrigger (DeactivateTriggerRequest) returns (DeactivateTriggerResponse) { + option (google.api.http) = { + patch: "/artifacts/api/v1/trigger/deactivate" + body: "*" + }; + } rpc AddTag(AddTagRequest) returns (AddTagResponse) {} @@ -217,7 +222,7 @@ service ArtifactRegistry { rpc FindByWorkflowExec (FindByWorkflowExecRequest) returns (SearchArtifactsResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}" + get: "/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}" }; } diff --git a/flyteidl/protos/flyteidl/event/cloudevents.proto b/flyteidl/protos/flyteidl/event/cloudevents.proto index 0c628d52d4..d02c5ff516 100644 --- a/flyteidl/protos/flyteidl/event/cloudevents.proto +++ b/flyteidl/protos/flyteidl/event/cloudevents.proto @@ -16,22 +16,18 @@ import "google/protobuf/timestamp.proto"; message CloudEventWorkflowExecution { event.WorkflowExecutionEvent raw_event = 1; - core.LiteralMap output_data = 2; - - core.TypedInterface output_interface = 3; - - core.LiteralMap input_data = 4; + core.TypedInterface output_interface = 2; // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - repeated core.ArtifactID artifact_ids = 5; - core.WorkflowExecutionIdentifier reference_execution = 6; - string principal = 7; + repeated core.ArtifactID artifact_ids = 3; + core.WorkflowExecutionIdentifier reference_execution = 4; + string principal = 5; // The ID of the LP that generated the execution that generated the Artifact. // Here for provenance information. // Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - core.Identifier launch_plan_id = 8; + core.Identifier launch_plan_id = 6; } message CloudEventNodeExecution { @@ -40,23 +36,18 @@ message CloudEventNodeExecution { // The relevant task execution if applicable core.TaskExecutionIdentifier task_exec_id = 2; - // Hydrated output - core.LiteralMap output_data = 3; - // The typed interface for the task that produced the event. - core.TypedInterface output_interface = 4; - - core.LiteralMap input_data = 5; + core.TypedInterface output_interface = 3; // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - repeated core.ArtifactID artifact_ids = 6; - string principal = 7; + repeated core.ArtifactID artifact_ids = 4; + string principal = 5; // The ID of the LP that generated the execution that generated the Artifact. // Here for provenance information. // Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - core.Identifier launch_plan_id = 8; + core.Identifier launch_plan_id = 6; } message CloudEventTaskExecution { @@ -72,11 +63,11 @@ message CloudEventExecutionStart { core.Identifier workflow_id = 3; - // Artifact IDs found + // Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run. repeated core.ArtifactID artifact_ids = 4; - // Artifact keys found. - repeated string artifact_keys = 5; + // Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service. + repeated string artifact_trackers = 5; string principal = 6; } diff --git a/flytestdlib/database/db.go b/flytestdlib/database/db.go index fe884c75f4..8046c7ead4 100644 --- a/flytestdlib/database/db.go +++ b/flytestdlib/database/db.go @@ -107,17 +107,12 @@ func withDB(ctx context.Context, databaseConfig *DbConfig, do func(db *gorm.DB) } // Migrate runs all configured migrations -func Migrate(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration, initializationSQL string) error { +func Migrate(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration) error { if len(migrations) == 0 { logger.Infof(ctx, "No migrations to run") return nil } return withDB(ctx, databaseConfig, func(db *gorm.DB) error { - tx := db.Exec(initializationSQL) - if tx.Error != nil { - return tx.Error - } - m := gormigrate.New(db, gormigrate.DefaultOptions, migrations) if err := m.Migrate(); err != nil { return fmt.Errorf("database migration failed: %v", err) diff --git a/flytestdlib/database/postgres.go b/flytestdlib/database/postgres.go index be5c118e58..ec43330af1 100644 --- a/flytestdlib/database/postgres.go +++ b/flytestdlib/database/postgres.go @@ -62,6 +62,7 @@ func CreatePostgresDbIfNotExists(ctx context.Context, gormConfig *gorm.Config, p return gormDb, nil } if !IsPgErrorWithCode(err, PqInvalidDBCode) { + logger.Errorf(ctx, "Unhandled error connecting to postgres, pg [%v], gorm [%v]: %v", pgConfig, gormConfig, err) return nil, err } logger.Warningf(ctx, "Database [%v] does not exist", pgConfig.DbName) diff --git a/flytestdlib/go.mod b/flytestdlib/go.mod index 16d0fe3b06..947fbe4b5c 100644 --- a/flytestdlib/go.mod +++ b/flytestdlib/go.mod @@ -147,7 +147,6 @@ replace ( github.com/flyteorg/flyte/flyteplugins => ../flyteplugins github.com/flyteorg/flyte/flytepropeller => ../flytepropeller github.com/flyteorg/flyte/flytestdlib => ../flytestdlib - github.com/flyteorg/flyteidl => ../flyteidl k8s.io/api => k8s.io/api v0.28.2 k8s.io/apimachinery => k8s.io/apimachinery v0.28.2 k8s.io/client-go => k8s.io/client-go v0.28.2