// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: mod-site.proto

#include "mod-site.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/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>

PROTOBUF_PRAGMA_INIT_SEG

namespace _pb = ::PROTOBUF_NAMESPACE_ID;
namespace _pbi = _pb::internal;

PROTOBUF_CONSTEXPR RetSiteInfoElement::RetSiteInfoElement(
    ::_pbi::ConstantInitialized)
  : name_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , remark_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , operatorname_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , createdt_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , latitude_(0)
  , longitude_(0)
  , altitude_(0)
  , id_(0){}
struct RetSiteInfoElementDefaultTypeInternal {
  PROTOBUF_CONSTEXPR RetSiteInfoElementDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~RetSiteInfoElementDefaultTypeInternal() {}
  union {
    RetSiteInfoElement _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RetSiteInfoElementDefaultTypeInternal _RetSiteInfoElement_default_instance_;
PROTOBUF_CONSTEXPR RetSiteParamElement::RetSiteParamElement(
    ::_pbi::ConstantInitialized)
  : name_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , slice_(0)
  , mineleangle_(0)
  , maxeleangle_(0)
  , id_(0)
  , pointduration_(0)
  , minaziangle_(0)
  , maxaziangle_(0)
  , mindist_(0)
  , maxdist_(0)
  , pointstep_(0){}
struct RetSiteParamElementDefaultTypeInternal {
  PROTOBUF_CONSTEXPR RetSiteParamElementDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~RetSiteParamElementDefaultTypeInternal() {}
  union {
    RetSiteParamElement _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RetSiteParamElementDefaultTypeInternal _RetSiteParamElement_default_instance_;
PROTOBUF_CONSTEXPR ReqSiteParamUpdate::ReqSiteParamUpdate(
    ::_pbi::ConstantInitialized)
  : slice_(0)
  , mineleangle_(0)
  , maxeleangle_(0)
  , minaziangle_(0)
  , id_(0)
  , pointduration_(0)
  , maxaziangle_(0)
  , mindist_(0)
  , maxdist_(0)
  , pointstep_(0)
  , uid_(0){}
struct ReqSiteParamUpdateDefaultTypeInternal {
  PROTOBUF_CONSTEXPR ReqSiteParamUpdateDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~ReqSiteParamUpdateDefaultTypeInternal() {}
  union {
    ReqSiteParamUpdate _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReqSiteParamUpdateDefaultTypeInternal _ReqSiteParamUpdate_default_instance_;
PROTOBUF_CONSTEXPR ReqSiteAdd::ReqSiteAdd(
    ::_pbi::ConstantInitialized)
  : name_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , remark_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , latitude_(0)
  , longitude_(0)
  , altitude_(0)
  , uid_(0){}
struct ReqSiteAddDefaultTypeInternal {
  PROTOBUF_CONSTEXPR ReqSiteAddDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~ReqSiteAddDefaultTypeInternal() {}
  union {
    ReqSiteAdd _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReqSiteAddDefaultTypeInternal _ReqSiteAdd_default_instance_;
PROTOBUF_CONSTEXPR ReqSiteDel::ReqSiteDel(
    ::_pbi::ConstantInitialized)
  : id_()
  , _id_cached_byte_size_(0)
  , uid_(0){}
struct ReqSiteDelDefaultTypeInternal {
  PROTOBUF_CONSTEXPR ReqSiteDelDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~ReqSiteDelDefaultTypeInternal() {}
  union {
    ReqSiteDel _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReqSiteDelDefaultTypeInternal _ReqSiteDel_default_instance_;
static ::_pb::Metadata file_level_metadata_mod_2dsite_2eproto[5];
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_mod_2dsite_2eproto = nullptr;
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_mod_2dsite_2eproto = nullptr;

const uint32_t TableStruct_mod_2dsite_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, id_),
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, name_),
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, latitude_),
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, longitude_),
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, altitude_),
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, remark_),
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, operatorname_),
  PROTOBUF_FIELD_OFFSET(::RetSiteInfoElement, createdt_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, id_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, name_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, slice_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, mineleangle_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, maxeleangle_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, minaziangle_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, maxaziangle_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, mindist_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, maxdist_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, pointduration_),
  PROTOBUF_FIELD_OFFSET(::RetSiteParamElement, pointstep_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, id_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, slice_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, mineleangle_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, maxeleangle_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, minaziangle_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, maxaziangle_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, mindist_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, maxdist_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, pointduration_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, pointstep_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteParamUpdate, uid_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::ReqSiteAdd, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::ReqSiteAdd, uid_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteAdd, name_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteAdd, latitude_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteAdd, longitude_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteAdd, altitude_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteAdd, remark_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::ReqSiteDel, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::ReqSiteDel, id_),
  PROTOBUF_FIELD_OFFSET(::ReqSiteDel, uid_),
};
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  { 0, -1, -1, sizeof(::RetSiteInfoElement)},
  { 14, -1, -1, sizeof(::RetSiteParamElement)},
  { 31, -1, -1, sizeof(::ReqSiteParamUpdate)},
  { 48, -1, -1, sizeof(::ReqSiteAdd)},
  { 60, -1, -1, sizeof(::ReqSiteDel)},
};

static const ::_pb::Message* const file_default_instances[] = {
  &::_RetSiteInfoElement_default_instance_._instance,
  &::_RetSiteParamElement_default_instance_._instance,
  &::_ReqSiteParamUpdate_default_instance_._instance,
  &::_ReqSiteAdd_default_instance_._instance,
  &::_ReqSiteDel_default_instance_._instance,
};

const char descriptor_table_protodef_mod_2dsite_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  "\n\016mod-site.proto\"\235\001\n\022RetSiteInfoElement\022"
  "\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\020\n\010latitude\030\003 "
  "\001(\001\022\021\n\tlongitude\030\004 \001(\001\022\020\n\010altitude\030\005 \001(\001"
  "\022\016\n\006remark\030\006 \001(\t\022\024\n\014operatorName\030\007 \001(\t\022\020"
  "\n\010createDt\030\010 \001(\t\"\336\001\n\023RetSiteParamElement"
  "\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\r\n\005slice\030\003 \001("
  "\001\022\023\n\013minEleAngle\030\004 \001(\001\022\023\n\013maxEleAngle\030\005 "
  "\001(\001\022\023\n\013minAziAngle\030\006 \001(\001\022\023\n\013maxAziAngle\030"
  "\007 \001(\001\022\017\n\007minDist\030\010 \001(\001\022\017\n\007maxDist\030\t \001(\001\022"
  "\025\n\rpointDuration\030\n \001(\005\022\021\n\tpointStep\030\013 \001("
  "\005\"\334\001\n\022ReqSiteParamUpdate\022\n\n\002id\030\001 \001(\005\022\r\n\005"
  "slice\030\002 \001(\001\022\023\n\013minEleAngle\030\003 \001(\001\022\023\n\013maxE"
  "leAngle\030\004 \001(\001\022\023\n\013minAziAngle\030\005 \001(\001\022\023\n\013ma"
  "xAziAngle\030\006 \001(\001\022\017\n\007minDist\030\007 \001(\001\022\017\n\007maxD"
  "ist\030\010 \001(\001\022\025\n\rpointDuration\030\t \001(\005\022\021\n\tpoin"
  "tStep\030\n \001(\005\022\013\n\003uid\030\013 \001(\005\"n\n\nReqSiteAdd\022\013"
  "\n\003uid\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\020\n\010latitude\030\003 "
  "\001(\001\022\021\n\tlongitude\030\004 \001(\001\022\020\n\010altitude\030\005 \001(\001"
  "\022\016\n\006remark\030\006 \001(\t\"%\n\nReqSiteDel\022\n\n\002id\030\001 \003"
  "(\005\022\013\n\003uid\030\002 \001(\005B\014Z\n../protogob\006proto3"
  ;
static ::_pbi::once_flag descriptor_table_mod_2dsite_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_mod_2dsite_2eproto = {
    false, false, 797, descriptor_table_protodef_mod_2dsite_2eproto,
    "mod-site.proto",
    &descriptor_table_mod_2dsite_2eproto_once, nullptr, 0, 5,
    schemas, file_default_instances, TableStruct_mod_2dsite_2eproto::offsets,
    file_level_metadata_mod_2dsite_2eproto, file_level_enum_descriptors_mod_2dsite_2eproto,
    file_level_service_descriptors_mod_2dsite_2eproto,
};
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_mod_2dsite_2eproto_getter() {
  return &descriptor_table_mod_2dsite_2eproto;
}

// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_mod_2dsite_2eproto(&descriptor_table_mod_2dsite_2eproto);

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

class RetSiteInfoElement::_Internal {
 public:
};

RetSiteInfoElement::RetSiteInfoElement(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:RetSiteInfoElement)
}
RetSiteInfoElement::RetSiteInfoElement(const RetSiteInfoElement& from)
  : ::PROTOBUF_NAMESPACE_ID::Message() {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  name_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    name_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_name().empty()) {
    name_.Set(from._internal_name(), 
      GetArenaForAllocation());
  }
  remark_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    remark_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_remark().empty()) {
    remark_.Set(from._internal_remark(), 
      GetArenaForAllocation());
  }
  operatorname_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    operatorname_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_operatorname().empty()) {
    operatorname_.Set(from._internal_operatorname(), 
      GetArenaForAllocation());
  }
  createdt_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    createdt_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_createdt().empty()) {
    createdt_.Set(from._internal_createdt(), 
      GetArenaForAllocation());
  }
  ::memcpy(&latitude_, &from.latitude_,
    static_cast<size_t>(reinterpret_cast<char*>(&id_) -
    reinterpret_cast<char*>(&latitude_)) + sizeof(id_));
  // @@protoc_insertion_point(copy_constructor:RetSiteInfoElement)
}

inline void RetSiteInfoElement::SharedCtor() {
name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
remark_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  remark_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
operatorname_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  operatorname_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
createdt_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  createdt_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&latitude_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&id_) -
    reinterpret_cast<char*>(&latitude_)) + sizeof(id_));
}

RetSiteInfoElement::~RetSiteInfoElement() {
  // @@protoc_insertion_point(destructor:RetSiteInfoElement)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void RetSiteInfoElement::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  name_.Destroy();
  remark_.Destroy();
  operatorname_.Destroy();
  createdt_.Destroy();
}

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

void RetSiteInfoElement::Clear() {
// @@protoc_insertion_point(message_clear_start:RetSiteInfoElement)
  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  name_.ClearToEmpty();
  remark_.ClearToEmpty();
  operatorname_.ClearToEmpty();
  createdt_.ClearToEmpty();
  ::memset(&latitude_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&id_) -
      reinterpret_cast<char*>(&latitude_)) + sizeof(id_));
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* RetSiteInfoElement::_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;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
          id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string name = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
          auto str = _internal_mutable_name();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetSiteInfoElement.name"));
        } else
          goto handle_unusual;
        continue;
      // double latitude = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 25)) {
          latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double longitude = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 33)) {
          longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double altitude = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 41)) {
          altitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // string remark = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
          auto str = _internal_mutable_remark();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetSiteInfoElement.remark"));
        } else
          goto handle_unusual;
        continue;
      // string operatorName = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
          auto str = _internal_mutable_operatorname();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetSiteInfoElement.operatorName"));
        } else
          goto handle_unusual;
        continue;
      // string createDt = 8;
      case 8:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
          auto str = _internal_mutable_createdt();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetSiteInfoElement.createDt"));
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // int32 id = 1;
  if (this->_internal_id() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_id(), target);
  }

  // string name = 2;
  if (!this->_internal_name().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetSiteInfoElement.name");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_name(), target);
  }

  // double latitude = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_latitude = this->_internal_latitude();
  uint64_t raw_latitude;
  memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude));
  if (raw_latitude != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(3, this->_internal_latitude(), target);
  }

  // double longitude = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_longitude = this->_internal_longitude();
  uint64_t raw_longitude;
  memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude));
  if (raw_longitude != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(4, this->_internal_longitude(), target);
  }

  // double altitude = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_altitude = this->_internal_altitude();
  uint64_t raw_altitude;
  memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude));
  if (raw_altitude != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(5, this->_internal_altitude(), target);
  }

  // string remark = 6;
  if (!this->_internal_remark().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_remark().data(), static_cast<int>(this->_internal_remark().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetSiteInfoElement.remark");
    target = stream->WriteStringMaybeAliased(
        6, this->_internal_remark(), target);
  }

  // string operatorName = 7;
  if (!this->_internal_operatorname().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_operatorname().data(), static_cast<int>(this->_internal_operatorname().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetSiteInfoElement.operatorName");
    target = stream->WriteStringMaybeAliased(
        7, this->_internal_operatorname(), target);
  }

  // string createDt = 8;
  if (!this->_internal_createdt().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_createdt().data(), static_cast<int>(this->_internal_createdt().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetSiteInfoElement.createDt");
    target = stream->WriteStringMaybeAliased(
        8, this->_internal_createdt(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:RetSiteInfoElement)
  return target;
}

size_t RetSiteInfoElement::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:RetSiteInfoElement)
  size_t total_size = 0;

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

  // string name = 2;
  if (!this->_internal_name().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_name());
  }

  // string remark = 6;
  if (!this->_internal_remark().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_remark());
  }

  // string operatorName = 7;
  if (!this->_internal_operatorname().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_operatorname());
  }

  // string createDt = 8;
  if (!this->_internal_createdt().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_createdt());
  }

  // double latitude = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_latitude = this->_internal_latitude();
  uint64_t raw_latitude;
  memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude));
  if (raw_latitude != 0) {
    total_size += 1 + 8;
  }

  // double longitude = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_longitude = this->_internal_longitude();
  uint64_t raw_longitude;
  memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude));
  if (raw_longitude != 0) {
    total_size += 1 + 8;
  }

  // double altitude = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_altitude = this->_internal_altitude();
  uint64_t raw_altitude;
  memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude));
  if (raw_altitude != 0) {
    total_size += 1 + 8;
  }

  // int32 id = 1;
  if (this->_internal_id() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RetSiteInfoElement::_class_data_ = {
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
    RetSiteInfoElement::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RetSiteInfoElement::GetClassData() const { return &_class_data_; }

void RetSiteInfoElement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
                      const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  static_cast<RetSiteInfoElement *>(to)->MergeFrom(
      static_cast<const RetSiteInfoElement &>(from));
}


void RetSiteInfoElement::MergeFrom(const RetSiteInfoElement& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:RetSiteInfoElement)
  GOOGLE_DCHECK_NE(&from, this);
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_name().empty()) {
    _internal_set_name(from._internal_name());
  }
  if (!from._internal_remark().empty()) {
    _internal_set_remark(from._internal_remark());
  }
  if (!from._internal_operatorname().empty()) {
    _internal_set_operatorname(from._internal_operatorname());
  }
  if (!from._internal_createdt().empty()) {
    _internal_set_createdt(from._internal_createdt());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_latitude = from._internal_latitude();
  uint64_t raw_latitude;
  memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude));
  if (raw_latitude != 0) {
    _internal_set_latitude(from._internal_latitude());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_longitude = from._internal_longitude();
  uint64_t raw_longitude;
  memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude));
  if (raw_longitude != 0) {
    _internal_set_longitude(from._internal_longitude());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_altitude = from._internal_altitude();
  uint64_t raw_altitude;
  memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude));
  if (raw_altitude != 0) {
    _internal_set_altitude(from._internal_altitude());
  }
  if (from._internal_id() != 0) {
    _internal_set_id(from._internal_id());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

void RetSiteInfoElement::CopyFrom(const RetSiteInfoElement& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:RetSiteInfoElement)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

void RetSiteInfoElement::InternalSwap(RetSiteInfoElement* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &name_, lhs_arena,
      &other->name_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &remark_, lhs_arena,
      &other->remark_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &operatorname_, lhs_arena,
      &other->operatorname_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &createdt_, lhs_arena,
      &other->createdt_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(RetSiteInfoElement, id_)
      + sizeof(RetSiteInfoElement::id_)
      - PROTOBUF_FIELD_OFFSET(RetSiteInfoElement, latitude_)>(
          reinterpret_cast<char*>(&latitude_),
          reinterpret_cast<char*>(&other->latitude_));
}

::PROTOBUF_NAMESPACE_ID::Metadata RetSiteInfoElement::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dsite_2eproto_getter, &descriptor_table_mod_2dsite_2eproto_once,
      file_level_metadata_mod_2dsite_2eproto[0]);
}

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

class RetSiteParamElement::_Internal {
 public:
};

RetSiteParamElement::RetSiteParamElement(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:RetSiteParamElement)
}
RetSiteParamElement::RetSiteParamElement(const RetSiteParamElement& from)
  : ::PROTOBUF_NAMESPACE_ID::Message() {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  name_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    name_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_name().empty()) {
    name_.Set(from._internal_name(), 
      GetArenaForAllocation());
  }
  ::memcpy(&slice_, &from.slice_,
    static_cast<size_t>(reinterpret_cast<char*>(&pointstep_) -
    reinterpret_cast<char*>(&slice_)) + sizeof(pointstep_));
  // @@protoc_insertion_point(copy_constructor:RetSiteParamElement)
}

inline void RetSiteParamElement::SharedCtor() {
name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&slice_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&pointstep_) -
    reinterpret_cast<char*>(&slice_)) + sizeof(pointstep_));
}

RetSiteParamElement::~RetSiteParamElement() {
  // @@protoc_insertion_point(destructor:RetSiteParamElement)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void RetSiteParamElement::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  name_.Destroy();
}

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

void RetSiteParamElement::Clear() {
// @@protoc_insertion_point(message_clear_start:RetSiteParamElement)
  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  name_.ClearToEmpty();
  ::memset(&slice_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&pointstep_) -
      reinterpret_cast<char*>(&slice_)) + sizeof(pointstep_));
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* RetSiteParamElement::_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;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
          id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string name = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
          auto str = _internal_mutable_name();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetSiteParamElement.name"));
        } else
          goto handle_unusual;
        continue;
      // double slice = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 25)) {
          slice_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double minEleAngle = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 33)) {
          mineleangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double maxEleAngle = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 41)) {
          maxeleangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double minAziAngle = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 49)) {
          minaziangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double maxAziAngle = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 57)) {
          maxaziangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double minDist = 8;
      case 8:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 65)) {
          mindist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double maxDist = 9;
      case 9:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 73)) {
          maxdist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // int32 pointDuration = 10;
      case 10:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
          pointduration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int32 pointStep = 11;
      case 11:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
          pointstep_ = ::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // int32 id = 1;
  if (this->_internal_id() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_id(), target);
  }

  // string name = 2;
  if (!this->_internal_name().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetSiteParamElement.name");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_name(), target);
  }

  // double slice = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_slice = this->_internal_slice();
  uint64_t raw_slice;
  memcpy(&raw_slice, &tmp_slice, sizeof(tmp_slice));
  if (raw_slice != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(3, this->_internal_slice(), target);
  }

  // double minEleAngle = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mineleangle = this->_internal_mineleangle();
  uint64_t raw_mineleangle;
  memcpy(&raw_mineleangle, &tmp_mineleangle, sizeof(tmp_mineleangle));
  if (raw_mineleangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(4, this->_internal_mineleangle(), target);
  }

  // double maxEleAngle = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxeleangle = this->_internal_maxeleangle();
  uint64_t raw_maxeleangle;
  memcpy(&raw_maxeleangle, &tmp_maxeleangle, sizeof(tmp_maxeleangle));
  if (raw_maxeleangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(5, this->_internal_maxeleangle(), target);
  }

  // double minAziAngle = 6;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_minaziangle = this->_internal_minaziangle();
  uint64_t raw_minaziangle;
  memcpy(&raw_minaziangle, &tmp_minaziangle, sizeof(tmp_minaziangle));
  if (raw_minaziangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(6, this->_internal_minaziangle(), target);
  }

  // double maxAziAngle = 7;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxaziangle = this->_internal_maxaziangle();
  uint64_t raw_maxaziangle;
  memcpy(&raw_maxaziangle, &tmp_maxaziangle, sizeof(tmp_maxaziangle));
  if (raw_maxaziangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(7, this->_internal_maxaziangle(), target);
  }

  // double minDist = 8;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mindist = this->_internal_mindist();
  uint64_t raw_mindist;
  memcpy(&raw_mindist, &tmp_mindist, sizeof(tmp_mindist));
  if (raw_mindist != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(8, this->_internal_mindist(), target);
  }

  // double maxDist = 9;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxdist = this->_internal_maxdist();
  uint64_t raw_maxdist;
  memcpy(&raw_maxdist, &tmp_maxdist, sizeof(tmp_maxdist));
  if (raw_maxdist != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(9, this->_internal_maxdist(), target);
  }

  // int32 pointDuration = 10;
  if (this->_internal_pointduration() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_pointduration(), target);
  }

  // int32 pointStep = 11;
  if (this->_internal_pointstep() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_pointstep(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:RetSiteParamElement)
  return target;
}

size_t RetSiteParamElement::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:RetSiteParamElement)
  size_t total_size = 0;

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

  // string name = 2;
  if (!this->_internal_name().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_name());
  }

  // double slice = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_slice = this->_internal_slice();
  uint64_t raw_slice;
  memcpy(&raw_slice, &tmp_slice, sizeof(tmp_slice));
  if (raw_slice != 0) {
    total_size += 1 + 8;
  }

  // double minEleAngle = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mineleangle = this->_internal_mineleangle();
  uint64_t raw_mineleangle;
  memcpy(&raw_mineleangle, &tmp_mineleangle, sizeof(tmp_mineleangle));
  if (raw_mineleangle != 0) {
    total_size += 1 + 8;
  }

  // double maxEleAngle = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxeleangle = this->_internal_maxeleangle();
  uint64_t raw_maxeleangle;
  memcpy(&raw_maxeleangle, &tmp_maxeleangle, sizeof(tmp_maxeleangle));
  if (raw_maxeleangle != 0) {
    total_size += 1 + 8;
  }

  // int32 id = 1;
  if (this->_internal_id() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id());
  }

  // int32 pointDuration = 10;
  if (this->_internal_pointduration() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pointduration());
  }

  // double minAziAngle = 6;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_minaziangle = this->_internal_minaziangle();
  uint64_t raw_minaziangle;
  memcpy(&raw_minaziangle, &tmp_minaziangle, sizeof(tmp_minaziangle));
  if (raw_minaziangle != 0) {
    total_size += 1 + 8;
  }

  // double maxAziAngle = 7;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxaziangle = this->_internal_maxaziangle();
  uint64_t raw_maxaziangle;
  memcpy(&raw_maxaziangle, &tmp_maxaziangle, sizeof(tmp_maxaziangle));
  if (raw_maxaziangle != 0) {
    total_size += 1 + 8;
  }

  // double minDist = 8;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mindist = this->_internal_mindist();
  uint64_t raw_mindist;
  memcpy(&raw_mindist, &tmp_mindist, sizeof(tmp_mindist));
  if (raw_mindist != 0) {
    total_size += 1 + 8;
  }

  // double maxDist = 9;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxdist = this->_internal_maxdist();
  uint64_t raw_maxdist;
  memcpy(&raw_maxdist, &tmp_maxdist, sizeof(tmp_maxdist));
  if (raw_maxdist != 0) {
    total_size += 1 + 8;
  }

  // int32 pointStep = 11;
  if (this->_internal_pointstep() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pointstep());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RetSiteParamElement::_class_data_ = {
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
    RetSiteParamElement::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RetSiteParamElement::GetClassData() const { return &_class_data_; }

void RetSiteParamElement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
                      const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  static_cast<RetSiteParamElement *>(to)->MergeFrom(
      static_cast<const RetSiteParamElement &>(from));
}


void RetSiteParamElement::MergeFrom(const RetSiteParamElement& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:RetSiteParamElement)
  GOOGLE_DCHECK_NE(&from, this);
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_name().empty()) {
    _internal_set_name(from._internal_name());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_slice = from._internal_slice();
  uint64_t raw_slice;
  memcpy(&raw_slice, &tmp_slice, sizeof(tmp_slice));
  if (raw_slice != 0) {
    _internal_set_slice(from._internal_slice());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mineleangle = from._internal_mineleangle();
  uint64_t raw_mineleangle;
  memcpy(&raw_mineleangle, &tmp_mineleangle, sizeof(tmp_mineleangle));
  if (raw_mineleangle != 0) {
    _internal_set_mineleangle(from._internal_mineleangle());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxeleangle = from._internal_maxeleangle();
  uint64_t raw_maxeleangle;
  memcpy(&raw_maxeleangle, &tmp_maxeleangle, sizeof(tmp_maxeleangle));
  if (raw_maxeleangle != 0) {
    _internal_set_maxeleangle(from._internal_maxeleangle());
  }
  if (from._internal_id() != 0) {
    _internal_set_id(from._internal_id());
  }
  if (from._internal_pointduration() != 0) {
    _internal_set_pointduration(from._internal_pointduration());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_minaziangle = from._internal_minaziangle();
  uint64_t raw_minaziangle;
  memcpy(&raw_minaziangle, &tmp_minaziangle, sizeof(tmp_minaziangle));
  if (raw_minaziangle != 0) {
    _internal_set_minaziangle(from._internal_minaziangle());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxaziangle = from._internal_maxaziangle();
  uint64_t raw_maxaziangle;
  memcpy(&raw_maxaziangle, &tmp_maxaziangle, sizeof(tmp_maxaziangle));
  if (raw_maxaziangle != 0) {
    _internal_set_maxaziangle(from._internal_maxaziangle());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mindist = from._internal_mindist();
  uint64_t raw_mindist;
  memcpy(&raw_mindist, &tmp_mindist, sizeof(tmp_mindist));
  if (raw_mindist != 0) {
    _internal_set_mindist(from._internal_mindist());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxdist = from._internal_maxdist();
  uint64_t raw_maxdist;
  memcpy(&raw_maxdist, &tmp_maxdist, sizeof(tmp_maxdist));
  if (raw_maxdist != 0) {
    _internal_set_maxdist(from._internal_maxdist());
  }
  if (from._internal_pointstep() != 0) {
    _internal_set_pointstep(from._internal_pointstep());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

void RetSiteParamElement::CopyFrom(const RetSiteParamElement& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:RetSiteParamElement)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

void RetSiteParamElement::InternalSwap(RetSiteParamElement* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &name_, lhs_arena,
      &other->name_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(RetSiteParamElement, pointstep_)
      + sizeof(RetSiteParamElement::pointstep_)
      - PROTOBUF_FIELD_OFFSET(RetSiteParamElement, slice_)>(
          reinterpret_cast<char*>(&slice_),
          reinterpret_cast<char*>(&other->slice_));
}

::PROTOBUF_NAMESPACE_ID::Metadata RetSiteParamElement::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dsite_2eproto_getter, &descriptor_table_mod_2dsite_2eproto_once,
      file_level_metadata_mod_2dsite_2eproto[1]);
}

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

class ReqSiteParamUpdate::_Internal {
 public:
};

ReqSiteParamUpdate::ReqSiteParamUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:ReqSiteParamUpdate)
}
ReqSiteParamUpdate::ReqSiteParamUpdate(const ReqSiteParamUpdate& from)
  : ::PROTOBUF_NAMESPACE_ID::Message() {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::memcpy(&slice_, &from.slice_,
    static_cast<size_t>(reinterpret_cast<char*>(&uid_) -
    reinterpret_cast<char*>(&slice_)) + sizeof(uid_));
  // @@protoc_insertion_point(copy_constructor:ReqSiteParamUpdate)
}

inline void ReqSiteParamUpdate::SharedCtor() {
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&slice_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&uid_) -
    reinterpret_cast<char*>(&slice_)) + sizeof(uid_));
}

ReqSiteParamUpdate::~ReqSiteParamUpdate() {
  // @@protoc_insertion_point(destructor:ReqSiteParamUpdate)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void ReqSiteParamUpdate::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}

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

void ReqSiteParamUpdate::Clear() {
// @@protoc_insertion_point(message_clear_start:ReqSiteParamUpdate)
  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  ::memset(&slice_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&uid_) -
      reinterpret_cast<char*>(&slice_)) + sizeof(uid_));
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* ReqSiteParamUpdate::_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;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
          id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // double slice = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 17)) {
          slice_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double minEleAngle = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 25)) {
          mineleangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double maxEleAngle = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 33)) {
          maxeleangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double minAziAngle = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 41)) {
          minaziangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double maxAziAngle = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 49)) {
          maxaziangle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double minDist = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 57)) {
          mindist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double maxDist = 8;
      case 8:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 65)) {
          maxdist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // int32 pointDuration = 9;
      case 9:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
          pointduration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int32 pointStep = 10;
      case 10:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
          pointstep_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int32 uid = 11;
      case 11:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
          uid_ = ::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // int32 id = 1;
  if (this->_internal_id() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_id(), target);
  }

  // double slice = 2;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_slice = this->_internal_slice();
  uint64_t raw_slice;
  memcpy(&raw_slice, &tmp_slice, sizeof(tmp_slice));
  if (raw_slice != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(2, this->_internal_slice(), target);
  }

  // double minEleAngle = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mineleangle = this->_internal_mineleangle();
  uint64_t raw_mineleangle;
  memcpy(&raw_mineleangle, &tmp_mineleangle, sizeof(tmp_mineleangle));
  if (raw_mineleangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(3, this->_internal_mineleangle(), target);
  }

  // double maxEleAngle = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxeleangle = this->_internal_maxeleangle();
  uint64_t raw_maxeleangle;
  memcpy(&raw_maxeleangle, &tmp_maxeleangle, sizeof(tmp_maxeleangle));
  if (raw_maxeleangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(4, this->_internal_maxeleangle(), target);
  }

  // double minAziAngle = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_minaziangle = this->_internal_minaziangle();
  uint64_t raw_minaziangle;
  memcpy(&raw_minaziangle, &tmp_minaziangle, sizeof(tmp_minaziangle));
  if (raw_minaziangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(5, this->_internal_minaziangle(), target);
  }

  // double maxAziAngle = 6;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxaziangle = this->_internal_maxaziangle();
  uint64_t raw_maxaziangle;
  memcpy(&raw_maxaziangle, &tmp_maxaziangle, sizeof(tmp_maxaziangle));
  if (raw_maxaziangle != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(6, this->_internal_maxaziangle(), target);
  }

  // double minDist = 7;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mindist = this->_internal_mindist();
  uint64_t raw_mindist;
  memcpy(&raw_mindist, &tmp_mindist, sizeof(tmp_mindist));
  if (raw_mindist != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(7, this->_internal_mindist(), target);
  }

  // double maxDist = 8;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxdist = this->_internal_maxdist();
  uint64_t raw_maxdist;
  memcpy(&raw_maxdist, &tmp_maxdist, sizeof(tmp_maxdist));
  if (raw_maxdist != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(8, this->_internal_maxdist(), target);
  }

  // int32 pointDuration = 9;
  if (this->_internal_pointduration() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_pointduration(), target);
  }

  // int32 pointStep = 10;
  if (this->_internal_pointstep() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_pointstep(), target);
  }

  // int32 uid = 11;
  if (this->_internal_uid() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_uid(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:ReqSiteParamUpdate)
  return target;
}

size_t ReqSiteParamUpdate::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:ReqSiteParamUpdate)
  size_t total_size = 0;

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

  // double slice = 2;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_slice = this->_internal_slice();
  uint64_t raw_slice;
  memcpy(&raw_slice, &tmp_slice, sizeof(tmp_slice));
  if (raw_slice != 0) {
    total_size += 1 + 8;
  }

  // double minEleAngle = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mineleangle = this->_internal_mineleangle();
  uint64_t raw_mineleangle;
  memcpy(&raw_mineleangle, &tmp_mineleangle, sizeof(tmp_mineleangle));
  if (raw_mineleangle != 0) {
    total_size += 1 + 8;
  }

  // double maxEleAngle = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxeleangle = this->_internal_maxeleangle();
  uint64_t raw_maxeleangle;
  memcpy(&raw_maxeleangle, &tmp_maxeleangle, sizeof(tmp_maxeleangle));
  if (raw_maxeleangle != 0) {
    total_size += 1 + 8;
  }

  // double minAziAngle = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_minaziangle = this->_internal_minaziangle();
  uint64_t raw_minaziangle;
  memcpy(&raw_minaziangle, &tmp_minaziangle, sizeof(tmp_minaziangle));
  if (raw_minaziangle != 0) {
    total_size += 1 + 8;
  }

  // int32 id = 1;
  if (this->_internal_id() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id());
  }

  // int32 pointDuration = 9;
  if (this->_internal_pointduration() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pointduration());
  }

  // double maxAziAngle = 6;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxaziangle = this->_internal_maxaziangle();
  uint64_t raw_maxaziangle;
  memcpy(&raw_maxaziangle, &tmp_maxaziangle, sizeof(tmp_maxaziangle));
  if (raw_maxaziangle != 0) {
    total_size += 1 + 8;
  }

  // double minDist = 7;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mindist = this->_internal_mindist();
  uint64_t raw_mindist;
  memcpy(&raw_mindist, &tmp_mindist, sizeof(tmp_mindist));
  if (raw_mindist != 0) {
    total_size += 1 + 8;
  }

  // double maxDist = 8;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxdist = this->_internal_maxdist();
  uint64_t raw_maxdist;
  memcpy(&raw_maxdist, &tmp_maxdist, sizeof(tmp_maxdist));
  if (raw_maxdist != 0) {
    total_size += 1 + 8;
  }

  // int32 pointStep = 10;
  if (this->_internal_pointstep() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pointstep());
  }

  // int32 uid = 11;
  if (this->_internal_uid() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uid());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReqSiteParamUpdate::_class_data_ = {
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
    ReqSiteParamUpdate::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReqSiteParamUpdate::GetClassData() const { return &_class_data_; }

void ReqSiteParamUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
                      const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  static_cast<ReqSiteParamUpdate *>(to)->MergeFrom(
      static_cast<const ReqSiteParamUpdate &>(from));
}


void ReqSiteParamUpdate::MergeFrom(const ReqSiteParamUpdate& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:ReqSiteParamUpdate)
  GOOGLE_DCHECK_NE(&from, this);
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_slice = from._internal_slice();
  uint64_t raw_slice;
  memcpy(&raw_slice, &tmp_slice, sizeof(tmp_slice));
  if (raw_slice != 0) {
    _internal_set_slice(from._internal_slice());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mineleangle = from._internal_mineleangle();
  uint64_t raw_mineleangle;
  memcpy(&raw_mineleangle, &tmp_mineleangle, sizeof(tmp_mineleangle));
  if (raw_mineleangle != 0) {
    _internal_set_mineleangle(from._internal_mineleangle());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxeleangle = from._internal_maxeleangle();
  uint64_t raw_maxeleangle;
  memcpy(&raw_maxeleangle, &tmp_maxeleangle, sizeof(tmp_maxeleangle));
  if (raw_maxeleangle != 0) {
    _internal_set_maxeleangle(from._internal_maxeleangle());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_minaziangle = from._internal_minaziangle();
  uint64_t raw_minaziangle;
  memcpy(&raw_minaziangle, &tmp_minaziangle, sizeof(tmp_minaziangle));
  if (raw_minaziangle != 0) {
    _internal_set_minaziangle(from._internal_minaziangle());
  }
  if (from._internal_id() != 0) {
    _internal_set_id(from._internal_id());
  }
  if (from._internal_pointduration() != 0) {
    _internal_set_pointduration(from._internal_pointduration());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxaziangle = from._internal_maxaziangle();
  uint64_t raw_maxaziangle;
  memcpy(&raw_maxaziangle, &tmp_maxaziangle, sizeof(tmp_maxaziangle));
  if (raw_maxaziangle != 0) {
    _internal_set_maxaziangle(from._internal_maxaziangle());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_mindist = from._internal_mindist();
  uint64_t raw_mindist;
  memcpy(&raw_mindist, &tmp_mindist, sizeof(tmp_mindist));
  if (raw_mindist != 0) {
    _internal_set_mindist(from._internal_mindist());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_maxdist = from._internal_maxdist();
  uint64_t raw_maxdist;
  memcpy(&raw_maxdist, &tmp_maxdist, sizeof(tmp_maxdist));
  if (raw_maxdist != 0) {
    _internal_set_maxdist(from._internal_maxdist());
  }
  if (from._internal_pointstep() != 0) {
    _internal_set_pointstep(from._internal_pointstep());
  }
  if (from._internal_uid() != 0) {
    _internal_set_uid(from._internal_uid());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

void ReqSiteParamUpdate::CopyFrom(const ReqSiteParamUpdate& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:ReqSiteParamUpdate)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

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

::PROTOBUF_NAMESPACE_ID::Metadata ReqSiteParamUpdate::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dsite_2eproto_getter, &descriptor_table_mod_2dsite_2eproto_once,
      file_level_metadata_mod_2dsite_2eproto[2]);
}

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

class ReqSiteAdd::_Internal {
 public:
};

ReqSiteAdd::ReqSiteAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:ReqSiteAdd)
}
ReqSiteAdd::ReqSiteAdd(const ReqSiteAdd& from)
  : ::PROTOBUF_NAMESPACE_ID::Message() {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  name_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    name_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_name().empty()) {
    name_.Set(from._internal_name(), 
      GetArenaForAllocation());
  }
  remark_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    remark_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_remark().empty()) {
    remark_.Set(from._internal_remark(), 
      GetArenaForAllocation());
  }
  ::memcpy(&latitude_, &from.latitude_,
    static_cast<size_t>(reinterpret_cast<char*>(&uid_) -
    reinterpret_cast<char*>(&latitude_)) + sizeof(uid_));
  // @@protoc_insertion_point(copy_constructor:ReqSiteAdd)
}

inline void ReqSiteAdd::SharedCtor() {
name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
remark_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  remark_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&latitude_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&uid_) -
    reinterpret_cast<char*>(&latitude_)) + sizeof(uid_));
}

ReqSiteAdd::~ReqSiteAdd() {
  // @@protoc_insertion_point(destructor:ReqSiteAdd)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void ReqSiteAdd::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  name_.Destroy();
  remark_.Destroy();
}

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

void ReqSiteAdd::Clear() {
// @@protoc_insertion_point(message_clear_start:ReqSiteAdd)
  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  name_.ClearToEmpty();
  remark_.ClearToEmpty();
  ::memset(&latitude_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&uid_) -
      reinterpret_cast<char*>(&latitude_)) + sizeof(uid_));
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* ReqSiteAdd::_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 uid = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
          uid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string name = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
          auto str = _internal_mutable_name();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "ReqSiteAdd.name"));
        } else
          goto handle_unusual;
        continue;
      // double latitude = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 25)) {
          latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double longitude = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 33)) {
          longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // double altitude = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 41)) {
          altitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
          ptr += sizeof(double);
        } else
          goto handle_unusual;
        continue;
      // string remark = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
          auto str = _internal_mutable_remark();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "ReqSiteAdd.remark"));
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // int32 uid = 1;
  if (this->_internal_uid() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_uid(), target);
  }

  // string name = 2;
  if (!this->_internal_name().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "ReqSiteAdd.name");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_name(), target);
  }

  // double latitude = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_latitude = this->_internal_latitude();
  uint64_t raw_latitude;
  memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude));
  if (raw_latitude != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(3, this->_internal_latitude(), target);
  }

  // double longitude = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_longitude = this->_internal_longitude();
  uint64_t raw_longitude;
  memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude));
  if (raw_longitude != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(4, this->_internal_longitude(), target);
  }

  // double altitude = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_altitude = this->_internal_altitude();
  uint64_t raw_altitude;
  memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude));
  if (raw_altitude != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteDoubleToArray(5, this->_internal_altitude(), target);
  }

  // string remark = 6;
  if (!this->_internal_remark().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_remark().data(), static_cast<int>(this->_internal_remark().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "ReqSiteAdd.remark");
    target = stream->WriteStringMaybeAliased(
        6, this->_internal_remark(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:ReqSiteAdd)
  return target;
}

size_t ReqSiteAdd::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:ReqSiteAdd)
  size_t total_size = 0;

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

  // string name = 2;
  if (!this->_internal_name().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_name());
  }

  // string remark = 6;
  if (!this->_internal_remark().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_remark());
  }

  // double latitude = 3;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_latitude = this->_internal_latitude();
  uint64_t raw_latitude;
  memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude));
  if (raw_latitude != 0) {
    total_size += 1 + 8;
  }

  // double longitude = 4;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_longitude = this->_internal_longitude();
  uint64_t raw_longitude;
  memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude));
  if (raw_longitude != 0) {
    total_size += 1 + 8;
  }

  // double altitude = 5;
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_altitude = this->_internal_altitude();
  uint64_t raw_altitude;
  memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude));
  if (raw_altitude != 0) {
    total_size += 1 + 8;
  }

  // int32 uid = 1;
  if (this->_internal_uid() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uid());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReqSiteAdd::_class_data_ = {
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
    ReqSiteAdd::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReqSiteAdd::GetClassData() const { return &_class_data_; }

void ReqSiteAdd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
                      const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  static_cast<ReqSiteAdd *>(to)->MergeFrom(
      static_cast<const ReqSiteAdd &>(from));
}


void ReqSiteAdd::MergeFrom(const ReqSiteAdd& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:ReqSiteAdd)
  GOOGLE_DCHECK_NE(&from, this);
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_name().empty()) {
    _internal_set_name(from._internal_name());
  }
  if (!from._internal_remark().empty()) {
    _internal_set_remark(from._internal_remark());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_latitude = from._internal_latitude();
  uint64_t raw_latitude;
  memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude));
  if (raw_latitude != 0) {
    _internal_set_latitude(from._internal_latitude());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_longitude = from._internal_longitude();
  uint64_t raw_longitude;
  memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude));
  if (raw_longitude != 0) {
    _internal_set_longitude(from._internal_longitude());
  }
  static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
  double tmp_altitude = from._internal_altitude();
  uint64_t raw_altitude;
  memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude));
  if (raw_altitude != 0) {
    _internal_set_altitude(from._internal_altitude());
  }
  if (from._internal_uid() != 0) {
    _internal_set_uid(from._internal_uid());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

void ReqSiteAdd::CopyFrom(const ReqSiteAdd& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:ReqSiteAdd)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

void ReqSiteAdd::InternalSwap(ReqSiteAdd* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &name_, lhs_arena,
      &other->name_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &remark_, lhs_arena,
      &other->remark_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ReqSiteAdd, uid_)
      + sizeof(ReqSiteAdd::uid_)
      - PROTOBUF_FIELD_OFFSET(ReqSiteAdd, latitude_)>(
          reinterpret_cast<char*>(&latitude_),
          reinterpret_cast<char*>(&other->latitude_));
}

::PROTOBUF_NAMESPACE_ID::Metadata ReqSiteAdd::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dsite_2eproto_getter, &descriptor_table_mod_2dsite_2eproto_once,
      file_level_metadata_mod_2dsite_2eproto[3]);
}

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

class ReqSiteDel::_Internal {
 public:
};

ReqSiteDel::ReqSiteDel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
  id_(arena) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:ReqSiteDel)
}
ReqSiteDel::ReqSiteDel(const ReqSiteDel& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      id_(from.id_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  uid_ = from.uid_;
  // @@protoc_insertion_point(copy_constructor:ReqSiteDel)
}

inline void ReqSiteDel::SharedCtor() {
uid_ = 0;
}

ReqSiteDel::~ReqSiteDel() {
  // @@protoc_insertion_point(destructor:ReqSiteDel)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void ReqSiteDel::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}

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

void ReqSiteDel::Clear() {
// @@protoc_insertion_point(message_clear_start:ReqSiteDel)
  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  id_.Clear();
  uid_ = 0;
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* ReqSiteDel::_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) {
      // repeated int32 id = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
          ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_id(), ptr, ctx);
          CHK_(ptr);
        } else if (static_cast<uint8_t>(tag) == 8) {
          _internal_add_id(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int32 uid = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
          uid_ = ::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

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

  // repeated int32 id = 1;
  {
    int byte_size = _id_cached_byte_size_.load(std::memory_order_relaxed);
    if (byte_size > 0) {
      target = stream->WriteInt32Packed(
          1, _internal_id(), byte_size, target);
    }
  }

  // int32 uid = 2;
  if (this->_internal_uid() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_uid(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:ReqSiteDel)
  return target;
}

size_t ReqSiteDel::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:ReqSiteDel)
  size_t total_size = 0;

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

  // repeated int32 id = 1;
  {
    size_t data_size = ::_pbi::WireFormatLite::
      Int32Size(this->id_);
    if (data_size > 0) {
      total_size += 1 +
        ::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
    }
    int cached_size = ::_pbi::ToCachedSize(data_size);
    _id_cached_byte_size_.store(cached_size,
                                    std::memory_order_relaxed);
    total_size += data_size;
  }

  // int32 uid = 2;
  if (this->_internal_uid() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uid());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ReqSiteDel::_class_data_ = {
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
    ReqSiteDel::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReqSiteDel::GetClassData() const { return &_class_data_; }

void ReqSiteDel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
                      const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  static_cast<ReqSiteDel *>(to)->MergeFrom(
      static_cast<const ReqSiteDel &>(from));
}


void ReqSiteDel::MergeFrom(const ReqSiteDel& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:ReqSiteDel)
  GOOGLE_DCHECK_NE(&from, this);
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  id_.MergeFrom(from.id_);
  if (from._internal_uid() != 0) {
    _internal_set_uid(from._internal_uid());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

void ReqSiteDel::CopyFrom(const ReqSiteDel& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:ReqSiteDel)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

void ReqSiteDel::InternalSwap(ReqSiteDel* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  id_.InternalSwap(&other->id_);
  swap(uid_, other->uid_);
}

::PROTOBUF_NAMESPACE_ID::Metadata ReqSiteDel::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dsite_2eproto_getter, &descriptor_table_mod_2dsite_2eproto_once,
      file_level_metadata_mod_2dsite_2eproto[4]);
}

// @@protoc_insertion_point(namespace_scope)
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::RetSiteInfoElement*
Arena::CreateMaybeMessage< ::RetSiteInfoElement >(Arena* arena) {
  return Arena::CreateMessageInternal< ::RetSiteInfoElement >(arena);
}
template<> PROTOBUF_NOINLINE ::RetSiteParamElement*
Arena::CreateMaybeMessage< ::RetSiteParamElement >(Arena* arena) {
  return Arena::CreateMessageInternal< ::RetSiteParamElement >(arena);
}
template<> PROTOBUF_NOINLINE ::ReqSiteParamUpdate*
Arena::CreateMaybeMessage< ::ReqSiteParamUpdate >(Arena* arena) {
  return Arena::CreateMessageInternal< ::ReqSiteParamUpdate >(arena);
}
template<> PROTOBUF_NOINLINE ::ReqSiteAdd*
Arena::CreateMaybeMessage< ::ReqSiteAdd >(Arena* arena) {
  return Arena::CreateMessageInternal< ::ReqSiteAdd >(arena);
}
template<> PROTOBUF_NOINLINE ::ReqSiteDel*
Arena::CreateMaybeMessage< ::ReqSiteDel >(Arena* arena) {
  return Arena::CreateMessageInternal< ::ReqSiteDel >(arena);
}
PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
