// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: keyapis/exchange/v1/keyapis_exchange_system_v1.proto

#include "keyapis/exchange/v1/keyapis_exchange_system_v1.pb.h"

#include <algorithm>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
namespace keyapis {
namespace exchange {
namespace v1 {
template <typename>
PROTOBUF_CONSTEXPR GetSystemStatusRequest::GetSystemStatusRequest(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._cached_size_)*/{}} {}
struct GetSystemStatusRequestDefaultTypeInternal {
  PROTOBUF_CONSTEXPR GetSystemStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~GetSystemStatusRequestDefaultTypeInternal() {}
  union {
    GetSystemStatusRequest _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetSystemStatusRequestDefaultTypeInternal _GetSystemStatusRequest_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR GetSystemStatusResponse::GetSystemStatusResponse(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._cached_size_)*/{}} {}
struct GetSystemStatusResponseDefaultTypeInternal {
  PROTOBUF_CONSTEXPR GetSystemStatusResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~GetSystemStatusResponseDefaultTypeInternal() {}
  union {
    GetSystemStatusResponse _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetSystemStatusResponseDefaultTypeInternal _GetSystemStatusResponse_default_instance_;
}  // namespace v1
}  // namespace exchange
}  // namespace keyapis
namespace keyapis {
namespace exchange {
namespace v1 {
// ===================================================================

class GetSystemStatusRequest::_Internal {
 public:
};

GetSystemStatusRequest::GetSystemStatusRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.exchange.v1.GetSystemStatusRequest)
}
GetSystemStatusRequest::GetSystemStatusRequest(const GetSystemStatusRequest& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<std::string>(
      from._internal_metadata_);
  // @@protoc_insertion_point(copy_constructor:keyapis.exchange.v1.GetSystemStatusRequest)
}

inline void GetSystemStatusRequest::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      /*decltype(_impl_._cached_size_)*/{}
  };
}

GetSystemStatusRequest::~GetSystemStatusRequest() {
  // @@protoc_insertion_point(destructor:keyapis.exchange.v1.GetSystemStatusRequest)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void GetSystemStatusRequest::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}

void GetSystemStatusRequest::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void GetSystemStatusRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:keyapis.exchange.v1.GetSystemStatusRequest)
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _internal_metadata_.Clear<std::string>();
}

const char* GetSystemStatusRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::uint8_t* GetSystemStatusRequest::_InternalSerialize(
    ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:keyapis.exchange.v1.GetSystemStatusRequest)
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
        static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:keyapis.exchange.v1.GetSystemStatusRequest)
  return target;
}

::size_t GetSystemStatusRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:keyapis.exchange.v1.GetSystemStatusRequest)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  }
  int cached_size = ::_pbi::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void GetSystemStatusRequest::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const GetSystemStatusRequest*>(
      &from));
}

void GetSystemStatusRequest::MergeFrom(const GetSystemStatusRequest& from) {
  GetSystemStatusRequest* const _this = this;
  // @@protoc_insertion_point(class_specific_merge_from_start:keyapis.exchange.v1.GetSystemStatusRequest)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

void GetSystemStatusRequest::CopyFrom(const GetSystemStatusRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:keyapis.exchange.v1.GetSystemStatusRequest)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool GetSystemStatusRequest::IsInitialized() const {
  return true;
}

void GetSystemStatusRequest::InternalSwap(GetSystemStatusRequest* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
}

std::string GetSystemStatusRequest::GetTypeName() const {
  return "keyapis.exchange.v1.GetSystemStatusRequest";
}

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

class GetSystemStatusResponse::_Internal {
 public:
};

GetSystemStatusResponse::GetSystemStatusResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.exchange.v1.GetSystemStatusResponse)
}
GetSystemStatusResponse::GetSystemStatusResponse(const GetSystemStatusResponse& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<std::string>(
      from._internal_metadata_);
  // @@protoc_insertion_point(copy_constructor:keyapis.exchange.v1.GetSystemStatusResponse)
}

inline void GetSystemStatusResponse::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      /*decltype(_impl_._cached_size_)*/{}
  };
}

GetSystemStatusResponse::~GetSystemStatusResponse() {
  // @@protoc_insertion_point(destructor:keyapis.exchange.v1.GetSystemStatusResponse)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void GetSystemStatusResponse::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}

void GetSystemStatusResponse::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void GetSystemStatusResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:keyapis.exchange.v1.GetSystemStatusResponse)
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _internal_metadata_.Clear<std::string>();
}

const char* GetSystemStatusResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::uint8_t* GetSystemStatusResponse::_InternalSerialize(
    ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:keyapis.exchange.v1.GetSystemStatusResponse)
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
        static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:keyapis.exchange.v1.GetSystemStatusResponse)
  return target;
}

::size_t GetSystemStatusResponse::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:keyapis.exchange.v1.GetSystemStatusResponse)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  }
  int cached_size = ::_pbi::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void GetSystemStatusResponse::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const GetSystemStatusResponse*>(
      &from));
}

void GetSystemStatusResponse::MergeFrom(const GetSystemStatusResponse& from) {
  GetSystemStatusResponse* const _this = this;
  // @@protoc_insertion_point(class_specific_merge_from_start:keyapis.exchange.v1.GetSystemStatusResponse)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

void GetSystemStatusResponse::CopyFrom(const GetSystemStatusResponse& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:keyapis.exchange.v1.GetSystemStatusResponse)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool GetSystemStatusResponse::IsInitialized() const {
  return true;
}

void GetSystemStatusResponse::InternalSwap(GetSystemStatusResponse* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
}

std::string GetSystemStatusResponse::GetTypeName() const {
  return "keyapis.exchange.v1.GetSystemStatusResponse";
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace v1
}  // namespace exchange
}  // namespace keyapis
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::keyapis::exchange::v1::GetSystemStatusRequest*
Arena::CreateMaybeMessage< ::keyapis::exchange::v1::GetSystemStatusRequest >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::exchange::v1::GetSystemStatusRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::exchange::v1::GetSystemStatusResponse*
Arena::CreateMaybeMessage< ::keyapis::exchange::v1::GetSystemStatusResponse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::exchange::v1::GetSystemStatusResponse >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
