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

#include "keyapis/telemetry_control/v1/keyapis_telemetry_control_building_gis_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 telemetry_control {
namespace v1 {
template <typename>
PROTOBUF_CONSTEXPR PutBuildingGisAttributesRequest::PutBuildingGisAttributesRequest(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._has_bits_)*/{}
  , /*decltype(_impl_._cached_size_)*/{}
  , /*decltype(_impl_.data_)*/nullptr} {}
struct PutBuildingGisAttributesRequestDefaultTypeInternal {
  PROTOBUF_CONSTEXPR PutBuildingGisAttributesRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~PutBuildingGisAttributesRequestDefaultTypeInternal() {}
  union {
    PutBuildingGisAttributesRequest _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PutBuildingGisAttributesRequestDefaultTypeInternal _PutBuildingGisAttributesRequest_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR PutBuildingGisAttributesResponse::PutBuildingGisAttributesResponse(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_.type_)*/{}
  , /*decltype(_impl_._cached_size_)*/{}
  , /*decltype(_impl_._oneof_case_)*/{}} {}
struct PutBuildingGisAttributesResponseDefaultTypeInternal {
  PROTOBUF_CONSTEXPR PutBuildingGisAttributesResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~PutBuildingGisAttributesResponseDefaultTypeInternal() {}
  union {
    PutBuildingGisAttributesResponse _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PutBuildingGisAttributesResponseDefaultTypeInternal _PutBuildingGisAttributesResponse_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR GetBuildingGisAttributesRequest::GetBuildingGisAttributesRequest(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_.id_)*/ 0

  , /*decltype(_impl_._cached_size_)*/{}} {}
struct GetBuildingGisAttributesRequestDefaultTypeInternal {
  PROTOBUF_CONSTEXPR GetBuildingGisAttributesRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~GetBuildingGisAttributesRequestDefaultTypeInternal() {}
  union {
    GetBuildingGisAttributesRequest _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetBuildingGisAttributesRequestDefaultTypeInternal _GetBuildingGisAttributesRequest_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR GetBuildingGisAttributesResponse::GetBuildingGisAttributesResponse(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_.type_)*/{}
  , /*decltype(_impl_._cached_size_)*/{}
  , /*decltype(_impl_._oneof_case_)*/{}} {}
struct GetBuildingGisAttributesResponseDefaultTypeInternal {
  PROTOBUF_CONSTEXPR GetBuildingGisAttributesResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~GetBuildingGisAttributesResponseDefaultTypeInternal() {}
  union {
    GetBuildingGisAttributesResponse _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetBuildingGisAttributesResponseDefaultTypeInternal _GetBuildingGisAttributesResponse_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR BuildingGisAttributes_Attributes::BuildingGisAttributes_Attributes(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_.is_enabled_)*/ false

  , /*decltype(_impl_.start_day_)*/ 0

  , /*decltype(_impl_._cached_size_)*/{}} {}
struct BuildingGisAttributes_AttributesDefaultTypeInternal {
  PROTOBUF_CONSTEXPR BuildingGisAttributes_AttributesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~BuildingGisAttributes_AttributesDefaultTypeInternal() {}
  union {
    BuildingGisAttributes_Attributes _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuildingGisAttributes_AttributesDefaultTypeInternal _BuildingGisAttributes_Attributes_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR BuildingGisAttributes::BuildingGisAttributes(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._has_bits_)*/{}
  , /*decltype(_impl_._cached_size_)*/{}
  , /*decltype(_impl_.hot_water_)*/nullptr
  , /*decltype(_impl_.cold_water_)*/nullptr
  , /*decltype(_impl_.heat_)*/nullptr
  , /*decltype(_impl_.gas_)*/nullptr
  , /*decltype(_impl_.electricity_)*/nullptr
  , /*decltype(_impl_.id_)*/ 0
} {}
struct BuildingGisAttributesDefaultTypeInternal {
  PROTOBUF_CONSTEXPR BuildingGisAttributesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  ~BuildingGisAttributesDefaultTypeInternal() {}
  union {
    BuildingGisAttributes _instance;
  };
};

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuildingGisAttributesDefaultTypeInternal _BuildingGisAttributes_default_instance_;
}  // namespace v1
}  // namespace telemetry_control
}  // namespace keyapis
namespace keyapis {
namespace telemetry_control {
namespace v1 {
// ===================================================================

class PutBuildingGisAttributesRequest::_Internal {
 public:
  using HasBits = decltype(std::declval<PutBuildingGisAttributesRequest>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
    8 * PROTOBUF_FIELD_OFFSET(PutBuildingGisAttributesRequest, _impl_._has_bits_);
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes& data(const PutBuildingGisAttributesRequest* msg);
  static void set_has_data(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
};

const ::keyapis::telemetry_control::v1::BuildingGisAttributes&
PutBuildingGisAttributesRequest::_Internal::data(const PutBuildingGisAttributesRequest* msg) {
  return *msg->_impl_.data_;
}
PutBuildingGisAttributesRequest::PutBuildingGisAttributesRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.telemetry_control.v1.PutBuildingGisAttributesRequest)
}
PutBuildingGisAttributesRequest::PutBuildingGisAttributesRequest(const PutBuildingGisAttributesRequest& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  PutBuildingGisAttributesRequest* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.data_){nullptr}};

  _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
    _this->_impl_.data_ = new ::keyapis::telemetry_control::v1::BuildingGisAttributes(*from._impl_.data_);
  }
  // @@protoc_insertion_point(copy_constructor:keyapis.telemetry_control.v1.PutBuildingGisAttributesRequest)
}

inline void PutBuildingGisAttributesRequest::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.data_){nullptr}
  };
}

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

inline void PutBuildingGisAttributesRequest::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  if (this != internal_default_instance()) delete _impl_.data_;
}

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

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

  cached_has_bits = _impl_._has_bits_[0];
  if (cached_has_bits & 0x00000001u) {
    ABSL_DCHECK(_impl_.data_ != nullptr);
    _impl_.data_->Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<std::string>();
}

const char* PutBuildingGisAttributesRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1 [(.google.api.field_behavior) = REQUIRED];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_data(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  _impl_._has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  cached_has_bits = _impl_._has_bits_[0];
  // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1 [(.google.api.field_behavior) = REQUIRED];
  if (cached_has_bits & 0x00000001u) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(1, _Internal::data(this),
        _Internal::data(this).GetCachedSize(), target, stream);
  }

  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.telemetry_control.v1.PutBuildingGisAttributesRequest)
  return target;
}

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

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

  // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1 [(.google.api.field_behavior) = REQUIRED];
  cached_has_bits = _impl_._has_bits_[0];
  if (cached_has_bits & 0x00000001u) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *_impl_.data_);
  }

  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 PutBuildingGisAttributesRequest::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const PutBuildingGisAttributesRequest*>(
      &from));
}

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

  if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
    _this->_internal_mutable_data()->::keyapis::telemetry_control::v1::BuildingGisAttributes::MergeFrom(
        from._internal_data());
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

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

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

void PutBuildingGisAttributesRequest::InternalSwap(PutBuildingGisAttributesRequest* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  swap(_impl_.data_, other->_impl_.data_);
}

std::string PutBuildingGisAttributesRequest::GetTypeName() const {
  return "keyapis.telemetry_control.v1.PutBuildingGisAttributesRequest";
}

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

class PutBuildingGisAttributesResponse::_Internal {
 public:
  static constexpr ::int32_t kOneofCaseOffset =
    PROTOBUF_FIELD_OFFSET(::keyapis::telemetry_control::v1::PutBuildingGisAttributesResponse, _impl_._oneof_case_);
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes& data(const PutBuildingGisAttributesResponse* msg);
};

const ::keyapis::telemetry_control::v1::BuildingGisAttributes&
PutBuildingGisAttributesResponse::_Internal::data(const PutBuildingGisAttributesResponse* msg) {
  return *msg->_impl_.type_.data_;
}
void PutBuildingGisAttributesResponse::set_allocated_data(::keyapis::telemetry_control::v1::BuildingGisAttributes* data) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  clear_type();
  if (data) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data);
    if (message_arena != submessage_arena) {
      data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, data, submessage_arena);
    }
    set_has_data();
    _impl_.type_.data_ = data;
  }
  // @@protoc_insertion_point(field_set_allocated:keyapis.telemetry_control.v1.PutBuildingGisAttributesResponse.data)
}
PutBuildingGisAttributesResponse::PutBuildingGisAttributesResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.telemetry_control.v1.PutBuildingGisAttributesResponse)
}
PutBuildingGisAttributesResponse::PutBuildingGisAttributesResponse(const PutBuildingGisAttributesResponse& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  PutBuildingGisAttributesResponse* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_.type_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , /*decltype(_impl_._oneof_case_)*/{}};

  _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  clear_has_type();
  switch (from.type_case()) {
    case kData: {
      _this->_internal_mutable_data()->::keyapis::telemetry_control::v1::BuildingGisAttributes::MergeFrom(
          from._internal_data());
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  // @@protoc_insertion_point(copy_constructor:keyapis.telemetry_control.v1.PutBuildingGisAttributesResponse)
}

inline void PutBuildingGisAttributesResponse::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_.type_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , /*decltype(_impl_._oneof_case_)*/{}
  };
  clear_has_type();
}

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

inline void PutBuildingGisAttributesResponse::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  if (has_type()) {
    clear_type();
  }
}

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

void PutBuildingGisAttributesResponse::clear_type() {
// @@protoc_insertion_point(one_of_clear_start:keyapis.telemetry_control.v1.PutBuildingGisAttributesResponse)
  switch (type_case()) {
    case kData: {
      if (GetArenaForAllocation() == nullptr) {
        delete _impl_.type_.data_;
      }
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
}


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

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

const char* PutBuildingGisAttributesResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_data(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1;
  if (type_case() == kData) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(1, _Internal::data(this),
        _Internal::data(this).GetCachedSize(), target, stream);
  }

  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.telemetry_control.v1.PutBuildingGisAttributesResponse)
  return target;
}

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

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

  switch (type_case()) {
    // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1;
    case kData: {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
          *_impl_.type_.data_);
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  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 PutBuildingGisAttributesResponse::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const PutBuildingGisAttributesResponse*>(
      &from));
}

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

  switch (from.type_case()) {
    case kData: {
      _this->_internal_mutable_data()->::keyapis::telemetry_control::v1::BuildingGisAttributes::MergeFrom(
          from._internal_data());
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

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

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

void PutBuildingGisAttributesResponse::InternalSwap(PutBuildingGisAttributesResponse* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_.type_, other->_impl_.type_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

std::string PutBuildingGisAttributesResponse::GetTypeName() const {
  return "keyapis.telemetry_control.v1.PutBuildingGisAttributesResponse";
}

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

class GetBuildingGisAttributesRequest::_Internal {
 public:
};

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

inline void GetBuildingGisAttributesRequest::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_.id_) { 0 }

    , /*decltype(_impl_._cached_size_)*/{}
  };
}

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

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

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

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

  _impl_.id_ = 0;
  _internal_metadata_.Clear<std::string>();
}

const char* GetBuildingGisAttributesRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // int32 id = 1 [(.google.api.field_behavior) = REQUIRED];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
          _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // int32 id = 1 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_id() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        1, this->_internal_id(), target);
  }

  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.telemetry_control.v1.GetBuildingGisAttributesRequest)
  return target;
}

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

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

  // int32 id = 1 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_id() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
        this->_internal_id());
  }

  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 GetBuildingGisAttributesRequest::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const GetBuildingGisAttributesRequest*>(
      &from));
}

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

  if (from._internal_id() != 0) {
    _this->_internal_set_id(from._internal_id());
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

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

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

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

  swap(_impl_.id_, other->_impl_.id_);
}

std::string GetBuildingGisAttributesRequest::GetTypeName() const {
  return "keyapis.telemetry_control.v1.GetBuildingGisAttributesRequest";
}

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

class GetBuildingGisAttributesResponse::_Internal {
 public:
  static constexpr ::int32_t kOneofCaseOffset =
    PROTOBUF_FIELD_OFFSET(::keyapis::telemetry_control::v1::GetBuildingGisAttributesResponse, _impl_._oneof_case_);
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes& data(const GetBuildingGisAttributesResponse* msg);
};

const ::keyapis::telemetry_control::v1::BuildingGisAttributes&
GetBuildingGisAttributesResponse::_Internal::data(const GetBuildingGisAttributesResponse* msg) {
  return *msg->_impl_.type_.data_;
}
void GetBuildingGisAttributesResponse::set_allocated_data(::keyapis::telemetry_control::v1::BuildingGisAttributes* data) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  clear_type();
  if (data) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data);
    if (message_arena != submessage_arena) {
      data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, data, submessage_arena);
    }
    set_has_data();
    _impl_.type_.data_ = data;
  }
  // @@protoc_insertion_point(field_set_allocated:keyapis.telemetry_control.v1.GetBuildingGisAttributesResponse.data)
}
GetBuildingGisAttributesResponse::GetBuildingGisAttributesResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.telemetry_control.v1.GetBuildingGisAttributesResponse)
}
GetBuildingGisAttributesResponse::GetBuildingGisAttributesResponse(const GetBuildingGisAttributesResponse& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  GetBuildingGisAttributesResponse* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_.type_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , /*decltype(_impl_._oneof_case_)*/{}};

  _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  clear_has_type();
  switch (from.type_case()) {
    case kData: {
      _this->_internal_mutable_data()->::keyapis::telemetry_control::v1::BuildingGisAttributes::MergeFrom(
          from._internal_data());
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  // @@protoc_insertion_point(copy_constructor:keyapis.telemetry_control.v1.GetBuildingGisAttributesResponse)
}

inline void GetBuildingGisAttributesResponse::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_.type_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , /*decltype(_impl_._oneof_case_)*/{}
  };
  clear_has_type();
}

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

inline void GetBuildingGisAttributesResponse::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  if (has_type()) {
    clear_type();
  }
}

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

void GetBuildingGisAttributesResponse::clear_type() {
// @@protoc_insertion_point(one_of_clear_start:keyapis.telemetry_control.v1.GetBuildingGisAttributesResponse)
  switch (type_case()) {
    case kData: {
      if (GetArenaForAllocation() == nullptr) {
        delete _impl_.type_.data_;
      }
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
}


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

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

const char* GetBuildingGisAttributesResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_data(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1;
  if (type_case() == kData) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(1, _Internal::data(this),
        _Internal::data(this).GetCachedSize(), target, stream);
  }

  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.telemetry_control.v1.GetBuildingGisAttributesResponse)
  return target;
}

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

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

  switch (type_case()) {
    // .keyapis.telemetry_control.v1.BuildingGisAttributes data = 1;
    case kData: {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
          *_impl_.type_.data_);
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  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 GetBuildingGisAttributesResponse::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const GetBuildingGisAttributesResponse*>(
      &from));
}

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

  switch (from.type_case()) {
    case kData: {
      _this->_internal_mutable_data()->::keyapis::telemetry_control::v1::BuildingGisAttributes::MergeFrom(
          from._internal_data());
      break;
    }
    case TYPE_NOT_SET: {
      break;
    }
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

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

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

void GetBuildingGisAttributesResponse::InternalSwap(GetBuildingGisAttributesResponse* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_.type_, other->_impl_.type_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

std::string GetBuildingGisAttributesResponse::GetTypeName() const {
  return "keyapis.telemetry_control.v1.GetBuildingGisAttributesResponse";
}

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

class BuildingGisAttributes_Attributes::_Internal {
 public:
};

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

inline void BuildingGisAttributes_Attributes::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_.is_enabled_) { false }

    , decltype(_impl_.start_day_) { 0 }

    , /*decltype(_impl_._cached_size_)*/{}
  };
}

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

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

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

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

  ::memset(&_impl_.is_enabled_, 0, static_cast<::size_t>(
      reinterpret_cast<char*>(&_impl_.start_day_) -
      reinterpret_cast<char*>(&_impl_.is_enabled_)) + sizeof(_impl_.start_day_));
  _internal_metadata_.Clear<std::string>();
}

const char* BuildingGisAttributes_Attributes::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // bool is_enabled = 1 [(.google.api.field_behavior) = REQUIRED];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
          _impl_.is_enabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      // int32 start_day = 2 [(.google.api.field_behavior) = REQUIRED];
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
          _impl_.start_day_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // bool is_enabled = 1 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_is_enabled() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        1, this->_internal_is_enabled(), target);
  }

  // int32 start_day = 2 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_start_day() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        2, this->_internal_start_day(), target);
  }

  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.telemetry_control.v1.BuildingGisAttributes.Attributes)
  return target;
}

::size_t BuildingGisAttributes_Attributes::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes)
  ::size_t total_size = 0;

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

  // bool is_enabled = 1 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_is_enabled() != 0) {
    total_size += 2;
  }

  // int32 start_day = 2 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_start_day() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
        this->_internal_start_day());
  }

  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 BuildingGisAttributes_Attributes::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const BuildingGisAttributes_Attributes*>(
      &from));
}

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

  if (from._internal_is_enabled() != 0) {
    _this->_internal_set_is_enabled(from._internal_is_enabled());
  }
  if (from._internal_start_day() != 0) {
    _this->_internal_set_start_day(from._internal_start_day());
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

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

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

void BuildingGisAttributes_Attributes::InternalSwap(BuildingGisAttributes_Attributes* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BuildingGisAttributes_Attributes, _impl_.start_day_)
      + sizeof(BuildingGisAttributes_Attributes::_impl_.start_day_)
      - PROTOBUF_FIELD_OFFSET(BuildingGisAttributes_Attributes, _impl_.is_enabled_)>(
          reinterpret_cast<char*>(&_impl_.is_enabled_),
          reinterpret_cast<char*>(&other->_impl_.is_enabled_));
}

std::string BuildingGisAttributes_Attributes::GetTypeName() const {
  return "keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes";
}

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

class BuildingGisAttributes::_Internal {
 public:
  using HasBits = decltype(std::declval<BuildingGisAttributes>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
    8 * PROTOBUF_FIELD_OFFSET(BuildingGisAttributes, _impl_._has_bits_);
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes& hot_water(const BuildingGisAttributes* msg);
  static void set_has_hot_water(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes& cold_water(const BuildingGisAttributes* msg);
  static void set_has_cold_water(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes& heat(const BuildingGisAttributes* msg);
  static void set_has_heat(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes& gas(const BuildingGisAttributes* msg);
  static void set_has_gas(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
  static const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes& electricity(const BuildingGisAttributes* msg);
  static void set_has_electricity(HasBits* has_bits) {
    (*has_bits)[0] |= 16u;
  }
};

const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes&
BuildingGisAttributes::_Internal::hot_water(const BuildingGisAttributes* msg) {
  return *msg->_impl_.hot_water_;
}
const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes&
BuildingGisAttributes::_Internal::cold_water(const BuildingGisAttributes* msg) {
  return *msg->_impl_.cold_water_;
}
const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes&
BuildingGisAttributes::_Internal::heat(const BuildingGisAttributes* msg) {
  return *msg->_impl_.heat_;
}
const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes&
BuildingGisAttributes::_Internal::gas(const BuildingGisAttributes* msg) {
  return *msg->_impl_.gas_;
}
const ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes&
BuildingGisAttributes::_Internal::electricity(const BuildingGisAttributes* msg) {
  return *msg->_impl_.electricity_;
}
BuildingGisAttributes::BuildingGisAttributes(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:keyapis.telemetry_control.v1.BuildingGisAttributes)
}
BuildingGisAttributes::BuildingGisAttributes(const BuildingGisAttributes& from)
  : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  BuildingGisAttributes* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.hot_water_){nullptr}
    , decltype(_impl_.cold_water_){nullptr}
    , decltype(_impl_.heat_){nullptr}
    , decltype(_impl_.gas_){nullptr}
    , decltype(_impl_.electricity_){nullptr}
    , decltype(_impl_.id_) {}
  };

  _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
    _this->_impl_.hot_water_ = new ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes(*from._impl_.hot_water_);
  }
  if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
    _this->_impl_.cold_water_ = new ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes(*from._impl_.cold_water_);
  }
  if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
    _this->_impl_.heat_ = new ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes(*from._impl_.heat_);
  }
  if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
    _this->_impl_.gas_ = new ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes(*from._impl_.gas_);
  }
  if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) {
    _this->_impl_.electricity_ = new ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes(*from._impl_.electricity_);
  }
  _this->_impl_.id_ = from._impl_.id_;
  // @@protoc_insertion_point(copy_constructor:keyapis.telemetry_control.v1.BuildingGisAttributes)
}

inline void BuildingGisAttributes::SharedCtor(::_pb::Arena* arena) {
  (void)arena;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.hot_water_){nullptr}
    , decltype(_impl_.cold_water_){nullptr}
    , decltype(_impl_.heat_){nullptr}
    , decltype(_impl_.gas_){nullptr}
    , decltype(_impl_.electricity_){nullptr}
    , decltype(_impl_.id_) { 0 }

  };
}

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

inline void BuildingGisAttributes::SharedDtor() {
  ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  if (this != internal_default_instance()) delete _impl_.hot_water_;
  if (this != internal_default_instance()) delete _impl_.cold_water_;
  if (this != internal_default_instance()) delete _impl_.heat_;
  if (this != internal_default_instance()) delete _impl_.gas_;
  if (this != internal_default_instance()) delete _impl_.electricity_;
}

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

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

  cached_has_bits = _impl_._has_bits_[0];
  if (cached_has_bits & 0x0000001fu) {
    if (cached_has_bits & 0x00000001u) {
      ABSL_DCHECK(_impl_.hot_water_ != nullptr);
      _impl_.hot_water_->Clear();
    }
    if (cached_has_bits & 0x00000002u) {
      ABSL_DCHECK(_impl_.cold_water_ != nullptr);
      _impl_.cold_water_->Clear();
    }
    if (cached_has_bits & 0x00000004u) {
      ABSL_DCHECK(_impl_.heat_ != nullptr);
      _impl_.heat_->Clear();
    }
    if (cached_has_bits & 0x00000008u) {
      ABSL_DCHECK(_impl_.gas_ != nullptr);
      _impl_.gas_->Clear();
    }
    if (cached_has_bits & 0x00000010u) {
      ABSL_DCHECK(_impl_.electricity_ != nullptr);
      _impl_.electricity_->Clear();
    }
  }
  _impl_.id_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<std::string>();
}

const char* BuildingGisAttributes::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  while (!ctx->Done(&ptr)) {
    ::uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // int32 id = 1 [(.google.api.field_behavior) = REQUIRED];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
          _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes hot_water = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
          ptr = ctx->ParseMessage(_internal_mutable_hot_water(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes cold_water = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
          ptr = ctx->ParseMessage(_internal_mutable_cold_water(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes heat = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
          ptr = ctx->ParseMessage(_internal_mutable_heat(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes gas = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
          ptr = ctx->ParseMessage(_internal_mutable_gas(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes electricity = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
          ptr = ctx->ParseMessage(_internal_mutable_electricity(), ptr);
          CHK_(ptr);
        } else {
          goto handle_unusual;
        }
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<std::string>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  _impl_._has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // int32 id = 1 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_id() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        1, this->_internal_id(), target);
  }

  cached_has_bits = _impl_._has_bits_[0];
  // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes hot_water = 2;
  if (cached_has_bits & 0x00000001u) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(2, _Internal::hot_water(this),
        _Internal::hot_water(this).GetCachedSize(), target, stream);
  }

  // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes cold_water = 3;
  if (cached_has_bits & 0x00000002u) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(3, _Internal::cold_water(this),
        _Internal::cold_water(this).GetCachedSize(), target, stream);
  }

  // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes heat = 4;
  if (cached_has_bits & 0x00000004u) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(4, _Internal::heat(this),
        _Internal::heat(this).GetCachedSize(), target, stream);
  }

  // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes gas = 5;
  if (cached_has_bits & 0x00000008u) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(5, _Internal::gas(this),
        _Internal::gas(this).GetCachedSize(), target, stream);
  }

  // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes electricity = 6;
  if (cached_has_bits & 0x00000010u) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(6, _Internal::electricity(this),
        _Internal::electricity(this).GetCachedSize(), target, stream);
  }

  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.telemetry_control.v1.BuildingGisAttributes)
  return target;
}

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

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

  cached_has_bits = _impl_._has_bits_[0];
  if (cached_has_bits & 0x0000001fu) {
    // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes hot_water = 2;
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
          *_impl_.hot_water_);
    }

    // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes cold_water = 3;
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
          *_impl_.cold_water_);
    }

    // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes heat = 4;
    if (cached_has_bits & 0x00000004u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
          *_impl_.heat_);
    }

    // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes gas = 5;
    if (cached_has_bits & 0x00000008u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
          *_impl_.gas_);
    }

    // .keyapis.telemetry_control.v1.BuildingGisAttributes.Attributes electricity = 6;
    if (cached_has_bits & 0x00000010u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
          *_impl_.electricity_);
    }

  }
  // int32 id = 1 [(.google.api.field_behavior) = REQUIRED];
  if (this->_internal_id() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
        this->_internal_id());
  }

  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 BuildingGisAttributes::CheckTypeAndMergeFrom(
    const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  MergeFrom(*::_pbi::DownCast<const BuildingGisAttributes*>(
      &from));
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (cached_has_bits & 0x0000001fu) {
    if (cached_has_bits & 0x00000001u) {
      _this->_internal_mutable_hot_water()->::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes::MergeFrom(
          from._internal_hot_water());
    }
    if (cached_has_bits & 0x00000002u) {
      _this->_internal_mutable_cold_water()->::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes::MergeFrom(
          from._internal_cold_water());
    }
    if (cached_has_bits & 0x00000004u) {
      _this->_internal_mutable_heat()->::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes::MergeFrom(
          from._internal_heat());
    }
    if (cached_has_bits & 0x00000008u) {
      _this->_internal_mutable_gas()->::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes::MergeFrom(
          from._internal_gas());
    }
    if (cached_has_bits & 0x00000010u) {
      _this->_internal_mutable_electricity()->::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes::MergeFrom(
          from._internal_electricity());
    }
  }
  if (from._internal_id() != 0) {
    _this->_internal_set_id(from._internal_id());
  }
  _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}

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

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

void BuildingGisAttributes::InternalSwap(BuildingGisAttributes* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BuildingGisAttributes, _impl_.id_)
      + sizeof(BuildingGisAttributes::_impl_.id_)
      - PROTOBUF_FIELD_OFFSET(BuildingGisAttributes, _impl_.hot_water_)>(
          reinterpret_cast<char*>(&_impl_.hot_water_),
          reinterpret_cast<char*>(&other->_impl_.hot_water_));
}

std::string BuildingGisAttributes::GetTypeName() const {
  return "keyapis.telemetry_control.v1.BuildingGisAttributes";
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace v1
}  // namespace telemetry_control
}  // namespace keyapis
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::keyapis::telemetry_control::v1::PutBuildingGisAttributesRequest*
Arena::CreateMaybeMessage< ::keyapis::telemetry_control::v1::PutBuildingGisAttributesRequest >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::telemetry_control::v1::PutBuildingGisAttributesRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::telemetry_control::v1::PutBuildingGisAttributesResponse*
Arena::CreateMaybeMessage< ::keyapis::telemetry_control::v1::PutBuildingGisAttributesResponse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::telemetry_control::v1::PutBuildingGisAttributesResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::telemetry_control::v1::GetBuildingGisAttributesRequest*
Arena::CreateMaybeMessage< ::keyapis::telemetry_control::v1::GetBuildingGisAttributesRequest >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::telemetry_control::v1::GetBuildingGisAttributesRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::telemetry_control::v1::GetBuildingGisAttributesResponse*
Arena::CreateMaybeMessage< ::keyapis::telemetry_control::v1::GetBuildingGisAttributesResponse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::telemetry_control::v1::GetBuildingGisAttributesResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes*
Arena::CreateMaybeMessage< ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::telemetry_control::v1::BuildingGisAttributes_Attributes >(arena);
}
template<> PROTOBUF_NOINLINE ::keyapis::telemetry_control::v1::BuildingGisAttributes*
Arena::CreateMaybeMessage< ::keyapis::telemetry_control::v1::BuildingGisAttributes >(Arena* arena) {
  return Arena::CreateMessageInternal< ::keyapis::telemetry_control::v1::BuildingGisAttributes >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
