// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: components/sync/protocol/skill_specifics.proto
// Protobuf C++ Version: 7.35.1

#include "components/sync/protocol/skill_specifics.pb.h"

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

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace sync_pb {
class SimpleSkill::_Internal {
 public:
  using HasBits = decltype(::std::declval<SimpleSkill>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(SimpleSkill, _impl_._has_bits_);
};

constexpr SimpleSkill::ParseTableT_ SimpleSkill::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SimpleSkill, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SimpleSkill>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string description = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SimpleSkill, _impl_.description_)}},
      // optional string prompt = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SimpleSkill, _impl_.prompt_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string prompt = 1;
      {PROTOBUF_FIELD_OFFSET(SimpleSkill, _impl_.prompt_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string description = 2;
      {PROTOBUF_FIELD_OFFSET(SimpleSkill, _impl_.description_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr SimpleSkill::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        prompt_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        description_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

template <typename>
constexpr SimpleSkill::SimpleSkill(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL SimpleSkill::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SimpleSkill(arena);
}
constexpr auto SimpleSkill::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SimpleSkill), alignof(SimpleSkill));
}
constexpr auto SimpleSkill::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &SimpleSkill::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SimpleSkill>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SimpleSkill::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SimpleSkill>(), &SimpleSkill::ByteSizeLong,
              &SimpleSkill::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SimpleSkill, _impl_._cached_size_),
          true,
      },
      "sync_pb.SimpleSkill",
  };
}
struct SimpleSkillGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SimpleSkillGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SimpleSkill_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SimpleSkill::InternalGenerateClassData_(
            _default, &SimpleSkill_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SimpleSkill>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SimpleSkillGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SimpleSkill _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SimpleSkill>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SimpleSkillGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SimpleSkillGlobalsTypeInternal SimpleSkill_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SimpleSkill_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SimpleSkill_globals_.GetClassData();
#else
  return SimpleSkill_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class SkillSpecifics::_Internal {
 public:
  using HasBits = decltype(::std::declval<SkillSpecifics>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_._has_bits_);
};

constexpr SkillSpecifics::ParseTableT_ SkillSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      9, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966784,  // skipmap
      offsetof(ParseTableT_, field_entries),
      9,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SkillSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string guid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.guid_)}},
      // optional string name = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.name_)}},
      // optional string icon = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.icon_)}},
      // optional .sync_pb.SimpleSkill simple_skill = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 4, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.simple_skill_)}},
      // optional int64 creation_time_windows_epoch_micros = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 5, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.creation_time_windows_epoch_micros_)}},
      // optional int64 last_update_time_windows_epoch_micros = 6;
      {::_pbi::TcParser::FastV64S1,
       {48, 6, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.last_update_time_windows_epoch_micros_)}},
      // optional int32 schema_version = 7;
      {::_pbi::TcParser::FastV32S1,
       {56, 7, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.schema_version_)}},
      // optional .sync_pb.SkillSource skill_source = 8;
      {::_pbi::TcParser::FastEr0S1,
       {64, 8, 5,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.skill_source_)}},
      // optional string source_skill_id = 9;
      {::_pbi::TcParser::FastBS1,
       {74, 3, 0,
        PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.source_skill_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string guid = 1;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.guid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string name = 2;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string icon = 3;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.icon_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.SimpleSkill simple_skill = 4;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.simple_skill_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 creation_time_windows_epoch_micros = 5;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.creation_time_windows_epoch_micros_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 last_update_time_windows_epoch_micros = 6;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.last_update_time_windows_epoch_micros_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int32 schema_version = 7;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.schema_version_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional .sync_pb.SkillSource skill_source = 8;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.skill_source_), _Internal::kHasBitsOffset + 8, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string source_skill_id = 9;
      {PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.source_skill_id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SimpleSkill>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SimpleSkill_globals_},
        #endif
        {0, 5},
    }},
    {{
    }},
  };
}


inline constexpr SkillSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        icon_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        source_skill_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        simple_skill_{nullptr},
        creation_time_windows_epoch_micros_{::int64_t{0}},
        last_update_time_windows_epoch_micros_{::int64_t{0}},
        schema_version_{0},
        skill_source_{static_cast< ::sync_pb::SkillSource >(0)} {}

template <typename>
constexpr SkillSpecifics::SkillSpecifics(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL SkillSpecifics::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SkillSpecifics(arena);
}
constexpr auto SkillSpecifics::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SkillSpecifics), alignof(SkillSpecifics));
}
constexpr auto SkillSpecifics::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &SkillSpecifics::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SkillSpecifics>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SkillSpecifics::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SkillSpecifics>(), &SkillSpecifics::ByteSizeLong,
              &SkillSpecifics::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_._cached_size_),
          true,
      },
      "sync_pb.SkillSpecifics",
  };
}
struct SkillSpecificsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SkillSpecificsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SkillSpecifics_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SkillSpecifics::InternalGenerateClassData_(
            _default, &SkillSpecifics_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SkillSpecifics>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SkillSpecificsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SkillSpecifics _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SkillSpecifics>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SkillSpecificsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SkillSpecificsGlobalsTypeInternal SkillSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SkillSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SkillSpecifics_globals_.GetClassData();
#else
  return SkillSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t SkillSource_internal_data_[] = {
    393216u, 0u, };
static const char SkillSource_names[] = {
    "SKILL_SOURCE_DERIVED_FROM_ENTERPRISE"
    "SKILL_SOURCE_DERIVED_FROM_FIRST_PARTY"
    "SKILL_SOURCE_ENTERPRISE"
    "SKILL_SOURCE_FIRST_PARTY"
    "SKILL_SOURCE_UNKNOWN"
    "SKILL_SOURCE_USER_CREATED"
};

static const ::google::protobuf::internal::EnumEntry SkillSource_entries[] = {
    {{&SkillSource_names[0], 36}, 5},
    {{&SkillSource_names[36], 37}, 3},
    {{&SkillSource_names[73], 23}, 4},
    {{&SkillSource_names[96], 24}, 1},
    {{&SkillSource_names[120], 20}, 0},
    {{&SkillSource_names[140], 25}, 2},
};

static const int SkillSource_entries_by_number[] = {
    4,  // 0 -> SKILL_SOURCE_UNKNOWN
    3,  // 1 -> SKILL_SOURCE_FIRST_PARTY
    5,  // 2 -> SKILL_SOURCE_USER_CREATED
    1,  // 3 -> SKILL_SOURCE_DERIVED_FROM_FIRST_PARTY
    2,  // 4 -> SKILL_SOURCE_ENTERPRISE
    0,  // 5 -> SKILL_SOURCE_DERIVED_FROM_ENTERPRISE
};

bool SkillSource_Parse(::absl::string_view name,
                                  SkillSource* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      SkillSource_entries, 6, name, &int_value);
  if (success) {
    *value = static_cast<SkillSource>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    SkillSource_strings[6] = {};

const ::std::string& SkillSource_Name(SkillSource value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      SkillSource_entries, SkillSource_entries_by_number, 6,
      SkillSource_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(SkillSource_entries,
                                  SkillSource_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : SkillSource_strings[idx].get();
}
// ===================================================================

SkillSpecifics::SkillSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SkillSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SkillSpecifics)
}
PROTOBUF_NDEBUG_INLINE SkillSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::SkillSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        guid_(arena, from.guid_),
        name_(arena, from.name_),
        icon_(arena, from.icon_),
        source_skill_id_(arena, from.source_skill_id_) {}

SkillSpecifics::SkillSpecifics(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const SkillSpecifics& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SkillSpecifics_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SkillSpecifics* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.simple_skill_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.simple_skill_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, creation_time_windows_epoch_micros_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, creation_time_windows_epoch_micros_),
           offsetof(Impl_, skill_source_) -
               offsetof(Impl_, creation_time_windows_epoch_micros_) +
               sizeof(Impl_::skill_source_));

  // @@protoc_insertion_point(copy_constructor:sync_pb.SkillSpecifics)
}
PROTOBUF_NDEBUG_INLINE SkillSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        guid_(arena),
        name_(arena),
        icon_(arena),
        source_skill_id_(arena) {}

inline void SkillSpecifics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, simple_skill_),
           0,
           offsetof(Impl_, skill_source_) -
               offsetof(Impl_, simple_skill_) +
               sizeof(Impl_::skill_source_));
}
SkillSpecifics::~SkillSpecifics() {
  // @@protoc_insertion_point(destructor:sync_pb.SkillSpecifics)
  SharedDtor(*this);
}
inline void SkillSpecifics::SharedDtor(MessageLite& self) {
  SkillSpecifics& this_ = static_cast<SkillSpecifics&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.guid_.Destroy();
  this_._impl_.name_.Destroy();
  this_._impl_.icon_.Destroy();
  this_._impl_.source_skill_id_.Destroy();
  delete this_._impl_.simple_skill_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SkillSpecifics_class_data_ =
    SkillSpecifics::InternalGenerateClassData_(SkillSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SkillSpecifics::GetClassData() const {
  return SkillSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SkillSpecifics::GetClassData() const {
  return SkillSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SkillSpecifics::ParseTableT_
    SkillSpecifics::_table_ =
        SkillSpecifics::InternalGenerateParseTable_(SkillSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SkillSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SkillSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.guid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.icon_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.source_skill_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.simple_skill_ != nullptr);
      _impl_.simple_skill_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
    ::memset(&_impl_.creation_time_windows_epoch_micros_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.schema_version_) -
        reinterpret_cast<char*>(&_impl_.creation_time_windows_epoch_micros_)) + sizeof(_impl_.schema_version_));
  }
  _impl_.skill_source_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL SkillSpecifics::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const SkillSpecifics& this_ = static_cast<const SkillSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL SkillSpecifics::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const SkillSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:sync_pb.SkillSpecifics)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string guid = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_guid();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional string name = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_name();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // optional string icon = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_icon();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // optional .sync_pb.SimpleSkill simple_skill = 4;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.simple_skill_, this_._impl_.simple_skill_->GetCachedSize(), target,
        stream);
  }

  // optional int64 creation_time_windows_epoch_micros = 5;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
            stream, this_._internal_creation_time_windows_epoch_micros(), target);
  }

  // optional int64 last_update_time_windows_epoch_micros = 6;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
            stream, this_._internal_last_update_time_windows_epoch_micros(), target);
  }

  // optional int32 schema_version = 7;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
            stream, this_._internal_schema_version(), target);
  }

  // optional .sync_pb.SkillSource skill_source = 8;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        8, this_._internal_skill_source(), target);
  }

  // optional string source_skill_id = 9;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_source_skill_id();
    target = stream->WriteStringMaybeAliased(9, _s, target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:sync_pb.SkillSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SkillSpecifics::ByteSizeLong(const MessageLite& base) {
  const SkillSpecifics& this_ = static_cast<const SkillSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SkillSpecifics::ByteSizeLong() const {
  const SkillSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SkillSpecifics)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // optional string guid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_guid());
    }
    // optional string name = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_name());
    }
    // optional string icon = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_icon());
    }
    // optional string source_skill_id = 9;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_source_skill_id());
    }
    // optional .sync_pb.SimpleSkill simple_skill = 4;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.simple_skill_);
    }
    // optional int64 creation_time_windows_epoch_micros = 5;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_creation_time_windows_epoch_micros());
    }
    // optional int64 last_update_time_windows_epoch_micros = 6;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_last_update_time_windows_epoch_micros());
    }
    // optional int32 schema_version = 7;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_schema_version());
    }
  }
   {
    // optional .sync_pb.SkillSource skill_source = 8;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_skill_source());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void SkillSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SkillSpecifics*>(&to_msg);
  auto& from = static_cast<const SkillSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SkillSpecifics)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_guid(from._internal_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_name(from._internal_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_icon(from._internal_icon());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_source_skill_id(from._internal_source_skill_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.simple_skill_ != nullptr);
      if (_this->_impl_.simple_skill_ == nullptr) {
        _this->_impl_.simple_skill_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.simple_skill_);
      } else {
        _this->_impl_.simple_skill_->MergeFrom(*from._impl_.simple_skill_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.creation_time_windows_epoch_micros_ = from._impl_.creation_time_windows_epoch_micros_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.last_update_time_windows_epoch_micros_ = from._impl_.last_update_time_windows_epoch_micros_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.schema_version_ = from._impl_.schema_version_;
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    _this->_impl_.skill_source_ = from._impl_.skill_source_;
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SkillSpecifics::InternalSwap(SkillSpecifics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.guid_, &other->_impl_.guid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.icon_, &other->_impl_.icon_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.source_skill_id_, &other->_impl_.source_skill_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.skill_source_)
      + sizeof(SkillSpecifics::_impl_.skill_source_)
      - PROTOBUF_FIELD_OFFSET(SkillSpecifics, _impl_.simple_skill_)>(
          reinterpret_cast<char*>(&_impl_.simple_skill_),
          reinterpret_cast<char*>(&other->_impl_.simple_skill_));
}

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

SimpleSkill::SimpleSkill(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SimpleSkill_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SimpleSkill)
}
PROTOBUF_NDEBUG_INLINE SimpleSkill::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::SimpleSkill& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        prompt_(arena, from.prompt_),
        description_(arena, from.description_) {}

SimpleSkill::SimpleSkill(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const SimpleSkill& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SimpleSkill_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SimpleSkill* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);

  // @@protoc_insertion_point(copy_constructor:sync_pb.SimpleSkill)
}
PROTOBUF_NDEBUG_INLINE SimpleSkill::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        prompt_(arena),
        description_(arena) {}

inline void SimpleSkill::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
SimpleSkill::~SimpleSkill() {
  // @@protoc_insertion_point(destructor:sync_pb.SimpleSkill)
  SharedDtor(*this);
}
inline void SimpleSkill::SharedDtor(MessageLite& self) {
  SimpleSkill& this_ = static_cast<SimpleSkill&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.prompt_.Destroy();
  this_._impl_.description_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SimpleSkill_class_data_ =
    SimpleSkill::InternalGenerateClassData_(SimpleSkill_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SimpleSkill::GetClassData() const {
  return SimpleSkill_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SimpleSkill::GetClassData() const {
  return SimpleSkill_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SimpleSkill::ParseTableT_
    SimpleSkill::_table_ =
        SimpleSkill::InternalGenerateParseTable_(SimpleSkill_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SimpleSkill::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SimpleSkill)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.prompt_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.description_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL SimpleSkill::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const SimpleSkill& this_ = static_cast<const SimpleSkill&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL SimpleSkill::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const SimpleSkill& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:sync_pb.SimpleSkill)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string prompt = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_prompt();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional string description = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_description();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:sync_pb.SimpleSkill)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SimpleSkill::ByteSizeLong(const MessageLite& base) {
  const SimpleSkill& this_ = static_cast<const SimpleSkill&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SimpleSkill::ByteSizeLong() const {
  const SimpleSkill& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SimpleSkill)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string prompt = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_prompt());
    }
    // optional string description = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_description());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void SimpleSkill::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SimpleSkill*>(&to_msg);
  auto& from = static_cast<const SimpleSkill&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SimpleSkill)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_prompt(from._internal_prompt());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_description(from._internal_description());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SimpleSkill::InternalSwap(SimpleSkill* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.prompt_, &other->_impl_.prompt_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena);
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace sync_pb
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
