From 91c3d7b97a2850c014aa5ce4ffa4caeb6b918446 Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Mon, 4 Aug 2025 16:50:33 +0800 Subject: [PATCH] feat: introduce reconcile interface (#264) * feat: introduce reconcile interface * chore: gen set_header * chore: add comments * feat: return procedure_id * feat: add `ResolveStragey` and `Parallelism` to request * chore: apply suggestions from CR --- c++/greptime/v1/meta/procedure.grpc.pb.cc | 48 +- c++/greptime/v1/meta/procedure.grpc.pb.h | 204 +- c++/greptime/v1/meta/procedure.pb.cc | 1808 +++++- c++/greptime/v1/meta/procedure.pb.h | 1944 +++++++ go/greptime/v1/ddl.pb.go | 1841 +++--- go/greptime/v1/meta/procedure.pb.go | 712 ++- go/greptime/v1/meta/procedure_grpc.pb.go | 38 + .../main/java/greptime/v1/meta/Procedure.java | 5057 ++++++++++++++++- proto/greptime/v1/meta/procedure.proto | 43 + src/v1/meta.rs | 1 + 10 files changed, 10392 insertions(+), 1304 deletions(-) diff --git a/c++/greptime/v1/meta/procedure.grpc.pb.cc b/c++/greptime/v1/meta/procedure.grpc.pb.cc index 7863f7e..4c8beb7 100644 --- a/c++/greptime/v1/meta/procedure.grpc.pb.cc +++ b/c++/greptime/v1/meta/procedure.grpc.pb.cc @@ -26,6 +26,7 @@ namespace meta { static const char* ProcedureService_method_names[] = { "/greptime.v1.meta.ProcedureService/query", "/greptime.v1.meta.ProcedureService/ddl", + "/greptime.v1.meta.ProcedureService/reconcile", "/greptime.v1.meta.ProcedureService/migrate", "/greptime.v1.meta.ProcedureService/details", }; @@ -39,8 +40,9 @@ std::unique_ptr< ProcedureService::Stub> ProcedureService::NewStub(const std::sh ProcedureService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) : channel_(channel), rpcmethod_query_(ProcedureService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ddl_(ProcedureService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_migrate_(ProcedureService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_details_(ProcedureService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_reconcile_(ProcedureService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_migrate_(ProcedureService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_details_(ProcedureService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status ProcedureService::Stub::query(::grpc::ClientContext* context, const ::greptime::v1::meta::QueryProcedureRequest& request, ::greptime::v1::meta::ProcedureStateResponse* response) { @@ -89,6 +91,29 @@ void ProcedureService::Stub::async::ddl(::grpc::ClientContext* context, const :: return result; } +::grpc::Status ProcedureService::Stub::reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::greptime::v1::meta::ReconcileResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_reconcile_, context, request, response); +} + +void ProcedureService::Stub::async::reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_reconcile_, context, request, response, std::move(f)); +} + +void ProcedureService::Stub::async::reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_reconcile_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>* ProcedureService::Stub::PrepareAsyncreconcileRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::greptime::v1::meta::ReconcileResponse, ::greptime::v1::meta::ReconcileRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_reconcile_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>* ProcedureService::Stub::AsyncreconcileRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncreconcileRaw(context, request, cq); + result->StartCall(); + return result; +} + ::grpc::Status ProcedureService::Stub::migrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::greptime::v1::meta::MigrateRegionResponse* response) { return ::grpc::internal::BlockingUnaryCall< ::greptime::v1::meta::MigrateRegionRequest, ::greptime::v1::meta::MigrateRegionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_migrate_, context, request, response); } @@ -159,6 +184,16 @@ ProcedureService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( ProcedureService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ProcedureService::Service, ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](ProcedureService::Service* service, + ::grpc::ServerContext* ctx, + const ::greptime::v1::meta::ReconcileRequest* req, + ::greptime::v1::meta::ReconcileResponse* resp) { + return service->reconcile(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ProcedureService_method_names[3], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< ProcedureService::Service, ::greptime::v1::meta::MigrateRegionRequest, ::greptime::v1::meta::MigrateRegionResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](ProcedureService::Service* service, ::grpc::ServerContext* ctx, @@ -167,7 +202,7 @@ ProcedureService::Service::Service() { return service->migrate(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - ProcedureService_method_names[3], + ProcedureService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< ProcedureService::Service, ::greptime::v1::meta::ProcedureDetailRequest, ::greptime::v1::meta::ProcedureDetailResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](ProcedureService::Service* service, @@ -195,6 +230,13 @@ ProcedureService::Service::~Service() { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status ProcedureService::Service::reconcile(::grpc::ServerContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status ProcedureService::Service::migrate(::grpc::ServerContext* context, const ::greptime::v1::meta::MigrateRegionRequest* request, ::greptime::v1::meta::MigrateRegionResponse* response) { (void) context; (void) request; diff --git a/c++/greptime/v1/meta/procedure.grpc.pb.h b/c++/greptime/v1/meta/procedure.grpc.pb.h index 8bf7d27..0bee70f 100644 --- a/c++/greptime/v1/meta/procedure.grpc.pb.h +++ b/c++/greptime/v1/meta/procedure.grpc.pb.h @@ -58,6 +58,14 @@ class ProcedureService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::DdlTaskResponse>> PrepareAsyncddl(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::DdlTaskResponse>>(PrepareAsyncddlRaw(context, request, cq)); } + // Submits a reconcile task + virtual ::grpc::Status reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::greptime::v1::meta::ReconcileResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ReconcileResponse>> Asyncreconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ReconcileResponse>>(AsyncreconcileRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ReconcileResponse>> PrepareAsyncreconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ReconcileResponse>>(PrepareAsyncreconcileRaw(context, request, cq)); + } // Submits a region migration task virtual ::grpc::Status migrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::greptime::v1::meta::MigrateRegionResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::MigrateRegionResponse>> Asyncmigrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::grpc::CompletionQueue* cq) { @@ -83,6 +91,9 @@ class ProcedureService final { // Submits a DDL task virtual void ddl(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest* request, ::greptime::v1::meta::DdlTaskResponse* response, std::function) = 0; virtual void ddl(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest* request, ::greptime::v1::meta::DdlTaskResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Submits a reconcile task + virtual void reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response, std::function) = 0; + virtual void reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; // Submits a region migration task virtual void migrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest* request, ::greptime::v1::meta::MigrateRegionResponse* response, std::function) = 0; virtual void migrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest* request, ::greptime::v1::meta::MigrateRegionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; @@ -98,6 +109,8 @@ class ProcedureService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ProcedureStateResponse>* PrepareAsyncqueryRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::QueryProcedureRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::DdlTaskResponse>* AsyncddlRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::DdlTaskResponse>* PrepareAsyncddlRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ReconcileResponse>* AsyncreconcileRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ReconcileResponse>* PrepareAsyncreconcileRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::MigrateRegionResponse>* AsyncmigrateRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::MigrateRegionResponse>* PrepareAsyncmigrateRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::greptime::v1::meta::ProcedureDetailResponse>* AsyncdetailsRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ProcedureDetailRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -120,6 +133,13 @@ class ProcedureService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::DdlTaskResponse>> PrepareAsyncddl(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::DdlTaskResponse>>(PrepareAsyncddlRaw(context, request, cq)); } + ::grpc::Status reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::greptime::v1::meta::ReconcileResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>> Asyncreconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>>(AsyncreconcileRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>> PrepareAsyncreconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>>(PrepareAsyncreconcileRaw(context, request, cq)); + } ::grpc::Status migrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::greptime::v1::meta::MigrateRegionResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::MigrateRegionResponse>> Asyncmigrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::MigrateRegionResponse>>(AsyncmigrateRaw(context, request, cq)); @@ -141,6 +161,8 @@ class ProcedureService final { void query(::grpc::ClientContext* context, const ::greptime::v1::meta::QueryProcedureRequest* request, ::greptime::v1::meta::ProcedureStateResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void ddl(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest* request, ::greptime::v1::meta::DdlTaskResponse* response, std::function) override; void ddl(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest* request, ::greptime::v1::meta::DdlTaskResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response, std::function) override; + void reconcile(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void migrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest* request, ::greptime::v1::meta::MigrateRegionResponse* response, std::function) override; void migrate(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest* request, ::greptime::v1::meta::MigrateRegionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void details(::grpc::ClientContext* context, const ::greptime::v1::meta::ProcedureDetailRequest* request, ::greptime::v1::meta::ProcedureDetailResponse* response, std::function) override; @@ -160,12 +182,15 @@ class ProcedureService final { ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ProcedureStateResponse>* PrepareAsyncqueryRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::QueryProcedureRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::DdlTaskResponse>* AsyncddlRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::DdlTaskResponse>* PrepareAsyncddlRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::DdlTaskRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>* AsyncreconcileRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ReconcileResponse>* PrepareAsyncreconcileRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ReconcileRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::MigrateRegionResponse>* AsyncmigrateRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::MigrateRegionResponse>* PrepareAsyncmigrateRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::MigrateRegionRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ProcedureDetailResponse>* AsyncdetailsRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ProcedureDetailRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::greptime::v1::meta::ProcedureDetailResponse>* PrepareAsyncdetailsRaw(::grpc::ClientContext* context, const ::greptime::v1::meta::ProcedureDetailRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_query_; const ::grpc::internal::RpcMethod rpcmethod_ddl_; + const ::grpc::internal::RpcMethod rpcmethod_reconcile_; const ::grpc::internal::RpcMethod rpcmethod_migrate_; const ::grpc::internal::RpcMethod rpcmethod_details_; }; @@ -179,6 +204,8 @@ class ProcedureService final { virtual ::grpc::Status query(::grpc::ServerContext* context, const ::greptime::v1::meta::QueryProcedureRequest* request, ::greptime::v1::meta::ProcedureStateResponse* response); // Submits a DDL task virtual ::grpc::Status ddl(::grpc::ServerContext* context, const ::greptime::v1::meta::DdlTaskRequest* request, ::greptime::v1::meta::DdlTaskResponse* response); + // Submits a reconcile task + virtual ::grpc::Status reconcile(::grpc::ServerContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response); // Submits a region migration task virtual ::grpc::Status migrate(::grpc::ServerContext* context, const ::greptime::v1::meta::MigrateRegionRequest* request, ::greptime::v1::meta::MigrateRegionResponse* response); // Query all submitted procedures details @@ -225,12 +252,32 @@ class ProcedureService final { } }; template + class WithAsyncMethod_reconcile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_reconcile() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_reconcile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status reconcile(::grpc::ServerContext* /*context*/, const ::greptime::v1::meta::ReconcileRequest* /*request*/, ::greptime::v1::meta::ReconcileResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void Requestreconcile(::grpc::ServerContext* context, ::greptime::v1::meta::ReconcileRequest* request, ::grpc::ServerAsyncResponseWriter< ::greptime::v1::meta::ReconcileResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_migrate : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_migrate() { - ::grpc::Service::MarkMethodAsync(2); + ::grpc::Service::MarkMethodAsync(3); } ~WithAsyncMethod_migrate() override { BaseClassMustBeDerivedFromService(this); @@ -241,7 +288,7 @@ class ProcedureService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void Requestmigrate(::grpc::ServerContext* context, ::greptime::v1::meta::MigrateRegionRequest* request, ::grpc::ServerAsyncResponseWriter< ::greptime::v1::meta::MigrateRegionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -250,7 +297,7 @@ class ProcedureService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_details() { - ::grpc::Service::MarkMethodAsync(3); + ::grpc::Service::MarkMethodAsync(4); } ~WithAsyncMethod_details() override { BaseClassMustBeDerivedFromService(this); @@ -261,10 +308,10 @@ class ProcedureService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void Requestdetails(::grpc::ServerContext* context, ::greptime::v1::meta::ProcedureDetailRequest* request, ::grpc::ServerAsyncResponseWriter< ::greptime::v1::meta::ProcedureDetailResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_query > > > AsyncService; + typedef WithAsyncMethod_query > > > > AsyncService; template class WithCallbackMethod_query : public BaseClass { private: @@ -320,18 +367,45 @@ class ProcedureService final { ::grpc::CallbackServerContext* /*context*/, const ::greptime::v1::meta::DdlTaskRequest* /*request*/, ::greptime::v1::meta::DdlTaskResponse* /*response*/) { return nullptr; } }; template + class WithCallbackMethod_reconcile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_reconcile() { + ::grpc::Service::MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::greptime::v1::meta::ReconcileRequest* request, ::greptime::v1::meta::ReconcileResponse* response) { return this->reconcile(context, request, response); }));} + void SetMessageAllocatorFor_reconcile( + ::grpc::MessageAllocator< ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); + static_cast<::grpc::internal::CallbackUnaryHandler< ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_reconcile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status reconcile(::grpc::ServerContext* /*context*/, const ::greptime::v1::meta::ReconcileRequest* /*request*/, ::greptime::v1::meta::ReconcileResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* reconcile( + ::grpc::CallbackServerContext* /*context*/, const ::greptime::v1::meta::ReconcileRequest* /*request*/, ::greptime::v1::meta::ReconcileResponse* /*response*/) { return nullptr; } + }; + template class WithCallbackMethod_migrate : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_migrate() { - ::grpc::Service::MarkMethodCallback(2, + ::grpc::Service::MarkMethodCallback(3, new ::grpc::internal::CallbackUnaryHandler< ::greptime::v1::meta::MigrateRegionRequest, ::greptime::v1::meta::MigrateRegionResponse>( [this]( ::grpc::CallbackServerContext* context, const ::greptime::v1::meta::MigrateRegionRequest* request, ::greptime::v1::meta::MigrateRegionResponse* response) { return this->migrate(context, request, response); }));} void SetMessageAllocatorFor_migrate( ::grpc::MessageAllocator< ::greptime::v1::meta::MigrateRegionRequest, ::greptime::v1::meta::MigrateRegionResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); static_cast<::grpc::internal::CallbackUnaryHandler< ::greptime::v1::meta::MigrateRegionRequest, ::greptime::v1::meta::MigrateRegionResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -352,13 +426,13 @@ class ProcedureService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_details() { - ::grpc::Service::MarkMethodCallback(3, + ::grpc::Service::MarkMethodCallback(4, new ::grpc::internal::CallbackUnaryHandler< ::greptime::v1::meta::ProcedureDetailRequest, ::greptime::v1::meta::ProcedureDetailResponse>( [this]( ::grpc::CallbackServerContext* context, const ::greptime::v1::meta::ProcedureDetailRequest* request, ::greptime::v1::meta::ProcedureDetailResponse* response) { return this->details(context, request, response); }));} void SetMessageAllocatorFor_details( ::grpc::MessageAllocator< ::greptime::v1::meta::ProcedureDetailRequest, ::greptime::v1::meta::ProcedureDetailResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); static_cast<::grpc::internal::CallbackUnaryHandler< ::greptime::v1::meta::ProcedureDetailRequest, ::greptime::v1::meta::ProcedureDetailResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -373,7 +447,7 @@ class ProcedureService final { virtual ::grpc::ServerUnaryReactor* details( ::grpc::CallbackServerContext* /*context*/, const ::greptime::v1::meta::ProcedureDetailRequest* /*request*/, ::greptime::v1::meta::ProcedureDetailResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_query > > > CallbackService; + typedef WithCallbackMethod_query > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_query : public BaseClass { @@ -410,12 +484,29 @@ class ProcedureService final { } }; template + class WithGenericMethod_reconcile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_reconcile() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_reconcile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status reconcile(::grpc::ServerContext* /*context*/, const ::greptime::v1::meta::ReconcileRequest* /*request*/, ::greptime::v1::meta::ReconcileResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_migrate : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_migrate() { - ::grpc::Service::MarkMethodGeneric(2); + ::grpc::Service::MarkMethodGeneric(3); } ~WithGenericMethod_migrate() override { BaseClassMustBeDerivedFromService(this); @@ -432,7 +523,7 @@ class ProcedureService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_details() { - ::grpc::Service::MarkMethodGeneric(3); + ::grpc::Service::MarkMethodGeneric(4); } ~WithGenericMethod_details() override { BaseClassMustBeDerivedFromService(this); @@ -484,12 +575,32 @@ class ProcedureService final { } }; template + class WithRawMethod_reconcile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_reconcile() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_reconcile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status reconcile(::grpc::ServerContext* /*context*/, const ::greptime::v1::meta::ReconcileRequest* /*request*/, ::greptime::v1::meta::ReconcileResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void Requestreconcile(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_migrate : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_migrate() { - ::grpc::Service::MarkMethodRaw(2); + ::grpc::Service::MarkMethodRaw(3); } ~WithRawMethod_migrate() override { BaseClassMustBeDerivedFromService(this); @@ -500,7 +611,7 @@ class ProcedureService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void Requestmigrate(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -509,7 +620,7 @@ class ProcedureService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_details() { - ::grpc::Service::MarkMethodRaw(3); + ::grpc::Service::MarkMethodRaw(4); } ~WithRawMethod_details() override { BaseClassMustBeDerivedFromService(this); @@ -520,7 +631,7 @@ class ProcedureService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void Requestdetails(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -568,12 +679,34 @@ class ProcedureService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template + class WithRawCallbackMethod_reconcile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_reconcile() { + ::grpc::Service::MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->reconcile(context, request, response); })); + } + ~WithRawCallbackMethod_reconcile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status reconcile(::grpc::ServerContext* /*context*/, const ::greptime::v1::meta::ReconcileRequest* /*request*/, ::greptime::v1::meta::ReconcileResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* reconcile( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template class WithRawCallbackMethod_migrate : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_migrate() { - ::grpc::Service::MarkMethodRawCallback(2, + ::grpc::Service::MarkMethodRawCallback(3, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->migrate(context, request, response); })); @@ -595,7 +728,7 @@ class ProcedureService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_details() { - ::grpc::Service::MarkMethodRawCallback(3, + ::grpc::Service::MarkMethodRawCallback(4, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->details(context, request, response); })); @@ -666,12 +799,39 @@ class ProcedureService final { virtual ::grpc::Status Streamedddl(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::greptime::v1::meta::DdlTaskRequest,::greptime::v1::meta::DdlTaskResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_reconcile : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_reconcile() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< + ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::greptime::v1::meta::ReconcileRequest, ::greptime::v1::meta::ReconcileResponse>* streamer) { + return this->Streamedreconcile(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_reconcile() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status reconcile(::grpc::ServerContext* /*context*/, const ::greptime::v1::meta::ReconcileRequest* /*request*/, ::greptime::v1::meta::ReconcileResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status Streamedreconcile(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::greptime::v1::meta::ReconcileRequest,::greptime::v1::meta::ReconcileResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_migrate : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_migrate() { - ::grpc::Service::MarkMethodStreamed(2, + ::grpc::Service::MarkMethodStreamed(3, new ::grpc::internal::StreamedUnaryHandler< ::greptime::v1::meta::MigrateRegionRequest, ::greptime::v1::meta::MigrateRegionResponse>( [this](::grpc::ServerContext* context, @@ -698,7 +858,7 @@ class ProcedureService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_details() { - ::grpc::Service::MarkMethodStreamed(3, + ::grpc::Service::MarkMethodStreamed(4, new ::grpc::internal::StreamedUnaryHandler< ::greptime::v1::meta::ProcedureDetailRequest, ::greptime::v1::meta::ProcedureDetailResponse>( [this](::grpc::ServerContext* context, @@ -719,9 +879,9 @@ class ProcedureService final { // replace default version of method with streamed unary virtual ::grpc::Status Streameddetails(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::greptime::v1::meta::ProcedureDetailRequest,::greptime::v1::meta::ProcedureDetailResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_query > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_query > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_query > > > StreamedService; + typedef WithStreamedUnaryMethod_query > > > > StreamedService; }; } // namespace meta diff --git a/c++/greptime/v1/meta/procedure.pb.cc b/c++/greptime/v1/meta/procedure.pb.cc index ba5f16e..303b6fd 100644 --- a/c++/greptime/v1/meta/procedure.pb.cc +++ b/c++/greptime/v1/meta/procedure.pb.cc @@ -98,11 +98,87 @@ struct ProcedureDetailResponseDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProcedureDetailResponseDefaultTypeInternal _ProcedureDetailResponse_default_instance_; +PROTOBUF_CONSTEXPR ReconcileTable::ReconcileTable( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.schema_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.resolve_strategy_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ReconcileTableDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReconcileTableDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ReconcileTableDefaultTypeInternal() {} + union { + ReconcileTable _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReconcileTableDefaultTypeInternal _ReconcileTable_default_instance_; +PROTOBUF_CONSTEXPR ReconcileDatabase::ReconcileDatabase( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.database_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.parallelism_)*/0u + , /*decltype(_impl_.resolve_strategy_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ReconcileDatabaseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReconcileDatabaseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ReconcileDatabaseDefaultTypeInternal() {} + union { + ReconcileDatabase _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReconcileDatabaseDefaultTypeInternal _ReconcileDatabase_default_instance_; +PROTOBUF_CONSTEXPR ReconcileCatalog::ReconcileCatalog( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.parallelism_)*/0u + , /*decltype(_impl_.resolve_strategy_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ReconcileCatalogDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReconcileCatalogDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ReconcileCatalogDefaultTypeInternal() {} + union { + ReconcileCatalog _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReconcileCatalogDefaultTypeInternal _ReconcileCatalog_default_instance_; +PROTOBUF_CONSTEXPR ReconcileRequest::ReconcileRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.header_)*/nullptr + , /*decltype(_impl_.target_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}} {} +struct ReconcileRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReconcileRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ReconcileRequestDefaultTypeInternal() {} + union { + ReconcileRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReconcileRequestDefaultTypeInternal _ReconcileRequest_default_instance_; +PROTOBUF_CONSTEXPR ReconcileResponse::ReconcileResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.header_)*/nullptr + , /*decltype(_impl_.pid_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ReconcileResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReconcileResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ReconcileResponseDefaultTypeInternal() {} + union { + ReconcileResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReconcileResponseDefaultTypeInternal _ReconcileResponse_default_instance_; } // namespace meta } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fprocedure_2eproto[5]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fprocedure_2eproto[1]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fprocedure_2eproto[10]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fprocedure_2eproto[2]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fmeta_2fprocedure_2eproto = nullptr; const uint32_t TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -151,6 +227,54 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto::offsets[] P ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ProcedureDetailResponse, _impl_.header_), PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ProcedureDetailResponse, _impl_.procedures_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileTable, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileTable, _impl_.catalog_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileTable, _impl_.schema_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileTable, _impl_.table_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileTable, _impl_.resolve_strategy_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileDatabase, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileDatabase, _impl_.catalog_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileDatabase, _impl_.database_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileDatabase, _impl_.parallelism_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileDatabase, _impl_.resolve_strategy_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileCatalog, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileCatalog, _impl_.catalog_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileCatalog, _impl_.parallelism_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileCatalog, _impl_.resolve_strategy_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileRequest, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileRequest, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileRequest, _impl_.header_), + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileRequest, _impl_.target_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileResponse, _impl_.header_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::ReconcileResponse, _impl_.pid_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::greptime::v1::meta::ProcedureMeta)}, @@ -158,6 +282,11 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 21, -1, -1, sizeof(::greptime::v1::meta::ProcedureStateResponse)}, { 30, -1, -1, sizeof(::greptime::v1::meta::ProcedureDetailRequest)}, { 37, -1, -1, sizeof(::greptime::v1::meta::ProcedureDetailResponse)}, + { 45, -1, -1, sizeof(::greptime::v1::meta::ReconcileTable)}, + { 55, -1, -1, sizeof(::greptime::v1::meta::ReconcileDatabase)}, + { 65, -1, -1, sizeof(::greptime::v1::meta::ReconcileCatalog)}, + { 74, -1, -1, sizeof(::greptime::v1::meta::ReconcileRequest)}, + { 85, -1, -1, sizeof(::greptime::v1::meta::ReconcileResponse)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -166,6 +295,11 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::meta::_ProcedureStateResponse_default_instance_._instance, &::greptime::v1::meta::_ProcedureDetailRequest_default_instance_._instance, &::greptime::v1::meta::_ProcedureDetailResponse_default_instance_._instance, + &::greptime::v1::meta::_ReconcileTable_default_instance_._instance, + &::greptime::v1::meta::_ReconcileDatabase_default_instance_._instance, + &::greptime::v1::meta::_ReconcileCatalog_default_instance_._instance, + &::greptime::v1::meta::_ReconcileRequest_default_instance_._instance, + &::greptime::v1::meta::_ReconcileResponse_default_instance_._instance, }; const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fprocedure_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -189,21 +323,45 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fprocedure_2eproto[] "tHeader\"\200\001\n\027ProcedureDetailResponse\0220\n\006h" "eader\030\001 \001(\0132 .greptime.v1.meta.ResponseH" "eader\0223\n\nprocedures\030\002 \003(\0132\037.greptime.v1." - "meta.ProcedureMeta*v\n\017ProcedureStatus\022\013\n" - "\007Running\020\000\022\010\n\004Done\020\001\022\014\n\010Retrying\020\002\022\n\n\006Fa" - "iled\020\003\022\023\n\017PrepareRollback\020\004\022\017\n\013RollingBa" - "ck\020\005\022\014\n\010Poisoned\020\0062\366\002\n\020ProcedureService\022" - "Z\n\005query\022\'.greptime.v1.meta.QueryProcedu" - "reRequest\032(.greptime.v1.meta.ProcedureSt" - "ateResponse\022J\n\003ddl\022 .greptime.v1.meta.Dd" - "lTaskRequest\032!.greptime.v1.meta.DdlTaskR" - "esponse\022Z\n\007migrate\022&.greptime.v1.meta.Mi" - "grateRegionRequest\032\'.greptime.v1.meta.Mi" - "grateRegionResponse\022^\n\007details\022(.greptim" - "e.v1.meta.ProcedureDetailRequest\032).grept" - "ime.v1.meta.ProcedureDetailResponseB(from._internal_metadata_); + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_catalog_name().empty()) { + _this->_impl_.catalog_name_.Set(from._internal_catalog_name(), + _this->GetArenaForAllocation()); + } + _impl_.schema_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_schema_name().empty()) { + _this->_impl_.schema_name_.Set(from._internal_schema_name(), + _this->GetArenaForAllocation()); + } + _impl_.table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_table_name().empty()) { + _this->_impl_.table_name_.Set(from._internal_table_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.resolve_strategy_ = from._impl_.resolve_strategy_; + // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.ReconcileTable) +} + +inline void ReconcileTable::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.catalog_name_){} + , decltype(_impl_.schema_name_){} + , decltype(_impl_.table_name_){} + , decltype(_impl_.resolve_strategy_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ReconcileTable::~ReconcileTable() { + // @@protoc_insertion_point(destructor:greptime.v1.meta.ReconcileTable) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ReconcileTable::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.catalog_name_.Destroy(); + _impl_.schema_name_.Destroy(); + _impl_.table_name_.Destroy(); +} + +void ReconcileTable::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ReconcileTable::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.ReconcileTable) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.catalog_name_.ClearToEmpty(); + _impl_.schema_name_.ClearToEmpty(); + _impl_.table_name_.ClearToEmpty(); + _impl_.resolve_strategy_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ReconcileTable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string catalog_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_catalog_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.meta.ReconcileTable.catalog_name")); + } else + goto handle_unusual; + continue; + // string schema_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_schema_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.meta.ReconcileTable.schema_name")); + } else + goto handle_unusual; + continue; + // string table_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_table_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.meta.ReconcileTable.table_name")); + } else + goto handle_unusual; + continue; + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_resolve_strategy(static_cast<::greptime::v1::meta::ResolveStrategy>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ReconcileTable::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.ReconcileTable) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_catalog_name().data(), static_cast(this->_internal_catalog_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.meta.ReconcileTable.catalog_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_catalog_name(), target); + } + + // string schema_name = 2; + if (!this->_internal_schema_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_schema_name().data(), static_cast(this->_internal_schema_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.meta.ReconcileTable.schema_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_schema_name(), target); + } + + // string table_name = 3; + if (!this->_internal_table_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_table_name().data(), static_cast(this->_internal_table_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.meta.ReconcileTable.table_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_table_name(), target); + } + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + if (this->_internal_resolve_strategy() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this->_internal_resolve_strategy(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.ReconcileTable) + return target; +} + +size_t ReconcileTable::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.ReconcileTable) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_catalog_name()); + } + + // string schema_name = 2; + if (!this->_internal_schema_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_schema_name()); + } + + // string table_name = 3; + if (!this->_internal_table_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_table_name()); + } + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + if (this->_internal_resolve_strategy() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_resolve_strategy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReconcileTable::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ReconcileTable::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReconcileTable::GetClassData() const { return &_class_data_; } + + +void ReconcileTable::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.ReconcileTable) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_catalog_name().empty()) { + _this->_internal_set_catalog_name(from._internal_catalog_name()); + } + if (!from._internal_schema_name().empty()) { + _this->_internal_set_schema_name(from._internal_schema_name()); + } + if (!from._internal_table_name().empty()) { + _this->_internal_set_table_name(from._internal_table_name()); + } + if (from._internal_resolve_strategy() != 0) { + _this->_internal_set_resolve_strategy(from._internal_resolve_strategy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ReconcileTable::CopyFrom(const ReconcileTable& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.ReconcileTable) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ReconcileTable::IsInitialized() const { + return true; +} + +void ReconcileTable::InternalSwap(ReconcileTable* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.catalog_name_, lhs_arena, + &other->_impl_.catalog_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.schema_name_, lhs_arena, + &other->_impl_.schema_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.table_name_, lhs_arena, + &other->_impl_.table_name_, rhs_arena + ); + swap(_impl_.resolve_strategy_, other->_impl_.resolve_strategy_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ReconcileTable::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_once, + file_level_metadata_greptime_2fv1_2fmeta_2fprocedure_2eproto[5]); +} + +// =================================================================== + +class ReconcileDatabase::_Internal { + public: +}; + +ReconcileDatabase::ReconcileDatabase(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:greptime.v1.meta.ReconcileDatabase) +} +ReconcileDatabase::ReconcileDatabase(const ReconcileDatabase& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ReconcileDatabase* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.catalog_name_){} + , decltype(_impl_.database_name_){} + , decltype(_impl_.parallelism_){} + , decltype(_impl_.resolve_strategy_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_catalog_name().empty()) { + _this->_impl_.catalog_name_.Set(from._internal_catalog_name(), + _this->GetArenaForAllocation()); + } + _impl_.database_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.database_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_database_name().empty()) { + _this->_impl_.database_name_.Set(from._internal_database_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.parallelism_, &from._impl_.parallelism_, + static_cast(reinterpret_cast(&_impl_.resolve_strategy_) - + reinterpret_cast(&_impl_.parallelism_)) + sizeof(_impl_.resolve_strategy_)); + // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.ReconcileDatabase) +} + +inline void ReconcileDatabase::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.catalog_name_){} + , decltype(_impl_.database_name_){} + , decltype(_impl_.parallelism_){0u} + , decltype(_impl_.resolve_strategy_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.database_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.database_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ReconcileDatabase::~ReconcileDatabase() { + // @@protoc_insertion_point(destructor:greptime.v1.meta.ReconcileDatabase) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ReconcileDatabase::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.catalog_name_.Destroy(); + _impl_.database_name_.Destroy(); +} + +void ReconcileDatabase::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ReconcileDatabase::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.ReconcileDatabase) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.catalog_name_.ClearToEmpty(); + _impl_.database_name_.ClearToEmpty(); + ::memset(&_impl_.parallelism_, 0, static_cast( + reinterpret_cast(&_impl_.resolve_strategy_) - + reinterpret_cast(&_impl_.parallelism_)) + sizeof(_impl_.resolve_strategy_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ReconcileDatabase::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string catalog_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_catalog_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.meta.ReconcileDatabase.catalog_name")); + } else + goto handle_unusual; + continue; + // string database_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_database_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.meta.ReconcileDatabase.database_name")); + } else + goto handle_unusual; + continue; + // uint32 parallelism = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.parallelism_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_resolve_strategy(static_cast<::greptime::v1::meta::ResolveStrategy>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ReconcileDatabase::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.ReconcileDatabase) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_catalog_name().data(), static_cast(this->_internal_catalog_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.meta.ReconcileDatabase.catalog_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_catalog_name(), target); + } + + // string database_name = 2; + if (!this->_internal_database_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_database_name().data(), static_cast(this->_internal_database_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.meta.ReconcileDatabase.database_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_database_name(), target); + } + + // uint32 parallelism = 3; + if (this->_internal_parallelism() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_parallelism(), target); + } + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + if (this->_internal_resolve_strategy() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this->_internal_resolve_strategy(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.ReconcileDatabase) + return target; +} + +size_t ReconcileDatabase::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.ReconcileDatabase) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_catalog_name()); + } + + // string database_name = 2; + if (!this->_internal_database_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_database_name()); + } + + // uint32 parallelism = 3; + if (this->_internal_parallelism() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_parallelism()); + } + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + if (this->_internal_resolve_strategy() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_resolve_strategy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReconcileDatabase::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ReconcileDatabase::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReconcileDatabase::GetClassData() const { return &_class_data_; } + + +void ReconcileDatabase::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.ReconcileDatabase) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_catalog_name().empty()) { + _this->_internal_set_catalog_name(from._internal_catalog_name()); + } + if (!from._internal_database_name().empty()) { + _this->_internal_set_database_name(from._internal_database_name()); + } + if (from._internal_parallelism() != 0) { + _this->_internal_set_parallelism(from._internal_parallelism()); + } + if (from._internal_resolve_strategy() != 0) { + _this->_internal_set_resolve_strategy(from._internal_resolve_strategy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ReconcileDatabase::CopyFrom(const ReconcileDatabase& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.ReconcileDatabase) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ReconcileDatabase::IsInitialized() const { + return true; +} + +void ReconcileDatabase::InternalSwap(ReconcileDatabase* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.catalog_name_, lhs_arena, + &other->_impl_.catalog_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.database_name_, lhs_arena, + &other->_impl_.database_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ReconcileDatabase, _impl_.resolve_strategy_) + + sizeof(ReconcileDatabase::_impl_.resolve_strategy_) + - PROTOBUF_FIELD_OFFSET(ReconcileDatabase, _impl_.parallelism_)>( + reinterpret_cast(&_impl_.parallelism_), + reinterpret_cast(&other->_impl_.parallelism_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ReconcileDatabase::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_once, + file_level_metadata_greptime_2fv1_2fmeta_2fprocedure_2eproto[6]); +} + +// =================================================================== + +class ReconcileCatalog::_Internal { + public: +}; + +ReconcileCatalog::ReconcileCatalog(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:greptime.v1.meta.ReconcileCatalog) +} +ReconcileCatalog::ReconcileCatalog(const ReconcileCatalog& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ReconcileCatalog* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.catalog_name_){} + , decltype(_impl_.parallelism_){} + , decltype(_impl_.resolve_strategy_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_catalog_name().empty()) { + _this->_impl_.catalog_name_.Set(from._internal_catalog_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.parallelism_, &from._impl_.parallelism_, + static_cast(reinterpret_cast(&_impl_.resolve_strategy_) - + reinterpret_cast(&_impl_.parallelism_)) + sizeof(_impl_.resolve_strategy_)); + // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.ReconcileCatalog) +} + +inline void ReconcileCatalog::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.catalog_name_){} + , decltype(_impl_.parallelism_){0u} + , decltype(_impl_.resolve_strategy_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ReconcileCatalog::~ReconcileCatalog() { + // @@protoc_insertion_point(destructor:greptime.v1.meta.ReconcileCatalog) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ReconcileCatalog::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.catalog_name_.Destroy(); +} + +void ReconcileCatalog::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ReconcileCatalog::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.ReconcileCatalog) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.catalog_name_.ClearToEmpty(); + ::memset(&_impl_.parallelism_, 0, static_cast( + reinterpret_cast(&_impl_.resolve_strategy_) - + reinterpret_cast(&_impl_.parallelism_)) + sizeof(_impl_.resolve_strategy_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ReconcileCatalog::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string catalog_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_catalog_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.meta.ReconcileCatalog.catalog_name")); + } else + goto handle_unusual; + continue; + // uint32 parallelism = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _impl_.parallelism_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_resolve_strategy(static_cast<::greptime::v1::meta::ResolveStrategy>(val)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ReconcileCatalog::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.ReconcileCatalog) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_catalog_name().data(), static_cast(this->_internal_catalog_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.meta.ReconcileCatalog.catalog_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_catalog_name(), target); + } + + // uint32 parallelism = 2; + if (this->_internal_parallelism() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_parallelism(), target); + } + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + if (this->_internal_resolve_strategy() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this->_internal_resolve_strategy(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.ReconcileCatalog) + return target; +} + +size_t ReconcileCatalog::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.ReconcileCatalog) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_catalog_name()); + } + + // uint32 parallelism = 2; + if (this->_internal_parallelism() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_parallelism()); + } + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + if (this->_internal_resolve_strategy() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_resolve_strategy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReconcileCatalog::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ReconcileCatalog::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReconcileCatalog::GetClassData() const { return &_class_data_; } + + +void ReconcileCatalog::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.ReconcileCatalog) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_catalog_name().empty()) { + _this->_internal_set_catalog_name(from._internal_catalog_name()); + } + if (from._internal_parallelism() != 0) { + _this->_internal_set_parallelism(from._internal_parallelism()); + } + if (from._internal_resolve_strategy() != 0) { + _this->_internal_set_resolve_strategy(from._internal_resolve_strategy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ReconcileCatalog::CopyFrom(const ReconcileCatalog& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.ReconcileCatalog) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ReconcileCatalog::IsInitialized() const { + return true; +} + +void ReconcileCatalog::InternalSwap(ReconcileCatalog* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.catalog_name_, lhs_arena, + &other->_impl_.catalog_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ReconcileCatalog, _impl_.resolve_strategy_) + + sizeof(ReconcileCatalog::_impl_.resolve_strategy_) + - PROTOBUF_FIELD_OFFSET(ReconcileCatalog, _impl_.parallelism_)>( + reinterpret_cast(&_impl_.parallelism_), + reinterpret_cast(&other->_impl_.parallelism_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ReconcileCatalog::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_once, + file_level_metadata_greptime_2fv1_2fmeta_2fprocedure_2eproto[7]); +} + +// =================================================================== + +class ReconcileRequest::_Internal { + public: + static const ::greptime::v1::meta::RequestHeader& header(const ReconcileRequest* msg); + static const ::greptime::v1::meta::ReconcileTable& reconcile_table(const ReconcileRequest* msg); + static const ::greptime::v1::meta::ReconcileDatabase& reconcile_database(const ReconcileRequest* msg); + static const ::greptime::v1::meta::ReconcileCatalog& reconcile_catalog(const ReconcileRequest* msg); +}; + +const ::greptime::v1::meta::RequestHeader& +ReconcileRequest::_Internal::header(const ReconcileRequest* msg) { + return *msg->_impl_.header_; +} +const ::greptime::v1::meta::ReconcileTable& +ReconcileRequest::_Internal::reconcile_table(const ReconcileRequest* msg) { + return *msg->_impl_.target_.reconcile_table_; +} +const ::greptime::v1::meta::ReconcileDatabase& +ReconcileRequest::_Internal::reconcile_database(const ReconcileRequest* msg) { + return *msg->_impl_.target_.reconcile_database_; +} +const ::greptime::v1::meta::ReconcileCatalog& +ReconcileRequest::_Internal::reconcile_catalog(const ReconcileRequest* msg) { + return *msg->_impl_.target_.reconcile_catalog_; +} +void ReconcileRequest::clear_header() { + if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) { + delete _impl_.header_; + } + _impl_.header_ = nullptr; +} +void ReconcileRequest::set_allocated_reconcile_table(::greptime::v1::meta::ReconcileTable* reconcile_table) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_target(); + if (reconcile_table) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reconcile_table); + if (message_arena != submessage_arena) { + reconcile_table = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, reconcile_table, submessage_arena); + } + set_has_reconcile_table(); + _impl_.target_.reconcile_table_ = reconcile_table; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileRequest.reconcile_table) +} +void ReconcileRequest::set_allocated_reconcile_database(::greptime::v1::meta::ReconcileDatabase* reconcile_database) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_target(); + if (reconcile_database) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reconcile_database); + if (message_arena != submessage_arena) { + reconcile_database = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, reconcile_database, submessage_arena); + } + set_has_reconcile_database(); + _impl_.target_.reconcile_database_ = reconcile_database; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileRequest.reconcile_database) +} +void ReconcileRequest::set_allocated_reconcile_catalog(::greptime::v1::meta::ReconcileCatalog* reconcile_catalog) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_target(); + if (reconcile_catalog) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reconcile_catalog); + if (message_arena != submessage_arena) { + reconcile_catalog = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, reconcile_catalog, submessage_arena); + } + set_has_reconcile_catalog(); + _impl_.target_.reconcile_catalog_ = reconcile_catalog; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileRequest.reconcile_catalog) +} +ReconcileRequest::ReconcileRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:greptime.v1.meta.ReconcileRequest) +} +ReconcileRequest::ReconcileRequest(const ReconcileRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ReconcileRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.header_){nullptr} + , decltype(_impl_.target_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_header()) { + _this->_impl_.header_ = new ::greptime::v1::meta::RequestHeader(*from._impl_.header_); + } + clear_has_target(); + switch (from.target_case()) { + case kReconcileTable: { + _this->_internal_mutable_reconcile_table()->::greptime::v1::meta::ReconcileTable::MergeFrom( + from._internal_reconcile_table()); + break; + } + case kReconcileDatabase: { + _this->_internal_mutable_reconcile_database()->::greptime::v1::meta::ReconcileDatabase::MergeFrom( + from._internal_reconcile_database()); + break; + } + case kReconcileCatalog: { + _this->_internal_mutable_reconcile_catalog()->::greptime::v1::meta::ReconcileCatalog::MergeFrom( + from._internal_reconcile_catalog()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.ReconcileRequest) +} + +inline void ReconcileRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.header_){nullptr} + , decltype(_impl_.target_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{} + }; + clear_has_target(); +} + +ReconcileRequest::~ReconcileRequest() { + // @@protoc_insertion_point(destructor:greptime.v1.meta.ReconcileRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ReconcileRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.header_; + if (has_target()) { + clear_target(); + } +} + +void ReconcileRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ReconcileRequest::clear_target() { +// @@protoc_insertion_point(one_of_clear_start:greptime.v1.meta.ReconcileRequest) + switch (target_case()) { + case kReconcileTable: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.target_.reconcile_table_; + } + break; + } + case kReconcileDatabase: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.target_.reconcile_database_; + } + break; + } + case kReconcileCatalog: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.target_.reconcile_catalog_; + } + break; + } + case TARGET_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = TARGET_NOT_SET; +} + + +void ReconcileRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.ReconcileRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) { + delete _impl_.header_; + } + _impl_.header_ = nullptr; + clear_target(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ReconcileRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .greptime.v1.meta.RequestHeader header = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_header(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.meta.ReconcileTable reconcile_table = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_reconcile_table(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_reconcile_database(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_reconcile_catalog(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ReconcileRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.ReconcileRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .greptime.v1.meta.RequestHeader header = 1; + if (this->_internal_has_header()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::header(this), + _Internal::header(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.meta.ReconcileTable reconcile_table = 2; + if (_internal_has_reconcile_table()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::reconcile_table(this), + _Internal::reconcile_table(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + if (_internal_has_reconcile_database()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::reconcile_database(this), + _Internal::reconcile_database(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + if (_internal_has_reconcile_catalog()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::reconcile_catalog(this), + _Internal::reconcile_catalog(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.ReconcileRequest) + return target; +} + +size_t ReconcileRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.ReconcileRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .greptime.v1.meta.RequestHeader header = 1; + if (this->_internal_has_header()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.header_); + } + + switch (target_case()) { + // .greptime.v1.meta.ReconcileTable reconcile_table = 2; + case kReconcileTable: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_.reconcile_table_); + break; + } + // .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + case kReconcileDatabase: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_.reconcile_database_); + break; + } + // .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + case kReconcileCatalog: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_.reconcile_catalog_); + break; + } + case TARGET_NOT_SET: { + break; + } + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReconcileRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ReconcileRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReconcileRequest::GetClassData() const { return &_class_data_; } + + +void ReconcileRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.ReconcileRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_header()) { + _this->_internal_mutable_header()->::greptime::v1::meta::RequestHeader::MergeFrom( + from._internal_header()); + } + switch (from.target_case()) { + case kReconcileTable: { + _this->_internal_mutable_reconcile_table()->::greptime::v1::meta::ReconcileTable::MergeFrom( + from._internal_reconcile_table()); + break; + } + case kReconcileDatabase: { + _this->_internal_mutable_reconcile_database()->::greptime::v1::meta::ReconcileDatabase::MergeFrom( + from._internal_reconcile_database()); + break; + } + case kReconcileCatalog: { + _this->_internal_mutable_reconcile_catalog()->::greptime::v1::meta::ReconcileCatalog::MergeFrom( + from._internal_reconcile_catalog()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ReconcileRequest::CopyFrom(const ReconcileRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.ReconcileRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ReconcileRequest::IsInitialized() const { + return true; +} + +void ReconcileRequest::InternalSwap(ReconcileRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.header_, other->_impl_.header_); + swap(_impl_.target_, other->_impl_.target_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ReconcileRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_once, + file_level_metadata_greptime_2fv1_2fmeta_2fprocedure_2eproto[8]); +} + +// =================================================================== + +class ReconcileResponse::_Internal { + public: + static const ::greptime::v1::meta::ResponseHeader& header(const ReconcileResponse* msg); + static const ::greptime::v1::meta::ProcedureId& pid(const ReconcileResponse* msg); +}; + +const ::greptime::v1::meta::ResponseHeader& +ReconcileResponse::_Internal::header(const ReconcileResponse* msg) { + return *msg->_impl_.header_; +} +const ::greptime::v1::meta::ProcedureId& +ReconcileResponse::_Internal::pid(const ReconcileResponse* msg) { + return *msg->_impl_.pid_; +} +void ReconcileResponse::clear_header() { + if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) { + delete _impl_.header_; + } + _impl_.header_ = nullptr; +} +void ReconcileResponse::clear_pid() { + if (GetArenaForAllocation() == nullptr && _impl_.pid_ != nullptr) { + delete _impl_.pid_; + } + _impl_.pid_ = nullptr; +} +ReconcileResponse::ReconcileResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:greptime.v1.meta.ReconcileResponse) +} +ReconcileResponse::ReconcileResponse(const ReconcileResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ReconcileResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.header_){nullptr} + , decltype(_impl_.pid_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_header()) { + _this->_impl_.header_ = new ::greptime::v1::meta::ResponseHeader(*from._impl_.header_); + } + if (from._internal_has_pid()) { + _this->_impl_.pid_ = new ::greptime::v1::meta::ProcedureId(*from._impl_.pid_); + } + // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.ReconcileResponse) +} + +inline void ReconcileResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.header_){nullptr} + , decltype(_impl_.pid_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +ReconcileResponse::~ReconcileResponse() { + // @@protoc_insertion_point(destructor:greptime.v1.meta.ReconcileResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ReconcileResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.header_; + if (this != internal_default_instance()) delete _impl_.pid_; +} + +void ReconcileResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ReconcileResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.ReconcileResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) { + delete _impl_.header_; + } + _impl_.header_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.pid_ != nullptr) { + delete _impl_.pid_; + } + _impl_.pid_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ReconcileResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .greptime.v1.meta.ResponseHeader header = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_header(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.meta.ProcedureId pid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_pid(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ReconcileResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.ReconcileResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .greptime.v1.meta.ResponseHeader header = 1; + if (this->_internal_has_header()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::header(this), + _Internal::header(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.meta.ProcedureId pid = 2; + if (this->_internal_has_pid()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::pid(this), + _Internal::pid(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.ReconcileResponse) + return target; +} + +size_t ReconcileResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.ReconcileResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .greptime.v1.meta.ResponseHeader header = 1; + if (this->_internal_has_header()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.header_); + } + + // .greptime.v1.meta.ProcedureId pid = 2; + if (this->_internal_has_pid()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pid_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReconcileResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ReconcileResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReconcileResponse::GetClassData() const { return &_class_data_; } + + +void ReconcileResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.ReconcileResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_header()) { + _this->_internal_mutable_header()->::greptime::v1::meta::ResponseHeader::MergeFrom( + from._internal_header()); + } + if (from._internal_has_pid()) { + _this->_internal_mutable_pid()->::greptime::v1::meta::ProcedureId::MergeFrom( + from._internal_pid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ReconcileResponse::CopyFrom(const ReconcileResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.ReconcileResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ReconcileResponse::IsInitialized() const { + return true; +} + +void ReconcileResponse::InternalSwap(ReconcileResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ReconcileResponse, _impl_.pid_) + + sizeof(ReconcileResponse::_impl_.pid_) + - PROTOBUF_FIELD_OFFSET(ReconcileResponse, _impl_.header_)>( + reinterpret_cast(&_impl_.header_), + reinterpret_cast(&other->_impl_.header_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ReconcileResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto_once, + file_level_metadata_greptime_2fv1_2fmeta_2fprocedure_2eproto[9]); +} + // @@protoc_insertion_point(namespace_scope) } // namespace meta } // namespace v1 @@ -1667,6 +3417,26 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::meta::ProcedureDetailResponse* Arena::CreateMaybeMessage< ::greptime::v1::meta::ProcedureDetailResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::meta::ProcedureDetailResponse >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::meta::ReconcileTable* +Arena::CreateMaybeMessage< ::greptime::v1::meta::ReconcileTable >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::meta::ReconcileTable >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::meta::ReconcileDatabase* +Arena::CreateMaybeMessage< ::greptime::v1::meta::ReconcileDatabase >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::meta::ReconcileDatabase >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::meta::ReconcileCatalog* +Arena::CreateMaybeMessage< ::greptime::v1::meta::ReconcileCatalog >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::meta::ReconcileCatalog >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::meta::ReconcileRequest* +Arena::CreateMaybeMessage< ::greptime::v1::meta::ReconcileRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::meta::ReconcileRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::meta::ReconcileResponse* +Arena::CreateMaybeMessage< ::greptime::v1::meta::ReconcileResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::meta::ReconcileResponse >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/c++/greptime/v1/meta/procedure.pb.h b/c++/greptime/v1/meta/procedure.pb.h index 3403f54..d6d2d80 100644 --- a/c++/greptime/v1/meta/procedure.pb.h +++ b/c++/greptime/v1/meta/procedure.pb.h @@ -66,6 +66,21 @@ extern ProcedureStateResponseDefaultTypeInternal _ProcedureStateResponse_default class QueryProcedureRequest; struct QueryProcedureRequestDefaultTypeInternal; extern QueryProcedureRequestDefaultTypeInternal _QueryProcedureRequest_default_instance_; +class ReconcileCatalog; +struct ReconcileCatalogDefaultTypeInternal; +extern ReconcileCatalogDefaultTypeInternal _ReconcileCatalog_default_instance_; +class ReconcileDatabase; +struct ReconcileDatabaseDefaultTypeInternal; +extern ReconcileDatabaseDefaultTypeInternal _ReconcileDatabase_default_instance_; +class ReconcileRequest; +struct ReconcileRequestDefaultTypeInternal; +extern ReconcileRequestDefaultTypeInternal _ReconcileRequest_default_instance_; +class ReconcileResponse; +struct ReconcileResponseDefaultTypeInternal; +extern ReconcileResponseDefaultTypeInternal _ReconcileResponse_default_instance_; +class ReconcileTable; +struct ReconcileTableDefaultTypeInternal; +extern ReconcileTableDefaultTypeInternal _ReconcileTable_default_instance_; } // namespace meta } // namespace v1 } // namespace greptime @@ -75,6 +90,11 @@ template<> ::greptime::v1::meta::ProcedureDetailResponse* Arena::CreateMaybeMess template<> ::greptime::v1::meta::ProcedureMeta* Arena::CreateMaybeMessage<::greptime::v1::meta::ProcedureMeta>(Arena*); template<> ::greptime::v1::meta::ProcedureStateResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::ProcedureStateResponse>(Arena*); template<> ::greptime::v1::meta::QueryProcedureRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::QueryProcedureRequest>(Arena*); +template<> ::greptime::v1::meta::ReconcileCatalog* Arena::CreateMaybeMessage<::greptime::v1::meta::ReconcileCatalog>(Arena*); +template<> ::greptime::v1::meta::ReconcileDatabase* Arena::CreateMaybeMessage<::greptime::v1::meta::ReconcileDatabase>(Arena*); +template<> ::greptime::v1::meta::ReconcileRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::ReconcileRequest>(Arena*); +template<> ::greptime::v1::meta::ReconcileResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::ReconcileResponse>(Arena*); +template<> ::greptime::v1::meta::ReconcileTable* Arena::CreateMaybeMessage<::greptime::v1::meta::ReconcileTable>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace greptime { namespace v1 { @@ -110,6 +130,32 @@ inline bool ProcedureStatus_Parse( return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( ProcedureStatus_descriptor(), name, value); } +enum ResolveStrategy : int { + UseLatest = 0, + UseMetasrv = 1, + AbortOnConflict = 2, + ResolveStrategy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), + ResolveStrategy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() +}; +bool ResolveStrategy_IsValid(int value); +constexpr ResolveStrategy ResolveStrategy_MIN = UseLatest; +constexpr ResolveStrategy ResolveStrategy_MAX = AbortOnConflict; +constexpr int ResolveStrategy_ARRAYSIZE = ResolveStrategy_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ResolveStrategy_descriptor(); +template +inline const std::string& ResolveStrategy_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ResolveStrategy_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ResolveStrategy_descriptor(), enum_t_value); +} +inline bool ResolveStrategy_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ResolveStrategy* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ResolveStrategy_descriptor(), name, value); +} // =================================================================== class ProcedureMeta final : @@ -1053,6 +1099,983 @@ class ProcedureDetailResponse final : union { Impl_ _impl_; }; friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto; }; +// ------------------------------------------------------------------- + +class ReconcileTable final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ReconcileTable) */ { + public: + inline ReconcileTable() : ReconcileTable(nullptr) {} + ~ReconcileTable() override; + explicit PROTOBUF_CONSTEXPR ReconcileTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ReconcileTable(const ReconcileTable& from); + ReconcileTable(ReconcileTable&& from) noexcept + : ReconcileTable() { + *this = ::std::move(from); + } + + inline ReconcileTable& operator=(const ReconcileTable& from) { + CopyFrom(from); + return *this; + } + inline ReconcileTable& operator=(ReconcileTable&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReconcileTable& default_instance() { + return *internal_default_instance(); + } + static inline const ReconcileTable* internal_default_instance() { + return reinterpret_cast( + &_ReconcileTable_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(ReconcileTable& a, ReconcileTable& b) { + a.Swap(&b); + } + inline void Swap(ReconcileTable* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReconcileTable* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReconcileTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ReconcileTable& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ReconcileTable& from) { + ReconcileTable::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ReconcileTable* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.meta.ReconcileTable"; + } + protected: + explicit ReconcileTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCatalogNameFieldNumber = 1, + kSchemaNameFieldNumber = 2, + kTableNameFieldNumber = 3, + kResolveStrategyFieldNumber = 4, + }; + // string catalog_name = 1; + void clear_catalog_name(); + const std::string& catalog_name() const; + template + void set_catalog_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_catalog_name(); + PROTOBUF_NODISCARD std::string* release_catalog_name(); + void set_allocated_catalog_name(std::string* catalog_name); + private: + const std::string& _internal_catalog_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_catalog_name(const std::string& value); + std::string* _internal_mutable_catalog_name(); + public: + + // string schema_name = 2; + void clear_schema_name(); + const std::string& schema_name() const; + template + void set_schema_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_schema_name(); + PROTOBUF_NODISCARD std::string* release_schema_name(); + void set_allocated_schema_name(std::string* schema_name); + private: + const std::string& _internal_schema_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_schema_name(const std::string& value); + std::string* _internal_mutable_schema_name(); + public: + + // string table_name = 3; + void clear_table_name(); + const std::string& table_name() const; + template + void set_table_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_table_name(); + PROTOBUF_NODISCARD std::string* release_table_name(); + void set_allocated_table_name(std::string* table_name); + private: + const std::string& _internal_table_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_table_name(const std::string& value); + std::string* _internal_mutable_table_name(); + public: + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + void clear_resolve_strategy(); + ::greptime::v1::meta::ResolveStrategy resolve_strategy() const; + void set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value); + private: + ::greptime::v1::meta::ResolveStrategy _internal_resolve_strategy() const; + void _internal_set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileTable) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_name_; + int resolve_strategy_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto; +}; +// ------------------------------------------------------------------- + +class ReconcileDatabase final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ReconcileDatabase) */ { + public: + inline ReconcileDatabase() : ReconcileDatabase(nullptr) {} + ~ReconcileDatabase() override; + explicit PROTOBUF_CONSTEXPR ReconcileDatabase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ReconcileDatabase(const ReconcileDatabase& from); + ReconcileDatabase(ReconcileDatabase&& from) noexcept + : ReconcileDatabase() { + *this = ::std::move(from); + } + + inline ReconcileDatabase& operator=(const ReconcileDatabase& from) { + CopyFrom(from); + return *this; + } + inline ReconcileDatabase& operator=(ReconcileDatabase&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReconcileDatabase& default_instance() { + return *internal_default_instance(); + } + static inline const ReconcileDatabase* internal_default_instance() { + return reinterpret_cast( + &_ReconcileDatabase_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(ReconcileDatabase& a, ReconcileDatabase& b) { + a.Swap(&b); + } + inline void Swap(ReconcileDatabase* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReconcileDatabase* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReconcileDatabase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ReconcileDatabase& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ReconcileDatabase& from) { + ReconcileDatabase::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ReconcileDatabase* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.meta.ReconcileDatabase"; + } + protected: + explicit ReconcileDatabase(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCatalogNameFieldNumber = 1, + kDatabaseNameFieldNumber = 2, + kParallelismFieldNumber = 3, + kResolveStrategyFieldNumber = 4, + }; + // string catalog_name = 1; + void clear_catalog_name(); + const std::string& catalog_name() const; + template + void set_catalog_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_catalog_name(); + PROTOBUF_NODISCARD std::string* release_catalog_name(); + void set_allocated_catalog_name(std::string* catalog_name); + private: + const std::string& _internal_catalog_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_catalog_name(const std::string& value); + std::string* _internal_mutable_catalog_name(); + public: + + // string database_name = 2; + void clear_database_name(); + const std::string& database_name() const; + template + void set_database_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_database_name(); + PROTOBUF_NODISCARD std::string* release_database_name(); + void set_allocated_database_name(std::string* database_name); + private: + const std::string& _internal_database_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_database_name(const std::string& value); + std::string* _internal_mutable_database_name(); + public: + + // uint32 parallelism = 3; + void clear_parallelism(); + uint32_t parallelism() const; + void set_parallelism(uint32_t value); + private: + uint32_t _internal_parallelism() const; + void _internal_set_parallelism(uint32_t value); + public: + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + void clear_resolve_strategy(); + ::greptime::v1::meta::ResolveStrategy resolve_strategy() const; + void set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value); + private: + ::greptime::v1::meta::ResolveStrategy _internal_resolve_strategy() const; + void _internal_set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileDatabase) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr database_name_; + uint32_t parallelism_; + int resolve_strategy_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto; +}; +// ------------------------------------------------------------------- + +class ReconcileCatalog final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ReconcileCatalog) */ { + public: + inline ReconcileCatalog() : ReconcileCatalog(nullptr) {} + ~ReconcileCatalog() override; + explicit PROTOBUF_CONSTEXPR ReconcileCatalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ReconcileCatalog(const ReconcileCatalog& from); + ReconcileCatalog(ReconcileCatalog&& from) noexcept + : ReconcileCatalog() { + *this = ::std::move(from); + } + + inline ReconcileCatalog& operator=(const ReconcileCatalog& from) { + CopyFrom(from); + return *this; + } + inline ReconcileCatalog& operator=(ReconcileCatalog&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReconcileCatalog& default_instance() { + return *internal_default_instance(); + } + static inline const ReconcileCatalog* internal_default_instance() { + return reinterpret_cast( + &_ReconcileCatalog_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(ReconcileCatalog& a, ReconcileCatalog& b) { + a.Swap(&b); + } + inline void Swap(ReconcileCatalog* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReconcileCatalog* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReconcileCatalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ReconcileCatalog& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ReconcileCatalog& from) { + ReconcileCatalog::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ReconcileCatalog* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.meta.ReconcileCatalog"; + } + protected: + explicit ReconcileCatalog(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCatalogNameFieldNumber = 1, + kParallelismFieldNumber = 2, + kResolveStrategyFieldNumber = 3, + }; + // string catalog_name = 1; + void clear_catalog_name(); + const std::string& catalog_name() const; + template + void set_catalog_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_catalog_name(); + PROTOBUF_NODISCARD std::string* release_catalog_name(); + void set_allocated_catalog_name(std::string* catalog_name); + private: + const std::string& _internal_catalog_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_catalog_name(const std::string& value); + std::string* _internal_mutable_catalog_name(); + public: + + // uint32 parallelism = 2; + void clear_parallelism(); + uint32_t parallelism() const; + void set_parallelism(uint32_t value); + private: + uint32_t _internal_parallelism() const; + void _internal_set_parallelism(uint32_t value); + public: + + // .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + void clear_resolve_strategy(); + ::greptime::v1::meta::ResolveStrategy resolve_strategy() const; + void set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value); + private: + ::greptime::v1::meta::ResolveStrategy _internal_resolve_strategy() const; + void _internal_set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileCatalog) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_name_; + uint32_t parallelism_; + int resolve_strategy_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto; +}; +// ------------------------------------------------------------------- + +class ReconcileRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ReconcileRequest) */ { + public: + inline ReconcileRequest() : ReconcileRequest(nullptr) {} + ~ReconcileRequest() override; + explicit PROTOBUF_CONSTEXPR ReconcileRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ReconcileRequest(const ReconcileRequest& from); + ReconcileRequest(ReconcileRequest&& from) noexcept + : ReconcileRequest() { + *this = ::std::move(from); + } + + inline ReconcileRequest& operator=(const ReconcileRequest& from) { + CopyFrom(from); + return *this; + } + inline ReconcileRequest& operator=(ReconcileRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReconcileRequest& default_instance() { + return *internal_default_instance(); + } + enum TargetCase { + kReconcileTable = 2, + kReconcileDatabase = 3, + kReconcileCatalog = 4, + TARGET_NOT_SET = 0, + }; + + static inline const ReconcileRequest* internal_default_instance() { + return reinterpret_cast( + &_ReconcileRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(ReconcileRequest& a, ReconcileRequest& b) { + a.Swap(&b); + } + inline void Swap(ReconcileRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReconcileRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReconcileRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ReconcileRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ReconcileRequest& from) { + ReconcileRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ReconcileRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.meta.ReconcileRequest"; + } + protected: + explicit ReconcileRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kHeaderFieldNumber = 1, + kReconcileTableFieldNumber = 2, + kReconcileDatabaseFieldNumber = 3, + kReconcileCatalogFieldNumber = 4, + }; + // .greptime.v1.meta.RequestHeader header = 1; + bool has_header() const; + private: + bool _internal_has_header() const; + public: + void clear_header(); + const ::greptime::v1::meta::RequestHeader& header() const; + PROTOBUF_NODISCARD ::greptime::v1::meta::RequestHeader* release_header(); + ::greptime::v1::meta::RequestHeader* mutable_header(); + void set_allocated_header(::greptime::v1::meta::RequestHeader* header); + private: + const ::greptime::v1::meta::RequestHeader& _internal_header() const; + ::greptime::v1::meta::RequestHeader* _internal_mutable_header(); + public: + void unsafe_arena_set_allocated_header( + ::greptime::v1::meta::RequestHeader* header); + ::greptime::v1::meta::RequestHeader* unsafe_arena_release_header(); + + // .greptime.v1.meta.ReconcileTable reconcile_table = 2; + bool has_reconcile_table() const; + private: + bool _internal_has_reconcile_table() const; + public: + void clear_reconcile_table(); + const ::greptime::v1::meta::ReconcileTable& reconcile_table() const; + PROTOBUF_NODISCARD ::greptime::v1::meta::ReconcileTable* release_reconcile_table(); + ::greptime::v1::meta::ReconcileTable* mutable_reconcile_table(); + void set_allocated_reconcile_table(::greptime::v1::meta::ReconcileTable* reconcile_table); + private: + const ::greptime::v1::meta::ReconcileTable& _internal_reconcile_table() const; + ::greptime::v1::meta::ReconcileTable* _internal_mutable_reconcile_table(); + public: + void unsafe_arena_set_allocated_reconcile_table( + ::greptime::v1::meta::ReconcileTable* reconcile_table); + ::greptime::v1::meta::ReconcileTable* unsafe_arena_release_reconcile_table(); + + // .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + bool has_reconcile_database() const; + private: + bool _internal_has_reconcile_database() const; + public: + void clear_reconcile_database(); + const ::greptime::v1::meta::ReconcileDatabase& reconcile_database() const; + PROTOBUF_NODISCARD ::greptime::v1::meta::ReconcileDatabase* release_reconcile_database(); + ::greptime::v1::meta::ReconcileDatabase* mutable_reconcile_database(); + void set_allocated_reconcile_database(::greptime::v1::meta::ReconcileDatabase* reconcile_database); + private: + const ::greptime::v1::meta::ReconcileDatabase& _internal_reconcile_database() const; + ::greptime::v1::meta::ReconcileDatabase* _internal_mutable_reconcile_database(); + public: + void unsafe_arena_set_allocated_reconcile_database( + ::greptime::v1::meta::ReconcileDatabase* reconcile_database); + ::greptime::v1::meta::ReconcileDatabase* unsafe_arena_release_reconcile_database(); + + // .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + bool has_reconcile_catalog() const; + private: + bool _internal_has_reconcile_catalog() const; + public: + void clear_reconcile_catalog(); + const ::greptime::v1::meta::ReconcileCatalog& reconcile_catalog() const; + PROTOBUF_NODISCARD ::greptime::v1::meta::ReconcileCatalog* release_reconcile_catalog(); + ::greptime::v1::meta::ReconcileCatalog* mutable_reconcile_catalog(); + void set_allocated_reconcile_catalog(::greptime::v1::meta::ReconcileCatalog* reconcile_catalog); + private: + const ::greptime::v1::meta::ReconcileCatalog& _internal_reconcile_catalog() const; + ::greptime::v1::meta::ReconcileCatalog* _internal_mutable_reconcile_catalog(); + public: + void unsafe_arena_set_allocated_reconcile_catalog( + ::greptime::v1::meta::ReconcileCatalog* reconcile_catalog); + ::greptime::v1::meta::ReconcileCatalog* unsafe_arena_release_reconcile_catalog(); + + void clear_target(); + TargetCase target_case() const; + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileRequest) + private: + class _Internal; + void set_has_reconcile_table(); + void set_has_reconcile_database(); + void set_has_reconcile_catalog(); + + inline bool has_target() const; + inline void clear_has_target(); + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::greptime::v1::meta::RequestHeader* header_; + union TargetUnion { + constexpr TargetUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::greptime::v1::meta::ReconcileTable* reconcile_table_; + ::greptime::v1::meta::ReconcileDatabase* reconcile_database_; + ::greptime::v1::meta::ReconcileCatalog* reconcile_catalog_; + } target_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto; +}; +// ------------------------------------------------------------------- + +class ReconcileResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ReconcileResponse) */ { + public: + inline ReconcileResponse() : ReconcileResponse(nullptr) {} + ~ReconcileResponse() override; + explicit PROTOBUF_CONSTEXPR ReconcileResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ReconcileResponse(const ReconcileResponse& from); + ReconcileResponse(ReconcileResponse&& from) noexcept + : ReconcileResponse() { + *this = ::std::move(from); + } + + inline ReconcileResponse& operator=(const ReconcileResponse& from) { + CopyFrom(from); + return *this; + } + inline ReconcileResponse& operator=(ReconcileResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReconcileResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ReconcileResponse* internal_default_instance() { + return reinterpret_cast( + &_ReconcileResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(ReconcileResponse& a, ReconcileResponse& b) { + a.Swap(&b); + } + inline void Swap(ReconcileResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReconcileResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReconcileResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ReconcileResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ReconcileResponse& from) { + ReconcileResponse::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ReconcileResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.meta.ReconcileResponse"; + } + protected: + explicit ReconcileResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kHeaderFieldNumber = 1, + kPidFieldNumber = 2, + }; + // .greptime.v1.meta.ResponseHeader header = 1; + bool has_header() const; + private: + bool _internal_has_header() const; + public: + void clear_header(); + const ::greptime::v1::meta::ResponseHeader& header() const; + PROTOBUF_NODISCARD ::greptime::v1::meta::ResponseHeader* release_header(); + ::greptime::v1::meta::ResponseHeader* mutable_header(); + void set_allocated_header(::greptime::v1::meta::ResponseHeader* header); + private: + const ::greptime::v1::meta::ResponseHeader& _internal_header() const; + ::greptime::v1::meta::ResponseHeader* _internal_mutable_header(); + public: + void unsafe_arena_set_allocated_header( + ::greptime::v1::meta::ResponseHeader* header); + ::greptime::v1::meta::ResponseHeader* unsafe_arena_release_header(); + + // .greptime.v1.meta.ProcedureId pid = 2; + bool has_pid() const; + private: + bool _internal_has_pid() const; + public: + void clear_pid(); + const ::greptime::v1::meta::ProcedureId& pid() const; + PROTOBUF_NODISCARD ::greptime::v1::meta::ProcedureId* release_pid(); + ::greptime::v1::meta::ProcedureId* mutable_pid(); + void set_allocated_pid(::greptime::v1::meta::ProcedureId* pid); + private: + const ::greptime::v1::meta::ProcedureId& _internal_pid() const; + ::greptime::v1::meta::ProcedureId* _internal_mutable_pid(); + public: + void unsafe_arena_set_allocated_pid( + ::greptime::v1::meta::ProcedureId* pid); + ::greptime::v1::meta::ProcedureId* unsafe_arena_release_pid(); + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::greptime::v1::meta::ResponseHeader* header_; + ::greptime::v1::meta::ProcedureId* pid_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto; +}; // =================================================================== @@ -1935,6 +2958,912 @@ ProcedureDetailResponse::procedures() const { return _impl_.procedures_; } +// ------------------------------------------------------------------- + +// ReconcileTable + +// string catalog_name = 1; +inline void ReconcileTable::clear_catalog_name() { + _impl_.catalog_name_.ClearToEmpty(); +} +inline const std::string& ReconcileTable::catalog_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileTable.catalog_name) + return _internal_catalog_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReconcileTable::set_catalog_name(ArgT0&& arg0, ArgT... args) { + + _impl_.catalog_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileTable.catalog_name) +} +inline std::string* ReconcileTable::mutable_catalog_name() { + std::string* _s = _internal_mutable_catalog_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileTable.catalog_name) + return _s; +} +inline const std::string& ReconcileTable::_internal_catalog_name() const { + return _impl_.catalog_name_.Get(); +} +inline void ReconcileTable::_internal_set_catalog_name(const std::string& value) { + + _impl_.catalog_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ReconcileTable::_internal_mutable_catalog_name() { + + return _impl_.catalog_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* ReconcileTable::release_catalog_name() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileTable.catalog_name) + return _impl_.catalog_name_.Release(); +} +inline void ReconcileTable::set_allocated_catalog_name(std::string* catalog_name) { + if (catalog_name != nullptr) { + + } else { + + } + _impl_.catalog_name_.SetAllocated(catalog_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.catalog_name_.IsDefault()) { + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileTable.catalog_name) +} + +// string schema_name = 2; +inline void ReconcileTable::clear_schema_name() { + _impl_.schema_name_.ClearToEmpty(); +} +inline const std::string& ReconcileTable::schema_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileTable.schema_name) + return _internal_schema_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReconcileTable::set_schema_name(ArgT0&& arg0, ArgT... args) { + + _impl_.schema_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileTable.schema_name) +} +inline std::string* ReconcileTable::mutable_schema_name() { + std::string* _s = _internal_mutable_schema_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileTable.schema_name) + return _s; +} +inline const std::string& ReconcileTable::_internal_schema_name() const { + return _impl_.schema_name_.Get(); +} +inline void ReconcileTable::_internal_set_schema_name(const std::string& value) { + + _impl_.schema_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ReconcileTable::_internal_mutable_schema_name() { + + return _impl_.schema_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* ReconcileTable::release_schema_name() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileTable.schema_name) + return _impl_.schema_name_.Release(); +} +inline void ReconcileTable::set_allocated_schema_name(std::string* schema_name) { + if (schema_name != nullptr) { + + } else { + + } + _impl_.schema_name_.SetAllocated(schema_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.schema_name_.IsDefault()) { + _impl_.schema_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileTable.schema_name) +} + +// string table_name = 3; +inline void ReconcileTable::clear_table_name() { + _impl_.table_name_.ClearToEmpty(); +} +inline const std::string& ReconcileTable::table_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileTable.table_name) + return _internal_table_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReconcileTable::set_table_name(ArgT0&& arg0, ArgT... args) { + + _impl_.table_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileTable.table_name) +} +inline std::string* ReconcileTable::mutable_table_name() { + std::string* _s = _internal_mutable_table_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileTable.table_name) + return _s; +} +inline const std::string& ReconcileTable::_internal_table_name() const { + return _impl_.table_name_.Get(); +} +inline void ReconcileTable::_internal_set_table_name(const std::string& value) { + + _impl_.table_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ReconcileTable::_internal_mutable_table_name() { + + return _impl_.table_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* ReconcileTable::release_table_name() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileTable.table_name) + return _impl_.table_name_.Release(); +} +inline void ReconcileTable::set_allocated_table_name(std::string* table_name) { + if (table_name != nullptr) { + + } else { + + } + _impl_.table_name_.SetAllocated(table_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.table_name_.IsDefault()) { + _impl_.table_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileTable.table_name) +} + +// .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; +inline void ReconcileTable::clear_resolve_strategy() { + _impl_.resolve_strategy_ = 0; +} +inline ::greptime::v1::meta::ResolveStrategy ReconcileTable::_internal_resolve_strategy() const { + return static_cast< ::greptime::v1::meta::ResolveStrategy >(_impl_.resolve_strategy_); +} +inline ::greptime::v1::meta::ResolveStrategy ReconcileTable::resolve_strategy() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileTable.resolve_strategy) + return _internal_resolve_strategy(); +} +inline void ReconcileTable::_internal_set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value) { + + _impl_.resolve_strategy_ = value; +} +inline void ReconcileTable::set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value) { + _internal_set_resolve_strategy(value); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileTable.resolve_strategy) +} + +// ------------------------------------------------------------------- + +// ReconcileDatabase + +// string catalog_name = 1; +inline void ReconcileDatabase::clear_catalog_name() { + _impl_.catalog_name_.ClearToEmpty(); +} +inline const std::string& ReconcileDatabase::catalog_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileDatabase.catalog_name) + return _internal_catalog_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReconcileDatabase::set_catalog_name(ArgT0&& arg0, ArgT... args) { + + _impl_.catalog_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileDatabase.catalog_name) +} +inline std::string* ReconcileDatabase::mutable_catalog_name() { + std::string* _s = _internal_mutable_catalog_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileDatabase.catalog_name) + return _s; +} +inline const std::string& ReconcileDatabase::_internal_catalog_name() const { + return _impl_.catalog_name_.Get(); +} +inline void ReconcileDatabase::_internal_set_catalog_name(const std::string& value) { + + _impl_.catalog_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ReconcileDatabase::_internal_mutable_catalog_name() { + + return _impl_.catalog_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* ReconcileDatabase::release_catalog_name() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileDatabase.catalog_name) + return _impl_.catalog_name_.Release(); +} +inline void ReconcileDatabase::set_allocated_catalog_name(std::string* catalog_name) { + if (catalog_name != nullptr) { + + } else { + + } + _impl_.catalog_name_.SetAllocated(catalog_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.catalog_name_.IsDefault()) { + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileDatabase.catalog_name) +} + +// string database_name = 2; +inline void ReconcileDatabase::clear_database_name() { + _impl_.database_name_.ClearToEmpty(); +} +inline const std::string& ReconcileDatabase::database_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileDatabase.database_name) + return _internal_database_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReconcileDatabase::set_database_name(ArgT0&& arg0, ArgT... args) { + + _impl_.database_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileDatabase.database_name) +} +inline std::string* ReconcileDatabase::mutable_database_name() { + std::string* _s = _internal_mutable_database_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileDatabase.database_name) + return _s; +} +inline const std::string& ReconcileDatabase::_internal_database_name() const { + return _impl_.database_name_.Get(); +} +inline void ReconcileDatabase::_internal_set_database_name(const std::string& value) { + + _impl_.database_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ReconcileDatabase::_internal_mutable_database_name() { + + return _impl_.database_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* ReconcileDatabase::release_database_name() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileDatabase.database_name) + return _impl_.database_name_.Release(); +} +inline void ReconcileDatabase::set_allocated_database_name(std::string* database_name) { + if (database_name != nullptr) { + + } else { + + } + _impl_.database_name_.SetAllocated(database_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.database_name_.IsDefault()) { + _impl_.database_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileDatabase.database_name) +} + +// uint32 parallelism = 3; +inline void ReconcileDatabase::clear_parallelism() { + _impl_.parallelism_ = 0u; +} +inline uint32_t ReconcileDatabase::_internal_parallelism() const { + return _impl_.parallelism_; +} +inline uint32_t ReconcileDatabase::parallelism() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileDatabase.parallelism) + return _internal_parallelism(); +} +inline void ReconcileDatabase::_internal_set_parallelism(uint32_t value) { + + _impl_.parallelism_ = value; +} +inline void ReconcileDatabase::set_parallelism(uint32_t value) { + _internal_set_parallelism(value); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileDatabase.parallelism) +} + +// .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; +inline void ReconcileDatabase::clear_resolve_strategy() { + _impl_.resolve_strategy_ = 0; +} +inline ::greptime::v1::meta::ResolveStrategy ReconcileDatabase::_internal_resolve_strategy() const { + return static_cast< ::greptime::v1::meta::ResolveStrategy >(_impl_.resolve_strategy_); +} +inline ::greptime::v1::meta::ResolveStrategy ReconcileDatabase::resolve_strategy() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileDatabase.resolve_strategy) + return _internal_resolve_strategy(); +} +inline void ReconcileDatabase::_internal_set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value) { + + _impl_.resolve_strategy_ = value; +} +inline void ReconcileDatabase::set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value) { + _internal_set_resolve_strategy(value); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileDatabase.resolve_strategy) +} + +// ------------------------------------------------------------------- + +// ReconcileCatalog + +// string catalog_name = 1; +inline void ReconcileCatalog::clear_catalog_name() { + _impl_.catalog_name_.ClearToEmpty(); +} +inline const std::string& ReconcileCatalog::catalog_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileCatalog.catalog_name) + return _internal_catalog_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ReconcileCatalog::set_catalog_name(ArgT0&& arg0, ArgT... args) { + + _impl_.catalog_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileCatalog.catalog_name) +} +inline std::string* ReconcileCatalog::mutable_catalog_name() { + std::string* _s = _internal_mutable_catalog_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileCatalog.catalog_name) + return _s; +} +inline const std::string& ReconcileCatalog::_internal_catalog_name() const { + return _impl_.catalog_name_.Get(); +} +inline void ReconcileCatalog::_internal_set_catalog_name(const std::string& value) { + + _impl_.catalog_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ReconcileCatalog::_internal_mutable_catalog_name() { + + return _impl_.catalog_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* ReconcileCatalog::release_catalog_name() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileCatalog.catalog_name) + return _impl_.catalog_name_.Release(); +} +inline void ReconcileCatalog::set_allocated_catalog_name(std::string* catalog_name) { + if (catalog_name != nullptr) { + + } else { + + } + _impl_.catalog_name_.SetAllocated(catalog_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.catalog_name_.IsDefault()) { + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileCatalog.catalog_name) +} + +// uint32 parallelism = 2; +inline void ReconcileCatalog::clear_parallelism() { + _impl_.parallelism_ = 0u; +} +inline uint32_t ReconcileCatalog::_internal_parallelism() const { + return _impl_.parallelism_; +} +inline uint32_t ReconcileCatalog::parallelism() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileCatalog.parallelism) + return _internal_parallelism(); +} +inline void ReconcileCatalog::_internal_set_parallelism(uint32_t value) { + + _impl_.parallelism_ = value; +} +inline void ReconcileCatalog::set_parallelism(uint32_t value) { + _internal_set_parallelism(value); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileCatalog.parallelism) +} + +// .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; +inline void ReconcileCatalog::clear_resolve_strategy() { + _impl_.resolve_strategy_ = 0; +} +inline ::greptime::v1::meta::ResolveStrategy ReconcileCatalog::_internal_resolve_strategy() const { + return static_cast< ::greptime::v1::meta::ResolveStrategy >(_impl_.resolve_strategy_); +} +inline ::greptime::v1::meta::ResolveStrategy ReconcileCatalog::resolve_strategy() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileCatalog.resolve_strategy) + return _internal_resolve_strategy(); +} +inline void ReconcileCatalog::_internal_set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value) { + + _impl_.resolve_strategy_ = value; +} +inline void ReconcileCatalog::set_resolve_strategy(::greptime::v1::meta::ResolveStrategy value) { + _internal_set_resolve_strategy(value); + // @@protoc_insertion_point(field_set:greptime.v1.meta.ReconcileCatalog.resolve_strategy) +} + +// ------------------------------------------------------------------- + +// ReconcileRequest + +// .greptime.v1.meta.RequestHeader header = 1; +inline bool ReconcileRequest::_internal_has_header() const { + return this != internal_default_instance() && _impl_.header_ != nullptr; +} +inline bool ReconcileRequest::has_header() const { + return _internal_has_header(); +} +inline const ::greptime::v1::meta::RequestHeader& ReconcileRequest::_internal_header() const { + const ::greptime::v1::meta::RequestHeader* p = _impl_.header_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::meta::_RequestHeader_default_instance_); +} +inline const ::greptime::v1::meta::RequestHeader& ReconcileRequest::header() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileRequest.header) + return _internal_header(); +} +inline void ReconcileRequest::unsafe_arena_set_allocated_header( + ::greptime::v1::meta::RequestHeader* header) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.header_); + } + _impl_.header_ = header; + if (header) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.ReconcileRequest.header) +} +inline ::greptime::v1::meta::RequestHeader* ReconcileRequest::release_header() { + + ::greptime::v1::meta::RequestHeader* temp = _impl_.header_; + _impl_.header_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::greptime::v1::meta::RequestHeader* ReconcileRequest::unsafe_arena_release_header() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileRequest.header) + + ::greptime::v1::meta::RequestHeader* temp = _impl_.header_; + _impl_.header_ = nullptr; + return temp; +} +inline ::greptime::v1::meta::RequestHeader* ReconcileRequest::_internal_mutable_header() { + + if (_impl_.header_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::meta::RequestHeader>(GetArenaForAllocation()); + _impl_.header_ = p; + } + return _impl_.header_; +} +inline ::greptime::v1::meta::RequestHeader* ReconcileRequest::mutable_header() { + ::greptime::v1::meta::RequestHeader* _msg = _internal_mutable_header(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileRequest.header) + return _msg; +} +inline void ReconcileRequest::set_allocated_header(::greptime::v1::meta::RequestHeader* header) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.header_); + } + if (header) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)); + if (message_arena != submessage_arena) { + header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, header, submessage_arena); + } + + } else { + + } + _impl_.header_ = header; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileRequest.header) +} + +// .greptime.v1.meta.ReconcileTable reconcile_table = 2; +inline bool ReconcileRequest::_internal_has_reconcile_table() const { + return target_case() == kReconcileTable; +} +inline bool ReconcileRequest::has_reconcile_table() const { + return _internal_has_reconcile_table(); +} +inline void ReconcileRequest::set_has_reconcile_table() { + _impl_._oneof_case_[0] = kReconcileTable; +} +inline void ReconcileRequest::clear_reconcile_table() { + if (_internal_has_reconcile_table()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.target_.reconcile_table_; + } + clear_has_target(); + } +} +inline ::greptime::v1::meta::ReconcileTable* ReconcileRequest::release_reconcile_table() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileRequest.reconcile_table) + if (_internal_has_reconcile_table()) { + clear_has_target(); + ::greptime::v1::meta::ReconcileTable* temp = _impl_.target_.reconcile_table_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.target_.reconcile_table_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::meta::ReconcileTable& ReconcileRequest::_internal_reconcile_table() const { + return _internal_has_reconcile_table() + ? *_impl_.target_.reconcile_table_ + : reinterpret_cast< ::greptime::v1::meta::ReconcileTable&>(::greptime::v1::meta::_ReconcileTable_default_instance_); +} +inline const ::greptime::v1::meta::ReconcileTable& ReconcileRequest::reconcile_table() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileRequest.reconcile_table) + return _internal_reconcile_table(); +} +inline ::greptime::v1::meta::ReconcileTable* ReconcileRequest::unsafe_arena_release_reconcile_table() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.ReconcileRequest.reconcile_table) + if (_internal_has_reconcile_table()) { + clear_has_target(); + ::greptime::v1::meta::ReconcileTable* temp = _impl_.target_.reconcile_table_; + _impl_.target_.reconcile_table_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ReconcileRequest::unsafe_arena_set_allocated_reconcile_table(::greptime::v1::meta::ReconcileTable* reconcile_table) { + clear_target(); + if (reconcile_table) { + set_has_reconcile_table(); + _impl_.target_.reconcile_table_ = reconcile_table; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.ReconcileRequest.reconcile_table) +} +inline ::greptime::v1::meta::ReconcileTable* ReconcileRequest::_internal_mutable_reconcile_table() { + if (!_internal_has_reconcile_table()) { + clear_target(); + set_has_reconcile_table(); + _impl_.target_.reconcile_table_ = CreateMaybeMessage< ::greptime::v1::meta::ReconcileTable >(GetArenaForAllocation()); + } + return _impl_.target_.reconcile_table_; +} +inline ::greptime::v1::meta::ReconcileTable* ReconcileRequest::mutable_reconcile_table() { + ::greptime::v1::meta::ReconcileTable* _msg = _internal_mutable_reconcile_table(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileRequest.reconcile_table) + return _msg; +} + +// .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; +inline bool ReconcileRequest::_internal_has_reconcile_database() const { + return target_case() == kReconcileDatabase; +} +inline bool ReconcileRequest::has_reconcile_database() const { + return _internal_has_reconcile_database(); +} +inline void ReconcileRequest::set_has_reconcile_database() { + _impl_._oneof_case_[0] = kReconcileDatabase; +} +inline void ReconcileRequest::clear_reconcile_database() { + if (_internal_has_reconcile_database()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.target_.reconcile_database_; + } + clear_has_target(); + } +} +inline ::greptime::v1::meta::ReconcileDatabase* ReconcileRequest::release_reconcile_database() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileRequest.reconcile_database) + if (_internal_has_reconcile_database()) { + clear_has_target(); + ::greptime::v1::meta::ReconcileDatabase* temp = _impl_.target_.reconcile_database_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.target_.reconcile_database_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::meta::ReconcileDatabase& ReconcileRequest::_internal_reconcile_database() const { + return _internal_has_reconcile_database() + ? *_impl_.target_.reconcile_database_ + : reinterpret_cast< ::greptime::v1::meta::ReconcileDatabase&>(::greptime::v1::meta::_ReconcileDatabase_default_instance_); +} +inline const ::greptime::v1::meta::ReconcileDatabase& ReconcileRequest::reconcile_database() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileRequest.reconcile_database) + return _internal_reconcile_database(); +} +inline ::greptime::v1::meta::ReconcileDatabase* ReconcileRequest::unsafe_arena_release_reconcile_database() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.ReconcileRequest.reconcile_database) + if (_internal_has_reconcile_database()) { + clear_has_target(); + ::greptime::v1::meta::ReconcileDatabase* temp = _impl_.target_.reconcile_database_; + _impl_.target_.reconcile_database_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ReconcileRequest::unsafe_arena_set_allocated_reconcile_database(::greptime::v1::meta::ReconcileDatabase* reconcile_database) { + clear_target(); + if (reconcile_database) { + set_has_reconcile_database(); + _impl_.target_.reconcile_database_ = reconcile_database; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.ReconcileRequest.reconcile_database) +} +inline ::greptime::v1::meta::ReconcileDatabase* ReconcileRequest::_internal_mutable_reconcile_database() { + if (!_internal_has_reconcile_database()) { + clear_target(); + set_has_reconcile_database(); + _impl_.target_.reconcile_database_ = CreateMaybeMessage< ::greptime::v1::meta::ReconcileDatabase >(GetArenaForAllocation()); + } + return _impl_.target_.reconcile_database_; +} +inline ::greptime::v1::meta::ReconcileDatabase* ReconcileRequest::mutable_reconcile_database() { + ::greptime::v1::meta::ReconcileDatabase* _msg = _internal_mutable_reconcile_database(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileRequest.reconcile_database) + return _msg; +} + +// .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; +inline bool ReconcileRequest::_internal_has_reconcile_catalog() const { + return target_case() == kReconcileCatalog; +} +inline bool ReconcileRequest::has_reconcile_catalog() const { + return _internal_has_reconcile_catalog(); +} +inline void ReconcileRequest::set_has_reconcile_catalog() { + _impl_._oneof_case_[0] = kReconcileCatalog; +} +inline void ReconcileRequest::clear_reconcile_catalog() { + if (_internal_has_reconcile_catalog()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.target_.reconcile_catalog_; + } + clear_has_target(); + } +} +inline ::greptime::v1::meta::ReconcileCatalog* ReconcileRequest::release_reconcile_catalog() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileRequest.reconcile_catalog) + if (_internal_has_reconcile_catalog()) { + clear_has_target(); + ::greptime::v1::meta::ReconcileCatalog* temp = _impl_.target_.reconcile_catalog_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.target_.reconcile_catalog_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::meta::ReconcileCatalog& ReconcileRequest::_internal_reconcile_catalog() const { + return _internal_has_reconcile_catalog() + ? *_impl_.target_.reconcile_catalog_ + : reinterpret_cast< ::greptime::v1::meta::ReconcileCatalog&>(::greptime::v1::meta::_ReconcileCatalog_default_instance_); +} +inline const ::greptime::v1::meta::ReconcileCatalog& ReconcileRequest::reconcile_catalog() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileRequest.reconcile_catalog) + return _internal_reconcile_catalog(); +} +inline ::greptime::v1::meta::ReconcileCatalog* ReconcileRequest::unsafe_arena_release_reconcile_catalog() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.ReconcileRequest.reconcile_catalog) + if (_internal_has_reconcile_catalog()) { + clear_has_target(); + ::greptime::v1::meta::ReconcileCatalog* temp = _impl_.target_.reconcile_catalog_; + _impl_.target_.reconcile_catalog_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ReconcileRequest::unsafe_arena_set_allocated_reconcile_catalog(::greptime::v1::meta::ReconcileCatalog* reconcile_catalog) { + clear_target(); + if (reconcile_catalog) { + set_has_reconcile_catalog(); + _impl_.target_.reconcile_catalog_ = reconcile_catalog; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.ReconcileRequest.reconcile_catalog) +} +inline ::greptime::v1::meta::ReconcileCatalog* ReconcileRequest::_internal_mutable_reconcile_catalog() { + if (!_internal_has_reconcile_catalog()) { + clear_target(); + set_has_reconcile_catalog(); + _impl_.target_.reconcile_catalog_ = CreateMaybeMessage< ::greptime::v1::meta::ReconcileCatalog >(GetArenaForAllocation()); + } + return _impl_.target_.reconcile_catalog_; +} +inline ::greptime::v1::meta::ReconcileCatalog* ReconcileRequest::mutable_reconcile_catalog() { + ::greptime::v1::meta::ReconcileCatalog* _msg = _internal_mutable_reconcile_catalog(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileRequest.reconcile_catalog) + return _msg; +} + +inline bool ReconcileRequest::has_target() const { + return target_case() != TARGET_NOT_SET; +} +inline void ReconcileRequest::clear_has_target() { + _impl_._oneof_case_[0] = TARGET_NOT_SET; +} +inline ReconcileRequest::TargetCase ReconcileRequest::target_case() const { + return ReconcileRequest::TargetCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// ReconcileResponse + +// .greptime.v1.meta.ResponseHeader header = 1; +inline bool ReconcileResponse::_internal_has_header() const { + return this != internal_default_instance() && _impl_.header_ != nullptr; +} +inline bool ReconcileResponse::has_header() const { + return _internal_has_header(); +} +inline const ::greptime::v1::meta::ResponseHeader& ReconcileResponse::_internal_header() const { + const ::greptime::v1::meta::ResponseHeader* p = _impl_.header_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::meta::_ResponseHeader_default_instance_); +} +inline const ::greptime::v1::meta::ResponseHeader& ReconcileResponse::header() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileResponse.header) + return _internal_header(); +} +inline void ReconcileResponse::unsafe_arena_set_allocated_header( + ::greptime::v1::meta::ResponseHeader* header) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.header_); + } + _impl_.header_ = header; + if (header) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.ReconcileResponse.header) +} +inline ::greptime::v1::meta::ResponseHeader* ReconcileResponse::release_header() { + + ::greptime::v1::meta::ResponseHeader* temp = _impl_.header_; + _impl_.header_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::greptime::v1::meta::ResponseHeader* ReconcileResponse::unsafe_arena_release_header() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileResponse.header) + + ::greptime::v1::meta::ResponseHeader* temp = _impl_.header_; + _impl_.header_ = nullptr; + return temp; +} +inline ::greptime::v1::meta::ResponseHeader* ReconcileResponse::_internal_mutable_header() { + + if (_impl_.header_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::meta::ResponseHeader>(GetArenaForAllocation()); + _impl_.header_ = p; + } + return _impl_.header_; +} +inline ::greptime::v1::meta::ResponseHeader* ReconcileResponse::mutable_header() { + ::greptime::v1::meta::ResponseHeader* _msg = _internal_mutable_header(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileResponse.header) + return _msg; +} +inline void ReconcileResponse::set_allocated_header(::greptime::v1::meta::ResponseHeader* header) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.header_); + } + if (header) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)); + if (message_arena != submessage_arena) { + header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, header, submessage_arena); + } + + } else { + + } + _impl_.header_ = header; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileResponse.header) +} + +// .greptime.v1.meta.ProcedureId pid = 2; +inline bool ReconcileResponse::_internal_has_pid() const { + return this != internal_default_instance() && _impl_.pid_ != nullptr; +} +inline bool ReconcileResponse::has_pid() const { + return _internal_has_pid(); +} +inline const ::greptime::v1::meta::ProcedureId& ReconcileResponse::_internal_pid() const { + const ::greptime::v1::meta::ProcedureId* p = _impl_.pid_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::meta::_ProcedureId_default_instance_); +} +inline const ::greptime::v1::meta::ProcedureId& ReconcileResponse::pid() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.ReconcileResponse.pid) + return _internal_pid(); +} +inline void ReconcileResponse::unsafe_arena_set_allocated_pid( + ::greptime::v1::meta::ProcedureId* pid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pid_); + } + _impl_.pid_ = pid; + if (pid) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.ReconcileResponse.pid) +} +inline ::greptime::v1::meta::ProcedureId* ReconcileResponse::release_pid() { + + ::greptime::v1::meta::ProcedureId* temp = _impl_.pid_; + _impl_.pid_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::greptime::v1::meta::ProcedureId* ReconcileResponse::unsafe_arena_release_pid() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.ReconcileResponse.pid) + + ::greptime::v1::meta::ProcedureId* temp = _impl_.pid_; + _impl_.pid_ = nullptr; + return temp; +} +inline ::greptime::v1::meta::ProcedureId* ReconcileResponse::_internal_mutable_pid() { + + if (_impl_.pid_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::meta::ProcedureId>(GetArenaForAllocation()); + _impl_.pid_ = p; + } + return _impl_.pid_; +} +inline ::greptime::v1::meta::ProcedureId* ReconcileResponse::mutable_pid() { + ::greptime::v1::meta::ProcedureId* _msg = _internal_mutable_pid(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ReconcileResponse.pid) + return _msg; +} +inline void ReconcileResponse::set_allocated_pid(::greptime::v1::meta::ProcedureId* pid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pid_); + } + if (pid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pid)); + if (message_arena != submessage_arena) { + pid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pid, submessage_arena); + } + + } else { + + } + _impl_.pid_ = pid; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ReconcileResponse.pid) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -1946,6 +3875,16 @@ ProcedureDetailResponse::procedures() const { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) @@ -1960,6 +3899,11 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::greptime::v1::meta::ProcedureStatus>() { return ::greptime::v1::meta::ProcedureStatus_descriptor(); } +template <> struct is_proto_enum< ::greptime::v1::meta::ResolveStrategy> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::greptime::v1::meta::ResolveStrategy>() { + return ::greptime::v1::meta::ResolveStrategy_descriptor(); +} PROTOBUF_NAMESPACE_CLOSE diff --git a/go/greptime/v1/ddl.pb.go b/go/greptime/v1/ddl.pb.go index fe07969..e7ca637 100644 --- a/go/greptime/v1/ddl.pb.go +++ b/go/greptime/v1/ddl.pb.go @@ -212,7 +212,7 @@ func (x AddColumnLocation_LocationType) Number() protoreflect.EnumNumber { // Deprecated: Use AddColumnLocation_LocationType.Descriptor instead. func (AddColumnLocation_LocationType) EnumDescriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{30, 0} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{32, 0} } // "Data Definition Language" requests, that create, modify or delete the @@ -951,12 +951,9 @@ type AlterTableExpr struct { // *AlterTableExpr_SetIndex // *AlterTableExpr_UnsetIndex // *AlterTableExpr_DropDefaults -<<<<<<< HEAD // *AlterTableExpr_SetIndexes // *AlterTableExpr_UnsetIndexes -======= // *AlterTableExpr_SetDefaults ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) Kind isAlterTableExpr_Kind `protobuf_oneof:"kind"` } @@ -1083,7 +1080,6 @@ func (x *AlterTableExpr) GetDropDefaults() *DropDefaults { return nil } -<<<<<<< HEAD func (x *AlterTableExpr) GetSetIndexes() *SetIndexes { if x, ok := x.GetKind().(*AlterTableExpr_SetIndexes); ok { return x.SetIndexes @@ -1094,11 +1090,13 @@ func (x *AlterTableExpr) GetSetIndexes() *SetIndexes { func (x *AlterTableExpr) GetUnsetIndexes() *UnsetIndexes { if x, ok := x.GetKind().(*AlterTableExpr_UnsetIndexes); ok { return x.UnsetIndexes -======= + } + return nil +} + func (x *AlterTableExpr) GetSetDefaults() *SetDefaults { if x, ok := x.GetKind().(*AlterTableExpr_SetDefaults); ok { return x.SetDefaults ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) } return nil } @@ -1145,17 +1143,16 @@ type AlterTableExpr_DropDefaults struct { DropDefaults *DropDefaults `protobuf:"bytes,14,opt,name=drop_defaults,json=dropDefaults,proto3,oneof"` } -<<<<<<< HEAD type AlterTableExpr_SetIndexes struct { SetIndexes *SetIndexes `protobuf:"bytes,15,opt,name=set_indexes,json=setIndexes,proto3,oneof"` } type AlterTableExpr_UnsetIndexes struct { UnsetIndexes *UnsetIndexes `protobuf:"bytes,16,opt,name=unset_indexes,json=unsetIndexes,proto3,oneof"` -======= +} + type AlterTableExpr_SetDefaults struct { - SetDefaults *SetDefaults `protobuf:"bytes,15,opt,name=set_defaults,json=setDefaults,proto3,oneof"` ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + SetDefaults *SetDefaults `protobuf:"bytes,17,opt,name=set_defaults,json=setDefaults,proto3,oneof"` } func (*AlterTableExpr_AddColumns) isAlterTableExpr_Kind() {} @@ -1176,13 +1173,11 @@ func (*AlterTableExpr_UnsetIndex) isAlterTableExpr_Kind() {} func (*AlterTableExpr_DropDefaults) isAlterTableExpr_Kind() {} -<<<<<<< HEAD func (*AlterTableExpr_SetIndexes) isAlterTableExpr_Kind() {} func (*AlterTableExpr_UnsetIndexes) isAlterTableExpr_Kind() {} -======= + func (*AlterTableExpr_SetDefaults) isAlterTableExpr_Kind() {} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) type DropDefault struct { state protoimpl.MessageState @@ -1231,29 +1226,16 @@ func (x *DropDefault) GetColumnName() string { return "" } -<<<<<<< HEAD type SetIndexes struct { -======= -type SetDefault struct { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields -<<<<<<< HEAD SetIndexes []*SetIndex `protobuf:"bytes,1,rep,name=set_indexes,json=setIndexes,proto3" json:"set_indexes,omitempty"` } func (x *SetIndexes) Reset() { *x = SetIndexes{} -======= - ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` - DefaultConstraint []byte `protobuf:"bytes,2,opt,name=default_constraint,json=defaultConstraint,proto3" json:"default_constraint,omitempty"` -} - -func (x *SetDefault) Reset() { - *x = SetDefault{} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) if protoimpl.UnsafeEnabled { mi := &file_greptime_v1_ddl_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1261,7 +1243,6 @@ func (x *SetDefault) Reset() { } } -<<<<<<< HEAD func (x *SetIndexes) String() string { return protoimpl.X.MessageStringOf(x) } @@ -1269,15 +1250,6 @@ func (x *SetIndexes) String() string { func (*SetIndexes) ProtoMessage() {} func (x *SetIndexes) ProtoReflect() protoreflect.Message { -======= -func (x *SetDefault) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetDefault) ProtoMessage() {} - -func (x *SetDefault) ProtoReflect() protoreflect.Message { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) mi := &file_greptime_v1_ddl_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1289,7 +1261,6 @@ func (x *SetDefault) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -<<<<<<< HEAD // Deprecated: Use SetIndexes.ProtoReflect.Descriptor instead. func (*SetIndexes) Descriptor() ([]byte, []int) { return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{8} @@ -1345,10 +1316,50 @@ func (*UnsetIndexes) Descriptor() ([]byte, []int) { func (x *UnsetIndexes) GetUnsetIndexes() []*UnsetIndex { if x != nil { return x.UnsetIndexes -======= + } + return nil +} + +type SetDefault struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // The JSON representation of the default `Expr`. + DefaultConstraint []byte `protobuf:"bytes,2,opt,name=default_constraint,json=defaultConstraint,proto3" json:"default_constraint,omitempty"` +} + +func (x *SetDefault) Reset() { + *x = SetDefault{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetDefault) ProtoMessage() {} + +func (x *SetDefault) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + // Deprecated: Use SetDefault.ProtoReflect.Descriptor instead. func (*SetDefault) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{8} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{10} } func (x *SetDefault) GetColumnName() string { @@ -1361,7 +1372,6 @@ func (x *SetDefault) GetColumnName() string { func (x *SetDefault) GetDefaultConstraint() []byte { if x != nil { return x.DefaultConstraint ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) } return nil } @@ -1382,11 +1392,7 @@ type SetIndex struct { func (x *SetIndex) Reset() { *x = SetIndex{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[10] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[9] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1399,11 +1405,7 @@ func (x *SetIndex) String() string { func (*SetIndex) ProtoMessage() {} func (x *SetIndex) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[10] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[9] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1416,11 +1418,7 @@ func (x *SetIndex) ProtoReflect() protoreflect.Message { // Deprecated: Use SetIndex.ProtoReflect.Descriptor instead. func (*SetIndex) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{10} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{9} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{11} } func (m *SetIndex) GetOptions() isSetIndex_Options { @@ -1489,11 +1487,7 @@ type UnsetIndex struct { func (x *UnsetIndex) Reset() { *x = UnsetIndex{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[11] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[10] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1506,11 +1500,7 @@ func (x *UnsetIndex) String() string { func (*UnsetIndex) ProtoMessage() {} func (x *UnsetIndex) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[11] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[10] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1523,11 +1513,7 @@ func (x *UnsetIndex) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetIndex.ProtoReflect.Descriptor instead. func (*UnsetIndex) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{11} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{10} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{12} } func (m *UnsetIndex) GetOptions() isUnsetIndex_Options { @@ -1595,11 +1581,7 @@ type DropTableExpr struct { func (x *DropTableExpr) Reset() { *x = DropTableExpr{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[12] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[11] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1612,11 +1594,7 @@ func (x *DropTableExpr) String() string { func (*DropTableExpr) ProtoMessage() {} func (x *DropTableExpr) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[12] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[11] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1629,11 +1607,7 @@ func (x *DropTableExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use DropTableExpr.ProtoReflect.Descriptor instead. func (*DropTableExpr) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{12} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{11} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{13} } func (x *DropTableExpr) GetCatalogName() string { @@ -1685,11 +1659,7 @@ type CreateDatabaseExpr struct { func (x *CreateDatabaseExpr) Reset() { *x = CreateDatabaseExpr{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[13] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[12] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1702,11 +1672,7 @@ func (x *CreateDatabaseExpr) String() string { func (*CreateDatabaseExpr) ProtoMessage() {} func (x *CreateDatabaseExpr) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[13] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[12] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1719,11 +1685,7 @@ func (x *CreateDatabaseExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDatabaseExpr.ProtoReflect.Descriptor instead. func (*CreateDatabaseExpr) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{13} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{12} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{14} } func (x *CreateDatabaseExpr) GetCatalogName() string { @@ -1768,11 +1730,7 @@ type TruncateTableExpr struct { func (x *TruncateTableExpr) Reset() { *x = TruncateTableExpr{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[14] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[13] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1785,11 +1743,7 @@ func (x *TruncateTableExpr) String() string { func (*TruncateTableExpr) ProtoMessage() {} func (x *TruncateTableExpr) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[14] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[13] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1802,11 +1756,7 @@ func (x *TruncateTableExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use TruncateTableExpr.ProtoReflect.Descriptor instead. func (*TruncateTableExpr) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{14} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{13} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{15} } func (x *TruncateTableExpr) GetCatalogName() string { @@ -1850,11 +1800,7 @@ type DropDatabaseExpr struct { func (x *DropDatabaseExpr) Reset() { *x = DropDatabaseExpr{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[15] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[14] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1867,11 +1813,7 @@ func (x *DropDatabaseExpr) String() string { func (*DropDatabaseExpr) ProtoMessage() {} func (x *DropDatabaseExpr) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[15] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[14] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1884,11 +1826,7 @@ func (x *DropDatabaseExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use DropDatabaseExpr.ProtoReflect.Descriptor instead. func (*DropDatabaseExpr) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{15} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{14} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{16} } func (x *DropDatabaseExpr) GetCatalogName() string { @@ -1923,11 +1861,7 @@ type AddColumns struct { func (x *AddColumns) Reset() { *x = AddColumns{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[16] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[15] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1940,11 +1874,7 @@ func (x *AddColumns) String() string { func (*AddColumns) ProtoMessage() {} func (x *AddColumns) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[16] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[15] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1957,11 +1887,7 @@ func (x *AddColumns) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumns.ProtoReflect.Descriptor instead. func (*AddColumns) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{16} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{15} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17} } func (x *AddColumns) GetAddColumns() []*AddColumn { @@ -1982,11 +1908,7 @@ type DropDefaults struct { func (x *DropDefaults) Reset() { *x = DropDefaults{} if protoimpl.UnsafeEnabled { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[17] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[16] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1999,11 +1921,7 @@ func (x *DropDefaults) String() string { func (*DropDefaults) ProtoMessage() {} func (x *DropDefaults) ProtoReflect() protoreflect.Message { -<<<<<<< HEAD - mi := &file_greptime_v1_ddl_proto_msgTypes[17] -======= - mi := &file_greptime_v1_ddl_proto_msgTypes[16] ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + mi := &file_greptime_v1_ddl_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2016,11 +1934,7 @@ func (x *DropDefaults) ProtoReflect() protoreflect.Message { // Deprecated: Use DropDefaults.ProtoReflect.Descriptor instead. func (*DropDefaults) Descriptor() ([]byte, []int) { -<<<<<<< HEAD - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17} -======= - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{16} ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18} } func (x *DropDefaults) GetDropDefaults() []*DropDefault { @@ -2041,7 +1955,7 @@ type SetDefaults struct { func (x *SetDefaults) Reset() { *x = SetDefaults{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2054,7 +1968,7 @@ func (x *SetDefaults) String() string { func (*SetDefaults) ProtoMessage() {} func (x *SetDefaults) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2067,7 +1981,7 @@ func (x *SetDefaults) ProtoReflect() protoreflect.Message { // Deprecated: Use SetDefaults.ProtoReflect.Descriptor instead. func (*SetDefaults) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19} } func (x *SetDefaults) GetSetDefaults() []*SetDefault { @@ -2088,7 +2002,7 @@ type DropColumns struct { func (x *DropColumns) Reset() { *x = DropColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2101,7 +2015,7 @@ func (x *DropColumns) String() string { func (*DropColumns) ProtoMessage() {} func (x *DropColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2114,7 +2028,7 @@ func (x *DropColumns) ProtoReflect() protoreflect.Message { // Deprecated: Use DropColumns.ProtoReflect.Descriptor instead. func (*DropColumns) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{20} } func (x *DropColumns) GetDropColumns() []*DropColumn { @@ -2135,7 +2049,7 @@ type ModifyColumnTypes struct { func (x *ModifyColumnTypes) Reset() { *x = ModifyColumnTypes{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2148,7 +2062,7 @@ func (x *ModifyColumnTypes) String() string { func (*ModifyColumnTypes) ProtoMessage() {} func (x *ModifyColumnTypes) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2161,7 +2075,7 @@ func (x *ModifyColumnTypes) ProtoReflect() protoreflect.Message { // Deprecated: Use ModifyColumnTypes.ProtoReflect.Descriptor instead. func (*ModifyColumnTypes) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{21} } func (x *ModifyColumnTypes) GetModifyColumnTypes() []*ModifyColumnType { @@ -2182,7 +2096,7 @@ type RenameTable struct { func (x *RenameTable) Reset() { *x = RenameTable{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2195,7 +2109,7 @@ func (x *RenameTable) String() string { func (*RenameTable) ProtoMessage() {} func (x *RenameTable) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2208,7 +2122,7 @@ func (x *RenameTable) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameTable.ProtoReflect.Descriptor instead. func (*RenameTable) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{20} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{22} } func (x *RenameTable) GetNewTableName() string { @@ -2231,7 +2145,7 @@ type AddColumn struct { func (x *AddColumn) Reset() { *x = AddColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2244,7 +2158,7 @@ func (x *AddColumn) String() string { func (*AddColumn) ProtoMessage() {} func (x *AddColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2257,7 +2171,7 @@ func (x *AddColumn) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumn.ProtoReflect.Descriptor instead. func (*AddColumn) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{21} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{23} } func (x *AddColumn) GetColumnDef() *ColumnDef { @@ -2294,7 +2208,7 @@ type ModifyColumnType struct { func (x *ModifyColumnType) Reset() { *x = ModifyColumnType{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2307,7 +2221,7 @@ func (x *ModifyColumnType) String() string { func (*ModifyColumnType) ProtoMessage() {} func (x *ModifyColumnType) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2320,7 +2234,7 @@ func (x *ModifyColumnType) ProtoReflect() protoreflect.Message { // Deprecated: Use ModifyColumnType.ProtoReflect.Descriptor instead. func (*ModifyColumnType) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{22} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24} } func (x *ModifyColumnType) GetColumnName() string { @@ -2356,7 +2270,7 @@ type Option struct { func (x *Option) Reset() { *x = Option{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2369,7 +2283,7 @@ func (x *Option) String() string { func (*Option) ProtoMessage() {} func (x *Option) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2382,7 +2296,7 @@ func (x *Option) ProtoReflect() protoreflect.Message { // Deprecated: Use Option.ProtoReflect.Descriptor instead. func (*Option) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{23} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{25} } func (x *Option) GetKey() string { @@ -2410,7 +2324,7 @@ type SetTableOptions struct { func (x *SetTableOptions) Reset() { *x = SetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2423,7 +2337,7 @@ func (x *SetTableOptions) String() string { func (*SetTableOptions) ProtoMessage() {} func (x *SetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2436,7 +2350,7 @@ func (x *SetTableOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use SetTableOptions.ProtoReflect.Descriptor instead. func (*SetTableOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{26} } func (x *SetTableOptions) GetTableOptions() []*Option { @@ -2457,7 +2371,7 @@ type UnsetTableOptions struct { func (x *UnsetTableOptions) Reset() { *x = UnsetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] + mi := &file_greptime_v1_ddl_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2470,7 +2384,7 @@ func (x *UnsetTableOptions) String() string { func (*UnsetTableOptions) ProtoMessage() {} func (x *UnsetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] + mi := &file_greptime_v1_ddl_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2483,7 +2397,7 @@ func (x *UnsetTableOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetTableOptions.ProtoReflect.Descriptor instead. func (*UnsetTableOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{25} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{27} } func (x *UnsetTableOptions) GetKeys() []string { @@ -2504,7 +2418,7 @@ type DropColumn struct { func (x *DropColumn) Reset() { *x = DropColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] + mi := &file_greptime_v1_ddl_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2517,7 +2431,7 @@ func (x *DropColumn) String() string { func (*DropColumn) ProtoMessage() {} func (x *DropColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] + mi := &file_greptime_v1_ddl_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2530,7 +2444,7 @@ func (x *DropColumn) ProtoReflect() protoreflect.Message { // Deprecated: Use DropColumn.ProtoReflect.Descriptor instead. func (*DropColumn) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{26} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{28} } func (x *DropColumn) GetName() string { @@ -2551,7 +2465,7 @@ type TableId struct { func (x *TableId) Reset() { *x = TableId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2564,7 +2478,7 @@ func (x *TableId) String() string { func (*TableId) ProtoMessage() {} func (x *TableId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2577,7 +2491,7 @@ func (x *TableId) ProtoReflect() protoreflect.Message { // Deprecated: Use TableId.ProtoReflect.Descriptor instead. func (*TableId) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{27} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{29} } func (x *TableId) GetId() uint32 { @@ -2598,7 +2512,7 @@ type FlowId struct { func (x *FlowId) Reset() { *x = FlowId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2611,7 +2525,7 @@ func (x *FlowId) String() string { func (*FlowId) ProtoMessage() {} func (x *FlowId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2624,7 +2538,7 @@ func (x *FlowId) ProtoReflect() protoreflect.Message { // Deprecated: Use FlowId.ProtoReflect.Descriptor instead. func (*FlowId) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{28} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{30} } func (x *FlowId) GetId() uint32 { @@ -2654,7 +2568,7 @@ type ColumnDef struct { func (x *ColumnDef) Reset() { *x = ColumnDef{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2667,7 +2581,7 @@ func (x *ColumnDef) String() string { func (*ColumnDef) ProtoMessage() {} func (x *ColumnDef) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2680,7 +2594,7 @@ func (x *ColumnDef) ProtoReflect() protoreflect.Message { // Deprecated: Use ColumnDef.ProtoReflect.Descriptor instead. func (*ColumnDef) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{29} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{31} } func (x *ColumnDef) GetName() string { @@ -2751,7 +2665,7 @@ type AddColumnLocation struct { func (x *AddColumnLocation) Reset() { *x = AddColumnLocation{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[30] + mi := &file_greptime_v1_ddl_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2764,7 +2678,7 @@ func (x *AddColumnLocation) String() string { func (*AddColumnLocation) ProtoMessage() {} func (x *AddColumnLocation) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[30] + mi := &file_greptime_v1_ddl_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2777,7 +2691,7 @@ func (x *AddColumnLocation) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumnLocation.ProtoReflect.Descriptor instead. func (*AddColumnLocation) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{30} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{32} } func (x *AddColumnLocation) GetLocationType() AddColumnLocation_LocationType { @@ -2813,7 +2727,7 @@ type SetFulltext struct { func (x *SetFulltext) Reset() { *x = SetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[31] + mi := &file_greptime_v1_ddl_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2826,7 +2740,7 @@ func (x *SetFulltext) String() string { func (*SetFulltext) ProtoMessage() {} func (x *SetFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[31] + mi := &file_greptime_v1_ddl_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2839,7 +2753,7 @@ func (x *SetFulltext) ProtoReflect() protoreflect.Message { // Deprecated: Use SetFulltext.ProtoReflect.Descriptor instead. func (*SetFulltext) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{31} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{33} } func (x *SetFulltext) GetColumnName() string { @@ -2902,7 +2816,7 @@ type UnsetFulltext struct { func (x *UnsetFulltext) Reset() { *x = UnsetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[32] + mi := &file_greptime_v1_ddl_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2915,7 +2829,7 @@ func (x *UnsetFulltext) String() string { func (*UnsetFulltext) ProtoMessage() {} func (x *UnsetFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[32] + mi := &file_greptime_v1_ddl_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2928,7 +2842,7 @@ func (x *UnsetFulltext) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetFulltext.ProtoReflect.Descriptor instead. func (*UnsetFulltext) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{32} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{34} } func (x *UnsetFulltext) GetColumnName() string { @@ -2949,7 +2863,7 @@ type SetInverted struct { func (x *SetInverted) Reset() { *x = SetInverted{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[33] + mi := &file_greptime_v1_ddl_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2962,7 +2876,7 @@ func (x *SetInverted) String() string { func (*SetInverted) ProtoMessage() {} func (x *SetInverted) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[33] + mi := &file_greptime_v1_ddl_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2975,7 +2889,7 @@ func (x *SetInverted) ProtoReflect() protoreflect.Message { // Deprecated: Use SetInverted.ProtoReflect.Descriptor instead. func (*SetInverted) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{33} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{35} } func (x *SetInverted) GetColumnName() string { @@ -2996,7 +2910,7 @@ type UnsetInverted struct { func (x *UnsetInverted) Reset() { *x = UnsetInverted{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[34] + mi := &file_greptime_v1_ddl_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3009,7 +2923,7 @@ func (x *UnsetInverted) String() string { func (*UnsetInverted) ProtoMessage() {} func (x *UnsetInverted) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[34] + mi := &file_greptime_v1_ddl_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3022,7 +2936,7 @@ func (x *UnsetInverted) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetInverted.ProtoReflect.Descriptor instead. func (*UnsetInverted) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{34} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{36} } func (x *UnsetInverted) GetColumnName() string { @@ -3047,7 +2961,7 @@ type SetSkipping struct { func (x *SetSkipping) Reset() { *x = SetSkipping{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[35] + mi := &file_greptime_v1_ddl_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3060,7 +2974,7 @@ func (x *SetSkipping) String() string { func (*SetSkipping) ProtoMessage() {} func (x *SetSkipping) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[35] + mi := &file_greptime_v1_ddl_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3073,7 +2987,7 @@ func (x *SetSkipping) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSkipping.ProtoReflect.Descriptor instead. func (*SetSkipping) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{35} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{37} } func (x *SetSkipping) GetColumnName() string { @@ -3122,7 +3036,7 @@ type UnsetSkipping struct { func (x *UnsetSkipping) Reset() { *x = UnsetSkipping{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[36] + mi := &file_greptime_v1_ddl_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3135,7 +3049,7 @@ func (x *UnsetSkipping) String() string { func (*UnsetSkipping) ProtoMessage() {} func (x *UnsetSkipping) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[36] + mi := &file_greptime_v1_ddl_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3148,7 +3062,7 @@ func (x *UnsetSkipping) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetSkipping.ProtoReflect.Descriptor instead. func (*UnsetSkipping) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{36} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{38} } func (x *UnsetSkipping) GetColumnName() string { @@ -3175,7 +3089,7 @@ type AlterDatabaseExpr struct { func (x *AlterDatabaseExpr) Reset() { *x = AlterDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[37] + mi := &file_greptime_v1_ddl_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3188,7 +3102,7 @@ func (x *AlterDatabaseExpr) String() string { func (*AlterDatabaseExpr) ProtoMessage() {} func (x *AlterDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[37] + mi := &file_greptime_v1_ddl_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3201,7 +3115,7 @@ func (x *AlterDatabaseExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use AlterDatabaseExpr.ProtoReflect.Descriptor instead. func (*AlterDatabaseExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{37} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{39} } func (x *AlterDatabaseExpr) GetCatalogName() string { @@ -3266,7 +3180,7 @@ type SetDatabaseOptions struct { func (x *SetDatabaseOptions) Reset() { *x = SetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[38] + mi := &file_greptime_v1_ddl_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3279,7 +3193,7 @@ func (x *SetDatabaseOptions) String() string { func (*SetDatabaseOptions) ProtoMessage() {} func (x *SetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[38] + mi := &file_greptime_v1_ddl_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3292,7 +3206,7 @@ func (x *SetDatabaseOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use SetDatabaseOptions.ProtoReflect.Descriptor instead. func (*SetDatabaseOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{38} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{40} } func (x *SetDatabaseOptions) GetSetDatabaseOptions() []*Option { @@ -3313,7 +3227,7 @@ type UnsetDatabaseOptions struct { func (x *UnsetDatabaseOptions) Reset() { *x = UnsetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[39] + mi := &file_greptime_v1_ddl_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3326,7 +3240,7 @@ func (x *UnsetDatabaseOptions) String() string { func (*UnsetDatabaseOptions) ProtoMessage() {} func (x *UnsetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[39] + mi := &file_greptime_v1_ddl_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3339,7 +3253,7 @@ func (x *UnsetDatabaseOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetDatabaseOptions.ProtoReflect.Descriptor instead. func (*UnsetDatabaseOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{39} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{41} } func (x *UnsetDatabaseOptions) GetKeys() []string { @@ -3373,7 +3287,7 @@ type CreateTriggerExpr struct { func (x *CreateTriggerExpr) Reset() { *x = CreateTriggerExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[40] + mi := &file_greptime_v1_ddl_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3386,7 +3300,7 @@ func (x *CreateTriggerExpr) String() string { func (*CreateTriggerExpr) ProtoMessage() {} func (x *CreateTriggerExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[40] + mi := &file_greptime_v1_ddl_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3399,7 +3313,7 @@ func (x *CreateTriggerExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTriggerExpr.ProtoReflect.Descriptor instead. func (*CreateTriggerExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{40} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{42} } func (x *CreateTriggerExpr) GetCatalogName() string { @@ -3474,7 +3388,7 @@ type NotifyChannel struct { func (x *NotifyChannel) Reset() { *x = NotifyChannel{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[41] + mi := &file_greptime_v1_ddl_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3487,7 +3401,7 @@ func (x *NotifyChannel) String() string { func (*NotifyChannel) ProtoMessage() {} func (x *NotifyChannel) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[41] + mi := &file_greptime_v1_ddl_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3500,7 +3414,7 @@ func (x *NotifyChannel) ProtoReflect() protoreflect.Message { // Deprecated: Use NotifyChannel.ProtoReflect.Descriptor instead. func (*NotifyChannel) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{41} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{43} } func (x *NotifyChannel) GetName() string { @@ -3547,7 +3461,7 @@ type WebhookOptions struct { func (x *WebhookOptions) Reset() { *x = WebhookOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[42] + mi := &file_greptime_v1_ddl_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3560,7 +3474,7 @@ func (x *WebhookOptions) String() string { func (*WebhookOptions) ProtoMessage() {} func (x *WebhookOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[42] + mi := &file_greptime_v1_ddl_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3573,7 +3487,7 @@ func (x *WebhookOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use WebhookOptions.ProtoReflect.Descriptor instead. func (*WebhookOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{42} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{44} } func (x *WebhookOptions) GetUrl() string { @@ -3603,7 +3517,7 @@ type DropTriggerExpr struct { func (x *DropTriggerExpr) Reset() { *x = DropTriggerExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[43] + mi := &file_greptime_v1_ddl_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3616,7 +3530,7 @@ func (x *DropTriggerExpr) String() string { func (*DropTriggerExpr) ProtoMessage() {} func (x *DropTriggerExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[43] + mi := &file_greptime_v1_ddl_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3629,7 +3543,7 @@ func (x *DropTriggerExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use DropTriggerExpr.ProtoReflect.Descriptor instead. func (*DropTriggerExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{43} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{45} } func (x *DropTriggerExpr) GetCatalogName() string { @@ -3816,11 +3730,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, -<<<<<<< HEAD - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd7, 0x06, 0x0a, 0x0e, 0x41, 0x6c, -======= - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x06, 0x0a, 0x0e, 0x41, 0x6c, ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x07, 0x0a, 0x0e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, @@ -3865,7 +3775,6 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, -<<<<<<< HEAD 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, @@ -3874,669 +3783,348 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, - 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, - 0x69, 0x6e, 0x64, 0x22, 0x2e, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x44, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, - 0x73, 0x12, 0x36, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0a, 0x73, - 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x55, 0x6e, 0x73, - 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x73, - 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0xbd, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, - 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x36, 0x0a, 0x08, - 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, - 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, - 0x72, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x73, 0x65, - 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, - 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, - 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, - 0x12, 0x38, 0x0a, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, - 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x73, 0x6b, - 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, - 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0xc9, 0x01, 0x0a, 0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, - 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, - 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, - 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, - 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, - 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, - 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, - 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, - 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa7, 0x01, 0x0a, 0x11, - 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, - 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, - 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, - 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, - 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x4d, 0x0a, 0x0c, 0x44, 0x72, - 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x64, 0x72, - 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, + 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x64, 0x72, 0x6f, - 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x72, 0x6f, - 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, - 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, - 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x13, 0x6d, 0x6f, 0x64, - 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xa9, 0x01, - 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x35, 0x0a, 0x0a, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, - 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, - 0x0a, 0x11, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x49, 0x66, - 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x10, 0x4d, 0x6f, - 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, - 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4b, 0x0a, 0x0f, 0x53, 0x65, 0x74, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0d, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27, 0x0a, 0x11, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, - 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, - 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x06, - 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8e, 0x03, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, - 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, - 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x12, - 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, - 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, - 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb7, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, - 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, - 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, - 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, - 0x01, 0x22, 0xaa, 0x02, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, + 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, + 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, + 0x6e, 0x64, 0x22, 0x2e, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x6e, - 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, - 0x7a, 0x65, 0x72, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x25, 0x0a, - 0x0e, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, - 0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, - 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, - 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2e, - 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, - 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, - 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, - 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x2e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, - 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, - 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x67, - 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, - 0x13, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x73, 0x6b, 0x69, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, - 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x72, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, - 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, - 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, - 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, - 0x8f, 0x02, 0x0a, 0x11, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, - 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x14, 0x73, 0x65, 0x74, - 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, - 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, - 0x0a, 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, - 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, - 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x48, 0x00, 0x52, 0x14, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, - 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, - 0x64, 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, - 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, - 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2a, - 0x0a, 0x14, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x82, 0x04, 0x0a, 0x11, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, - 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, - 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x36, 0x0a, 0x08, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, - 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x73, 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, - 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x51, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x76, 0x61, 0x6c, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, - 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x6c, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x0e, 0x0a, - 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x96, 0x01, - 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, - 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, - 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x1a, 0x37, 0x0a, - 0x09, 0x4f, 0x70, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, 0x0f, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, - 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x2a, 0x24, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, - 0x72, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x47, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12, 0x0b, - 0x0a, 0x07, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x53, 0x45, 0x10, 0x01, 0x2a, 0x29, 0x0a, 0x0f, 0x46, - 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x0b, - 0x0a, 0x07, 0x54, 0x41, 0x4e, 0x54, 0x49, 0x56, 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, - 0x4c, 0x4f, 0x4f, 0x4d, 0x10, 0x01, 0x2a, 0x25, 0x0a, 0x11, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x42, - 0x4c, 0x4f, 0x4f, 0x4d, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x00, 0x42, 0x4c, 0x0a, - 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, - 0x03, 0x44, 0x64, 0x6c, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -======= - 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3d, 0x0a, - 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, + 0x6d, 0x65, 0x22, 0x44, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, + 0x12, 0x36, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0a, 0x73, 0x65, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x55, 0x6e, 0x73, 0x65, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, + 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, - 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x06, 0x0a, 0x04, - 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x2e, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, - 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x36, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x08, 0x66, - 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, - 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, - 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, - 0x36, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, - 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, - 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x69, - 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, - 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, - 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, - 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x44, - 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, - 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, - 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, + 0x31, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, + 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x69, 0x6e, 0x76, + 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, + 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, + 0x64, 0x12, 0x36, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, + 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, + 0x74, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x38, 0x0a, + 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, + 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, + 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, + 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, + 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc9, 0x01, 0x0a, + 0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, + 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, + 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, + 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75, + 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, + 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, + 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, + 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, + 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x4d, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, + 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, + 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, + 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x12, 0x4d, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6d, + 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x22, 0x33, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, + 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, + 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, + 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x66, + 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x10, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, + 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, + 0x30, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x4b, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27, + 0x0a, 0x11, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x06, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8e, + 0x03, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x38, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, + 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x65, + 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x65, + 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0xb7, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, + 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x22, 0xaa, 0x02, 0x0a, 0x0b, 0x53, 0x65, + 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x52, 0x08, 0x61, 0x6e, 0x61, + 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, + 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, + 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x07, + 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, + 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, + 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, + 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, + 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x49, + 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, + 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe8, 0x01, 0x0a, 0x0b, 0x53, + 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, + 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, + 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, + 0x65, 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, + 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x11, 0x41, 0x6c, 0x74, 0x65, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, - 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, - 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, - 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e, 0x63, - 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, - 0x22, 0x7c, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, - 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, - 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, - 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x45, - 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x0b, - 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x4d, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, - 0x49, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, - 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, - 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, 0x4d, 0x6f, - 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, - 0x4d, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, - 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6d, 0x6f, 0x64, - 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, - 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, - 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x66, 0x5f, 0x6e, - 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0e, 0x61, 0x64, 0x64, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, - 0xcb, 0x01, 0x0a, 0x10, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, - 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, - 0x06, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x4b, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27, 0x0a, 0x11, - 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, - 0x69, 0x64, 0x22, 0x18, 0x0a, 0x06, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8e, 0x03, 0x0a, - 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, - 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, - 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, - 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, - 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, - 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, - 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, - 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, - 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb7, 0x01, - 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, - 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x22, 0xaa, 0x02, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, - 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x12, 0x31, 0x0a, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, - 0x7a, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, - 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, - 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x61, - 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, - 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, - 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, - 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, - 0x72, 0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, - 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, - 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, - 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, - 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x74, - 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, - 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, - 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x11, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x44, - 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, - 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x53, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, - 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, - 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, - 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14, 0x75, 0x6e, 0x73, 0x65, 0x74, - 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x44, 0x61, - 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, - 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, - 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, - 0x22, 0x82, 0x04, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, - 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, - 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, - 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x10, 0x0a, - 0x03, 0x73, 0x71, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, - 0x36, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x51, 0x0a, 0x0b, 0x61, - 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, - 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, - 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6c, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x42, 0x0e, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6f, - 0x70, 0x74, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x4f, 0x70, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, 0x0f, - 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, - 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, - 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, - 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x2a, 0x24, 0x0a, 0x08, 0x41, - 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x47, 0x4c, 0x49, - 0x53, 0x48, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x53, 0x45, 0x10, - 0x01, 0x2a, 0x29, 0x0a, 0x0f, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, - 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x4e, 0x54, 0x49, 0x56, 0x59, 0x10, - 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x10, 0x01, 0x2a, 0x25, 0x0a, 0x11, - 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, - 0x52, 0x10, 0x00, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x64, 0x6c, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, - 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + 0x65, 0x12, 0x53, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, + 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x48, 0x00, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14, 0x75, 0x6e, 0x73, + 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x65, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x45, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, + 0x79, 0x73, 0x22, 0x82, 0x04, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, + 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, + 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, + 0x6c, 0x12, 0x36, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, + 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x51, 0x0a, + 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, + 0x70, 0x72, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x1a, 0x39, 0x0a, 0x0b, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6c, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, + 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, + 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, + 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x0e, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, + 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x04, 0x6f, 0x70, + 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x04, 0x6f, 0x70, 0x74, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x4f, 0x70, 0x74, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, + 0x0a, 0x0f, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, + 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, + 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x2a, 0x24, 0x0a, + 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x47, + 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x53, + 0x45, 0x10, 0x01, 0x2a, 0x29, 0x0a, 0x0f, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, + 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x4e, 0x54, 0x49, 0x56, + 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x10, 0x01, 0x2a, 0x25, + 0x0a, 0x11, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x5f, 0x46, 0x49, 0x4c, + 0x54, 0x45, 0x52, 0x10, 0x00, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x64, 0x6c, 0x5a, 0x35, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4552,7 +4140,7 @@ func file_greptime_v1_ddl_proto_rawDescGZIP() []byte { } var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 50) +var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 52) var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (Analyzer)(0), // 0: greptime.v1.Analyzer (FulltextBackend)(0), // 1: greptime.v1.FulltextBackend @@ -4566,200 +4154,132 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (*CreateTableExpr)(nil), // 9: greptime.v1.CreateTableExpr (*AlterTableExpr)(nil), // 10: greptime.v1.AlterTableExpr (*DropDefault)(nil), // 11: greptime.v1.DropDefault -<<<<<<< HEAD (*SetIndexes)(nil), // 12: greptime.v1.SetIndexes (*UnsetIndexes)(nil), // 13: greptime.v1.UnsetIndexes - (*SetIndex)(nil), // 14: greptime.v1.SetIndex - (*UnsetIndex)(nil), // 15: greptime.v1.UnsetIndex - (*DropTableExpr)(nil), // 16: greptime.v1.DropTableExpr - (*CreateDatabaseExpr)(nil), // 17: greptime.v1.CreateDatabaseExpr - (*TruncateTableExpr)(nil), // 18: greptime.v1.TruncateTableExpr - (*DropDatabaseExpr)(nil), // 19: greptime.v1.DropDatabaseExpr - (*AddColumns)(nil), // 20: greptime.v1.AddColumns - (*DropDefaults)(nil), // 21: greptime.v1.DropDefaults -======= - (*SetDefault)(nil), // 12: greptime.v1.SetDefault - (*SetIndex)(nil), // 13: greptime.v1.SetIndex - (*UnsetIndex)(nil), // 14: greptime.v1.UnsetIndex - (*DropTableExpr)(nil), // 15: greptime.v1.DropTableExpr - (*CreateDatabaseExpr)(nil), // 16: greptime.v1.CreateDatabaseExpr - (*TruncateTableExpr)(nil), // 17: greptime.v1.TruncateTableExpr - (*DropDatabaseExpr)(nil), // 18: greptime.v1.DropDatabaseExpr - (*AddColumns)(nil), // 19: greptime.v1.AddColumns - (*DropDefaults)(nil), // 20: greptime.v1.DropDefaults - (*SetDefaults)(nil), // 21: greptime.v1.SetDefaults ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) - (*DropColumns)(nil), // 22: greptime.v1.DropColumns - (*ModifyColumnTypes)(nil), // 23: greptime.v1.ModifyColumnTypes - (*RenameTable)(nil), // 24: greptime.v1.RenameTable - (*AddColumn)(nil), // 25: greptime.v1.AddColumn - (*ModifyColumnType)(nil), // 26: greptime.v1.ModifyColumnType - (*Option)(nil), // 27: greptime.v1.Option - (*SetTableOptions)(nil), // 28: greptime.v1.SetTableOptions - (*UnsetTableOptions)(nil), // 29: greptime.v1.UnsetTableOptions - (*DropColumn)(nil), // 30: greptime.v1.DropColumn - (*TableId)(nil), // 31: greptime.v1.TableId - (*FlowId)(nil), // 32: greptime.v1.FlowId - (*ColumnDef)(nil), // 33: greptime.v1.ColumnDef - (*AddColumnLocation)(nil), // 34: greptime.v1.AddColumnLocation - (*SetFulltext)(nil), // 35: greptime.v1.SetFulltext - (*UnsetFulltext)(nil), // 36: greptime.v1.UnsetFulltext - (*SetInverted)(nil), // 37: greptime.v1.SetInverted - (*UnsetInverted)(nil), // 38: greptime.v1.UnsetInverted - (*SetSkipping)(nil), // 39: greptime.v1.SetSkipping - (*UnsetSkipping)(nil), // 40: greptime.v1.UnsetSkipping - (*AlterDatabaseExpr)(nil), // 41: greptime.v1.AlterDatabaseExpr - (*SetDatabaseOptions)(nil), // 42: greptime.v1.SetDatabaseOptions - (*UnsetDatabaseOptions)(nil), // 43: greptime.v1.UnsetDatabaseOptions - (*CreateTriggerExpr)(nil), // 44: greptime.v1.CreateTriggerExpr - (*NotifyChannel)(nil), // 45: greptime.v1.NotifyChannel - (*WebhookOptions)(nil), // 46: greptime.v1.WebhookOptions - (*DropTriggerExpr)(nil), // 47: greptime.v1.DropTriggerExpr - nil, // 48: greptime.v1.CreateFlowExpr.FlowOptionsEntry - nil, // 49: greptime.v1.CreateTableExpr.TableOptionsEntry - nil, // 50: greptime.v1.CreateDatabaseExpr.OptionsEntry - nil, // 51: greptime.v1.CreateTriggerExpr.LabelsEntry - nil, // 52: greptime.v1.CreateTriggerExpr.AnnotationsEntry - nil, // 53: greptime.v1.WebhookOptions.OptsEntry - (*TableName)(nil), // 54: greptime.v1.TableName - (*ExpireAfter)(nil), // 55: greptime.v1.ExpireAfter - (ColumnDataType)(0), // 56: greptime.v1.ColumnDataType - (*ColumnDataTypeExtension)(nil), // 57: greptime.v1.ColumnDataTypeExtension - (SemanticType)(0), // 58: greptime.v1.SemanticType - (*ColumnOptions)(nil), // 59: greptime.v1.ColumnOptions + (*SetDefault)(nil), // 14: greptime.v1.SetDefault + (*SetIndex)(nil), // 15: greptime.v1.SetIndex + (*UnsetIndex)(nil), // 16: greptime.v1.UnsetIndex + (*DropTableExpr)(nil), // 17: greptime.v1.DropTableExpr + (*CreateDatabaseExpr)(nil), // 18: greptime.v1.CreateDatabaseExpr + (*TruncateTableExpr)(nil), // 19: greptime.v1.TruncateTableExpr + (*DropDatabaseExpr)(nil), // 20: greptime.v1.DropDatabaseExpr + (*AddColumns)(nil), // 21: greptime.v1.AddColumns + (*DropDefaults)(nil), // 22: greptime.v1.DropDefaults + (*SetDefaults)(nil), // 23: greptime.v1.SetDefaults + (*DropColumns)(nil), // 24: greptime.v1.DropColumns + (*ModifyColumnTypes)(nil), // 25: greptime.v1.ModifyColumnTypes + (*RenameTable)(nil), // 26: greptime.v1.RenameTable + (*AddColumn)(nil), // 27: greptime.v1.AddColumn + (*ModifyColumnType)(nil), // 28: greptime.v1.ModifyColumnType + (*Option)(nil), // 29: greptime.v1.Option + (*SetTableOptions)(nil), // 30: greptime.v1.SetTableOptions + (*UnsetTableOptions)(nil), // 31: greptime.v1.UnsetTableOptions + (*DropColumn)(nil), // 32: greptime.v1.DropColumn + (*TableId)(nil), // 33: greptime.v1.TableId + (*FlowId)(nil), // 34: greptime.v1.FlowId + (*ColumnDef)(nil), // 35: greptime.v1.ColumnDef + (*AddColumnLocation)(nil), // 36: greptime.v1.AddColumnLocation + (*SetFulltext)(nil), // 37: greptime.v1.SetFulltext + (*UnsetFulltext)(nil), // 38: greptime.v1.UnsetFulltext + (*SetInverted)(nil), // 39: greptime.v1.SetInverted + (*UnsetInverted)(nil), // 40: greptime.v1.UnsetInverted + (*SetSkipping)(nil), // 41: greptime.v1.SetSkipping + (*UnsetSkipping)(nil), // 42: greptime.v1.UnsetSkipping + (*AlterDatabaseExpr)(nil), // 43: greptime.v1.AlterDatabaseExpr + (*SetDatabaseOptions)(nil), // 44: greptime.v1.SetDatabaseOptions + (*UnsetDatabaseOptions)(nil), // 45: greptime.v1.UnsetDatabaseOptions + (*CreateTriggerExpr)(nil), // 46: greptime.v1.CreateTriggerExpr + (*NotifyChannel)(nil), // 47: greptime.v1.NotifyChannel + (*WebhookOptions)(nil), // 48: greptime.v1.WebhookOptions + (*DropTriggerExpr)(nil), // 49: greptime.v1.DropTriggerExpr + nil, // 50: greptime.v1.CreateFlowExpr.FlowOptionsEntry + nil, // 51: greptime.v1.CreateTableExpr.TableOptionsEntry + nil, // 52: greptime.v1.CreateDatabaseExpr.OptionsEntry + nil, // 53: greptime.v1.CreateTriggerExpr.LabelsEntry + nil, // 54: greptime.v1.CreateTriggerExpr.AnnotationsEntry + nil, // 55: greptime.v1.WebhookOptions.OptsEntry + (*TableName)(nil), // 56: greptime.v1.TableName + (*ExpireAfter)(nil), // 57: greptime.v1.ExpireAfter + (ColumnDataType)(0), // 58: greptime.v1.ColumnDataType + (*ColumnDataTypeExtension)(nil), // 59: greptime.v1.ColumnDataTypeExtension + (SemanticType)(0), // 60: greptime.v1.SemanticType + (*ColumnOptions)(nil), // 61: greptime.v1.ColumnOptions } var file_greptime_v1_ddl_proto_depIdxs = []int32{ -<<<<<<< HEAD - 17, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr + 18, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr 9, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr 10, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr - 16, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr - 18, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr -======= - 16, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr - 9, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr - 10, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr - 15, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr - 17, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + 17, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr + 19, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr 5, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr 6, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr 7, // 7: greptime.v1.DdlRequest.create_view:type_name -> greptime.v1.CreateViewExpr 8, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr - 41, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr - 54, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName - 54, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName - 55, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter - 48, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry - 32, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId - 54, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName - 31, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId - 33, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef - 49, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry - 31, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId -<<<<<<< HEAD - 20, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns -======= - 19, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) - 22, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns - 24, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable - 23, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 28, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions - 29, // 25: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions -<<<<<<< HEAD - 14, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex - 15, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex - 21, // 28: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults + 43, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr + 56, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName + 56, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName + 57, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter + 50, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry + 34, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId + 56, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName + 33, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId + 35, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef + 51, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry + 33, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId + 21, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns + 24, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns + 26, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable + 25, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 30, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions + 31, // 25: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 15, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex + 16, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex + 22, // 28: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults 12, // 29: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes 13, // 30: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes - 14, // 31: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex - 15, // 32: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex - 35, // 33: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext - 37, // 34: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted - 39, // 35: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping - 36, // 36: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext - 38, // 37: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted - 40, // 38: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping - 31, // 39: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId - 50, // 40: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry - 31, // 41: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId - 25, // 42: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn - 11, // 43: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault - 30, // 44: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn - 26, // 45: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType - 33, // 46: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef - 34, // 47: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 56, // 48: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType - 57, // 49: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 27, // 50: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option - 56, // 51: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType - 58, // 52: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType - 57, // 53: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 59, // 54: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions - 3, // 55: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType - 0, // 56: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer - 1, // 57: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend - 2, // 58: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType - 42, // 59: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions - 43, // 60: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions - 27, // 61: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option - 45, // 62: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel - 51, // 63: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry - 52, // 64: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry - 46, // 65: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions - 53, // 66: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry - 67, // [67:67] is the sub-list for method output_type - 67, // [67:67] is the sub-list for method input_type - 67, // [67:67] is the sub-list for extension type_name - 67, // [67:67] is the sub-list for extension extendee - 0, // [0:67] is the sub-list for field type_name -======= - 13, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex - 14, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex - 20, // 28: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults - 21, // 29: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults - 35, // 30: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext - 37, // 31: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted - 39, // 32: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping - 36, // 33: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext - 38, // 34: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted - 40, // 35: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping - 31, // 36: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId - 50, // 37: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry - 31, // 38: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId - 25, // 39: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn - 11, // 40: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault - 12, // 41: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault - 30, // 42: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn - 26, // 43: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType - 33, // 44: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef - 34, // 45: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 56, // 46: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType - 57, // 47: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 27, // 48: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option - 56, // 49: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType - 58, // 50: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType - 57, // 51: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 59, // 52: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions - 3, // 53: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType - 0, // 54: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer - 1, // 55: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend - 2, // 56: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType - 42, // 57: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions - 43, // 58: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions - 27, // 59: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option - 45, // 60: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel - 51, // 61: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry - 52, // 62: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry - 46, // 63: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions - 53, // 64: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry - 65, // [65:65] is the sub-list for method output_type - 65, // [65:65] is the sub-list for method input_type - 65, // [65:65] is the sub-list for extension type_name - 65, // [65:65] is the sub-list for extension extendee - 0, // [0:65] is the sub-list for field type_name ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + 23, // 31: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults + 15, // 32: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex + 16, // 33: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex + 37, // 34: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext + 39, // 35: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted + 41, // 36: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping + 38, // 37: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext + 40, // 38: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted + 42, // 39: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping + 33, // 40: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId + 52, // 41: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry + 33, // 42: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId + 27, // 43: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn + 11, // 44: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault + 14, // 45: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault + 32, // 46: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn + 28, // 47: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType + 35, // 48: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef + 36, // 49: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 58, // 50: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType + 59, // 51: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 29, // 52: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option + 58, // 53: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType + 60, // 54: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType + 59, // 55: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 61, // 56: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions + 3, // 57: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType + 0, // 58: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer + 1, // 59: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend + 2, // 60: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType + 44, // 61: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions + 45, // 62: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions + 29, // 63: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option + 47, // 64: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel + 53, // 65: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry + 54, // 66: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry + 48, // 67: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions + 55, // 68: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry + 69, // [69:69] is the sub-list for method output_type + 69, // [69:69] is the sub-list for method input_type + 69, // [69:69] is the sub-list for extension type_name + 69, // [69:69] is the sub-list for extension extendee + 0, // [0:69] is the sub-list for field type_name } func init() { file_greptime_v1_ddl_proto_init() } @@ -4866,11 +4386,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD switch v := v.(*SetIndexes); i { -======= - switch v := v.(*SetDefault); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) case 0: return &v.state case 1: @@ -4882,11 +4398,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD switch v := v.(*UnsetIndexes); i { -======= - switch v := v.(*SetIndex); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) case 0: return &v.state case 1: @@ -4898,11 +4410,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*SetIndex); i { -======= - switch v := v.(*UnsetIndex); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*SetDefault); i { case 0: return &v.state case 1: @@ -4914,11 +4422,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*UnsetIndex); i { -======= - switch v := v.(*DropTableExpr); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*SetIndex); i { case 0: return &v.state case 1: @@ -4930,11 +4434,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*DropTableExpr); i { -======= - switch v := v.(*CreateDatabaseExpr); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*UnsetIndex); i { case 0: return &v.state case 1: @@ -4946,11 +4446,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*CreateDatabaseExpr); i { -======= - switch v := v.(*TruncateTableExpr); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*DropTableExpr); i { case 0: return &v.state case 1: @@ -4962,11 +4458,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*TruncateTableExpr); i { -======= - switch v := v.(*DropDatabaseExpr); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*CreateDatabaseExpr); i { case 0: return &v.state case 1: @@ -4978,11 +4470,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*DropDatabaseExpr); i { -======= - switch v := v.(*AddColumns); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*TruncateTableExpr); i { case 0: return &v.state case 1: @@ -4994,11 +4482,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*AddColumns); i { -======= - switch v := v.(*DropDefaults); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*DropDatabaseExpr); i { case 0: return &v.state case 1: @@ -5010,11 +4494,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { -<<<<<<< HEAD - switch v := v.(*DropDefaults); i { -======= - switch v := v.(*SetDefaults); i { ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + switch v := v.(*AddColumns); i { case 0: return &v.state case 1: @@ -5026,7 +4506,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropColumns); i { + switch v := v.(*DropDefaults); i { case 0: return &v.state case 1: @@ -5038,7 +4518,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModifyColumnTypes); i { + switch v := v.(*SetDefaults); i { case 0: return &v.state case 1: @@ -5050,7 +4530,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameTable); i { + switch v := v.(*DropColumns); i { case 0: return &v.state case 1: @@ -5062,7 +4542,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumn); i { + switch v := v.(*ModifyColumnTypes); i { case 0: return &v.state case 1: @@ -5074,7 +4554,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModifyColumnType); i { + switch v := v.(*RenameTable); i { case 0: return &v.state case 1: @@ -5086,7 +4566,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Option); i { + switch v := v.(*AddColumn); i { case 0: return &v.state case 1: @@ -5098,7 +4578,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetTableOptions); i { + switch v := v.(*ModifyColumnType); i { case 0: return &v.state case 1: @@ -5110,7 +4590,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetTableOptions); i { + switch v := v.(*Option); i { case 0: return &v.state case 1: @@ -5122,7 +4602,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropColumn); i { + switch v := v.(*SetTableOptions); i { case 0: return &v.state case 1: @@ -5134,7 +4614,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TableId); i { + switch v := v.(*UnsetTableOptions); i { case 0: return &v.state case 1: @@ -5146,7 +4626,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowId); i { + switch v := v.(*DropColumn); i { case 0: return &v.state case 1: @@ -5158,7 +4638,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ColumnDef); i { + switch v := v.(*TableId); i { case 0: return &v.state case 1: @@ -5170,7 +4650,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumnLocation); i { + switch v := v.(*FlowId); i { case 0: return &v.state case 1: @@ -5182,7 +4662,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetFulltext); i { + switch v := v.(*ColumnDef); i { case 0: return &v.state case 1: @@ -5194,7 +4674,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetFulltext); i { + switch v := v.(*AddColumnLocation); i { case 0: return &v.state case 1: @@ -5206,7 +4686,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetInverted); i { + switch v := v.(*SetFulltext); i { case 0: return &v.state case 1: @@ -5218,7 +4698,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetInverted); i { + switch v := v.(*UnsetFulltext); i { case 0: return &v.state case 1: @@ -5230,7 +4710,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetSkipping); i { + switch v := v.(*SetInverted); i { case 0: return &v.state case 1: @@ -5242,7 +4722,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetSkipping); i { + switch v := v.(*UnsetInverted); i { case 0: return &v.state case 1: @@ -5254,7 +4734,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlterDatabaseExpr); i { + switch v := v.(*SetSkipping); i { case 0: return &v.state case 1: @@ -5266,7 +4746,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetDatabaseOptions); i { + switch v := v.(*UnsetSkipping); i { case 0: return &v.state case 1: @@ -5278,7 +4758,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetDatabaseOptions); i { + switch v := v.(*AlterDatabaseExpr); i { case 0: return &v.state case 1: @@ -5290,7 +4770,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTriggerExpr); i { + switch v := v.(*SetDatabaseOptions); i { case 0: return &v.state case 1: @@ -5302,7 +4782,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotifyChannel); i { + switch v := v.(*UnsetDatabaseOptions); i { case 0: return &v.state case 1: @@ -5314,7 +4794,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebhookOptions); i { + switch v := v.(*CreateTriggerExpr); i { case 0: return &v.state case 1: @@ -5326,6 +4806,30 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotifyChannel); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_greptime_v1_ddl_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebhookOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_greptime_v1_ddl_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DropTriggerExpr); i { case 0: return &v.state @@ -5360,34 +4864,25 @@ func file_greptime_v1_ddl_proto_init() { (*AlterTableExpr_SetIndex)(nil), (*AlterTableExpr_UnsetIndex)(nil), (*AlterTableExpr_DropDefaults)(nil), -<<<<<<< HEAD (*AlterTableExpr_SetIndexes)(nil), (*AlterTableExpr_UnsetIndexes)(nil), - } - file_greptime_v1_ddl_proto_msgTypes[10].OneofWrappers = []interface{}{ -======= (*AlterTableExpr_SetDefaults)(nil), } - file_greptime_v1_ddl_proto_msgTypes[9].OneofWrappers = []interface{}{ ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + file_greptime_v1_ddl_proto_msgTypes[11].OneofWrappers = []interface{}{ (*SetIndex_Fulltext)(nil), (*SetIndex_Inverted)(nil), (*SetIndex_Skipping)(nil), } -<<<<<<< HEAD - file_greptime_v1_ddl_proto_msgTypes[11].OneofWrappers = []interface{}{ -======= - file_greptime_v1_ddl_proto_msgTypes[10].OneofWrappers = []interface{}{ ->>>>>>> e6b7ed7 (feat: Support `SET DEFAULT` syntax) + file_greptime_v1_ddl_proto_msgTypes[12].OneofWrappers = []interface{}{ (*UnsetIndex_Fulltext)(nil), (*UnsetIndex_Inverted)(nil), (*UnsetIndex_Skipping)(nil), } - file_greptime_v1_ddl_proto_msgTypes[37].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[39].OneofWrappers = []interface{}{ (*AlterDatabaseExpr_SetDatabaseOptions)(nil), (*AlterDatabaseExpr_UnsetDatabaseOptions)(nil), } - file_greptime_v1_ddl_proto_msgTypes[41].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[43].OneofWrappers = []interface{}{ (*NotifyChannel_Webhook)(nil), } type x struct{} @@ -5396,7 +4891,7 @@ func file_greptime_v1_ddl_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_ddl_proto_rawDesc, NumEnums: 4, - NumMessages: 50, + NumMessages: 52, NumExtensions: 0, NumServices: 0, }, diff --git a/go/greptime/v1/meta/procedure.pb.go b/go/greptime/v1/meta/procedure.pb.go index 9f949d1..0b242d1 100644 --- a/go/greptime/v1/meta/procedure.pb.go +++ b/go/greptime/v1/meta/procedure.pb.go @@ -85,6 +85,55 @@ func (ProcedureStatus) EnumDescriptor() ([]byte, []int) { return file_greptime_v1_meta_procedure_proto_rawDescGZIP(), []int{0} } +type ResolveStrategy int32 + +const ( + ResolveStrategy_UseLatest ResolveStrategy = 0 + ResolveStrategy_UseMetasrv ResolveStrategy = 1 + ResolveStrategy_AbortOnConflict ResolveStrategy = 2 +) + +// Enum value maps for ResolveStrategy. +var ( + ResolveStrategy_name = map[int32]string{ + 0: "UseLatest", + 1: "UseMetasrv", + 2: "AbortOnConflict", + } + ResolveStrategy_value = map[string]int32{ + "UseLatest": 0, + "UseMetasrv": 1, + "AbortOnConflict": 2, + } +) + +func (x ResolveStrategy) Enum() *ResolveStrategy { + p := new(ResolveStrategy) + *p = x + return p +} + +func (x ResolveStrategy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResolveStrategy) Descriptor() protoreflect.EnumDescriptor { + return file_greptime_v1_meta_procedure_proto_enumTypes[1].Descriptor() +} + +func (ResolveStrategy) Type() protoreflect.EnumType { + return &file_greptime_v1_meta_procedure_proto_enumTypes[1] +} + +func (x ResolveStrategy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResolveStrategy.Descriptor instead. +func (ResolveStrategy) EnumDescriptor() ([]byte, []int) { + return file_greptime_v1_meta_procedure_proto_rawDescGZIP(), []int{1} +} + type ProcedureMeta struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -400,6 +449,369 @@ func (x *ProcedureDetailResponse) GetProcedures() []*ProcedureMeta { return nil } +type ReconcileTable struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"` + SchemaName string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` + TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + ResolveStrategy ResolveStrategy `protobuf:"varint,4,opt,name=resolve_strategy,json=resolveStrategy,proto3,enum=greptime.v1.meta.ResolveStrategy" json:"resolve_strategy,omitempty"` +} + +func (x *ReconcileTable) Reset() { + *x = ReconcileTable{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReconcileTable) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconcileTable) ProtoMessage() {} + +func (x *ReconcileTable) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReconcileTable.ProtoReflect.Descriptor instead. +func (*ReconcileTable) Descriptor() ([]byte, []int) { + return file_greptime_v1_meta_procedure_proto_rawDescGZIP(), []int{5} +} + +func (x *ReconcileTable) GetCatalogName() string { + if x != nil { + return x.CatalogName + } + return "" +} + +func (x *ReconcileTable) GetSchemaName() string { + if x != nil { + return x.SchemaName + } + return "" +} + +func (x *ReconcileTable) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *ReconcileTable) GetResolveStrategy() ResolveStrategy { + if x != nil { + return x.ResolveStrategy + } + return ResolveStrategy_UseLatest +} + +type ReconcileDatabase struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"` + DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` + Parallelism uint32 `protobuf:"varint,3,opt,name=parallelism,proto3" json:"parallelism,omitempty"` + ResolveStrategy ResolveStrategy `protobuf:"varint,4,opt,name=resolve_strategy,json=resolveStrategy,proto3,enum=greptime.v1.meta.ResolveStrategy" json:"resolve_strategy,omitempty"` +} + +func (x *ReconcileDatabase) Reset() { + *x = ReconcileDatabase{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReconcileDatabase) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconcileDatabase) ProtoMessage() {} + +func (x *ReconcileDatabase) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReconcileDatabase.ProtoReflect.Descriptor instead. +func (*ReconcileDatabase) Descriptor() ([]byte, []int) { + return file_greptime_v1_meta_procedure_proto_rawDescGZIP(), []int{6} +} + +func (x *ReconcileDatabase) GetCatalogName() string { + if x != nil { + return x.CatalogName + } + return "" +} + +func (x *ReconcileDatabase) GetDatabaseName() string { + if x != nil { + return x.DatabaseName + } + return "" +} + +func (x *ReconcileDatabase) GetParallelism() uint32 { + if x != nil { + return x.Parallelism + } + return 0 +} + +func (x *ReconcileDatabase) GetResolveStrategy() ResolveStrategy { + if x != nil { + return x.ResolveStrategy + } + return ResolveStrategy_UseLatest +} + +type ReconcileCatalog struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"` + Parallelism uint32 `protobuf:"varint,2,opt,name=parallelism,proto3" json:"parallelism,omitempty"` + ResolveStrategy ResolveStrategy `protobuf:"varint,3,opt,name=resolve_strategy,json=resolveStrategy,proto3,enum=greptime.v1.meta.ResolveStrategy" json:"resolve_strategy,omitempty"` +} + +func (x *ReconcileCatalog) Reset() { + *x = ReconcileCatalog{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReconcileCatalog) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconcileCatalog) ProtoMessage() {} + +func (x *ReconcileCatalog) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReconcileCatalog.ProtoReflect.Descriptor instead. +func (*ReconcileCatalog) Descriptor() ([]byte, []int) { + return file_greptime_v1_meta_procedure_proto_rawDescGZIP(), []int{7} +} + +func (x *ReconcileCatalog) GetCatalogName() string { + if x != nil { + return x.CatalogName + } + return "" +} + +func (x *ReconcileCatalog) GetParallelism() uint32 { + if x != nil { + return x.Parallelism + } + return 0 +} + +func (x *ReconcileCatalog) GetResolveStrategy() ResolveStrategy { + if x != nil { + return x.ResolveStrategy + } + return ResolveStrategy_UseLatest +} + +type ReconcileRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + // Types that are assignable to Target: + // + // *ReconcileRequest_ReconcileTable + // *ReconcileRequest_ReconcileDatabase + // *ReconcileRequest_ReconcileCatalog + Target isReconcileRequest_Target `protobuf_oneof:"target"` +} + +func (x *ReconcileRequest) Reset() { + *x = ReconcileRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReconcileRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconcileRequest) ProtoMessage() {} + +func (x *ReconcileRequest) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReconcileRequest.ProtoReflect.Descriptor instead. +func (*ReconcileRequest) Descriptor() ([]byte, []int) { + return file_greptime_v1_meta_procedure_proto_rawDescGZIP(), []int{8} +} + +func (x *ReconcileRequest) GetHeader() *RequestHeader { + if x != nil { + return x.Header + } + return nil +} + +func (m *ReconcileRequest) GetTarget() isReconcileRequest_Target { + if m != nil { + return m.Target + } + return nil +} + +func (x *ReconcileRequest) GetReconcileTable() *ReconcileTable { + if x, ok := x.GetTarget().(*ReconcileRequest_ReconcileTable); ok { + return x.ReconcileTable + } + return nil +} + +func (x *ReconcileRequest) GetReconcileDatabase() *ReconcileDatabase { + if x, ok := x.GetTarget().(*ReconcileRequest_ReconcileDatabase); ok { + return x.ReconcileDatabase + } + return nil +} + +func (x *ReconcileRequest) GetReconcileCatalog() *ReconcileCatalog { + if x, ok := x.GetTarget().(*ReconcileRequest_ReconcileCatalog); ok { + return x.ReconcileCatalog + } + return nil +} + +type isReconcileRequest_Target interface { + isReconcileRequest_Target() +} + +type ReconcileRequest_ReconcileTable struct { + ReconcileTable *ReconcileTable `protobuf:"bytes,2,opt,name=reconcile_table,json=reconcileTable,proto3,oneof"` +} + +type ReconcileRequest_ReconcileDatabase struct { + ReconcileDatabase *ReconcileDatabase `protobuf:"bytes,3,opt,name=reconcile_database,json=reconcileDatabase,proto3,oneof"` +} + +type ReconcileRequest_ReconcileCatalog struct { + ReconcileCatalog *ReconcileCatalog `protobuf:"bytes,4,opt,name=reconcile_catalog,json=reconcileCatalog,proto3,oneof"` +} + +func (*ReconcileRequest_ReconcileTable) isReconcileRequest_Target() {} + +func (*ReconcileRequest_ReconcileDatabase) isReconcileRequest_Target() {} + +func (*ReconcileRequest_ReconcileCatalog) isReconcileRequest_Target() {} + +type ReconcileResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Pid *ProcedureId `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"` +} + +func (x *ReconcileResponse) Reset() { + *x = ReconcileResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReconcileResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconcileResponse) ProtoMessage() {} + +func (x *ReconcileResponse) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_meta_procedure_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReconcileResponse.ProtoReflect.Descriptor instead. +func (*ReconcileResponse) Descriptor() ([]byte, []int) { + return file_greptime_v1_meta_procedure_proto_rawDescGZIP(), []int{9} +} + +func (x *ReconcileResponse) GetHeader() *ResponseHeader { + if x != nil { + return x.Header + } + return nil +} + +func (x *ReconcileResponse) GetPid() *ProcedureId { + if x != nil { + return x.Pid + } + return nil +} + var File_greptime_v1_meta_procedure_proto protoreflect.FileDescriptor var file_greptime_v1_meta_procedure_proto_rawDesc = []byte{ @@ -462,42 +874,116 @@ var file_greptime_v1_meta_procedure_proto_rawDesc = []byte{ 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, - 0x65, 0x73, 0x2a, 0x76, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, - 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x6f, 0x6e, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, - 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x61, - 0x69, 0x6c, 0x65, 0x64, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, - 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x52, - 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, - 0x50, 0x6f, 0x69, 0x73, 0x6f, 0x6e, 0x65, 0x64, 0x10, 0x06, 0x32, 0xf6, 0x02, 0x0a, 0x10, 0x50, - 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x5a, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x03, 0x64, - 0x64, 0x6c, 0x12, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x07, 0x6d, 0x69, 0x67, 0x72, 0x61, - 0x74, 0x65, 0x12, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x28, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, - 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, - 0x65, 0x64, 0x75, 0x72, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, - 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, - 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x74, + 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0xcb, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x63, 0x6f, 0x6e, + 0x63, 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x23, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, + 0x69, 0x73, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x4c, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, + 0x65, 0x67, 0x79, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x67, 0x79, 0x22, 0xa5, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, + 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x4c, + 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0xcb, 0x02, 0x0a, + 0x10, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x4b, 0x0a, 0x0f, 0x72, 0x65, + 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, + 0x6c, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x54, 0x0a, 0x12, 0x72, 0x65, 0x63, 0x6f, 0x6e, + 0x63, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x63, 0x6f, + 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x51, 0x0a, + 0x11, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, + 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x48, 0x00, 0x52, 0x10, + 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x42, 0x08, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x7e, 0x0a, 0x11, 0x52, 0x65, + 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, + 0x75, 0x72, 0x65, 0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x2a, 0x76, 0x0a, 0x0f, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, + 0x07, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x6f, + 0x6e, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, + 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x03, 0x12, 0x13, + 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, + 0x6b, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x61, + 0x63, 0x6b, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x6f, 0x69, 0x73, 0x6f, 0x6e, 0x65, 0x64, + 0x10, 0x06, 0x2a, 0x45, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x4c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, + 0x72, 0x76, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4f, 0x6e, 0x43, + 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x10, 0x02, 0x32, 0xcc, 0x03, 0x0a, 0x10, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5a, + 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x03, 0x64, 0x64, + 0x6c, 0x12, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x63, + 0x69, 0x6c, 0x65, 0x12, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, + 0x63, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x07, + 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, + 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -512,46 +998,63 @@ func file_greptime_v1_meta_procedure_proto_rawDescGZIP() []byte { return file_greptime_v1_meta_procedure_proto_rawDescData } -var file_greptime_v1_meta_procedure_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_greptime_v1_meta_procedure_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_greptime_v1_meta_procedure_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_greptime_v1_meta_procedure_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_greptime_v1_meta_procedure_proto_goTypes = []interface{}{ (ProcedureStatus)(0), // 0: greptime.v1.meta.ProcedureStatus - (*ProcedureMeta)(nil), // 1: greptime.v1.meta.ProcedureMeta - (*QueryProcedureRequest)(nil), // 2: greptime.v1.meta.QueryProcedureRequest - (*ProcedureStateResponse)(nil), // 3: greptime.v1.meta.ProcedureStateResponse - (*ProcedureDetailRequest)(nil), // 4: greptime.v1.meta.ProcedureDetailRequest - (*ProcedureDetailResponse)(nil), // 5: greptime.v1.meta.ProcedureDetailResponse - (*ProcedureId)(nil), // 6: greptime.v1.meta.ProcedureId - (*RequestHeader)(nil), // 7: greptime.v1.meta.RequestHeader - (*ResponseHeader)(nil), // 8: greptime.v1.meta.ResponseHeader - (*DdlTaskRequest)(nil), // 9: greptime.v1.meta.DdlTaskRequest - (*MigrateRegionRequest)(nil), // 10: greptime.v1.meta.MigrateRegionRequest - (*DdlTaskResponse)(nil), // 11: greptime.v1.meta.DdlTaskResponse - (*MigrateRegionResponse)(nil), // 12: greptime.v1.meta.MigrateRegionResponse + (ResolveStrategy)(0), // 1: greptime.v1.meta.ResolveStrategy + (*ProcedureMeta)(nil), // 2: greptime.v1.meta.ProcedureMeta + (*QueryProcedureRequest)(nil), // 3: greptime.v1.meta.QueryProcedureRequest + (*ProcedureStateResponse)(nil), // 4: greptime.v1.meta.ProcedureStateResponse + (*ProcedureDetailRequest)(nil), // 5: greptime.v1.meta.ProcedureDetailRequest + (*ProcedureDetailResponse)(nil), // 6: greptime.v1.meta.ProcedureDetailResponse + (*ReconcileTable)(nil), // 7: greptime.v1.meta.ReconcileTable + (*ReconcileDatabase)(nil), // 8: greptime.v1.meta.ReconcileDatabase + (*ReconcileCatalog)(nil), // 9: greptime.v1.meta.ReconcileCatalog + (*ReconcileRequest)(nil), // 10: greptime.v1.meta.ReconcileRequest + (*ReconcileResponse)(nil), // 11: greptime.v1.meta.ReconcileResponse + (*ProcedureId)(nil), // 12: greptime.v1.meta.ProcedureId + (*RequestHeader)(nil), // 13: greptime.v1.meta.RequestHeader + (*ResponseHeader)(nil), // 14: greptime.v1.meta.ResponseHeader + (*DdlTaskRequest)(nil), // 15: greptime.v1.meta.DdlTaskRequest + (*MigrateRegionRequest)(nil), // 16: greptime.v1.meta.MigrateRegionRequest + (*DdlTaskResponse)(nil), // 17: greptime.v1.meta.DdlTaskResponse + (*MigrateRegionResponse)(nil), // 18: greptime.v1.meta.MigrateRegionResponse } var file_greptime_v1_meta_procedure_proto_depIdxs = []int32{ - 6, // 0: greptime.v1.meta.ProcedureMeta.id:type_name -> greptime.v1.meta.ProcedureId + 12, // 0: greptime.v1.meta.ProcedureMeta.id:type_name -> greptime.v1.meta.ProcedureId 0, // 1: greptime.v1.meta.ProcedureMeta.status:type_name -> greptime.v1.meta.ProcedureStatus - 7, // 2: greptime.v1.meta.QueryProcedureRequest.header:type_name -> greptime.v1.meta.RequestHeader - 6, // 3: greptime.v1.meta.QueryProcedureRequest.pid:type_name -> greptime.v1.meta.ProcedureId - 8, // 4: greptime.v1.meta.ProcedureStateResponse.header:type_name -> greptime.v1.meta.ResponseHeader + 13, // 2: greptime.v1.meta.QueryProcedureRequest.header:type_name -> greptime.v1.meta.RequestHeader + 12, // 3: greptime.v1.meta.QueryProcedureRequest.pid:type_name -> greptime.v1.meta.ProcedureId + 14, // 4: greptime.v1.meta.ProcedureStateResponse.header:type_name -> greptime.v1.meta.ResponseHeader 0, // 5: greptime.v1.meta.ProcedureStateResponse.status:type_name -> greptime.v1.meta.ProcedureStatus - 7, // 6: greptime.v1.meta.ProcedureDetailRequest.header:type_name -> greptime.v1.meta.RequestHeader - 8, // 7: greptime.v1.meta.ProcedureDetailResponse.header:type_name -> greptime.v1.meta.ResponseHeader - 1, // 8: greptime.v1.meta.ProcedureDetailResponse.procedures:type_name -> greptime.v1.meta.ProcedureMeta - 2, // 9: greptime.v1.meta.ProcedureService.query:input_type -> greptime.v1.meta.QueryProcedureRequest - 9, // 10: greptime.v1.meta.ProcedureService.ddl:input_type -> greptime.v1.meta.DdlTaskRequest - 10, // 11: greptime.v1.meta.ProcedureService.migrate:input_type -> greptime.v1.meta.MigrateRegionRequest - 4, // 12: greptime.v1.meta.ProcedureService.details:input_type -> greptime.v1.meta.ProcedureDetailRequest - 3, // 13: greptime.v1.meta.ProcedureService.query:output_type -> greptime.v1.meta.ProcedureStateResponse - 11, // 14: greptime.v1.meta.ProcedureService.ddl:output_type -> greptime.v1.meta.DdlTaskResponse - 12, // 15: greptime.v1.meta.ProcedureService.migrate:output_type -> greptime.v1.meta.MigrateRegionResponse - 5, // 16: greptime.v1.meta.ProcedureService.details:output_type -> greptime.v1.meta.ProcedureDetailResponse - 13, // [13:17] is the sub-list for method output_type - 9, // [9:13] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name + 13, // 6: greptime.v1.meta.ProcedureDetailRequest.header:type_name -> greptime.v1.meta.RequestHeader + 14, // 7: greptime.v1.meta.ProcedureDetailResponse.header:type_name -> greptime.v1.meta.ResponseHeader + 2, // 8: greptime.v1.meta.ProcedureDetailResponse.procedures:type_name -> greptime.v1.meta.ProcedureMeta + 1, // 9: greptime.v1.meta.ReconcileTable.resolve_strategy:type_name -> greptime.v1.meta.ResolveStrategy + 1, // 10: greptime.v1.meta.ReconcileDatabase.resolve_strategy:type_name -> greptime.v1.meta.ResolveStrategy + 1, // 11: greptime.v1.meta.ReconcileCatalog.resolve_strategy:type_name -> greptime.v1.meta.ResolveStrategy + 13, // 12: greptime.v1.meta.ReconcileRequest.header:type_name -> greptime.v1.meta.RequestHeader + 7, // 13: greptime.v1.meta.ReconcileRequest.reconcile_table:type_name -> greptime.v1.meta.ReconcileTable + 8, // 14: greptime.v1.meta.ReconcileRequest.reconcile_database:type_name -> greptime.v1.meta.ReconcileDatabase + 9, // 15: greptime.v1.meta.ReconcileRequest.reconcile_catalog:type_name -> greptime.v1.meta.ReconcileCatalog + 14, // 16: greptime.v1.meta.ReconcileResponse.header:type_name -> greptime.v1.meta.ResponseHeader + 12, // 17: greptime.v1.meta.ReconcileResponse.pid:type_name -> greptime.v1.meta.ProcedureId + 3, // 18: greptime.v1.meta.ProcedureService.query:input_type -> greptime.v1.meta.QueryProcedureRequest + 15, // 19: greptime.v1.meta.ProcedureService.ddl:input_type -> greptime.v1.meta.DdlTaskRequest + 10, // 20: greptime.v1.meta.ProcedureService.reconcile:input_type -> greptime.v1.meta.ReconcileRequest + 16, // 21: greptime.v1.meta.ProcedureService.migrate:input_type -> greptime.v1.meta.MigrateRegionRequest + 5, // 22: greptime.v1.meta.ProcedureService.details:input_type -> greptime.v1.meta.ProcedureDetailRequest + 4, // 23: greptime.v1.meta.ProcedureService.query:output_type -> greptime.v1.meta.ProcedureStateResponse + 17, // 24: greptime.v1.meta.ProcedureService.ddl:output_type -> greptime.v1.meta.DdlTaskResponse + 11, // 25: greptime.v1.meta.ProcedureService.reconcile:output_type -> greptime.v1.meta.ReconcileResponse + 18, // 26: greptime.v1.meta.ProcedureService.migrate:output_type -> greptime.v1.meta.MigrateRegionResponse + 6, // 27: greptime.v1.meta.ProcedureService.details:output_type -> greptime.v1.meta.ProcedureDetailResponse + 23, // [23:28] is the sub-list for method output_type + 18, // [18:23] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name } func init() { file_greptime_v1_meta_procedure_proto_init() } @@ -623,14 +1126,79 @@ func file_greptime_v1_meta_procedure_proto_init() { return nil } } + file_greptime_v1_meta_procedure_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconcileTable); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_greptime_v1_meta_procedure_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconcileDatabase); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_greptime_v1_meta_procedure_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconcileCatalog); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_greptime_v1_meta_procedure_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconcileRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_greptime_v1_meta_procedure_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconcileResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_greptime_v1_meta_procedure_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*ReconcileRequest_ReconcileTable)(nil), + (*ReconcileRequest_ReconcileDatabase)(nil), + (*ReconcileRequest_ReconcileCatalog)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_meta_procedure_proto_rawDesc, - NumEnums: 1, - NumMessages: 5, + NumEnums: 2, + NumMessages: 10, NumExtensions: 0, NumServices: 1, }, diff --git a/go/greptime/v1/meta/procedure_grpc.pb.go b/go/greptime/v1/meta/procedure_grpc.pb.go index b61eb1b..f5eee9b 100644 --- a/go/greptime/v1/meta/procedure_grpc.pb.go +++ b/go/greptime/v1/meta/procedure_grpc.pb.go @@ -26,6 +26,8 @@ type ProcedureServiceClient interface { Query(ctx context.Context, in *QueryProcedureRequest, opts ...grpc.CallOption) (*ProcedureStateResponse, error) // Submits a DDL task Ddl(ctx context.Context, in *DdlTaskRequest, opts ...grpc.CallOption) (*DdlTaskResponse, error) + // Submits a reconcile task + Reconcile(ctx context.Context, in *ReconcileRequest, opts ...grpc.CallOption) (*ReconcileResponse, error) // Submits a region migration task Migrate(ctx context.Context, in *MigrateRegionRequest, opts ...grpc.CallOption) (*MigrateRegionResponse, error) // Query all submitted procedures details @@ -58,6 +60,15 @@ func (c *procedureServiceClient) Ddl(ctx context.Context, in *DdlTaskRequest, op return out, nil } +func (c *procedureServiceClient) Reconcile(ctx context.Context, in *ReconcileRequest, opts ...grpc.CallOption) (*ReconcileResponse, error) { + out := new(ReconcileResponse) + err := c.cc.Invoke(ctx, "/greptime.v1.meta.ProcedureService/reconcile", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *procedureServiceClient) Migrate(ctx context.Context, in *MigrateRegionRequest, opts ...grpc.CallOption) (*MigrateRegionResponse, error) { out := new(MigrateRegionResponse) err := c.cc.Invoke(ctx, "/greptime.v1.meta.ProcedureService/migrate", in, out, opts...) @@ -84,6 +95,8 @@ type ProcedureServiceServer interface { Query(context.Context, *QueryProcedureRequest) (*ProcedureStateResponse, error) // Submits a DDL task Ddl(context.Context, *DdlTaskRequest) (*DdlTaskResponse, error) + // Submits a reconcile task + Reconcile(context.Context, *ReconcileRequest) (*ReconcileResponse, error) // Submits a region migration task Migrate(context.Context, *MigrateRegionRequest) (*MigrateRegionResponse, error) // Query all submitted procedures details @@ -101,6 +114,9 @@ func (UnimplementedProcedureServiceServer) Query(context.Context, *QueryProcedur func (UnimplementedProcedureServiceServer) Ddl(context.Context, *DdlTaskRequest) (*DdlTaskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Ddl not implemented") } +func (UnimplementedProcedureServiceServer) Reconcile(context.Context, *ReconcileRequest) (*ReconcileResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Reconcile not implemented") +} func (UnimplementedProcedureServiceServer) Migrate(context.Context, *MigrateRegionRequest) (*MigrateRegionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Migrate not implemented") } @@ -156,6 +172,24 @@ func _ProcedureService_Ddl_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } +func _ProcedureService_Reconcile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ReconcileRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProcedureServiceServer).Reconcile(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/greptime.v1.meta.ProcedureService/reconcile", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProcedureServiceServer).Reconcile(ctx, req.(*ReconcileRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ProcedureService_Migrate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MigrateRegionRequest) if err := dec(in); err != nil { @@ -207,6 +241,10 @@ var ProcedureService_ServiceDesc = grpc.ServiceDesc{ MethodName: "ddl", Handler: _ProcedureService_Ddl_Handler, }, + { + MethodName: "reconcile", + Handler: _ProcedureService_Reconcile_Handler, + }, { MethodName: "migrate", Handler: _ProcedureService_Migrate_Handler, diff --git a/java/src/main/java/greptime/v1/meta/Procedure.java b/java/src/main/java/greptime/v1/meta/Procedure.java index 47d6546..2557295 100644 --- a/java/src/main/java/greptime/v1/meta/Procedure.java +++ b/java/src/main/java/greptime/v1/meta/Procedure.java @@ -167,6 +167,123 @@ public final class Procedure { // @@protoc_insertion_point(enum_scope:greptime.v1.meta.ProcedureStatus) } + /** + * Protobuf enum {@code greptime.v1.meta.ResolveStrategy} + */ + public enum ResolveStrategy + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UseLatest = 0; + */ + UseLatest(0), + /** + * UseMetasrv = 1; + */ + UseMetasrv(1), + /** + * AbortOnConflict = 2; + */ + AbortOnConflict(2), + UNRECOGNIZED(-1), + ; + + /** + * UseLatest = 0; + */ + public static final int UseLatest_VALUE = 0; + /** + * UseMetasrv = 1; + */ + public static final int UseMetasrv_VALUE = 1; + /** + * AbortOnConflict = 2; + */ + public static final int AbortOnConflict_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ResolveStrategy valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ResolveStrategy forNumber(int value) { + switch (value) { + case 0: return UseLatest; + case 1: return UseMetasrv; + case 2: return AbortOnConflict; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ResolveStrategy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ResolveStrategy findValueByNumber(int number) { + return ResolveStrategy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return greptime.v1.meta.Procedure.getDescriptor().getEnumTypes().get(1); + } + + private static final ResolveStrategy[] VALUES = values(); + + public static ResolveStrategy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ResolveStrategy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:greptime.v1.meta.ResolveStrategy) + } + public interface ProcedureMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:greptime.v1.meta.ProcedureMeta) com.google.protobuf.MessageOrBuilder { @@ -4886,6 +5003,4837 @@ public final class Procedure { } + public interface ReconcileTableOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.meta.ReconcileTable) + com.google.protobuf.MessageOrBuilder { + + /** + * string catalog_name = 1; + * @return The catalogName. + */ + java.lang.String getCatalogName(); + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + com.google.protobuf.ByteString + getCatalogNameBytes(); + + /** + * string schema_name = 2; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); + + /** + * string table_name = 3; + * @return The tableName. + */ + java.lang.String getTableName(); + /** + * string table_name = 3; + * @return The bytes for tableName. + */ + com.google.protobuf.ByteString + getTableNameBytes(); + + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The enum numeric value on the wire for resolveStrategy. + */ + int getResolveStrategyValue(); + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The resolveStrategy. + */ + greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy(); + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileTable} + */ + public static final class ReconcileTable extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.meta.ReconcileTable) + ReconcileTableOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReconcileTable.newBuilder() to construct. + private ReconcileTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReconcileTable() { + catalogName_ = ""; + schemaName_ = ""; + tableName_ = ""; + resolveStrategy_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReconcileTable(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReconcileTable( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + catalogName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + schemaName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + tableName_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); + + resolveStrategy_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileTable.class, greptime.v1.meta.Procedure.ReconcileTable.Builder.class); + } + + public static final int CATALOG_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object catalogName_; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + @java.lang.Override + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCHEMA_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object schemaName_; + /** + * string schema_name = 2; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TABLE_NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object tableName_; + /** + * string table_name = 3; + * @return The tableName. + */ + @java.lang.Override + public java.lang.String getTableName() { + java.lang.Object ref = tableName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tableName_ = s; + return s; + } + } + /** + * string table_name = 3; + * @return The bytes for tableName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTableNameBytes() { + java.lang.Object ref = tableName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tableName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOLVE_STRATEGY_FIELD_NUMBER = 4; + private int resolveStrategy_; + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The enum numeric value on the wire for resolveStrategy. + */ + @java.lang.Override public int getResolveStrategyValue() { + return resolveStrategy_; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The resolveStrategy. + */ + @java.lang.Override public greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy() { + @SuppressWarnings("deprecation") + greptime.v1.meta.Procedure.ResolveStrategy result = greptime.v1.meta.Procedure.ResolveStrategy.valueOf(resolveStrategy_); + return result == null ? greptime.v1.meta.Procedure.ResolveStrategy.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, catalogName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); + } + if (resolveStrategy_ != greptime.v1.meta.Procedure.ResolveStrategy.UseLatest.getNumber()) { + output.writeEnum(4, resolveStrategy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, catalogName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tableName_); + } + if (resolveStrategy_ != greptime.v1.meta.Procedure.ResolveStrategy.UseLatest.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, resolveStrategy_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof greptime.v1.meta.Procedure.ReconcileTable)) { + return super.equals(obj); + } + greptime.v1.meta.Procedure.ReconcileTable other = (greptime.v1.meta.Procedure.ReconcileTable) obj; + + if (!getCatalogName() + .equals(other.getCatalogName())) return false; + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (resolveStrategy_ != other.resolveStrategy_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CATALOG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getCatalogName().hashCode(); + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTableName().hashCode(); + hash = (37 * hash) + RESOLVE_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + resolveStrategy_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileTable 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 greptime.v1.meta.Procedure.ReconcileTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileTable 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 greptime.v1.meta.Procedure.ReconcileTable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileTable parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(greptime.v1.meta.Procedure.ReconcileTable prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileTable} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.meta.ReconcileTable) + greptime.v1.meta.Procedure.ReconcileTableOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileTable.class, greptime.v1.meta.Procedure.ReconcileTable.Builder.class); + } + + // Construct using greptime.v1.meta.Procedure.ReconcileTable.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + catalogName_ = ""; + + schemaName_ = ""; + + tableName_ = ""; + + resolveStrategy_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileTable_descriptor; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTable getDefaultInstanceForType() { + return greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance(); + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTable build() { + greptime.v1.meta.Procedure.ReconcileTable result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTable buildPartial() { + greptime.v1.meta.Procedure.ReconcileTable result = new greptime.v1.meta.Procedure.ReconcileTable(this); + result.catalogName_ = catalogName_; + result.schemaName_ = schemaName_; + result.tableName_ = tableName_; + result.resolveStrategy_ = resolveStrategy_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof greptime.v1.meta.Procedure.ReconcileTable) { + return mergeFrom((greptime.v1.meta.Procedure.ReconcileTable)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(greptime.v1.meta.Procedure.ReconcileTable other) { + if (other == greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance()) return this; + if (!other.getCatalogName().isEmpty()) { + catalogName_ = other.catalogName_; + onChanged(); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + onChanged(); + } + if (!other.getTableName().isEmpty()) { + tableName_ = other.tableName_; + onChanged(); + } + if (other.resolveStrategy_ != 0) { + setResolveStrategyValue(other.getResolveStrategyValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + greptime.v1.meta.Procedure.ReconcileTable parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (greptime.v1.meta.Procedure.ReconcileTable) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object catalogName_ = ""; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string catalog_name = 1; + * @param value The catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + catalogName_ = value; + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @return This builder for chaining. + */ + public Builder clearCatalogName() { + + catalogName_ = getDefaultInstance().getCatalogName(); + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @param value The bytes for catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + catalogName_ = value; + onChanged(); + return this; + } + + private java.lang.Object schemaName_ = ""; + /** + * string schema_name = 2; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string schema_name = 2; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + schemaName_ = value; + onChanged(); + return this; + } + /** + * string schema_name = 2; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + + schemaName_ = getDefaultInstance().getSchemaName(); + onChanged(); + return this; + } + /** + * string schema_name = 2; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + schemaName_ = value; + onChanged(); + return this; + } + + private java.lang.Object tableName_ = ""; + /** + * string table_name = 3; + * @return The tableName. + */ + public java.lang.String getTableName() { + java.lang.Object ref = tableName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tableName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string table_name = 3; + * @return The bytes for tableName. + */ + public com.google.protobuf.ByteString + getTableNameBytes() { + java.lang.Object ref = tableName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tableName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string table_name = 3; + * @param value The tableName to set. + * @return This builder for chaining. + */ + public Builder setTableName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + tableName_ = value; + onChanged(); + return this; + } + /** + * string table_name = 3; + * @return This builder for chaining. + */ + public Builder clearTableName() { + + tableName_ = getDefaultInstance().getTableName(); + onChanged(); + return this; + } + /** + * string table_name = 3; + * @param value The bytes for tableName to set. + * @return This builder for chaining. + */ + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + tableName_ = value; + onChanged(); + return this; + } + + private int resolveStrategy_ = 0; + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The enum numeric value on the wire for resolveStrategy. + */ + @java.lang.Override public int getResolveStrategyValue() { + return resolveStrategy_; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @param value The enum numeric value on the wire for resolveStrategy to set. + * @return This builder for chaining. + */ + public Builder setResolveStrategyValue(int value) { + + resolveStrategy_ = value; + onChanged(); + return this; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The resolveStrategy. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy() { + @SuppressWarnings("deprecation") + greptime.v1.meta.Procedure.ResolveStrategy result = greptime.v1.meta.Procedure.ResolveStrategy.valueOf(resolveStrategy_); + return result == null ? greptime.v1.meta.Procedure.ResolveStrategy.UNRECOGNIZED : result; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @param value The resolveStrategy to set. + * @return This builder for chaining. + */ + public Builder setResolveStrategy(greptime.v1.meta.Procedure.ResolveStrategy value) { + if (value == null) { + throw new NullPointerException(); + } + + resolveStrategy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return This builder for chaining. + */ + public Builder clearResolveStrategy() { + + resolveStrategy_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.meta.ReconcileTable) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileTable) + private static final greptime.v1.meta.Procedure.ReconcileTable DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new greptime.v1.meta.Procedure.ReconcileTable(); + } + + public static greptime.v1.meta.Procedure.ReconcileTable getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconcileTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReconcileTable(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTable getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReconcileDatabaseOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.meta.ReconcileDatabase) + com.google.protobuf.MessageOrBuilder { + + /** + * string catalog_name = 1; + * @return The catalogName. + */ + java.lang.String getCatalogName(); + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + com.google.protobuf.ByteString + getCatalogNameBytes(); + + /** + * string database_name = 2; + * @return The databaseName. + */ + java.lang.String getDatabaseName(); + /** + * string database_name = 2; + * @return The bytes for databaseName. + */ + com.google.protobuf.ByteString + getDatabaseNameBytes(); + + /** + * uint32 parallelism = 3; + * @return The parallelism. + */ + int getParallelism(); + + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The enum numeric value on the wire for resolveStrategy. + */ + int getResolveStrategyValue(); + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The resolveStrategy. + */ + greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy(); + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileDatabase} + */ + public static final class ReconcileDatabase extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.meta.ReconcileDatabase) + ReconcileDatabaseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReconcileDatabase.newBuilder() to construct. + private ReconcileDatabase(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReconcileDatabase() { + catalogName_ = ""; + databaseName_ = ""; + resolveStrategy_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReconcileDatabase(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReconcileDatabase( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + catalogName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + databaseName_ = s; + break; + } + case 24: { + + parallelism_ = input.readUInt32(); + break; + } + case 32: { + int rawValue = input.readEnum(); + + resolveStrategy_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileDatabase_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileDatabase_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileDatabase.class, greptime.v1.meta.Procedure.ReconcileDatabase.Builder.class); + } + + public static final int CATALOG_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object catalogName_; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + @java.lang.Override + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATABASE_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object databaseName_; + /** + * string database_name = 2; + * @return The databaseName. + */ + @java.lang.Override + public java.lang.String getDatabaseName() { + java.lang.Object ref = databaseName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseName_ = s; + return s; + } + } + /** + * string database_name = 2; + * @return The bytes for databaseName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatabaseNameBytes() { + java.lang.Object ref = databaseName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + databaseName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARALLELISM_FIELD_NUMBER = 3; + private int parallelism_; + /** + * uint32 parallelism = 3; + * @return The parallelism. + */ + @java.lang.Override + public int getParallelism() { + return parallelism_; + } + + public static final int RESOLVE_STRATEGY_FIELD_NUMBER = 4; + private int resolveStrategy_; + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The enum numeric value on the wire for resolveStrategy. + */ + @java.lang.Override public int getResolveStrategyValue() { + return resolveStrategy_; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The resolveStrategy. + */ + @java.lang.Override public greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy() { + @SuppressWarnings("deprecation") + greptime.v1.meta.Procedure.ResolveStrategy result = greptime.v1.meta.Procedure.ResolveStrategy.valueOf(resolveStrategy_); + return result == null ? greptime.v1.meta.Procedure.ResolveStrategy.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, catalogName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, databaseName_); + } + if (parallelism_ != 0) { + output.writeUInt32(3, parallelism_); + } + if (resolveStrategy_ != greptime.v1.meta.Procedure.ResolveStrategy.UseLatest.getNumber()) { + output.writeEnum(4, resolveStrategy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, catalogName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, databaseName_); + } + if (parallelism_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, parallelism_); + } + if (resolveStrategy_ != greptime.v1.meta.Procedure.ResolveStrategy.UseLatest.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, resolveStrategy_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof greptime.v1.meta.Procedure.ReconcileDatabase)) { + return super.equals(obj); + } + greptime.v1.meta.Procedure.ReconcileDatabase other = (greptime.v1.meta.Procedure.ReconcileDatabase) obj; + + if (!getCatalogName() + .equals(other.getCatalogName())) return false; + if (!getDatabaseName() + .equals(other.getDatabaseName())) return false; + if (getParallelism() + != other.getParallelism()) return false; + if (resolveStrategy_ != other.resolveStrategy_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CATALOG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getCatalogName().hashCode(); + hash = (37 * hash) + DATABASE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDatabaseName().hashCode(); + hash = (37 * hash) + PARALLELISM_FIELD_NUMBER; + hash = (53 * hash) + getParallelism(); + hash = (37 * hash) + RESOLVE_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + resolveStrategy_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase 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 greptime.v1.meta.Procedure.ReconcileDatabase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase 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 greptime.v1.meta.Procedure.ReconcileDatabase parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileDatabase parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(greptime.v1.meta.Procedure.ReconcileDatabase prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileDatabase} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.meta.ReconcileDatabase) + greptime.v1.meta.Procedure.ReconcileDatabaseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileDatabase_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileDatabase_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileDatabase.class, greptime.v1.meta.Procedure.ReconcileDatabase.Builder.class); + } + + // Construct using greptime.v1.meta.Procedure.ReconcileDatabase.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + catalogName_ = ""; + + databaseName_ = ""; + + parallelism_ = 0; + + resolveStrategy_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileDatabase_descriptor; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabase getDefaultInstanceForType() { + return greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance(); + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabase build() { + greptime.v1.meta.Procedure.ReconcileDatabase result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabase buildPartial() { + greptime.v1.meta.Procedure.ReconcileDatabase result = new greptime.v1.meta.Procedure.ReconcileDatabase(this); + result.catalogName_ = catalogName_; + result.databaseName_ = databaseName_; + result.parallelism_ = parallelism_; + result.resolveStrategy_ = resolveStrategy_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof greptime.v1.meta.Procedure.ReconcileDatabase) { + return mergeFrom((greptime.v1.meta.Procedure.ReconcileDatabase)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(greptime.v1.meta.Procedure.ReconcileDatabase other) { + if (other == greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance()) return this; + if (!other.getCatalogName().isEmpty()) { + catalogName_ = other.catalogName_; + onChanged(); + } + if (!other.getDatabaseName().isEmpty()) { + databaseName_ = other.databaseName_; + onChanged(); + } + if (other.getParallelism() != 0) { + setParallelism(other.getParallelism()); + } + if (other.resolveStrategy_ != 0) { + setResolveStrategyValue(other.getResolveStrategyValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + greptime.v1.meta.Procedure.ReconcileDatabase parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (greptime.v1.meta.Procedure.ReconcileDatabase) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object catalogName_ = ""; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string catalog_name = 1; + * @param value The catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + catalogName_ = value; + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @return This builder for chaining. + */ + public Builder clearCatalogName() { + + catalogName_ = getDefaultInstance().getCatalogName(); + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @param value The bytes for catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + catalogName_ = value; + onChanged(); + return this; + } + + private java.lang.Object databaseName_ = ""; + /** + * string database_name = 2; + * @return The databaseName. + */ + public java.lang.String getDatabaseName() { + java.lang.Object ref = databaseName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string database_name = 2; + * @return The bytes for databaseName. + */ + public com.google.protobuf.ByteString + getDatabaseNameBytes() { + java.lang.Object ref = databaseName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + databaseName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string database_name = 2; + * @param value The databaseName to set. + * @return This builder for chaining. + */ + public Builder setDatabaseName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + databaseName_ = value; + onChanged(); + return this; + } + /** + * string database_name = 2; + * @return This builder for chaining. + */ + public Builder clearDatabaseName() { + + databaseName_ = getDefaultInstance().getDatabaseName(); + onChanged(); + return this; + } + /** + * string database_name = 2; + * @param value The bytes for databaseName to set. + * @return This builder for chaining. + */ + public Builder setDatabaseNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + databaseName_ = value; + onChanged(); + return this; + } + + private int parallelism_ ; + /** + * uint32 parallelism = 3; + * @return The parallelism. + */ + @java.lang.Override + public int getParallelism() { + return parallelism_; + } + /** + * uint32 parallelism = 3; + * @param value The parallelism to set. + * @return This builder for chaining. + */ + public Builder setParallelism(int value) { + + parallelism_ = value; + onChanged(); + return this; + } + /** + * uint32 parallelism = 3; + * @return This builder for chaining. + */ + public Builder clearParallelism() { + + parallelism_ = 0; + onChanged(); + return this; + } + + private int resolveStrategy_ = 0; + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The enum numeric value on the wire for resolveStrategy. + */ + @java.lang.Override public int getResolveStrategyValue() { + return resolveStrategy_; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @param value The enum numeric value on the wire for resolveStrategy to set. + * @return This builder for chaining. + */ + public Builder setResolveStrategyValue(int value) { + + resolveStrategy_ = value; + onChanged(); + return this; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return The resolveStrategy. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy() { + @SuppressWarnings("deprecation") + greptime.v1.meta.Procedure.ResolveStrategy result = greptime.v1.meta.Procedure.ResolveStrategy.valueOf(resolveStrategy_); + return result == null ? greptime.v1.meta.Procedure.ResolveStrategy.UNRECOGNIZED : result; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @param value The resolveStrategy to set. + * @return This builder for chaining. + */ + public Builder setResolveStrategy(greptime.v1.meta.Procedure.ResolveStrategy value) { + if (value == null) { + throw new NullPointerException(); + } + + resolveStrategy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 4; + * @return This builder for chaining. + */ + public Builder clearResolveStrategy() { + + resolveStrategy_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.meta.ReconcileDatabase) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileDatabase) + private static final greptime.v1.meta.Procedure.ReconcileDatabase DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new greptime.v1.meta.Procedure.ReconcileDatabase(); + } + + public static greptime.v1.meta.Procedure.ReconcileDatabase getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconcileDatabase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReconcileDatabase(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabase getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReconcileCatalogOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.meta.ReconcileCatalog) + com.google.protobuf.MessageOrBuilder { + + /** + * string catalog_name = 1; + * @return The catalogName. + */ + java.lang.String getCatalogName(); + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + com.google.protobuf.ByteString + getCatalogNameBytes(); + + /** + * uint32 parallelism = 2; + * @return The parallelism. + */ + int getParallelism(); + + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @return The enum numeric value on the wire for resolveStrategy. + */ + int getResolveStrategyValue(); + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @return The resolveStrategy. + */ + greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy(); + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileCatalog} + */ + public static final class ReconcileCatalog extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.meta.ReconcileCatalog) + ReconcileCatalogOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReconcileCatalog.newBuilder() to construct. + private ReconcileCatalog(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReconcileCatalog() { + catalogName_ = ""; + resolveStrategy_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReconcileCatalog(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReconcileCatalog( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + catalogName_ = s; + break; + } + case 16: { + + parallelism_ = input.readUInt32(); + break; + } + case 24: { + int rawValue = input.readEnum(); + + resolveStrategy_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileCatalog_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileCatalog_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileCatalog.class, greptime.v1.meta.Procedure.ReconcileCatalog.Builder.class); + } + + public static final int CATALOG_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object catalogName_; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + @java.lang.Override + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARALLELISM_FIELD_NUMBER = 2; + private int parallelism_; + /** + * uint32 parallelism = 2; + * @return The parallelism. + */ + @java.lang.Override + public int getParallelism() { + return parallelism_; + } + + public static final int RESOLVE_STRATEGY_FIELD_NUMBER = 3; + private int resolveStrategy_; + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @return The enum numeric value on the wire for resolveStrategy. + */ + @java.lang.Override public int getResolveStrategyValue() { + return resolveStrategy_; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @return The resolveStrategy. + */ + @java.lang.Override public greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy() { + @SuppressWarnings("deprecation") + greptime.v1.meta.Procedure.ResolveStrategy result = greptime.v1.meta.Procedure.ResolveStrategy.valueOf(resolveStrategy_); + return result == null ? greptime.v1.meta.Procedure.ResolveStrategy.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, catalogName_); + } + if (parallelism_ != 0) { + output.writeUInt32(2, parallelism_); + } + if (resolveStrategy_ != greptime.v1.meta.Procedure.ResolveStrategy.UseLatest.getNumber()) { + output.writeEnum(3, resolveStrategy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, catalogName_); + } + if (parallelism_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, parallelism_); + } + if (resolveStrategy_ != greptime.v1.meta.Procedure.ResolveStrategy.UseLatest.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, resolveStrategy_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof greptime.v1.meta.Procedure.ReconcileCatalog)) { + return super.equals(obj); + } + greptime.v1.meta.Procedure.ReconcileCatalog other = (greptime.v1.meta.Procedure.ReconcileCatalog) obj; + + if (!getCatalogName() + .equals(other.getCatalogName())) return false; + if (getParallelism() + != other.getParallelism()) return false; + if (resolveStrategy_ != other.resolveStrategy_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CATALOG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getCatalogName().hashCode(); + hash = (37 * hash) + PARALLELISM_FIELD_NUMBER; + hash = (53 * hash) + getParallelism(); + hash = (37 * hash) + RESOLVE_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + resolveStrategy_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog 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 greptime.v1.meta.Procedure.ReconcileCatalog parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog 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 greptime.v1.meta.Procedure.ReconcileCatalog parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileCatalog parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(greptime.v1.meta.Procedure.ReconcileCatalog prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileCatalog} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.meta.ReconcileCatalog) + greptime.v1.meta.Procedure.ReconcileCatalogOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileCatalog_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileCatalog_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileCatalog.class, greptime.v1.meta.Procedure.ReconcileCatalog.Builder.class); + } + + // Construct using greptime.v1.meta.Procedure.ReconcileCatalog.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + catalogName_ = ""; + + parallelism_ = 0; + + resolveStrategy_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileCatalog_descriptor; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalog getDefaultInstanceForType() { + return greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance(); + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalog build() { + greptime.v1.meta.Procedure.ReconcileCatalog result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalog buildPartial() { + greptime.v1.meta.Procedure.ReconcileCatalog result = new greptime.v1.meta.Procedure.ReconcileCatalog(this); + result.catalogName_ = catalogName_; + result.parallelism_ = parallelism_; + result.resolveStrategy_ = resolveStrategy_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof greptime.v1.meta.Procedure.ReconcileCatalog) { + return mergeFrom((greptime.v1.meta.Procedure.ReconcileCatalog)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(greptime.v1.meta.Procedure.ReconcileCatalog other) { + if (other == greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance()) return this; + if (!other.getCatalogName().isEmpty()) { + catalogName_ = other.catalogName_; + onChanged(); + } + if (other.getParallelism() != 0) { + setParallelism(other.getParallelism()); + } + if (other.resolveStrategy_ != 0) { + setResolveStrategyValue(other.getResolveStrategyValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + greptime.v1.meta.Procedure.ReconcileCatalog parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (greptime.v1.meta.Procedure.ReconcileCatalog) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object catalogName_ = ""; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string catalog_name = 1; + * @param value The catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + catalogName_ = value; + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @return This builder for chaining. + */ + public Builder clearCatalogName() { + + catalogName_ = getDefaultInstance().getCatalogName(); + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @param value The bytes for catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + catalogName_ = value; + onChanged(); + return this; + } + + private int parallelism_ ; + /** + * uint32 parallelism = 2; + * @return The parallelism. + */ + @java.lang.Override + public int getParallelism() { + return parallelism_; + } + /** + * uint32 parallelism = 2; + * @param value The parallelism to set. + * @return This builder for chaining. + */ + public Builder setParallelism(int value) { + + parallelism_ = value; + onChanged(); + return this; + } + /** + * uint32 parallelism = 2; + * @return This builder for chaining. + */ + public Builder clearParallelism() { + + parallelism_ = 0; + onChanged(); + return this; + } + + private int resolveStrategy_ = 0; + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @return The enum numeric value on the wire for resolveStrategy. + */ + @java.lang.Override public int getResolveStrategyValue() { + return resolveStrategy_; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @param value The enum numeric value on the wire for resolveStrategy to set. + * @return This builder for chaining. + */ + public Builder setResolveStrategyValue(int value) { + + resolveStrategy_ = value; + onChanged(); + return this; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @return The resolveStrategy. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ResolveStrategy getResolveStrategy() { + @SuppressWarnings("deprecation") + greptime.v1.meta.Procedure.ResolveStrategy result = greptime.v1.meta.Procedure.ResolveStrategy.valueOf(resolveStrategy_); + return result == null ? greptime.v1.meta.Procedure.ResolveStrategy.UNRECOGNIZED : result; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @param value The resolveStrategy to set. + * @return This builder for chaining. + */ + public Builder setResolveStrategy(greptime.v1.meta.Procedure.ResolveStrategy value) { + if (value == null) { + throw new NullPointerException(); + } + + resolveStrategy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .greptime.v1.meta.ResolveStrategy resolve_strategy = 3; + * @return This builder for chaining. + */ + public Builder clearResolveStrategy() { + + resolveStrategy_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.meta.ReconcileCatalog) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileCatalog) + private static final greptime.v1.meta.Procedure.ReconcileCatalog DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new greptime.v1.meta.Procedure.ReconcileCatalog(); + } + + public static greptime.v1.meta.Procedure.ReconcileCatalog getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconcileCatalog parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReconcileCatalog(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalog getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReconcileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.meta.ReconcileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .greptime.v1.meta.RequestHeader header = 1; + * @return Whether the header field is set. + */ + boolean hasHeader(); + /** + * .greptime.v1.meta.RequestHeader header = 1; + * @return The header. + */ + greptime.v1.meta.Common.RequestHeader getHeader(); + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder(); + + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + * @return Whether the reconcileTable field is set. + */ + boolean hasReconcileTable(); + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + * @return The reconcileTable. + */ + greptime.v1.meta.Procedure.ReconcileTable getReconcileTable(); + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + greptime.v1.meta.Procedure.ReconcileTableOrBuilder getReconcileTableOrBuilder(); + + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + * @return Whether the reconcileDatabase field is set. + */ + boolean hasReconcileDatabase(); + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + * @return The reconcileDatabase. + */ + greptime.v1.meta.Procedure.ReconcileDatabase getReconcileDatabase(); + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + greptime.v1.meta.Procedure.ReconcileDatabaseOrBuilder getReconcileDatabaseOrBuilder(); + + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + * @return Whether the reconcileCatalog field is set. + */ + boolean hasReconcileCatalog(); + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + * @return The reconcileCatalog. + */ + greptime.v1.meta.Procedure.ReconcileCatalog getReconcileCatalog(); + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + greptime.v1.meta.Procedure.ReconcileCatalogOrBuilder getReconcileCatalogOrBuilder(); + + public greptime.v1.meta.Procedure.ReconcileRequest.TargetCase getTargetCase(); + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileRequest} + */ + public static final class ReconcileRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.meta.ReconcileRequest) + ReconcileRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReconcileRequest.newBuilder() to construct. + private ReconcileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReconcileRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReconcileRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReconcileRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + greptime.v1.meta.Common.RequestHeader.Builder subBuilder = null; + if (header_ != null) { + subBuilder = header_.toBuilder(); + } + header_ = input.readMessage(greptime.v1.meta.Common.RequestHeader.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(header_); + header_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + greptime.v1.meta.Procedure.ReconcileTable.Builder subBuilder = null; + if (targetCase_ == 2) { + subBuilder = ((greptime.v1.meta.Procedure.ReconcileTable) target_).toBuilder(); + } + target_ = + input.readMessage(greptime.v1.meta.Procedure.ReconcileTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((greptime.v1.meta.Procedure.ReconcileTable) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 2; + break; + } + case 26: { + greptime.v1.meta.Procedure.ReconcileDatabase.Builder subBuilder = null; + if (targetCase_ == 3) { + subBuilder = ((greptime.v1.meta.Procedure.ReconcileDatabase) target_).toBuilder(); + } + target_ = + input.readMessage(greptime.v1.meta.Procedure.ReconcileDatabase.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((greptime.v1.meta.Procedure.ReconcileDatabase) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 3; + break; + } + case 34: { + greptime.v1.meta.Procedure.ReconcileCatalog.Builder subBuilder = null; + if (targetCase_ == 4) { + subBuilder = ((greptime.v1.meta.Procedure.ReconcileCatalog) target_).toBuilder(); + } + target_ = + input.readMessage(greptime.v1.meta.Procedure.ReconcileCatalog.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((greptime.v1.meta.Procedure.ReconcileCatalog) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileRequest.class, greptime.v1.meta.Procedure.ReconcileRequest.Builder.class); + } + + private int targetCase_ = 0; + private java.lang.Object target_; + public enum TargetCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + RECONCILE_TABLE(2), + RECONCILE_DATABASE(3), + RECONCILE_CATALOG(4), + TARGET_NOT_SET(0); + private final int value; + private TargetCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TargetCase valueOf(int value) { + return forNumber(value); + } + + public static TargetCase forNumber(int value) { + switch (value) { + case 2: return RECONCILE_TABLE; + case 3: return RECONCILE_DATABASE; + case 4: return RECONCILE_CATALOG; + case 0: return TARGET_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); + } + + public static final int HEADER_FIELD_NUMBER = 1; + private greptime.v1.meta.Common.RequestHeader header_; + /** + * .greptime.v1.meta.RequestHeader header = 1; + * @return Whether the header field is set. + */ + @java.lang.Override + public boolean hasHeader() { + return header_ != null; + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + * @return The header. + */ + @java.lang.Override + public greptime.v1.meta.Common.RequestHeader getHeader() { + return header_ == null ? greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_; + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + @java.lang.Override + public greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder() { + return getHeader(); + } + + public static final int RECONCILE_TABLE_FIELD_NUMBER = 2; + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + * @return Whether the reconcileTable field is set. + */ + @java.lang.Override + public boolean hasReconcileTable() { + return targetCase_ == 2; + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + * @return The reconcileTable. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTable getReconcileTable() { + if (targetCase_ == 2) { + return (greptime.v1.meta.Procedure.ReconcileTable) target_; + } + return greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance(); + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTableOrBuilder getReconcileTableOrBuilder() { + if (targetCase_ == 2) { + return (greptime.v1.meta.Procedure.ReconcileTable) target_; + } + return greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance(); + } + + public static final int RECONCILE_DATABASE_FIELD_NUMBER = 3; + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + * @return Whether the reconcileDatabase field is set. + */ + @java.lang.Override + public boolean hasReconcileDatabase() { + return targetCase_ == 3; + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + * @return The reconcileDatabase. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabase getReconcileDatabase() { + if (targetCase_ == 3) { + return (greptime.v1.meta.Procedure.ReconcileDatabase) target_; + } + return greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance(); + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabaseOrBuilder getReconcileDatabaseOrBuilder() { + if (targetCase_ == 3) { + return (greptime.v1.meta.Procedure.ReconcileDatabase) target_; + } + return greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance(); + } + + public static final int RECONCILE_CATALOG_FIELD_NUMBER = 4; + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + * @return Whether the reconcileCatalog field is set. + */ + @java.lang.Override + public boolean hasReconcileCatalog() { + return targetCase_ == 4; + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + * @return The reconcileCatalog. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalog getReconcileCatalog() { + if (targetCase_ == 4) { + return (greptime.v1.meta.Procedure.ReconcileCatalog) target_; + } + return greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance(); + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalogOrBuilder getReconcileCatalogOrBuilder() { + if (targetCase_ == 4) { + return (greptime.v1.meta.Procedure.ReconcileCatalog) target_; + } + return greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (header_ != null) { + output.writeMessage(1, getHeader()); + } + if (targetCase_ == 2) { + output.writeMessage(2, (greptime.v1.meta.Procedure.ReconcileTable) target_); + } + if (targetCase_ == 3) { + output.writeMessage(3, (greptime.v1.meta.Procedure.ReconcileDatabase) target_); + } + if (targetCase_ == 4) { + output.writeMessage(4, (greptime.v1.meta.Procedure.ReconcileCatalog) target_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (header_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHeader()); + } + if (targetCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (greptime.v1.meta.Procedure.ReconcileTable) target_); + } + if (targetCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (greptime.v1.meta.Procedure.ReconcileDatabase) target_); + } + if (targetCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (greptime.v1.meta.Procedure.ReconcileCatalog) target_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof greptime.v1.meta.Procedure.ReconcileRequest)) { + return super.equals(obj); + } + greptime.v1.meta.Procedure.ReconcileRequest other = (greptime.v1.meta.Procedure.ReconcileRequest) obj; + + if (hasHeader() != other.hasHeader()) return false; + if (hasHeader()) { + if (!getHeader() + .equals(other.getHeader())) return false; + } + if (!getTargetCase().equals(other.getTargetCase())) return false; + switch (targetCase_) { + case 2: + if (!getReconcileTable() + .equals(other.getReconcileTable())) return false; + break; + case 3: + if (!getReconcileDatabase() + .equals(other.getReconcileDatabase())) return false; + break; + case 4: + if (!getReconcileCatalog() + .equals(other.getReconcileCatalog())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasHeader()) { + hash = (37 * hash) + HEADER_FIELD_NUMBER; + hash = (53 * hash) + getHeader().hashCode(); + } + switch (targetCase_) { + case 2: + hash = (37 * hash) + RECONCILE_TABLE_FIELD_NUMBER; + hash = (53 * hash) + getReconcileTable().hashCode(); + break; + case 3: + hash = (37 * hash) + RECONCILE_DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getReconcileDatabase().hashCode(); + break; + case 4: + hash = (37 * hash) + RECONCILE_CATALOG_FIELD_NUMBER; + hash = (53 * hash) + getReconcileCatalog().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileRequest 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 greptime.v1.meta.Procedure.ReconcileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileRequest 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 greptime.v1.meta.Procedure.ReconcileRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(greptime.v1.meta.Procedure.ReconcileRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.meta.ReconcileRequest) + greptime.v1.meta.Procedure.ReconcileRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileRequest.class, greptime.v1.meta.Procedure.ReconcileRequest.Builder.class); + } + + // Construct using greptime.v1.meta.Procedure.ReconcileRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (headerBuilder_ == null) { + header_ = null; + } else { + header_ = null; + headerBuilder_ = null; + } + targetCase_ = 0; + target_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileRequest_descriptor; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileRequest getDefaultInstanceForType() { + return greptime.v1.meta.Procedure.ReconcileRequest.getDefaultInstance(); + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileRequest build() { + greptime.v1.meta.Procedure.ReconcileRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileRequest buildPartial() { + greptime.v1.meta.Procedure.ReconcileRequest result = new greptime.v1.meta.Procedure.ReconcileRequest(this); + if (headerBuilder_ == null) { + result.header_ = header_; + } else { + result.header_ = headerBuilder_.build(); + } + if (targetCase_ == 2) { + if (reconcileTableBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = reconcileTableBuilder_.build(); + } + } + if (targetCase_ == 3) { + if (reconcileDatabaseBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = reconcileDatabaseBuilder_.build(); + } + } + if (targetCase_ == 4) { + if (reconcileCatalogBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = reconcileCatalogBuilder_.build(); + } + } + result.targetCase_ = targetCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof greptime.v1.meta.Procedure.ReconcileRequest) { + return mergeFrom((greptime.v1.meta.Procedure.ReconcileRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(greptime.v1.meta.Procedure.ReconcileRequest other) { + if (other == greptime.v1.meta.Procedure.ReconcileRequest.getDefaultInstance()) return this; + if (other.hasHeader()) { + mergeHeader(other.getHeader()); + } + switch (other.getTargetCase()) { + case RECONCILE_TABLE: { + mergeReconcileTable(other.getReconcileTable()); + break; + } + case RECONCILE_DATABASE: { + mergeReconcileDatabase(other.getReconcileDatabase()); + break; + } + case RECONCILE_CATALOG: { + mergeReconcileCatalog(other.getReconcileCatalog()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + greptime.v1.meta.Procedure.ReconcileRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (greptime.v1.meta.Procedure.ReconcileRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int targetCase_ = 0; + private java.lang.Object target_; + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); + } + + public Builder clearTarget() { + targetCase_ = 0; + target_ = null; + onChanged(); + return this; + } + + + private greptime.v1.meta.Common.RequestHeader header_; + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder> headerBuilder_; + /** + * .greptime.v1.meta.RequestHeader header = 1; + * @return Whether the header field is set. + */ + public boolean hasHeader() { + return headerBuilder_ != null || header_ != null; + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + * @return The header. + */ + public greptime.v1.meta.Common.RequestHeader getHeader() { + if (headerBuilder_ == null) { + return header_ == null ? greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_; + } else { + return headerBuilder_.getMessage(); + } + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + public Builder setHeader(greptime.v1.meta.Common.RequestHeader value) { + if (headerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + header_ = value; + onChanged(); + } else { + headerBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + public Builder setHeader( + greptime.v1.meta.Common.RequestHeader.Builder builderForValue) { + if (headerBuilder_ == null) { + header_ = builderForValue.build(); + onChanged(); + } else { + headerBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + public Builder mergeHeader(greptime.v1.meta.Common.RequestHeader value) { + if (headerBuilder_ == null) { + if (header_ != null) { + header_ = + greptime.v1.meta.Common.RequestHeader.newBuilder(header_).mergeFrom(value).buildPartial(); + } else { + header_ = value; + } + onChanged(); + } else { + headerBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + public Builder clearHeader() { + if (headerBuilder_ == null) { + header_ = null; + onChanged(); + } else { + header_ = null; + headerBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + public greptime.v1.meta.Common.RequestHeader.Builder getHeaderBuilder() { + + onChanged(); + return getHeaderFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + public greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder() { + if (headerBuilder_ != null) { + return headerBuilder_.getMessageOrBuilder(); + } else { + return header_ == null ? + greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_; + } + } + /** + * .greptime.v1.meta.RequestHeader header = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder> + getHeaderFieldBuilder() { + if (headerBuilder_ == null) { + headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder>( + getHeader(), + getParentForChildren(), + isClean()); + header_ = null; + } + return headerBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileTable, greptime.v1.meta.Procedure.ReconcileTable.Builder, greptime.v1.meta.Procedure.ReconcileTableOrBuilder> reconcileTableBuilder_; + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + * @return Whether the reconcileTable field is set. + */ + @java.lang.Override + public boolean hasReconcileTable() { + return targetCase_ == 2; + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + * @return The reconcileTable. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTable getReconcileTable() { + if (reconcileTableBuilder_ == null) { + if (targetCase_ == 2) { + return (greptime.v1.meta.Procedure.ReconcileTable) target_; + } + return greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance(); + } else { + if (targetCase_ == 2) { + return reconcileTableBuilder_.getMessage(); + } + return greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + public Builder setReconcileTable(greptime.v1.meta.Procedure.ReconcileTable value) { + if (reconcileTableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + reconcileTableBuilder_.setMessage(value); + } + targetCase_ = 2; + return this; + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + public Builder setReconcileTable( + greptime.v1.meta.Procedure.ReconcileTable.Builder builderForValue) { + if (reconcileTableBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + reconcileTableBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 2; + return this; + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + public Builder mergeReconcileTable(greptime.v1.meta.Procedure.ReconcileTable value) { + if (reconcileTableBuilder_ == null) { + if (targetCase_ == 2 && + target_ != greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance()) { + target_ = greptime.v1.meta.Procedure.ReconcileTable.newBuilder((greptime.v1.meta.Procedure.ReconcileTable) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 2) { + reconcileTableBuilder_.mergeFrom(value); + } else { + reconcileTableBuilder_.setMessage(value); + } + } + targetCase_ = 2; + return this; + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + public Builder clearReconcileTable() { + if (reconcileTableBuilder_ == null) { + if (targetCase_ == 2) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 2) { + targetCase_ = 0; + target_ = null; + } + reconcileTableBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + public greptime.v1.meta.Procedure.ReconcileTable.Builder getReconcileTableBuilder() { + return getReconcileTableFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileTableOrBuilder getReconcileTableOrBuilder() { + if ((targetCase_ == 2) && (reconcileTableBuilder_ != null)) { + return reconcileTableBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 2) { + return (greptime.v1.meta.Procedure.ReconcileTable) target_; + } + return greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.ReconcileTable reconcile_table = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileTable, greptime.v1.meta.Procedure.ReconcileTable.Builder, greptime.v1.meta.Procedure.ReconcileTableOrBuilder> + getReconcileTableFieldBuilder() { + if (reconcileTableBuilder_ == null) { + if (!(targetCase_ == 2)) { + target_ = greptime.v1.meta.Procedure.ReconcileTable.getDefaultInstance(); + } + reconcileTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileTable, greptime.v1.meta.Procedure.ReconcileTable.Builder, greptime.v1.meta.Procedure.ReconcileTableOrBuilder>( + (greptime.v1.meta.Procedure.ReconcileTable) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 2; + onChanged();; + return reconcileTableBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileDatabase, greptime.v1.meta.Procedure.ReconcileDatabase.Builder, greptime.v1.meta.Procedure.ReconcileDatabaseOrBuilder> reconcileDatabaseBuilder_; + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + * @return Whether the reconcileDatabase field is set. + */ + @java.lang.Override + public boolean hasReconcileDatabase() { + return targetCase_ == 3; + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + * @return The reconcileDatabase. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabase getReconcileDatabase() { + if (reconcileDatabaseBuilder_ == null) { + if (targetCase_ == 3) { + return (greptime.v1.meta.Procedure.ReconcileDatabase) target_; + } + return greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance(); + } else { + if (targetCase_ == 3) { + return reconcileDatabaseBuilder_.getMessage(); + } + return greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + public Builder setReconcileDatabase(greptime.v1.meta.Procedure.ReconcileDatabase value) { + if (reconcileDatabaseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + reconcileDatabaseBuilder_.setMessage(value); + } + targetCase_ = 3; + return this; + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + public Builder setReconcileDatabase( + greptime.v1.meta.Procedure.ReconcileDatabase.Builder builderForValue) { + if (reconcileDatabaseBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + reconcileDatabaseBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 3; + return this; + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + public Builder mergeReconcileDatabase(greptime.v1.meta.Procedure.ReconcileDatabase value) { + if (reconcileDatabaseBuilder_ == null) { + if (targetCase_ == 3 && + target_ != greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance()) { + target_ = greptime.v1.meta.Procedure.ReconcileDatabase.newBuilder((greptime.v1.meta.Procedure.ReconcileDatabase) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 3) { + reconcileDatabaseBuilder_.mergeFrom(value); + } else { + reconcileDatabaseBuilder_.setMessage(value); + } + } + targetCase_ = 3; + return this; + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + public Builder clearReconcileDatabase() { + if (reconcileDatabaseBuilder_ == null) { + if (targetCase_ == 3) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 3) { + targetCase_ = 0; + target_ = null; + } + reconcileDatabaseBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + public greptime.v1.meta.Procedure.ReconcileDatabase.Builder getReconcileDatabaseBuilder() { + return getReconcileDatabaseFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileDatabaseOrBuilder getReconcileDatabaseOrBuilder() { + if ((targetCase_ == 3) && (reconcileDatabaseBuilder_ != null)) { + return reconcileDatabaseBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 3) { + return (greptime.v1.meta.Procedure.ReconcileDatabase) target_; + } + return greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.ReconcileDatabase reconcile_database = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileDatabase, greptime.v1.meta.Procedure.ReconcileDatabase.Builder, greptime.v1.meta.Procedure.ReconcileDatabaseOrBuilder> + getReconcileDatabaseFieldBuilder() { + if (reconcileDatabaseBuilder_ == null) { + if (!(targetCase_ == 3)) { + target_ = greptime.v1.meta.Procedure.ReconcileDatabase.getDefaultInstance(); + } + reconcileDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileDatabase, greptime.v1.meta.Procedure.ReconcileDatabase.Builder, greptime.v1.meta.Procedure.ReconcileDatabaseOrBuilder>( + (greptime.v1.meta.Procedure.ReconcileDatabase) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 3; + onChanged();; + return reconcileDatabaseBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileCatalog, greptime.v1.meta.Procedure.ReconcileCatalog.Builder, greptime.v1.meta.Procedure.ReconcileCatalogOrBuilder> reconcileCatalogBuilder_; + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + * @return Whether the reconcileCatalog field is set. + */ + @java.lang.Override + public boolean hasReconcileCatalog() { + return targetCase_ == 4; + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + * @return The reconcileCatalog. + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalog getReconcileCatalog() { + if (reconcileCatalogBuilder_ == null) { + if (targetCase_ == 4) { + return (greptime.v1.meta.Procedure.ReconcileCatalog) target_; + } + return greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance(); + } else { + if (targetCase_ == 4) { + return reconcileCatalogBuilder_.getMessage(); + } + return greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + public Builder setReconcileCatalog(greptime.v1.meta.Procedure.ReconcileCatalog value) { + if (reconcileCatalogBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + reconcileCatalogBuilder_.setMessage(value); + } + targetCase_ = 4; + return this; + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + public Builder setReconcileCatalog( + greptime.v1.meta.Procedure.ReconcileCatalog.Builder builderForValue) { + if (reconcileCatalogBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + reconcileCatalogBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 4; + return this; + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + public Builder mergeReconcileCatalog(greptime.v1.meta.Procedure.ReconcileCatalog value) { + if (reconcileCatalogBuilder_ == null) { + if (targetCase_ == 4 && + target_ != greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance()) { + target_ = greptime.v1.meta.Procedure.ReconcileCatalog.newBuilder((greptime.v1.meta.Procedure.ReconcileCatalog) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 4) { + reconcileCatalogBuilder_.mergeFrom(value); + } else { + reconcileCatalogBuilder_.setMessage(value); + } + } + targetCase_ = 4; + return this; + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + public Builder clearReconcileCatalog() { + if (reconcileCatalogBuilder_ == null) { + if (targetCase_ == 4) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 4) { + targetCase_ = 0; + target_ = null; + } + reconcileCatalogBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + public greptime.v1.meta.Procedure.ReconcileCatalog.Builder getReconcileCatalogBuilder() { + return getReconcileCatalogFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileCatalogOrBuilder getReconcileCatalogOrBuilder() { + if ((targetCase_ == 4) && (reconcileCatalogBuilder_ != null)) { + return reconcileCatalogBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 4) { + return (greptime.v1.meta.Procedure.ReconcileCatalog) target_; + } + return greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.ReconcileCatalog reconcile_catalog = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileCatalog, greptime.v1.meta.Procedure.ReconcileCatalog.Builder, greptime.v1.meta.Procedure.ReconcileCatalogOrBuilder> + getReconcileCatalogFieldBuilder() { + if (reconcileCatalogBuilder_ == null) { + if (!(targetCase_ == 4)) { + target_ = greptime.v1.meta.Procedure.ReconcileCatalog.getDefaultInstance(); + } + reconcileCatalogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Procedure.ReconcileCatalog, greptime.v1.meta.Procedure.ReconcileCatalog.Builder, greptime.v1.meta.Procedure.ReconcileCatalogOrBuilder>( + (greptime.v1.meta.Procedure.ReconcileCatalog) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 4; + onChanged();; + return reconcileCatalogBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.meta.ReconcileRequest) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileRequest) + private static final greptime.v1.meta.Procedure.ReconcileRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new greptime.v1.meta.Procedure.ReconcileRequest(); + } + + public static greptime.v1.meta.Procedure.ReconcileRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconcileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReconcileRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReconcileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.meta.ReconcileResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .greptime.v1.meta.ResponseHeader header = 1; + * @return Whether the header field is set. + */ + boolean hasHeader(); + /** + * .greptime.v1.meta.ResponseHeader header = 1; + * @return The header. + */ + greptime.v1.meta.Common.ResponseHeader getHeader(); + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder(); + + /** + * .greptime.v1.meta.ProcedureId pid = 2; + * @return Whether the pid field is set. + */ + boolean hasPid(); + /** + * .greptime.v1.meta.ProcedureId pid = 2; + * @return The pid. + */ + greptime.v1.meta.Common.ProcedureId getPid(); + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + greptime.v1.meta.Common.ProcedureIdOrBuilder getPidOrBuilder(); + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileResponse} + */ + public static final class ReconcileResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.meta.ReconcileResponse) + ReconcileResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReconcileResponse.newBuilder() to construct. + private ReconcileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReconcileResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReconcileResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReconcileResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + greptime.v1.meta.Common.ResponseHeader.Builder subBuilder = null; + if (header_ != null) { + subBuilder = header_.toBuilder(); + } + header_ = input.readMessage(greptime.v1.meta.Common.ResponseHeader.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(header_); + header_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + greptime.v1.meta.Common.ProcedureId.Builder subBuilder = null; + if (pid_ != null) { + subBuilder = pid_.toBuilder(); + } + pid_ = input.readMessage(greptime.v1.meta.Common.ProcedureId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pid_); + pid_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileResponse.class, greptime.v1.meta.Procedure.ReconcileResponse.Builder.class); + } + + public static final int HEADER_FIELD_NUMBER = 1; + private greptime.v1.meta.Common.ResponseHeader header_; + /** + * .greptime.v1.meta.ResponseHeader header = 1; + * @return Whether the header field is set. + */ + @java.lang.Override + public boolean hasHeader() { + return header_ != null; + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + * @return The header. + */ + @java.lang.Override + public greptime.v1.meta.Common.ResponseHeader getHeader() { + return header_ == null ? greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_; + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + @java.lang.Override + public greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder() { + return getHeader(); + } + + public static final int PID_FIELD_NUMBER = 2; + private greptime.v1.meta.Common.ProcedureId pid_; + /** + * .greptime.v1.meta.ProcedureId pid = 2; + * @return Whether the pid field is set. + */ + @java.lang.Override + public boolean hasPid() { + return pid_ != null; + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + * @return The pid. + */ + @java.lang.Override + public greptime.v1.meta.Common.ProcedureId getPid() { + return pid_ == null ? greptime.v1.meta.Common.ProcedureId.getDefaultInstance() : pid_; + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + @java.lang.Override + public greptime.v1.meta.Common.ProcedureIdOrBuilder getPidOrBuilder() { + return getPid(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (header_ != null) { + output.writeMessage(1, getHeader()); + } + if (pid_ != null) { + output.writeMessage(2, getPid()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (header_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHeader()); + } + if (pid_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPid()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof greptime.v1.meta.Procedure.ReconcileResponse)) { + return super.equals(obj); + } + greptime.v1.meta.Procedure.ReconcileResponse other = (greptime.v1.meta.Procedure.ReconcileResponse) obj; + + if (hasHeader() != other.hasHeader()) return false; + if (hasHeader()) { + if (!getHeader() + .equals(other.getHeader())) return false; + } + if (hasPid() != other.hasPid()) return false; + if (hasPid()) { + if (!getPid() + .equals(other.getPid())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasHeader()) { + hash = (37 * hash) + HEADER_FIELD_NUMBER; + hash = (53 * hash) + getHeader().hashCode(); + } + if (hasPid()) { + hash = (37 * hash) + PID_FIELD_NUMBER; + hash = (53 * hash) + getPid().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileResponse 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 greptime.v1.meta.Procedure.ReconcileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileResponse 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 greptime.v1.meta.Procedure.ReconcileResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Procedure.ReconcileResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(greptime.v1.meta.Procedure.ReconcileResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code greptime.v1.meta.ReconcileResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.meta.ReconcileResponse) + greptime.v1.meta.Procedure.ReconcileResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Procedure.ReconcileResponse.class, greptime.v1.meta.Procedure.ReconcileResponse.Builder.class); + } + + // Construct using greptime.v1.meta.Procedure.ReconcileResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (headerBuilder_ == null) { + header_ = null; + } else { + header_ = null; + headerBuilder_ = null; + } + if (pidBuilder_ == null) { + pid_ = null; + } else { + pid_ = null; + pidBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return greptime.v1.meta.Procedure.internal_static_greptime_v1_meta_ReconcileResponse_descriptor; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileResponse getDefaultInstanceForType() { + return greptime.v1.meta.Procedure.ReconcileResponse.getDefaultInstance(); + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileResponse build() { + greptime.v1.meta.Procedure.ReconcileResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileResponse buildPartial() { + greptime.v1.meta.Procedure.ReconcileResponse result = new greptime.v1.meta.Procedure.ReconcileResponse(this); + if (headerBuilder_ == null) { + result.header_ = header_; + } else { + result.header_ = headerBuilder_.build(); + } + if (pidBuilder_ == null) { + result.pid_ = pid_; + } else { + result.pid_ = pidBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof greptime.v1.meta.Procedure.ReconcileResponse) { + return mergeFrom((greptime.v1.meta.Procedure.ReconcileResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(greptime.v1.meta.Procedure.ReconcileResponse other) { + if (other == greptime.v1.meta.Procedure.ReconcileResponse.getDefaultInstance()) return this; + if (other.hasHeader()) { + mergeHeader(other.getHeader()); + } + if (other.hasPid()) { + mergePid(other.getPid()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + greptime.v1.meta.Procedure.ReconcileResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (greptime.v1.meta.Procedure.ReconcileResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private greptime.v1.meta.Common.ResponseHeader header_; + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder> headerBuilder_; + /** + * .greptime.v1.meta.ResponseHeader header = 1; + * @return Whether the header field is set. + */ + public boolean hasHeader() { + return headerBuilder_ != null || header_ != null; + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + * @return The header. + */ + public greptime.v1.meta.Common.ResponseHeader getHeader() { + if (headerBuilder_ == null) { + return header_ == null ? greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_; + } else { + return headerBuilder_.getMessage(); + } + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + public Builder setHeader(greptime.v1.meta.Common.ResponseHeader value) { + if (headerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + header_ = value; + onChanged(); + } else { + headerBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + public Builder setHeader( + greptime.v1.meta.Common.ResponseHeader.Builder builderForValue) { + if (headerBuilder_ == null) { + header_ = builderForValue.build(); + onChanged(); + } else { + headerBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + public Builder mergeHeader(greptime.v1.meta.Common.ResponseHeader value) { + if (headerBuilder_ == null) { + if (header_ != null) { + header_ = + greptime.v1.meta.Common.ResponseHeader.newBuilder(header_).mergeFrom(value).buildPartial(); + } else { + header_ = value; + } + onChanged(); + } else { + headerBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + public Builder clearHeader() { + if (headerBuilder_ == null) { + header_ = null; + onChanged(); + } else { + header_ = null; + headerBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + public greptime.v1.meta.Common.ResponseHeader.Builder getHeaderBuilder() { + + onChanged(); + return getHeaderFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + public greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder() { + if (headerBuilder_ != null) { + return headerBuilder_.getMessageOrBuilder(); + } else { + return header_ == null ? + greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_; + } + } + /** + * .greptime.v1.meta.ResponseHeader header = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder> + getHeaderFieldBuilder() { + if (headerBuilder_ == null) { + headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder>( + getHeader(), + getParentForChildren(), + isClean()); + header_ = null; + } + return headerBuilder_; + } + + private greptime.v1.meta.Common.ProcedureId pid_; + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.ProcedureId, greptime.v1.meta.Common.ProcedureId.Builder, greptime.v1.meta.Common.ProcedureIdOrBuilder> pidBuilder_; + /** + * .greptime.v1.meta.ProcedureId pid = 2; + * @return Whether the pid field is set. + */ + public boolean hasPid() { + return pidBuilder_ != null || pid_ != null; + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + * @return The pid. + */ + public greptime.v1.meta.Common.ProcedureId getPid() { + if (pidBuilder_ == null) { + return pid_ == null ? greptime.v1.meta.Common.ProcedureId.getDefaultInstance() : pid_; + } else { + return pidBuilder_.getMessage(); + } + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + public Builder setPid(greptime.v1.meta.Common.ProcedureId value) { + if (pidBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pid_ = value; + onChanged(); + } else { + pidBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + public Builder setPid( + greptime.v1.meta.Common.ProcedureId.Builder builderForValue) { + if (pidBuilder_ == null) { + pid_ = builderForValue.build(); + onChanged(); + } else { + pidBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + public Builder mergePid(greptime.v1.meta.Common.ProcedureId value) { + if (pidBuilder_ == null) { + if (pid_ != null) { + pid_ = + greptime.v1.meta.Common.ProcedureId.newBuilder(pid_).mergeFrom(value).buildPartial(); + } else { + pid_ = value; + } + onChanged(); + } else { + pidBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + public Builder clearPid() { + if (pidBuilder_ == null) { + pid_ = null; + onChanged(); + } else { + pid_ = null; + pidBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + public greptime.v1.meta.Common.ProcedureId.Builder getPidBuilder() { + + onChanged(); + return getPidFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + public greptime.v1.meta.Common.ProcedureIdOrBuilder getPidOrBuilder() { + if (pidBuilder_ != null) { + return pidBuilder_.getMessageOrBuilder(); + } else { + return pid_ == null ? + greptime.v1.meta.Common.ProcedureId.getDefaultInstance() : pid_; + } + } + /** + * .greptime.v1.meta.ProcedureId pid = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.ProcedureId, greptime.v1.meta.Common.ProcedureId.Builder, greptime.v1.meta.Common.ProcedureIdOrBuilder> + getPidFieldBuilder() { + if (pidBuilder_ == null) { + pidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Common.ProcedureId, greptime.v1.meta.Common.ProcedureId.Builder, greptime.v1.meta.Common.ProcedureIdOrBuilder>( + getPid(), + getParentForChildren(), + isClean()); + pid_ = null; + } + return pidBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.meta.ReconcileResponse) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.ReconcileResponse) + private static final greptime.v1.meta.Procedure.ReconcileResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new greptime.v1.meta.Procedure.ReconcileResponse(); + } + + public static greptime.v1.meta.Procedure.ReconcileResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconcileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReconcileResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public greptime.v1.meta.Procedure.ReconcileResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_meta_ProcedureMeta_descriptor; private static final @@ -4911,6 +9859,31 @@ public final class Procedure { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_meta_ProcedureDetailResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_meta_ReconcileTable_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_meta_ReconcileTable_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_meta_ReconcileDatabase_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_meta_ReconcileDatabase_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_meta_ReconcileCatalog_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_meta_ReconcileCatalog_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_meta_ReconcileRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_meta_ReconcileRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_meta_ReconcileResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_meta_ReconcileResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -4940,21 +9913,45 @@ public final class Procedure { "tHeader\"\200\001\n\027ProcedureDetailResponse\0220\n\006h" + "eader\030\001 \001(\0132 .greptime.v1.meta.ResponseH" + "eader\0223\n\nprocedures\030\002 \003(\0132\037.greptime.v1." + - "meta.ProcedureMeta*v\n\017ProcedureStatus\022\013\n" + - "\007Running\020\000\022\010\n\004Done\020\001\022\014\n\010Retrying\020\002\022\n\n\006Fa" + - "iled\020\003\022\023\n\017PrepareRollback\020\004\022\017\n\013RollingBa" + - "ck\020\005\022\014\n\010Poisoned\020\0062\366\002\n\020ProcedureService\022" + - "Z\n\005query\022\'.greptime.v1.meta.QueryProcedu" + - "reRequest\032(.greptime.v1.meta.ProcedureSt" + - "ateResponse\022J\n\003ddl\022 .greptime.v1.meta.Dd" + - "lTaskRequest\032!.greptime.v1.meta.DdlTaskR" + - "esponse\022Z\n\007migrate\022&.greptime.v1.meta.Mi" + - "grateRegionRequest\032\'.greptime.v1.meta.Mi" + - "grateRegionResponse\022^\n\007details\022(.greptim" + - "e.v1.meta.ProcedureDetailRequest\032).grept" + - "ime.v1.meta.ProcedureDetailResponseB