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

#include "components/optimization_guide/proto/manifest.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 optimization_guide {
namespace proto {
class UseCaseConfig::_Internal {
 public:
  using HasBits = decltype(::std::declval<UseCaseConfig>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(UseCaseConfig, _impl_._has_bits_);
};

constexpr UseCaseConfig::ParseTableT_ UseCaseConfig::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(UseCaseConfig, _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<::optimization_guide::proto::UseCaseConfig>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // bool background_download = 2;
      {::_pbi::TcParser::FastV8S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(UseCaseConfig, _impl_.background_download_)}},
      // string solution_recipe_id = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(UseCaseConfig, _impl_.solution_recipe_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string solution_recipe_id = 1;
      {PROTOBUF_FIELD_OFFSET(UseCaseConfig, _impl_.solution_recipe_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // bool background_download = 2;
      {PROTOBUF_FIELD_OFFSET(UseCaseConfig, _impl_.background_download_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
      "\46\22\0\0\0\0\0\0"
      "optimization_guide.proto.UseCaseConfig"
      "solution_recipe_id"
    }},
  };
}


inline constexpr UseCaseConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        solution_recipe_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        background_download_{false} {}

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

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

constexpr OnDemandComponent::ParseTableT_ OnDemandComponent::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(OnDemandComponent, _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<::optimization_guide::proto::OnDemandComponent>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // string target_version = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(OnDemandComponent, _impl_.target_version_)}},
      // string public_key = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(OnDemandComponent, _impl_.public_key_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string public_key = 1;
      {PROTOBUF_FIELD_OFFSET(OnDemandComponent, _impl_.public_key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string target_version = 2;
      {PROTOBUF_FIELD_OFFSET(OnDemandComponent, _impl_.target_version_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
      "\52\12\16\0\0\0\0\0"
      "optimization_guide.proto.OnDemandComponent"
      "public_key"
      "target_version"
    }},
  };
}


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

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

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

constexpr FileReference::ParseTableT_ FileReference::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(FileReference, _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<::optimization_guide::proto::FileReference>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // string relative_path = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(FileReference, _impl_.relative_path_)}},
      // string asset_id = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(FileReference, _impl_.asset_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string asset_id = 1;
      {PROTOBUF_FIELD_OFFSET(FileReference, _impl_.asset_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string relative_path = 2;
      {PROTOBUF_FIELD_OFFSET(FileReference, _impl_.relative_path_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
      "\46\10\15\0\0\0\0\0"
      "optimization_guide.proto.FileReference"
      "asset_id"
      "relative_path"
    }},
  };
}


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

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

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

constexpr SolutionRecipe::ParseTableT_ SolutionRecipe::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SolutionRecipe, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      1,  // 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<::optimization_guide::proto::SolutionRecipe>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string model_recipe_id = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SolutionRecipe, _impl_.model_recipe_id_)}},
      // string safety_model_recipe_id = 2 [features = {
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SolutionRecipe, _impl_.safety_model_recipe_id_)}},
      // .optimization_guide.proto.FileReference config_file = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(SolutionRecipe, _impl_.config_file_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string model_recipe_id = 1;
      {PROTOBUF_FIELD_OFFSET(SolutionRecipe, _impl_.model_recipe_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string safety_model_recipe_id = 2 [features = {
      {PROTOBUF_FIELD_OFFSET(SolutionRecipe, _impl_.safety_model_recipe_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .optimization_guide.proto.FileReference config_file = 3;
      {PROTOBUF_FIELD_OFFSET(SolutionRecipe, _impl_.config_file_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::FileReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::FileReference_globals_},
        #endif
    }},
    {{
      "\47\17\26\0\0\0\0\0"
      "optimization_guide.proto.SolutionRecipe"
      "model_recipe_id"
      "safety_model_recipe_id"
    }},
  };
}


inline constexpr SolutionRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        model_recipe_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        safety_model_recipe_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        config_file_{nullptr} {}

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

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

constexpr SafetyModelRecipe::ParseTableT_ SafetyModelRecipe::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SafetyModelRecipe, _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
      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<::optimization_guide::proto::SafetyModelRecipe>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .optimization_guide.proto.FileReference language_detection_model_file = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 1,
        PROTOBUF_FIELD_OFFSET(SafetyModelRecipe, _impl_.language_detection_model_file_)}},
      // .optimization_guide.proto.FileReference weights_file = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SafetyModelRecipe, _impl_.weights_file_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .optimization_guide.proto.FileReference weights_file = 1;
      {PROTOBUF_FIELD_OFFSET(SafetyModelRecipe, _impl_.weights_file_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .optimization_guide.proto.FileReference language_detection_model_file = 2;
      {PROTOBUF_FIELD_OFFSET(SafetyModelRecipe, _impl_.language_detection_model_file_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::FileReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::FileReference_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::FileReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::FileReference_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SafetyModelRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        weights_file_{nullptr},
        language_detection_model_file_{nullptr} {}

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

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

constexpr BaseModelRecipe::ParseTableT_ BaseModelRecipe::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // num_field_entries
      1,  // 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<::optimization_guide::proto::BaseModelRecipe>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .optimization_guide.proto.FileReference weights_file = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.weights_file_)}},
      // .optimization_guide.proto.BaseModelRecipe.BackendType backend_type = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 2, 0,
        PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.backend_type_)}},
      // .optimization_guide.proto.BaseModelRecipe.PerformanceHint performance_hint = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.performance_hint_)}},
      // repeated int32 supported_adaptation_ranks = 4;
      {::_pbi::TcParser::FastV32P1,
       {34, 0, 0,
        PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.supported_adaptation_ranks_)}},
      // int32 max_tokens = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.max_tokens_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .optimization_guide.proto.FileReference weights_file = 1;
      {PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.weights_file_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .optimization_guide.proto.BaseModelRecipe.BackendType backend_type = 2;
      {PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.backend_type_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .optimization_guide.proto.BaseModelRecipe.PerformanceHint performance_hint = 3;
      {PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.performance_hint_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // repeated int32 supported_adaptation_ranks = 4;
      {PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.supported_adaptation_ranks_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
      // int32 max_tokens = 5;
      {PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.max_tokens_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::FileReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::FileReference_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr BaseModelRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        supported_adaptation_ranks_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::BaseModelRecipe,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::BaseModelRecipe, _impl_.supported_adaptation_ranks_)>()
         }
        ,
        _supported_adaptation_ranks_cached_byte_size_{0},
        weights_file_{nullptr},
        backend_type_{static_cast< ::optimization_guide::proto::BaseModelRecipe_BackendType >(0)},
        performance_hint_{static_cast< ::optimization_guide::proto::BaseModelRecipe_PerformanceHint >(0)},
        max_tokens_{0} {}

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

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

constexpr AdaptationRecipe::ParseTableT_ AdaptationRecipe::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AdaptationRecipe, _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
      1,  // 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<::optimization_guide::proto::AdaptationRecipe>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .optimization_guide.proto.FileReference weights_file = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(AdaptationRecipe, _impl_.weights_file_)}},
      // string base_model_recipe_id = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AdaptationRecipe, _impl_.base_model_recipe_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string base_model_recipe_id = 1;
      {PROTOBUF_FIELD_OFFSET(AdaptationRecipe, _impl_.base_model_recipe_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .optimization_guide.proto.FileReference weights_file = 2;
      {PROTOBUF_FIELD_OFFSET(AdaptationRecipe, _impl_.weights_file_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::FileReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::FileReference_globals_},
        #endif
    }},
    {{
      "\51\24\0\0\0\0\0\0"
      "optimization_guide.proto.AdaptationRecipe"
      "base_model_recipe_id"
    }},
  };
}


inline constexpr AdaptationRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        base_model_recipe_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        weights_file_{nullptr} {}

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

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

constexpr ValidationTask::ParseTableT_ ValidationTask::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ValidationTask, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      1,  // 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<::optimization_guide::proto::ValidationTask>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string version = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(ValidationTask, _impl_.version_)}},
      // string use_case = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(ValidationTask, _impl_.use_case_)}},
      // .optimization_guide.proto.OnDeviceModelValidationConfig config = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(ValidationTask, _impl_.config_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string version = 1;
      {PROTOBUF_FIELD_OFFSET(ValidationTask, _impl_.version_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string use_case = 2;
      {PROTOBUF_FIELD_OFFSET(ValidationTask, _impl_.use_case_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .optimization_guide.proto.OnDeviceModelValidationConfig config = 3;
      {PROTOBUF_FIELD_OFFSET(ValidationTask, _impl_.config_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::OnDeviceModelValidationConfig>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::OnDeviceModelValidationConfig_globals_},
        #endif
    }},
    {{
      "\47\7\10\0\0\0\0\0"
      "optimization_guide.proto.ValidationTask"
      "version"
      "use_case"
    }},
  };
}


inline constexpr ValidationTask::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        use_case_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        config_{nullptr} {}

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

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

constexpr Assets::ParseTableT_ Assets::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Assets, _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
      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<::optimization_guide::proto::Assets>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // map<string, .optimization_guide.proto.OnDemandComponent> on_demand_components = 1;
      {PROTOBUF_FIELD_OFFSET(Assets, _impl_.on_demand_components_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
    }},
    {{
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::OnDemandComponent>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::OnDemandComponent_globals_},
        #endif
    }},
    {{
      "\37\24\0\0\0\0\0\0"
      "optimization_guide.proto.Assets"
      "on_demand_components"
    }},
  };
}


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

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

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

constexpr Recipes::ParseTableT_ Recipes::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Recipes, _impl_._has_bits_),
      0, // no _extensions_
      4, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      8,  // 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<::optimization_guide::proto::Recipes>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // map<string, .optimization_guide.proto.BaseModelRecipe> base_models = 1;
      {PROTOBUF_FIELD_OFFSET(Recipes, _impl_.base_models_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
      // map<string, .optimization_guide.proto.AdaptationRecipe> adaptations = 2;
      {PROTOBUF_FIELD_OFFSET(Recipes, _impl_.adaptations_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
      // map<string, .optimization_guide.proto.SafetyModelRecipe> safety_models = 3;
      {PROTOBUF_FIELD_OFFSET(Recipes, _impl_.safety_models_), _Internal::kHasBitsOffset + 2, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
      // map<string, .optimization_guide.proto.SolutionRecipe> solutions = 4;
      {PROTOBUF_FIELD_OFFSET(Recipes, _impl_.solutions_), _Internal::kHasBitsOffset + 3, 6, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
    }},
    {{
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::BaseModelRecipe>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::BaseModelRecipe_globals_},
        #endif
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::AdaptationRecipe>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::AdaptationRecipe_globals_},
        #endif
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::SafetyModelRecipe>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::SafetyModelRecipe_globals_},
        #endif
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::SolutionRecipe>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::SolutionRecipe_globals_},
        #endif
    }},
    {{
      "\40\13\13\15\11\0\0\0"
      "optimization_guide.proto.Recipes"
      "base_models"
      "adaptations"
      "safety_models"
      "solutions"
    }},
  };
}


inline constexpr Recipes::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        base_models_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::Recipes,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::Recipes, _impl_.base_models_)>()
         }
        ,
        adaptations_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::Recipes,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::Recipes, _impl_.adaptations_)>()
         }
        ,
        safety_models_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::Recipes,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::Recipes, _impl_.safety_models_)>()
         }
        ,
        solutions_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::Recipes,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::Recipes, _impl_.solutions_)>()
         }
     {}

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

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

constexpr DeviceCategoryConfig::ParseTableT_ DeviceCategoryConfig::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(DeviceCategoryConfig, _impl_._has_bits_),
      0, // no _extensions_
      3, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      5,  // 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<::optimization_guide::proto::DeviceCategoryConfig>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .optimization_guide.proto.ValidationTask validations = 3 [features = {
      {::_pbi::TcParser::FastMtS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(DeviceCategoryConfig, _impl_.validations_)}},
    }}, {{
      65535, 65535
    }}, {{
      // map<string, .optimization_guide.proto.UseCaseConfig> use_cases = 1;
      {PROTOBUF_FIELD_OFFSET(DeviceCategoryConfig, _impl_.use_cases_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
      // map<string, .optimization_guide.proto.Any> feature_configs = 2;
      {PROTOBUF_FIELD_OFFSET(DeviceCategoryConfig, _impl_.feature_configs_), _Internal::kHasBitsOffset + 2, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
      // .optimization_guide.proto.ValidationTask validations = 3 [features = {
      {PROTOBUF_FIELD_OFFSET(DeviceCategoryConfig, _impl_.validations_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::ValidationTask>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::ValidationTask_globals_},
        #endif
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::UseCaseConfig>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::UseCaseConfig_globals_},
        #endif
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::Any>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::Any_globals_},
        #endif
    }},
    {{
      "\55\11\17\0\0\0\0\0"
      "optimization_guide.proto.DeviceCategoryConfig"
      "use_cases"
      "feature_configs"
    }},
  };
}


inline constexpr DeviceCategoryConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        validations_{nullptr},
        use_cases_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::DeviceCategoryConfig,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::DeviceCategoryConfig, _impl_.use_cases_)>()
         }
        ,
        feature_configs_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::DeviceCategoryConfig,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::DeviceCategoryConfig, _impl_.feature_configs_)>()
         }
     {}

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

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

constexpr Manifest::ParseTableT_ Manifest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Manifest, _impl_._has_bits_),
      0, // no _extensions_
      3, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      4,  // 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<::optimization_guide::proto::Manifest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .optimization_guide.proto.Recipes recipes = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 1,
        PROTOBUF_FIELD_OFFSET(Manifest, _impl_.recipes_)}},
      // .optimization_guide.proto.Assets assets = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(Manifest, _impl_.assets_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .optimization_guide.proto.Assets assets = 1;
      {PROTOBUF_FIELD_OFFSET(Manifest, _impl_.assets_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .optimization_guide.proto.Recipes recipes = 2;
      {PROTOBUF_FIELD_OFFSET(Manifest, _impl_.recipes_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // map<string, .optimization_guide.proto.DeviceCategoryConfig> category_configs = 3;
      {PROTOBUF_FIELD_OFFSET(Manifest, _impl_.category_configs_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::Assets>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::Assets_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::Recipes>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::Recipes_globals_},
        #endif
        {::_pbi::TcParser::GetMapAuxInfo(
            1, 0, 9, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::DeviceCategoryConfig>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::DeviceCategoryConfig_globals_},
        #endif
    }},
    {{
      "\41\0\0\20\0\0\0\0"
      "optimization_guide.proto.Manifest"
      "category_configs"
    }},
  };
}


inline constexpr Manifest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        assets_{nullptr},
        recipes_{nullptr},
        category_configs_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::Manifest,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::Manifest, _impl_.category_configs_)>()
         }
     {}

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

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

constexpr SolutionConfig::ParseTableT_ SolutionConfig::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      4,  // 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<::optimization_guide::proto::SolutionConfig>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .optimization_guide.proto.OnDeviceModelCapability capabilities = 4;
      {::_pbi::TcParser::FastEr0P1,
       {34, 0, 2,
        PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.capabilities_)}},
      // .optimization_guide.proto.OnDeviceModelExecutionFeatureConfig feature = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.feature_)}},
      // .optimization_guide.proto.FeatureTextSafetyConfiguration safety = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 2, 1,
        PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.safety_)}},
      // .optimization_guide.proto.OnDeviceModelVersions model_versions = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 3, 2,
        PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.model_versions_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .optimization_guide.proto.OnDeviceModelExecutionFeatureConfig feature = 1;
      {PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.feature_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .optimization_guide.proto.FeatureTextSafetyConfiguration safety = 2;
      {PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.safety_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .optimization_guide.proto.OnDeviceModelVersions model_versions = 3;
      {PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.model_versions_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .optimization_guide.proto.OnDeviceModelCapability capabilities = 4;
      {PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.capabilities_), _Internal::kHasBitsOffset + 0, 3, (0 | ::_fl::kFcRepeated | ::_fl::kPackedEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::FeatureTextSafetyConfiguration>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::FeatureTextSafetyConfiguration_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::OnDeviceModelVersions>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::OnDeviceModelVersions_globals_},
        #endif
        {0, 2},
    }},
    {{
    }},
  };
}


inline constexpr SolutionConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        capabilities_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::SolutionConfig,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::SolutionConfig, _impl_.capabilities_)>()
         }
        ,
        _capabilities_cached_byte_size_{0},
        feature_{nullptr},
        safety_{nullptr},
        model_versions_{nullptr} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SolutionConfigGlobalsTypeInternal SolutionConfig_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SolutionConfig_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SolutionConfig_globals_.GetClassData();
#else
  return SolutionConfig_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace optimization_guide
namespace optimization_guide {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t BaseModelRecipe_BackendType_internal_data_[] = {
    196608u, 0u, };
static const char BaseModelRecipe_BackendType_names[] = {
    "BACKEND_TYPE_CPU"
    "BACKEND_TYPE_GPU"
    "BACKEND_TYPE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry BaseModelRecipe_BackendType_entries[] = {
    {{&BaseModelRecipe_BackendType_names[0], 16}, 2},
    {{&BaseModelRecipe_BackendType_names[16], 16}, 1},
    {{&BaseModelRecipe_BackendType_names[32], 24}, 0},
};

static const int BaseModelRecipe_BackendType_entries_by_number[] = {
    2,  // 0 -> BACKEND_TYPE_UNSPECIFIED
    1,  // 1 -> BACKEND_TYPE_GPU
    0,  // 2 -> BACKEND_TYPE_CPU
};

bool BaseModelRecipe_BackendType_Parse(::absl::string_view name,
                                  BaseModelRecipe_BackendType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      BaseModelRecipe_BackendType_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<BaseModelRecipe_BackendType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    BaseModelRecipe_BackendType_strings[3] = {};

const ::std::string& BaseModelRecipe_BackendType_Name(BaseModelRecipe_BackendType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      BaseModelRecipe_BackendType_entries, BaseModelRecipe_BackendType_entries_by_number, 3,
      BaseModelRecipe_BackendType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(BaseModelRecipe_BackendType_entries,
                                  BaseModelRecipe_BackendType_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : BaseModelRecipe_BackendType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t BaseModelRecipe_PerformanceHint_internal_data_[] = {
    196608u, 0u, };
static const char BaseModelRecipe_PerformanceHint_names[] = {
    "PERFORMANCE_HINT_FASTEST_INFERENCE"
    "PERFORMANCE_HINT_HIGHEST_QUALITY"
    "PERFORMANCE_HINT_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry BaseModelRecipe_PerformanceHint_entries[] = {
    {{&BaseModelRecipe_PerformanceHint_names[0], 34}, 1},
    {{&BaseModelRecipe_PerformanceHint_names[34], 32}, 2},
    {{&BaseModelRecipe_PerformanceHint_names[66], 28}, 0},
};

static const int BaseModelRecipe_PerformanceHint_entries_by_number[] = {
    2,  // 0 -> PERFORMANCE_HINT_UNSPECIFIED
    0,  // 1 -> PERFORMANCE_HINT_FASTEST_INFERENCE
    1,  // 2 -> PERFORMANCE_HINT_HIGHEST_QUALITY
};

bool BaseModelRecipe_PerformanceHint_Parse(::absl::string_view name,
                                  BaseModelRecipe_PerformanceHint* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      BaseModelRecipe_PerformanceHint_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<BaseModelRecipe_PerformanceHint>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    BaseModelRecipe_PerformanceHint_strings[3] = {};

const ::std::string& BaseModelRecipe_PerformanceHint_Name(BaseModelRecipe_PerformanceHint value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      BaseModelRecipe_PerformanceHint_entries, BaseModelRecipe_PerformanceHint_entries_by_number, 3,
      BaseModelRecipe_PerformanceHint_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(BaseModelRecipe_PerformanceHint_entries,
                                  BaseModelRecipe_PerformanceHint_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : BaseModelRecipe_PerformanceHint_strings[idx].get();
}
// ===================================================================

OnDemandComponent::OnDemandComponent(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, OnDemandComponent_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.OnDemandComponent)
}
PROTOBUF_NDEBUG_INLINE OnDemandComponent::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::OnDemandComponent& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        public_key_(arena, from.public_key_),
        target_version_(arena, from.target_version_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  OnDemandComponent* 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:optimization_guide.proto.OnDemandComponent)
}
PROTOBUF_NDEBUG_INLINE OnDemandComponent::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        public_key_(arena),
        target_version_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite OnDemandComponent_class_data_ =
    OnDemandComponent::InternalGenerateClassData_(OnDemandComponent_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OnDemandComponent::GetClassData() const {
  return OnDemandComponent_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OnDemandComponent::GetClassData() const {
  return OnDemandComponent_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const OnDemandComponent::ParseTableT_
    OnDemandComponent::_table_ =
        OnDemandComponent::InternalGenerateParseTable_(OnDemandComponent_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void OnDemandComponent::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.OnDemandComponent)
  ::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_.public_key_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.target_version_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string public_key = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_public_key().empty()) {
      const ::std::string& _s = this_._internal_public_key();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.OnDemandComponent.public_key");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // string target_version = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_target_version().empty()) {
      const ::std::string& _s = this_._internal_target_version();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.OnDemandComponent.target_version");
      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:optimization_guide.proto.OnDemandComponent)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OnDemandComponent::ByteSizeLong(const MessageLite& base) {
  const OnDemandComponent& this_ = static_cast<const OnDemandComponent&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t OnDemandComponent::ByteSizeLong() const {
  const OnDemandComponent& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.OnDemandComponent)
  ::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)) {
    // string public_key = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_public_key().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_public_key());
      }
    }
    // string target_version = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_target_version().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_target_version());
      }
    }
  }
  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 OnDemandComponent::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<OnDemandComponent*>(&to_msg);
  auto& from = static_cast<const OnDemandComponent&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.OnDemandComponent)
  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)) {
      if (!from._internal_public_key().empty()) {
        _this->_internal_set_public_key(from._internal_public_key());
      } else {
        if (_this->_impl_.public_key_.IsDefault()) {
          _this->_internal_set_public_key("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_target_version().empty()) {
        _this->_internal_set_target_version(from._internal_target_version());
      } else {
        if (_this->_impl_.target_version_.IsDefault()) {
          _this->_internal_set_target_version("");
        }
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void OnDemandComponent::InternalSwap(OnDemandComponent* 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_.public_key_, &other->_impl_.public_key_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.target_version_, &other->_impl_.target_version_, arena);
}

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

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

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

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

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

inline void Assets::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
Assets::~Assets() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.Assets)
  SharedDtor(*this);
}
inline void Assets::SharedDtor(MessageLite& self) {
  Assets& this_ = static_cast<Assets&>(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 Assets_class_data_ =
    Assets::InternalGenerateClassData_(Assets_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Assets::GetClassData() const {
  return Assets_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Assets::GetClassData() const {
  return Assets_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Assets::ParseTableT_
    Assets::_table_ =
        Assets::InternalGenerateParseTable_(Assets_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Assets::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.Assets)
  ::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_.on_demand_components_.Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // map<string, .optimization_guide.proto.OnDemandComponent> on_demand_components = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_on_demand_components().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::optimization_guide::proto::OnDemandComponent>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::OnDemandComponent,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_on_demand_components();

      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);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Assets.on_demand_components");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              1, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Assets.on_demand_components");
        }
      }
    }
  }

  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:optimization_guide.proto.Assets)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Assets::ByteSizeLong(const MessageLite& base) {
  const Assets& this_ = static_cast<const Assets&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Assets::ByteSizeLong() const {
  const Assets& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.Assets)
  ::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_);
   {
    // map<string, .optimization_guide.proto.OnDemandComponent> on_demand_components = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_on_demand_components_size());
      for (const auto& entry : this_._internal_on_demand_components()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::OnDemandComponent,
                                       _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 Assets::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Assets*>(&to_msg);
  auto& from = static_cast<const Assets&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.Assets)
  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->_impl_.on_demand_components_.MergeFrom(from._impl_.on_demand_components_);
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void Assets::InternalSwap(Assets* 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_.on_demand_components_.InternalSwap(&other->_impl_.on_demand_components_);
}

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

FileReference::FileReference(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, FileReference_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.FileReference)
}
PROTOBUF_NDEBUG_INLINE FileReference::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::FileReference& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        asset_id_(arena, from.asset_id_),
        relative_path_(arena, from.relative_path_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  FileReference* 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:optimization_guide.proto.FileReference)
}
PROTOBUF_NDEBUG_INLINE FileReference::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        asset_id_(arena),
        relative_path_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite FileReference_class_data_ =
    FileReference::InternalGenerateClassData_(FileReference_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
FileReference::GetClassData() const {
  return FileReference_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
FileReference::GetClassData() const {
  return FileReference_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FileReference::ParseTableT_
    FileReference::_table_ =
        FileReference::InternalGenerateParseTable_(FileReference_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void FileReference::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.FileReference)
  ::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_.asset_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.relative_path_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string asset_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_asset_id().empty()) {
      const ::std::string& _s = this_._internal_asset_id();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.FileReference.asset_id");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // string relative_path = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_relative_path().empty()) {
      const ::std::string& _s = this_._internal_relative_path();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.FileReference.relative_path");
      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:optimization_guide.proto.FileReference)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t FileReference::ByteSizeLong(const MessageLite& base) {
  const FileReference& this_ = static_cast<const FileReference&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t FileReference::ByteSizeLong() const {
  const FileReference& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.FileReference)
  ::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)) {
    // string asset_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_asset_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_asset_id());
      }
    }
    // string relative_path = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_relative_path().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_relative_path());
      }
    }
  }
  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 FileReference::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<FileReference*>(&to_msg);
  auto& from = static_cast<const FileReference&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.FileReference)
  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)) {
      if (!from._internal_asset_id().empty()) {
        _this->_internal_set_asset_id(from._internal_asset_id());
      } else {
        if (_this->_impl_.asset_id_.IsDefault()) {
          _this->_internal_set_asset_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_relative_path().empty()) {
        _this->_internal_set_relative_path(from._internal_relative_path());
      } else {
        if (_this->_impl_.relative_path_.IsDefault()) {
          _this->_internal_set_relative_path("");
        }
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void FileReference::InternalSwap(FileReference* 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_.asset_id_, &other->_impl_.asset_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.relative_path_, &other->_impl_.relative_path_, arena);
}

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  BaseModelRecipe* 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_.weights_file_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.weights_file_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, backend_type_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, backend_type_),
           offsetof(Impl_, max_tokens_) -
               offsetof(Impl_, backend_type_) +
               sizeof(Impl_::max_tokens_));

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BaseModelRecipe_class_data_ =
    BaseModelRecipe::InternalGenerateClassData_(BaseModelRecipe_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BaseModelRecipe::GetClassData() const {
  return BaseModelRecipe_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BaseModelRecipe::GetClassData() const {
  return BaseModelRecipe_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BaseModelRecipe::ParseTableT_
    BaseModelRecipe::_table_ =
        BaseModelRecipe::InternalGenerateParseTable_(BaseModelRecipe_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BaseModelRecipe::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.BaseModelRecipe)
  ::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_.supported_adaptation_ranks_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.weights_file_ != nullptr);
      _impl_.weights_file_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) {
    ::memset(&_impl_.backend_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.max_tokens_) -
        reinterpret_cast<char*>(&_impl_.backend_type_)) + sizeof(_impl_.max_tokens_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .optimization_guide.proto.FileReference weights_file = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.weights_file_, this_._impl_.weights_file_->GetCachedSize(), target,
        stream);
  }

  // .optimization_guide.proto.BaseModelRecipe.BackendType backend_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (this_._internal_backend_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          2, this_._internal_backend_type(), target);
    }
  }

  // .optimization_guide.proto.BaseModelRecipe.PerformanceHint performance_hint = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (this_._internal_performance_hint() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          3, this_._internal_performance_hint(), target);
    }
  }

  // repeated int32 supported_adaptation_ranks = 4;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    {
      int byte_size = this_._impl_._supported_adaptation_ranks_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteInt32Packed(
            4, this_._internal_supported_adaptation_ranks(), byte_size, target);
      }
    }
  }

  // int32 max_tokens = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    if (this_._internal_max_tokens() != 0) {
      target =
          ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
              stream, this_._internal_max_tokens(), 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:optimization_guide.proto.BaseModelRecipe)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BaseModelRecipe::ByteSizeLong(const MessageLite& base) {
  const BaseModelRecipe& this_ = static_cast<const BaseModelRecipe&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BaseModelRecipe::ByteSizeLong() const {
  const BaseModelRecipe& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.BaseModelRecipe)
  ::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, 0x0000001fU)) {
    // repeated int32 supported_adaptation_ranks = 4;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
              this_._internal_supported_adaptation_ranks(), 1,
              this_._impl_._supported_adaptation_ranks_cached_byte_size_);
    }
    // .optimization_guide.proto.FileReference weights_file = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.weights_file_);
    }
    // .optimization_guide.proto.BaseModelRecipe.BackendType backend_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (this_._internal_backend_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_backend_type());
      }
    }
    // .optimization_guide.proto.BaseModelRecipe.PerformanceHint performance_hint = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (this_._internal_performance_hint() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_performance_hint());
      }
    }
    // int32 max_tokens = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (this_._internal_max_tokens() != 0) {
        total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
            this_._internal_max_tokens());
      }
    }
  }
  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 BaseModelRecipe::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BaseModelRecipe*>(&to_msg);
  auto& from = static_cast<const BaseModelRecipe&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.BaseModelRecipe)
  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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_supported_adaptation_ranks()->MergeFrom(from._internal_supported_adaptation_ranks());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.weights_file_ != nullptr);
      if (_this->_impl_.weights_file_ == nullptr) {
        _this->_impl_.weights_file_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.weights_file_);
      } else {
        _this->_impl_.weights_file_->MergeFrom(*from._impl_.weights_file_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (from._internal_backend_type() != 0) {
        _this->_impl_.backend_type_ = from._impl_.backend_type_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (from._internal_performance_hint() != 0) {
        _this->_impl_.performance_hint_ = from._impl_.performance_hint_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (from._internal_max_tokens() != 0) {
        _this->_impl_.max_tokens_ = from._impl_.max_tokens_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void BaseModelRecipe::InternalSwap(BaseModelRecipe* 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_.supported_adaptation_ranks_.InternalSwap(&other->_impl_.supported_adaptation_ranks_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.max_tokens_)
      + sizeof(BaseModelRecipe::_impl_.max_tokens_)
      - PROTOBUF_FIELD_OFFSET(BaseModelRecipe, _impl_.weights_file_)>(
          reinterpret_cast<char*>(&_impl_.weights_file_),
          reinterpret_cast<char*>(&other->_impl_.weights_file_));
}

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.AdaptationRecipe)
}
PROTOBUF_NDEBUG_INLINE AdaptationRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        base_model_recipe_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AdaptationRecipe_class_data_ =
    AdaptationRecipe::InternalGenerateClassData_(AdaptationRecipe_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AdaptationRecipe::GetClassData() const {
  return AdaptationRecipe_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AdaptationRecipe::GetClassData() const {
  return AdaptationRecipe_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AdaptationRecipe::ParseTableT_
    AdaptationRecipe::_table_ =
        AdaptationRecipe::InternalGenerateParseTable_(AdaptationRecipe_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AdaptationRecipe::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.AdaptationRecipe)
  ::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_.base_model_recipe_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.weights_file_ != nullptr);
      _impl_.weights_file_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string base_model_recipe_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_base_model_recipe_id().empty()) {
      const ::std::string& _s = this_._internal_base_model_recipe_id();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.AdaptationRecipe.base_model_recipe_id");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // .optimization_guide.proto.FileReference weights_file = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.weights_file_, this_._impl_.weights_file_->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:optimization_guide.proto.AdaptationRecipe)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AdaptationRecipe::ByteSizeLong(const MessageLite& base) {
  const AdaptationRecipe& this_ = static_cast<const AdaptationRecipe&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AdaptationRecipe::ByteSizeLong() const {
  const AdaptationRecipe& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.AdaptationRecipe)
  ::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)) {
    // string base_model_recipe_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_base_model_recipe_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_base_model_recipe_id());
      }
    }
    // .optimization_guide.proto.FileReference weights_file = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.weights_file_);
    }
  }
  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 AdaptationRecipe::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AdaptationRecipe*>(&to_msg);
  auto& from = static_cast<const AdaptationRecipe&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.AdaptationRecipe)
  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)) {
      if (!from._internal_base_model_recipe_id().empty()) {
        _this->_internal_set_base_model_recipe_id(from._internal_base_model_recipe_id());
      } else {
        if (_this->_impl_.base_model_recipe_id_.IsDefault()) {
          _this->_internal_set_base_model_recipe_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.weights_file_ != nullptr);
      if (_this->_impl_.weights_file_ == nullptr) {
        _this->_impl_.weights_file_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.weights_file_);
      } else {
        _this->_impl_.weights_file_->MergeFrom(*from._impl_.weights_file_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AdaptationRecipe::InternalSwap(AdaptationRecipe* 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_.base_model_recipe_id_, &other->_impl_.base_model_recipe_id_, arena);
  swap(_impl_.weights_file_, other->_impl_.weights_file_);
}

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.SafetyModelRecipe)
}
PROTOBUF_NDEBUG_INLINE SafetyModelRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SafetyModelRecipe_class_data_ =
    SafetyModelRecipe::InternalGenerateClassData_(SafetyModelRecipe_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .optimization_guide.proto.FileReference weights_file = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.weights_file_, this_._impl_.weights_file_->GetCachedSize(), target,
        stream);
  }

  // .optimization_guide.proto.FileReference language_detection_model_file = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.language_detection_model_file_, this_._impl_.language_detection_model_file_->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:optimization_guide.proto.SafetyModelRecipe)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SafetyModelRecipe::ByteSizeLong(const MessageLite& base) {
  const SafetyModelRecipe& this_ = static_cast<const SafetyModelRecipe&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SafetyModelRecipe::ByteSizeLong() const {
  const SafetyModelRecipe& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.SafetyModelRecipe)
  ::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)) {
    // .optimization_guide.proto.FileReference weights_file = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.weights_file_);
    }
    // .optimization_guide.proto.FileReference language_detection_model_file = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.language_detection_model_file_);
    }
  }
  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 SafetyModelRecipe::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SafetyModelRecipe*>(&to_msg);
  auto& from = static_cast<const SafetyModelRecipe&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.SafetyModelRecipe)
  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_.weights_file_ != nullptr);
      if (_this->_impl_.weights_file_ == nullptr) {
        _this->_impl_.weights_file_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.weights_file_);
      } else {
        _this->_impl_.weights_file_->MergeFrom(*from._impl_.weights_file_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.language_detection_model_file_ != nullptr);
      if (_this->_impl_.language_detection_model_file_ == nullptr) {
        _this->_impl_.language_detection_model_file_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.language_detection_model_file_);
      } else {
        _this->_impl_.language_detection_model_file_->MergeFrom(*from._impl_.language_detection_model_file_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SafetyModelRecipe::InternalSwap(SafetyModelRecipe* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SafetyModelRecipe, _impl_.language_detection_model_file_)
      + sizeof(SafetyModelRecipe::_impl_.language_detection_model_file_)
      - PROTOBUF_FIELD_OFFSET(SafetyModelRecipe, _impl_.weights_file_)>(
          reinterpret_cast<char*>(&_impl_.weights_file_),
          reinterpret_cast<char*>(&other->_impl_.weights_file_));
}

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

SolutionRecipe::SolutionRecipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SolutionRecipe_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.SolutionRecipe)
}
PROTOBUF_NDEBUG_INLINE SolutionRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::SolutionRecipe& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        model_recipe_id_(arena, from.model_recipe_id_),
        safety_model_recipe_id_(arena, from.safety_model_recipe_id_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.SolutionRecipe)
}
PROTOBUF_NDEBUG_INLINE SolutionRecipe::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        model_recipe_id_(arena),
        safety_model_recipe_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SolutionRecipe_class_data_ =
    SolutionRecipe::InternalGenerateClassData_(SolutionRecipe_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SolutionRecipe::GetClassData() const {
  return SolutionRecipe_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SolutionRecipe::GetClassData() const {
  return SolutionRecipe_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SolutionRecipe::ParseTableT_
    SolutionRecipe::_table_ =
        SolutionRecipe::InternalGenerateParseTable_(SolutionRecipe_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SolutionRecipe::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.SolutionRecipe)
  ::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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.model_recipe_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.safety_model_recipe_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.config_file_ != nullptr);
      _impl_.config_file_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string model_recipe_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_model_recipe_id().empty()) {
      const ::std::string& _s = this_._internal_model_recipe_id();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.SolutionRecipe.model_recipe_id");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // string safety_model_recipe_id = 2 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_safety_model_recipe_id();
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.SolutionRecipe.safety_model_recipe_id");
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // .optimization_guide.proto.FileReference config_file = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.config_file_, this_._impl_.config_file_->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:optimization_guide.proto.SolutionRecipe)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SolutionRecipe::ByteSizeLong(const MessageLite& base) {
  const SolutionRecipe& this_ = static_cast<const SolutionRecipe&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SolutionRecipe::ByteSizeLong() const {
  const SolutionRecipe& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.SolutionRecipe)
  ::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, 0x00000007U)) {
    // string model_recipe_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_model_recipe_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_model_recipe_id());
      }
    }
    // string safety_model_recipe_id = 2 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_safety_model_recipe_id());
    }
    // .optimization_guide.proto.FileReference config_file = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.config_file_);
    }
  }
  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 SolutionRecipe::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SolutionRecipe*>(&to_msg);
  auto& from = static_cast<const SolutionRecipe&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.SolutionRecipe)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_model_recipe_id().empty()) {
        _this->_internal_set_model_recipe_id(from._internal_model_recipe_id());
      } else {
        if (_this->_impl_.model_recipe_id_.IsDefault()) {
          _this->_internal_set_model_recipe_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_safety_model_recipe_id(from._internal_safety_model_recipe_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.config_file_ != nullptr);
      if (_this->_impl_.config_file_ == nullptr) {
        _this->_impl_.config_file_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.config_file_);
      } else {
        _this->_impl_.config_file_->MergeFrom(*from._impl_.config_file_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SolutionRecipe::InternalSwap(SolutionRecipe* 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_.model_recipe_id_, &other->_impl_.model_recipe_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.safety_model_recipe_id_, &other->_impl_.safety_model_recipe_id_, arena);
  swap(_impl_.config_file_, other->_impl_.config_file_);
}

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

void SolutionConfig::clear_feature() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.feature_ != nullptr) _impl_.feature_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
void SolutionConfig::clear_safety() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.safety_ != nullptr) _impl_.safety_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
void SolutionConfig::clear_model_versions() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.model_versions_ != nullptr) _impl_.model_versions_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
SolutionConfig::SolutionConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SolutionConfig_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.SolutionConfig)
}
PROTOBUF_NDEBUG_INLINE SolutionConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::SolutionConfig& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        capabilities_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::optimization_guide::proto::SolutionConfig,
              PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::SolutionConfig, _impl_.capabilities_)>()
          , from.capabilities_
        }
        ,
        _capabilities_cached_byte_size_{0} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SolutionConfig* 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_.feature_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_)
                : nullptr;
  _impl_.safety_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.safety_)
                : nullptr;
  _impl_.model_versions_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.model_versions_)
                : nullptr;

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

inline void SolutionConfig::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, feature_),
           0,
           offsetof(Impl_, model_versions_) -
               offsetof(Impl_, feature_) +
               sizeof(Impl_::model_versions_));
}
SolutionConfig::~SolutionConfig() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.SolutionConfig)
  SharedDtor(*this);
}
inline void SolutionConfig::SharedDtor(MessageLite& self) {
  SolutionConfig& this_ = static_cast<SolutionConfig&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  delete this_._impl_.feature_;
  delete this_._impl_.safety_;
  delete this_._impl_.model_versions_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SolutionConfig_class_data_ =
    SolutionConfig::InternalGenerateClassData_(SolutionConfig_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SolutionConfig::GetClassData() const {
  return SolutionConfig_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SolutionConfig::GetClassData() const {
  return SolutionConfig_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SolutionConfig::ParseTableT_
    SolutionConfig::_table_ =
        SolutionConfig::InternalGenerateParseTable_(SolutionConfig_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SolutionConfig::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.SolutionConfig)
  ::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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.capabilities_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.feature_ != nullptr);
      _impl_.feature_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.safety_ != nullptr);
      _impl_.safety_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.model_versions_ != nullptr);
      _impl_.model_versions_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .optimization_guide.proto.OnDeviceModelExecutionFeatureConfig feature = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.feature_, this_._impl_.feature_->GetCachedSize(), target,
        stream);
  }

  // .optimization_guide.proto.FeatureTextSafetyConfiguration safety = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.safety_, this_._impl_.safety_->GetCachedSize(), target,
        stream);
  }

  // .optimization_guide.proto.OnDeviceModelVersions model_versions = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.model_versions_, this_._impl_.model_versions_->GetCachedSize(), target,
        stream);
  }

  // repeated .optimization_guide.proto.OnDeviceModelCapability capabilities = 4;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    {
      ::size_t byte_size = this_._impl_._capabilities_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteEnumPacked(
            4, this_._internal_capabilities(), byte_size, 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:optimization_guide.proto.SolutionConfig)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SolutionConfig::ByteSizeLong(const MessageLite& base) {
  const SolutionConfig& this_ = static_cast<const SolutionConfig&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SolutionConfig::ByteSizeLong() const {
  const SolutionConfig& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.SolutionConfig)
  ::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, 0x0000000fU)) {
    // repeated .optimization_guide.proto.OnDeviceModelCapability capabilities = 4;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize(
          this_._internal_capabilities(), 1, this_._impl_._capabilities_cached_byte_size_);
    }
    // .optimization_guide.proto.OnDeviceModelExecutionFeatureConfig feature = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.feature_);
    }
    // .optimization_guide.proto.FeatureTextSafetyConfiguration safety = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.safety_);
    }
    // .optimization_guide.proto.OnDeviceModelVersions model_versions = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.model_versions_);
    }
  }
  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 SolutionConfig::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SolutionConfig*>(&to_msg);
  auto& from = static_cast<const SolutionConfig&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.SolutionConfig)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_capabilities()->MergeFrom(from._internal_capabilities());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.feature_ != nullptr);
      if (_this->_impl_.feature_ == nullptr) {
        _this->_impl_.feature_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_);
      } else {
        _this->_impl_.feature_->MergeFrom(*from._impl_.feature_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.safety_ != nullptr);
      if (_this->_impl_.safety_ == nullptr) {
        _this->_impl_.safety_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.safety_);
      } else {
        _this->_impl_.safety_->MergeFrom(*from._impl_.safety_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.model_versions_ != nullptr);
      if (_this->_impl_.model_versions_ == nullptr) {
        _this->_impl_.model_versions_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.model_versions_);
      } else {
        _this->_impl_.model_versions_->MergeFrom(*from._impl_.model_versions_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SolutionConfig::InternalSwap(SolutionConfig* 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_.capabilities_.InternalSwap(&other->_impl_.capabilities_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.model_versions_)
      + sizeof(SolutionConfig::_impl_.model_versions_)
      - PROTOBUF_FIELD_OFFSET(SolutionConfig, _impl_.feature_)>(
          reinterpret_cast<char*>(&_impl_.feature_),
          reinterpret_cast<char*>(&other->_impl_.feature_));
}

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

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

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

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

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

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

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

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

inline void Recipes::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
Recipes::~Recipes() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.Recipes)
  SharedDtor(*this);
}
inline void Recipes::SharedDtor(MessageLite& self) {
  Recipes& this_ = static_cast<Recipes&>(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 Recipes_class_data_ =
    Recipes::InternalGenerateClassData_(Recipes_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Recipes::GetClassData() const {
  return Recipes_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Recipes::GetClassData() const {
  return Recipes_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Recipes::ParseTableT_
    Recipes::_table_ =
        Recipes::InternalGenerateParseTable_(Recipes_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Recipes::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.Recipes)
  ::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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.base_models_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.adaptations_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.safety_models_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.solutions_.Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // map<string, .optimization_guide.proto.BaseModelRecipe> base_models = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_base_models().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::optimization_guide::proto::BaseModelRecipe>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::BaseModelRecipe,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_base_models();

      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);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.base_models");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              1, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.base_models");
        }
      }
    }
  }

  // map<string, .optimization_guide.proto.AdaptationRecipe> adaptations = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_adaptations().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::optimization_guide::proto::AdaptationRecipe>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::AdaptationRecipe,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_adaptations();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              2, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.adaptations");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              2, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.adaptations");
        }
      }
    }
  }

  // map<string, .optimization_guide.proto.SafetyModelRecipe> safety_models = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (!this_._internal_safety_models().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::optimization_guide::proto::SafetyModelRecipe>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::SafetyModelRecipe,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_safety_models();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              3, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.safety_models");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              3, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.safety_models");
        }
      }
    }
  }

  // map<string, .optimization_guide.proto.SolutionRecipe> solutions = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (!this_._internal_solutions().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::optimization_guide::proto::SolutionRecipe>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::SolutionRecipe,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_solutions();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              4, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.solutions");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              4, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Recipes.solutions");
        }
      }
    }
  }

  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:optimization_guide.proto.Recipes)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Recipes::ByteSizeLong(const MessageLite& base) {
  const Recipes& this_ = static_cast<const Recipes&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Recipes::ByteSizeLong() const {
  const Recipes& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.Recipes)
  ::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, 0x0000000fU)) {
    // map<string, .optimization_guide.proto.BaseModelRecipe> base_models = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_base_models_size());
      for (const auto& entry : this_._internal_base_models()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::BaseModelRecipe,
                                       _pbi::WireFormatLite::TYPE_STRING,
                                       _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
      }
    }
    // map<string, .optimization_guide.proto.AdaptationRecipe> adaptations = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_adaptations_size());
      for (const auto& entry : this_._internal_adaptations()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::AdaptationRecipe,
                                       _pbi::WireFormatLite::TYPE_STRING,
                                       _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
      }
    }
    // map<string, .optimization_guide.proto.SafetyModelRecipe> safety_models = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_safety_models_size());
      for (const auto& entry : this_._internal_safety_models()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::SafetyModelRecipe,
                                       _pbi::WireFormatLite::TYPE_STRING,
                                       _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
      }
    }
    // map<string, .optimization_guide.proto.SolutionRecipe> solutions = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_solutions_size());
      for (const auto& entry : this_._internal_solutions()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::SolutionRecipe,
                                       _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 Recipes::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Recipes*>(&to_msg);
  auto& from = static_cast<const Recipes&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.Recipes)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_impl_.base_models_.MergeFrom(from._impl_.base_models_);
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.adaptations_.MergeFrom(from._impl_.adaptations_);
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.safety_models_.MergeFrom(from._impl_.safety_models_);
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.solutions_.MergeFrom(from._impl_.solutions_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void Recipes::InternalSwap(Recipes* 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_.base_models_.InternalSwap(&other->_impl_.base_models_);
  _impl_.adaptations_.InternalSwap(&other->_impl_.adaptations_);
  _impl_.safety_models_.InternalSwap(&other->_impl_.safety_models_);
  _impl_.solutions_.InternalSwap(&other->_impl_.solutions_);
}

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.UseCaseConfig)
}
PROTOBUF_NDEBUG_INLINE UseCaseConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        solution_recipe_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite UseCaseConfig_class_data_ =
    UseCaseConfig::InternalGenerateClassData_(UseCaseConfig_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
UseCaseConfig::GetClassData() const {
  return UseCaseConfig_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
UseCaseConfig::GetClassData() const {
  return UseCaseConfig_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const UseCaseConfig::ParseTableT_
    UseCaseConfig::_table_ =
        UseCaseConfig::InternalGenerateParseTable_(UseCaseConfig_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void UseCaseConfig::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.UseCaseConfig)
  ::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_.solution_recipe_id_.ClearNonDefaultToEmpty();
  }
  _impl_.background_download_ = false;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string solution_recipe_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_solution_recipe_id().empty()) {
      const ::std::string& _s = this_._internal_solution_recipe_id();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.UseCaseConfig.solution_recipe_id");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // bool background_download = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (this_._internal_background_download() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          2, this_._internal_background_download(), 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:optimization_guide.proto.UseCaseConfig)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t UseCaseConfig::ByteSizeLong(const MessageLite& base) {
  const UseCaseConfig& this_ = static_cast<const UseCaseConfig&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t UseCaseConfig::ByteSizeLong() const {
  const UseCaseConfig& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.UseCaseConfig)
  ::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)) {
    // string solution_recipe_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_solution_recipe_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_solution_recipe_id());
      }
    }
    // bool background_download = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (this_._internal_background_download() != 0) {
        total_size += 2;
      }
    }
  }
  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 UseCaseConfig::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<UseCaseConfig*>(&to_msg);
  auto& from = static_cast<const UseCaseConfig&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.UseCaseConfig)
  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)) {
      if (!from._internal_solution_recipe_id().empty()) {
        _this->_internal_set_solution_recipe_id(from._internal_solution_recipe_id());
      } else {
        if (_this->_impl_.solution_recipe_id_.IsDefault()) {
          _this->_internal_set_solution_recipe_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (from._internal_background_download() != 0) {
        _this->_impl_.background_download_ = from._impl_.background_download_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void UseCaseConfig::InternalSwap(UseCaseConfig* 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_.solution_recipe_id_, &other->_impl_.solution_recipe_id_, arena);
  swap(_impl_.background_download_, other->_impl_.background_download_);
}

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

void ValidationTask::clear_config() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.config_ != nullptr) _impl_.config_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
ValidationTask::ValidationTask(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ValidationTask_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.ValidationTask)
}
PROTOBUF_NDEBUG_INLINE ValidationTask::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::ValidationTask& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        version_(arena, from.version_),
        use_case_(arena, from.use_case_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.ValidationTask)
}
PROTOBUF_NDEBUG_INLINE ValidationTask::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        version_(arena),
        use_case_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ValidationTask_class_data_ =
    ValidationTask::InternalGenerateClassData_(ValidationTask_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ValidationTask::GetClassData() const {
  return ValidationTask_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ValidationTask::GetClassData() const {
  return ValidationTask_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ValidationTask::ParseTableT_
    ValidationTask::_table_ =
        ValidationTask::InternalGenerateParseTable_(ValidationTask_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ValidationTask::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.ValidationTask)
  ::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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.use_case_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.config_ != nullptr);
      _impl_.config_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string version = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_version().empty()) {
      const ::std::string& _s = this_._internal_version();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.ValidationTask.version");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // string use_case = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_use_case().empty()) {
      const ::std::string& _s = this_._internal_use_case();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.ValidationTask.use_case");
      target = stream->WriteStringMaybeAliased(2, _s, target);
    }
  }

  // .optimization_guide.proto.OnDeviceModelValidationConfig config = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.config_, this_._impl_.config_->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:optimization_guide.proto.ValidationTask)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ValidationTask::ByteSizeLong(const MessageLite& base) {
  const ValidationTask& this_ = static_cast<const ValidationTask&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ValidationTask::ByteSizeLong() const {
  const ValidationTask& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.ValidationTask)
  ::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, 0x00000007U)) {
    // string version = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_version().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_version());
      }
    }
    // string use_case = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_use_case().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_use_case());
      }
    }
    // .optimization_guide.proto.OnDeviceModelValidationConfig config = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.config_);
    }
  }
  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 ValidationTask::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ValidationTask*>(&to_msg);
  auto& from = static_cast<const ValidationTask&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.ValidationTask)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_version().empty()) {
        _this->_internal_set_version(from._internal_version());
      } else {
        if (_this->_impl_.version_.IsDefault()) {
          _this->_internal_set_version("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_use_case().empty()) {
        _this->_internal_set_use_case(from._internal_use_case());
      } else {
        if (_this->_impl_.use_case_.IsDefault()) {
          _this->_internal_set_use_case("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.config_ != nullptr);
      if (_this->_impl_.config_ == nullptr) {
        _this->_impl_.config_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.config_);
      } else {
        _this->_impl_.config_->MergeFrom(*from._impl_.config_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ValidationTask::InternalSwap(ValidationTask* 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_.version_, &other->_impl_.version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.use_case_, &other->_impl_.use_case_, arena);
  swap(_impl_.config_, other->_impl_.config_);
}

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

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

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

void DeviceCategoryConfig::clear_feature_configs() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.feature_configs_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
DeviceCategoryConfig::DeviceCategoryConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, DeviceCategoryConfig_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.DeviceCategoryConfig)
}
PROTOBUF_NDEBUG_INLINE DeviceCategoryConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::DeviceCategoryConfig& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        use_cases_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::optimization_guide::proto::DeviceCategoryConfig,
              PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::DeviceCategoryConfig, _impl_.use_cases_)>()
          , from.use_cases_
        }
        ,
        feature_configs_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::optimization_guide::proto::DeviceCategoryConfig,
              PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::DeviceCategoryConfig, _impl_.feature_configs_)>()
          , from.feature_configs_
        }
     {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite DeviceCategoryConfig_class_data_ =
    DeviceCategoryConfig::InternalGenerateClassData_(DeviceCategoryConfig_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
DeviceCategoryConfig::GetClassData() const {
  return DeviceCategoryConfig_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
DeviceCategoryConfig::GetClassData() const {
  return DeviceCategoryConfig_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const DeviceCategoryConfig::ParseTableT_
    DeviceCategoryConfig::_table_ =
        DeviceCategoryConfig::InternalGenerateParseTable_(DeviceCategoryConfig_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void DeviceCategoryConfig::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.DeviceCategoryConfig)
  ::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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.validations_ != nullptr);
      _impl_.validations_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.use_cases_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.feature_configs_.Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

      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);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.DeviceCategoryConfig.use_cases");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              1, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.DeviceCategoryConfig.use_cases");
        }
      }
    }
  }

  // map<string, .optimization_guide.proto.Any> feature_configs = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (!this_._internal_feature_configs().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::optimization_guide::proto::Any>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::Any,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_feature_configs();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              2, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.DeviceCategoryConfig.feature_configs");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              2, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.DeviceCategoryConfig.feature_configs");
        }
      }
    }
  }

  // .optimization_guide.proto.ValidationTask validations = 3 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.validations_, this_._impl_.validations_->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:optimization_guide.proto.DeviceCategoryConfig)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t DeviceCategoryConfig::ByteSizeLong(const MessageLite& base) {
  const DeviceCategoryConfig& this_ = static_cast<const DeviceCategoryConfig&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t DeviceCategoryConfig::ByteSizeLong() const {
  const DeviceCategoryConfig& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.DeviceCategoryConfig)
  ::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, 0x00000007U)) {
    // .optimization_guide.proto.ValidationTask validations = 3 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.validations_);
    }
    // map<string, .optimization_guide.proto.UseCaseConfig> use_cases = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_use_cases_size());
      for (const auto& entry : this_._internal_use_cases()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::UseCaseConfig,
                                       _pbi::WireFormatLite::TYPE_STRING,
                                       _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
      }
    }
    // map<string, .optimization_guide.proto.Any> feature_configs = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_feature_configs_size());
      for (const auto& entry : this_._internal_feature_configs()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::Any,
                                       _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 DeviceCategoryConfig::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<DeviceCategoryConfig*>(&to_msg);
  auto& from = static_cast<const DeviceCategoryConfig&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.DeviceCategoryConfig)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.validations_ != nullptr);
      if (_this->_impl_.validations_ == nullptr) {
        _this->_impl_.validations_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.validations_);
      } else {
        _this->_impl_.validations_->MergeFrom(*from._impl_.validations_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.use_cases_.MergeFrom(from._impl_.use_cases_);
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.feature_configs_.MergeFrom(from._impl_.feature_configs_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void DeviceCategoryConfig::InternalSwap(DeviceCategoryConfig* 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_.validations_, other->_impl_.validations_);
  _impl_.use_cases_.InternalSwap(&other->_impl_.use_cases_);
  _impl_.feature_configs_.InternalSwap(&other->_impl_.feature_configs_);
}

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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Manifest_class_data_ =
    Manifest::InternalGenerateClassData_(Manifest_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Manifest::GetClassData() const {
  return Manifest_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Manifest::GetClassData() const {
  return Manifest_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Manifest::ParseTableT_
    Manifest::_table_ =
        Manifest::InternalGenerateParseTable_(Manifest_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Manifest::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.Manifest)
  ::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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.assets_ != nullptr);
      _impl_.assets_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.recipes_ != nullptr);
      _impl_.recipes_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.category_configs_.Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .optimization_guide.proto.Assets assets = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.assets_, this_._impl_.assets_->GetCachedSize(), target,
        stream);
  }

  // .optimization_guide.proto.Recipes recipes = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.recipes_, this_._impl_.recipes_->GetCachedSize(), target,
        stream);
  }

  // map<string, .optimization_guide.proto.DeviceCategoryConfig> category_configs = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (!this_._internal_category_configs().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::optimization_guide::proto::DeviceCategoryConfig>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::DeviceCategoryConfig,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_category_configs();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              3, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Manifest.category_configs");
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              3, entry.first, entry.second, target, stream);
          ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
              entry.first.data(), static_cast<int>(entry.first.length()),
 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.Manifest.category_configs");
        }
      }
    }
  }

  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:optimization_guide.proto.Manifest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Manifest::ByteSizeLong(const MessageLite& base) {
  const Manifest& this_ = static_cast<const Manifest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Manifest::ByteSizeLong() const {
  const Manifest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.Manifest)
  ::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, 0x00000007U)) {
    // .optimization_guide.proto.Assets assets = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.assets_);
    }
    // .optimization_guide.proto.Recipes recipes = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.recipes_);
    }
    // map<string, .optimization_guide.proto.DeviceCategoryConfig> category_configs = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_category_configs_size());
      for (const auto& entry : this_._internal_category_configs()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::optimization_guide::proto::DeviceCategoryConfig,
                                       _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 Manifest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Manifest*>(&to_msg);
  auto& from = static_cast<const Manifest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.Manifest)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.assets_ != nullptr);
      if (_this->_impl_.assets_ == nullptr) {
        _this->_impl_.assets_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.assets_);
      } else {
        _this->_impl_.assets_->MergeFrom(*from._impl_.assets_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.recipes_ != nullptr);
      if (_this->_impl_.recipes_ == nullptr) {
        _this->_impl_.recipes_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.recipes_);
      } else {
        _this->_impl_.recipes_->MergeFrom(*from._impl_.recipes_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.category_configs_.MergeFrom(from._impl_.category_configs_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void Manifest::InternalSwap(Manifest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Manifest, _impl_.recipes_)
      + sizeof(Manifest::_impl_.recipes_)
      - PROTOBUF_FIELD_OFFSET(Manifest, _impl_.assets_)>(
          reinterpret_cast<char*>(&_impl_.assets_),
          reinterpret_cast<char*>(&other->_impl_.assets_));
  _impl_.category_configs_.InternalSwap(&other->_impl_.category_configs_);
}

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