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

#include "entity_info.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 omnibox {
class CategoryInfo::_Internal {
 public:
};

constexpr CategoryInfo::ParseTableT_ CategoryInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CategoryInfo,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      0, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967295,  // skipmap
      offsetof(ParseTableT_, field_names),  // no field_entries
      0,  // 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<::omnibox::CategoryInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, // no field_entries, or aux_entries
    {{
    }},
  };
}


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

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

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

constexpr ActionInfo::ParseTableT_ ActionInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_._has_bits_),
      0, // no _extensions_
      9, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966899,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      3,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::ActionInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .omnibox.ActionInfo.ActionType action_type = 8;
      {::_pbi::TcParser::FastEvS1,
       {64, 2, 1,
        PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_type_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string action_uri = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_uri_)}},
      // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 4;
      {::_pbi::TcParser::FastEr0S1,
       {32, 1, 12,
        PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.logs_action_type_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string action_uri = 3;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_uri_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 4;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.logs_action_type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .omnibox.ActionInfo.ActionType action_type = 8;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_type_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // map<string, string> search_parameters = 9;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.search_parameters_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
    }},
    {{
        {0, 12},
        {::_pbi::FieldAuxEnumData{}, ::omnibox::ActionInfo_ActionType_internal_data_},
        {::_pbi::TcParser::GetMapAuxInfo(
            0, 0, 9, 9, 1)},
    }},
    {{
    }},
  };
}


inline constexpr ActionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        action_uri_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        logs_action_type_{static_cast< ::omnibox::metrics::ActionInfo_ActionType >(0)},
        action_type_{static_cast< ::omnibox::ActionInfo_ActionType >(2)},
        search_parameters_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::ActionInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::ActionInfo, _impl_.search_parameters_)>()
         }
     {}

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

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

constexpr EntityInfo::ParseTableT_ EntityInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_._has_bits_),
      0, // no _extensions_
      17, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294890652,  // skipmap
      offsetof(ParseTableT_, field_entries),
      9,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::EntityInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string entity_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 2, 0,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.entity_id_)}},
      // optional string annotation = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 3, 0,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.annotation_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string image_url = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 4, 0,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.image_url_)}},
      // optional string name = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 5, 0,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.name_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string dominant_color = 9;
      {::_pbi::TcParser::FastBS1,
       {74, 6, 0,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.dominant_color_)}},
      // optional string suggest_search_parameters = 10;
      {::_pbi::TcParser::FastBS1,
       {82, 7, 0,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.suggest_search_parameters_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // repeated .omnibox.ActionInfo action_suggestions = 12;
      {::_pbi::TcParser::FastMtR1,
       {98, 0, 0,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.action_suggestions_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // repeated .omnibox.CategoryInfo.Category category = 14;
      {::_pbi::TcParser::FastEvR1,
       {112, 1, 1,
        PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.category_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string entity_id = 1;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.entity_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string annotation = 2;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.annotation_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string image_url = 6;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.image_url_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string name = 7;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.name_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string dominant_color = 9;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.dominant_color_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string suggest_search_parameters = 10;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.suggest_search_parameters_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .omnibox.ActionInfo action_suggestions = 12;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.action_suggestions_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .omnibox.CategoryInfo.Category category = 14;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.category_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kEnum)},
      // optional string website_uri = 17;
      {PROTOBUF_FIELD_OFFSET(EntityInfo, _impl_.website_uri_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::ActionInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::ActionInfo_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::omnibox::CategoryInfo_Category_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr EntityInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        action_suggestions_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::EntityInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::EntityInfo, _impl_.action_suggestions_)>()
         }
        ,
        category_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::EntityInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::EntityInfo, _impl_.category_)>()
         }
        ,
        entity_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        annotation_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        image_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        dominant_color_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        suggest_search_parameters_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        website_uri_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST EntityInfoGlobalsTypeInternal EntityInfo_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* EntityInfo_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return EntityInfo_globals_.GetClassData();
#else
  return EntityInfo_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace omnibox
namespace omnibox {
PROTOBUF_CONSTINIT const uint32_t ActionInfo_ActionType_internal_data_[] = {
    131074u, 32u, 65536u, };
static const char ActionInfo_ActionType_names[] = {
    "CALL"
    "DIRECTIONS"
    "REVIEWS"
};

static const ::google::protobuf::internal::EnumEntry ActionInfo_ActionType_entries[] = {
    {{&ActionInfo_ActionType_names[0], 4}, 3},
    {{&ActionInfo_ActionType_names[4], 10}, 2},
    {{&ActionInfo_ActionType_names[14], 7}, 20},
};

static const int ActionInfo_ActionType_entries_by_number[] = {
    1,  // 2 -> DIRECTIONS
    0,  // 3 -> CALL
    2,  // 20 -> REVIEWS
};

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

const ::std::string& ActionInfo_ActionType_Name(ActionInfo_ActionType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ActionInfo_ActionType_entries, ActionInfo_ActionType_entries_by_number, 3,
      ActionInfo_ActionType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ActionInfo_ActionType_entries,
                                  ActionInfo_ActionType_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ActionInfo_ActionType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CategoryInfo_Category_internal_data_[] = {
    65536u, 32u, 266328426u, };
static const char CategoryInfo_Category_names[] = {
    "BOOKS"
    "CARS_MODEL_US"
    "CARS_US"
    "COMPANIES"
    "FICTIONAL_CHARACTERS"
    "FOOD"
    "GAMES"
    "GEO"
    "LOCALITY"
    "LOCAL_POI"
    "MOTORCYCLES"
    "MOVIES"
    "MUSIC"
    "NATURAL_WORLD"
    "PEOPLE"
    "PRODUCTS"
    "PRODUCT_LINES"
    "SPORTS"
    "TV"
    "UNIVERSITIES"
    "UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CategoryInfo_Category_entries[] = {
    {{&CategoryInfo_Category_names[0], 5}, 9},
    {{&CategoryInfo_Category_names[5], 13}, 21},
    {{&CategoryInfo_Category_names[18], 7}, 18},
    {{&CategoryInfo_Category_names[25], 9}, 23},
    {{&CategoryInfo_Category_names[34], 20}, 27},
    {{&CategoryInfo_Category_names[54], 4}, 15},
    {{&CategoryInfo_Category_names[58], 5}, 4},
    {{&CategoryInfo_Category_names[63], 3}, 12},
    {{&CategoryInfo_Category_names[66], 8}, 26},
    {{&CategoryInfo_Category_names[74], 9}, 25},
    {{&CategoryInfo_Category_names[83], 11}, 28},
    {{&CategoryInfo_Category_names[94], 6}, 20},
    {{&CategoryInfo_Category_names[100], 5}, 2},
    {{&CategoryInfo_Category_names[105], 13}, 13},
    {{&CategoryInfo_Category_names[118], 6}, 6},
    {{&CategoryInfo_Category_names[124], 8}, 16},
    {{&CategoryInfo_Category_names[132], 13}, 24},
    {{&CategoryInfo_Category_names[145], 6}, 7},
    {{&CategoryInfo_Category_names[151], 2}, 19},
    {{&CategoryInfo_Category_names[153], 12}, 17},
    {{&CategoryInfo_Category_names[165], 7}, 0},
};

static const int CategoryInfo_Category_entries_by_number[] = {
    20,  // 0 -> UNKNOWN
    12,  // 2 -> MUSIC
    6,  // 4 -> GAMES
    14,  // 6 -> PEOPLE
    17,  // 7 -> SPORTS
    0,  // 9 -> BOOKS
    7,  // 12 -> GEO
    13,  // 13 -> NATURAL_WORLD
    5,  // 15 -> FOOD
    15,  // 16 -> PRODUCTS
    19,  // 17 -> UNIVERSITIES
    2,  // 18 -> CARS_US
    18,  // 19 -> TV
    11,  // 20 -> MOVIES
    1,  // 21 -> CARS_MODEL_US
    3,  // 23 -> COMPANIES
    16,  // 24 -> PRODUCT_LINES
    9,  // 25 -> LOCAL_POI
    8,  // 26 -> LOCALITY
    4,  // 27 -> FICTIONAL_CHARACTERS
    10,  // 28 -> MOTORCYCLES
};

bool CategoryInfo_Category_Parse(::absl::string_view name,
                                  CategoryInfo_Category* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      CategoryInfo_Category_entries, 21, name, &int_value);
  if (success) {
    *value = static_cast<CategoryInfo_Category>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    CategoryInfo_Category_strings[21] = {};

const ::std::string& CategoryInfo_Category_Name(CategoryInfo_Category value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CategoryInfo_Category_entries, CategoryInfo_Category_entries_by_number, 21,
      CategoryInfo_Category_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CategoryInfo_Category_entries,
                                  CategoryInfo_Category_entries_by_number,
                                  21, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CategoryInfo_Category_strings[idx].get();
}
// ===================================================================

EntityInfo::EntityInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, EntityInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:omnibox.EntityInfo)
}
PROTOBUF_NDEBUG_INLINE EntityInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::omnibox::EntityInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        action_suggestions_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::EntityInfo,
              PROTOBUF_FIELD_OFFSET(::omnibox::EntityInfo, _impl_.action_suggestions_)>()
          , from.action_suggestions_
        }
        ,
        category_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::EntityInfo,
              PROTOBUF_FIELD_OFFSET(::omnibox::EntityInfo, _impl_.category_)>()
          , from.category_
        }
        ,
        entity_id_(arena, from.entity_id_),
        annotation_(arena, from.annotation_),
        image_url_(arena, from.image_url_),
        name_(arena, from.name_),
        dominant_color_(arena, from.dominant_color_),
        suggest_search_parameters_(arena, from.suggest_search_parameters_),
        website_uri_(arena, from.website_uri_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  EntityInfo* 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:omnibox.EntityInfo)
}
PROTOBUF_NDEBUG_INLINE EntityInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        action_suggestions_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::EntityInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::EntityInfo, _impl_.action_suggestions_)>()
         }
        ,
        category_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::EntityInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::EntityInfo, _impl_.category_)>()
         }
        ,
        entity_id_(arena),
        annotation_(arena),
        image_url_(arena),
        name_(arena),
        dominant_color_(arena),
        suggest_search_parameters_(arena),
        website_uri_(arena) {}

inline void EntityInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
EntityInfo::~EntityInfo() {
  // @@protoc_insertion_point(destructor:omnibox.EntityInfo)
  SharedDtor(*this);
}
inline void EntityInfo::SharedDtor(MessageLite& self) {
  EntityInfo& this_ = static_cast<EntityInfo&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.entity_id_.Destroy();
  this_._impl_.annotation_.Destroy();
  this_._impl_.image_url_.Destroy();
  this_._impl_.name_.Destroy();
  this_._impl_.dominant_color_.Destroy();
  this_._impl_.suggest_search_parameters_.Destroy();
  this_._impl_.website_uri_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite EntityInfo_class_data_ =
    EntityInfo::InternalGenerateClassData_(EntityInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
EntityInfo::GetClassData() const {
  return EntityInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
EntityInfo::GetClassData() const {
  return EntityInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EntityInfo::ParseTableT_
    EntityInfo::_table_ =
        EntityInfo::InternalGenerateParseTable_(EntityInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void EntityInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:omnibox.EntityInfo)
  ::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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.action_suggestions_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.category_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.entity_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.annotation_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.image_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.dominant_color_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.suggest_search_parameters_.ClearNonDefaultToEmpty();
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    _impl_.website_uri_.ClearNonDefaultToEmpty();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // optional string image_url = 6;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_image_url();
    target = stream->WriteStringMaybeAliased(6, _s, target);
  }

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

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

  // optional string suggest_search_parameters = 10;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    const ::std::string& _s = this_._internal_suggest_search_parameters();
    target = stream->WriteStringMaybeAliased(10, _s, target);
  }

  // repeated .omnibox.ActionInfo action_suggestions = 12;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_action_suggestions_size());
         i < n; i++) {
      const auto& repfield = this_._internal_action_suggestions().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              12, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated .omnibox.CategoryInfo.Category category = 14;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_category_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          14, static_cast<::omnibox::CategoryInfo_Category>(this_._internal_category().Get(i)),
          target);
    }
  }

  // optional string website_uri = 17;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    const ::std::string& _s = this_._internal_website_uri();
    target = stream->WriteStringMaybeAliased(17, _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:omnibox.EntityInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t EntityInfo::ByteSizeLong(const MessageLite& base) {
  const EntityInfo& this_ = static_cast<const EntityInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t EntityInfo::ByteSizeLong() const {
  const EntityInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.EntityInfo)
  ::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 .omnibox.ActionInfo action_suggestions = 12;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_action_suggestions_size();
      for (const auto& msg : this_._internal_action_suggestions()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .omnibox.CategoryInfo.Category category = 14;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_category());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_category_size());
      total_size += data_size + tag_size;
    }
    // optional string entity_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_entity_id());
    }
    // optional string annotation = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_annotation());
    }
    // optional string image_url = 6;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_image_url());
    }
    // optional string name = 7;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_name());
    }
    // optional string dominant_color = 9;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_dominant_color());
    }
    // optional string suggest_search_parameters = 10;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_suggest_search_parameters());
    }
  }
   {
    // optional string website_uri = 17;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_website_uri());
    }
  }
  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 EntityInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<EntityInfo*>(&to_msg);
  auto& from = static_cast<const EntityInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.EntityInfo)
  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_action_suggestions()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_action_suggestions());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_category()->MergeFrom(from._internal_category());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_entity_id(from._internal_entity_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_annotation(from._internal_annotation());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_image_url(from._internal_image_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_name(from._internal_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_dominant_color(from._internal_dominant_color());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_set_suggest_search_parameters(from._internal_suggest_search_parameters());
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    _this->_internal_set_website_uri(from._internal_website_uri());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void EntityInfo::InternalSwap(EntityInfo* 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_.action_suggestions_.InternalSwap(&other->_impl_.action_suggestions_);
  _impl_.category_.InternalSwap(&other->_impl_.category_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entity_id_, &other->_impl_.entity_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.annotation_, &other->_impl_.annotation_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.image_url_, &other->_impl_.image_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.dominant_color_, &other->_impl_.dominant_color_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.suggest_search_parameters_, &other->_impl_.suggest_search_parameters_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.website_uri_, &other->_impl_.website_uri_, arena);
}

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

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ActionInfo* 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_, logs_action_type_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, logs_action_type_),
           offsetof(Impl_, action_type_) -
               offsetof(Impl_, logs_action_type_) +
               sizeof(Impl_::action_type_));

  // @@protoc_insertion_point(copy_constructor:omnibox.ActionInfo)
}
PROTOBUF_NDEBUG_INLINE ActionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        action_uri_(arena),
        action_type_{static_cast< ::omnibox::ActionInfo_ActionType >(2)},
        search_parameters_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::ActionInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::ActionInfo, _impl_.search_parameters_)>()
         }
     {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ActionInfo_class_data_ =
    ActionInfo::InternalGenerateClassData_(ActionInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ActionInfo::GetClassData() const {
  return ActionInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ActionInfo::GetClassData() const {
  return ActionInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ActionInfo::ParseTableT_
    ActionInfo::_table_ =
        ActionInfo::InternalGenerateParseTable_(ActionInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ActionInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:omnibox.ActionInfo)
  ::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_.action_uri_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
    _impl_.logs_action_type_ = 0;
    _impl_.action_type_ = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.search_parameters_.Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        4, this_._internal_logs_action_type(), target);
  }

  // optional .omnibox.ActionInfo.ActionType action_type = 8;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        8, this_._internal_action_type(), target);
  }

  // map<string, string> search_parameters = 9;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (!this_._internal_search_parameters().empty()) {
      using MapType = ::google::protobuf::Map<::std::string, ::std::string>;
      using WireHelper = _pbi::MapEntryFuncs<::std::string, ::std::string,
                                     _pbi::WireFormatLite::TYPE_STRING,
                                     _pbi::WireFormatLite::TYPE_STRING>;
      const auto& field = this_._internal_search_parameters();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              9, entry.first, entry.second, target, stream);
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              9, entry.first, entry.second, 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:omnibox.ActionInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ActionInfo::ByteSizeLong(const MessageLite& base) {
  const ActionInfo& this_ = static_cast<const ActionInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ActionInfo::ByteSizeLong() const {
  const ActionInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.ActionInfo)
  ::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)) {
    // optional string action_uri = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_action_uri());
    }
    // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_logs_action_type());
    }
    // optional .omnibox.ActionInfo.ActionType action_type = 8;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_action_type());
    }
    // map<string, string> search_parameters = 9;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_search_parameters_size());
      for (const auto& entry : this_._internal_search_parameters()) {
        total_size += _pbi::MapEntryFuncs<::std::string, ::std::string,
                                       _pbi::WireFormatLite::TYPE_STRING,
                                       _pbi::WireFormatLite::TYPE_STRING>::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 ActionInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ActionInfo*>(&to_msg);
  auto& from = static_cast<const ActionInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.ActionInfo)
  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_set_action_uri(from._internal_action_uri());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.logs_action_type_ = from._impl_.logs_action_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.action_type_ = from._impl_.action_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.search_parameters_.MergeFrom(from._impl_.search_parameters_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ActionInfo::InternalSwap(ActionInfo* 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_.action_uri_, &other->_impl_.action_uri_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_type_)
      + sizeof(ActionInfo::_impl_.action_type_)
      - PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.logs_action_type_)>(
          reinterpret_cast<char*>(&_impl_.logs_action_type_),
          reinterpret_cast<char*>(&other->_impl_.logs_action_type_));
  _impl_.search_parameters_.InternalSwap(&other->_impl_.search_parameters_);
}

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

CategoryInfo::CategoryInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CategoryInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:omnibox.CategoryInfo)
}
CategoryInfo::CategoryInfo(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CategoryInfo& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CategoryInfo_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 CategoryInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

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

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

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

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

  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:omnibox.CategoryInfo)
  return target;
}

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

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

  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 CategoryInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CategoryInfo*>(&to_msg);
  auto& from = static_cast<const CategoryInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.CategoryInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void CategoryInfo::InternalSwap(CategoryInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
}

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