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

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

constexpr ChromeSearchboxStats_GroupInfo::ParseTableT_ ChromeSearchboxStats_GroupInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_GroupInfo, _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<::omnibox::metrics::ChromeSearchboxStats_GroupInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional uint32 groups_set_index = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_GroupInfo, _impl_.groups_set_index_)}},
      // optional uint32 side_type = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_GroupInfo, _impl_.side_type_)}},
      // optional uint32 why_this_result_reason = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_GroupInfo, _impl_.why_this_result_reason_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional uint32 groups_set_index = 1;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_GroupInfo, _impl_.groups_set_index_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // optional uint32 side_type = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_GroupInfo, _impl_.side_type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // optional uint32 why_this_result_reason = 3;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_GroupInfo, _impl_.why_this_result_reason_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ChromeSearchboxStats_GroupInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        groups_set_index_{0u},
        side_type_{0u},
        why_this_result_reason_{0u} {}

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

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

constexpr ChromeSearchboxStats_ExperimentStatsV2::ParseTableT_ ChromeSearchboxStats_ExperimentStatsV2::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967281,  // 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<::omnibox::metrics::ChromeSearchboxStats_ExperimentStatsV2>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int32 type_int = 4;
      {::_pbi::TcParser::FastV32S1,
       {32, 2, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.type_int_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string string_value = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.string_value_)}},
      // optional int32 int_value = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 1, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.int_value_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string string_value = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.string_value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 int_value = 3;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.int_value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional int32 type_int = 4;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.type_int_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ChromeSearchboxStats_ExperimentStatsV2::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        string_value_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        int_value_{0},
        type_int_{0} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ChromeSearchboxStats_ExperimentStatsV2GlobalsTypeInternal ChromeSearchboxStats_ExperimentStatsV2_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ChromeSearchboxStats_ExperimentStatsV2_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ChromeSearchboxStats_ExperimentStatsV2_globals_.GetClassData();
#else
  return ChromeSearchboxStats_ExperimentStatsV2_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_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967252,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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<::omnibox::metrics::ActionInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 2, 12,
        PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.logs_action_type_)}},
      // optional string package_id = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.package_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string action_uri = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_uri_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional uint32 action_type = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 3, 0,
        PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_type_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 1;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.logs_action_type_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string package_id = 2;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.package_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string action_uri = 4;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_uri_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint32 action_type = 6;
      {PROTOBUF_FIELD_OFFSET(ActionInfo, _impl_.action_type_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
    }},
    {{
        {0, 12},
    }},
    {{
    }},
  };
}


inline constexpr ActionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        package_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        action_uri_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        logs_action_type_{static_cast< ::omnibox::metrics::ActionInfo_ActionType >(0)},
        action_type_{0u} {}

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.metrics.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 ChromeSearchboxStats_SuggestionInfo::_Internal {
 public:
  using HasBits = decltype(::std::declval<ChromeSearchboxStats_SuggestionInfo>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_._has_bits_);
};

constexpr ChromeSearchboxStats_SuggestionInfo::ParseTableT_ ChromeSearchboxStats_SuggestionInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_._has_bits_),
      0, // no _extensions_
      8, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967096,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .omnibox.metrics.ActionInfo action_info = 8;
      {::_pbi::TcParser::FastMtR1,
       {66, 1, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.action_info_)}},
      // optional int32 index = 1 [default = -1];
      {::_pbi::TcParser::FastV32S1,
       {8, 3, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.index_)}},
      // optional uint32 type = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 2, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.type_)}},
      // repeated uint32 subtypes = 3;
      {::_pbi::TcParser::FastV32R1,
       {24, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.subtypes_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional int32 action_index = 7 [default = -1];
      {::_pbi::TcParser::FastV32S1,
       {56, 4, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.action_index_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int32 index = 1 [default = -1];
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.index_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional uint32 type = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.type_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // repeated uint32 subtypes = 3;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.subtypes_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
      // optional int32 action_index = 7 [default = -1];
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.action_index_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // repeated .omnibox.metrics.ActionInfo action_info = 8;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_SuggestionInfo, _impl_.action_info_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::metrics::ActionInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::metrics::ActionInfo_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr ChromeSearchboxStats_SuggestionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        subtypes_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo, _impl_.subtypes_)>()
         }
        ,
        action_info_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo, _impl_.action_info_)>()
         }
        ,
        type_{0u},
        index_{-1},
        action_index_{-1} {}

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

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

constexpr ChromeSearchboxStats::ParseTableT_ ChromeSearchboxStats::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_._has_bits_),
      0, // no _extensions_
      125, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      3187670989,  // skipmap
      offsetof(ParseTableT_, field_entries),
      11,  // num_field_entries
      6,  // 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::metrics::ChromeSearchboxStats>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string client_name = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 5, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.client_name_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo assisted_query_info = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 7, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.assisted_query_info_)}},
      // repeated .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo available_suggestions = 6;
      {::_pbi::TcParser::FastMtR1,
       {50, 0, 1,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.available_suggestions_)}},
      // repeated .omnibox.metrics.ChromeSearchboxStats.GroupInfo group_infos = 103;
      {::_pbi::TcParser::FastMtR2,
       {1722, 4, 3,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.group_infos_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string experiment_stats = 26 [deprecated = true];
      {::_pbi::TcParser::FastBS2,
       {466, 6, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.experiment_stats_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // repeated .omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2 experiment_stats_v2 = 60;
      {::_pbi::TcParser::FastMtR2,
       {994, 2, 2,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.experiment_stats_v2_)}},
      // optional .omnibox.metrics.SmartComposeStats smart_compose_stats = 125;
      {::_pbi::TcParser::FastMtS2,
       {2026, 8, 4,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.smart_compose_stats_)}},
      // repeated fixed64 gws_event_id_hash = 94;
      {::_pbi::TcParser::FastF64R2,
       {1521, 3, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.gws_event_id_hash_)}},
      // repeated .omnibox.metrics.ChromeSearchboxStats.InputMethod input_methods = 31;
      {::_pbi::TcParser::FastEvR2,
       {504, 1, 5,
        PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.input_methods_)}},
    }}, {{
      37, 0, 6,
      65532, 5,
      65407, 7,
      65535, 8,
      65023, 8,
      65531, 9,
      65279, 10,
      65535, 65535
    }}, {{
      // optional string client_name = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.client_name_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo assisted_query_info = 5;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.assisted_query_info_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo available_suggestions = 6;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.available_suggestions_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string experiment_stats = 26 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.experiment_stats_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .omnibox.metrics.ChromeSearchboxStats.InputMethod input_methods = 31;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.input_methods_), _Internal::kHasBitsOffset + 1, 5, (0 | ::_fl::kFcRepeated | ::_fl::kEnum)},
      // optional uint32 num_zero_prefix_suggestions_shown = 37;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.num_zero_prefix_suggestions_shown_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // optional bool zero_prefix_enabled = 38;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.zero_prefix_enabled_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated .omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2 experiment_stats_v2 = 60;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.experiment_stats_v2_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated fixed64 gws_event_id_hash = 94;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.gws_event_id_hash_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcRepeated | ::_fl::kFixed64)},
      // repeated .omnibox.metrics.ChromeSearchboxStats.GroupInfo group_infos = 103;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.group_infos_), _Internal::kHasBitsOffset + 4, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .omnibox.metrics.SmartComposeStats smart_compose_stats = 125;
      {PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.smart_compose_stats_), _Internal::kHasBitsOffset + 8, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::metrics::ChromeSearchboxStats_ExperimentStatsV2>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::metrics::ChromeSearchboxStats_ExperimentStatsV2_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::metrics::ChromeSearchboxStats_GroupInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::metrics::ChromeSearchboxStats_GroupInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::metrics::SmartComposeStats>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::metrics::SmartComposeStats_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::omnibox::metrics::ChromeSearchboxStats_InputMethod_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr ChromeSearchboxStats::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        available_suggestions_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.available_suggestions_)>()
         }
        ,
        input_methods_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.input_methods_)>()
         }
        ,
        experiment_stats_v2_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.experiment_stats_v2_)>()
         }
        ,
        gws_event_id_hash_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.gws_event_id_hash_)>()
         }
        ,
        group_infos_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.group_infos_)>()
         }
        ,
        client_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        experiment_stats_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        assisted_query_info_{nullptr},
        smart_compose_stats_{nullptr},
        num_zero_prefix_suggestions_shown_{0u},
        zero_prefix_enabled_{false} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ChromeSearchboxStatsGlobalsTypeInternal ChromeSearchboxStats_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ChromeSearchboxStats_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ChromeSearchboxStats_globals_.GetClassData();
#else
  return ChromeSearchboxStats_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace metrics
}  // namespace omnibox
namespace omnibox {
namespace metrics {
PROTOBUF_CONSTINIT const uint32_t ChromeSearchboxStats_InputMethod_internal_data_[] = {
    131073u, 32u, 424u, };
static const char ChromeSearchboxStats_InputMethod_names[] = {
    "KEYBOARD"
    "LENS_CAMERA"
    "PASTE"
    "SMART_COMPOSE"
    "SPEECH"
    "TAB"
};

static const ::google::protobuf::internal::EnumEntry ChromeSearchboxStats_InputMethod_entries[] = {
    {{&ChromeSearchboxStats_InputMethod_names[0], 8}, 1},
    {{&ChromeSearchboxStats_InputMethod_names[8], 11}, 10},
    {{&ChromeSearchboxStats_InputMethod_names[19], 5}, 2},
    {{&ChromeSearchboxStats_InputMethod_names[24], 13}, 11},
    {{&ChromeSearchboxStats_InputMethod_names[37], 6}, 6},
    {{&ChromeSearchboxStats_InputMethod_names[43], 3}, 8},
};

static const int ChromeSearchboxStats_InputMethod_entries_by_number[] = {
    0,  // 1 -> KEYBOARD
    2,  // 2 -> PASTE
    4,  // 6 -> SPEECH
    5,  // 8 -> TAB
    1,  // 10 -> LENS_CAMERA
    3,  // 11 -> SMART_COMPOSE
};

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

const ::std::string& ChromeSearchboxStats_InputMethod_Name(ChromeSearchboxStats_InputMethod value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ChromeSearchboxStats_InputMethod_entries, ChromeSearchboxStats_InputMethod_entries_by_number, 6,
      ChromeSearchboxStats_InputMethod_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ChromeSearchboxStats_InputMethod_entries,
                                  ChromeSearchboxStats_InputMethod_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ChromeSearchboxStats_InputMethod_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t ActionInfo_ActionType_internal_data_[] = {
    851968u, 0u, };
static const char ActionInfo_ActionType_names[] = {
    "ACTION_AOG"
    "ACTION_CALL"
    "ACTION_CHAT"
    "ACTION_EMAIL"
    "ACTION_NAVIGATE"
    "ACTION_OSRP"
    "ACTION_PHONE_CALL"
    "ACTION_SEARCH"
    "ACTION_SM"
    "ACTION_TEXT"
    "ACTION_VIDEO_CALL"
    "ACTION_WEBPAGE"
    "UNKNOWN_ACTION_TYPE"
};

static const ::google::protobuf::internal::EnumEntry ActionInfo_ActionType_entries[] = {
    {{&ActionInfo_ActionType_names[0], 10}, 12},
    {{&ActionInfo_ActionType_names[10], 11}, 4},
    {{&ActionInfo_ActionType_names[21], 11}, 5},
    {{&ActionInfo_ActionType_names[32], 12}, 3},
    {{&ActionInfo_ActionType_names[44], 15}, 7},
    {{&ActionInfo_ActionType_names[59], 11}, 10},
    {{&ActionInfo_ActionType_names[70], 17}, 1},
    {{&ActionInfo_ActionType_names[87], 13}, 8},
    {{&ActionInfo_ActionType_names[100], 9}, 11},
    {{&ActionInfo_ActionType_names[109], 11}, 2},
    {{&ActionInfo_ActionType_names[120], 17}, 6},
    {{&ActionInfo_ActionType_names[137], 14}, 9},
    {{&ActionInfo_ActionType_names[151], 19}, 0},
};

static const int ActionInfo_ActionType_entries_by_number[] = {
    12,  // 0 -> UNKNOWN_ACTION_TYPE
    6,  // 1 -> ACTION_PHONE_CALL
    9,  // 2 -> ACTION_TEXT
    3,  // 3 -> ACTION_EMAIL
    1,  // 4 -> ACTION_CALL
    2,  // 5 -> ACTION_CHAT
    10,  // 6 -> ACTION_VIDEO_CALL
    4,  // 7 -> ACTION_NAVIGATE
    7,  // 8 -> ACTION_SEARCH
    11,  // 9 -> ACTION_WEBPAGE
    5,  // 10 -> ACTION_OSRP
    8,  // 11 -> ACTION_SM
    0,  // 12 -> ACTION_AOG
};

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, 13, name, &int_value);
  if (success) {
    *value = static_cast<ActionInfo_ActionType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ActionInfo_ActionType_strings[13] = {};

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, 13,
      ActionInfo_ActionType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ActionInfo_ActionType_entries,
                                  ActionInfo_ActionType_entries_by_number,
                                  13, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ActionInfo_ActionType_strings[idx].get();
}
// ===================================================================

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

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

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

  // @@protoc_insertion_point(copy_constructor:omnibox.metrics.ChromeSearchboxStats.SuggestionInfo)
}
PROTOBUF_NDEBUG_INLINE ChromeSearchboxStats_SuggestionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        subtypes_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo, _impl_.subtypes_)>()
         }
        ,
        action_info_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats_SuggestionInfo, _impl_.action_info_)>()
         }
        ,
        index_{-1},
        action_index_{-1} {}

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

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.subtypes_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.action_info_.Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) {
    _impl_.type_ = 0u;
    _impl_.index_ = -1;
    _impl_.action_index_ = -1;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int32 index = 1 [default = -1];
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
            stream, this_._internal_index(), target);
  }

  // optional uint32 type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        2, this_._internal_type(), target);
  }

  // repeated uint32 subtypes = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_subtypes_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
          3, this_._internal_subtypes().Get(i), target);
    }
  }

  // optional int32 action_index = 7 [default = -1];
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
            stream, this_._internal_action_index(), target);
  }

  // repeated .omnibox.metrics.ActionInfo action_info = 8;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_action_info_size());
         i < n; i++) {
      const auto& repfield = this_._internal_action_info().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              8, repfield, repfield.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:omnibox.metrics.ChromeSearchboxStats.SuggestionInfo)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    // repeated uint32 subtypes = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
          this_._internal_subtypes());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_subtypes_size());
      total_size += tag_size + data_size;
    }
    // repeated .omnibox.metrics.ActionInfo action_info = 8;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_action_info_size();
      for (const auto& msg : this_._internal_action_info()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional uint32 type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_type());
    }
    // optional int32 index = 1 [default = -1];
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_index());
    }
    // optional int32 action_index = 7 [default = -1];
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_action_index());
    }
  }
  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 ChromeSearchboxStats_SuggestionInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSearchboxStats_SuggestionInfo*>(&to_msg);
  auto& from = static_cast<const ChromeSearchboxStats_SuggestionInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.metrics.ChromeSearchboxStats.SuggestionInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_subtypes()->MergeFrom(from._internal_subtypes());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_action_info()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_action_info());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.type_ = from._impl_.type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.index_ = from._impl_.index_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.action_index_ = from._impl_.action_index_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

ChromeSearchboxStats_ExperimentStatsV2::ChromeSearchboxStats_ExperimentStatsV2(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSearchboxStats_ExperimentStatsV2_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2)
}
PROTOBUF_NDEBUG_INLINE ChromeSearchboxStats_ExperimentStatsV2::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::omnibox::metrics::ChromeSearchboxStats_ExperimentStatsV2& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        string_value_(arena, from.string_value_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2)
}
PROTOBUF_NDEBUG_INLINE ChromeSearchboxStats_ExperimentStatsV2::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        string_value_(arena) {}

inline void ChromeSearchboxStats_ExperimentStatsV2::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, int_value_),
           0,
           offsetof(Impl_, type_int_) -
               offsetof(Impl_, int_value_) +
               sizeof(Impl_::type_int_));
}
ChromeSearchboxStats_ExperimentStatsV2::~ChromeSearchboxStats_ExperimentStatsV2() {
  // @@protoc_insertion_point(destructor:omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2)
  SharedDtor(*this);
}
inline void ChromeSearchboxStats_ExperimentStatsV2::SharedDtor(MessageLite& self) {
  ChromeSearchboxStats_ExperimentStatsV2& this_ = static_cast<ChromeSearchboxStats_ExperimentStatsV2&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.string_value_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ChromeSearchboxStats_ExperimentStatsV2_class_data_ =
    ChromeSearchboxStats_ExperimentStatsV2::InternalGenerateClassData_(ChromeSearchboxStats_ExperimentStatsV2_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.string_value_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
    ::memset(&_impl_.int_value_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.type_int_) -
        reinterpret_cast<char*>(&_impl_.int_value_)) + sizeof(_impl_.type_int_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int32 int_value = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
            stream, this_._internal_int_value(), target);
  }

  // optional int32 type_int = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
            stream, this_._internal_type_int(), 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.metrics.ChromeSearchboxStats.ExperimentStatsV2)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSearchboxStats_ExperimentStatsV2::ByteSizeLong(const MessageLite& base) {
  const ChromeSearchboxStats_ExperimentStatsV2& this_ = static_cast<const ChromeSearchboxStats_ExperimentStatsV2&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSearchboxStats_ExperimentStatsV2::ByteSizeLong() const {
  const ChromeSearchboxStats_ExperimentStatsV2& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2)
  ::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)) {
    // optional string string_value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_string_value());
    }
    // optional int32 int_value = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_int_value());
    }
    // optional int32 type_int = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_type_int());
    }
  }
  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 ChromeSearchboxStats_ExperimentStatsV2::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSearchboxStats_ExperimentStatsV2*>(&to_msg);
  auto& from = static_cast<const ChromeSearchboxStats_ExperimentStatsV2&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2)
  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->_internal_set_string_value(from._internal_string_value());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.int_value_ = from._impl_.int_value_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.type_int_ = from._impl_.type_int_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ChromeSearchboxStats_ExperimentStatsV2::InternalSwap(ChromeSearchboxStats_ExperimentStatsV2* 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_.string_value_, &other->_impl_.string_value_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.type_int_)
      + sizeof(ChromeSearchboxStats_ExperimentStatsV2::_impl_.type_int_)
      - PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats_ExperimentStatsV2, _impl_.int_value_)>(
          reinterpret_cast<char*>(&_impl_.int_value_),
          reinterpret_cast<char*>(&other->_impl_.int_value_));
}

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

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

inline void ChromeSearchboxStats_GroupInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, groups_set_index_),
           0,
           offsetof(Impl_, why_this_result_reason_) -
               offsetof(Impl_, groups_set_index_) +
               sizeof(Impl_::why_this_result_reason_));
}
ChromeSearchboxStats_GroupInfo::~ChromeSearchboxStats_GroupInfo() {
  // @@protoc_insertion_point(destructor:omnibox.metrics.ChromeSearchboxStats.GroupInfo)
  SharedDtor(*this);
}
inline void ChromeSearchboxStats_GroupInfo::SharedDtor(MessageLite& self) {
  ChromeSearchboxStats_GroupInfo& this_ = static_cast<ChromeSearchboxStats_GroupInfo&>(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 ChromeSearchboxStats_GroupInfo_class_data_ =
    ChromeSearchboxStats_GroupInfo::InternalGenerateClassData_(ChromeSearchboxStats_GroupInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSearchboxStats_GroupInfo::GetClassData() const {
  return ChromeSearchboxStats_GroupInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSearchboxStats_GroupInfo::GetClassData() const {
  return ChromeSearchboxStats_GroupInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChromeSearchboxStats_GroupInfo::ParseTableT_
    ChromeSearchboxStats_GroupInfo::_table_ =
        ChromeSearchboxStats_GroupInfo::InternalGenerateParseTable_(ChromeSearchboxStats_GroupInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChromeSearchboxStats_GroupInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:omnibox.metrics.ChromeSearchboxStats.GroupInfo)
  ::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_.groups_set_index_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.why_this_result_reason_) -
        reinterpret_cast<char*>(&_impl_.groups_set_index_)) + sizeof(_impl_.why_this_result_reason_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional uint32 groups_set_index = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        1, this_._internal_groups_set_index(), target);
  }

  // optional uint32 side_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        2, this_._internal_side_type(), target);
  }

  // optional uint32 why_this_result_reason = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        3, this_._internal_why_this_result_reason(), 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.metrics.ChromeSearchboxStats.GroupInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSearchboxStats_GroupInfo::ByteSizeLong(const MessageLite& base) {
  const ChromeSearchboxStats_GroupInfo& this_ = static_cast<const ChromeSearchboxStats_GroupInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSearchboxStats_GroupInfo::ByteSizeLong() const {
  const ChromeSearchboxStats_GroupInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.metrics.ChromeSearchboxStats.GroupInfo)
  ::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)) {
    // optional uint32 groups_set_index = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_groups_set_index());
    }
    // optional uint32 side_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_side_type());
    }
    // optional uint32 why_this_result_reason = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_why_this_result_reason());
    }
  }
  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 ChromeSearchboxStats_GroupInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSearchboxStats_GroupInfo*>(&to_msg);
  auto& from = static_cast<const ChromeSearchboxStats_GroupInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.metrics.ChromeSearchboxStats.GroupInfo)
  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_.groups_set_index_ = from._impl_.groups_set_index_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.side_type_ = from._impl_.side_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.why_this_result_reason_ = from._impl_.why_this_result_reason_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

void ChromeSearchboxStats::clear_smart_compose_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.smart_compose_stats_ != nullptr) _impl_.smart_compose_stats_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
}
ChromeSearchboxStats::ChromeSearchboxStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSearchboxStats_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:omnibox.metrics.ChromeSearchboxStats)
}
PROTOBUF_NDEBUG_INLINE ChromeSearchboxStats::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::omnibox::metrics::ChromeSearchboxStats& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        available_suggestions_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::metrics::ChromeSearchboxStats,
              PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.available_suggestions_)>()
          , from.available_suggestions_
        }
        ,
        input_methods_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::metrics::ChromeSearchboxStats,
              PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.input_methods_)>()
          , from.input_methods_
        }
        ,
        experiment_stats_v2_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::metrics::ChromeSearchboxStats,
              PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.experiment_stats_v2_)>()
          , from.experiment_stats_v2_
        }
        ,
        gws_event_id_hash_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::metrics::ChromeSearchboxStats,
              PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.gws_event_id_hash_)>()
          , from.gws_event_id_hash_
        }
        ,
        group_infos_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::metrics::ChromeSearchboxStats,
              PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.group_infos_)>()
          , from.group_infos_
        }
        ,
        client_name_(arena, from.client_name_),
        experiment_stats_(arena, from.experiment_stats_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ChromeSearchboxStats* 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_.assisted_query_info_ = (CheckHasBit(cached_has_bits, 0x00000080U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.assisted_query_info_)
                : nullptr;
  _impl_.smart_compose_stats_ = (CheckHasBit(cached_has_bits, 0x00000100U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.smart_compose_stats_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, num_zero_prefix_suggestions_shown_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, num_zero_prefix_suggestions_shown_),
           offsetof(Impl_, zero_prefix_enabled_) -
               offsetof(Impl_, num_zero_prefix_suggestions_shown_) +
               sizeof(Impl_::zero_prefix_enabled_));

  // @@protoc_insertion_point(copy_constructor:omnibox.metrics.ChromeSearchboxStats)
}
PROTOBUF_NDEBUG_INLINE ChromeSearchboxStats::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        available_suggestions_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.available_suggestions_)>()
         }
        ,
        input_methods_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.input_methods_)>()
         }
        ,
        experiment_stats_v2_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.experiment_stats_v2_)>()
         }
        ,
        gws_event_id_hash_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.gws_event_id_hash_)>()
         }
        ,
        group_infos_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::metrics::ChromeSearchboxStats,
            PROTOBUF_FIELD_OFFSET(::omnibox::metrics::ChromeSearchboxStats, _impl_.group_infos_)>()
         }
        ,
        client_name_(arena),
        experiment_stats_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ChromeSearchboxStats_class_data_ =
    ChromeSearchboxStats::InternalGenerateClassData_(ChromeSearchboxStats_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSearchboxStats::GetClassData() const {
  return ChromeSearchboxStats_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSearchboxStats::GetClassData() const {
  return ChromeSearchboxStats_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChromeSearchboxStats::ParseTableT_
    ChromeSearchboxStats::_table_ =
        ChromeSearchboxStats::InternalGenerateParseTable_(ChromeSearchboxStats_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChromeSearchboxStats::Clear() {
// @@protoc_insertion_point(message_clear_start:omnibox.metrics.ChromeSearchboxStats)
  ::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_.available_suggestions_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.input_methods_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.experiment_stats_v2_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.gws_event_id_hash_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.group_infos_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.client_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.experiment_stats_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(_impl_.assisted_query_info_ != nullptr);
      _impl_.assisted_query_info_->Clear();
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    ABSL_DCHECK(_impl_.smart_compose_stats_ != nullptr);
    _impl_.smart_compose_stats_->Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000600U)) {
    ::memset(&_impl_.num_zero_prefix_suggestions_shown_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.zero_prefix_enabled_) -
        reinterpret_cast<char*>(&_impl_.num_zero_prefix_suggestions_shown_)) + sizeof(_impl_.zero_prefix_enabled_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string client_name = 2;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    const ::std::string& _s = this_._internal_client_name();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // optional .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo assisted_query_info = 5;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.assisted_query_info_, this_._impl_.assisted_query_info_->GetCachedSize(), target,
        stream);
  }

  // repeated .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo available_suggestions = 6;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_available_suggestions_size());
         i < n; i++) {
      const auto& repfield = this_._internal_available_suggestions().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              6, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional string experiment_stats = 26 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    const ::std::string& _s = this_._internal_experiment_stats();
    target = stream->WriteStringMaybeAliased(26, _s, target);
  }

  // repeated .omnibox.metrics.ChromeSearchboxStats.InputMethod input_methods = 31;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_input_methods_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          31, static_cast<::omnibox::metrics::ChromeSearchboxStats_InputMethod>(this_._internal_input_methods().Get(i)),
          target);
    }
  }

  // optional uint32 num_zero_prefix_suggestions_shown = 37;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        37, this_._internal_num_zero_prefix_suggestions_shown(), target);
  }

  // optional bool zero_prefix_enabled = 38;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        38, this_._internal_zero_prefix_enabled(), target);
  }

  // repeated .omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2 experiment_stats_v2 = 60;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_experiment_stats_v2_size());
         i < n; i++) {
      const auto& repfield = this_._internal_experiment_stats_v2().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              60, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated fixed64 gws_event_id_hash = 94;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    for (int i = 0, n = this_._internal_gws_event_id_hash_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
          94, this_._internal_gws_event_id_hash().Get(i), target);
    }
  }

  // repeated .omnibox.metrics.ChromeSearchboxStats.GroupInfo group_infos = 103;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_group_infos_size());
         i < n; i++) {
      const auto& repfield = this_._internal_group_infos().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              103, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional .omnibox.metrics.SmartComposeStats smart_compose_stats = 125;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        125, *this_._impl_.smart_compose_stats_, this_._impl_.smart_compose_stats_->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:omnibox.metrics.ChromeSearchboxStats)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSearchboxStats::ByteSizeLong(const MessageLite& base) {
  const ChromeSearchboxStats& this_ = static_cast<const ChromeSearchboxStats&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSearchboxStats::ByteSizeLong() const {
  const ChromeSearchboxStats& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.metrics.ChromeSearchboxStats)
  ::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];
  total_size += static_cast<bool>(0x00000400U & cached_has_bits) * 3;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo available_suggestions = 6;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_available_suggestions_size();
      for (const auto& msg : this_._internal_available_suggestions()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .omnibox.metrics.ChromeSearchboxStats.InputMethod input_methods = 31;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_input_methods());
      ::size_t tag_size = ::size_t{2} *
          ::_pbi::FromIntSize(this_._internal_input_methods_size());
      total_size += data_size + tag_size;
    }
    // repeated .omnibox.metrics.ChromeSearchboxStats.ExperimentStatsV2 experiment_stats_v2 = 60;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 2UL * this_._internal_experiment_stats_v2_size();
      for (const auto& msg : this_._internal_experiment_stats_v2()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated fixed64 gws_event_id_hash = 94;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ::size_t data_size = ::size_t{8} *
          ::_pbi::FromIntSize(this_._internal_gws_event_id_hash_size());
      ::size_t tag_size = ::size_t{2} *
          ::_pbi::FromIntSize(this_._internal_gws_event_id_hash_size());
      total_size += tag_size + data_size;
    }
    // repeated .omnibox.metrics.ChromeSearchboxStats.GroupInfo group_infos = 103;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 2UL * this_._internal_group_infos_size();
      for (const auto& msg : this_._internal_group_infos()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional string client_name = 2;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_client_name());
    }
    // optional string experiment_stats = 26 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_experiment_stats());
    }
    // optional .omnibox.metrics.ChromeSearchboxStats.SuggestionInfo assisted_query_info = 5;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.assisted_query_info_);
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    // optional .omnibox.metrics.SmartComposeStats smart_compose_stats = 125;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.smart_compose_stats_);
    }
    // optional uint32 num_zero_prefix_suggestions_shown = 37;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
                                      this_._internal_num_zero_prefix_suggestions_shown());
    }
  }
  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 ChromeSearchboxStats::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSearchboxStats*>(&to_msg);
  auto& from = static_cast<const ChromeSearchboxStats&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.metrics.ChromeSearchboxStats)
  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_available_suggestions()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_available_suggestions());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_input_methods()->MergeFrom(from._internal_input_methods());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_experiment_stats_v2()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_experiment_stats_v2());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_mutable_gws_event_id_hash()->MergeFrom(from._internal_gws_event_id_hash());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_mutable_group_infos()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_group_infos());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_client_name(from._internal_client_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_experiment_stats(from._internal_experiment_stats());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(from._impl_.assisted_query_info_ != nullptr);
      if (_this->_impl_.assisted_query_info_ == nullptr) {
        _this->_impl_.assisted_query_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.assisted_query_info_);
      } else {
        _this->_impl_.assisted_query_info_->MergeFrom(*from._impl_.assisted_query_info_);
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      ABSL_DCHECK(from._impl_.smart_compose_stats_ != nullptr);
      if (_this->_impl_.smart_compose_stats_ == nullptr) {
        _this->_impl_.smart_compose_stats_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.smart_compose_stats_);
      } else {
        _this->_impl_.smart_compose_stats_->MergeFrom(*from._impl_.smart_compose_stats_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.num_zero_prefix_suggestions_shown_ = from._impl_.num_zero_prefix_suggestions_shown_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.zero_prefix_enabled_ = from._impl_.zero_prefix_enabled_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ChromeSearchboxStats::InternalSwap(ChromeSearchboxStats* 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_.available_suggestions_.InternalSwap(&other->_impl_.available_suggestions_);
  _impl_.input_methods_.InternalSwap(&other->_impl_.input_methods_);
  _impl_.experiment_stats_v2_.InternalSwap(&other->_impl_.experiment_stats_v2_);
  _impl_.gws_event_id_hash_.InternalSwap(&other->_impl_.gws_event_id_hash_);
  _impl_.group_infos_.InternalSwap(&other->_impl_.group_infos_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.client_name_, &other->_impl_.client_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.experiment_stats_, &other->_impl_.experiment_stats_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.zero_prefix_enabled_)
      + sizeof(ChromeSearchboxStats::_impl_.zero_prefix_enabled_)
      - PROTOBUF_FIELD_OFFSET(ChromeSearchboxStats, _impl_.assisted_query_info_)>(
          reinterpret_cast<char*>(&_impl_.assisted_query_info_),
          reinterpret_cast<char*>(&other->_impl_.assisted_query_info_));
}

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

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.metrics.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::metrics::ActionInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        package_id_(arena, from.package_id_),
        action_uri_(arena, from.action_uri_) {}

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.metrics.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},
        package_id_(arena),
        action_uri_(arena) {}

inline void ActionInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, logs_action_type_),
           0,
           offsetof(Impl_, action_type_) -
               offsetof(Impl_, logs_action_type_) +
               sizeof(Impl_::action_type_));
}
ActionInfo::~ActionInfo() {
  // @@protoc_insertion_point(destructor:omnibox.metrics.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_.package_id_.Destroy();
  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.metrics.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 (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.package_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.action_uri_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
    ::memset(&_impl_.logs_action_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.action_type_) -
        reinterpret_cast<char*>(&_impl_.logs_action_type_)) + sizeof(_impl_.action_type_));
  }
  _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.metrics.ActionInfo)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_logs_action_type(), target);
  }

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

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

  // optional uint32 action_type = 6;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        6, this_._internal_action_type(), 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.metrics.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.metrics.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 package_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_package_id());
    }
    // optional string action_uri = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_action_uri());
    }
    // optional .omnibox.metrics.ActionInfo.ActionType logs_action_type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_logs_action_type());
    }
    // optional uint32 action_type = 6;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_action_type());
    }
  }
  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.metrics.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_package_id(from._internal_package_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_action_uri(from._internal_action_uri());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.logs_action_type_ = from._impl_.logs_action_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.action_type_ = from._impl_.action_type_;
    }
  }
  _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.metrics.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_.package_id_, &other->_impl_.package_id_, arena);
  ::_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_));
}

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