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

#include "mod-service.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 ReqRetServiceElement::ReqRetServiceElement(
    ::_pbi::ConstantInitialized)
  : name_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , ip_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , remark_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , updatedt_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , id_(0)
  , port_(0){}
struct ReqRetServiceElementDefaultTypeInternal {
  PROTOBUF_CONSTEXPR ReqRetServiceElementDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~ReqRetServiceElementDefaultTypeInternal() {}
  union {
    ReqRetServiceElement _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReqRetServiceElementDefaultTypeInternal _ReqRetServiceElement_default_instance_;
PROTOBUF_CONSTEXPR ReqServiceFaultList::ReqServiceFaultList(
    ::_pbi::ConstantInitialized)
  : startdt_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , enddt_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , serviceid_(0){}
struct ReqServiceFaultListDefaultTypeInternal {
  PROTOBUF_CONSTEXPR ReqServiceFaultListDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~ReqServiceFaultListDefaultTypeInternal() {}
  union {
    ReqServiceFaultList _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReqServiceFaultListDefaultTypeInternal _ReqServiceFaultList_default_instance_;
PROTOBUF_CONSTEXPR RetServiceFaultElement::RetServiceFaultElement(
    ::_pbi::ConstantInitialized)
  : name_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , code_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , msg_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , startdt_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , enddt_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{})
  , id_(0)
  , grade_(0){}
struct RetServiceFaultElementDefaultTypeInternal {
  PROTOBUF_CONSTEXPR RetServiceFaultElementDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~RetServiceFaultElementDefaultTypeInternal() {}
  union {
    RetServiceFaultElement _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RetServiceFaultElementDefaultTypeInternal _RetServiceFaultElement_default_instance_;
static ::_pb::Metadata file_level_metadata_mod_2dservice_2eproto[3];
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_mod_2dservice_2eproto = nullptr;
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_mod_2dservice_2eproto = nullptr;

const uint32_t TableStruct_mod_2dservice_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::ReqRetServiceElement, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::ReqRetServiceElement, id_),
  PROTOBUF_FIELD_OFFSET(::ReqRetServiceElement, name_),
  PROTOBUF_FIELD_OFFSET(::ReqRetServiceElement, ip_),
  PROTOBUF_FIELD_OFFSET(::ReqRetServiceElement, port_),
  PROTOBUF_FIELD_OFFSET(::ReqRetServiceElement, remark_),
  PROTOBUF_FIELD_OFFSET(::ReqRetServiceElement, updatedt_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::ReqServiceFaultList, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::ReqServiceFaultList, serviceid_),
  PROTOBUF_FIELD_OFFSET(::ReqServiceFaultList, startdt_),
  PROTOBUF_FIELD_OFFSET(::ReqServiceFaultList, enddt_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, id_),
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, name_),
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, grade_),
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, code_),
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, msg_),
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, startdt_),
  PROTOBUF_FIELD_OFFSET(::RetServiceFaultElement, enddt_),
};
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  { 0, -1, -1, sizeof(::ReqRetServiceElement)},
  { 12, -1, -1, sizeof(::ReqServiceFaultList)},
  { 21, -1, -1, sizeof(::RetServiceFaultElement)},
};

static const ::_pb::Message* const file_default_instances[] = {
  &::_ReqRetServiceElement_default_instance_._instance,
  &::_ReqServiceFaultList_default_instance_._instance,
  &::_RetServiceFaultElement_default_instance_._instance,
};

const char descriptor_table_protodef_mod_2dservice_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  "\n\021mod-service.proto\"l\n\024ReqRetServiceElem"
  "ent\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\n\n\002ip\030\003 \001("
  "\t\022\014\n\004port\030\004 \001(\005\022\016\n\006remark\030\005 \001(\t\022\020\n\010updat"
  "eDt\030\006 \001(\t\"H\n\023ReqServiceFaultList\022\021\n\tserv"
  "iceId\030\001 \001(\005\022\017\n\007startDt\030\002 \001(\t\022\r\n\005endDt\030\003 "
  "\001(\t\"|\n\026RetServiceFaultElement\022\n\n\002id\030\001 \001("
  "\005\022\014\n\004name\030\002 \001(\t\022\r\n\005grade\030\003 \001(\005\022\014\n\004code\030\004"
  " \001(\t\022\013\n\003msg\030\005 \001(\t\022\017\n\007startDt\030\006 \001(\t\022\r\n\005en"
  "dDt\030\007 \001(\tB\014Z\n../protogob\006proto3"
  ;
static ::_pbi::once_flag descriptor_table_mod_2dservice_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_mod_2dservice_2eproto = {
    false, false, 351, descriptor_table_protodef_mod_2dservice_2eproto,
    "mod-service.proto",
    &descriptor_table_mod_2dservice_2eproto_once, nullptr, 0, 3,
    schemas, file_default_instances, TableStruct_mod_2dservice_2eproto::offsets,
    file_level_metadata_mod_2dservice_2eproto, file_level_enum_descriptors_mod_2dservice_2eproto,
    file_level_service_descriptors_mod_2dservice_2eproto,
};
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_mod_2dservice_2eproto_getter() {
  return &descriptor_table_mod_2dservice_2eproto;
}

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

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

class ReqRetServiceElement::_Internal {
 public:
};

ReqRetServiceElement::ReqRetServiceElement(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:ReqRetServiceElement)
}
ReqRetServiceElement::ReqRetServiceElement(const ReqRetServiceElement& 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());
  }
  ip_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    ip_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_ip().empty()) {
    ip_.Set(from._internal_ip(), 
      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());
  }
  updatedt_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    updatedt_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_updatedt().empty()) {
    updatedt_.Set(from._internal_updatedt(), 
      GetArenaForAllocation());
  }
  ::memcpy(&id_, &from.id_,
    static_cast<size_t>(reinterpret_cast<char*>(&port_) -
    reinterpret_cast<char*>(&id_)) + sizeof(port_));
  // @@protoc_insertion_point(copy_constructor:ReqRetServiceElement)
}

inline void ReqRetServiceElement::SharedCtor() {
name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
ip_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  ip_.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
updatedt_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  updatedt_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&id_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&port_) -
    reinterpret_cast<char*>(&id_)) + sizeof(port_));
}

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

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

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

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

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

const char* ReqRetServiceElement::_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, "ReqRetServiceElement.name"));
        } else
          goto handle_unusual;
        continue;
      // string ip = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
          auto str = _internal_mutable_ip();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "ReqRetServiceElement.ip"));
        } else
          goto handle_unusual;
        continue;
      // int32 port = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
          port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string remark = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
          auto str = _internal_mutable_remark();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "ReqRetServiceElement.remark"));
        } else
          goto handle_unusual;
        continue;
      // string updateDt = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
          auto str = _internal_mutable_updatedt();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "ReqRetServiceElement.updateDt"));
        } 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* ReqRetServiceElement::_InternalSerialize(
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:ReqRetServiceElement)
  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,
      "ReqRetServiceElement.name");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_name(), target);
  }

  // string ip = 3;
  if (!this->_internal_ip().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_ip().data(), static_cast<int>(this->_internal_ip().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "ReqRetServiceElement.ip");
    target = stream->WriteStringMaybeAliased(
        3, this->_internal_ip(), target);
  }

  // int32 port = 4;
  if (this->_internal_port() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_port(), target);
  }

  // string remark = 5;
  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,
      "ReqRetServiceElement.remark");
    target = stream->WriteStringMaybeAliased(
        5, this->_internal_remark(), target);
  }

  // string updateDt = 6;
  if (!this->_internal_updatedt().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_updatedt().data(), static_cast<int>(this->_internal_updatedt().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "ReqRetServiceElement.updateDt");
    target = stream->WriteStringMaybeAliased(
        6, this->_internal_updatedt(), 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:ReqRetServiceElement)
  return target;
}

size_t ReqRetServiceElement::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:ReqRetServiceElement)
  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 ip = 3;
  if (!this->_internal_ip().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_ip());
  }

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

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

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

  // int32 port = 4;
  if (this->_internal_port() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_port());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

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

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


void ReqRetServiceElement::MergeFrom(const ReqRetServiceElement& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:ReqRetServiceElement)
  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_ip().empty()) {
    _internal_set_ip(from._internal_ip());
  }
  if (!from._internal_remark().empty()) {
    _internal_set_remark(from._internal_remark());
  }
  if (!from._internal_updatedt().empty()) {
    _internal_set_updatedt(from._internal_updatedt());
  }
  if (from._internal_id() != 0) {
    _internal_set_id(from._internal_id());
  }
  if (from._internal_port() != 0) {
    _internal_set_port(from._internal_port());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

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

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

void ReqRetServiceElement::InternalSwap(ReqRetServiceElement* 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(
      &ip_, lhs_arena,
      &other->ip_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &remark_, lhs_arena,
      &other->remark_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &updatedt_, lhs_arena,
      &other->updatedt_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ReqRetServiceElement, port_)
      + sizeof(ReqRetServiceElement::port_)
      - PROTOBUF_FIELD_OFFSET(ReqRetServiceElement, id_)>(
          reinterpret_cast<char*>(&id_),
          reinterpret_cast<char*>(&other->id_));
}

::PROTOBUF_NAMESPACE_ID::Metadata ReqRetServiceElement::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dservice_2eproto_getter, &descriptor_table_mod_2dservice_2eproto_once,
      file_level_metadata_mod_2dservice_2eproto[0]);
}

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

class ReqServiceFaultList::_Internal {
 public:
};

ReqServiceFaultList::ReqServiceFaultList(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:ReqServiceFaultList)
}
ReqServiceFaultList::ReqServiceFaultList(const ReqServiceFaultList& from)
  : ::PROTOBUF_NAMESPACE_ID::Message() {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  startdt_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    startdt_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_startdt().empty()) {
    startdt_.Set(from._internal_startdt(), 
      GetArenaForAllocation());
  }
  enddt_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    enddt_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_enddt().empty()) {
    enddt_.Set(from._internal_enddt(), 
      GetArenaForAllocation());
  }
  serviceid_ = from.serviceid_;
  // @@protoc_insertion_point(copy_constructor:ReqServiceFaultList)
}

inline void ReqServiceFaultList::SharedCtor() {
startdt_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  startdt_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
enddt_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  enddt_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
serviceid_ = 0;
}

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

inline void ReqServiceFaultList::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  startdt_.Destroy();
  enddt_.Destroy();
}

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

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

  startdt_.ClearToEmpty();
  enddt_.ClearToEmpty();
  serviceid_ = 0;
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* ReqServiceFaultList::_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 serviceId = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
          serviceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string startDt = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
          auto str = _internal_mutable_startdt();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "ReqServiceFaultList.startDt"));
        } else
          goto handle_unusual;
        continue;
      // string endDt = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
          auto str = _internal_mutable_enddt();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "ReqServiceFaultList.endDt"));
        } 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* ReqServiceFaultList::_InternalSerialize(
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:ReqServiceFaultList)
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

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

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

  // string endDt = 3;
  if (!this->_internal_enddt().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_enddt().data(), static_cast<int>(this->_internal_enddt().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "ReqServiceFaultList.endDt");
    target = stream->WriteStringMaybeAliased(
        3, this->_internal_enddt(), 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:ReqServiceFaultList)
  return target;
}

size_t ReqServiceFaultList::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:ReqServiceFaultList)
  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 startDt = 2;
  if (!this->_internal_startdt().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_startdt());
  }

  // string endDt = 3;
  if (!this->_internal_enddt().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_enddt());
  }

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

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

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

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


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

  if (!from._internal_startdt().empty()) {
    _internal_set_startdt(from._internal_startdt());
  }
  if (!from._internal_enddt().empty()) {
    _internal_set_enddt(from._internal_enddt());
  }
  if (from._internal_serviceid() != 0) {
    _internal_set_serviceid(from._internal_serviceid());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

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

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

void ReqServiceFaultList::InternalSwap(ReqServiceFaultList* 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(
      &startdt_, lhs_arena,
      &other->startdt_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &enddt_, lhs_arena,
      &other->enddt_, rhs_arena
  );
  swap(serviceid_, other->serviceid_);
}

::PROTOBUF_NAMESPACE_ID::Metadata ReqServiceFaultList::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dservice_2eproto_getter, &descriptor_table_mod_2dservice_2eproto_once,
      file_level_metadata_mod_2dservice_2eproto[1]);
}

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

class RetServiceFaultElement::_Internal {
 public:
};

RetServiceFaultElement::RetServiceFaultElement(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor();
  // @@protoc_insertion_point(arena_constructor:RetServiceFaultElement)
}
RetServiceFaultElement::RetServiceFaultElement(const RetServiceFaultElement& 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());
  }
  code_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    code_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_code().empty()) {
    code_.Set(from._internal_code(), 
      GetArenaForAllocation());
  }
  msg_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    msg_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_msg().empty()) {
    msg_.Set(from._internal_msg(), 
      GetArenaForAllocation());
  }
  startdt_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    startdt_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_startdt().empty()) {
    startdt_.Set(from._internal_startdt(), 
      GetArenaForAllocation());
  }
  enddt_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    enddt_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (!from._internal_enddt().empty()) {
    enddt_.Set(from._internal_enddt(), 
      GetArenaForAllocation());
  }
  ::memcpy(&id_, &from.id_,
    static_cast<size_t>(reinterpret_cast<char*>(&grade_) -
    reinterpret_cast<char*>(&id_)) + sizeof(grade_));
  // @@protoc_insertion_point(copy_constructor:RetServiceFaultElement)
}

inline void RetServiceFaultElement::SharedCtor() {
name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
code_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  code_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
msg_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  msg_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
startdt_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  startdt_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
enddt_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  enddt_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&id_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&grade_) -
    reinterpret_cast<char*>(&id_)) + sizeof(grade_));
}

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

inline void RetServiceFaultElement::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  name_.Destroy();
  code_.Destroy();
  msg_.Destroy();
  startdt_.Destroy();
  enddt_.Destroy();
}

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

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

  name_.ClearToEmpty();
  code_.ClearToEmpty();
  msg_.ClearToEmpty();
  startdt_.ClearToEmpty();
  enddt_.ClearToEmpty();
  ::memset(&id_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&grade_) -
      reinterpret_cast<char*>(&id_)) + sizeof(grade_));
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* RetServiceFaultElement::_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, "RetServiceFaultElement.name"));
        } else
          goto handle_unusual;
        continue;
      // int32 grade = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
          grade_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string code = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
          auto str = _internal_mutable_code();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetServiceFaultElement.code"));
        } else
          goto handle_unusual;
        continue;
      // string msg = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
          auto str = _internal_mutable_msg();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetServiceFaultElement.msg"));
        } else
          goto handle_unusual;
        continue;
      // string startDt = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
          auto str = _internal_mutable_startdt();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetServiceFaultElement.startDt"));
        } else
          goto handle_unusual;
        continue;
      // string endDt = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
          auto str = _internal_mutable_enddt();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          CHK_(::_pbi::VerifyUTF8(str, "RetServiceFaultElement.endDt"));
        } 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* RetServiceFaultElement::_InternalSerialize(
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:RetServiceFaultElement)
  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,
      "RetServiceFaultElement.name");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_name(), target);
  }

  // int32 grade = 3;
  if (this->_internal_grade() != 0) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_grade(), target);
  }

  // string code = 4;
  if (!this->_internal_code().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_code().data(), static_cast<int>(this->_internal_code().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetServiceFaultElement.code");
    target = stream->WriteStringMaybeAliased(
        4, this->_internal_code(), target);
  }

  // string msg = 5;
  if (!this->_internal_msg().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_msg().data(), static_cast<int>(this->_internal_msg().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetServiceFaultElement.msg");
    target = stream->WriteStringMaybeAliased(
        5, this->_internal_msg(), target);
  }

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

  // string endDt = 7;
  if (!this->_internal_enddt().empty()) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_enddt().data(), static_cast<int>(this->_internal_enddt().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
      "RetServiceFaultElement.endDt");
    target = stream->WriteStringMaybeAliased(
        7, this->_internal_enddt(), 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:RetServiceFaultElement)
  return target;
}

size_t RetServiceFaultElement::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:RetServiceFaultElement)
  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 code = 4;
  if (!this->_internal_code().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_code());
  }

  // string msg = 5;
  if (!this->_internal_msg().empty()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
        this->_internal_msg());
  }

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

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

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

  // int32 grade = 3;
  if (this->_internal_grade() != 0) {
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_grade());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

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

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


void RetServiceFaultElement::MergeFrom(const RetServiceFaultElement& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:RetServiceFaultElement)
  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_code().empty()) {
    _internal_set_code(from._internal_code());
  }
  if (!from._internal_msg().empty()) {
    _internal_set_msg(from._internal_msg());
  }
  if (!from._internal_startdt().empty()) {
    _internal_set_startdt(from._internal_startdt());
  }
  if (!from._internal_enddt().empty()) {
    _internal_set_enddt(from._internal_enddt());
  }
  if (from._internal_id() != 0) {
    _internal_set_id(from._internal_id());
  }
  if (from._internal_grade() != 0) {
    _internal_set_grade(from._internal_grade());
  }
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

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

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

void RetServiceFaultElement::InternalSwap(RetServiceFaultElement* 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(
      &code_, lhs_arena,
      &other->code_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &msg_, lhs_arena,
      &other->msg_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &startdt_, lhs_arena,
      &other->startdt_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &enddt_, lhs_arena,
      &other->enddt_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(RetServiceFaultElement, grade_)
      + sizeof(RetServiceFaultElement::grade_)
      - PROTOBUF_FIELD_OFFSET(RetServiceFaultElement, id_)>(
          reinterpret_cast<char*>(&id_),
          reinterpret_cast<char*>(&other->id_));
}

::PROTOBUF_NAMESPACE_ID::Metadata RetServiceFaultElement::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_mod_2dservice_2eproto_getter, &descriptor_table_mod_2dservice_2eproto_once,
      file_level_metadata_mod_2dservice_2eproto[2]);
}

// @@protoc_insertion_point(namespace_scope)
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::ReqRetServiceElement*
Arena::CreateMaybeMessage< ::ReqRetServiceElement >(Arena* arena) {
  return Arena::CreateMessageInternal< ::ReqRetServiceElement >(arena);
}
template<> PROTOBUF_NOINLINE ::ReqServiceFaultList*
Arena::CreateMaybeMessage< ::ReqServiceFaultList >(Arena* arena) {
  return Arena::CreateMessageInternal< ::ReqServiceFaultList >(arena);
}
template<> PROTOBUF_NOINLINE ::RetServiceFaultElement*
Arena::CreateMaybeMessage< ::RetServiceFaultElement >(Arena* arena) {
  return Arena::CreateMessageInternal< ::RetServiceFaultElement >(arena);
}
PROTOBUF_NAMESPACE_CLOSE

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