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

#ifndef GOOGLE_PROTOBUF_INCLUDED_greptime_2fv1_2fmeta_2fcluster_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_greptime_2fv1_2fmeta_2fcluster_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/unknown_field_set.h>
#include "greptime/v1/meta/common.pb.h"
#include "greptime/v1/meta/store.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_greptime_2fv1_2fmeta_2fcluster_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_2fcluster_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fcluster_2eproto;
namespace greptime {
namespace v1 {
namespace meta {
class MetasrvNodeInfo;
struct MetasrvNodeInfoDefaultTypeInternal;
extern MetasrvNodeInfoDefaultTypeInternal _MetasrvNodeInfo_default_instance_;
class MetasrvPeersRequest;
struct MetasrvPeersRequestDefaultTypeInternal;
extern MetasrvPeersRequestDefaultTypeInternal _MetasrvPeersRequest_default_instance_;
class MetasrvPeersResponse;
struct MetasrvPeersResponseDefaultTypeInternal;
extern MetasrvPeersResponseDefaultTypeInternal _MetasrvPeersResponse_default_instance_;
}  // namespace meta
}  // namespace v1
}  // namespace greptime
PROTOBUF_NAMESPACE_OPEN
template<> ::greptime::v1::meta::MetasrvNodeInfo* Arena::CreateMaybeMessage<::greptime::v1::meta::MetasrvNodeInfo>(Arena*);
template<> ::greptime::v1::meta::MetasrvPeersRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::MetasrvPeersRequest>(Arena*);
template<> ::greptime::v1::meta::MetasrvPeersResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::MetasrvPeersResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace greptime {
namespace v1 {
namespace meta {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.MetasrvPeersResponse";
  }
  protected:
  explicit MetasrvPeersResponse(::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 {
    kFollowersFieldNumber = 3,
    kHeaderFieldNumber = 1,
    kLeaderFieldNumber = 2,
  };
  // repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;
  int followers_size() const;
  private:
  int _internal_followers_size() const;
  public:
  void clear_followers();
  ::greptime::v1::meta::MetasrvNodeInfo* mutable_followers(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::MetasrvNodeInfo >*
      mutable_followers();
  private:
  const ::greptime::v1::meta::MetasrvNodeInfo& _internal_followers(int index) const;
  ::greptime::v1::meta::MetasrvNodeInfo* _internal_add_followers();
  public:
  const ::greptime::v1::meta::MetasrvNodeInfo& followers(int index) const;
  ::greptime::v1::meta::MetasrvNodeInfo* add_followers();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::MetasrvNodeInfo >&
      followers() 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();

  // .greptime.v1.meta.MetasrvNodeInfo leader = 2;
  bool has_leader() const;
  private:
  bool _internal_has_leader() const;
  public:
  void clear_leader();
  const ::greptime::v1::meta::MetasrvNodeInfo& leader() const;
  PROTOBUF_NODISCARD ::greptime::v1::meta::MetasrvNodeInfo* release_leader();
  ::greptime::v1::meta::MetasrvNodeInfo* mutable_leader();
  void set_allocated_leader(::greptime::v1::meta::MetasrvNodeInfo* leader);
  private:
  const ::greptime::v1::meta::MetasrvNodeInfo& _internal_leader() const;
  ::greptime::v1::meta::MetasrvNodeInfo* _internal_mutable_leader();
  public:
  void unsafe_arena_set_allocated_leader(
      ::greptime::v1::meta::MetasrvNodeInfo* leader);
  ::greptime::v1::meta::MetasrvNodeInfo* unsafe_arena_release_leader();

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.MetasrvPeersResponse)
 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::MetasrvNodeInfo > followers_;
    ::greptime::v1::meta::ResponseHeader* header_;
    ::greptime::v1::meta::MetasrvNodeInfo* leader_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fcluster_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "greptime.v1.meta.MetasrvNodeInfo";
  }
  protected:
  explicit MetasrvNodeInfo(::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 {
    kVersionFieldNumber = 2,
    kGitCommitFieldNumber = 3,
    kPeerFieldNumber = 1,
    kStartTimeMsFieldNumber = 4,
  };
  // string version = 2;
  void clear_version();
  const std::string& version() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_version(ArgT0&& arg0, ArgT... args);
  std::string* mutable_version();
  PROTOBUF_NODISCARD std::string* release_version();
  void set_allocated_version(std::string* version);
  private:
  const std::string& _internal_version() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value);
  std::string* _internal_mutable_version();
  public:

  // string git_commit = 3;
  void clear_git_commit();
  const std::string& git_commit() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_git_commit(ArgT0&& arg0, ArgT... args);
  std::string* mutable_git_commit();
  PROTOBUF_NODISCARD std::string* release_git_commit();
  void set_allocated_git_commit(std::string* git_commit);
  private:
  const std::string& _internal_git_commit() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_git_commit(const std::string& value);
  std::string* _internal_mutable_git_commit();
  public:

  // .greptime.v1.meta.Peer peer = 1;
  bool has_peer() const;
  private:
  bool _internal_has_peer() const;
  public:
  void clear_peer();
  const ::greptime::v1::meta::Peer& peer() const;
  PROTOBUF_NODISCARD ::greptime::v1::meta::Peer* release_peer();
  ::greptime::v1::meta::Peer* mutable_peer();
  void set_allocated_peer(::greptime::v1::meta::Peer* peer);
  private:
  const ::greptime::v1::meta::Peer& _internal_peer() const;
  ::greptime::v1::meta::Peer* _internal_mutable_peer();
  public:
  void unsafe_arena_set_allocated_peer(
      ::greptime::v1::meta::Peer* peer);
  ::greptime::v1::meta::Peer* unsafe_arena_release_peer();

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

  // @@protoc_insertion_point(class_scope:greptime.v1.meta.MetasrvNodeInfo)
 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 version_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr git_commit_;
    ::greptime::v1::meta::Peer* peer_;
    uint64_t start_time_ms_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_greptime_2fv1_2fmeta_2fcluster_2eproto;
};
// ===================================================================


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

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

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

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

// MetasrvPeersResponse

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

// .greptime.v1.meta.MetasrvNodeInfo leader = 2;
inline bool MetasrvPeersResponse::_internal_has_leader() const {
  return this != internal_default_instance() && _impl_.leader_ != nullptr;
}
inline bool MetasrvPeersResponse::has_leader() const {
  return _internal_has_leader();
}
inline void MetasrvPeersResponse::clear_leader() {
  if (GetArenaForAllocation() == nullptr && _impl_.leader_ != nullptr) {
    delete _impl_.leader_;
  }
  _impl_.leader_ = nullptr;
}
inline const ::greptime::v1::meta::MetasrvNodeInfo& MetasrvPeersResponse::_internal_leader() const {
  const ::greptime::v1::meta::MetasrvNodeInfo* p = _impl_.leader_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::MetasrvNodeInfo&>(
      ::greptime::v1::meta::_MetasrvNodeInfo_default_instance_);
}
inline const ::greptime::v1::meta::MetasrvNodeInfo& MetasrvPeersResponse::leader() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.MetasrvPeersResponse.leader)
  return _internal_leader();
}
inline void MetasrvPeersResponse::unsafe_arena_set_allocated_leader(
    ::greptime::v1::meta::MetasrvNodeInfo* leader) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.leader_);
  }
  _impl_.leader_ = leader;
  if (leader) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.MetasrvPeersResponse.leader)
}
inline ::greptime::v1::meta::MetasrvNodeInfo* MetasrvPeersResponse::release_leader() {
  
  ::greptime::v1::meta::MetasrvNodeInfo* temp = _impl_.leader_;
  _impl_.leader_ = 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::MetasrvNodeInfo* MetasrvPeersResponse::unsafe_arena_release_leader() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.MetasrvPeersResponse.leader)
  
  ::greptime::v1::meta::MetasrvNodeInfo* temp = _impl_.leader_;
  _impl_.leader_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::MetasrvNodeInfo* MetasrvPeersResponse::_internal_mutable_leader() {
  
  if (_impl_.leader_ == nullptr) {
    auto* p = CreateMaybeMessage<::greptime::v1::meta::MetasrvNodeInfo>(GetArenaForAllocation());
    _impl_.leader_ = p;
  }
  return _impl_.leader_;
}
inline ::greptime::v1::meta::MetasrvNodeInfo* MetasrvPeersResponse::mutable_leader() {
  ::greptime::v1::meta::MetasrvNodeInfo* _msg = _internal_mutable_leader();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.MetasrvPeersResponse.leader)
  return _msg;
}
inline void MetasrvPeersResponse::set_allocated_leader(::greptime::v1::meta::MetasrvNodeInfo* leader) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.leader_;
  }
  if (leader) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(leader);
    if (message_arena != submessage_arena) {
      leader = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, leader, submessage_arena);
    }
    
  } else {
    
  }
  _impl_.leader_ = leader;
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.MetasrvPeersResponse.leader)
}

// repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;
inline int MetasrvPeersResponse::_internal_followers_size() const {
  return _impl_.followers_.size();
}
inline int MetasrvPeersResponse::followers_size() const {
  return _internal_followers_size();
}
inline void MetasrvPeersResponse::clear_followers() {
  _impl_.followers_.Clear();
}
inline ::greptime::v1::meta::MetasrvNodeInfo* MetasrvPeersResponse::mutable_followers(int index) {
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.MetasrvPeersResponse.followers)
  return _impl_.followers_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::MetasrvNodeInfo >*
MetasrvPeersResponse::mutable_followers() {
  // @@protoc_insertion_point(field_mutable_list:greptime.v1.meta.MetasrvPeersResponse.followers)
  return &_impl_.followers_;
}
inline const ::greptime::v1::meta::MetasrvNodeInfo& MetasrvPeersResponse::_internal_followers(int index) const {
  return _impl_.followers_.Get(index);
}
inline const ::greptime::v1::meta::MetasrvNodeInfo& MetasrvPeersResponse::followers(int index) const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.MetasrvPeersResponse.followers)
  return _internal_followers(index);
}
inline ::greptime::v1::meta::MetasrvNodeInfo* MetasrvPeersResponse::_internal_add_followers() {
  return _impl_.followers_.Add();
}
inline ::greptime::v1::meta::MetasrvNodeInfo* MetasrvPeersResponse::add_followers() {
  ::greptime::v1::meta::MetasrvNodeInfo* _add = _internal_add_followers();
  // @@protoc_insertion_point(field_add:greptime.v1.meta.MetasrvPeersResponse.followers)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::MetasrvNodeInfo >&
MetasrvPeersResponse::followers() const {
  // @@protoc_insertion_point(field_list:greptime.v1.meta.MetasrvPeersResponse.followers)
  return _impl_.followers_;
}

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

// MetasrvNodeInfo

// .greptime.v1.meta.Peer peer = 1;
inline bool MetasrvNodeInfo::_internal_has_peer() const {
  return this != internal_default_instance() && _impl_.peer_ != nullptr;
}
inline bool MetasrvNodeInfo::has_peer() const {
  return _internal_has_peer();
}
inline const ::greptime::v1::meta::Peer& MetasrvNodeInfo::_internal_peer() const {
  const ::greptime::v1::meta::Peer* p = _impl_.peer_;
  return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::Peer&>(
      ::greptime::v1::meta::_Peer_default_instance_);
}
inline const ::greptime::v1::meta::Peer& MetasrvNodeInfo::peer() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.MetasrvNodeInfo.peer)
  return _internal_peer();
}
inline void MetasrvNodeInfo::unsafe_arena_set_allocated_peer(
    ::greptime::v1::meta::Peer* peer) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.peer_);
  }
  _impl_.peer_ = peer;
  if (peer) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.MetasrvNodeInfo.peer)
}
inline ::greptime::v1::meta::Peer* MetasrvNodeInfo::release_peer() {
  
  ::greptime::v1::meta::Peer* temp = _impl_.peer_;
  _impl_.peer_ = 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::Peer* MetasrvNodeInfo::unsafe_arena_release_peer() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.MetasrvNodeInfo.peer)
  
  ::greptime::v1::meta::Peer* temp = _impl_.peer_;
  _impl_.peer_ = nullptr;
  return temp;
}
inline ::greptime::v1::meta::Peer* MetasrvNodeInfo::_internal_mutable_peer() {
  
  if (_impl_.peer_ == nullptr) {
    auto* p = CreateMaybeMessage<::greptime::v1::meta::Peer>(GetArenaForAllocation());
    _impl_.peer_ = p;
  }
  return _impl_.peer_;
}
inline ::greptime::v1::meta::Peer* MetasrvNodeInfo::mutable_peer() {
  ::greptime::v1::meta::Peer* _msg = _internal_mutable_peer();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.MetasrvNodeInfo.peer)
  return _msg;
}
inline void MetasrvNodeInfo::set_allocated_peer(::greptime::v1::meta::Peer* peer) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.peer_);
  }
  if (peer) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(peer));
    if (message_arena != submessage_arena) {
      peer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, peer, submessage_arena);
    }
    
  } else {
    
  }
  _impl_.peer_ = peer;
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.MetasrvNodeInfo.peer)
}

// string version = 2;
inline void MetasrvNodeInfo::clear_version() {
  _impl_.version_.ClearToEmpty();
}
inline const std::string& MetasrvNodeInfo::version() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.MetasrvNodeInfo.version)
  return _internal_version();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void MetasrvNodeInfo::set_version(ArgT0&& arg0, ArgT... args) {
 
 _impl_.version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.MetasrvNodeInfo.version)
}
inline std::string* MetasrvNodeInfo::mutable_version() {
  std::string* _s = _internal_mutable_version();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.MetasrvNodeInfo.version)
  return _s;
}
inline const std::string& MetasrvNodeInfo::_internal_version() const {
  return _impl_.version_.Get();
}
inline void MetasrvNodeInfo::_internal_set_version(const std::string& value) {
  
  _impl_.version_.Set(value, GetArenaForAllocation());
}
inline std::string* MetasrvNodeInfo::_internal_mutable_version() {
  
  return _impl_.version_.Mutable(GetArenaForAllocation());
}
inline std::string* MetasrvNodeInfo::release_version() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.MetasrvNodeInfo.version)
  return _impl_.version_.Release();
}
inline void MetasrvNodeInfo::set_allocated_version(std::string* version) {
  if (version != nullptr) {
    
  } else {
    
  }
  _impl_.version_.SetAllocated(version, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.version_.IsDefault()) {
    _impl_.version_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.MetasrvNodeInfo.version)
}

// string git_commit = 3;
inline void MetasrvNodeInfo::clear_git_commit() {
  _impl_.git_commit_.ClearToEmpty();
}
inline const std::string& MetasrvNodeInfo::git_commit() const {
  // @@protoc_insertion_point(field_get:greptime.v1.meta.MetasrvNodeInfo.git_commit)
  return _internal_git_commit();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void MetasrvNodeInfo::set_git_commit(ArgT0&& arg0, ArgT... args) {
 
 _impl_.git_commit_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:greptime.v1.meta.MetasrvNodeInfo.git_commit)
}
inline std::string* MetasrvNodeInfo::mutable_git_commit() {
  std::string* _s = _internal_mutable_git_commit();
  // @@protoc_insertion_point(field_mutable:greptime.v1.meta.MetasrvNodeInfo.git_commit)
  return _s;
}
inline const std::string& MetasrvNodeInfo::_internal_git_commit() const {
  return _impl_.git_commit_.Get();
}
inline void MetasrvNodeInfo::_internal_set_git_commit(const std::string& value) {
  
  _impl_.git_commit_.Set(value, GetArenaForAllocation());
}
inline std::string* MetasrvNodeInfo::_internal_mutable_git_commit() {
  
  return _impl_.git_commit_.Mutable(GetArenaForAllocation());
}
inline std::string* MetasrvNodeInfo::release_git_commit() {
  // @@protoc_insertion_point(field_release:greptime.v1.meta.MetasrvNodeInfo.git_commit)
  return _impl_.git_commit_.Release();
}
inline void MetasrvNodeInfo::set_allocated_git_commit(std::string* git_commit) {
  if (git_commit != nullptr) {
    
  } else {
    
  }
  _impl_.git_commit_.SetAllocated(git_commit, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.git_commit_.IsDefault()) {
    _impl_.git_commit_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.MetasrvNodeInfo.git_commit)
}

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

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

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


// @@protoc_insertion_point(namespace_scope)

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

// @@protoc_insertion_point(global_scope)

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