// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: greptime/v1/meta/procedure.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_greptime_2fv1_2fmeta_2fprocedure_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_greptime_2fv1_2fmeta_2fprocedure_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3021006 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "greptime/v1/meta/common.pb.h"
#include "greptime/v1/meta/ddl.pb.h"
#include "greptime/v1/meta/region.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_greptime_2fv1_2fmeta_2fprocedure_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fprocedure_2eproto;
namespace greptime {
namespace v1 {
namespace meta {
class GcRegionsRequest;
struct GcRegionsRequestDefaultTypeInternal;
extern GcRegionsRequestDefaultTypeInternal _GcRegionsRequest_default_instance_;
class GcRegionsResponse;
struct GcRegionsResponseDefaultTypeInternal;
extern GcRegionsResponseDefaultTypeInternal _GcRegionsResponse_default_instance_;
class GcStats;
struct GcStatsDefaultTypeInternal;
extern GcStatsDefaultTypeInternal _GcStats_default_instance_;
class GcTableRequest;
struct GcTableRequestDefaultTypeInternal;
extern GcTableRequestDefaultTypeInternal _GcTableRequest_default_instance_;
class GcTableResponse;
struct GcTableResponseDefaultTypeInternal;
extern GcTableResponseDefaultTypeInternal _GcTableResponse_default_instance_;
class ProcedureDetailRequest;
struct ProcedureDetailRequestDefaultTypeInternal;
extern ProcedureDetailRequestDefaultTypeInternal _ProcedureDetailRequest_default_instance_;
class ProcedureDetailResponse;
struct ProcedureDetailResponseDefaultTypeInternal;
extern ProcedureDetailResponseDefaultTypeInternal _ProcedureDetailResponse_default_instance_;
class ProcedureMeta;
struct ProcedureMetaDefaultTypeInternal;
extern ProcedureMetaDefaultTypeInternal _ProcedureMeta_default_instance_;
class ProcedureStateResponse;
struct ProcedureStateResponseDefaultTypeInternal;
extern ProcedureStateResponseDefaultTypeInternal _ProcedureStateResponse_default_instance_;
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
PROTOBUF_NAMESPACE_OPEN
template<> ::greptime::v1::meta::GcRegionsRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::GcRegionsRequest>(Arena*);
template<> ::greptime::v1::meta::GcRegionsResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::GcRegionsResponse>(Arena*);
template<> ::greptime::v1::meta::GcStats* Arena::CreateMaybeMessage<::greptime::v1::meta::GcStats>(Arena*);
template<> ::greptime::v1::meta::GcTableRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::GcTableRequest>(Arena*);
template<> ::greptime::v1::meta::GcTableResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::GcTableResponse>(Arena*);
template<> ::greptime::v1::meta::ProcedureDetailRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::ProcedureDetailRequest>(Arena*);
template<> ::greptime::v1::meta::ProcedureDetailResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::ProcedureDetailResponse>(Arena*);
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 {
namespace meta {

enum ProcedureStatus : int {
  Running = 0,
  Done = 1,
  Retrying = 2,
  Failed = 3,
  PrepareRollback = 4,
  RollingBack = 5,
  Poisoned = 6,
  ProcedureStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  ProcedureStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
};
bool ProcedureStatus_IsValid(int value);
constexpr ProcedureStatus ProcedureStatus_MIN = Running;
constexpr ProcedureStatus ProcedureStatus_MAX = Poisoned;
constexpr int ProcedureStatus_ARRAYSIZE = ProcedureStatus_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ProcedureStatus_descriptor();
template<typename T>
inline const std::string& ProcedureStatus_Name(T enum_t_value) {
  static_assert(::std::is_same<T, ProcedureStatus>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function ProcedureStatus_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    ProcedureStatus_descriptor(), enum_t_value);
}
inline bool ProcedureStatus_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProcedureStatus* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ProcedureStatus>(
    ProcedureStatus_descriptor(), name, value);
}
enum ResolveStrategy : int {
  UseLatest = 0,
  UseMetasrv = 1,
  AbortOnConflict = 2,
  ResolveStrategy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  ResolveStrategy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
inline const std::string& ResolveStrategy_Name(T enum_t_value) {
  static_assert(::std::is_same<T, ResolveStrategy>::value ||
    ::std::is_integral<T>::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>(
    ResolveStrategy_descriptor(), name, value);
}
// ===================================================================

class ProcedureMeta final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ProcedureMeta) */ {
 public:
  inline ProcedureMeta() : ProcedureMeta(nullptr) {}
  ~ProcedureMeta() override;
  explicit PROTOBUF_CONSTEXPR ProcedureMeta(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ProcedureMeta(const ProcedureMeta& from);
  ProcedureMeta(ProcedureMeta&& from) noexcept
    : ProcedureMeta() {
    *this = ::std::move(from);
  }

  inline ProcedureMeta& operator=(const ProcedureMeta& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProcedureMeta& operator=(ProcedureMeta&& 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 ProcedureMeta& default_instance() {
    return *internal_default_instance();
  }
  static inline const ProcedureMeta* internal_default_instance() {
    return reinterpret_cast<const ProcedureMeta*>(
               &_ProcedureMeta_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(ProcedureMeta& a, ProcedureMeta& b) {
    a.Swap(&b);
  }
  inline void Swap(ProcedureMeta* 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(ProcedureMeta* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ProcedureMeta* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ProcedureMeta>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const ProcedureMeta& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const ProcedureMeta& from) {
    ProcedureMeta::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(ProcedureMeta* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.ProcedureMeta";
  }
  protected:
  explicit ProcedureMeta(::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 {
    kLockKeysFieldNumber = 6,
    kTypeNameFieldNumber = 2,
    kErrorFieldNumber = 7,
    kIdFieldNumber = 1,
    kStartTimeMsFieldNumber = 4,
    kEndTimeMsFieldNumber = 5,
    kStatusFieldNumber = 3,
  };
  // repeated string lock_keys = 6;
  int lock_keys_size() const;
  private:
  int _internal_lock_keys_size() const;
  public:
  void clear_lock_keys();
  const std::string& lock_keys(int index) const;
  std::string* mutable_lock_keys(int index);
  void set_lock_keys(int index, const std::string& value);
  void set_lock_keys(int index, std::string&& value);
  void set_lock_keys(int index, const char* value);
  void set_lock_keys(int index, const char* value, size_t size);
  std::string* add_lock_keys();
  void add_lock_keys(const std::string& value);
  void add_lock_keys(std::string&& value);
  void add_lock_keys(const char* value);
  void add_lock_keys(const char* value, size_t size);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& lock_keys() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_lock_keys();
  private:
  const std::string& _internal_lock_keys(int index) const;
  std::string* _internal_add_lock_keys();
  public:

  // string type_name = 2;
  void clear_type_name();
  const std::string& type_name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_type_name(ArgT0&& arg0, ArgT... args);
  std::string* mutable_type_name();
  PROTOBUF_NODISCARD std::string* release_type_name();
  void set_allocated_type_name(std::string* type_name);
  private:
  const std::string& _internal_type_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const std::string& value);
  std::string* _internal_mutable_type_name();
  public:

  // string error = 7;
  void clear_error();
  const std::string& error() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_error(ArgT0&& arg0, ArgT... args);
  std::string* mutable_error();
  PROTOBUF_NODISCARD std::string* release_error();
  void set_allocated_error(std::string* error);
  private:
  const std::string& _internal_error() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_error(const std::string& value);
  std::string* _internal_mutable_error();
  public:

  // .greptime.v1.meta.ProcedureId id = 1;
  bool has_id() const;
  private:
  bool _internal_has_id() const;
  public:
  void clear_id();
  const ::greptime::v1::meta::ProcedureId& id() const;
  PROTOBUF_NODISCARD ::greptime::v1::meta::ProcedureId* release_id();
  ::greptime::v1::meta::ProcedureId* mutable_id();
  void set_allocated_id(::greptime::v1::meta::ProcedureId* id);
  private:
  const ::greptime::v1::meta::ProcedureId& _internal_id() const;
  ::greptime::v1::meta::ProcedureId* _internal_mutable_id();
  public:
  void unsafe_arena_set_allocated_id(
      ::greptime::v1::meta::ProcedureId* id);
  ::greptime::v1::meta::ProcedureId* unsafe_arena_release_id();

  // int64 start_time_ms = 4;
  void clear_start_time_ms();
  int64_t start_time_ms() const;
  void set_start_time_ms(int64_t value);
  private:
  int64_t _internal_start_time_ms() const;
  void _internal_set_start_time_ms(int64_t value);
  public:

  // int64 end_time_ms = 5;
  void clear_end_time_ms();
  int64_t end_time_ms() const;
  void set_end_time_ms(int64_t value);
  private:
  int64_t _internal_end_time_ms() const;
  void _internal_set_end_time_ms(int64_t value);
  public:

  // .greptime.v1.meta.ProcedureStatus status = 3;
  void clear_status();
  ::greptime::v1::meta::ProcedureStatus status() const;
  void set_status(::greptime::v1::meta::ProcedureStatus value);
  private:
  ::greptime::v1::meta::ProcedureStatus _internal_status() const;
  void _internal_set_status(::greptime::v1::meta::ProcedureStatus value);
  public:

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.ProcedureMeta)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> lock_keys_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_;
    ::greptime::v1::meta::ProcedureId* id_;
    int64_t start_time_ms_;
    int64_t end_time_ms_;
    int status_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// -------------------------------------------------------------------

class QueryProcedureRequest final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.QueryProcedureRequest) */ {
 public:
  inline QueryProcedureRequest() : QueryProcedureRequest(nullptr) {}
  ~QueryProcedureRequest() override;
  explicit PROTOBUF_CONSTEXPR QueryProcedureRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  QueryProcedureRequest(const QueryProcedureRequest& from);
  QueryProcedureRequest(QueryProcedureRequest&& from) noexcept
    : QueryProcedureRequest() {
    *this = ::std::move(from);
  }

  inline QueryProcedureRequest& operator=(const QueryProcedureRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline QueryProcedureRequest& operator=(QueryProcedureRequest&& 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 QueryProcedureRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const QueryProcedureRequest* internal_default_instance() {
    return reinterpret_cast<const QueryProcedureRequest*>(
               &_QueryProcedureRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(QueryProcedureRequest& a, QueryProcedureRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(QueryProcedureRequest* 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(QueryProcedureRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  QueryProcedureRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<QueryProcedureRequest>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const QueryProcedureRequest& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const QueryProcedureRequest& from) {
    QueryProcedureRequest::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(QueryProcedureRequest* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.QueryProcedureRequest";
  }
  protected:
  explicit QueryProcedureRequest(::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.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.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.QueryProcedureRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::greptime::v1::meta::RequestHeader* 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;
};
// -------------------------------------------------------------------

class ProcedureStateResponse final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ProcedureStateResponse) */ {
 public:
  inline ProcedureStateResponse() : ProcedureStateResponse(nullptr) {}
  ~ProcedureStateResponse() override;
  explicit PROTOBUF_CONSTEXPR ProcedureStateResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ProcedureStateResponse(const ProcedureStateResponse& from);
  ProcedureStateResponse(ProcedureStateResponse&& from) noexcept
    : ProcedureStateResponse() {
    *this = ::std::move(from);
  }

  inline ProcedureStateResponse& operator=(const ProcedureStateResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProcedureStateResponse& operator=(ProcedureStateResponse&& 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 ProcedureStateResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const ProcedureStateResponse* internal_default_instance() {
    return reinterpret_cast<const ProcedureStateResponse*>(
               &_ProcedureStateResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(ProcedureStateResponse& a, ProcedureStateResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(ProcedureStateResponse* 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(ProcedureStateResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ProcedureStateResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ProcedureStateResponse>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const ProcedureStateResponse& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const ProcedureStateResponse& from) {
    ProcedureStateResponse::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(ProcedureStateResponse* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.ProcedureStateResponse";
  }
  protected:
  explicit ProcedureStateResponse(::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 {
    kErrorFieldNumber = 3,
    kHeaderFieldNumber = 1,
    kStatusFieldNumber = 2,
  };
  // string error = 3;
  void clear_error();
  const std::string& error() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_error(ArgT0&& arg0, ArgT... args);
  std::string* mutable_error();
  PROTOBUF_NODISCARD std::string* release_error();
  void set_allocated_error(std::string* error);
  private:
  const std::string& _internal_error() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_error(const std::string& value);
  std::string* _internal_mutable_error();
  public:

  // .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.ProcedureStatus status = 2;
  void clear_status();
  ::greptime::v1::meta::ProcedureStatus status() const;
  void set_status(::greptime::v1::meta::ProcedureStatus value);
  private:
  ::greptime::v1::meta::ProcedureStatus _internal_status() const;
  void _internal_set_status(::greptime::v1::meta::ProcedureStatus value);
  public:

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.ProcedureStateResponse)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_;
    ::greptime::v1::meta::ResponseHeader* header_;
    int status_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// -------------------------------------------------------------------

class ProcedureDetailRequest final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ProcedureDetailRequest) */ {
 public:
  inline ProcedureDetailRequest() : ProcedureDetailRequest(nullptr) {}
  ~ProcedureDetailRequest() override;
  explicit PROTOBUF_CONSTEXPR ProcedureDetailRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ProcedureDetailRequest(const ProcedureDetailRequest& from);
  ProcedureDetailRequest(ProcedureDetailRequest&& from) noexcept
    : ProcedureDetailRequest() {
    *this = ::std::move(from);
  }

  inline ProcedureDetailRequest& operator=(const ProcedureDetailRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProcedureDetailRequest& operator=(ProcedureDetailRequest&& 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 ProcedureDetailRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const ProcedureDetailRequest* internal_default_instance() {
    return reinterpret_cast<const ProcedureDetailRequest*>(
               &_ProcedureDetailRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(ProcedureDetailRequest& a, ProcedureDetailRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(ProcedureDetailRequest* 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(ProcedureDetailRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ProcedureDetailRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ProcedureDetailRequest>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const ProcedureDetailRequest& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const ProcedureDetailRequest& from) {
    ProcedureDetailRequest::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(ProcedureDetailRequest* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.ProcedureDetailRequest";
  }
  protected:
  explicit ProcedureDetailRequest(::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,
  };
  // .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();

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.ProcedureDetailRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::greptime::v1::meta::RequestHeader* header_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// -------------------------------------------------------------------

class ProcedureDetailResponse final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.ProcedureDetailResponse) */ {
 public:
  inline ProcedureDetailResponse() : ProcedureDetailResponse(nullptr) {}
  ~ProcedureDetailResponse() override;
  explicit PROTOBUF_CONSTEXPR ProcedureDetailResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ProcedureDetailResponse(const ProcedureDetailResponse& from);
  ProcedureDetailResponse(ProcedureDetailResponse&& from) noexcept
    : ProcedureDetailResponse() {
    *this = ::std::move(from);
  }

  inline ProcedureDetailResponse& operator=(const ProcedureDetailResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProcedureDetailResponse& operator=(ProcedureDetailResponse&& 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 ProcedureDetailResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const ProcedureDetailResponse* internal_default_instance() {
    return reinterpret_cast<const ProcedureDetailResponse*>(
               &_ProcedureDetailResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(ProcedureDetailResponse& a, ProcedureDetailResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(ProcedureDetailResponse* 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(ProcedureDetailResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ProcedureDetailResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ProcedureDetailResponse>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const ProcedureDetailResponse& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const ProcedureDetailResponse& from) {
    ProcedureDetailResponse::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(ProcedureDetailResponse* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.ProcedureDetailResponse";
  }
  protected:
  explicit ProcedureDetailResponse(::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 {
    kProceduresFieldNumber = 2,
    kHeaderFieldNumber = 1,
  };
  // repeated .greptime.v1.meta.ProcedureMeta procedures = 2;
  int procedures_size() const;
  private:
  int _internal_procedures_size() const;
  public:
  void clear_procedures();
  ::greptime::v1::meta::ProcedureMeta* mutable_procedures(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::ProcedureMeta >*
      mutable_procedures();
  private:
  const ::greptime::v1::meta::ProcedureMeta& _internal_procedures(int index) const;
  ::greptime::v1::meta::ProcedureMeta* _internal_add_procedures();
  public:
  const ::greptime::v1::meta::ProcedureMeta& procedures(int index) const;
  ::greptime::v1::meta::ProcedureMeta* add_procedures();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::ProcedureMeta >&
      procedures() const;

  // .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();

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.ProcedureDetailResponse)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::ProcedureMeta > procedures_;
    ::greptime::v1::meta::ResponseHeader* header_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  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<const ReconcileTable*>(
               &_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<ReconcileTable>(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 <typename ArgT0 = const std::string&, typename... ArgT>
  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 <typename ArgT0 = const std::string&, typename... ArgT>
  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 <typename ArgT0 = const std::string&, typename... ArgT>
  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 <typename T> 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<const ReconcileDatabase*>(
               &_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<ReconcileDatabase>(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 <typename ArgT0 = const std::string&, typename... ArgT>
  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 <typename ArgT0 = const std::string&, typename... ArgT>
  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 <typename T> 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<const ReconcileCatalog*>(
               &_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<ReconcileCatalog>(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 <typename ArgT0 = const std::string&, typename... ArgT>
  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 <typename T> 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<const ReconcileRequest*>(
               &_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<ReconcileRequest>(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 <typename T> 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<const ReconcileResponse*>(
               &_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<ReconcileResponse>(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 <typename T> 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;
};
// -------------------------------------------------------------------

class GcRegionsRequest final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.GcRegionsRequest) */ {
 public:
  inline GcRegionsRequest() : GcRegionsRequest(nullptr) {}
  ~GcRegionsRequest() override;
  explicit PROTOBUF_CONSTEXPR GcRegionsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GcRegionsRequest(const GcRegionsRequest& from);
  GcRegionsRequest(GcRegionsRequest&& from) noexcept
    : GcRegionsRequest() {
    *this = ::std::move(from);
  }

  inline GcRegionsRequest& operator=(const GcRegionsRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline GcRegionsRequest& operator=(GcRegionsRequest&& 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 GcRegionsRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const GcRegionsRequest* internal_default_instance() {
    return reinterpret_cast<const GcRegionsRequest*>(
               &_GcRegionsRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    10;

  friend void swap(GcRegionsRequest& a, GcRegionsRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(GcRegionsRequest* 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(GcRegionsRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  GcRegionsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<GcRegionsRequest>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const GcRegionsRequest& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const GcRegionsRequest& from) {
    GcRegionsRequest::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(GcRegionsRequest* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.GcRegionsRequest";
  }
  protected:
  explicit GcRegionsRequest(::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 {
    kRegionIdsFieldNumber = 2,
    kHeaderFieldNumber = 1,
    kFullFileListingFieldNumber = 3,
    kTimeoutSecsFieldNumber = 4,
  };
  // repeated uint64 region_ids = 2;
  int region_ids_size() const;
  private:
  int _internal_region_ids_size() const;
  public:
  void clear_region_ids();
  private:
  uint64_t _internal_region_ids(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      _internal_region_ids() const;
  void _internal_add_region_ids(uint64_t value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      _internal_mutable_region_ids();
  public:
  uint64_t region_ids(int index) const;
  void set_region_ids(int index, uint64_t value);
  void add_region_ids(uint64_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      region_ids() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      mutable_region_ids();

  // .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();

  // bool full_file_listing = 3;
  void clear_full_file_listing();
  bool full_file_listing() const;
  void set_full_file_listing(bool value);
  private:
  bool _internal_full_file_listing() const;
  void _internal_set_full_file_listing(bool value);
  public:

  // uint32 timeout_secs = 4;
  void clear_timeout_secs();
  uint32_t timeout_secs() const;
  void set_timeout_secs(uint32_t value);
  private:
  uint32_t _internal_timeout_secs() const;
  void _internal_set_timeout_secs(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.GcRegionsRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > region_ids_;
    mutable std::atomic<int> _region_ids_cached_byte_size_;
    ::greptime::v1::meta::RequestHeader* header_;
    bool full_file_listing_;
    uint32_t timeout_secs_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// -------------------------------------------------------------------

class GcStats final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.GcStats) */ {
 public:
  inline GcStats() : GcStats(nullptr) {}
  ~GcStats() override;
  explicit PROTOBUF_CONSTEXPR GcStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GcStats(const GcStats& from);
  GcStats(GcStats&& from) noexcept
    : GcStats() {
    *this = ::std::move(from);
  }

  inline GcStats& operator=(const GcStats& from) {
    CopyFrom(from);
    return *this;
  }
  inline GcStats& operator=(GcStats&& 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 GcStats& default_instance() {
    return *internal_default_instance();
  }
  static inline const GcStats* internal_default_instance() {
    return reinterpret_cast<const GcStats*>(
               &_GcStats_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    11;

  friend void swap(GcStats& a, GcStats& b) {
    a.Swap(&b);
  }
  inline void Swap(GcStats* 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(GcStats* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  GcStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<GcStats>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const GcStats& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const GcStats& from) {
    GcStats::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(GcStats* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.GcStats";
  }
  protected:
  explicit GcStats(::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 {
    kNeedRetryRegionsFieldNumber = 2,
    kProcessedRegionsFieldNumber = 1,
    kDeletedFilesFieldNumber = 3,
    kDeletedIndexesFieldNumber = 4,
  };
  // repeated uint64 need_retry_regions = 2;
  int need_retry_regions_size() const;
  private:
  int _internal_need_retry_regions_size() const;
  public:
  void clear_need_retry_regions();
  private:
  uint64_t _internal_need_retry_regions(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      _internal_need_retry_regions() const;
  void _internal_add_need_retry_regions(uint64_t value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      _internal_mutable_need_retry_regions();
  public:
  uint64_t need_retry_regions(int index) const;
  void set_need_retry_regions(int index, uint64_t value);
  void add_need_retry_regions(uint64_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
      need_retry_regions() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
      mutable_need_retry_regions();

  // uint64 processed_regions = 1;
  void clear_processed_regions();
  uint64_t processed_regions() const;
  void set_processed_regions(uint64_t value);
  private:
  uint64_t _internal_processed_regions() const;
  void _internal_set_processed_regions(uint64_t value);
  public:

  // uint64 deleted_files = 3;
  void clear_deleted_files();
  uint64_t deleted_files() const;
  void set_deleted_files(uint64_t value);
  private:
  uint64_t _internal_deleted_files() const;
  void _internal_set_deleted_files(uint64_t value);
  public:

  // uint64 deleted_indexes = 4;
  void clear_deleted_indexes();
  uint64_t deleted_indexes() const;
  void set_deleted_indexes(uint64_t value);
  private:
  uint64_t _internal_deleted_indexes() const;
  void _internal_set_deleted_indexes(uint64_t value);
  public:

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.GcStats)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > need_retry_regions_;
    mutable std::atomic<int> _need_retry_regions_cached_byte_size_;
    uint64_t processed_regions_;
    uint64_t deleted_files_;
    uint64_t deleted_indexes_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// -------------------------------------------------------------------

class GcRegionsResponse final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.GcRegionsResponse) */ {
 public:
  inline GcRegionsResponse() : GcRegionsResponse(nullptr) {}
  ~GcRegionsResponse() override;
  explicit PROTOBUF_CONSTEXPR GcRegionsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GcRegionsResponse(const GcRegionsResponse& from);
  GcRegionsResponse(GcRegionsResponse&& from) noexcept
    : GcRegionsResponse() {
    *this = ::std::move(from);
  }

  inline GcRegionsResponse& operator=(const GcRegionsResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline GcRegionsResponse& operator=(GcRegionsResponse&& 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 GcRegionsResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const GcRegionsResponse* internal_default_instance() {
    return reinterpret_cast<const GcRegionsResponse*>(
               &_GcRegionsResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    12;

  friend void swap(GcRegionsResponse& a, GcRegionsResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(GcRegionsResponse* 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(GcRegionsResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  GcRegionsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<GcRegionsResponse>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const GcRegionsResponse& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const GcRegionsResponse& from) {
    GcRegionsResponse::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(GcRegionsResponse* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.GcRegionsResponse";
  }
  protected:
  explicit GcRegionsResponse(::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,
    kStatsFieldNumber = 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.GcStats stats = 2;
  bool has_stats() const;
  private:
  bool _internal_has_stats() const;
  public:
  void clear_stats();
  const ::greptime::v1::meta::GcStats& stats() const;
  PROTOBUF_NODISCARD ::greptime::v1::meta::GcStats* release_stats();
  ::greptime::v1::meta::GcStats* mutable_stats();
  void set_allocated_stats(::greptime::v1::meta::GcStats* stats);
  private:
  const ::greptime::v1::meta::GcStats& _internal_stats() const;
  ::greptime::v1::meta::GcStats* _internal_mutable_stats();
  public:
  void unsafe_arena_set_allocated_stats(
      ::greptime::v1::meta::GcStats* stats);
  ::greptime::v1::meta::GcStats* unsafe_arena_release_stats();

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.GcRegionsResponse)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::greptime::v1::meta::ResponseHeader* header_;
    ::greptime::v1::meta::GcStats* stats_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// -------------------------------------------------------------------

class GcTableRequest final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.GcTableRequest) */ {
 public:
  inline GcTableRequest() : GcTableRequest(nullptr) {}
  ~GcTableRequest() override;
  explicit PROTOBUF_CONSTEXPR GcTableRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GcTableRequest(const GcTableRequest& from);
  GcTableRequest(GcTableRequest&& from) noexcept
    : GcTableRequest() {
    *this = ::std::move(from);
  }

  inline GcTableRequest& operator=(const GcTableRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline GcTableRequest& operator=(GcTableRequest&& 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 GcTableRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const GcTableRequest* internal_default_instance() {
    return reinterpret_cast<const GcTableRequest*>(
               &_GcTableRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    13;

  friend void swap(GcTableRequest& a, GcTableRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(GcTableRequest* 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(GcTableRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  GcTableRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<GcTableRequest>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const GcTableRequest& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const GcTableRequest& from) {
    GcTableRequest::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(GcTableRequest* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.GcTableRequest";
  }
  protected:
  explicit GcTableRequest(::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 = 2,
    kSchemaNameFieldNumber = 3,
    kTableNameFieldNumber = 4,
    kHeaderFieldNumber = 1,
    kFullFileListingFieldNumber = 5,
    kTimeoutSecsFieldNumber = 6,
  };
  // string catalog_name = 2;
  void clear_catalog_name();
  const std::string& catalog_name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  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 = 3;
  void clear_schema_name();
  const std::string& schema_name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  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 = 4;
  void clear_table_name();
  const std::string& table_name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  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.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();

  // bool full_file_listing = 5;
  void clear_full_file_listing();
  bool full_file_listing() const;
  void set_full_file_listing(bool value);
  private:
  bool _internal_full_file_listing() const;
  void _internal_set_full_file_listing(bool value);
  public:

  // uint32 timeout_secs = 6;
  void clear_timeout_secs();
  uint32_t timeout_secs() const;
  void set_timeout_secs(uint32_t value);
  private:
  uint32_t _internal_timeout_secs() const;
  void _internal_set_timeout_secs(uint32_t value);
  public:

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.GcTableRequest)
 private:
  class _Internal;

  template <typename T> 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_;
    ::greptime::v1::meta::RequestHeader* header_;
    bool full_file_listing_;
    uint32_t timeout_secs_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// -------------------------------------------------------------------

class GcTableResponse final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.GcTableResponse) */ {
 public:
  inline GcTableResponse() : GcTableResponse(nullptr) {}
  ~GcTableResponse() override;
  explicit PROTOBUF_CONSTEXPR GcTableResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  GcTableResponse(const GcTableResponse& from);
  GcTableResponse(GcTableResponse&& from) noexcept
    : GcTableResponse() {
    *this = ::std::move(from);
  }

  inline GcTableResponse& operator=(const GcTableResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline GcTableResponse& operator=(GcTableResponse&& 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 GcTableResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const GcTableResponse* internal_default_instance() {
    return reinterpret_cast<const GcTableResponse*>(
               &_GcTableResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    14;

  friend void swap(GcTableResponse& a, GcTableResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(GcTableResponse* 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(GcTableResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  GcTableResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<GcTableResponse>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const GcTableResponse& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const GcTableResponse& from) {
    GcTableResponse::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(GcTableResponse* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.GcTableResponse";
  }
  protected:
  explicit GcTableResponse(::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,
    kStatsFieldNumber = 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.GcStats stats = 2;
  bool has_stats() const;
  private:
  bool _internal_has_stats() const;
  public:
  void clear_stats();
  const ::greptime::v1::meta::GcStats& stats() const;
  PROTOBUF_NODISCARD ::greptime::v1::meta::GcStats* release_stats();
  ::greptime::v1::meta::GcStats* mutable_stats();
  void set_allocated_stats(::greptime::v1::meta::GcStats* stats);
  private:
  const ::greptime::v1::meta::GcStats& _internal_stats() const;
  ::greptime::v1::meta::GcStats* _internal_mutable_stats();
  public:
  void unsafe_arena_set_allocated_stats(
      ::greptime::v1::meta::GcStats* stats);
  ::greptime::v1::meta::GcStats* unsafe_arena_release_stats();

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.GcTableResponse)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::greptime::v1::meta::ResponseHeader* header_;
    ::greptime::v1::meta::GcStats* stats_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fprocedure_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// ProcedureMeta

// .greptime.v1.meta.ProcedureId id = 1;
inline bool ProcedureMeta::_internal_has_id() const {
  return this != internal_default_instance() && _impl_.id_ != nullptr;
}
inline bool ProcedureMeta::has_id() const {
  return _internal_has_id();
}
inline const ::greptime::v1::meta::ProcedureId& ProcedureMeta::_internal_id() const {
  const ::greptime::v1::meta::ProcedureId* p = _impl_.id_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::ProcedureId&>(
      ::greptime::v1::meta::_ProcedureId_default_instance_);
}
inline const ::greptime::v1::meta::ProcedureId& ProcedureMeta::id() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureMeta.id)
  return _internal_id();
}
inline void ProcedureMeta::unsafe_arena_set_allocated_id(
    ::greptime::v1::meta::ProcedureId* id) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.id_);
  }
  _impl_.id_ = id;
  if (id) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.ProcedureMeta.id)
}
inline ::greptime::v1::meta::ProcedureId* ProcedureMeta::release_id() {
  
  ::greptime::v1::meta::ProcedureId* temp = _impl_.id_;
  _impl_.id_ = 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* ProcedureMeta::unsafe_arena_release_id() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.ProcedureMeta.id)
  
  ::greptime::v1::meta::ProcedureId* temp = _impl_.id_;
  _impl_.id_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::ProcedureId* ProcedureMeta::_internal_mutable_id() {
  
  if (_impl_.id_ == nullptr) {
    auto* p = CreateMaybeMessage<::greptime::v1::meta::ProcedureId>(GetArenaForAllocation());
    _impl_.id_ = p;
  }
  return _impl_.id_;
}
inline ::greptime::v1::meta::ProcedureId* ProcedureMeta::mutable_id() {
  ::greptime::v1::meta::ProcedureId* _msg = _internal_mutable_id();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureMeta.id)
  return _msg;
}
inline void ProcedureMeta::set_allocated_id(::greptime::v1::meta::ProcedureId* id) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.id_);
  }
  if (id) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id));
    if (message_arena != submessage_arena) {
      id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, id, submessage_arena);
    }
    
  } else {
    
  }
  _impl_.id_ = id;
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ProcedureMeta.id)
}

// string type_name = 2;
inline void ProcedureMeta::clear_type_name() {
  _impl_.type_name_.ClearToEmpty();
}
inline const std::string& ProcedureMeta::type_name() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureMeta.type_name)
  return _internal_type_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ProcedureMeta::set_type_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.type_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureMeta.type_name)
}
inline std::string* ProcedureMeta::mutable_type_name() {
  std::string* _s = _internal_mutable_type_name();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureMeta.type_name)
  return _s;
}
inline const std::string& ProcedureMeta::_internal_type_name() const {
  return _impl_.type_name_.Get();
}
inline void ProcedureMeta::_internal_set_type_name(const std::string& value) {
  
  _impl_.type_name_.Set(value, GetArenaForAllocation());
}
inline std::string* ProcedureMeta::_internal_mutable_type_name() {
  
  return _impl_.type_name_.Mutable(GetArenaForAllocation());
}
inline std::string* ProcedureMeta::release_type_name() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.ProcedureMeta.type_name)
  return _impl_.type_name_.Release();
}
inline void ProcedureMeta::set_allocated_type_name(std::string* type_name) {
  if (type_name != nullptr) {
    
  } else {
    
  }
  _impl_.type_name_.SetAllocated(type_name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.type_name_.IsDefault()) {
    _impl_.type_name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ProcedureMeta.type_name)
}

// .greptime.v1.meta.ProcedureStatus status = 3;
inline void ProcedureMeta::clear_status() {
  _impl_.status_ = 0;
}
inline ::greptime::v1::meta::ProcedureStatus ProcedureMeta::_internal_status() const {
  return static_cast< ::greptime::v1::meta::ProcedureStatus >(_impl_.status_);
}
inline ::greptime::v1::meta::ProcedureStatus ProcedureMeta::status() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureMeta.status)
  return _internal_status();
}
inline void ProcedureMeta::_internal_set_status(::greptime::v1::meta::ProcedureStatus value) {
  
  _impl_.status_ = value;
}
inline void ProcedureMeta::set_status(::greptime::v1::meta::ProcedureStatus value) {
  _internal_set_status(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureMeta.status)
}

// int64 start_time_ms = 4;
inline void ProcedureMeta::clear_start_time_ms() {
  _impl_.start_time_ms_ = int64_t{0};
}
inline int64_t ProcedureMeta::_internal_start_time_ms() const {
  return _impl_.start_time_ms_;
}
inline int64_t ProcedureMeta::start_time_ms() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureMeta.start_time_ms)
  return _internal_start_time_ms();
}
inline void ProcedureMeta::_internal_set_start_time_ms(int64_t value) {
  
  _impl_.start_time_ms_ = value;
}
inline void ProcedureMeta::set_start_time_ms(int64_t value) {
  _internal_set_start_time_ms(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureMeta.start_time_ms)
}

// int64 end_time_ms = 5;
inline void ProcedureMeta::clear_end_time_ms() {
  _impl_.end_time_ms_ = int64_t{0};
}
inline int64_t ProcedureMeta::_internal_end_time_ms() const {
  return _impl_.end_time_ms_;
}
inline int64_t ProcedureMeta::end_time_ms() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureMeta.end_time_ms)
  return _internal_end_time_ms();
}
inline void ProcedureMeta::_internal_set_end_time_ms(int64_t value) {
  
  _impl_.end_time_ms_ = value;
}
inline void ProcedureMeta::set_end_time_ms(int64_t value) {
  _internal_set_end_time_ms(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureMeta.end_time_ms)
}

// repeated string lock_keys = 6;
inline int ProcedureMeta::_internal_lock_keys_size() const {
  return _impl_.lock_keys_.size();
}
inline int ProcedureMeta::lock_keys_size() const {
  return _internal_lock_keys_size();
}
inline void ProcedureMeta::clear_lock_keys() {
  _impl_.lock_keys_.Clear();
}
inline std::string* ProcedureMeta::add_lock_keys() {
  std::string* _s = _internal_add_lock_keys();
  // @@protoc_insertion_point(field_add_mutable:greptime.v1.meta.ProcedureMeta.lock_keys)
  return _s;
}
inline const std::string& ProcedureMeta::_internal_lock_keys(int index) const {
  return _impl_.lock_keys_.Get(index);
}
inline const std::string& ProcedureMeta::lock_keys(int index) const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureMeta.lock_keys)
  return _internal_lock_keys(index);
}
inline std::string* ProcedureMeta::mutable_lock_keys(int index) {
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureMeta.lock_keys)
  return _impl_.lock_keys_.Mutable(index);
}
inline void ProcedureMeta::set_lock_keys(int index, const std::string& value) {
  _impl_.lock_keys_.Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline void ProcedureMeta::set_lock_keys(int index, std::string&& value) {
  _impl_.lock_keys_.Mutable(index)->assign(std::move(value));
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline void ProcedureMeta::set_lock_keys(int index, const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _impl_.lock_keys_.Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set_char:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline void ProcedureMeta::set_lock_keys(int index, const char* value, size_t size) {
  _impl_.lock_keys_.Mutable(index)->assign(
    reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline std::string* ProcedureMeta::_internal_add_lock_keys() {
  return _impl_.lock_keys_.Add();
}
inline void ProcedureMeta::add_lock_keys(const std::string& value) {
  _impl_.lock_keys_.Add()->assign(value);
  // @@protoc_insertion_point(field_add:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline void ProcedureMeta::add_lock_keys(std::string&& value) {
  _impl_.lock_keys_.Add(std::move(value));
  // @@protoc_insertion_point(field_add:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline void ProcedureMeta::add_lock_keys(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _impl_.lock_keys_.Add()->assign(value);
  // @@protoc_insertion_point(field_add_char:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline void ProcedureMeta::add_lock_keys(const char* value, size_t size) {
  _impl_.lock_keys_.Add()->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_add_pointer:greptime.v1.meta.ProcedureMeta.lock_keys)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
ProcedureMeta::lock_keys() const {
  // @@protoc_insertion_point(field_list:greptime.v1.meta.ProcedureMeta.lock_keys)
  return _impl_.lock_keys_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
ProcedureMeta::mutable_lock_keys() {
  // @@protoc_insertion_point(field_mutable_list:greptime.v1.meta.ProcedureMeta.lock_keys)
  return &_impl_.lock_keys_;
}

// string error = 7;
inline void ProcedureMeta::clear_error() {
  _impl_.error_.ClearToEmpty();
}
inline const std::string& ProcedureMeta::error() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureMeta.error)
  return _internal_error();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ProcedureMeta::set_error(ArgT0&& arg0, ArgT... args) {
 
 _impl_.error_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureMeta.error)
}
inline std::string* ProcedureMeta::mutable_error() {
  std::string* _s = _internal_mutable_error();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureMeta.error)
  return _s;
}
inline const std::string& ProcedureMeta::_internal_error() const {
  return _impl_.error_.Get();
}
inline void ProcedureMeta::_internal_set_error(const std::string& value) {
  
  _impl_.error_.Set(value, GetArenaForAllocation());
}
inline std::string* ProcedureMeta::_internal_mutable_error() {
  
  return _impl_.error_.Mutable(GetArenaForAllocation());
}
inline std::string* ProcedureMeta::release_error() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.ProcedureMeta.error)
  return _impl_.error_.Release();
}
inline void ProcedureMeta::set_allocated_error(std::string* error) {
  if (error != nullptr) {
    
  } else {
    
  }
  _impl_.error_.SetAllocated(error, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.error_.IsDefault()) {
    _impl_.error_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ProcedureMeta.error)
}

// -------------------------------------------------------------------

// QueryProcedureRequest

// .greptime.v1.meta.RequestHeader header = 1;
inline bool QueryProcedureRequest::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool QueryProcedureRequest::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::RequestHeader& QueryProcedureRequest::_internal_header() const {
  const ::greptime::v1::meta::RequestHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::RequestHeader&>(
      ::greptime::v1::meta::_RequestHeader_default_instance_);
}
inline const ::greptime::v1::meta::RequestHeader& QueryProcedureRequest::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.QueryProcedureRequest.header)
  return _internal_header();
}
inline void QueryProcedureRequest::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.QueryProcedureRequest.header)
}
inline ::greptime::v1::meta::RequestHeader* QueryProcedureRequest::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* QueryProcedureRequest::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.QueryProcedureRequest.header)
  
  ::greptime::v1::meta::RequestHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::RequestHeader* QueryProcedureRequest::_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* QueryProcedureRequest::mutable_header() {
  ::greptime::v1::meta::RequestHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.QueryProcedureRequest.header)
  return _msg;
}
inline void QueryProcedureRequest::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.QueryProcedureRequest.header)
}

// .greptime.v1.meta.ProcedureId pid = 2;
inline bool QueryProcedureRequest::_internal_has_pid() const {
  return this != internal_default_instance() && _impl_.pid_ != nullptr;
}
inline bool QueryProcedureRequest::has_pid() const {
  return _internal_has_pid();
}
inline const ::greptime::v1::meta::ProcedureId& QueryProcedureRequest::_internal_pid() const {
  const ::greptime::v1::meta::ProcedureId* p = _impl_.pid_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::ProcedureId&>(
      ::greptime::v1::meta::_ProcedureId_default_instance_);
}
inline const ::greptime::v1::meta::ProcedureId& QueryProcedureRequest::pid() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.QueryProcedureRequest.pid)
  return _internal_pid();
}
inline void QueryProcedureRequest::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.QueryProcedureRequest.pid)
}
inline ::greptime::v1::meta::ProcedureId* QueryProcedureRequest::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* QueryProcedureRequest::unsafe_arena_release_pid() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.QueryProcedureRequest.pid)
  
  ::greptime::v1::meta::ProcedureId* temp = _impl_.pid_;
  _impl_.pid_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::ProcedureId* QueryProcedureRequest::_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* QueryProcedureRequest::mutable_pid() {
  ::greptime::v1::meta::ProcedureId* _msg = _internal_mutable_pid();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.QueryProcedureRequest.pid)
  return _msg;
}
inline void QueryProcedureRequest::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.QueryProcedureRequest.pid)
}

// -------------------------------------------------------------------

// ProcedureStateResponse

// .greptime.v1.meta.ResponseHeader header = 1;
inline bool ProcedureStateResponse::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool ProcedureStateResponse::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::ResponseHeader& ProcedureStateResponse::_internal_header() const {
  const ::greptime::v1::meta::ResponseHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::ResponseHeader&>(
      ::greptime::v1::meta::_ResponseHeader_default_instance_);
}
inline const ::greptime::v1::meta::ResponseHeader& ProcedureStateResponse::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureStateResponse.header)
  return _internal_header();
}
inline void ProcedureStateResponse::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.ProcedureStateResponse.header)
}
inline ::greptime::v1::meta::ResponseHeader* ProcedureStateResponse::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* ProcedureStateResponse::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.ProcedureStateResponse.header)
  
  ::greptime::v1::meta::ResponseHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::ResponseHeader* ProcedureStateResponse::_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* ProcedureStateResponse::mutable_header() {
  ::greptime::v1::meta::ResponseHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureStateResponse.header)
  return _msg;
}
inline void ProcedureStateResponse::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.ProcedureStateResponse.header)
}

// .greptime.v1.meta.ProcedureStatus status = 2;
inline void ProcedureStateResponse::clear_status() {
  _impl_.status_ = 0;
}
inline ::greptime::v1::meta::ProcedureStatus ProcedureStateResponse::_internal_status() const {
  return static_cast< ::greptime::v1::meta::ProcedureStatus >(_impl_.status_);
}
inline ::greptime::v1::meta::ProcedureStatus ProcedureStateResponse::status() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureStateResponse.status)
  return _internal_status();
}
inline void ProcedureStateResponse::_internal_set_status(::greptime::v1::meta::ProcedureStatus value) {
  
  _impl_.status_ = value;
}
inline void ProcedureStateResponse::set_status(::greptime::v1::meta::ProcedureStatus value) {
  _internal_set_status(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureStateResponse.status)
}

// string error = 3;
inline void ProcedureStateResponse::clear_error() {
  _impl_.error_.ClearToEmpty();
}
inline const std::string& ProcedureStateResponse::error() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureStateResponse.error)
  return _internal_error();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ProcedureStateResponse::set_error(ArgT0&& arg0, ArgT... args) {
 
 _impl_.error_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.ProcedureStateResponse.error)
}
inline std::string* ProcedureStateResponse::mutable_error() {
  std::string* _s = _internal_mutable_error();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureStateResponse.error)
  return _s;
}
inline const std::string& ProcedureStateResponse::_internal_error() const {
  return _impl_.error_.Get();
}
inline void ProcedureStateResponse::_internal_set_error(const std::string& value) {
  
  _impl_.error_.Set(value, GetArenaForAllocation());
}
inline std::string* ProcedureStateResponse::_internal_mutable_error() {
  
  return _impl_.error_.Mutable(GetArenaForAllocation());
}
inline std::string* ProcedureStateResponse::release_error() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.ProcedureStateResponse.error)
  return _impl_.error_.Release();
}
inline void ProcedureStateResponse::set_allocated_error(std::string* error) {
  if (error != nullptr) {
    
  } else {
    
  }
  _impl_.error_.SetAllocated(error, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.error_.IsDefault()) {
    _impl_.error_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.ProcedureStateResponse.error)
}

// -------------------------------------------------------------------

// ProcedureDetailRequest

// .greptime.v1.meta.RequestHeader header = 1;
inline bool ProcedureDetailRequest::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool ProcedureDetailRequest::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::RequestHeader& ProcedureDetailRequest::_internal_header() const {
  const ::greptime::v1::meta::RequestHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::RequestHeader&>(
      ::greptime::v1::meta::_RequestHeader_default_instance_);
}
inline const ::greptime::v1::meta::RequestHeader& ProcedureDetailRequest::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureDetailRequest.header)
  return _internal_header();
}
inline void ProcedureDetailRequest::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.ProcedureDetailRequest.header)
}
inline ::greptime::v1::meta::RequestHeader* ProcedureDetailRequest::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* ProcedureDetailRequest::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.ProcedureDetailRequest.header)
  
  ::greptime::v1::meta::RequestHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::RequestHeader* ProcedureDetailRequest::_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* ProcedureDetailRequest::mutable_header() {
  ::greptime::v1::meta::RequestHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureDetailRequest.header)
  return _msg;
}
inline void ProcedureDetailRequest::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.ProcedureDetailRequest.header)
}

// -------------------------------------------------------------------

// ProcedureDetailResponse

// .greptime.v1.meta.ResponseHeader header = 1;
inline bool ProcedureDetailResponse::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool ProcedureDetailResponse::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::ResponseHeader& ProcedureDetailResponse::_internal_header() const {
  const ::greptime::v1::meta::ResponseHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::ResponseHeader&>(
      ::greptime::v1::meta::_ResponseHeader_default_instance_);
}
inline const ::greptime::v1::meta::ResponseHeader& ProcedureDetailResponse::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureDetailResponse.header)
  return _internal_header();
}
inline void ProcedureDetailResponse::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.ProcedureDetailResponse.header)
}
inline ::greptime::v1::meta::ResponseHeader* ProcedureDetailResponse::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* ProcedureDetailResponse::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.ProcedureDetailResponse.header)
  
  ::greptime::v1::meta::ResponseHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::ResponseHeader* ProcedureDetailResponse::_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* ProcedureDetailResponse::mutable_header() {
  ::greptime::v1::meta::ResponseHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureDetailResponse.header)
  return _msg;
}
inline void ProcedureDetailResponse::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.ProcedureDetailResponse.header)
}

// repeated .greptime.v1.meta.ProcedureMeta procedures = 2;
inline int ProcedureDetailResponse::_internal_procedures_size() const {
  return _impl_.procedures_.size();
}
inline int ProcedureDetailResponse::procedures_size() const {
  return _internal_procedures_size();
}
inline void ProcedureDetailResponse::clear_procedures() {
  _impl_.procedures_.Clear();
}
inline ::greptime::v1::meta::ProcedureMeta* ProcedureDetailResponse::mutable_procedures(int index) {
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.ProcedureDetailResponse.procedures)
  return _impl_.procedures_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::ProcedureMeta >*
ProcedureDetailResponse::mutable_procedures() {
  // @@protoc_insertion_point(field_mutable_list:greptime.v1.meta.ProcedureDetailResponse.procedures)
  return &_impl_.procedures_;
}
inline const ::greptime::v1::meta::ProcedureMeta& ProcedureDetailResponse::_internal_procedures(int index) const {
  return _impl_.procedures_.Get(index);
}
inline const ::greptime::v1::meta::ProcedureMeta& ProcedureDetailResponse::procedures(int index) const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.ProcedureDetailResponse.procedures)
  return _internal_procedures(index);
}
inline ::greptime::v1::meta::ProcedureMeta* ProcedureDetailResponse::_internal_add_procedures() {
  return _impl_.procedures_.Add();
}
inline ::greptime::v1::meta::ProcedureMeta* ProcedureDetailResponse::add_procedures() {
  ::greptime::v1::meta::ProcedureMeta* _add = _internal_add_procedures();
  // @@protoc_insertion_point(field_add:greptime.v1.meta.ProcedureDetailResponse.procedures)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::ProcedureMeta >&
ProcedureDetailResponse::procedures() const {
  // @@protoc_insertion_point(field_list:greptime.v1.meta.ProcedureDetailResponse.procedures)
  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 <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ReconcileTable::set_catalog_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.catalog_name_.Set(static_cast<ArgT0 &&>(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 <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ReconcileTable::set_schema_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.schema_name_.Set(static_cast<ArgT0 &&>(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 <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ReconcileTable::set_table_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.table_name_.Set(static_cast<ArgT0 &&>(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 <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ReconcileDatabase::set_catalog_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.catalog_name_.Set(static_cast<ArgT0 &&>(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 <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ReconcileDatabase::set_database_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.database_name_.Set(static_cast<ArgT0 &&>(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 <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ReconcileCatalog::set_catalog_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.catalog_name_.Set(static_cast<ArgT0 &&>(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<const ::greptime::v1::meta::RequestHeader&>(
      ::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<const ::greptime::v1::meta::ResponseHeader&>(
      ::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<const ::greptime::v1::meta::ProcedureId&>(
      ::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)
}

// -------------------------------------------------------------------

// GcRegionsRequest

// .greptime.v1.meta.RequestHeader header = 1;
inline bool GcRegionsRequest::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool GcRegionsRequest::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::RequestHeader& GcRegionsRequest::_internal_header() const {
  const ::greptime::v1::meta::RequestHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::RequestHeader&>(
      ::greptime::v1::meta::_RequestHeader_default_instance_);
}
inline const ::greptime::v1::meta::RequestHeader& GcRegionsRequest::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcRegionsRequest.header)
  return _internal_header();
}
inline void GcRegionsRequest::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.GcRegionsRequest.header)
}
inline ::greptime::v1::meta::RequestHeader* GcRegionsRequest::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* GcRegionsRequest::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcRegionsRequest.header)
  
  ::greptime::v1::meta::RequestHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::RequestHeader* GcRegionsRequest::_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* GcRegionsRequest::mutable_header() {
  ::greptime::v1::meta::RequestHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcRegionsRequest.header)
  return _msg;
}
inline void GcRegionsRequest::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.GcRegionsRequest.header)
}

// repeated uint64 region_ids = 2;
inline int GcRegionsRequest::_internal_region_ids_size() const {
  return _impl_.region_ids_.size();
}
inline int GcRegionsRequest::region_ids_size() const {
  return _internal_region_ids_size();
}
inline void GcRegionsRequest::clear_region_ids() {
  _impl_.region_ids_.Clear();
}
inline uint64_t GcRegionsRequest::_internal_region_ids(int index) const {
  return _impl_.region_ids_.Get(index);
}
inline uint64_t GcRegionsRequest::region_ids(int index) const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcRegionsRequest.region_ids)
  return _internal_region_ids(index);
}
inline void GcRegionsRequest::set_region_ids(int index, uint64_t value) {
  _impl_.region_ids_.Set(index, value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcRegionsRequest.region_ids)
}
inline void GcRegionsRequest::_internal_add_region_ids(uint64_t value) {
  _impl_.region_ids_.Add(value);
}
inline void GcRegionsRequest::add_region_ids(uint64_t value) {
  _internal_add_region_ids(value);
  // @@protoc_insertion_point(field_add:greptime.v1.meta.GcRegionsRequest.region_ids)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
GcRegionsRequest::_internal_region_ids() const {
  return _impl_.region_ids_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
GcRegionsRequest::region_ids() const {
  // @@protoc_insertion_point(field_list:greptime.v1.meta.GcRegionsRequest.region_ids)
  return _internal_region_ids();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
GcRegionsRequest::_internal_mutable_region_ids() {
  return &_impl_.region_ids_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
GcRegionsRequest::mutable_region_ids() {
  // @@protoc_insertion_point(field_mutable_list:greptime.v1.meta.GcRegionsRequest.region_ids)
  return _internal_mutable_region_ids();
}

// bool full_file_listing = 3;
inline void GcRegionsRequest::clear_full_file_listing() {
  _impl_.full_file_listing_ = false;
}
inline bool GcRegionsRequest::_internal_full_file_listing() const {
  return _impl_.full_file_listing_;
}
inline bool GcRegionsRequest::full_file_listing() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcRegionsRequest.full_file_listing)
  return _internal_full_file_listing();
}
inline void GcRegionsRequest::_internal_set_full_file_listing(bool value) {
  
  _impl_.full_file_listing_ = value;
}
inline void GcRegionsRequest::set_full_file_listing(bool value) {
  _internal_set_full_file_listing(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcRegionsRequest.full_file_listing)
}

// uint32 timeout_secs = 4;
inline void GcRegionsRequest::clear_timeout_secs() {
  _impl_.timeout_secs_ = 0u;
}
inline uint32_t GcRegionsRequest::_internal_timeout_secs() const {
  return _impl_.timeout_secs_;
}
inline uint32_t GcRegionsRequest::timeout_secs() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcRegionsRequest.timeout_secs)
  return _internal_timeout_secs();
}
inline void GcRegionsRequest::_internal_set_timeout_secs(uint32_t value) {
  
  _impl_.timeout_secs_ = value;
}
inline void GcRegionsRequest::set_timeout_secs(uint32_t value) {
  _internal_set_timeout_secs(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcRegionsRequest.timeout_secs)
}

// -------------------------------------------------------------------

// GcStats

// uint64 processed_regions = 1;
inline void GcStats::clear_processed_regions() {
  _impl_.processed_regions_ = uint64_t{0u};
}
inline uint64_t GcStats::_internal_processed_regions() const {
  return _impl_.processed_regions_;
}
inline uint64_t GcStats::processed_regions() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcStats.processed_regions)
  return _internal_processed_regions();
}
inline void GcStats::_internal_set_processed_regions(uint64_t value) {
  
  _impl_.processed_regions_ = value;
}
inline void GcStats::set_processed_regions(uint64_t value) {
  _internal_set_processed_regions(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcStats.processed_regions)
}

// repeated uint64 need_retry_regions = 2;
inline int GcStats::_internal_need_retry_regions_size() const {
  return _impl_.need_retry_regions_.size();
}
inline int GcStats::need_retry_regions_size() const {
  return _internal_need_retry_regions_size();
}
inline void GcStats::clear_need_retry_regions() {
  _impl_.need_retry_regions_.Clear();
}
inline uint64_t GcStats::_internal_need_retry_regions(int index) const {
  return _impl_.need_retry_regions_.Get(index);
}
inline uint64_t GcStats::need_retry_regions(int index) const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcStats.need_retry_regions)
  return _internal_need_retry_regions(index);
}
inline void GcStats::set_need_retry_regions(int index, uint64_t value) {
  _impl_.need_retry_regions_.Set(index, value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcStats.need_retry_regions)
}
inline void GcStats::_internal_add_need_retry_regions(uint64_t value) {
  _impl_.need_retry_regions_.Add(value);
}
inline void GcStats::add_need_retry_regions(uint64_t value) {
  _internal_add_need_retry_regions(value);
  // @@protoc_insertion_point(field_add:greptime.v1.meta.GcStats.need_retry_regions)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
GcStats::_internal_need_retry_regions() const {
  return _impl_.need_retry_regions_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
GcStats::need_retry_regions() const {
  // @@protoc_insertion_point(field_list:greptime.v1.meta.GcStats.need_retry_regions)
  return _internal_need_retry_regions();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
GcStats::_internal_mutable_need_retry_regions() {
  return &_impl_.need_retry_regions_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
GcStats::mutable_need_retry_regions() {
  // @@protoc_insertion_point(field_mutable_list:greptime.v1.meta.GcStats.need_retry_regions)
  return _internal_mutable_need_retry_regions();
}

// uint64 deleted_files = 3;
inline void GcStats::clear_deleted_files() {
  _impl_.deleted_files_ = uint64_t{0u};
}
inline uint64_t GcStats::_internal_deleted_files() const {
  return _impl_.deleted_files_;
}
inline uint64_t GcStats::deleted_files() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcStats.deleted_files)
  return _internal_deleted_files();
}
inline void GcStats::_internal_set_deleted_files(uint64_t value) {
  
  _impl_.deleted_files_ = value;
}
inline void GcStats::set_deleted_files(uint64_t value) {
  _internal_set_deleted_files(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcStats.deleted_files)
}

// uint64 deleted_indexes = 4;
inline void GcStats::clear_deleted_indexes() {
  _impl_.deleted_indexes_ = uint64_t{0u};
}
inline uint64_t GcStats::_internal_deleted_indexes() const {
  return _impl_.deleted_indexes_;
}
inline uint64_t GcStats::deleted_indexes() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcStats.deleted_indexes)
  return _internal_deleted_indexes();
}
inline void GcStats::_internal_set_deleted_indexes(uint64_t value) {
  
  _impl_.deleted_indexes_ = value;
}
inline void GcStats::set_deleted_indexes(uint64_t value) {
  _internal_set_deleted_indexes(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcStats.deleted_indexes)
}

// -------------------------------------------------------------------

// GcRegionsResponse

// .greptime.v1.meta.ResponseHeader header = 1;
inline bool GcRegionsResponse::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool GcRegionsResponse::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::ResponseHeader& GcRegionsResponse::_internal_header() const {
  const ::greptime::v1::meta::ResponseHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::ResponseHeader&>(
      ::greptime::v1::meta::_ResponseHeader_default_instance_);
}
inline const ::greptime::v1::meta::ResponseHeader& GcRegionsResponse::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcRegionsResponse.header)
  return _internal_header();
}
inline void GcRegionsResponse::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.GcRegionsResponse.header)
}
inline ::greptime::v1::meta::ResponseHeader* GcRegionsResponse::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* GcRegionsResponse::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcRegionsResponse.header)
  
  ::greptime::v1::meta::ResponseHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::ResponseHeader* GcRegionsResponse::_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* GcRegionsResponse::mutable_header() {
  ::greptime::v1::meta::ResponseHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcRegionsResponse.header)
  return _msg;
}
inline void GcRegionsResponse::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.GcRegionsResponse.header)
}

// .greptime.v1.meta.GcStats stats = 2;
inline bool GcRegionsResponse::_internal_has_stats() const {
  return this != internal_default_instance() && _impl_.stats_ != nullptr;
}
inline bool GcRegionsResponse::has_stats() const {
  return _internal_has_stats();
}
inline void GcRegionsResponse::clear_stats() {
  if (GetArenaForAllocation() == nullptr && _impl_.stats_ != nullptr) {
    delete _impl_.stats_;
  }
  _impl_.stats_ = nullptr;
}
inline const ::greptime::v1::meta::GcStats& GcRegionsResponse::_internal_stats() const {
  const ::greptime::v1::meta::GcStats* p = _impl_.stats_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::GcStats&>(
      ::greptime::v1::meta::_GcStats_default_instance_);
}
inline const ::greptime::v1::meta::GcStats& GcRegionsResponse::stats() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcRegionsResponse.stats)
  return _internal_stats();
}
inline void GcRegionsResponse::unsafe_arena_set_allocated_stats(
    ::greptime::v1::meta::GcStats* stats) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_);
  }
  _impl_.stats_ = stats;
  if (stats) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.GcRegionsResponse.stats)
}
inline ::greptime::v1::meta::GcStats* GcRegionsResponse::release_stats() {
  
  ::greptime::v1::meta::GcStats* temp = _impl_.stats_;
  _impl_.stats_ = 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::GcStats* GcRegionsResponse::unsafe_arena_release_stats() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcRegionsResponse.stats)
  
  ::greptime::v1::meta::GcStats* temp = _impl_.stats_;
  _impl_.stats_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::GcStats* GcRegionsResponse::_internal_mutable_stats() {
  
  if (_impl_.stats_ == nullptr) {
    auto* p = CreateMaybeMessage<::greptime::v1::meta::GcStats>(GetArenaForAllocation());
    _impl_.stats_ = p;
  }
  return _impl_.stats_;
}
inline ::greptime::v1::meta::GcStats* GcRegionsResponse::mutable_stats() {
  ::greptime::v1::meta::GcStats* _msg = _internal_mutable_stats();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcRegionsResponse.stats)
  return _msg;
}
inline void GcRegionsResponse::set_allocated_stats(::greptime::v1::meta::GcStats* stats) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.stats_;
  }
  if (stats) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stats);
    if (message_arena != submessage_arena) {
      stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, stats, submessage_arena);
    }
    
  } else {
    
  }
  _impl_.stats_ = stats;
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.GcRegionsResponse.stats)
}

// -------------------------------------------------------------------

// GcTableRequest

// .greptime.v1.meta.RequestHeader header = 1;
inline bool GcTableRequest::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool GcTableRequest::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::RequestHeader& GcTableRequest::_internal_header() const {
  const ::greptime::v1::meta::RequestHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::RequestHeader&>(
      ::greptime::v1::meta::_RequestHeader_default_instance_);
}
inline const ::greptime::v1::meta::RequestHeader& GcTableRequest::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableRequest.header)
  return _internal_header();
}
inline void GcTableRequest::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.GcTableRequest.header)
}
inline ::greptime::v1::meta::RequestHeader* GcTableRequest::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* GcTableRequest::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcTableRequest.header)
  
  ::greptime::v1::meta::RequestHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::RequestHeader* GcTableRequest::_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* GcTableRequest::mutable_header() {
  ::greptime::v1::meta::RequestHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcTableRequest.header)
  return _msg;
}
inline void GcTableRequest::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.GcTableRequest.header)
}

// string catalog_name = 2;
inline void GcTableRequest::clear_catalog_name() {
  _impl_.catalog_name_.ClearToEmpty();
}
inline const std::string& GcTableRequest::catalog_name() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableRequest.catalog_name)
  return _internal_catalog_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void GcTableRequest::set_catalog_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.catalog_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcTableRequest.catalog_name)
}
inline std::string* GcTableRequest::mutable_catalog_name() {
  std::string* _s = _internal_mutable_catalog_name();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcTableRequest.catalog_name)
  return _s;
}
inline const std::string& GcTableRequest::_internal_catalog_name() const {
  return _impl_.catalog_name_.Get();
}
inline void GcTableRequest::_internal_set_catalog_name(const std::string& value) {
  
  _impl_.catalog_name_.Set(value, GetArenaForAllocation());
}
inline std::string* GcTableRequest::_internal_mutable_catalog_name() {
  
  return _impl_.catalog_name_.Mutable(GetArenaForAllocation());
}
inline std::string* GcTableRequest::release_catalog_name() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcTableRequest.catalog_name)
  return _impl_.catalog_name_.Release();
}
inline void GcTableRequest::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.GcTableRequest.catalog_name)
}

// string schema_name = 3;
inline void GcTableRequest::clear_schema_name() {
  _impl_.schema_name_.ClearToEmpty();
}
inline const std::string& GcTableRequest::schema_name() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableRequest.schema_name)
  return _internal_schema_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void GcTableRequest::set_schema_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.schema_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcTableRequest.schema_name)
}
inline std::string* GcTableRequest::mutable_schema_name() {
  std::string* _s = _internal_mutable_schema_name();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcTableRequest.schema_name)
  return _s;
}
inline const std::string& GcTableRequest::_internal_schema_name() const {
  return _impl_.schema_name_.Get();
}
inline void GcTableRequest::_internal_set_schema_name(const std::string& value) {
  
  _impl_.schema_name_.Set(value, GetArenaForAllocation());
}
inline std::string* GcTableRequest::_internal_mutable_schema_name() {
  
  return _impl_.schema_name_.Mutable(GetArenaForAllocation());
}
inline std::string* GcTableRequest::release_schema_name() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcTableRequest.schema_name)
  return _impl_.schema_name_.Release();
}
inline void GcTableRequest::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.GcTableRequest.schema_name)
}

// string table_name = 4;
inline void GcTableRequest::clear_table_name() {
  _impl_.table_name_.ClearToEmpty();
}
inline const std::string& GcTableRequest::table_name() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableRequest.table_name)
  return _internal_table_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void GcTableRequest::set_table_name(ArgT0&& arg0, ArgT... args) {
 
 _impl_.table_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcTableRequest.table_name)
}
inline std::string* GcTableRequest::mutable_table_name() {
  std::string* _s = _internal_mutable_table_name();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcTableRequest.table_name)
  return _s;
}
inline const std::string& GcTableRequest::_internal_table_name() const {
  return _impl_.table_name_.Get();
}
inline void GcTableRequest::_internal_set_table_name(const std::string& value) {
  
  _impl_.table_name_.Set(value, GetArenaForAllocation());
}
inline std::string* GcTableRequest::_internal_mutable_table_name() {
  
  return _impl_.table_name_.Mutable(GetArenaForAllocation());
}
inline std::string* GcTableRequest::release_table_name() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcTableRequest.table_name)
  return _impl_.table_name_.Release();
}
inline void GcTableRequest::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.GcTableRequest.table_name)
}

// bool full_file_listing = 5;
inline void GcTableRequest::clear_full_file_listing() {
  _impl_.full_file_listing_ = false;
}
inline bool GcTableRequest::_internal_full_file_listing() const {
  return _impl_.full_file_listing_;
}
inline bool GcTableRequest::full_file_listing() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableRequest.full_file_listing)
  return _internal_full_file_listing();
}
inline void GcTableRequest::_internal_set_full_file_listing(bool value) {
  
  _impl_.full_file_listing_ = value;
}
inline void GcTableRequest::set_full_file_listing(bool value) {
  _internal_set_full_file_listing(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcTableRequest.full_file_listing)
}

// uint32 timeout_secs = 6;
inline void GcTableRequest::clear_timeout_secs() {
  _impl_.timeout_secs_ = 0u;
}
inline uint32_t GcTableRequest::_internal_timeout_secs() const {
  return _impl_.timeout_secs_;
}
inline uint32_t GcTableRequest::timeout_secs() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableRequest.timeout_secs)
  return _internal_timeout_secs();
}
inline void GcTableRequest::_internal_set_timeout_secs(uint32_t value) {
  
  _impl_.timeout_secs_ = value;
}
inline void GcTableRequest::set_timeout_secs(uint32_t value) {
  _internal_set_timeout_secs(value);
  // @@protoc_insertion_point(field_set:greptime.v1.meta.GcTableRequest.timeout_secs)
}

// -------------------------------------------------------------------

// GcTableResponse

// .greptime.v1.meta.ResponseHeader header = 1;
inline bool GcTableResponse::_internal_has_header() const {
  return this != internal_default_instance() && _impl_.header_ != nullptr;
}
inline bool GcTableResponse::has_header() const {
  return _internal_has_header();
}
inline const ::greptime::v1::meta::ResponseHeader& GcTableResponse::_internal_header() const {
  const ::greptime::v1::meta::ResponseHeader* p = _impl_.header_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::ResponseHeader&>(
      ::greptime::v1::meta::_ResponseHeader_default_instance_);
}
inline const ::greptime::v1::meta::ResponseHeader& GcTableResponse::header() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableResponse.header)
  return _internal_header();
}
inline void GcTableResponse::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.GcTableResponse.header)
}
inline ::greptime::v1::meta::ResponseHeader* GcTableResponse::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* GcTableResponse::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcTableResponse.header)
  
  ::greptime::v1::meta::ResponseHeader* temp = _impl_.header_;
  _impl_.header_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::ResponseHeader* GcTableResponse::_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* GcTableResponse::mutable_header() {
  ::greptime::v1::meta::ResponseHeader* _msg = _internal_mutable_header();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcTableResponse.header)
  return _msg;
}
inline void GcTableResponse::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.GcTableResponse.header)
}

// .greptime.v1.meta.GcStats stats = 2;
inline bool GcTableResponse::_internal_has_stats() const {
  return this != internal_default_instance() && _impl_.stats_ != nullptr;
}
inline bool GcTableResponse::has_stats() const {
  return _internal_has_stats();
}
inline void GcTableResponse::clear_stats() {
  if (GetArenaForAllocation() == nullptr && _impl_.stats_ != nullptr) {
    delete _impl_.stats_;
  }
  _impl_.stats_ = nullptr;
}
inline const ::greptime::v1::meta::GcStats& GcTableResponse::_internal_stats() const {
  const ::greptime::v1::meta::GcStats* p = _impl_.stats_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::GcStats&>(
      ::greptime::v1::meta::_GcStats_default_instance_);
}
inline const ::greptime::v1::meta::GcStats& GcTableResponse::stats() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.GcTableResponse.stats)
  return _internal_stats();
}
inline void GcTableResponse::unsafe_arena_set_allocated_stats(
    ::greptime::v1::meta::GcStats* stats) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_);
  }
  _impl_.stats_ = stats;
  if (stats) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.GcTableResponse.stats)
}
inline ::greptime::v1::meta::GcStats* GcTableResponse::release_stats() {
  
  ::greptime::v1::meta::GcStats* temp = _impl_.stats_;
  _impl_.stats_ = 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::GcStats* GcTableResponse::unsafe_arena_release_stats() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.GcTableResponse.stats)
  
  ::greptime::v1::meta::GcStats* temp = _impl_.stats_;
  _impl_.stats_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::GcStats* GcTableResponse::_internal_mutable_stats() {
  
  if (_impl_.stats_ == nullptr) {
    auto* p = CreateMaybeMessage<::greptime::v1::meta::GcStats>(GetArenaForAllocation());
    _impl_.stats_ = p;
  }
  return _impl_.stats_;
}
inline ::greptime::v1::meta::GcStats* GcTableResponse::mutable_stats() {
  ::greptime::v1::meta::GcStats* _msg = _internal_mutable_stats();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.GcTableResponse.stats)
  return _msg;
}
inline void GcTableResponse::set_allocated_stats(::greptime::v1::meta::GcStats* stats) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.stats_;
  }
  if (stats) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stats);
    if (message_arena != submessage_arena) {
      stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, stats, submessage_arena);
    }
    
  } else {
    
  }
  _impl_.stats_ = stats;
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.GcTableResponse.stats)
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace meta
}  // namespace v1
}  // namespace greptime

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::greptime::v1::meta::ProcedureStatus> : ::std::true_type {};
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

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_greptime_2fv1_2fmeta_2fprocedure_2eproto
