From 8d4c2700f74906cef2ef9da5e0f296239ebda710 Mon Sep 17 00:00:00 2001 From: squiishyy Date: Thu, 4 Jan 2024 11:02:29 -0800 Subject: [PATCH] deleteTrigger -> deactivateTrigger --- .../flyteidl/artifact/artifacts.grpc.pb.cc | 38 +- .../flyteidl/artifact/artifacts.grpc.pb.h | 132 +++--- .../pb-cpp/flyteidl/artifact/artifacts.pb.cc | 390 ++++++++--------- .../pb-cpp/flyteidl/artifact/artifacts.pb.h | 130 +++--- .../pb-go/flyteidl/artifact/artifacts.pb.go | 306 +++++++------- .../flyteidl/artifact/artifacts.pb.gw.go | 41 ++ .../flyteidl/artifact/artifacts.swagger.json | 36 +- .../pb-java/flyteidl/artifact/Artifacts.java | 394 +++++++++--------- .../flyteidl/artifact/artifacts_pb2.py | 44 +- .../flyteidl/artifact/artifacts_pb2.pyi | 4 +- .../flyteidl/artifact/artifacts_pb2_grpc.py | 26 +- flyteidl/gen/pb_rust/flyteidl.artifact.rs | 4 +- .../protos/flyteidl/artifact/artifacts.proto | 11 +- 13 files changed, 822 insertions(+), 734 deletions(-) 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 bcf5f3f71a0..80aff7ed555 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 1fbe28eb23a..8de7e34e02b 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 b42d3e14c6e..dc5c780bf23 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,77 +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\275\016\n\020ArtifactReg" - "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" - "act.CreateArtifactRequest\032).flyteidl.art" - "ifact.CreateArtifactResponse\"\000\022\361\004\n\013GetAr" - "tifact\022%.flyteidl.artifact.GetArtifactRe" - "quest\032&.flyteidl.artifact.GetArtifactRes" - "ponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/v1/artif" - "actsZ\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/artifac" - "ts/api/v1/artifact/id/{query.artifact_id" - ".artifact_key.project}/{query.artifact_i" - "d.artifact_key.domain}/{query.artifact_i" - "d.artifact_key.name}Z\233\001\022\230\001/artifacts/api" - "/v1/artifact/tag/{query.artifact_tag.art" - "ifact_key.project}/{query.artifact_tag.a" - "rtifact_key.domain}/{query.artifact_tag." - "artifact_key.name}\022\226\002\n\017SearchArtifacts\022)" - ".flyteidl.artifact.SearchArtifactsReques" - "t\032*.flyteidl.artifact.SearchArtifactsRes" - "ponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/v1/searc" - "h/{artifact_key.project}/{artifact_key.d" - "omain}/{artifact_key.name}ZG\022E/artifacts" - "/api/v1/search/{artifact_key.project}/{a" - "rtifact_key.domain}\022d\n\rCreateTrigger\022\'.f" - "lyteidl.artifact.CreateTriggerRequest\032(." - "flyteidl.artifact.CreateTriggerResponse\"" - "\000\022d\n\rDeleteTrigger\022\'.flyteidl.artifact.D" - "eleteTriggerRequest\032(.flyteidl.artifact." - "DeleteTriggerResponse\"\000\022O\n\006AddTag\022 .flyt" - "eidl.artifact.AddTagRequest\032!.flyteidl.a" - "rtifact.AddTagResponse\"\000\022e\n\020RegisterProd" - "ucer\022*.flyteidl.artifact.RegisterProduce" - "rRequest\032#.flyteidl.artifact.RegisterRes" - "ponse\"\000\022e\n\020RegisterConsumer\022*.flyteidl.a" - "rtifact.RegisterConsumerRequest\032#.flytei" - "dl.artifact.RegisterResponse\"\000\022m\n\022SetExe" - "cutionInputs\022).flyteidl.artifact.Executi" - "onInputsRequest\032*.flyteidl.artifact.Exec" - "utionInputsResponse\"\000\022\330\001\n\022FindByWorkflow" - "Exec\022,.flyteidl.artifact.FindByWorkflowE" - "xecRequest\032*.flyteidl.artifact.SearchArt" - "ifactsResponse\"h\202\323\344\223\002b\022`/artifacts/api/v" - "1/search/execution/{exec_id.project}/{ex" - "ec_id.domain}/{exec_id.name}/{direction}" - "B@Z>github.com/flyteorg/flyte/flyteidl/g" - "en/pb-go/flyteidl/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)\"$/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, 4874, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4942, }; void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { @@ -7136,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_); @@ -7173,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; @@ -7214,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; @@ -7259,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; @@ -7292,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; @@ -7317,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; @@ -7337,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()) { @@ -7366,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; @@ -7393,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]; } @@ -7429,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; @@ -7480,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; @@ -7508,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; @@ -7525,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; @@ -7544,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; @@ -7557,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()) { @@ -7579,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; @@ -7603,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]; } @@ -9757,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 bbdb47cfa85..e64c3003b54 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 524d0ce932c..114c6202c2b 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,109 +1251,111 @@ func init() { func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } var fileDescriptor_804518da5936dedb = []byte{ - // 1628 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x73, 0xdb, 0x44, - 0x1b, 0x8f, 0x62, 0xc7, 0x8e, 0x1f, 0xc7, 0x69, 0xb2, 0xcd, 0x9b, 0x38, 0x6e, 0xdf, 0xb7, 0xa9, - 0xfa, 0x02, 0x69, 0x29, 0xf6, 0x34, 0x65, 0x4a, 0xd3, 0x99, 0x32, 0xa4, 0x4d, 0xe9, 0x98, 0x7e, - 0xa5, 0x4a, 0x0a, 0x34, 0xc3, 0x8c, 0xbb, 0x96, 0x36, 0x8a, 0x1a, 0x59, 0x52, 0x57, 0xeb, 0x04, - 0x4d, 0xa7, 0x53, 0x86, 0x6b, 0x6f, 0xc0, 0x00, 0x03, 0x57, 0x6e, 0x5c, 0x18, 0x38, 0xf3, 0x0f, - 0x70, 0xe5, 0xc2, 0x81, 0x23, 0xff, 0x00, 0x47, 0x86, 0x0b, 0xa3, 0x95, 0x56, 0x1f, 0xb6, 0xec, - 0x24, 0x6d, 0x0f, 0xdc, 0xb4, 0xcf, 0xfe, 0x9e, 0xcf, 0x7d, 0xbe, 0x6c, 0x38, 0xb9, 0x65, 0x7a, - 0x8c, 0x18, 0x9a, 0xd9, 0xc0, 0x94, 0x19, 0x5b, 0x58, 0x65, 0xd1, 0x87, 0x5b, 0x77, 0xa8, 0xcd, - 0x6c, 0x34, 0x2d, 0x20, 0x75, 0x71, 0x53, 0x9b, 0xd7, 0x6d, 0x5b, 0x37, 0x49, 0x83, 0x03, 0xda, - 0xdd, 0xad, 0x06, 0xb6, 0xbc, 0x00, 0x5d, 0x3b, 0x1e, 0x5e, 0x61, 0xc7, 0x68, 0x60, 0xcb, 0xb2, - 0x19, 0x66, 0x86, 0x6d, 0x85, 0xb2, 0x6a, 0x0b, 0xb1, 0x3a, 0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0x16, 0xf7, 0x07, 0x46, 0x25, 0xaf, 0x41, 0x25, 0x35, - 0x15, 0x33, 0xb5, 0x64, 0x4d, 0xe2, 0x4c, 0x2d, 0xd9, 0x03, 0x76, 0x04, 0xdd, 0x81, 0x42, 0xb0, - 0x5c, 0xa0, 0xac, 0x4d, 0x34, 0xb5, 0xf8, 0xd4, 0x4e, 0x0e, 0x41, 0x44, 0x02, 0x49, 0xdc, 0xf3, - 0xa3, 0x91, 0x9d, 0x95, 0x0a, 0x03, 0xa6, 0x6a, 0xed, 0xd4, 0x10, 0x6c, 0xb6, 0x9a, 0x68, 0x72, - 0x0e, 0x53, 0xd3, 0x33, 0xdd, 0x0e, 0xaa, 0xa6, 0x03, 0x68, 0x9d, 0xb0, 0x9e, 0x99, 0x90, 0x59, - 0x05, 0xd9, 0x33, 0x2d, 0xb3, 0x0a, 0x06, 0x8c, 0x18, 0x79, 0x04, 0xfd, 0x26, 0x01, 0xea, 0x5f, - 0x62, 0xd1, 0xd9, 0xc3, 0xec, 0xba, 0x87, 0x2a, 0xbc, 0x6d, 0x5e, 0x77, 0x6d, 0xf4, 0x60, 0x60, - 0x65, 0x44, 0x13, 0xb5, 0xf1, 0x38, 0xdc, 0xe3, 0x13, 0xe5, 0x21, 0x28, 0x51, 0xd9, 0x09, 0x42, - 0xd8, 0x95, 0xa3, 0x5d, 0xfb, 0xc9, 0x95, 0x77, 0x36, 0xdf, 0xd6, 0x0d, 0xb6, 0xdd, 0x6d, 0xd7, - 0x55, 0xbb, 0xd3, 0xe0, 0x16, 0xda, 0x54, 0x0f, 0x3e, 0x1a, 0xd1, 0x5f, 0x78, 0x3a, 0xb1, 0x1a, - 0x4e, 0xfb, 0x0d, 0xdd, 0x6e, 0xf4, 0xfd, 0xff, 0xd9, 0x2e, 0xf0, 0x9f, 0xec, 0xe7, 0xff, 0x09, - 0x00, 0x00, 0xff, 0xff, 0xb7, 0x15, 0xb1, 0x36, 0x1b, 0x15, 0x00, 0x00, + // 1655 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0x46, + 0x1a, 0x0f, 0x2d, 0x59, 0xb2, 0x3e, 0xd9, 0x8e, 0x3d, 0xc9, 0xda, 0xb2, 0x9c, 0xdd, 0x38, 0x4c, + 0x76, 0xd7, 0x79, 0xac, 0x88, 0x38, 0x8b, 0x6c, 0x6c, 0x20, 0x8b, 0x3a, 0x71, 0x1a, 0xa8, 0x79, + 0x39, 0xb4, 0xd3, 0x36, 0x46, 0x01, 0x65, 0x44, 0x8e, 0x65, 0xc6, 0x14, 0xc9, 0x0c, 0x47, 0x76, + 0x89, 0x20, 0x48, 0xd1, 0x6b, 0x6e, 0x6d, 0xd1, 0x16, 0xed, 0xa1, 0x97, 0xde, 0x7a, 0x29, 0xda, + 0xff, 0xa2, 0xd7, 0x5e, 0x7a, 0xe8, 0xb1, 0xff, 0x40, 0x8f, 0x41, 0x2f, 0x05, 0x87, 0x1c, 0x92, + 0x12, 0x29, 0x59, 0x4e, 0x72, 0xe8, 0x8d, 0xf3, 0xcd, 0xef, 0x7b, 0xce, 0xf7, 0x92, 0xe0, 0xd4, + 0xb6, 0xe9, 0x31, 0x62, 0xe8, 0xa6, 0x82, 0x29, 0x33, 0xb6, 0xb1, 0xc6, 0xa2, 0x0f, 0xb7, 0xe6, + 0x50, 0x9b, 0xd9, 0x68, 0x5a, 0x40, 0x6a, 0xe2, 0xa6, 0x3a, 0xd7, 0xb2, 0xed, 0x96, 0x49, 0x14, + 0x0e, 0x68, 0x76, 0xb6, 0x15, 0x6c, 0x79, 0x01, 0xba, 0x7a, 0x22, 0xbc, 0xc2, 0x8e, 0xa1, 0x60, + 0xcb, 0xb2, 0x19, 0x66, 0x86, 0x6d, 0x85, 0xb2, 0xaa, 0x0b, 0xb1, 0x3a, 0xbd, 0x6d, 0x58, 0x8a, + 0x89, 0x3b, 0x96, 0xb6,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f0, 0x9f, 0xfd, 0x97, 0xfe, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x08, + 0x77, 0xe7, 0xb4, 0x5f, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1372,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) @@ -1424,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 } @@ -1484,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) @@ -1508,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") @@ -1603,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) } @@ -1732,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 b5c81562fb9..82ff5500c32 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("POST", 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() @@ -616,6 +653,8 @@ var ( 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_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, 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"}, "")) ) @@ -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 c1602bc9a45..2d49be9c6ea 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -674,6 +674,32 @@ "ArtifactRegistry" ] } + }, + "/artifacts/api/v1/trigger/deactivate": { + "post": { + "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 e5a8a8e704d..4b7e59a7c85 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,72 +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\275\016\n\020ArtifactReg" + - "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + - "act.CreateArtifactRequest\032).flyteidl.art" + - "ifact.CreateArtifactResponse\"\000\022\361\004\n\013GetAr" + - "tifact\022%.flyteidl.artifact.GetArtifactRe" + - "quest\032&.flyteidl.artifact.GetArtifactRes" + - "ponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/v1/artif" + - "actsZ\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/artifac" + - "ts/api/v1/artifact/id/{query.artifact_id" + - ".artifact_key.project}/{query.artifact_i" + - "d.artifact_key.domain}/{query.artifact_i" + - "d.artifact_key.name}Z\233\001\022\230\001/artifacts/api" + - "/v1/artifact/tag/{query.artifact_tag.art" + - "ifact_key.project}/{query.artifact_tag.a" + - "rtifact_key.domain}/{query.artifact_tag." + - "artifact_key.name}\022\226\002\n\017SearchArtifacts\022)" + - ".flyteidl.artifact.SearchArtifactsReques" + - "t\032*.flyteidl.artifact.SearchArtifactsRes" + - "ponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/v1/searc" + - "h/{artifact_key.project}/{artifact_key.d" + - "omain}/{artifact_key.name}ZG\022E/artifacts" + - "/api/v1/search/{artifact_key.project}/{a" + - "rtifact_key.domain}\022d\n\rCreateTrigger\022\'.f" + - "lyteidl.artifact.CreateTriggerRequest\032(." + - "flyteidl.artifact.CreateTriggerResponse\"" + - "\000\022d\n\rDeleteTrigger\022\'.flyteidl.artifact.D" + - "eleteTriggerRequest\032(.flyteidl.artifact." + - "DeleteTriggerResponse\"\000\022O\n\006AddTag\022 .flyt" + - "eidl.artifact.AddTagRequest\032!.flyteidl.a" + - "rtifact.AddTagResponse\"\000\022e\n\020RegisterProd" + - "ucer\022*.flyteidl.artifact.RegisterProduce" + - "rRequest\032#.flyteidl.artifact.RegisterRes" + - "ponse\"\000\022e\n\020RegisterConsumer\022*.flyteidl.a" + - "rtifact.RegisterConsumerRequest\032#.flytei" + - "dl.artifact.RegisterResponse\"\000\022m\n\022SetExe" + - "cutionInputs\022).flyteidl.artifact.Executi" + - "onInputsRequest\032*.flyteidl.artifact.Exec" + - "utionInputsResponse\"\000\022\330\001\n\022FindByWorkflow" + - "Exec\022,.flyteidl.artifact.FindByWorkflowE" + - "xecRequest\032*.flyteidl.artifact.SearchArt" + - "ifactsResponse\"h\202\323\344\223\002b\022`/artifacts/api/v" + - "1/search/execution/{exec_id.project}/{ex" + - "ec_id.domain}/{exec_id.name}/{direction}" + - "B@Z>github.com/flyteorg/flyte/flyteidl/g" + - "en/pb-go/flyteidl/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)\"$/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() { @@ -20184,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 15786b0beaa..822e23b85b2 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\xbd\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\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\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') +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*\"$/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) @@ -37,6 +37,8 @@ _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\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*\"$/artifacts/api/v1/trigger/deactivate' _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._options = None _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 @@ -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=5329 + _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 91c389b4568..61c28f21d48 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 b989cdc000f..95ddd8107eb 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 e3bc2c72fa2..d35149b7405 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 2336490e78a..fc408a5fa81 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 @@ -205,7 +205,12 @@ service ArtifactRegistry { rpc CreateTrigger (CreateTriggerRequest) returns (CreateTriggerResponse) {} - rpc DeleteTrigger (DeleteTriggerRequest) returns (DeleteTriggerResponse) {} + rpc DeactivateTrigger (DeactivateTriggerRequest) returns (DeactivateTriggerResponse) { + option (google.api.http) = { + post: "/artifacts/api/v1/trigger/deactivate" + body: "*" + }; + } rpc AddTag(AddTagRequest) returns (AddTagResponse) {}