text: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: server/server_model.proto
  
  #include "server/server_model.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>
  namespace mruv {
  namespace server {
  class ServerIDDefaultTypeInternal {
   public:
    ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ServerID> _instance;
  } _ServerID_default_instance_;
  class ServerInfoDefaultTypeInternal {
   public:
    ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ServerInfo> _instance;
  } _ServerInfo_default_instance_;
  }  // namespace server
  }  // namespace mruv
  static void InitDefaultsscc_info_ServerID_server_2fserver_5fmodel_2eproto() {
    GOOGLE_PROTOBUF_VERIFY_VERSION;
  
    {
      void* ptr = &::mruv::server::_ServerID_default_instance_;
      new (ptr) ::mruv::server::ServerID();
      ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
    }
    ::mruv::server::ServerID::InitAsDefaultInstance();
  }
  
  ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ServerID_server_2fserver_5fmodel_2eproto =
      {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ServerID_server_2fserver_5fmodel_2eproto}, {}};
  
  static void InitDefaultsscc_info_ServerInfo_server_2fserver_5fmodel_2eproto() {
    GOOGLE_PROTOBUF_VERIFY_VERSION;
  
    {
      void* ptr = &::mruv::server::_ServerInfo_default_instance_;
      new (ptr) ::mruv::server::ServerInfo();
      ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
    }
    ::mruv::server::ServerInfo::InitAsDefaultInstance();
  }
  
  ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ServerInfo_server_2fserver_5fmodel_2eproto =
      {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ServerInfo_server_2fserver_5fmodel_2eproto}, {}};
  
  static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_server_2fserver_5fmodel_2eproto[2];
  static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_server_2fserver_5fmodel_2eproto[1];
  static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_server_2fserver_5fmodel_2eproto = nullptr;
  
  const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_server_2fserver_5fmodel_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
    ~0u,  // no _has_bits_
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerID, _internal_metadata_),
    ~0u,  // no _extensions_
    ~0u,  // no _oneof_case_
    ~0u,  // no _weak_field_map_
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerID, id_),
    ~0u,  // no _has_bits_
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, _internal_metadata_),
    ~0u,  // no _extensions_
    ~0u,  // no _oneof_case_
    ~0u,  // no _weak_field_map_
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, id_),
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, name_),
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, host_),
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, port_),
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, platform_),
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, status_),
    PROTOBUF_FIELD_OFFSET(::mruv::server::ServerInfo, players_),
  };
  static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
    { 0, -1, sizeof(::mruv::server::ServerID)},
    { 6, -1, sizeof(::mruv::server::ServerInfo)},
  };
  
  static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
    reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::mruv::server::_ServerID_default_instance_),
    reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::mruv::server::_ServerInfo_default_instance_),
  };
  
  const char descriptor_table_protodef_server_2fserver_5fmodel_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
    "\n\031server/server_model.proto\022\013mruv.server"
    "\"\026\n\010ServerID\022\n\n\002id\030\001 \001(\r\"\220\001\n\nServerInfo\022"
    "\n\n\002id\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n\004host\030\003 \001(\t\022"
    "\014\n\004port\030\004 \001(\t\022\020\n\010platform\030\005 \001(\t\022)\n\006statu"
    "s\030\006 \001(\0162\031.mruv.server.ServerStatus\022\017\n\007pl"
    "ayers\030\007 \001(\r*,\n\014ServerStatus\022\013\n\007UNKNOWN\020\000"
    "\022\006\n\002ON\020\001\022\007\n\003OFF\020\002B&Z$github.com/MruV-RP/"
    "mruv-pb-go/serverb\006proto3"
    ;
  static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_server_2fserver_5fmodel_2eproto_deps[1] = {
  };
  static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_server_2fserver_5fmodel_2eproto_sccs[2] = {
    &scc_info_ServerID_server_2fserver_5fmodel_2eproto.base,
    &scc_info_ServerInfo_server_2fserver_5fmodel_2eproto.base,
  };
  static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_server_2fserver_5fmodel_2eproto_once;
  const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_server_2fserver_5fmodel_2eproto = {
    false, false, descriptor_table_protodef_server_2fserver_5fmodel_2eproto, "server/server_model.proto", 305,
    &descriptor_table_server_2fserver_5fmodel_2eproto_once, descriptor_table_server_2fserver_5fmodel_2eproto_sccs, descriptor_table_server_2fserver_5fmodel_2eproto_deps, 2, 0,
    schemas, file_default_instances, TableStruct_server_2fserver_5fmodel_2eproto::offsets,
    file_level_metadata_server_2fserver_5fmodel_2eproto, 2, file_level_enum_descriptors_server_2fserver_5fmodel_2eproto, file_level_service_descriptors_server_2fserver_5fmodel_2eproto,
  };
  
  // Force running AddDescriptors() at dynamic initialization time.
  static bool dynamic_init_dummy_server_2fserver_5fmodel_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_server_2fserver_5fmodel_2eproto)), true);
  namespace mruv {
  namespace server {
  const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ServerStatus_descriptor() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_server_2fserver_5fmodel_2eproto);
    return file_level_enum_descriptors_server_2fserver_5fmodel_2eproto[0];
  }
  bool ServerStatus_IsValid(int value) {
    switch (value) {
      case 0:
      case 1:
      case 2:
        return true;
      default:
        return false;
    }
  }
  
  
  // ===================================================================
  
  void ServerID::InitAsDefaultInstance() {
  }
  class ServerID::_Internal {
   public:
  };
  
  ServerID::ServerID(::PROTOBUF_NAMESPACE_ID::Arena* arena)
    : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
    SharedCtor();
    RegisterArenaDtor(arena);
    // @@protoc_insertion_point(arena_constructor:mruv.server.ServerID)
  }
  ServerID::ServerID(const ServerID& from)
    : ::PROTOBUF_NAMESPACE_ID::Message() {
    _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
    id_ = from.id_;
    // @@protoc_insertion_point(copy_constructor:mruv.server.ServerID)
  }
  
  void ServerID::SharedCtor() {
    id_ = 0u;
  }
  
  ServerID::~ServerID() {
    // @@protoc_insertion_point(destructor:mruv.server.ServerID)
    SharedDtor();
    _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }
  
  void ServerID::SharedDtor() {
    GOOGLE_DCHECK(GetArena() == nullptr);
  }
  
  void ServerID::ArenaDtor(void* object) {
    ServerID* _this = reinterpret_cast< ServerID* >(object);
    (void)_this;
  }
  void ServerID::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
  }
  void ServerID::SetCachedSize(int size) const {
    _cached_size_.Set(size);
  }
  const ServerID& ServerID::default_instance() {
    ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ServerID_server_2fserver_5fmodel_2eproto.base);
    return *internal_default_instance();
  }
  
  
  void ServerID::Clear() {
  // @@protoc_insertion_point(message_clear_start:mruv.server.ServerID)
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    id_ = 0u;
    _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }
  
  const char* ServerID::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
    ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
    while (!ctx->Done(&ptr)) {
      ::PROTOBUF_NAMESPACE_ID::uint32 tag;
      ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
      CHK_(ptr);
      switch (tag >> 3) {
        // uint32 id = 1;
        case 1:
          if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
            id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
            CHK_(ptr);
          } else goto handle_unusual;
          continue;
        default: {
        handle_unusual:
          if ((tag & 7) == 4 || tag == 0) {
            ctx->SetLastTag(tag);
            goto success;
          }
          ptr = UnknownFieldParse(tag,
              _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
              ptr, ctx);
          CHK_(ptr != nullptr);
          continue;
        }
      }  // switch
    }  // while
  success:
    return ptr;
  failure:
    ptr = nullptr;
    goto success;
  #undef CHK_
  }
  
  ::PROTOBUF_NAMESPACE_ID::uint8* ServerID::_InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
    // @@protoc_insertion_point(serialize_to_array_start:mruv.server.ServerID)
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // uint32 id = 1;
    if (this->id() != 0) {
      target = stream->EnsureSpace(target);
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target);
    }
  
    if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
      target = ::PROTOBUF_NAMESPACE_ID::internal::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:mruv.server.ServerID)
    return target;
  }
  
  size_t ServerID::ByteSizeLong() const {
  // @@protoc_insertion_point(message_byte_size_start:mruv.server.ServerID)
    size_t total_size = 0;
  
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    // uint32 id = 1;
    if (this->id() != 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
          this->_internal_id());
    }
  
    if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
      return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
          _internal_metadata_, total_size, &_cached_size_);
    }
    int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
    SetCachedSize(cached_size);
    return total_size;
  }
  
  void ServerID::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  // @@protoc_insertion_point(generalized_merge_from_start:mruv.server.ServerID)
    GOOGLE_DCHECK_NE(&from, this);
    const ServerID* source =
        ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ServerID>(
            &from);
    if (source == nullptr) {
    // @@protoc_insertion_point(generalized_merge_from_cast_fail:mruv.server.ServerID)
      ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
    } else {
    // @@protoc_insertion_point(generalized_merge_from_cast_success:mruv.server.ServerID)
      MergeFrom(*source);
    }
  }
  
  void ServerID::MergeFrom(const ServerID& from) {
  // @@protoc_insertion_point(class_specific_merge_from_start:mruv.server.ServerID)
    GOOGLE_DCHECK_NE(&from, this);
    _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    if (from.id() != 0) {
      _internal_set_id(from._internal_id());
    }
  }
  
  void ServerID::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  // @@protoc_insertion_point(generalized_copy_from_start:mruv.server.ServerID)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  void ServerID::CopyFrom(const ServerID& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:mruv.server.ServerID)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  bool ServerID::IsInitialized() const {
    return true;
  }
  
  void ServerID::InternalSwap(ServerID* other) {
    using std::swap;
    _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
    swap(id_, other->id_);
  }
  
  ::PROTOBUF_NAMESPACE_ID::Metadata ServerID::GetMetadata() const {
    return GetMetadataStatic();
  }
  
  
  // ===================================================================
  
  void ServerInfo::InitAsDefaultInstance() {
  }
  class ServerInfo::_Internal {
   public:
  };
  
  ServerInfo::ServerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
    : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
    SharedCtor();
    RegisterArenaDtor(arena);
    // @@protoc_insertion_point(arena_constructor:mruv.server.ServerInfo)
  }
  ServerInfo::ServerInfo(const ServerInfo& from)
    : ::PROTOBUF_NAMESPACE_ID::Message() {
    _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
    name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    if (!from._internal_name().empty()) {
      name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
        GetArena());
    }
    host_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    if (!from._internal_host().empty()) {
      host_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_host(),
        GetArena());
    }
    port_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    if (!from._internal_port().empty()) {
      port_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_port(),
        GetArena());
    }
    platform_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    if (!from._internal_platform().empty()) {
      platform_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_platform(),
        GetArena());
    }
    ::memcpy(&id_, &from.id_,
      static_cast<size_t>(reinterpret_cast<char*>(&players_) -
      reinterpret_cast<char*>(&id_)) + sizeof(players_));
    // @@protoc_insertion_point(copy_constructor:mruv.server.ServerInfo)
  }
  
  void ServerInfo::SharedCtor() {
    ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ServerInfo_server_2fserver_5fmodel_2eproto.base);
    name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    host_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    port_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    platform_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    ::memset(&id_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&players_) -
        reinterpret_cast<char*>(&id_)) + sizeof(players_));
  }
  
  ServerInfo::~ServerInfo() {
    // @@protoc_insertion_point(destructor:mruv.server.ServerInfo)
    SharedDtor();
    _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }
  
  void ServerInfo::SharedDtor() {
    GOOGLE_DCHECK(GetArena() == nullptr);
    name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    host_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    port_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
    platform_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  }
  
  void ServerInfo::ArenaDtor(void* object) {
    ServerInfo* _this = reinterpret_cast< ServerInfo* >(object);
    (void)_this;
  }
  void ServerInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
  }
  void ServerInfo::SetCachedSize(int size) const {
    _cached_size_.Set(size);
  }
  const ServerInfo& ServerInfo::default_instance() {
    ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ServerInfo_server_2fserver_5fmodel_2eproto.base);
    return *internal_default_instance();
  }
  
  
  void ServerInfo::Clear() {
  // @@protoc_insertion_point(message_clear_start:mruv.server.ServerInfo)
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    host_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    port_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    platform_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    ::memset(&id_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&players_) -
        reinterpret_cast<char*>(&id_)) + sizeof(players_));
    _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }
  
  const char* ServerInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
    ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
    while (!ctx->Done(&ptr)) {
      ::PROTOBUF_NAMESPACE_ID::uint32 tag;
      ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
      CHK_(ptr);
      switch (tag >> 3) {
        // uint32 id = 1;
        case 1:
          if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(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<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
            auto str = _internal_mutable_name();
            ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
            CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "mruv.server.ServerInfo.name"));
            CHK_(ptr);
          } else goto handle_unusual;
          continue;
        // string host = 3;
        case 3:
          if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
            auto str = _internal_mutable_host();
            ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
            CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "mruv.server.ServerInfo.host"));
            CHK_(ptr);
          } else goto handle_unusual;
          continue;
        // string port = 4;
        case 4:
          if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
            auto str = _internal_mutable_port();
            ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
            CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "mruv.server.ServerInfo.port"));
            CHK_(ptr);
          } else goto handle_unusual;
          continue;
        // string platform = 5;
        case 5:
          if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
            auto str = _internal_mutable_platform();
            ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
            CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "mruv.server.ServerInfo.platform"));
            CHK_(ptr);
          } else goto handle_unusual;
          continue;
        // .mruv.server.ServerStatus status = 6;
        case 6:
          if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
            ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
            CHK_(ptr);
            _internal_set_status(static_cast<::mruv::server::ServerStatus>(val));
          } else goto handle_unusual;
          continue;
        // uint32 players = 7;
        case 7:
          if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
            players_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
            CHK_(ptr);
          } else goto handle_unusual;
          continue;
        default: {
        handle_unusual:
          if ((tag & 7) == 4 || tag == 0) {
            ctx->SetLastTag(tag);
            goto success;
          }
          ptr = UnknownFieldParse(tag,
              _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
              ptr, ctx);
          CHK_(ptr != nullptr);
          continue;
        }
      }  // switch
    }  // while
  success:
    return ptr;
  failure:
    ptr = nullptr;
    goto success;
  #undef CHK_
  }
  
  ::PROTOBUF_NAMESPACE_ID::uint8* ServerInfo::_InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
    // @@protoc_insertion_point(serialize_to_array_start:mruv.server.ServerInfo)
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    // uint32 id = 1;
    if (this->id() != 0) {
      target = stream->EnsureSpace(target);
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target);
    }
  
    // string name = 2;
    if (this->name().size() > 0) {
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
        this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
        "mruv.server.ServerInfo.name");
      target = stream->WriteStringMaybeAliased(
          2, this->_internal_name(), target);
    }
  
    // string host = 3;
    if (this->host().size() > 0) {
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
        this->_internal_host().data(), static_cast<int>(this->_internal_host().length()),
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
        "mruv.server.ServerInfo.host");
      target = stream->WriteStringMaybeAliased(
          3, this->_internal_host(), target);
    }
  
    // string port = 4;
    if (this->port().size() > 0) {
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
        this->_internal_port().data(), static_cast<int>(this->_internal_port().length()),
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
        "mruv.server.ServerInfo.port");
      target = stream->WriteStringMaybeAliased(
          4, this->_internal_port(), target);
    }
  
    // string platform = 5;
    if (this->platform().size() > 0) {
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
        this->_internal_platform().data(), static_cast<int>(this->_internal_platform().length()),
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
        "mruv.server.ServerInfo.platform");
      target = stream->WriteStringMaybeAliased(
          5, this->_internal_platform(), target);
    }
  
    // .mruv.server.ServerStatus status = 6;
    if (this->status() != 0) {
      target = stream->EnsureSpace(target);
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
        6, this->_internal_status(), target);
    }
  
    // uint32 players = 7;
    if (this->players() != 0) {
      target = stream->EnsureSpace(target);
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_players(), target);
    }
  
    if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
      target = ::PROTOBUF_NAMESPACE_ID::internal::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:mruv.server.ServerInfo)
    return target;
  }
  
  size_t ServerInfo::ByteSizeLong() const {
  // @@protoc_insertion_point(message_byte_size_start:mruv.server.ServerInfo)
    size_t total_size = 0;
  
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    // Prevent compiler warnings about cached_has_bits being unused
    (void) cached_has_bits;
  
    // string name = 2;
    if (this->name().size() > 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_name());
    }
  
    // string host = 3;
    if (this->host().size() > 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_host());
    }
  
    // string port = 4;
    if (this->port().size() > 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_port());
    }
  
    // string platform = 5;
    if (this->platform().size() > 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_platform());
    }
  
    // uint32 id = 1;
    if (this->id() != 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
          this->_internal_id());
    }
  
    // .mruv.server.ServerStatus status = 6;
    if (this->status() != 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
    }
  
    // uint32 players = 7;
    if (this->players() != 0) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
          this->_internal_players());
    }
  
    if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
      return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
          _internal_metadata_, total_size, &_cached_size_);
    }
    int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
    SetCachedSize(cached_size);
    return total_size;
  }
  
  void ServerInfo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  // @@protoc_insertion_point(generalized_merge_from_start:mruv.server.ServerInfo)
    GOOGLE_DCHECK_NE(&from, this);
    const ServerInfo* source =
        ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ServerInfo>(
            &from);
    if (source == nullptr) {
    // @@protoc_insertion_point(generalized_merge_from_cast_fail:mruv.server.ServerInfo)
      ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
    } else {
    // @@protoc_insertion_point(generalized_merge_from_cast_success:mruv.server.ServerInfo)
      MergeFrom(*source);
    }
  }
  
  void ServerInfo::MergeFrom(const ServerInfo& from) {
  // @@protoc_insertion_point(class_specific_merge_from_start:mruv.server.ServerInfo)
    GOOGLE_DCHECK_NE(&from, this);
    _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
    ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
    (void) cached_has_bits;
  
    if (from.name().size() > 0) {
      _internal_set_name(from._internal_name());
    }
    if (from.host().size() > 0) {
      _internal_set_host(from._internal_host());
    }
    if (from.port().size() > 0) {
      _internal_set_port(from._internal_port());
    }
    if (from.platform().size() > 0) {
      _internal_set_platform(from._internal_platform());
    }
    if (from.id() != 0) {
      _internal_set_id(from._internal_id());
    }
    if (from.status() != 0) {
      _internal_set_status(from._internal_status());
    }
    if (from.players() != 0) {
      _internal_set_players(from._internal_players());
    }
  }
  
  void ServerInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  // @@protoc_insertion_point(generalized_copy_from_start:mruv.server.ServerInfo)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  void ServerInfo::CopyFrom(const ServerInfo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:mruv.server.ServerInfo)
    if (&from == this) return;
    Clear();
    MergeFrom(from);
  }
  
  bool ServerInfo::IsInitialized() const {
    return true;
  }
  
  void ServerInfo::InternalSwap(ServerInfo* other) {
    using std::swap;
    _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
    name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    host_.Swap(&other->host_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    port_.Swap(&other->port_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    platform_.Swap(&other->platform_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
    ::PROTOBUF_NAMESPACE_ID::internal::memswap<
        PROTOBUF_FIELD_OFFSET(ServerInfo, players_)
        + sizeof(ServerInfo::players_)
        - PROTOBUF_FIELD_OFFSET(ServerInfo, id_)>(
            reinterpret_cast<char*>(&id_),
            reinterpret_cast<char*>(&other->id_));
  }
  
  ::PROTOBUF_NAMESPACE_ID::Metadata ServerInfo::GetMetadata() const {
    return GetMetadataStatic();
  }
  
  
  // @@protoc_insertion_point(namespace_scope)
  }  // namespace server
  }  // namespace mruv
  PROTOBUF_NAMESPACE_OPEN
  template<> PROTOBUF_NOINLINE ::mruv::server::ServerID* Arena::CreateMaybeMessage< ::mruv::server::ServerID >(Arena* arena) {
    return Arena::CreateMessageInternal< ::mruv::server::ServerID >(arena);
  }
  template<> PROTOBUF_NOINLINE ::mruv::server::ServerInfo* Arena::CreateMaybeMessage< ::mruv::server::ServerInfo >(Arena* arena) {
    return Arena::CreateMessageInternal< ::mruv::server::ServerInfo >(arena);
  }
  PROTOBUF_NAMESPACE_CLOSE
  
  // @@protoc_insertion_point(global_scope)
  #include <google/protobuf/port_undef.inc>
  