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

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

constexpr AtMemorySuggestion::ParseTableT_ AtMemorySuggestion::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _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
      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::AtMemorySuggestion>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .optimization_guide.proto.AtMemorySuggestionAction action = 1 [features = {
      {::_pbi::TcParser::FastV32S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _impl_.action_)}},
      // int32 response_results_index = 2 [features = {
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _impl_.response_results_index_)}},
      // .optimization_guide.proto.AtMemorySuggestionSource source = 3 [features = {
      {::_pbi::TcParser::FastV32S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _impl_.source_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .optimization_guide.proto.AtMemorySuggestionAction action = 1 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _impl_.action_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // int32 response_results_index = 2 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _impl_.response_results_index_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // .optimization_guide.proto.AtMemorySuggestionSource source = 3 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _impl_.source_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr AtMemorySuggestion::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        action_{static_cast< ::optimization_guide::proto::AtMemorySuggestionAction >(0)},
        response_results_index_{0},
        source_{static_cast< ::optimization_guide::proto::AtMemorySuggestionSource >(0)} {}

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

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

constexpr AtMemoryQuality::ParseTableT_ AtMemoryQuality::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_._has_bits_),
      0, // no _extensions_
      8, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967040,  // skipmap
      offsetof(ParseTableT_, field_entries),
      8,  // 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::AtMemoryQuality>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // int64 query_submitted_to_suggestions_shown_ms = 8 [features = {
      {::_pbi::TcParser::FastV64S1,
       {64, 7, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.query_submitted_to_suggestions_shown_ms_)}},
      // string query = 1 [features = {
      {::_pbi::TcParser::FastUS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.query_)}},
      // string session_id = 2 [features = {
      {::_pbi::TcParser::FastUS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.session_id_)}},
      // string title = 3 [features = {
      {::_pbi::TcParser::FastUS1,
       {26, 3, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.title_)}},
      // string url = 4 [features = {
      {::_pbi::TcParser::FastUS1,
       {34, 4, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.url_)}},
      // uint64 form_signature = 5 [features = {
      {::_pbi::TcParser::FastV64S1,
       {40, 5, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.form_signature_)}},
      // uint64 field_signature = 6 [features = {
      {::_pbi::TcParser::FastV64S1,
       {48, 6, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.field_signature_)}},
      // repeated .optimization_guide.proto.AtMemorySuggestion suggestions = 7;
      {::_pbi::TcParser::FastMtR1,
       {58, 0, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.suggestions_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string query = 1 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.query_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string session_id = 2 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.session_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string title = 3 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.title_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string url = 4 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.url_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // uint64 form_signature = 5 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.form_signature_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // uint64 field_signature = 6 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.field_signature_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // repeated .optimization_guide.proto.AtMemorySuggestion suggestions = 7;
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.suggestions_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // int64 query_submitted_to_suggestions_shown_ms = 8 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.query_submitted_to_suggestions_shown_ms_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::AtMemorySuggestion>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::AtMemorySuggestion_globals_},
        #endif
    }},
    {{
      "\50\5\12\5\3\0\0\0\0\0\0\0\0\0\0\0"
      "optimization_guide.proto.AtMemoryQuality"
      "query"
      "session_id"
      "title"
      "url"
    }},
  };
}


inline constexpr AtMemoryQuality::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        suggestions_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::AtMemoryQuality,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::AtMemoryQuality, _impl_.suggestions_)>()
         }
        ,
        query_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        session_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        form_signature_{::uint64_t{0u}},
        field_signature_{::uint64_t{0u}},
        query_submitted_to_suggestions_shown_ms_{::int64_t{0}} {}

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

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

constexpr AtMemoryLoggingData::ParseTableT_ AtMemoryLoggingData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AtMemoryLoggingData, _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
      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::AtMemoryLoggingData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .optimization_guide.proto.AtMemoryQuality quality = 1 [features = {
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AtMemoryLoggingData, _impl_.quality_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .optimization_guide.proto.AtMemoryQuality quality = 1 [features = {
      {PROTOBUF_FIELD_OFFSET(AtMemoryLoggingData, _impl_.quality_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::AtMemoryQuality>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::AtMemoryQuality_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST AtMemoryLoggingDataGlobalsTypeInternal AtMemoryLoggingData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* AtMemoryLoggingData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return AtMemoryLoggingData_globals_.GetClassData();
#else
  return AtMemoryLoggingData_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 AtMemorySuggestionAction_internal_data_[] = {
    262144u, 0u, };
static const char AtMemorySuggestionAction_names[] = {
    "AT_MEMORY_SUGGESTION_ACTION_ACCEPTED"
    "AT_MEMORY_SUGGESTION_ACTION_FLYOUT_MENU_ATTRIBUTE_ACCEPTED"
    "AT_MEMORY_SUGGESTION_ACTION_FLYOUT_MENU_OPENED"
    "AT_MEMORY_SUGGESTION_ACTION_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry AtMemorySuggestionAction_entries[] = {
    {{&AtMemorySuggestionAction_names[0], 36}, 1},
    {{&AtMemorySuggestionAction_names[36], 58}, 3},
    {{&AtMemorySuggestionAction_names[94], 46}, 2},
    {{&AtMemorySuggestionAction_names[140], 39}, 0},
};

static const int AtMemorySuggestionAction_entries_by_number[] = {
    3,  // 0 -> AT_MEMORY_SUGGESTION_ACTION_UNSPECIFIED
    0,  // 1 -> AT_MEMORY_SUGGESTION_ACTION_ACCEPTED
    2,  // 2 -> AT_MEMORY_SUGGESTION_ACTION_FLYOUT_MENU_OPENED
    1,  // 3 -> AT_MEMORY_SUGGESTION_ACTION_FLYOUT_MENU_ATTRIBUTE_ACCEPTED
};

bool AtMemorySuggestionAction_Parse(::absl::string_view name,
                                  AtMemorySuggestionAction* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      AtMemorySuggestionAction_entries, 4, name, &int_value);
  if (success) {
    *value = static_cast<AtMemorySuggestionAction>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    AtMemorySuggestionAction_strings[4] = {};

const ::std::string& AtMemorySuggestionAction_Name(AtMemorySuggestionAction value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      AtMemorySuggestionAction_entries, AtMemorySuggestionAction_entries_by_number, 4,
      AtMemorySuggestionAction_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(AtMemorySuggestionAction_entries,
                                  AtMemorySuggestionAction_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : AtMemorySuggestionAction_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t AtMemorySuggestionSource_internal_data_[] = {
    196608u, 0u, };
static const char AtMemorySuggestionSource_names[] = {
    "AT_MEMORY_SUGGESTION_SOURCE_AUTOFILL"
    "AT_MEMORY_SUGGESTION_SOURCE_CONTEXT_MEMORY_SERVICE"
    "AT_MEMORY_SUGGESTION_SOURCE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry AtMemorySuggestionSource_entries[] = {
    {{&AtMemorySuggestionSource_names[0], 36}, 2},
    {{&AtMemorySuggestionSource_names[36], 50}, 1},
    {{&AtMemorySuggestionSource_names[86], 39}, 0},
};

static const int AtMemorySuggestionSource_entries_by_number[] = {
    2,  // 0 -> AT_MEMORY_SUGGESTION_SOURCE_UNSPECIFIED
    1,  // 1 -> AT_MEMORY_SUGGESTION_SOURCE_CONTEXT_MEMORY_SERVICE
    0,  // 2 -> AT_MEMORY_SUGGESTION_SOURCE_AUTOFILL
};

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

const ::std::string& AtMemorySuggestionSource_Name(AtMemorySuggestionSource value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      AtMemorySuggestionSource_entries, AtMemorySuggestionSource_entries_by_number, 3,
      AtMemorySuggestionSource_strings);
  (void)kDummy;

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

AtMemoryLoggingData::AtMemoryLoggingData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AtMemoryLoggingData_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.AtMemoryLoggingData)
}
PROTOBUF_NDEBUG_INLINE AtMemoryLoggingData::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::AtMemoryLoggingData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AtMemoryLoggingData_class_data_ =
    AtMemoryLoggingData::InternalGenerateClassData_(AtMemoryLoggingData_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .optimization_guide.proto.AtMemoryQuality quality = 1 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.quality_, this_._impl_.quality_->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.AtMemoryLoggingData)
  return target;
}

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

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

   {
    // .optimization_guide.proto.AtMemoryQuality quality = 1 [features = {
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.quality_);
    }
  }
  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 AtMemoryLoggingData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AtMemoryLoggingData*>(&to_msg);
  auto& from = static_cast<const AtMemoryLoggingData&>(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.AtMemoryLoggingData)
  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)) {
    ABSL_DCHECK(from._impl_.quality_ != nullptr);
    if (_this->_impl_.quality_ == nullptr) {
      _this->_impl_.quality_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.quality_);
    } else {
      _this->_impl_.quality_->MergeFrom(*from._impl_.quality_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AtMemoryLoggingData::InternalSwap(AtMemoryLoggingData* 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_.quality_, other->_impl_.quality_);
}

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

AtMemoryQuality::AtMemoryQuality(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AtMemoryQuality_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.AtMemoryQuality)
}
PROTOBUF_NDEBUG_INLINE AtMemoryQuality::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::AtMemoryQuality& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        suggestions_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::optimization_guide::proto::AtMemoryQuality,
              PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::AtMemoryQuality, _impl_.suggestions_)>()
          , from.suggestions_
        }
        ,
        query_(arena, from.query_),
        session_id_(arena, from.session_id_),
        title_(arena, from.title_),
        url_(arena, from.url_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  AtMemoryQuality* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, form_signature_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, form_signature_),
           offsetof(Impl_, query_submitted_to_suggestions_shown_ms_) -
               offsetof(Impl_, form_signature_) +
               sizeof(Impl_::query_submitted_to_suggestions_shown_ms_));

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AtMemoryQuality_class_data_ =
    AtMemoryQuality::InternalGenerateClassData_(AtMemoryQuality_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.suggestions_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.query_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.session_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.url_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
    ::memset(&_impl_.form_signature_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.query_submitted_to_suggestions_shown_ms_) -
        reinterpret_cast<char*>(&_impl_.form_signature_)) + sizeof(_impl_.query_submitted_to_suggestions_shown_ms_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

  // uint64 form_signature = 5 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    if (this_._internal_form_signature() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
          5, this_._internal_form_signature(), target);
    }
  }

  // uint64 field_signature = 6 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    if (this_._internal_field_signature() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
          6, this_._internal_field_signature(), target);
    }
  }

  // repeated .optimization_guide.proto.AtMemorySuggestion suggestions = 7;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_suggestions_size());
         i < n; i++) {
      const auto& repfield = this_._internal_suggestions().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              7, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // int64 query_submitted_to_suggestions_shown_ms = 8 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
            stream, this_._internal_query_submitted_to_suggestions_shown_ms(), 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.AtMemoryQuality)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated .optimization_guide.proto.AtMemorySuggestion suggestions = 7;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_suggestions_size();
      for (const auto& msg : this_._internal_suggestions()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // string query = 1 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_query());
    }
    // string session_id = 2 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_session_id());
    }
    // string title = 3 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
    // string url = 4 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_url());
    }
    // uint64 form_signature = 5 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (this_._internal_form_signature() != 0) {
        total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
            this_._internal_form_signature());
      }
    }
    // uint64 field_signature = 6 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      if (this_._internal_field_signature() != 0) {
        total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
            this_._internal_field_signature());
      }
    }
    // int64 query_submitted_to_suggestions_shown_ms = 8 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_query_submitted_to_suggestions_shown_ms());
    }
  }
  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 AtMemoryQuality::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AtMemoryQuality*>(&to_msg);
  auto& from = static_cast<const AtMemoryQuality&>(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.AtMemoryQuality)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_suggestions()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_suggestions());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_query(from._internal_query());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_session_id(from._internal_session_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_title(from._internal_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_url(from._internal_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (from._internal_form_signature() != 0) {
        _this->_impl_.form_signature_ = from._impl_.form_signature_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      if (from._internal_field_signature() != 0) {
        _this->_impl_.field_signature_ = from._impl_.field_signature_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.query_submitted_to_suggestions_shown_ms_ = from._impl_.query_submitted_to_suggestions_shown_ms_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AtMemoryQuality::InternalSwap(AtMemoryQuality* 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]);
  _impl_.suggestions_.InternalSwap(&other->_impl_.suggestions_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.query_, &other->_impl_.query_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.session_id_, &other->_impl_.session_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.query_submitted_to_suggestions_shown_ms_)
      + sizeof(AtMemoryQuality::_impl_.query_submitted_to_suggestions_shown_ms_)
      - PROTOBUF_FIELD_OFFSET(AtMemoryQuality, _impl_.form_signature_)>(
          reinterpret_cast<char*>(&_impl_.form_signature_),
          reinterpret_cast<char*>(&other->_impl_.form_signature_));
}

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

AtMemorySuggestion::AtMemorySuggestion(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AtMemorySuggestion_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.AtMemorySuggestion)
}
AtMemorySuggestion::AtMemorySuggestion(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AtMemorySuggestion& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AtMemorySuggestion_get_class_data()),
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena),
#endif  // PROTOBUF_CUSTOM_VTABLE
      _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}
PROTOBUF_NDEBUG_INLINE AtMemorySuggestion::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void AtMemorySuggestion::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, action_),
           0,
           offsetof(Impl_, source_) -
               offsetof(Impl_, action_) +
               sizeof(Impl_::source_));
}
AtMemorySuggestion::~AtMemorySuggestion() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.AtMemorySuggestion)
  SharedDtor(*this);
}
inline void AtMemorySuggestion::SharedDtor(MessageLite& self) {
  AtMemorySuggestion& this_ = static_cast<AtMemorySuggestion&>(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 AtMemorySuggestion_class_data_ =
    AtMemorySuggestion::InternalGenerateClassData_(AtMemorySuggestion_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AtMemorySuggestion::GetClassData() const {
  return AtMemorySuggestion_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AtMemorySuggestion::GetClassData() const {
  return AtMemorySuggestion_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AtMemorySuggestion::ParseTableT_
    AtMemorySuggestion::_table_ =
        AtMemorySuggestion::InternalGenerateParseTable_(AtMemorySuggestion_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AtMemorySuggestion::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.AtMemorySuggestion)
  ::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)) {
    ::memset(&_impl_.action_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.source_) -
        reinterpret_cast<char*>(&_impl_.action_)) + sizeof(_impl_.source_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .optimization_guide.proto.AtMemorySuggestionAction action = 1 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_action(), target);
  }

  // int32 response_results_index = 2 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_response_results_index(), target);
  }

  // .optimization_guide.proto.AtMemorySuggestionSource source = 3 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        3, this_._internal_source(), 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.AtMemorySuggestion)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AtMemorySuggestion::ByteSizeLong(const MessageLite& base) {
  const AtMemorySuggestion& this_ = static_cast<const AtMemorySuggestion&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AtMemorySuggestion::ByteSizeLong() const {
  const AtMemorySuggestion& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.AtMemorySuggestion)
  ::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.AtMemorySuggestionAction action = 1 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_action());
    }
    // int32 response_results_index = 2 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_response_results_index());
    }
    // .optimization_guide.proto.AtMemorySuggestionSource source = 3 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_source());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void AtMemorySuggestion::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AtMemorySuggestion*>(&to_msg);
  auto& from = static_cast<const AtMemorySuggestion&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.AtMemorySuggestion)
  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)) {
      _this->_impl_.action_ = from._impl_.action_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.response_results_index_ = from._impl_.response_results_index_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.source_ = from._impl_.source_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AtMemorySuggestion::InternalSwap(AtMemorySuggestion* 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(AtMemorySuggestion, _impl_.source_)
      + sizeof(AtMemorySuggestion::_impl_.source_)
      - PROTOBUF_FIELD_OFFSET(AtMemorySuggestion, _impl_.action_)>(
          reinterpret_cast<char*>(&_impl_.action_),
          reinterpret_cast<char*>(&other->_impl_.action_));
}

// @@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"
