diff --git a/README.md b/README.md index b83a3f81c5..4f5a86fafb 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,6 @@ :building_construction: :rocket: :chart_with_upwards_trend:

-

- - Build. Deploy. Scale. - -

- -Flyte is an **open-source orchestrator** that facilitates building production-grade data and ML pipelines. It is built for scalability and reproducibility, leveraging Kubernetes as its underlying platform. With Flyte, user teams can construct pipelines using the Python SDK, and seamlessly deploy them on both cloud and on-premises environments, enabling distributed processing and efficient resource utilization.

@@ -37,82 +30,123 @@ Flyte is an **open-source orchestrator** that facilitates building production-gr Flyte Slack label

+Flyte is an open-source orchestrator that facilitates building production-grade data and ML pipelines. It is built for scalability and reproducibility, leveraging Kubernetes as its underlying platform. With Flyte, user teams can construct pipelines using the Python SDK, and seamlessly deploy them on both cloud and on-premises environments, enabling distributed processing and efficient resource utilization. + +

+ Build +

+

+Write code in Python or any other language and leverage a robust type engine. +

+ +Getting started with Flyte + +

+ Deploy & Scale +

+

+Either locally or on a remote cluster, execute your models with ease. +

+Getting started with Flyte + +

Get Started Β· Documentation Β· - Resources + Resources

-
- -Getting started with Flyte, showing the welcome screen and Flyte dashboard - +## Table of contents +* [Quick start](#quick-start) +* [Tutorials](#tutorials) +* [Features](#features) +* [Who uses Flyte](#whos-using-flyte) +* [How to stay involved](#how-to-stay-involved) +* [How to contribute](#how-to-contribute) --- - -## Features - -We ship new features, bug fixes and performance improvements regularly. Read our [release notes](https://github.com/flyteorg/flyte/releases) to stay updated. - -:rocket: **Strongly typed interfaces**: Validate your data at every step of the workflow by defining data guardrails using Flyte types.
-:globe_with_meridians: **Any language**: Write code in any language using raw containers, or choose [Python](https://github.com/flyteorg/flytekit), [Java](https://github.com/flyteorg/flytekit-java), [Scala](https://github.com/flyteorg/flytekit-java) or [JavaScript](https://github.com/NotMatthewGriffin/pterodactyl) SDKs to develop your Flyte workflows.
-:bar_chart: **Map tasks**: Achieve parallel code execution with minimal configuration using [map tasks](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/map_task.html).
-:star2: **Dynamic workflows**: [Build flexible and adaptable workflows](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/dynamics.html) that can change and evolve as needed, making it easier to respond to changing requirements.
-:deciduous_tree: **Branching**: [Selectively execute branches](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/conditions.html) of your workflow based on static or dynamic data produced by other tasks or input data.
-:open_file_folder: **FlyteFile & FlyteDirectory**: Transfer [files](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/files.html) and [directories](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/folders.html) between local and cloud storage.
-:card_file_box: **Structured dataset**: Convert dataframes between types and enforce column-level type checking using the abstract 2D representation provided by [Structured Dataset](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/data_types_and_io/structured_dataset.html).
-:shield: **Recover from failures**: Recover only the failed tasks.
-:arrows_counterclockwise: **Rerun a single task**: Rerun workflows at the most granular level without modifying the previous state of a data/ML workflow.
-:vertical_traffic_light: **Versioned workflows**: Reproduce results and roll back to a previous workflow version any time.
-:mag: **Cache outputs**: Cache task outputs by passing `cache=True` to the task decorator.
-:triangular_flag_on_post: **Intra-task checkpointing**: [Checkpoint progress](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/checkpoint.html) within a task execution.
-:earth_americas: **Multi-tenancy**: Multiple users can share the same platform while maintaining their own distinct data and configurations.
-:alarm_clock: **Timeout**: Define a timeout period, after which the task is marked as failure.
-:lock: **Immutability**: Immutable executions help ensure reproducibility by preventing any changes to the state of an execution.
-:dna: **Data lineage**: Track the movement and transformation of data throughout the lifecycle of your data and ML workflows.
-:chart_with_upwards_trend: **Data visualization**: Visualize data, monitor models and view training history through plots.
-:factory: **Dev to prod**: As simple as changing your [domain](https://docs.flyte.org/en/latest/concepts/domains.html) from development or staging to production.
-:money_with_wings: **Spot or preemptible instances**: Schedule your workflows on spot instances by setting `interruptible` to `True` in the task decorator.
-:cloud: **Cloud-native deployment**: Deploy Flyte on AWS, GCP, Azure and other cloud services.
-:calendar: **Scheduling**: [Schedule](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_schedules.html) your data and ML workflows to run at a specific time.
-:mega: **Notifications**: Stay informed about changes to your workflow's state by configuring [notifications](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_notifications.html) through Slack, PagerDuty or email.
-:hourglass: **Timeline view**: Evaluate the duration of each of your Flyte tasks and identify potential bottlenecks.
-:fast_forward: **GPU acceleration**: Enable and control your tasks’ GPU demands by requesting resources in the task decorator.
-:whale: **Dependency isolation via containers**: Maintain separate sets of dependencies for your tasks so no dependency conflicts arise.
-:arrows_counterclockwise: **Parallelism**: Flyte tasks are inherently parallel to optimize resource consumption and improve performance.
-:floppy_disk: **Allocate resources dynamically** at the task level.
-:play_or_pause_button: [Wait](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/waiting_for_external_inputs.html) for **external inputs** before proceeding with the execution.
- ## Quick start -If you want to try out Flyte, the easiest way to get started is by using the Flyte Hosted Sandbox, available at https://sandbox.union.ai/. It allows you to experiment with Flyte's capabilities without installing anything on your local machine. - -However, if you prefer to install Flyte locally and run a workflow, our [getting started guide](https://docs.flyte.org/projects/cookbook/en/latest/index.html) is the best place to start. It provides step-by-step instructions on how to install Flyte locally and run your first workflow. - -> If you're unsure what either a [Flyte task](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/basics/task.html), or a [workflow](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/basics/workflow.html) is, be sure to check out our guides on both! +1. Install Flyte's Python SDK +```bash +pip install flytekit +``` +2. Create a workflow (see [example](https://github.com/flyteorg/flytesnacks/blob/master/examples/basics/basics/hello_world.py)) +3. Run it locally with: +```bash +pyflyte run hello_world.py hello_world_wf +``` +**Ready to try a Flyte cluster?** + +1. Create a new sandbox cluster, running as a Docker container: +```bash +flytectl demo start +``` +2. Now execute your workflows on the cluster: +```bash +pyflyte run --remote hello_world.py hello_world_wf +``` +Getting started with Flyte, showing the welcome screen and Flyte dashboard -### Deploy Flyte to production +**Do you want to see more but don't want to install anything?** -The [deployment guide](https://docs.flyte.org/en/latest/deployment/index.html) provides useful information on how to self-host and manage Flyte. +Head over to https://sandbox.union.ai/. It allows you to experiment with Flyte's capabilities from a hosted Jupyter notebook. -## Adopters +**Ready to productionize?** -Join the likes of LinkedIn, Spotify, Freenome, Pachama, Gojek, and Woven Planet in adopting Flyte. For a full list of adopters and information on how to add your organization or project, please visit our [ADOPTERS](https://github.com/flyteorg/community/blob/main/ADOPTERS.md) page. +Go to the [Deployment guide](https://docs.flyte.org/en/latest/deployment/deployment/index.html) for instructions to install Flyte on different environments +## Tutorials +- [Fine-tune Code Llama on the Flyte codebase](https://github.com/unionai-oss/llm-fine-tuning/tree/main/flyte_llama#readme) +- [Forecast sales with Horovod and Spark](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/forecasting_sales/index.html) +- [Nucleotide Sequence Querying with BLASTX](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/blast/index.html) -## Resources +## Features +πŸš€ **Strongly typed interfaces**: Validate your data at every step of the workflow by defining data guardrails using Flyte types.
+🌐 **Any language**: Write code in any language using raw containers, or choose [Python](https://github.com/flyteorg/flytekit), [Java](https://github.com/flyteorg/flytekit-java), [Scala](https://github.com/flyteorg/flytekit-java) or [JavaScript](https://github.com/NotMatthewGriffin/pterodactyl) SDKs to develop your Flyte workflows.
+πŸ”’ **Immutability**: Immutable executions help ensure reproducibility by preventing any changes to the state of an execution.
+🧬 **Data lineage**: Track the movement and transformation of data throughout the lifecycle of your data and ML workflows.
+πŸ“Š **Map tasks**: Achieve parallel code execution with minimal configuration using [map tasks](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/map_task.html).
+🌎 **Multi-tenancy**: Multiple users can share the same platform while maintaining their own distinct data and configurations.
+🌟 **Dynamic workflows**: [Build flexible and adaptable workflows](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/dynamics.html) that can change and evolve as needed, making it easier to respond to changing requirements.
+⏯️ [Wait](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/waiting_for_external_inputs.html) for **external inputs** before proceeding with the execution.
+🌳 **Branching**: [Selectively execute branches](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/conditions.html) of your workflow based on static or dynamic data produced by other tasks or input data.
+πŸ“ˆ **Data visualization**: Visualize data, monitor models and view training history through plots.
+πŸ“‚ **FlyteFile & FlyteDirectory**: Transfer [files](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/files.html) and [directories](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/folders.html) between local and cloud storage.
+πŸ—ƒοΈ **Structured dataset**: Convert dataframes between types and enforce column-level type checking using the abstract 2D representation provided by [Structured Dataset](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/data_types_and_io/structured_dataset.html).
+πŸ›‘οΈ **Recover from failures**: Recover only the failed tasks.
+πŸ” **Rerun a single task**: Rerun workflows at the most granular level without modifying the previous state of a data/ML workflow.
+πŸ” **Cache outputs**: Cache task outputs by passing `cache=True` to the task decorator.
+🚩 **Intra-task checkpointing**: [Checkpoint progress](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/checkpoint.html) within a task execution.
+⏰ **Timeout**: Define a timeout period, after which the task is marked as failure.
+🏭 **Dev to prod**: As simple as changing your [domain](https://docs.flyte.org/en/latest/concepts/domains.html) from development or staging to production.
+πŸ’Έ **Spot or preemptible instances**: Schedule your workflows on spot instances by setting `interruptible` to `True` in the task decorator.
+☁️ **Cloud-native deployment**: Deploy Flyte on AWS, GCP, Azure and other cloud services.
+πŸ“… **Scheduling**: [Schedule](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_schedules.html) your data and ML workflows to run at a specific time.
+πŸ“’ **Notifications**: Stay informed about changes to your workflow's state by configuring [notifications](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_notifications.html) through Slack, PagerDuty or email.
+βŒ›οΈ **Timeline view**: Evaluate the duration of each of your Flyte tasks and identify potential bottlenecks.
+πŸ’¨ **GPU acceleration**: Enable and control your tasks’ GPU demands by requesting resources in the task decorator.
+🐳 **Dependency isolation via containers**: Maintain separate sets of dependencies for your tasks so no dependency conflicts arise.
+πŸ”€ **Parallelism**: Flyte tasks are inherently parallel to optimize resource consumption and improve performance.
+πŸ’Ύ **Allocate resources dynamically** at the task level.
+ + +## Who's using Flyte +Join the likes of LinkedIn, Spotify, Freenome, Pachama, Warner Bros. and many others in adopting Flyte for mission-critical use cases. For a full list of adopters and information on how to add your organization or project, please visit our [ADOPTERS](https://github.com/flyteorg/community/blob/main/ADOPTERS.md) page. + + +## How to stay involved +πŸ“† [Weekly office hours](https://calendly.com/flyte-office-hours-01/30min): Live informal sessions with the Flyte team held every week. Book a 30-minute slot and get your questions answered.
+πŸ‘₯ [Biweekly community sync](https://www.addevent.com/event/EA7823958): A biweekly event where the Flyte team provides updates on the project and community members can share their progress and ask questions.
+πŸ’¬ [Slack](https://slack.flyte.org/): Join the Flyte community on Slack to chat with other users, ask questions, and get help.
+⚠️ [Newsletter](https://lists.lfaidata.foundation/g/flyte-announce/join): join this group to receive the Flyte Monthly newsletter.
+πŸ“Ή [Youtube](https://www.youtube.com/channel/UCNduEoLOToNo3nFVly-vUTQ): Tune into panel discussions, customer success stories, community updates and feature deep dives.
+πŸ“„ [Blog](https://flyte.org/blog): Here, you can find tutorials and feature deep dives to help you learn more about Flyte.
+πŸ’‘ [RFCs](rfc/.): RFCs are used for proposing new ideas and features to improve Flyte. You can refer to them to stay updated on the latest developments and contribute to the growth of the platform. -:spiral_calendar: [Weekly office hours](https://calendly.com/flyte-office-hours-01/30min): Live informal sessions with the Flyte team held every week. Book a 30-minute slot and get your questions answered.
-:couple: [Biweekly community sync](https://www.addevent.com/event/EA7823958): A biweekly event where the Flyte team provides updates on the project and community members can share their progress and ask questions.
-:speech_balloon: [Slack](https://slack.flyte.org/): Join the Flyte community on Slack to chat with other users, ask questions, and get help.
-:warning: [GitHub](https://github.com/flyteorg/flyte): Check out the Flyte project on GitHub to file issues, contribute code, and stay up to date on the latest development.
-:video_camera: [Youtube](https://www.youtube.com/channel/UCNduEoLOToNo3nFVly-vUTQ): Tune into panel discussions, customer success stories, community updates and feature deep dives.
-:writing_hand: [Blog](https://flyte.org/blog): Here, you can find tutorials and feature deep dives to help you learn more about Flyte.
-:bulb: [RFCs](rfc/.): RFCs are used for proposing new ideas and features to improve Flyte. You can refer to them to stay updated on the latest developments and contribute to the growth of the platform. ## How to contribute - There are many ways to get involved in Flyte, including: - Submitting [bugs](https://github.com/flyteorg/flyte/issues/new?assignees=&labels=bug%2Cuntriaged&template=bug_report.yaml&title=%5BBUG%5D+) and [feature requests](https://github.com/flyteorg/flyte/issues/new?assignees=&labels=enhancement%2Cuntriaged&template=feature_request.yaml&title=%5BCore+feature%5D+) for various components. diff --git a/charts/flyte-sandbox/templates/buildkit/deployment.yaml b/charts/flyte-sandbox/templates/buildkit/deployment.yaml index c128e65e12..9485a0fb43 100644 --- a/charts/flyte-sandbox/templates/buildkit/deployment.yaml +++ b/charts/flyte-sandbox/templates/buildkit/deployment.yaml @@ -13,6 +13,7 @@ spec: metadata: labels: {{- include "flyte-sandbox.buildkitSelectorLabels" . | nindent 8 }} spec: + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true containers: - name: buildkit diff --git a/docker/sandbox-bundled/Makefile b/docker/sandbox-bundled/Makefile index ed92a733c4..719b1f5395 100644 --- a/docker/sandbox-bundled/Makefile +++ b/docker/sandbox-bundled/Makefile @@ -18,8 +18,9 @@ flyte: .PHONY: manifests manifests: mkdir -p manifests - helm dependency update ../../charts/flyte-sandbox helm dependency update ../../charts/flyteagent + helm dependency update ../../charts/flyte-binary + helm dependency update ../../charts/flyte-sandbox kustomize build \ --enable-helm \ --load-restrictor=LoadRestrictionsNone \ diff --git a/docker/sandbox-bundled/manifests/complete-agent.yaml b/docker/sandbox-bundled/manifests/complete-agent.yaml index 9ea1a656d7..189cfd6efd 100644 --- a/docker/sandbox-bundled/manifests/complete-agent.yaml +++ b/docker/sandbox-bundled/manifests/complete-agent.yaml @@ -881,7 +881,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: YnVFTHBEdHY1d3YwbUFtMw== + haSharedSecret: SzdFS2NpQ1FCMGZpZmdvVA== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1453,6 +1453,7 @@ spec: periodSeconds: 30 securityContext: privileged: true + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true --- apiVersion: apps/v1 @@ -1476,7 +1477,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: aad56d8c5540c8359383701753f32ea5924abb66f5f68bf79e208df38c4f70db + checksum/secret: 76b53c5ec281a0fe662b1a3cf26e50a247832d71aafa79a49294e1c7e82cb462 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index 25799591df..ad1e866c4c 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -861,7 +861,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: UGJnMklaMkJQUDNZekZnSQ== + haSharedSecret: NGtneHhldjRLS0s2VnBFYg== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1401,6 +1401,7 @@ spec: periodSeconds: 30 securityContext: privileged: true + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true --- apiVersion: apps/v1 @@ -1424,7 +1425,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 7b29a08bc860be390e60c5d9743e190acd5efbba619e25a49355fbeeba42030e + checksum/secret: 7ce7b101d2a314d4e180934a2329db83ad951e7d832fd0855b9adecbc52dac57 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index 60fd2114aa..24e4bb5ead 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -535,7 +535,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: clV0UmNjV2U2R0ozem9XUg== + haSharedSecret: QlRBU1c2TE9Ma1dGZHdNOQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -958,6 +958,7 @@ spec: periodSeconds: 30 securityContext: privileged: true + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true --- apiVersion: apps/v1 @@ -981,7 +982,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 7223714463ea7b1a44702659099c6e3e3be23e3756b7d8a2aaf978780cb28e81 + checksum/secret: 5b126beacb3ed19e3d0c3a580dcbc29332e445220eebd916e688e0c8d7cfdf23 labels: app: docker-registry release: flyte-sandbox 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-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, 0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b6, - 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, 0x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, 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-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_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_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/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/flyteplugins/go/tasks/pluginmachinery/k8s/client.go b/flyteplugins/go/tasks/pluginmachinery/k8s/client.go index 79a81c7e79..f14ae2c8a0 100644 --- a/flyteplugins/go/tasks/pluginmachinery/k8s/client.go +++ b/flyteplugins/go/tasks/pluginmachinery/k8s/client.go @@ -3,8 +3,6 @@ package k8s import ( - "net/http" - "k8s.io/apimachinery/pkg/api/meta" "k8s.io/client-go/rest" "sigs.k8s.io/controller-runtime/pkg/cache" @@ -40,9 +38,14 @@ type Options struct { // NewKubeClient creates a new KubeClient that caches reads and falls back to // make API calls on failure. Write calls are not cached. func NewKubeClient(config *rest.Config, options Options) (core.KubeClient, error) { + httpClient, err := rest.HTTPClientFor(config) + if err != nil { + return nil, err + } + if options.MapperProvider == nil { options.MapperProvider = func(c *rest.Config) (meta.RESTMapper, error) { - return apiutil.NewDynamicRESTMapper(config, http.DefaultClient) + return apiutil.NewDynamicRESTMapper(config, httpClient) } } @@ -53,7 +56,7 @@ func NewKubeClient(config *rest.Config, options Options) (core.KubeClient, error if options.CacheOptions == nil { options.CacheOptions = &cache.Options{ - HTTPClient: http.DefaultClient, + HTTPClient: httpClient, Mapper: mapper, } } @@ -64,7 +67,10 @@ func NewKubeClient(config *rest.Config, options Options) (core.KubeClient, error } if options.ClientOptions == nil { - options.ClientOptions = &client.Options{Mapper: mapper} + options.ClientOptions = &client.Options{ + HTTPClient: httpClient, + Mapper: mapper, + } } client, err := client.New(config, *options.ClientOptions) diff --git a/flytepropeller/pkg/controller/nodes/array/event_recorder.go b/flytepropeller/pkg/controller/nodes/array/event_recorder.go index c4e3004011..c2e0c96ed8 100644 --- a/flytepropeller/pkg/controller/nodes/array/event_recorder.go +++ b/flytepropeller/pkg/controller/nodes/array/event_recorder.go @@ -3,21 +3,24 @@ package array import ( "context" "fmt" + "strconv" "time" "github.com/golang/protobuf/ptypes" idlcore "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + "github.com/flyteorg/flyte/flyteplugins/go/tasks/pluginmachinery/encoding" "github.com/flyteorg/flyte/flytepropeller/pkg/apis/flyteworkflow/v1alpha1" "github.com/flyteorg/flyte/flytepropeller/pkg/controller/config" "github.com/flyteorg/flyte/flytepropeller/pkg/controller/nodes/common" "github.com/flyteorg/flyte/flytepropeller/pkg/controller/nodes/interfaces" + "github.com/flyteorg/flyte/flytepropeller/pkg/controller/nodes/task" ) type arrayEventRecorder interface { interfaces.EventRecorder - process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) + process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error finalize(ctx context.Context, nCtx interfaces.NodeExecutionContext, taskPhase idlcore.TaskExecution_Phase, taskPhaseVersion uint32, eventConfig *config.EventConfig) error finalizeRequired(ctx context.Context) bool } @@ -39,8 +42,23 @@ func (e *externalResourcesEventRecorder) RecordTaskEvent(ctx context.Context, ev return nil } -func (e *externalResourcesEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) { - externalResourceID := fmt.Sprintf("%s-%d", buildSubNodeID(nCtx, index), retryAttempt) +func (e *externalResourcesEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error { + // generate externalResourceID + currentNodeUniqueID := nCtx.NodeID() + if nCtx.ExecutionContext().GetEventVersion() != v1alpha1.EventVersion0 { + var err error + currentNodeUniqueID, err = common.GenerateUniqueID(nCtx.ExecutionContext().GetParentInfo(), nCtx.NodeID()) + if err != nil { + return err + } + } + + uniqueID, err := encoding.FixedLengthUniqueIDForParts(task.IDMaxLength, []string{nCtx.NodeExecutionMetadata().GetOwnerID().Name, currentNodeUniqueID, strconv.Itoa(int(retryAttempt))}) + if err != nil { + return err + } + + externalResourceID := fmt.Sprintf("%s-n%d-%d", uniqueID, index, retryAttempt) // process events cacheStatus := idlcore.CatalogCacheStatus_CACHE_DISABLED @@ -83,6 +101,8 @@ func (e *externalResourcesEventRecorder) process(ctx context.Context, nCtx inter // clear nodeEvents and taskEvents e.nodeEvents = e.nodeEvents[:0] e.taskEvents = e.taskEvents[:0] + + return nil } func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx interfaces.NodeExecutionContext, @@ -94,6 +114,17 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte return err } + var taskID *idlcore.Identifier + subNode := nCtx.Node().GetArrayNode().GetSubNodeSpec() + if subNode != nil && subNode.Kind == v1alpha1.NodeKindTask { + executableTask, err := nCtx.ExecutionContext().GetTask(*subNode.GetTaskID()) + if err != nil { + return err + } + + taskID = executableTask.CoreTask().GetId() + } + nodeExecutionID := *nCtx.NodeExecutionMetadata().GetNodeExecutionID() if nCtx.ExecutionContext().GetEventVersion() != v1alpha1.EventVersion0 { currentNodeUniqueID, err := common.GenerateUniqueID(nCtx.ExecutionContext().GetParentInfo(), nodeExecutionID.NodeId) @@ -103,16 +134,8 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte nodeExecutionID.NodeId = currentNodeUniqueID } - workflowExecutionID := nodeExecutionID.ExecutionId - taskExecutionEvent := &event.TaskExecutionEvent{ - TaskId: &idlcore.Identifier{ - ResourceType: idlcore.ResourceType_TASK, - Project: workflowExecutionID.Project, - Domain: workflowExecutionID.Domain, - Name: nCtx.NodeID(), - Version: "v1", // this value is irrelevant but necessary for the identifier to be valid - }, + TaskId: taskID, ParentNodeExecutionId: &nodeExecutionID, RetryAttempt: 0, // ArrayNode will never retry Phase: taskPhase, @@ -120,9 +143,9 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte OccurredAt: occurredAt, Metadata: &event.TaskExecutionMetadata{ ExternalResources: e.externalResources, - PluginIdentifier: "container", + PluginIdentifier: "k8s-array", }, - TaskType: "k8s-array", + TaskType: "container_array", EventVersion: 1, } @@ -165,7 +188,8 @@ type passThroughEventRecorder struct { interfaces.EventRecorder } -func (*passThroughEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) { +func (*passThroughEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error { + return nil } func (*passThroughEventRecorder) finalize(ctx context.Context, nCtx interfaces.NodeExecutionContext, diff --git a/flytepropeller/pkg/controller/nodes/array/handler.go b/flytepropeller/pkg/controller/nodes/array/handler.go index 7dcdef4749..72b2c511eb 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler.go +++ b/flytepropeller/pkg/controller/nodes/array/handler.go @@ -98,7 +98,9 @@ func (a *arrayNodeHandler) Abort(ctx context.Context, nCtx interfaces.NodeExecut logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) } - eventRecorder.process(ctx, nCtx, i, retryAttempt) + if err := eventRecorder.process(ctx, nCtx, i, retryAttempt); err != nil { + logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) + } } } } @@ -241,7 +243,9 @@ func (a *arrayNodeHandler) Handle(ctx context.Context, nCtx interfaces.NodeExecu logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) } - eventRecorder.process(ctx, nCtx, i, 0) + if err := eventRecorder.process(ctx, nCtx, i, 0); err != nil { + logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) + } } // transition ArrayNode to `ArrayNodePhaseExecuting` @@ -331,7 +335,9 @@ func (a *arrayNodeHandler) Handle(ctx context.Context, nCtx interfaces.NodeExecu } } } - eventRecorder.process(ctx, nCtx, index, subNodeStatus.GetAttempts()) + if err := eventRecorder.process(ctx, nCtx, index, subNodeStatus.GetAttempts()); err != nil { + return handler.UnknownTransition, err + } // update subNode state arrayNodeState.SubNodePhases.SetItem(index, uint64(subNodeStatus.GetPhase())) @@ -633,7 +639,7 @@ func (a *arrayNodeHandler) buildArrayNodeContext(ctx context.Context, nCtx inter // currently just mocking based on node phase -> which works for all k8s plugins // we can not pre-allocated a bit array because max size is 256B and with 5k fanout node state = 1.28MB pluginStateBytes := a.pluginStateBytesStarted - if taskPhase == int(core.PhaseUndefined) || taskPhase == int(core.PhaseRetryableFailure) { + if taskPhase == int(core.PhaseUndefined) || taskPhase == int(core.PhaseRetryableFailure) || taskPhase == int(core.PhaseWaitingForResources) { pluginStateBytes = a.pluginStateBytesNotStarted } diff --git a/flytepropeller/pkg/controller/nodes/array/handler_test.go b/flytepropeller/pkg/controller/nodes/array/handler_test.go index fbb5ae875c..f4107c1f11 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler_test.go +++ b/flytepropeller/pkg/controller/nodes/array/handler_test.go @@ -7,6 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" + "k8s.io/apimachinery/pkg/types" idlcore "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" @@ -145,6 +146,10 @@ func createNodeExecutionContext(dataStore *storage.DataStore, eventRecorder inte Name: "name", }, }) + nodeExecutionMetadata.OnGetOwnerID().Return(types.NamespacedName{ + Namespace: "wf-namespace", + Name: "wf-name", + }) nCtx.OnNodeExecutionMetadata().Return(nodeExecutionMetadata) // NodeID @@ -507,6 +512,24 @@ func TestHandleArrayNodePhaseExecuting(t *testing.T) { expectedTransitionPhase: handler.EPhaseRunning, expectedExternalResourcePhases: []idlcore.TaskExecution_Phase{idlcore.TaskExecution_RUNNING}, }, + { + name: "StartSubNodesNewAttempts", + subNodePhases: []v1alpha1.NodePhase{ + v1alpha1.NodePhaseQueued, + v1alpha1.NodePhaseQueued, + }, + subNodeTaskPhases: []core.Phase{ + core.PhaseRetryableFailure, + core.PhaseWaitingForResources, + }, + subNodeTransitions: []handler.Transition{ + handler.DoTransition(handler.TransitionTypeEphemeral, handler.PhaseInfoRunning(&handler.ExecutionInfo{})), + handler.DoTransition(handler.TransitionTypeEphemeral, handler.PhaseInfoRunning(&handler.ExecutionInfo{})), + }, + expectedArrayNodePhase: v1alpha1.ArrayNodePhaseExecuting, + expectedTransitionPhase: handler.EPhaseRunning, + expectedExternalResourcePhases: []idlcore.TaskExecution_Phase{idlcore.TaskExecution_RUNNING, idlcore.TaskExecution_RUNNING}, + }, { name: "AllSubNodesSuccedeed", subNodePhases: []v1alpha1.NodePhase{ diff --git a/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go b/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go index b51ba86931..7e235daa25 100644 --- a/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go +++ b/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go @@ -149,7 +149,34 @@ func (_m *arrayEventRecorder) finalizeRequired(ctx context.Context) bool { return r0 } +type arrayEventRecorder_process struct { + *mock.Call +} + +func (_m arrayEventRecorder_process) Return(_a0 error) *arrayEventRecorder_process { + return &arrayEventRecorder_process{Call: _m.Call.Return(_a0)} +} + +func (_m *arrayEventRecorder) Onprocess(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) *arrayEventRecorder_process { + c_call := _m.On("process", ctx, nCtx, index, retryAttempt) + return &arrayEventRecorder_process{Call: c_call} +} + +func (_m *arrayEventRecorder) OnprocessMatch(matchers ...interface{}) *arrayEventRecorder_process { + c_call := _m.On("process", matchers...) + return &arrayEventRecorder_process{Call: c_call} +} + // process provides a mock function with given fields: ctx, nCtx, index, retryAttempt -func (_m *arrayEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) { - _m.Called(ctx, nCtx, index, retryAttempt) +func (_m *arrayEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error { + ret := _m.Called(ctx, nCtx, index, retryAttempt) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, interfaces.NodeExecutionContext, int, uint32) error); ok { + r0 = rf(ctx, nCtx, index, retryAttempt) + } else { + r0 = ret.Error(0) + } + + return r0 } diff --git a/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go b/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go index a96536e7ac..2c7fda0f6e 100644 --- a/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go +++ b/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go @@ -200,6 +200,7 @@ func getMockTaskExecutionMetadata() pluginsCore.TaskExecutionMetadata { taskExecutionMetadata.On("GetAnnotations").Return(map[string]string{"aKey": "aVal"}) taskExecutionMetadata.On("GetLabels").Return(map[string]string{"lKey": "lVal"}) taskExecutionMetadata.On("GetOwnerReference").Return(metav1.OwnerReference{Name: "x"}) + taskExecutionMetadata.On("GetSecurityContext").Return(core.SecurityContext{RunAs: &core.Identity{}}) id := &pluginsCoreMock.TaskExecutionID{} id.On("GetGeneratedName").Return("test") diff --git a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go index 14984e3f97..17bbce5398 100644 --- a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go +++ b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go @@ -7,6 +7,8 @@ import ( "github.com/flyteorg/flyte/flyteplugins/go/tasks/pluginmachinery/utils/secrets" ) +const executionIdentityVariable = "execution-identity" + // TaskExecutionContext provides a layer on top of core TaskExecutionContext with a custom TaskExecutionMetadata. type TaskExecutionContext struct { pluginsCore.TaskExecutionContext @@ -42,25 +44,28 @@ func (t TaskExecutionMetadata) GetAnnotations() map[string]string { } // newTaskExecutionMetadata creates a TaskExecutionMetadata with secrets serialized as annotations and a label added -// to trigger the flyte pod webhook +// to trigger the flyte pod webhook. If known, the execution identity is injected as a label. func newTaskExecutionMetadata(tCtx pluginsCore.TaskExecutionMetadata, taskTmpl *core.TaskTemplate) (TaskExecutionMetadata, error) { var err error secretsMap := make(map[string]string) - injectSecretsLabel := make(map[string]string) + injectLabels := make(map[string]string) if taskTmpl.SecurityContext != nil && len(taskTmpl.SecurityContext.Secrets) > 0 { secretsMap, err = secrets.MarshalSecretsToMapStrings(taskTmpl.SecurityContext.Secrets) if err != nil { return TaskExecutionMetadata{}, err } - injectSecretsLabel = map[string]string{ - secrets.PodLabel: secrets.PodLabelValue, - } + injectLabels[secrets.PodLabel] = secrets.PodLabelValue + } + + id := tCtx.GetSecurityContext().RunAs.ExecutionIdentity + if len(id) > 0 { + injectLabels[executionIdentityVariable] = id } return TaskExecutionMetadata{ TaskExecutionMetadata: tCtx, annotations: utils.UnionMaps(tCtx.GetAnnotations(), secretsMap), - labels: utils.UnionMaps(tCtx.GetLabels(), injectSecretsLabel), + labels: utils.UnionMaps(tCtx.GetLabels(), injectLabels), }, nil } diff --git a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go index 8807236bff..bf9ca1eadb 100644 --- a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go +++ b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go @@ -21,6 +21,7 @@ func Test_newTaskExecutionMetadata(t *testing.T) { "existingLabel": "existingLabelValue", } existingMetadata.OnGetLabels().Return(existingLabels) + existingMetadata.OnGetSecurityContext().Return(core.SecurityContext{RunAs: &core.Identity{}}) actual, err := newTaskExecutionMetadata(existingMetadata, &core.TaskTemplate{}) assert.NoError(t, err) @@ -40,6 +41,7 @@ func Test_newTaskExecutionMetadata(t *testing.T) { "existingLabel": "existingLabelValue", } existingMetadata.OnGetLabels().Return(existingLabels) + existingMetadata.OnGetSecurityContext().Return(core.SecurityContext{RunAs: &core.Identity{}}) actual, err := newTaskExecutionMetadata(existingMetadata, &core.TaskTemplate{ SecurityContext: &core.SecurityContext{ @@ -64,6 +66,26 @@ func Test_newTaskExecutionMetadata(t *testing.T) { "inject-flyte-secrets": "true", }, actual.GetLabels()) }) + + t.Run("Inject exec identity", func(t *testing.T) { + + existingMetadata := &mocks.TaskExecutionMetadata{} + existingAnnotations := map[string]string{} + existingMetadata.OnGetAnnotations().Return(existingAnnotations) + + existingMetadata.OnGetSecurityContext().Return(core.SecurityContext{RunAs: &core.Identity{ExecutionIdentity: "test-exec-identity"}}) + + existingLabels := map[string]string{ + "existingLabel": "existingLabelValue", + } + existingMetadata.OnGetLabels().Return(existingLabels) + + actual, err := newTaskExecutionMetadata(existingMetadata, &core.TaskTemplate{}) + assert.NoError(t, err) + + assert.Equal(t, 2, len(actual.GetLabels())) + assert.Equal(t, "test-exec-identity", actual.GetLabels()[executionIdentityVariable]) + }) } func Test_newTaskExecutionContext(t *testing.T) {