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

#include "ranker_example.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 assist_ranker {
class StringList::_Internal {
 public:
  using HasBits = decltype(::std::declval<StringList>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(StringList, _impl_._has_bits_);
};

constexpr StringList::ParseTableT_ StringList::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(StringList, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // 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<::assist_ranker::StringList>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated bytes string_value = 1;
      {::_pbi::TcParser::FastBR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(StringList, _impl_.string_value_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated bytes string_value = 1;
      {PROTOBUF_FIELD_OFFSET(StringList, _impl_.string_value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr StringList::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        string_value_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::assist_ranker::StringList,
            PROTOBUF_FIELD_OFFSET(::assist_ranker::StringList, _impl_.string_value_)>()
         }
     {}

template <typename>
constexpr StringList::StringList(::_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 StringList::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) StringList(arena);
}
constexpr auto StringList::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StringList), alignof(StringList));
}
constexpr auto StringList::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
          &StringList::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<StringList>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &StringList::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<StringList>(), &StringList::ByteSizeLong,
              &StringList::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(StringList, _impl_._cached_size_),
          true,
      },
      "assist_ranker.StringList",
  };
}
struct StringListGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr StringListGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 StringList_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(StringList::InternalGenerateClassData_(
            _default, &StringList_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<StringList>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~StringListGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) StringList _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<StringList>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(StringListGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr FloatList::ParseTableT_ FloatList::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(FloatList, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // 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<::assist_ranker::FloatList>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated float float_value = 1;
      {::_pbi::TcParser::FastF32R1,
       {13, 0, 0,
        PROTOBUF_FIELD_OFFSET(FloatList, _impl_.float_value_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated float float_value = 1;
      {PROTOBUF_FIELD_OFFSET(FloatList, _impl_.float_value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kFloat)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr FloatList::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        float_value_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::assist_ranker::FloatList,
            PROTOBUF_FIELD_OFFSET(::assist_ranker::FloatList, _impl_.float_value_)>()
         }
     {}

template <typename>
constexpr FloatList::FloatList(::_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 FloatList::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) FloatList(arena);
}
constexpr auto FloatList::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FloatList), alignof(FloatList));
}
constexpr auto FloatList::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
          &FloatList::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<FloatList>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &FloatList::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<FloatList>(), &FloatList::ByteSizeLong,
              &FloatList::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(FloatList, _impl_._cached_size_),
          true,
      },
      "assist_ranker.FloatList",
  };
}
struct FloatListGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr FloatListGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 FloatList_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(FloatList::InternalGenerateClassData_(
            _default, &FloatList_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<FloatList>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~FloatListGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) FloatList _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<FloatList>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(FloatListGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST FloatListGlobalsTypeInternal FloatList_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* FloatList_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return FloatList_globals_.GetClassData();
#else
  return FloatList_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class Feature::_Internal {
 public:
  static constexpr ::int32_t kOneofCaseOffset =
      PROTOBUF_FIELD_OFFSET(::assist_ranker::Feature, _impl_._oneof_case_);
};

constexpr Feature::ParseTableT_ Feature::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Feature,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      6, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // 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<::assist_ranker::Feature>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // bool bool_value = 1;
      {PROTOBUF_FIELD_OFFSET(Feature, _impl_.feature_type_.bool_value_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kBool)},
      // float float_value = 2;
      {PROTOBUF_FIELD_OFFSET(Feature, _impl_.feature_type_.float_value_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kFloat)},
      // int32 int32_value = 3;
      {PROTOBUF_FIELD_OFFSET(Feature, _impl_.feature_type_.int32_value_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kInt32)},
      // bytes string_value = 4;
      {PROTOBUF_FIELD_OFFSET(Feature, _impl_.feature_type_.string_value_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kBytes | ::_fl::kRepAString)},
      // .assist_ranker.StringList string_list = 5;
      {PROTOBUF_FIELD_OFFSET(Feature, _impl_.feature_type_.string_list_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .assist_ranker.FloatList float_list = 6;
      {PROTOBUF_FIELD_OFFSET(Feature, _impl_.feature_type_.float_list_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::assist_ranker::StringList>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::assist_ranker::StringList_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::assist_ranker::FloatList>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::assist_ranker::FloatList_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr Feature::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : feature_type_{},
        _cached_size_{0},
        _oneof_case_{} {}

template <typename>
constexpr Feature::Feature(::_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 Feature::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) Feature(arena);
}
constexpr auto Feature::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Feature), alignof(Feature));
}
constexpr auto Feature::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
          &Feature::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<Feature>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &Feature::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<Feature>(), &Feature::ByteSizeLong,
              &Feature::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(Feature, _impl_._cached_size_),
          true,
      },
      "assist_ranker.Feature",
  };
}
struct FeatureGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr FeatureGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 Feature_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(Feature::InternalGenerateClassData_(
            _default, &Feature_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<Feature>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~FeatureGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) Feature _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<Feature>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(FeatureGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr RankerExample::ParseTableT_ RankerExample::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(RankerExample, _impl_._has_bits_),
      0, // no _extensions_
      2, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      3,  // 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<::assist_ranker::RankerExample>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .assist_ranker.Feature target = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(RankerExample, _impl_.target_)}},
    }}, {{
      65535, 65535
    }}, {{
      // map<string, .assist_ranker.Feature> features = 1;
      {PROTOBUF_FIELD_OFFSET(RankerExample, _impl_.features_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
      // optional .assist_ranker.Feature target = 2;
      {PROTOBUF_FIELD_OFFSET(RankerExample, _impl_.target_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::assist_ranker::Feature>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::assist_ranker::Feature_globals_},
        #endif
        {::_pbi::TcParser::GetMapAuxInfo(
            0, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::assist_ranker::Feature>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::assist_ranker::Feature_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr RankerExample::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        target_{nullptr},
        features_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::assist_ranker::RankerExample,
            PROTOBUF_FIELD_OFFSET(::assist_ranker::RankerExample, _impl_.features_)>()
         }
     {}

template <typename>
constexpr RankerExample::RankerExample(::_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 RankerExample::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) RankerExample(arena);
}
constexpr auto RankerExample::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RankerExample), alignof(RankerExample));
}
constexpr auto RankerExample::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
          &RankerExample::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<RankerExample>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &RankerExample::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<RankerExample>(), &RankerExample::ByteSizeLong,
              &RankerExample::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(RankerExample, _impl_._cached_size_),
          true,
      },
      "assist_ranker.RankerExample",
  };
}
struct RankerExampleGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr RankerExampleGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 RankerExample_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(RankerExample::InternalGenerateClassData_(
            _default, &RankerExample_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<RankerExample>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~RankerExampleGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) RankerExample _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<RankerExample>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(RankerExampleGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST RankerExampleGlobalsTypeInternal RankerExample_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* RankerExample_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return RankerExample_globals_.GetClassData();
#else
  return RankerExample_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace assist_ranker
namespace assist_ranker {
// ===================================================================

StringList::StringList(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, StringList_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:assist_ranker.StringList)
}
PROTOBUF_NDEBUG_INLINE StringList::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::assist_ranker::StringList& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        string_value_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::assist_ranker::StringList,
              PROTOBUF_FIELD_OFFSET(::assist_ranker::StringList, _impl_.string_value_)>()
          , from.string_value_
        }
     {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  StringList* 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:assist_ranker.StringList)
}
PROTOBUF_NDEBUG_INLINE StringList::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        string_value_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::assist_ranker::StringList,
            PROTOBUF_FIELD_OFFSET(::assist_ranker::StringList, _impl_.string_value_)>()
         }
     {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite StringList_class_data_ =
    StringList::InternalGenerateClassData_(StringList_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
StringList::GetClassData() const {
  return StringList_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
StringList::GetClassData() const {
  return StringList_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const StringList::ParseTableT_
    StringList::_table_ =
        StringList::InternalGenerateParseTable_(StringList_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void StringList::Clear() {
// @@protoc_insertion_point(message_clear_start:assist_ranker.StringList)
  ::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 (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.string_value_.Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated bytes string_value = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_string_value_size(); i < n; ++i) {
      const auto& s = this_._internal_string_value().Get(i);
      target = stream->WriteBytes(1, 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:assist_ranker.StringList)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t StringList::ByteSizeLong(const MessageLite& base) {
  const StringList& this_ = static_cast<const StringList&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t StringList::ByteSizeLong() const {
  const StringList& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:assist_ranker.StringList)
  ::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_);
   {
    // repeated bytes string_value = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_string_value().size());
      for (int i = 0, n = this_._internal_string_value().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
            this_._internal_string_value().Get(i));
      }
    }
  }
  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 StringList::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<StringList*>(&to_msg);
  auto& from = static_cast<const StringList&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:assist_ranker.StringList)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_internal_mutable_string_value()->InternalMergeFromWithArena(
        ::google::protobuf::MessageLite::internal_visibility(), arena,
        from._internal_string_value());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

FloatList::FloatList(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, FloatList_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:assist_ranker.FloatList)
}
PROTOBUF_NDEBUG_INLINE FloatList::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::assist_ranker::FloatList& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        float_value_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::assist_ranker::FloatList,
              PROTOBUF_FIELD_OFFSET(::assist_ranker::FloatList, _impl_.float_value_)>()
          , from.float_value_
        }
     {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  FloatList* 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:assist_ranker.FloatList)
}
PROTOBUF_NDEBUG_INLINE FloatList::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        float_value_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::assist_ranker::FloatList,
            PROTOBUF_FIELD_OFFSET(::assist_ranker::FloatList, _impl_.float_value_)>()
         }
     {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite FloatList_class_data_ =
    FloatList::InternalGenerateClassData_(FloatList_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
FloatList::GetClassData() const {
  return FloatList_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
FloatList::GetClassData() const {
  return FloatList_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FloatList::ParseTableT_
    FloatList::_table_ =
        FloatList::InternalGenerateParseTable_(FloatList_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void FloatList::Clear() {
// @@protoc_insertion_point(message_clear_start:assist_ranker.FloatList)
  ::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 (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.float_value_.Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated float float_value = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_float_value_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteFloatToArray(
          1, this_._internal_float_value().Get(i), 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:assist_ranker.FloatList)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t FloatList::ByteSizeLong(const MessageLite& base) {
  const FloatList& this_ = static_cast<const FloatList&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t FloatList::ByteSizeLong() const {
  const FloatList& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:assist_ranker.FloatList)
  ::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_);
   {
    // repeated float float_value = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::size_t{4} *
          ::_pbi::FromIntSize(this_._internal_float_value_size());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_float_value_size());
      total_size += tag_size + data_size;
    }
  }
  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 FloatList::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<FloatList*>(&to_msg);
  auto& from = static_cast<const FloatList&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:assist_ranker.FloatList)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_internal_mutable_float_value()->MergeFrom(from._internal_float_value());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

void Feature::set_allocated_string_list(::assist_ranker::StringList* PROTOBUF_NULLABLE string_list) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_feature_type();
  if (string_list) {
    ::google::protobuf::Arena* submessage_arena = string_list->GetArena();
    if (message_arena != submessage_arena) {
      string_list = ::google::protobuf::internal::GetOwnedMessage(message_arena, string_list, submessage_arena);
    }
    set_has_string_list();
    _impl_.feature_type_.string_list_ = string_list;
  }
  // @@protoc_insertion_point(field_set_allocated:assist_ranker.Feature.string_list)
}
void Feature::set_allocated_float_list(::assist_ranker::FloatList* PROTOBUF_NULLABLE float_list) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_feature_type();
  if (float_list) {
    ::google::protobuf::Arena* submessage_arena = float_list->GetArena();
    if (message_arena != submessage_arena) {
      float_list = ::google::protobuf::internal::GetOwnedMessage(message_arena, float_list, submessage_arena);
    }
    set_has_float_list();
    _impl_.feature_type_.float_list_ = float_list;
  }
  // @@protoc_insertion_point(field_set_allocated:assist_ranker.Feature.float_list)
}
Feature::Feature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Feature_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:assist_ranker.Feature)
}
PROTOBUF_NDEBUG_INLINE Feature::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::assist_ranker::Feature& from_msg)
      : feature_type_{},
        _cached_size_{0},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Feature* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (feature_type_case()) {
    case FEATURE_TYPE_NOT_SET:
      break;
      case kBoolValue:
        _impl_.feature_type_.bool_value_ = from._impl_.feature_type_.bool_value_;
        break;
      case kFloatValue:
        _impl_.feature_type_.float_value_ = from._impl_.feature_type_.float_value_;
        break;
      case kInt32Value:
        _impl_.feature_type_.int32_value_ = from._impl_.feature_type_.int32_value_;
        break;
      case kStringValue:
        new (&_impl_.feature_type_.string_value_) decltype(_impl_.feature_type_.string_value_){arena, from._impl_.feature_type_.string_value_};
        break;
      case kStringList:
        _impl_.feature_type_.string_list_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_type_.string_list_);
        break;
      case kFloatList:
        _impl_.feature_type_.float_list_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_type_.float_list_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:assist_ranker.Feature)
}
PROTOBUF_NDEBUG_INLINE Feature::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : feature_type_{},
        _cached_size_{0},
        _oneof_case_{} {}

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

void Feature::clear_feature_type() {
// @@protoc_insertion_point(one_of_clear_start:assist_ranker.Feature)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (feature_type_case()) {
    case kBoolValue: {
      // No need to clear
      break;
    }
    case kFloatValue: {
      // No need to clear
      break;
    }
    case kInt32Value: {
      // No need to clear
      break;
    }
    case kStringValue: {
      _impl_.feature_type_.string_value_.Destroy();
      break;
    }
    case kStringList: {
      if (GetArena() == nullptr) {
        delete _impl_.feature_type_.string_list_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.feature_type_.string_list_ != nullptr) {
          _impl_.feature_type_.string_list_->Clear();
        }
      }
      break;
    }
    case kFloatList: {
      if (GetArena() == nullptr) {
        delete _impl_.feature_type_.float_list_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.feature_type_.float_list_ != nullptr) {
          _impl_.feature_type_.float_list_->Clear();
        }
      }
      break;
    }
    case FEATURE_TYPE_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = FEATURE_TYPE_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Feature_class_data_ =
    Feature::InternalGenerateClassData_(Feature_globals_._default);

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

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

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

  switch (this_.feature_type_case()) {
    case kBoolValue: {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          1, this_._internal_bool_value(), target);
      break;
    }
    case kFloatValue: {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteFloatToArray(
          2, this_._internal_float_value(), target);
      break;
    }
    case kInt32Value: {
      target =
          ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
              stream, this_._internal_int32_value(), target);
      break;
    }
    case kStringValue: {
      const ::std::string& _s = this_._internal_string_value();
      target = stream->WriteBytesMaybeAliased(4, _s, target);
      break;
    }
    case kStringList: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          5, *this_._impl_.feature_type_.string_list_, this_._impl_.feature_type_.string_list_->GetCachedSize(), target,
          stream);
      break;
    }
    case kFloatList: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          6, *this_._impl_.feature_type_.float_list_, this_._impl_.feature_type_.float_list_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  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:assist_ranker.Feature)
  return target;
}

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

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

  switch (this_.feature_type_case()) {
    // bool bool_value = 1;
    case kBoolValue: {
      total_size += 2;
      break;
    }
    // float float_value = 2;
    case kFloatValue: {
      total_size += 5;
      break;
    }
    // int32 int32_value = 3;
    case kInt32Value: {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_int32_value());
      break;
    }
    // bytes string_value = 4;
    case kStringValue: {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_string_value());
      break;
    }
    // .assist_ranker.StringList string_list = 5;
    case kStringList: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.feature_type_.string_list_);
      break;
    }
    // .assist_ranker.FloatList float_list = 6;
    case kFloatList: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.feature_type_.float_list_);
      break;
    }
    case FEATURE_TYPE_NOT_SET: {
      break;
    }
  }
  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 Feature::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Feature*>(&to_msg);
  auto& from = static_cast<const Feature&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:assist_ranker.Feature)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_feature_type();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kBoolValue: {
        _this->_impl_.feature_type_.bool_value_ = from._impl_.feature_type_.bool_value_;
        break;
      }
      case kFloatValue: {
        _this->_impl_.feature_type_.float_value_ = from._impl_.feature_type_.float_value_;
        break;
      }
      case kInt32Value: {
        _this->_impl_.feature_type_.int32_value_ = from._impl_.feature_type_.int32_value_;
        break;
      }
      case kStringValue: {
        if (oneof_needs_init) {
          _this->_impl_.feature_type_.string_value_.InitDefault();
        }
        _this->_impl_.feature_type_.string_value_.Set(from._internal_string_value(), arena);
        break;
      }
      case kStringList: {
        if (oneof_needs_init) {
          _this->_impl_.feature_type_.string_list_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_type_.string_list_);
        } else {
          _this->_impl_.feature_type_.string_list_->MergeFrom(*from._impl_.feature_type_.string_list_);
        }
        break;
      }
      case kFloatList: {
        if (oneof_needs_init) {
          _this->_impl_.feature_type_.float_list_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_type_.float_list_);
        } else {
          _this->_impl_.feature_type_.float_list_->MergeFrom(*from._impl_.feature_type_.float_list_);
        }
        break;
      }
      case FEATURE_TYPE_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

RankerExample::RankerExample(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, RankerExample_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:assist_ranker.RankerExample)
}
PROTOBUF_NDEBUG_INLINE RankerExample::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::assist_ranker::RankerExample& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        features_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::assist_ranker::RankerExample,
              PROTOBUF_FIELD_OFFSET(::assist_ranker::RankerExample, _impl_.features_)>()
          , from.features_
        }
     {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  RankerExample* 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_.target_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.target_)
                : nullptr;

  // @@protoc_insertion_point(copy_constructor:assist_ranker.RankerExample)
}
PROTOBUF_NDEBUG_INLINE RankerExample::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        features_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::assist_ranker::RankerExample,
            PROTOBUF_FIELD_OFFSET(::assist_ranker::RankerExample, _impl_.features_)>()
         }
     {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite RankerExample_class_data_ =
    RankerExample::InternalGenerateClassData_(RankerExample_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
RankerExample::GetClassData() const {
  return RankerExample_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
RankerExample::GetClassData() const {
  return RankerExample_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const RankerExample::ParseTableT_
    RankerExample::_table_ =
        RankerExample::InternalGenerateParseTable_(RankerExample_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void RankerExample::Clear() {
// @@protoc_insertion_point(message_clear_start:assist_ranker.RankerExample)
  ::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)) {
      ABSL_DCHECK(_impl_.target_ != nullptr);
      _impl_.target_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.features_.Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // map<string, .assist_ranker.Feature> features = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_features().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::assist_ranker::Feature>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::assist_ranker::Feature,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_features();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              1, entry.first, entry.second, target, stream);
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              1, entry.first, entry.second, target, stream);
        }
      }
    }
  }

  // optional .assist_ranker.Feature target = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.target_, this_._impl_.target_->GetCachedSize(), target,
        stream);
  }

  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:assist_ranker.RankerExample)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t RankerExample::ByteSizeLong(const MessageLite& base) {
  const RankerExample& this_ = static_cast<const RankerExample&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t RankerExample::ByteSizeLong() const {
  const RankerExample& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:assist_ranker.RankerExample)
  ::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 .assist_ranker.Feature target = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_);
    }
    // map<string, .assist_ranker.Feature> features = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_features_size());
      for (const auto& entry : this_._internal_features()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::assist_ranker::Feature,
                                       _pbi::WireFormatLite::TYPE_STRING,
                                       _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
      }
    }
  }
  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 RankerExample::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<RankerExample*>(&to_msg);
  auto& from = static_cast<const RankerExample&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:assist_ranker.RankerExample)
  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)) {
      ABSL_DCHECK(from._impl_.target_ != nullptr);
      if (_this->_impl_.target_ == nullptr) {
        _this->_impl_.target_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.target_);
      } else {
        _this->_impl_.target_->MergeFrom(*from._impl_.target_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.features_.MergeFrom(from._impl_.features_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void RankerExample::InternalSwap(RankerExample* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  swap(_impl_.target_, other->_impl_.target_);
  _impl_.features_.InternalSwap(&other->_impl_.features_);
}

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