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

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

constexpr OmniboxEventProto_Suggestion_ScoringSignals::ParseTableT_ OmniboxEventProto_Suggestion_ScoringSignals::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_._has_bits_),
      0, // no _extensions_
      35, 248,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4160749568,  // skipmap
      offsetof(ParseTableT_, field_entries),
      28,  // 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<::metrics::OmniboxEventProto_Suggestion_ScoringSignals>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // int32 typed_count = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.typed_count_)}},
      // int32 visit_count = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.visit_count_)}},
      // int64 elapsed_time_last_visit_secs = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.elapsed_time_last_visit_secs_)}},
      // int32 shortcut_visit_count = 4;
      {::_pbi::TcParser::FastV32S1,
       {32, 3, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.shortcut_visit_count_)}},
      // int32 shortest_shortcut_len = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.shortest_shortcut_len_)}},
      // int64 elapsed_time_last_shortcut_visit_sec = 6;
      {::_pbi::TcParser::FastV64S1,
       {48, 5, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.elapsed_time_last_shortcut_visit_sec_)}},
      // bool is_host_only = 7;
      {::_pbi::TcParser::FastV8S1,
       {56, 14, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.is_host_only_)}},
      // int32 num_bookmarks_of_url = 8;
      {::_pbi::TcParser::FastV32S1,
       {64, 6, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_bookmarks_of_url_)}},
      // int32 first_bookmark_title_match_position = 9;
      {::_pbi::TcParser::FastV32S1,
       {72, 7, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.first_bookmark_title_match_position_)}},
      // int32 total_bookmark_title_match_length = 10;
      {::_pbi::TcParser::FastV32S1,
       {80, 8, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_bookmark_title_match_length_)}},
      // int32 num_input_terms_matched_by_bookmark_title = 11;
      {::_pbi::TcParser::FastV32S1,
       {88, 9, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_input_terms_matched_by_bookmark_title_)}},
      // int32 first_url_match_position = 12;
      {::_pbi::TcParser::FastV32S1,
       {96, 10, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.first_url_match_position_)}},
      // int32 total_url_match_length = 13;
      {::_pbi::TcParser::FastV32S1,
       {104, 11, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_url_match_length_)}},
      // bool host_match_at_word_boundary = 14;
      {::_pbi::TcParser::FastV8S1,
       {112, 15, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.host_match_at_word_boundary_)}},
      // int32 total_host_match_length = 15;
      {::_pbi::TcParser::FastV32S1,
       {120, 12, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_host_match_length_)}},
      // int32 total_path_match_length = 16;
      {::_pbi::TcParser::FastV32S2,
       {384, 13, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_path_match_length_)}},
      // int32 total_query_or_ref_match_length = 17;
      {::_pbi::TcParser::FastV32S2,
       {392, 18, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_query_or_ref_match_length_)}},
      // int32 total_title_match_length = 18;
      {::_pbi::TcParser::FastV32S2,
       {400, 19, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_title_match_length_)}},
      // bool has_non_scheme_www_match = 19;
      {::_pbi::TcParser::FastV8S2,
       {408, 16, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.has_non_scheme_www_match_)}},
      // int32 num_input_terms_matched_by_title = 20;
      {::_pbi::TcParser::FastV32S2,
       {416, 20, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_input_terms_matched_by_title_)}},
      // int32 num_input_terms_matched_by_url = 21;
      {::_pbi::TcParser::FastV32S2,
       {424, 21, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_input_terms_matched_by_url_)}},
      // int32 length_of_url = 22;
      {::_pbi::TcParser::FastV32S2,
       {432, 22, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.length_of_url_)}},
      // float site_engagement = 23;
      {::_pbi::TcParser::FastF32S2,
       {445, 23, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.site_engagement_)}},
      // bool allowed_to_be_default_match = 24;
      {::_pbi::TcParser::FastV8S2,
       {448, 17, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.allowed_to_be_default_match_)}},
      // int32 search_suggest_relevance = 25;
      {::_pbi::TcParser::FastV32S2,
       {456, 24, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.search_suggest_relevance_)}},
      // bool is_search_suggest_entity = 26 [deprecated = true];
      {::_pbi::TcParser::FastV8S2,
       {464, 25, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.is_search_suggest_entity_)}},
      // bool is_verbatim = 27 [deprecated = true];
      {::_pbi::TcParser::FastV8S2,
       {472, 26, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.is_verbatim_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      35, 0, 1,
      65534, 27,
      65535, 65535
    }}, {{
      // int32 typed_count = 1;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.typed_count_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 visit_count = 2;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.visit_count_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int64 elapsed_time_last_visit_secs = 3;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.elapsed_time_last_visit_secs_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // int32 shortcut_visit_count = 4;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.shortcut_visit_count_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 shortest_shortcut_len = 5;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.shortest_shortcut_len_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int64 elapsed_time_last_shortcut_visit_sec = 6;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.elapsed_time_last_shortcut_visit_sec_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // bool is_host_only = 7;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.is_host_only_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // int32 num_bookmarks_of_url = 8;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_bookmarks_of_url_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 first_bookmark_title_match_position = 9;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.first_bookmark_title_match_position_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 total_bookmark_title_match_length = 10;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_bookmark_title_match_length_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 num_input_terms_matched_by_bookmark_title = 11;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_input_terms_matched_by_bookmark_title_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 first_url_match_position = 12;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.first_url_match_position_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 total_url_match_length = 13;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_url_match_length_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // bool host_match_at_word_boundary = 14;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.host_match_at_word_boundary_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // int32 total_host_match_length = 15;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_host_match_length_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 total_path_match_length = 16;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_path_match_length_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 total_query_or_ref_match_length = 17;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_query_or_ref_match_length_), _Internal::kHasBitsOffset + 18, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 total_title_match_length = 18;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.total_title_match_length_), _Internal::kHasBitsOffset + 19, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // bool has_non_scheme_www_match = 19;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.has_non_scheme_www_match_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // int32 num_input_terms_matched_by_title = 20;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_input_terms_matched_by_title_), _Internal::kHasBitsOffset + 20, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 num_input_terms_matched_by_url = 21;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.num_input_terms_matched_by_url_), _Internal::kHasBitsOffset + 21, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 length_of_url = 22;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.length_of_url_), _Internal::kHasBitsOffset + 22, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // float site_engagement = 23;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.site_engagement_), _Internal::kHasBitsOffset + 23, 0, (0 | ::_fl::kFcOptional | ::_fl::kFloat)},
      // bool allowed_to_be_default_match = 24;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.allowed_to_be_default_match_), _Internal::kHasBitsOffset + 17, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // int32 search_suggest_relevance = 25;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.search_suggest_relevance_), _Internal::kHasBitsOffset + 24, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // bool is_search_suggest_entity = 26 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.is_search_suggest_entity_), _Internal::kHasBitsOffset + 25, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool is_verbatim = 27 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.is_verbatim_), _Internal::kHasBitsOffset + 26, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool destination_host_match_for_current_page = 35;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion_ScoringSignals, _impl_.destination_host_match_for_current_page_), _Internal::kHasBitsOffset + 27, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr OmniboxEventProto_Suggestion_ScoringSignals::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        typed_count_{0},
        visit_count_{0},
        elapsed_time_last_visit_secs_{::int64_t{0}},
        shortcut_visit_count_{0},
        shortest_shortcut_len_{0},
        elapsed_time_last_shortcut_visit_sec_{::int64_t{0}},
        num_bookmarks_of_url_{0},
        first_bookmark_title_match_position_{0},
        total_bookmark_title_match_length_{0},
        num_input_terms_matched_by_bookmark_title_{0},
        first_url_match_position_{0},
        total_url_match_length_{0},
        total_host_match_length_{0},
        total_path_match_length_{0},
        is_host_only_{false},
        host_match_at_word_boundary_{false},
        has_non_scheme_www_match_{false},
        allowed_to_be_default_match_{false},
        total_query_or_ref_match_length_{0},
        total_title_match_length_{0},
        num_input_terms_matched_by_title_{0},
        num_input_terms_matched_by_url_{0},
        length_of_url_{0},
        site_engagement_{0},
        search_suggest_relevance_{0},
        is_search_suggest_entity_{false},
        is_verbatim_{false},
        destination_host_match_for_current_page_{false} {}

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

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

constexpr OmniboxEventProto_ProviderInfo::ParseTableT_ OmniboxEventProto_ProviderInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::metrics::OmniboxEventProto_ProviderInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .metrics.OmniboxEventProto.ProviderType provider = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 2, 35,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.provider_)}},
      // bool provider_done = 2;
      {::_pbi::TcParser::FastV8S1,
       {16, 3, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.provider_done_)}},
      // repeated fixed32 field_trial_triggered = 3 [deprecated = true];
      {::_pbi::TcParser::FastF32P1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_)}},
      // repeated fixed32 field_trial_triggered_in_session = 4 [deprecated = true];
      {::_pbi::TcParser::FastF32P1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_in_session_)}},
      // int32 times_returned_results_in_session = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.times_returned_results_in_session_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .metrics.OmniboxEventProto.ProviderType provider = 1;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.provider_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // bool provider_done = 2;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.provider_done_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated fixed32 field_trial_triggered = 3 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedFixed32)},
      // repeated fixed32 field_trial_triggered_in_session = 4 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_in_session_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedFixed32)},
      // int32 times_returned_results_in_session = 5;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.times_returned_results_in_session_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    {{
        {0, 35},
    }},
    {{
    }},
  };
}


inline constexpr OmniboxEventProto_ProviderInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        field_trial_triggered_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto_ProviderInfo,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_)>()
         }
        ,
        field_trial_triggered_in_session_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto_ProviderInfo,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_in_session_)>()
         }
        ,
        provider_{static_cast< ::metrics::OmniboxEventProto_ProviderType >(0)},
        provider_done_{false},
        times_returned_results_in_session_{0} {}

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

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

constexpr OmniboxEventProto_ProfileData::ParseTableT_ OmniboxEventProto_ProfileData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      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<::metrics::OmniboxEventProto_ProfileData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // bool is_sync_enabled = 4;
      {::_pbi::TcParser::FastV8S1,
       {32, 3, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.is_sync_enabled_)}},
      // int32 total_num_bookmarks = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.total_num_bookmarks_)}},
      // int32 total_num_history_urls = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.total_num_history_urls_)}},
      // bool is_signed_into_browser = 3;
      {::_pbi::TcParser::FastV8S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.is_signed_into_browser_)}},
    }}, {{
      65535, 65535
    }}, {{
      // int32 total_num_bookmarks = 1;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.total_num_bookmarks_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 total_num_history_urls = 2;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.total_num_history_urls_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // bool is_signed_into_browser = 3;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.is_signed_into_browser_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool is_sync_enabled = 4;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProfileData, _impl_.is_sync_enabled_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr OmniboxEventProto_ProfileData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        total_num_bookmarks_{0},
        total_num_history_urls_{0},
        is_signed_into_browser_{false},
        is_sync_enabled_{false} {}

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

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

constexpr OmniboxEventProto_Suggestion::ParseTableT_ OmniboxEventProto_Suggestion::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_._has_bits_),
      0, // no _extensions_
      10, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966272,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // num_field_entries
      3,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::metrics::OmniboxEventProto_Suggestion>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .metrics.OmniboxEventProto.ProviderType provider = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 1, 35,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.provider_)}},
      // .metrics.OmniboxEventProto.Suggestion.ResultType result_type = 2;
      {::_pbi::TcParser::FastEr0S1,
       {16, 2, 41,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.result_type_)}},
      // int32 relevance = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.relevance_)}},
      // bool is_starred = 4 [deprecated = true];
      {::_pbi::TcParser::FastV8S1,
       {32, 5, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.is_starred_)}},
      // int32 typed_count = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.typed_count_)}},
      // bool is_disabled = 6;
      {::_pbi::TcParser::FastV8S1,
       {48, 6, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.is_disabled_)}},
      // int32 result_subtype_identifier = 7;
      {::_pbi::TcParser::FastV32S1,
       {56, 9, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.result_subtype_identifier_)}},
      // bool has_tab_match = 8;
      {::_pbi::TcParser::FastV8S1,
       {64, 7, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.has_tab_match_)}},
      // bool is_keyword_suggestion = 9;
      {::_pbi::TcParser::FastV8S1,
       {72, 8, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.is_keyword_suggestion_)}},
      // .metrics.OmniboxEventProto.Suggestion.ScoringSignals scoring_signals = 10;
      {::_pbi::TcParser::FastMtS1,
       {82, 0, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.scoring_signals_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .metrics.OmniboxEventProto.ProviderType provider = 1;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.provider_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // .metrics.OmniboxEventProto.Suggestion.ResultType result_type = 2;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.result_type_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // int32 relevance = 3;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.relevance_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // bool is_starred = 4 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.is_starred_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // int32 typed_count = 5;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.typed_count_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // bool is_disabled = 6;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.is_disabled_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // int32 result_subtype_identifier = 7;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.result_subtype_identifier_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // bool has_tab_match = 8;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.has_tab_match_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool is_keyword_suggestion = 9;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.is_keyword_suggestion_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // .metrics.OmniboxEventProto.Suggestion.ScoringSignals scoring_signals = 10;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto_Suggestion, _impl_.scoring_signals_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::OmniboxEventProto_Suggestion_ScoringSignals>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::OmniboxEventProto_Suggestion_ScoringSignals_globals_},
        #endif
        {0, 35},
        {0, 41},
    }},
    {{
    }},
  };
}


inline constexpr OmniboxEventProto_Suggestion::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        scoring_signals_{nullptr},
        provider_{static_cast< ::metrics::OmniboxEventProto_ProviderType >(0)},
        result_type_{static_cast< ::metrics::OmniboxEventProto_Suggestion_ResultType >(0)},
        relevance_{0},
        typed_count_{0},
        is_starred_{false},
        is_disabled_{false},
        has_tab_match_{false},
        is_keyword_suggestion_{false},
        result_subtype_identifier_{0} {}

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

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

constexpr OmniboxEventProto::ParseTableT_ OmniboxEventProto::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_._has_bits_),
      0, // no _extensions_
      28, 248,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4026531840,  // skipmap
      offsetof(ParseTableT_, field_entries),
      28,  // num_field_entries
      11,  // 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<::metrics::OmniboxEventProto>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // int64 time_sec = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 7, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.time_sec_)}},
      // int32 tab_id = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 8, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.tab_id_)}},
      // int32 typed_length = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 9, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.typed_length_)}},
      // int32 num_typed_terms = 4;
      {::_pbi::TcParser::FastV32S1,
       {32, 10, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.num_typed_terms_)}},
      // int32 selected_index = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 11, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.selected_index_)}},
      // int32 completed_length = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 13, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.completed_length_)}},
      // int64 typing_duration_ms = 7;
      {::_pbi::TcParser::FastV64S1,
       {56, 12, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.typing_duration_ms_)}},
      // .metrics.OmniboxInputType input_type = 8;
      {::_pbi::TcParser::FastEr0S1,
       {64, 14, 5,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.input_type_)}},
      // repeated .metrics.OmniboxEventProto.Suggestion suggestion = 9;
      {::_pbi::TcParser::FastMtR1,
       {74, 0, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.suggestion_)}},
      // .metrics.OmniboxEventProto.PageClassification current_page_classification = 10;
      {::_pbi::TcParser::FastEr0S1,
       {80, 16, 41,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.current_page_classification_)}},
      // bool just_deleted_text = 11;
      {::_pbi::TcParser::FastV8S1,
       {88, 17, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.just_deleted_text_)}},
      // repeated .metrics.OmniboxEventProto.ProviderInfo provider_info = 12;
      {::_pbi::TcParser::FastMtR1,
       {98, 1, 1,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.provider_info_)}},
      // int64 duration_since_last_default_match_update_ms = 13;
      {::_pbi::TcParser::FastV64S1,
       {104, 15, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.duration_since_last_default_match_update_ms_)}},
      // bool DEPRECATED_is_top_result_hidden_in_dropdown = 14 [deprecated = true];
      {::_pbi::TcParser::FastV8S1,
       {112, 18, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.deprecated_is_top_result_hidden_in_dropdown_)}},
      // bool is_popup_open = 15;
      {::_pbi::TcParser::FastV8S1,
       {120, 19, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.is_popup_open_)}},
      // bool is_paste_and_go = 16;
      {::_pbi::TcParser::FastV8S2,
       {384, 20, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.is_paste_and_go_)}},
      // bool selected_tab_match = 17;
      {::_pbi::TcParser::FastV8S2,
       {392, 22, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.selected_tab_match_)}},
      // .metrics.OmniboxEventProto.ModeType mode_type = 18;
      {::_pbi::TcParser::FastEr0S2,
       {400, 21, 2,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.mode_type_)}},
      // bool in_keyword_mode = 19;
      {::_pbi::TcParser::FastV8S2,
       {408, 23, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.in_keyword_mode_)}},
      // .metrics.OmniboxEventProto.KeywordModeEntryMethod keyword_mode_entry_method = 20;
      {::_pbi::TcParser::FastEr0S2,
       {416, 25, 9,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.keyword_mode_entry_method_)}},
      // bool is_query_started_from_tile = 21;
      {::_pbi::TcParser::FastV8S2,
       {424, 24, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.is_query_started_from_tile_)}},
      // repeated int32 legacy_feature_triggered_in_session = 22 [deprecated = true];
      {::_pbi::TcParser::FastV32P2,
       {434, 2, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.legacy_feature_triggered_in_session_)}},
      // .metrics.OmniboxEventProto.ProfileData profile_data = 23;
      {::_pbi::TcParser::FastMtS2,
       {442, 6, 2,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.profile_data_)}},
      // repeated int32 legacy_feature_triggered = 24 [deprecated = true];
      {::_pbi::TcParser::FastV32P2,
       {450, 3, 0,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.legacy_feature_triggered_)}},
      // repeated .metrics.OmniboxEventProto.Feature feature_triggered = 25;
      {::_pbi::TcParser::FastEvP2,
       {458, 4, 7,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.feature_triggered_)}},
      // repeated .metrics.OmniboxEventProto.Feature feature_triggered_in_session = 26;
      {::_pbi::TcParser::FastEvP2,
       {466, 5, 8,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.feature_triggered_in_session_)}},
      // .metrics.OmniboxEventProto.OmniboxPosition steady_state_omnibox_position = 27;
      {::_pbi::TcParser::FastEr0S2,
       {472, 26, 2,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.steady_state_omnibox_position_)}},
      // .metrics.OmniboxEventProto.KeywordType keyword_type = 28;
      {::_pbi::TcParser::FastEr0S2,
       {480, 27, 13,
        PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.keyword_type_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // int64 time_sec = 1;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.time_sec_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // int32 tab_id = 2;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.tab_id_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 typed_length = 3;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.typed_length_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 num_typed_terms = 4;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.num_typed_terms_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 selected_index = 5;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.selected_index_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int32 completed_length = 6;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.completed_length_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // int64 typing_duration_ms = 7;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.typing_duration_ms_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // .metrics.OmniboxInputType input_type = 8;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.input_type_), _Internal::kHasBitsOffset + 14, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // repeated .metrics.OmniboxEventProto.Suggestion suggestion = 9;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.suggestion_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // .metrics.OmniboxEventProto.PageClassification current_page_classification = 10;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.current_page_classification_), _Internal::kHasBitsOffset + 16, 4, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // bool just_deleted_text = 11;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.just_deleted_text_), _Internal::kHasBitsOffset + 17, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated .metrics.OmniboxEventProto.ProviderInfo provider_info = 12;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.provider_info_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // int64 duration_since_last_default_match_update_ms = 13;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.duration_since_last_default_match_update_ms_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // bool DEPRECATED_is_top_result_hidden_in_dropdown = 14 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.deprecated_is_top_result_hidden_in_dropdown_), _Internal::kHasBitsOffset + 18, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool is_popup_open = 15;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.is_popup_open_), _Internal::kHasBitsOffset + 19, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool is_paste_and_go = 16;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.is_paste_and_go_), _Internal::kHasBitsOffset + 20, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool selected_tab_match = 17;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.selected_tab_match_), _Internal::kHasBitsOffset + 22, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // .metrics.OmniboxEventProto.ModeType mode_type = 18;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.mode_type_), _Internal::kHasBitsOffset + 21, 5, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // bool in_keyword_mode = 19;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.in_keyword_mode_), _Internal::kHasBitsOffset + 23, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // .metrics.OmniboxEventProto.KeywordModeEntryMethod keyword_mode_entry_method = 20;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.keyword_mode_entry_method_), _Internal::kHasBitsOffset + 25, 6, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // bool is_query_started_from_tile = 21;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.is_query_started_from_tile_), _Internal::kHasBitsOffset + 24, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated int32 legacy_feature_triggered_in_session = 22 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.legacy_feature_triggered_in_session_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
      // .metrics.OmniboxEventProto.ProfileData profile_data = 23;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.profile_data_), _Internal::kHasBitsOffset + 6, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated int32 legacy_feature_triggered = 24 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.legacy_feature_triggered_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
      // repeated .metrics.OmniboxEventProto.Feature feature_triggered = 25;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.feature_triggered_), _Internal::kHasBitsOffset + 4, 7, (0 | ::_fl::kFcRepeated | ::_fl::kPackedEnum)},
      // repeated .metrics.OmniboxEventProto.Feature feature_triggered_in_session = 26;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.feature_triggered_in_session_), _Internal::kHasBitsOffset + 5, 8, (0 | ::_fl::kFcRepeated | ::_fl::kPackedEnum)},
      // .metrics.OmniboxEventProto.OmniboxPosition steady_state_omnibox_position = 27;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.steady_state_omnibox_position_), _Internal::kHasBitsOffset + 26, 9, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // .metrics.OmniboxEventProto.KeywordType keyword_type = 28;
      {PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.keyword_type_), _Internal::kHasBitsOffset + 27, 10, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::OmniboxEventProto_Suggestion>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::OmniboxEventProto_Suggestion_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::OmniboxEventProto_ProviderInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::OmniboxEventProto_ProviderInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::OmniboxEventProto_ProfileData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::OmniboxEventProto_ProfileData_globals_},
        #endif
        {0, 5},
        {0, 41},
        {0, 2},
        {0, 9},
        {::_pbi::FieldAuxEnumData{}, ::metrics::OmniboxEventProto_Feature_internal_data_},
        {::_pbi::FieldAuxEnumData{}, ::metrics::OmniboxEventProto_Feature_internal_data_},
        {0, 2},
        {0, 13},
    }},
    {{
    }},
  };
}


inline constexpr OmniboxEventProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        suggestion_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.suggestion_)>()
         }
        ,
        provider_info_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.provider_info_)>()
         }
        ,
        legacy_feature_triggered_in_session_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.legacy_feature_triggered_in_session_)>()
         }
        ,
        _legacy_feature_triggered_in_session_cached_byte_size_{0},
        legacy_feature_triggered_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.legacy_feature_triggered_)>()
         }
        ,
        _legacy_feature_triggered_cached_byte_size_{0},
        feature_triggered_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.feature_triggered_)>()
         }
        ,
        _feature_triggered_cached_byte_size_{0},
        feature_triggered_in_session_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.feature_triggered_in_session_)>()
         }
        ,
        _feature_triggered_in_session_cached_byte_size_{0},
        profile_data_{nullptr},
        time_sec_{::int64_t{0}},
        tab_id_{0},
        typed_length_{0},
        num_typed_terms_{0},
        selected_index_{0},
        typing_duration_ms_{::int64_t{0}},
        completed_length_{0},
        input_type_{static_cast< ::metrics::OmniboxInputType >(0)},
        duration_since_last_default_match_update_ms_{::int64_t{0}},
        current_page_classification_{static_cast< ::metrics::OmniboxEventProto_PageClassification >(0)},
        just_deleted_text_{false},
        deprecated_is_top_result_hidden_in_dropdown_{false},
        is_popup_open_{false},
        is_paste_and_go_{false},
        mode_type_{static_cast< ::metrics::OmniboxEventProto_ModeType >(0)},
        selected_tab_match_{false},
        in_keyword_mode_{false},
        is_query_started_from_tile_{false},
        keyword_mode_entry_method_{static_cast< ::metrics::OmniboxEventProto_KeywordModeEntryMethod >(0)},
        steady_state_omnibox_position_{static_cast< ::metrics::OmniboxEventProto_OmniboxPosition >(0)},
        keyword_type_{static_cast< ::metrics::OmniboxEventProto_KeywordType >(0)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST OmniboxEventProtoGlobalsTypeInternal OmniboxEventProto_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* OmniboxEventProto_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return OmniboxEventProto_globals_.GetClassData();
#else
  return OmniboxEventProto_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace metrics
namespace metrics {
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_Suggestion_ResultType_internal_data_[] = {
    2752512u, 0u, };
static const char OmniboxEventProto_Suggestion_ResultType_names[] = {
    "APP"
    "APP_RESULT"
    "BOOKMARK_TITLE"
    "CALCULATOR"
    "CLIPBOARD_IMAGE"
    "CLIPBOARD_TEXT"
    "CLIPBOARD_URL"
    "CONTACT"
    "CROSS_DEVICE_TAB"
    "DOCUMENT"
    "EXTENSION_APP"
    "FEATURED_ENTERPRISE_SEARCH"
    "HISTORY_BODY"
    "HISTORY_CLUSTER"
    "HISTORY_EMBEDDINGS"
    "HISTORY_EMBEDDINGS_ANSWER"
    "HISTORY_KEYWORD"
    "HISTORY_TITLE"
    "HISTORY_URL"
    "LEGACY_ON_DEVICE"
    "NAVSUGGEST"
    "NAVSUGGEST_PERSONALIZED"
    "NULL_RESULT_MESSAGE"
    "OPEN_TAB"
    "PEDAL"
    "PHYSICAL_WEB"
    "PHYSICAL_WEB_OVERFLOW"
    "SEARCH_HISTORY"
    "SEARCH_OTHER_ENGINE"
    "SEARCH_SUGGEST"
    "SEARCH_SUGGEST_ANSWER"
    "SEARCH_SUGGEST_ENTITY"
    "SEARCH_SUGGEST_PERSONALIZED"
    "SEARCH_SUGGEST_PROFILE"
    "SEARCH_SUGGEST_TAIL"
    "SEARCH_WHAT_YOU_TYPED"
    "STARTER_PACK"
    "TAB_GROUP"
    "TAB_SWITCH"
    "TILE_SUGGESTION"
    "UNKNOWN_RESULT_TYPE"
    "URL_WHAT_YOU_TYPED"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_Suggestion_ResultType_entries[] = {
    {{&OmniboxEventProto_Suggestion_ResultType_names[0], 3}, 19},
    {{&OmniboxEventProto_Suggestion_ResultType_names[3], 10}, 18},
    {{&OmniboxEventProto_Suggestion_ResultType_names[13], 14}, 13},
    {{&OmniboxEventProto_Suggestion_ResultType_names[27], 10}, 23},
    {{&OmniboxEventProto_Suggestion_ResultType_names[37], 15}, 29},
    {{&OmniboxEventProto_Suggestion_ResultType_names[52], 14}, 28},
    {{&OmniboxEventProto_Suggestion_ResultType_names[66], 13}, 24},
    {{&OmniboxEventProto_Suggestion_ResultType_names[79], 7}, 12},
    {{&OmniboxEventProto_Suggestion_ResultType_names[86], 16}, 39},
    {{&OmniboxEventProto_Suggestion_ResultType_names[102], 8}, 27},
    {{&OmniboxEventProto_Suggestion_ResultType_names[110], 13}, 11},
    {{&OmniboxEventProto_Suggestion_ResultType_names[123], 26}, 37},
    {{&OmniboxEventProto_Suggestion_ResultType_names[149], 12}, 4},
    {{&OmniboxEventProto_Suggestion_ResultType_names[161], 15}, 31},
    {{&OmniboxEventProto_Suggestion_ResultType_names[176], 18}, 36},
    {{&OmniboxEventProto_Suggestion_ResultType_names[194], 25}, 40},
    {{&OmniboxEventProto_Suggestion_ResultType_names[219], 15}, 5},
    {{&OmniboxEventProto_Suggestion_ResultType_names[234], 13}, 3},
    {{&OmniboxEventProto_Suggestion_ResultType_names[247], 11}, 2},
    {{&OmniboxEventProto_Suggestion_ResultType_names[258], 16}, 20},
    {{&OmniboxEventProto_Suggestion_ResultType_names[274], 10}, 6},
    {{&OmniboxEventProto_Suggestion_ResultType_names[284], 23}, 21},
    {{&OmniboxEventProto_Suggestion_ResultType_names[307], 19}, 38},
    {{&OmniboxEventProto_Suggestion_ResultType_names[326], 8}, 32},
    {{&OmniboxEventProto_Suggestion_ResultType_names[334], 5}, 35},
    {{&OmniboxEventProto_Suggestion_ResultType_names[339], 12}, 25},
    {{&OmniboxEventProto_Suggestion_ResultType_names[351], 21}, 26},
    {{&OmniboxEventProto_Suggestion_ResultType_names[372], 14}, 8},
    {{&OmniboxEventProto_Suggestion_ResultType_names[386], 19}, 10},
    {{&OmniboxEventProto_Suggestion_ResultType_names[405], 14}, 9},
    {{&OmniboxEventProto_Suggestion_ResultType_names[419], 21}, 22},
    {{&OmniboxEventProto_Suggestion_ResultType_names[440], 21}, 14},
    {{&OmniboxEventProto_Suggestion_ResultType_names[461], 27}, 16},
    {{&OmniboxEventProto_Suggestion_ResultType_names[488], 22}, 17},
    {{&OmniboxEventProto_Suggestion_ResultType_names[510], 19}, 15},
    {{&OmniboxEventProto_Suggestion_ResultType_names[529], 21}, 7},
    {{&OmniboxEventProto_Suggestion_ResultType_names[550], 12}, 33},
    {{&OmniboxEventProto_Suggestion_ResultType_names[562], 9}, 41},
    {{&OmniboxEventProto_Suggestion_ResultType_names[571], 10}, 34},
    {{&OmniboxEventProto_Suggestion_ResultType_names[581], 15}, 30},
    {{&OmniboxEventProto_Suggestion_ResultType_names[596], 19}, 0},
    {{&OmniboxEventProto_Suggestion_ResultType_names[615], 18}, 1},
};

static const int OmniboxEventProto_Suggestion_ResultType_entries_by_number[] = {
    40,  // 0 -> UNKNOWN_RESULT_TYPE
    41,  // 1 -> URL_WHAT_YOU_TYPED
    18,  // 2 -> HISTORY_URL
    17,  // 3 -> HISTORY_TITLE
    12,  // 4 -> HISTORY_BODY
    16,  // 5 -> HISTORY_KEYWORD
    20,  // 6 -> NAVSUGGEST
    35,  // 7 -> SEARCH_WHAT_YOU_TYPED
    27,  // 8 -> SEARCH_HISTORY
    29,  // 9 -> SEARCH_SUGGEST
    28,  // 10 -> SEARCH_OTHER_ENGINE
    10,  // 11 -> EXTENSION_APP
    7,  // 12 -> CONTACT
    2,  // 13 -> BOOKMARK_TITLE
    31,  // 14 -> SEARCH_SUGGEST_ENTITY
    34,  // 15 -> SEARCH_SUGGEST_TAIL
    32,  // 16 -> SEARCH_SUGGEST_PERSONALIZED
    33,  // 17 -> SEARCH_SUGGEST_PROFILE
    1,  // 18 -> APP_RESULT
    0,  // 19 -> APP
    19,  // 20 -> LEGACY_ON_DEVICE
    21,  // 21 -> NAVSUGGEST_PERSONALIZED
    30,  // 22 -> SEARCH_SUGGEST_ANSWER
    3,  // 23 -> CALCULATOR
    6,  // 24 -> CLIPBOARD_URL
    25,  // 25 -> PHYSICAL_WEB
    26,  // 26 -> PHYSICAL_WEB_OVERFLOW
    9,  // 27 -> DOCUMENT
    5,  // 28 -> CLIPBOARD_TEXT
    4,  // 29 -> CLIPBOARD_IMAGE
    39,  // 30 -> TILE_SUGGESTION
    13,  // 31 -> HISTORY_CLUSTER
    23,  // 32 -> OPEN_TAB
    36,  // 33 -> STARTER_PACK
    38,  // 34 -> TAB_SWITCH
    24,  // 35 -> PEDAL
    14,  // 36 -> HISTORY_EMBEDDINGS
    11,  // 37 -> FEATURED_ENTERPRISE_SEARCH
    22,  // 38 -> NULL_RESULT_MESSAGE
    8,  // 39 -> CROSS_DEVICE_TAB
    15,  // 40 -> HISTORY_EMBEDDINGS_ANSWER
    37,  // 41 -> TAB_GROUP
};

bool OmniboxEventProto_Suggestion_ResultType_Parse(::absl::string_view name,
                                  OmniboxEventProto_Suggestion_ResultType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      OmniboxEventProto_Suggestion_ResultType_entries, 42, name, &int_value);
  if (success) {
    *value = static_cast<OmniboxEventProto_Suggestion_ResultType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    OmniboxEventProto_Suggestion_ResultType_strings[42] = {};

const ::std::string& OmniboxEventProto_Suggestion_ResultType_Name(OmniboxEventProto_Suggestion_ResultType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_Suggestion_ResultType_entries, OmniboxEventProto_Suggestion_ResultType_entries_by_number, 42,
      OmniboxEventProto_Suggestion_ResultType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(OmniboxEventProto_Suggestion_ResultType_entries,
                                  OmniboxEventProto_Suggestion_ResultType_entries_by_number,
                                  42, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : OmniboxEventProto_Suggestion_ResultType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_PageClassification_internal_data_[] = {
    2752512u, 0u, };
static const char OmniboxEventProto_PageClassification_names[] = {
    "ANDROID_HUB"
    "ANDROID_SEARCH_WIDGET"
    "ANDROID_SHORTCUTS_WIDGET"
    "ANDROID_TAB_SEARCH_OVERLAY"
    "APP_HOME"
    "APP_MAPS"
    "APP_SEARCH"
    "BLANK"
    "CHROMEOS_APP_LIST"
    "COMPOSEBOX_EVERYWHERE"
    "CONTEXTUAL_SEARCHBOX"
    "CO_BROWSING_COMPOSEBOX"
    "HOME_PAGE"
    "INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS"
    "INVALID_SPEC"
    "JOURNEYS"
    "JUMP_START"
    "LENS_SIDE_PANEL_COMPOSEBOX"
    "LENS_SIDE_PANEL_SEARCHBOX"
    "NTP"
    "NTP_ACTION_CHIPS"
    "NTP_COMPOSEBOX"
    "NTP_COMPOSEBOX_PREFETCH"
    "NTP_OMNIBOX_COMPOSEBOX"
    "NTP_REALBOX"
    "NTP_ZPS_PREFETCH"
    "OBSOLETE_INSTANT_NTP"
    "OBSOLETE_INSTANT_NTP_WITH_FAKEBOX_AS_STARTING_FOCUS"
    "OMNIBOX_EVERYWHERE"
    "OTHER"
    "OTHER_OMNIBOX_COMPOSEBOX"
    "OTHER_ON_CCT"
    "OTHER_ZPS_PREFETCH"
    "SEARCH_BUTTON_AS_STARTING_FOCUS"
    "SEARCH_RESULT_PAGE_DOING_SEARCH_TERM_REPLACEMENT"
    "SEARCH_RESULT_PAGE_NO_SEARCH_TERM_REPLACEMENT"
    "SEARCH_RESULT_PAGE_ON_CCT"
    "SEARCH_SIDE_PANEL_SEARCHBOX"
    "SRP_OMNIBOX_COMPOSEBOX"
    "SRP_ZPS_PREFETCH"
    "START_SURFACE_HOMEPAGE"
    "START_SURFACE_NEW_TAB"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_PageClassification_entries[] = {
    {{&OmniboxEventProto_PageClassification_names[0], 11}, 29},
    {{&OmniboxEventProto_PageClassification_names[11], 21}, 16},
    {{&OmniboxEventProto_PageClassification_names[32], 24}, 19},
    {{&OmniboxEventProto_PageClassification_names[56], 26}, 40},
    {{&OmniboxEventProto_PageClassification_names[82], 8}, 10},
    {{&OmniboxEventProto_PageClassification_names[90], 8}, 12},
    {{&OmniboxEventProto_PageClassification_names[98], 10}, 11},
    {{&OmniboxEventProto_PageClassification_names[108], 5}, 2},
    {{&OmniboxEventProto_PageClassification_names[113], 17}, 14},
    {{&OmniboxEventProto_PageClassification_names[130], 21}, 39},
    {{&OmniboxEventProto_PageClassification_names[151], 20}, 24},
    {{&OmniboxEventProto_PageClassification_names[171], 22}, 36},
    {{&OmniboxEventProto_PageClassification_names[193], 9}, 3},
    {{&OmniboxEventProto_PageClassification_names[202], 42}, 7},
    {{&OmniboxEventProto_PageClassification_names[244], 12}, 0},
    {{&OmniboxEventProto_PageClassification_names[256], 8}, 21},
    {{&OmniboxEventProto_PageClassification_names[264], 10}, 30},
    {{&OmniboxEventProto_PageClassification_names[274], 26}, 32},
    {{&OmniboxEventProto_PageClassification_names[300], 25}, 26},
    {{&OmniboxEventProto_PageClassification_names[325], 3}, 1},
    {{&OmniboxEventProto_PageClassification_names[328], 16}, 41},
    {{&OmniboxEventProto_PageClassification_names[344], 14}, 31},
    {{&OmniboxEventProto_PageClassification_names[358], 23}, 37},
    {{&OmniboxEventProto_PageClassification_names[381], 22}, 33},
    {{&OmniboxEventProto_PageClassification_names[403], 11}, 15},
    {{&OmniboxEventProto_PageClassification_names[414], 16}, 20},
    {{&OmniboxEventProto_PageClassification_names[430], 20}, 5},
    {{&OmniboxEventProto_PageClassification_names[450], 51}, 8},
    {{&OmniboxEventProto_PageClassification_names[501], 18}, 38},
    {{&OmniboxEventProto_PageClassification_names[519], 5}, 4},
    {{&OmniboxEventProto_PageClassification_names[524], 24}, 35},
    {{&OmniboxEventProto_PageClassification_names[548], 12}, 28},
    {{&OmniboxEventProto_PageClassification_names[560], 18}, 23},
    {{&OmniboxEventProto_PageClassification_names[578], 31}, 13},
    {{&OmniboxEventProto_PageClassification_names[609], 48}, 6},
    {{&OmniboxEventProto_PageClassification_names[657], 45}, 9},
    {{&OmniboxEventProto_PageClassification_names[702], 25}, 27},
    {{&OmniboxEventProto_PageClassification_names[727], 27}, 25},
    {{&OmniboxEventProto_PageClassification_names[754], 22}, 34},
    {{&OmniboxEventProto_PageClassification_names[776], 16}, 22},
    {{&OmniboxEventProto_PageClassification_names[792], 22}, 17},
    {{&OmniboxEventProto_PageClassification_names[814], 21}, 18},
};

static const int OmniboxEventProto_PageClassification_entries_by_number[] = {
    14,  // 0 -> INVALID_SPEC
    19,  // 1 -> NTP
    7,  // 2 -> BLANK
    12,  // 3 -> HOME_PAGE
    29,  // 4 -> OTHER
    26,  // 5 -> OBSOLETE_INSTANT_NTP
    34,  // 6 -> SEARCH_RESULT_PAGE_DOING_SEARCH_TERM_REPLACEMENT
    13,  // 7 -> INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS
    27,  // 8 -> OBSOLETE_INSTANT_NTP_WITH_FAKEBOX_AS_STARTING_FOCUS
    35,  // 9 -> SEARCH_RESULT_PAGE_NO_SEARCH_TERM_REPLACEMENT
    4,  // 10 -> APP_HOME
    6,  // 11 -> APP_SEARCH
    5,  // 12 -> APP_MAPS
    33,  // 13 -> SEARCH_BUTTON_AS_STARTING_FOCUS
    8,  // 14 -> CHROMEOS_APP_LIST
    24,  // 15 -> NTP_REALBOX
    1,  // 16 -> ANDROID_SEARCH_WIDGET
    40,  // 17 -> START_SURFACE_HOMEPAGE
    41,  // 18 -> START_SURFACE_NEW_TAB
    2,  // 19 -> ANDROID_SHORTCUTS_WIDGET
    25,  // 20 -> NTP_ZPS_PREFETCH
    15,  // 21 -> JOURNEYS
    39,  // 22 -> SRP_ZPS_PREFETCH
    32,  // 23 -> OTHER_ZPS_PREFETCH
    10,  // 24 -> CONTEXTUAL_SEARCHBOX
    37,  // 25 -> SEARCH_SIDE_PANEL_SEARCHBOX
    18,  // 26 -> LENS_SIDE_PANEL_SEARCHBOX
    36,  // 27 -> SEARCH_RESULT_PAGE_ON_CCT
    31,  // 28 -> OTHER_ON_CCT
    0,  // 29 -> ANDROID_HUB
    16,  // 30 -> JUMP_START
    21,  // 31 -> NTP_COMPOSEBOX
    17,  // 32 -> LENS_SIDE_PANEL_COMPOSEBOX
    23,  // 33 -> NTP_OMNIBOX_COMPOSEBOX
    38,  // 34 -> SRP_OMNIBOX_COMPOSEBOX
    30,  // 35 -> OTHER_OMNIBOX_COMPOSEBOX
    11,  // 36 -> CO_BROWSING_COMPOSEBOX
    22,  // 37 -> NTP_COMPOSEBOX_PREFETCH
    28,  // 38 -> OMNIBOX_EVERYWHERE
    9,  // 39 -> COMPOSEBOX_EVERYWHERE
    3,  // 40 -> ANDROID_TAB_SEARCH_OVERLAY
    20,  // 41 -> NTP_ACTION_CHIPS
};

bool OmniboxEventProto_PageClassification_Parse(::absl::string_view name,
                                  OmniboxEventProto_PageClassification* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      OmniboxEventProto_PageClassification_entries, 42, name, &int_value);
  if (success) {
    *value = static_cast<OmniboxEventProto_PageClassification>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    OmniboxEventProto_PageClassification_strings[42] = {};

const ::std::string& OmniboxEventProto_PageClassification_Name(OmniboxEventProto_PageClassification value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_PageClassification_entries, OmniboxEventProto_PageClassification_entries_by_number, 42,
      OmniboxEventProto_PageClassification_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(OmniboxEventProto_PageClassification_entries,
                                  OmniboxEventProto_PageClassification_entries_by_number,
                                  42, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : OmniboxEventProto_PageClassification_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_ModeType_internal_data_[] = {
    196608u, 0u, };
static const char OmniboxEventProto_ModeType_names[] = {
    "IMAGE_MODE"
    "UNKNOWN_MODE"
    "WEB_MODE"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_ModeType_entries[] = {
    {{&OmniboxEventProto_ModeType_names[0], 10}, 2},
    {{&OmniboxEventProto_ModeType_names[10], 12}, 0},
    {{&OmniboxEventProto_ModeType_names[22], 8}, 1},
};

static const int OmniboxEventProto_ModeType_entries_by_number[] = {
    1,  // 0 -> UNKNOWN_MODE
    2,  // 1 -> WEB_MODE
    0,  // 2 -> IMAGE_MODE
};

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

const ::std::string& OmniboxEventProto_ModeType_Name(OmniboxEventProto_ModeType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_ModeType_entries, OmniboxEventProto_ModeType_entries_by_number, 3,
      OmniboxEventProto_ModeType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(OmniboxEventProto_ModeType_entries,
                                  OmniboxEventProto_ModeType_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : OmniboxEventProto_ModeType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_ProviderType_internal_data_[] = {
    2359296u, 0u, };
static const char OmniboxEventProto_ProviderType_names[] = {
    "BOOKMARK"
    "BUILTIN"
    "CALCULATOR"
    "CLIPBOARD"
    "CONTACT"
    "CONTEXTUAL_SEARCH_PROVIDER"
    "CROSS_DEVICE_TAB"
    "DOCUMENT"
    "ENTERPRISE_SEARCH_AGGREGATOR"
    "EXTENSION_APPS"
    "FEATURED_SEARCH"
    "HISTORY_CLUSTER"
    "HISTORY_CONTENTS"
    "HISTORY_EMBEDDINGS"
    "HISTORY_FUZZY"
    "HISTORY_QUICK"
    "HISTORY_URL"
    "KEYWORD"
    "MOST_VISITED_SITES"
    "ON_DEVICE"
    "ON_DEVICE_CHROME"
    "ON_DEVICE_HEAD"
    "OPEN_TAB"
    "PEDALS"
    "PHYSICAL_WEB"
    "QUERY_TILE"
    "RECENTLY_CLOSED_TABS"
    "SEARCH"
    "SHORTCUTS"
    "TAB_GROUP_PROVIDER"
    "TAB_SWITCH"
    "UNKNOWN_PROVIDER"
    "UNSCOPED_EXTENSION"
    "VERBATIM_MATCH"
    "ZERO_SUGGEST"
    "ZERO_SUGGEST_LOCAL_HISTORY"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_ProviderType_entries[] = {
    {{&OmniboxEventProto_ProviderType_names[0], 8}, 10},
    {{&OmniboxEventProto_ProviderType_names[8], 7}, 6},
    {{&OmniboxEventProto_ProviderType_names[15], 10}, 27},
    {{&OmniboxEventProto_ProviderType_names[25], 9}, 14},
    {{&OmniboxEventProto_ProviderType_names[34], 7}, 9},
    {{&OmniboxEventProto_ProviderType_names[41], 26}, 33},
    {{&OmniboxEventProto_ProviderType_names[67], 16}, 28},
    {{&OmniboxEventProto_ProviderType_names[83], 8}, 16},
    {{&OmniboxEventProto_ProviderType_names[91], 28}, 29},
    {{&OmniboxEventProto_ProviderType_names[119], 14}, 8},
    {{&OmniboxEventProto_ProviderType_names[133], 15}, 25},
    {{&OmniboxEventProto_ProviderType_names[148], 15}, 20},
    {{&OmniboxEventProto_ProviderType_names[163], 16}, 2},
    {{&OmniboxEventProto_ProviderType_names[179], 18}, 26},
    {{&OmniboxEventProto_ProviderType_names[197], 13}, 21},
    {{&OmniboxEventProto_ProviderType_names[210], 13}, 3},
    {{&OmniboxEventProto_ProviderType_names[223], 11}, 1},
    {{&OmniboxEventProto_ProviderType_names[234], 7}, 5},
    {{&OmniboxEventProto_ProviderType_names[241], 18}, 32},
    {{&OmniboxEventProto_ProviderType_names[259], 9}, 12},
    {{&OmniboxEventProto_ProviderType_names[268], 16}, 13},
    {{&OmniboxEventProto_ProviderType_names[284], 14}, 17},
    {{&OmniboxEventProto_ProviderType_names[298], 8}, 22},
    {{&OmniboxEventProto_ProviderType_names[306], 6}, 24},
    {{&OmniboxEventProto_ProviderType_names[312], 12}, 15},
    {{&OmniboxEventProto_ProviderType_names[324], 10}, 19},
    {{&OmniboxEventProto_ProviderType_names[334], 20}, 31},
    {{&OmniboxEventProto_ProviderType_names[354], 6}, 4},
    {{&OmniboxEventProto_ProviderType_names[360], 9}, 7},
    {{&OmniboxEventProto_ProviderType_names[369], 18}, 35},
    {{&OmniboxEventProto_ProviderType_names[387], 10}, 23},
    {{&OmniboxEventProto_ProviderType_names[397], 16}, 0},
    {{&OmniboxEventProto_ProviderType_names[413], 18}, 30},
    {{&OmniboxEventProto_ProviderType_names[431], 14}, 34},
    {{&OmniboxEventProto_ProviderType_names[445], 12}, 11},
    {{&OmniboxEventProto_ProviderType_names[457], 26}, 18},
};

static const int OmniboxEventProto_ProviderType_entries_by_number[] = {
    31,  // 0 -> UNKNOWN_PROVIDER
    16,  // 1 -> HISTORY_URL
    12,  // 2 -> HISTORY_CONTENTS
    15,  // 3 -> HISTORY_QUICK
    27,  // 4 -> SEARCH
    17,  // 5 -> KEYWORD
    1,  // 6 -> BUILTIN
    28,  // 7 -> SHORTCUTS
    9,  // 8 -> EXTENSION_APPS
    4,  // 9 -> CONTACT
    0,  // 10 -> BOOKMARK
    34,  // 11 -> ZERO_SUGGEST
    19,  // 12 -> ON_DEVICE
    20,  // 13 -> ON_DEVICE_CHROME
    3,  // 14 -> CLIPBOARD
    24,  // 15 -> PHYSICAL_WEB
    7,  // 16 -> DOCUMENT
    21,  // 17 -> ON_DEVICE_HEAD
    35,  // 18 -> ZERO_SUGGEST_LOCAL_HISTORY
    25,  // 19 -> QUERY_TILE
    11,  // 20 -> HISTORY_CLUSTER
    14,  // 21 -> HISTORY_FUZZY
    22,  // 22 -> OPEN_TAB
    30,  // 23 -> TAB_SWITCH
    23,  // 24 -> PEDALS
    10,  // 25 -> FEATURED_SEARCH
    13,  // 26 -> HISTORY_EMBEDDINGS
    2,  // 27 -> CALCULATOR
    6,  // 28 -> CROSS_DEVICE_TAB
    8,  // 29 -> ENTERPRISE_SEARCH_AGGREGATOR
    32,  // 30 -> UNSCOPED_EXTENSION
    26,  // 31 -> RECENTLY_CLOSED_TABS
    18,  // 32 -> MOST_VISITED_SITES
    5,  // 33 -> CONTEXTUAL_SEARCH_PROVIDER
    33,  // 34 -> VERBATIM_MATCH
    29,  // 35 -> TAB_GROUP_PROVIDER
};

bool OmniboxEventProto_ProviderType_Parse(::absl::string_view name,
                                  OmniboxEventProto_ProviderType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      OmniboxEventProto_ProviderType_entries, 36, name, &int_value);
  if (success) {
    *value = static_cast<OmniboxEventProto_ProviderType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    OmniboxEventProto_ProviderType_strings[36] = {};

const ::std::string& OmniboxEventProto_ProviderType_Name(OmniboxEventProto_ProviderType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_ProviderType_entries, OmniboxEventProto_ProviderType_entries_by_number, 36,
      OmniboxEventProto_ProviderType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(OmniboxEventProto_ProviderType_entries,
                                  OmniboxEventProto_ProviderType_entries_by_number,
                                  36, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : OmniboxEventProto_ProviderType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_KeywordType_internal_data_[] = {
    917504u, 0u, };
static const char OmniboxEventProto_KeywordType_names[] = {
    "DEFAULT_SEARCH_ENGINE_SET_BY_POLICY"
    "DEFAULT_SEARCH_ENGINE_SET_BY_USER"
    "EXTENSION"
    "FEATURED_OVERRIDABLE_SITE_SEARCH_SET_BY_POLICY"
    "FEATURED_SEARCH_AGGREGATOR_SET_BY_POLICY"
    "FEATURED_SITE_SEARCH_SET_BY_POLICY"
    "KEYWORD_TYPE_UNSPECIFIED"
    "NON_FEATURED_OVERRIDABLE_SITE_SEARCH_SET_BY_POLICY"
    "NON_FEATURED_SEARCH_AGGREGATOR_SET_BY_POLICY"
    "NON_FEATURED_SITE_SEARCH_SET_BY_POLICY"
    "NON_SUBSTITUTING_SITE_SEARCH_SET_BY_USER"
    "PREPOPULATED"
    "STARTER_PACK"
    "SUBSTITUTING_SITE_SEARCH_SET_BY_USER"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_KeywordType_entries[] = {
    {{&OmniboxEventProto_KeywordType_names[0], 35}, 7},
    {{&OmniboxEventProto_KeywordType_names[35], 33}, 10},
    {{&OmniboxEventProto_KeywordType_names[68], 9}, 3},
    {{&OmniboxEventProto_KeywordType_names[77], 46}, 12},
    {{&OmniboxEventProto_KeywordType_names[123], 40}, 4},
    {{&OmniboxEventProto_KeywordType_names[163], 34}, 5},
    {{&OmniboxEventProto_KeywordType_names[197], 24}, 0},
    {{&OmniboxEventProto_KeywordType_names[221], 50}, 13},
    {{&OmniboxEventProto_KeywordType_names[271], 44}, 11},
    {{&OmniboxEventProto_KeywordType_names[315], 38}, 6},
    {{&OmniboxEventProto_KeywordType_names[353], 40}, 8},
    {{&OmniboxEventProto_KeywordType_names[393], 12}, 2},
    {{&OmniboxEventProto_KeywordType_names[405], 12}, 1},
    {{&OmniboxEventProto_KeywordType_names[417], 36}, 9},
};

static const int OmniboxEventProto_KeywordType_entries_by_number[] = {
    6,  // 0 -> KEYWORD_TYPE_UNSPECIFIED
    12,  // 1 -> STARTER_PACK
    11,  // 2 -> PREPOPULATED
    2,  // 3 -> EXTENSION
    4,  // 4 -> FEATURED_SEARCH_AGGREGATOR_SET_BY_POLICY
    5,  // 5 -> FEATURED_SITE_SEARCH_SET_BY_POLICY
    9,  // 6 -> NON_FEATURED_SITE_SEARCH_SET_BY_POLICY
    0,  // 7 -> DEFAULT_SEARCH_ENGINE_SET_BY_POLICY
    10,  // 8 -> NON_SUBSTITUTING_SITE_SEARCH_SET_BY_USER
    13,  // 9 -> SUBSTITUTING_SITE_SEARCH_SET_BY_USER
    1,  // 10 -> DEFAULT_SEARCH_ENGINE_SET_BY_USER
    8,  // 11 -> NON_FEATURED_SEARCH_AGGREGATOR_SET_BY_POLICY
    3,  // 12 -> FEATURED_OVERRIDABLE_SITE_SEARCH_SET_BY_POLICY
    7,  // 13 -> NON_FEATURED_OVERRIDABLE_SITE_SEARCH_SET_BY_POLICY
};

bool OmniboxEventProto_KeywordType_Parse(::absl::string_view name,
                                  OmniboxEventProto_KeywordType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      OmniboxEventProto_KeywordType_entries, 14, name, &int_value);
  if (success) {
    *value = static_cast<OmniboxEventProto_KeywordType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    OmniboxEventProto_KeywordType_strings[14] = {};

const ::std::string& OmniboxEventProto_KeywordType_Name(OmniboxEventProto_KeywordType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_KeywordType_entries, OmniboxEventProto_KeywordType_entries_by_number, 14,
      OmniboxEventProto_KeywordType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(OmniboxEventProto_KeywordType_entries,
                                  OmniboxEventProto_KeywordType_entries_by_number,
                                  14, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : OmniboxEventProto_KeywordType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_KeywordModeEntryMethod_internal_data_[] = {
    655360u, 0u, };
static const char OmniboxEventProto_KeywordModeEntryMethod_names[] = {
    "CLICK_HINT_VIEW"
    "INVALID"
    "KEYBOARD_SHORTCUT"
    "QUESTION_MARK"
    "SELECT_SUGGESTION"
    "SPACE_AT_END"
    "SPACE_IN_MIDDLE"
    "TAB"
    "TAP_HINT_VIEW"
    "TOOLBELT"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_KeywordModeEntryMethod_entries[] = {
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[0], 15}, 6},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[15], 7}, 0},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[22], 17}, 4},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[39], 13}, 5},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[52], 17}, 8},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[69], 12}, 2},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[81], 15}, 3},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[96], 3}, 1},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[99], 13}, 7},
    {{&OmniboxEventProto_KeywordModeEntryMethod_names[112], 8}, 9},
};

static const int OmniboxEventProto_KeywordModeEntryMethod_entries_by_number[] = {
    1,  // 0 -> INVALID
    7,  // 1 -> TAB
    5,  // 2 -> SPACE_AT_END
    6,  // 3 -> SPACE_IN_MIDDLE
    2,  // 4 -> KEYBOARD_SHORTCUT
    3,  // 5 -> QUESTION_MARK
    0,  // 6 -> CLICK_HINT_VIEW
    8,  // 7 -> TAP_HINT_VIEW
    4,  // 8 -> SELECT_SUGGESTION
    9,  // 9 -> TOOLBELT
};

bool OmniboxEventProto_KeywordModeEntryMethod_Parse(::absl::string_view name,
                                  OmniboxEventProto_KeywordModeEntryMethod* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      OmniboxEventProto_KeywordModeEntryMethod_entries, 10, name, &int_value);
  if (success) {
    *value = static_cast<OmniboxEventProto_KeywordModeEntryMethod>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    OmniboxEventProto_KeywordModeEntryMethod_strings[10] = {};

const ::std::string& OmniboxEventProto_KeywordModeEntryMethod_Name(OmniboxEventProto_KeywordModeEntryMethod value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_KeywordModeEntryMethod_entries, OmniboxEventProto_KeywordModeEntryMethod_entries_by_number, 10,
      OmniboxEventProto_KeywordModeEntryMethod_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(OmniboxEventProto_KeywordModeEntryMethod_entries,
                                  OmniboxEventProto_KeywordModeEntryMethod_entries_by_number,
                                  10, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : OmniboxEventProto_KeywordModeEntryMethod_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_Feature_internal_data_[] = {
    65536u, 32u, 8190u, };
static const char OmniboxEventProto_Feature_names[] = {
    "AIM_PAGE_ACTION_OMNIBOX_ENTRYPOINT"
    "COMPANY_ENTITY_ADJUSTMENT"
    "DOMAIN_SUGGESTIONS"
    "FUZZY_URL_SUGGESTIONS"
    "HISTORY_CLUSTER_SUGGESTION"
    "HISTORY_EMBEDDINGS_FEATURE"
    "ML_URL_SCORING"
    "REMOTE_SEARCH_FEATURE"
    "REMOTE_SECONDARY_ZERO_SUGGEST"
    "REMOTE_ZERO_SUGGEST_FEATURE"
    "RICH_AUTOCOMPLETION"
    "SHORTCUT_BOOST"
    "SHORT_BOOKMARK_SUGGESTIONS_BY_TOTAL_INPUT_LENGTH"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_Feature_entries[] = {
    {{&OmniboxEventProto_Feature_names[0], 34}, 13},
    {{&OmniboxEventProto_Feature_names[34], 25}, 11},
    {{&OmniboxEventProto_Feature_names[59], 18}, 5},
    {{&OmniboxEventProto_Feature_names[77], 21}, 3},
    {{&OmniboxEventProto_Feature_names[98], 26}, 4},
    {{&OmniboxEventProto_Feature_names[124], 26}, 12},
    {{&OmniboxEventProto_Feature_names[150], 14}, 10},
    {{&OmniboxEventProto_Feature_names[164], 21}, 6},
    {{&OmniboxEventProto_Feature_names[185], 29}, 9},
    {{&OmniboxEventProto_Feature_names[214], 27}, 7},
    {{&OmniboxEventProto_Feature_names[241], 19}, 0},
    {{&OmniboxEventProto_Feature_names[260], 14}, 8},
    {{&OmniboxEventProto_Feature_names[274], 48}, 2},
};

static const int OmniboxEventProto_Feature_entries_by_number[] = {
    10,  // 0 -> RICH_AUTOCOMPLETION
    12,  // 2 -> SHORT_BOOKMARK_SUGGESTIONS_BY_TOTAL_INPUT_LENGTH
    3,  // 3 -> FUZZY_URL_SUGGESTIONS
    4,  // 4 -> HISTORY_CLUSTER_SUGGESTION
    2,  // 5 -> DOMAIN_SUGGESTIONS
    7,  // 6 -> REMOTE_SEARCH_FEATURE
    9,  // 7 -> REMOTE_ZERO_SUGGEST_FEATURE
    11,  // 8 -> SHORTCUT_BOOST
    8,  // 9 -> REMOTE_SECONDARY_ZERO_SUGGEST
    6,  // 10 -> ML_URL_SCORING
    1,  // 11 -> COMPANY_ENTITY_ADJUSTMENT
    5,  // 12 -> HISTORY_EMBEDDINGS_FEATURE
    0,  // 13 -> AIM_PAGE_ACTION_OMNIBOX_ENTRYPOINT
};

bool OmniboxEventProto_Feature_Parse(::absl::string_view name,
                                  OmniboxEventProto_Feature* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      OmniboxEventProto_Feature_entries, 13, name, &int_value);
  if (success) {
    *value = static_cast<OmniboxEventProto_Feature>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    OmniboxEventProto_Feature_strings[13] = {};

const ::std::string& OmniboxEventProto_Feature_Name(OmniboxEventProto_Feature value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_Feature_entries, OmniboxEventProto_Feature_entries_by_number, 13,
      OmniboxEventProto_Feature_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(OmniboxEventProto_Feature_entries,
                                  OmniboxEventProto_Feature_entries_by_number,
                                  13, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : OmniboxEventProto_Feature_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t OmniboxEventProto_OmniboxPosition_internal_data_[] = {
    196608u, 0u, };
static const char OmniboxEventProto_OmniboxPosition_names[] = {
    "BOTTOM_POSITION"
    "TOP_POSITION"
    "UNKNOWN_POSITION"
};

static const ::google::protobuf::internal::EnumEntry OmniboxEventProto_OmniboxPosition_entries[] = {
    {{&OmniboxEventProto_OmniboxPosition_names[0], 15}, 2},
    {{&OmniboxEventProto_OmniboxPosition_names[15], 12}, 1},
    {{&OmniboxEventProto_OmniboxPosition_names[27], 16}, 0},
};

static const int OmniboxEventProto_OmniboxPosition_entries_by_number[] = {
    2,  // 0 -> UNKNOWN_POSITION
    1,  // 1 -> TOP_POSITION
    0,  // 2 -> BOTTOM_POSITION
};

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

const ::std::string& OmniboxEventProto_OmniboxPosition_Name(OmniboxEventProto_OmniboxPosition value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      OmniboxEventProto_OmniboxPosition_entries, OmniboxEventProto_OmniboxPosition_entries_by_number, 3,
      OmniboxEventProto_OmniboxPosition_strings);
  (void)kDummy;

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

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

inline void OmniboxEventProto_Suggestion_ScoringSignals::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, typed_count_),
           0,
           offsetof(Impl_, destination_host_match_for_current_page_) -
               offsetof(Impl_, typed_count_) +
               sizeof(Impl_::destination_host_match_for_current_page_));
}
OmniboxEventProto_Suggestion_ScoringSignals::~OmniboxEventProto_Suggestion_ScoringSignals() {
  // @@protoc_insertion_point(destructor:metrics.OmniboxEventProto.Suggestion.ScoringSignals)
  SharedDtor(*this);
}
inline void OmniboxEventProto_Suggestion_ScoringSignals::SharedDtor(MessageLite& self) {
  OmniboxEventProto_Suggestion_ScoringSignals& this_ = static_cast<OmniboxEventProto_Suggestion_ScoringSignals&>(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 OmniboxEventProto_Suggestion_ScoringSignals_class_data_ =
    OmniboxEventProto_Suggestion_ScoringSignals::InternalGenerateClassData_(OmniboxEventProto_Suggestion_ScoringSignals_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OmniboxEventProto_Suggestion_ScoringSignals::GetClassData() const {
  return OmniboxEventProto_Suggestion_ScoringSignals_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OmniboxEventProto_Suggestion_ScoringSignals::GetClassData() const {
  return OmniboxEventProto_Suggestion_ScoringSignals_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const OmniboxEventProto_Suggestion_ScoringSignals::ParseTableT_
    OmniboxEventProto_Suggestion_ScoringSignals::_table_ =
        OmniboxEventProto_Suggestion_ScoringSignals::InternalGenerateParseTable_(OmniboxEventProto_Suggestion_ScoringSignals_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void OmniboxEventProto_Suggestion_ScoringSignals::Clear() {
// @@protoc_insertion_point(message_clear_start:metrics.OmniboxEventProto.Suggestion.ScoringSignals)
  ::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)) {
    ::memset(&_impl_.typed_count_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.first_bookmark_title_match_position_) -
        reinterpret_cast<char*>(&_impl_.typed_count_)) + sizeof(_impl_.first_bookmark_title_match_position_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    ::memset(&_impl_.total_bookmark_title_match_length_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.host_match_at_word_boundary_) -
        reinterpret_cast<char*>(&_impl_.total_bookmark_title_match_length_)) + sizeof(_impl_.host_match_at_word_boundary_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    ::memset(&_impl_.has_non_scheme_www_match_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.site_engagement_) -
        reinterpret_cast<char*>(&_impl_.has_non_scheme_www_match_)) + sizeof(_impl_.site_engagement_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0f000000U)) {
    ::memset(&_impl_.search_suggest_relevance_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.destination_host_match_for_current_page_) -
        reinterpret_cast<char*>(&_impl_.search_suggest_relevance_)) + sizeof(_impl_.destination_host_match_for_current_page_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // int32 typed_count = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
            stream, this_._internal_typed_count(), target);
  }

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

  // int64 elapsed_time_last_visit_secs = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_elapsed_time_last_visit_secs(), target);
  }

  // int32 shortcut_visit_count = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
            stream, this_._internal_shortcut_visit_count(), target);
  }

  // int32 shortest_shortcut_len = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
            stream, this_._internal_shortest_shortcut_len(), target);
  }

  // int64 elapsed_time_last_shortcut_visit_sec = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
            stream, this_._internal_elapsed_time_last_shortcut_visit_sec(), target);
  }

  // bool is_host_only = 7;
  if (CheckHasBit(cached_has_bits, 0x00004000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        7, this_._internal_is_host_only(), target);
  }

  // int32 num_bookmarks_of_url = 8;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<8>(
            stream, this_._internal_num_bookmarks_of_url(), target);
  }

  // int32 first_bookmark_title_match_position = 9;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<9>(
            stream, this_._internal_first_bookmark_title_match_position(), target);
  }

  // int32 total_bookmark_title_match_length = 10;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<10>(
            stream, this_._internal_total_bookmark_title_match_length(), target);
  }

  // int32 num_input_terms_matched_by_bookmark_title = 11;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<11>(
            stream, this_._internal_num_input_terms_matched_by_bookmark_title(), target);
  }

  // int32 first_url_match_position = 12;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<12>(
            stream, this_._internal_first_url_match_position(), target);
  }

  // int32 total_url_match_length = 13;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<13>(
            stream, this_._internal_total_url_match_length(), target);
  }

  // bool host_match_at_word_boundary = 14;
  if (CheckHasBit(cached_has_bits, 0x00008000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        14, this_._internal_host_match_at_word_boundary(), target);
  }

  // int32 total_host_match_length = 15;
  if (CheckHasBit(cached_has_bits, 0x00001000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<15>(
            stream, this_._internal_total_host_match_length(), target);
  }

  // int32 total_path_match_length = 16;
  if (CheckHasBit(cached_has_bits, 0x00002000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        16, this_._internal_total_path_match_length(), target);
  }

  // int32 total_query_or_ref_match_length = 17;
  if (CheckHasBit(cached_has_bits, 0x00040000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        17, this_._internal_total_query_or_ref_match_length(), target);
  }

  // int32 total_title_match_length = 18;
  if (CheckHasBit(cached_has_bits, 0x00080000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        18, this_._internal_total_title_match_length(), target);
  }

  // bool has_non_scheme_www_match = 19;
  if (CheckHasBit(cached_has_bits, 0x00010000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        19, this_._internal_has_non_scheme_www_match(), target);
  }

  // int32 num_input_terms_matched_by_title = 20;
  if (CheckHasBit(cached_has_bits, 0x00100000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        20, this_._internal_num_input_terms_matched_by_title(), target);
  }

  // int32 num_input_terms_matched_by_url = 21;
  if (CheckHasBit(cached_has_bits, 0x00200000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        21, this_._internal_num_input_terms_matched_by_url(), target);
  }

  // int32 length_of_url = 22;
  if (CheckHasBit(cached_has_bits, 0x00400000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        22, this_._internal_length_of_url(), target);
  }

  // float site_engagement = 23;
  if (CheckHasBit(cached_has_bits, 0x00800000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFloatToArray(
        23, this_._internal_site_engagement(), target);
  }

  // bool allowed_to_be_default_match = 24;
  if (CheckHasBit(cached_has_bits, 0x00020000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        24, this_._internal_allowed_to_be_default_match(), target);
  }

  // int32 search_suggest_relevance = 25;
  if (CheckHasBit(cached_has_bits, 0x01000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        25, this_._internal_search_suggest_relevance(), target);
  }

  // bool is_search_suggest_entity = 26 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x02000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        26, this_._internal_is_search_suggest_entity(), target);
  }

  // bool is_verbatim = 27 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x04000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        27, this_._internal_is_verbatim(), target);
  }

  // bool destination_host_match_for_current_page = 35;
  if (CheckHasBit(cached_has_bits, 0x08000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        35, this_._internal_destination_host_match_for_current_page(), 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:metrics.OmniboxEventProto.Suggestion.ScoringSignals)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OmniboxEventProto_Suggestion_ScoringSignals::ByteSizeLong(const MessageLite& base) {
  const OmniboxEventProto_Suggestion_ScoringSignals& this_ = static_cast<const OmniboxEventProto_Suggestion_ScoringSignals&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t OmniboxEventProto_Suggestion_ScoringSignals::ByteSizeLong() const {
  const OmniboxEventProto_Suggestion_ScoringSignals& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.OmniboxEventProto.Suggestion.ScoringSignals)
  ::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>(0x00800000U & cached_has_bits) * 6;
  total_size += ::absl::popcount(0x0e030000U & cached_has_bits) * 3;
  total_size += ::absl::popcount(0x0000c000U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // int32 typed_count = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_typed_count());
    }
    // int32 visit_count = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_visit_count());
    }
    // int64 elapsed_time_last_visit_secs = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_elapsed_time_last_visit_secs());
    }
    // int32 shortcut_visit_count = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_shortcut_visit_count());
    }
    // int32 shortest_shortcut_len = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_shortest_shortcut_len());
    }
    // int64 elapsed_time_last_shortcut_visit_sec = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_elapsed_time_last_shortcut_visit_sec());
    }
    // int32 num_bookmarks_of_url = 8;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_num_bookmarks_of_url());
    }
    // int32 first_bookmark_title_match_position = 9;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_first_bookmark_title_match_position());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00003f00U)) {
    // int32 total_bookmark_title_match_length = 10;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_total_bookmark_title_match_length());
    }
    // int32 num_input_terms_matched_by_bookmark_title = 11;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_num_input_terms_matched_by_bookmark_title());
    }
    // int32 first_url_match_position = 12;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_first_url_match_position());
    }
    // int32 total_url_match_length = 13;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_total_url_match_length());
    }
    // int32 total_host_match_length = 15;
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_total_host_match_length());
    }
    // int32 total_path_match_length = 16;
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_total_path_match_length());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x007c0000U)) {
    // int32 total_query_or_ref_match_length = 17;
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_total_query_or_ref_match_length());
    }
    // int32 total_title_match_length = 18;
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_total_title_match_length());
    }
    // int32 num_input_terms_matched_by_title = 20;
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_num_input_terms_matched_by_title());
    }
    // int32 num_input_terms_matched_by_url = 21;
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_num_input_terms_matched_by_url());
    }
    // int32 length_of_url = 22;
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_length_of_url());
    }
  }
   {
    // int32 search_suggest_relevance = 25;
    if (CheckHasBit(cached_has_bits, 0x01000000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_search_suggest_relevance());
    }
  }
  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 OmniboxEventProto_Suggestion_ScoringSignals::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<OmniboxEventProto_Suggestion_ScoringSignals*>(&to_msg);
  auto& from = static_cast<const OmniboxEventProto_Suggestion_ScoringSignals&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.OmniboxEventProto.Suggestion.ScoringSignals)
  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->_impl_.typed_count_ = from._impl_.typed_count_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.visit_count_ = from._impl_.visit_count_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.elapsed_time_last_visit_secs_ = from._impl_.elapsed_time_last_visit_secs_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.shortcut_visit_count_ = from._impl_.shortcut_visit_count_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.shortest_shortcut_len_ = from._impl_.shortest_shortcut_len_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.elapsed_time_last_shortcut_visit_sec_ = from._impl_.elapsed_time_last_shortcut_visit_sec_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.num_bookmarks_of_url_ = from._impl_.num_bookmarks_of_url_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.first_bookmark_title_match_position_ = from._impl_.first_bookmark_title_match_position_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.total_bookmark_title_match_length_ = from._impl_.total_bookmark_title_match_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.num_input_terms_matched_by_bookmark_title_ = from._impl_.num_input_terms_matched_by_bookmark_title_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.first_url_match_position_ = from._impl_.first_url_match_position_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.total_url_match_length_ = from._impl_.total_url_match_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _this->_impl_.total_host_match_length_ = from._impl_.total_host_match_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      _this->_impl_.total_path_match_length_ = from._impl_.total_path_match_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      _this->_impl_.is_host_only_ = from._impl_.is_host_only_;
    }
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      _this->_impl_.host_match_at_word_boundary_ = from._impl_.host_match_at_word_boundary_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      _this->_impl_.has_non_scheme_www_match_ = from._impl_.has_non_scheme_www_match_;
    }
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      _this->_impl_.allowed_to_be_default_match_ = from._impl_.allowed_to_be_default_match_;
    }
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      _this->_impl_.total_query_or_ref_match_length_ = from._impl_.total_query_or_ref_match_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      _this->_impl_.total_title_match_length_ = from._impl_.total_title_match_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      _this->_impl_.num_input_terms_matched_by_title_ = from._impl_.num_input_terms_matched_by_title_;
    }
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      _this->_impl_.num_input_terms_matched_by_url_ = from._impl_.num_input_terms_matched_by_url_;
    }
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      _this->_impl_.length_of_url_ = from._impl_.length_of_url_;
    }
    if (CheckHasBit(cached_has_bits, 0x00800000U)) {
      _this->_impl_.site_engagement_ = from._impl_.site_engagement_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0f000000U)) {
    if (CheckHasBit(cached_has_bits, 0x01000000U)) {
      _this->_impl_.search_suggest_relevance_ = from._impl_.search_suggest_relevance_;
    }
    if (CheckHasBit(cached_has_bits, 0x02000000U)) {
      _this->_impl_.is_search_suggest_entity_ = from._impl_.is_search_suggest_entity_;
    }
    if (CheckHasBit(cached_has_bits, 0x04000000U)) {
      _this->_impl_.is_verbatim_ = from._impl_.is_verbatim_;
    }
    if (CheckHasBit(cached_has_bits, 0x08000000U)) {
      _this->_impl_.destination_host_match_for_current_page_ = from._impl_.destination_host_match_for_current_page_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void OmniboxEventProto_Suggestion_ScoringSignals::CopyFrom(const OmniboxEventProto_Suggestion_ScoringSignals& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.OmniboxEventProto.Suggestion.ScoringSignals)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:metrics.OmniboxEventProto.Suggestion)
}
PROTOBUF_NDEBUG_INLINE OmniboxEventProto_Suggestion::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite OmniboxEventProto_Suggestion_class_data_ =
    OmniboxEventProto_Suggestion::InternalGenerateClassData_(OmniboxEventProto_Suggestion_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    ABSL_DCHECK(_impl_.scoring_signals_ != nullptr);
    _impl_.scoring_signals_->Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000feU)) {
    ::memset(&_impl_.provider_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.has_tab_match_) -
        reinterpret_cast<char*>(&_impl_.provider_)) + sizeof(_impl_.has_tab_match_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    ::memset(&_impl_.is_keyword_suggestion_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.result_subtype_identifier_) -
        reinterpret_cast<char*>(&_impl_.is_keyword_suggestion_)) + sizeof(_impl_.result_subtype_identifier_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .metrics.OmniboxEventProto.ProviderType provider = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_provider(), target);
  }

  // .metrics.OmniboxEventProto.Suggestion.ResultType result_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_result_type(), target);
  }

  // int32 relevance = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
            stream, this_._internal_relevance(), target);
  }

  // bool is_starred = 4 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        4, this_._internal_is_starred(), target);
  }

  // int32 typed_count = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
            stream, this_._internal_typed_count(), target);
  }

  // bool is_disabled = 6;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        6, this_._internal_is_disabled(), target);
  }

  // int32 result_subtype_identifier = 7;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
            stream, this_._internal_result_subtype_identifier(), target);
  }

  // bool has_tab_match = 8;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        8, this_._internal_has_tab_match(), target);
  }

  // bool is_keyword_suggestion = 9;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        9, this_._internal_is_keyword_suggestion(), target);
  }

  // .metrics.OmniboxEventProto.Suggestion.ScoringSignals scoring_signals = 10;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        10, *this_._impl_.scoring_signals_, this_._impl_.scoring_signals_->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:metrics.OmniboxEventProto.Suggestion)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OmniboxEventProto_Suggestion::ByteSizeLong(const MessageLite& base) {
  const OmniboxEventProto_Suggestion& this_ = static_cast<const OmniboxEventProto_Suggestion&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t OmniboxEventProto_Suggestion::ByteSizeLong() const {
  const OmniboxEventProto_Suggestion& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.OmniboxEventProto.Suggestion)
  ::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 += ::absl::popcount(0x000001e0U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    // .metrics.OmniboxEventProto.Suggestion.ScoringSignals scoring_signals = 10;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.scoring_signals_);
    }
    // .metrics.OmniboxEventProto.ProviderType provider = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_provider());
    }
    // .metrics.OmniboxEventProto.Suggestion.ResultType result_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_result_type());
    }
    // int32 relevance = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_relevance());
    }
    // int32 typed_count = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_typed_count());
    }
  }
   {
    // int32 result_subtype_identifier = 7;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_result_subtype_identifier());
    }
  }
  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 OmniboxEventProto_Suggestion::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<OmniboxEventProto_Suggestion*>(&to_msg);
  auto& from = static_cast<const OmniboxEventProto_Suggestion&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.OmniboxEventProto.Suggestion)
  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)) {
      ABSL_DCHECK(from._impl_.scoring_signals_ != nullptr);
      if (_this->_impl_.scoring_signals_ == nullptr) {
        _this->_impl_.scoring_signals_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.scoring_signals_);
      } else {
        _this->_impl_.scoring_signals_->MergeFrom(*from._impl_.scoring_signals_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.provider_ = from._impl_.provider_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.result_type_ = from._impl_.result_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.relevance_ = from._impl_.relevance_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.typed_count_ = from._impl_.typed_count_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.is_starred_ = from._impl_.is_starred_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.is_disabled_ = from._impl_.is_disabled_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.has_tab_match_ = from._impl_.has_tab_match_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.is_keyword_suggestion_ = from._impl_.is_keyword_suggestion_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.result_subtype_identifier_ = from._impl_.result_subtype_identifier_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:metrics.OmniboxEventProto.ProviderInfo)
}
PROTOBUF_NDEBUG_INLINE OmniboxEventProto_ProviderInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        field_trial_triggered_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto_ProviderInfo,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_)>()
         }
        ,
        field_trial_triggered_in_session_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto_ProviderInfo,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto_ProviderInfo, _impl_.field_trial_triggered_in_session_)>()
         }
     {}

inline void OmniboxEventProto_ProviderInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, provider_),
           0,
           offsetof(Impl_, times_returned_results_in_session_) -
               offsetof(Impl_, provider_) +
               sizeof(Impl_::times_returned_results_in_session_));
}
OmniboxEventProto_ProviderInfo::~OmniboxEventProto_ProviderInfo() {
  // @@protoc_insertion_point(destructor:metrics.OmniboxEventProto.ProviderInfo)
  SharedDtor(*this);
}
inline void OmniboxEventProto_ProviderInfo::SharedDtor(MessageLite& self) {
  OmniboxEventProto_ProviderInfo& this_ = static_cast<OmniboxEventProto_ProviderInfo&>(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 OmniboxEventProto_ProviderInfo_class_data_ =
    OmniboxEventProto_ProviderInfo::InternalGenerateClassData_(OmniboxEventProto_ProviderInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OmniboxEventProto_ProviderInfo::GetClassData() const {
  return OmniboxEventProto_ProviderInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OmniboxEventProto_ProviderInfo::GetClassData() const {
  return OmniboxEventProto_ProviderInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const OmniboxEventProto_ProviderInfo::ParseTableT_
    OmniboxEventProto_ProviderInfo::_table_ =
        OmniboxEventProto_ProviderInfo::InternalGenerateParseTable_(OmniboxEventProto_ProviderInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void OmniboxEventProto_ProviderInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:metrics.OmniboxEventProto.ProviderInfo)
  ::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_.field_trial_triggered_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.field_trial_triggered_in_session_.Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) {
    ::memset(&_impl_.provider_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.times_returned_results_in_session_) -
        reinterpret_cast<char*>(&_impl_.provider_)) + sizeof(_impl_.times_returned_results_in_session_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .metrics.OmniboxEventProto.ProviderType provider = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_provider(), target);
  }

  // bool provider_done = 2;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        2, this_._internal_provider_done(), target);
  }

  // repeated fixed32 field_trial_triggered = 3 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_field_trial_triggered_size() > 0) {
      target = stream->WriteFixedPacked(3, this_._internal_field_trial_triggered(), target);
    }
  }

  // repeated fixed32 field_trial_triggered_in_session = 4 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (this_._internal_field_trial_triggered_in_session_size() > 0) {
      target = stream->WriteFixedPacked(4, this_._internal_field_trial_triggered_in_session(), target);
    }
  }

  // int32 times_returned_results_in_session = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
            stream, this_._internal_times_returned_results_in_session(), 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:metrics.OmniboxEventProto.ProviderInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OmniboxEventProto_ProviderInfo::ByteSizeLong(const MessageLite& base) {
  const OmniboxEventProto_ProviderInfo& this_ = static_cast<const OmniboxEventProto_ProviderInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t OmniboxEventProto_ProviderInfo::ByteSizeLong() const {
  const OmniboxEventProto_ProviderInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.OmniboxEventProto.ProviderInfo)
  ::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>(0x00000008U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x00000017U)) {
    // repeated fixed32 field_trial_triggered = 3 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::size_t{4} *
          ::_pbi::FromIntSize(this_._internal_field_trial_triggered_size());
      ::size_t tag_size = data_size == 0
          ? 0
          : 1 + ::_pbi::WireFormatLite::Int32Size(
                              static_cast<::int32_t>(data_size));
      total_size += tag_size + data_size;
    }
    // repeated fixed32 field_trial_triggered_in_session = 4 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ::size_t data_size = ::size_t{4} *
          ::_pbi::FromIntSize(this_._internal_field_trial_triggered_in_session_size());
      ::size_t tag_size = data_size == 0
          ? 0
          : 1 + ::_pbi::WireFormatLite::Int32Size(
                              static_cast<::int32_t>(data_size));
      total_size += tag_size + data_size;
    }
    // .metrics.OmniboxEventProto.ProviderType provider = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_provider());
    }
    // int32 times_returned_results_in_session = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_times_returned_results_in_session());
    }
  }
  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 OmniboxEventProto_ProviderInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<OmniboxEventProto_ProviderInfo*>(&to_msg);
  auto& from = static_cast<const OmniboxEventProto_ProviderInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.OmniboxEventProto.ProviderInfo)
  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_field_trial_triggered()->MergeFrom(from._internal_field_trial_triggered());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_field_trial_triggered_in_session()->MergeFrom(from._internal_field_trial_triggered_in_session());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.provider_ = from._impl_.provider_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.provider_done_ = from._impl_.provider_done_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.times_returned_results_in_session_ = from._impl_.times_returned_results_in_session_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void OmniboxEventProto_ProviderInfo::InternalSwap(OmniboxEventProto_ProviderInfo* 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_.field_trial_triggered_.InternalSwap(&other->_impl_.field_trial_triggered_);
  _impl_.field_trial_triggered_in_session_.InternalSwap(&other->_impl_.field_trial_triggered_in_session_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.times_returned_results_in_session_)
      + sizeof(OmniboxEventProto_ProviderInfo::_impl_.times_returned_results_in_session_)
      - PROTOBUF_FIELD_OFFSET(OmniboxEventProto_ProviderInfo, _impl_.provider_)>(
          reinterpret_cast<char*>(&_impl_.provider_),
          reinterpret_cast<char*>(&other->_impl_.provider_));
}

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

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

inline void OmniboxEventProto_ProfileData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, total_num_bookmarks_),
           0,
           offsetof(Impl_, is_sync_enabled_) -
               offsetof(Impl_, total_num_bookmarks_) +
               sizeof(Impl_::is_sync_enabled_));
}
OmniboxEventProto_ProfileData::~OmniboxEventProto_ProfileData() {
  // @@protoc_insertion_point(destructor:metrics.OmniboxEventProto.ProfileData)
  SharedDtor(*this);
}
inline void OmniboxEventProto_ProfileData::SharedDtor(MessageLite& self) {
  OmniboxEventProto_ProfileData& this_ = static_cast<OmniboxEventProto_ProfileData&>(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 OmniboxEventProto_ProfileData_class_data_ =
    OmniboxEventProto_ProfileData::InternalGenerateClassData_(OmniboxEventProto_ProfileData_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    ::memset(&_impl_.total_num_bookmarks_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.is_sync_enabled_) -
        reinterpret_cast<char*>(&_impl_.total_num_bookmarks_)) + sizeof(_impl_.is_sync_enabled_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // int32 total_num_bookmarks = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
            stream, this_._internal_total_num_bookmarks(), target);
  }

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

  // bool is_signed_into_browser = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        3, this_._internal_is_signed_into_browser(), target);
  }

  // bool is_sync_enabled = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        4, this_._internal_is_sync_enabled(), 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:metrics.OmniboxEventProto.ProfileData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OmniboxEventProto_ProfileData::ByteSizeLong(const MessageLite& base) {
  const OmniboxEventProto_ProfileData& this_ = static_cast<const OmniboxEventProto_ProfileData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t OmniboxEventProto_ProfileData::ByteSizeLong() const {
  const OmniboxEventProto_ProfileData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.OmniboxEventProto.ProfileData)
  ::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 += ::absl::popcount(0x0000000cU & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // int32 total_num_bookmarks = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_total_num_bookmarks());
    }
    // int32 total_num_history_urls = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_total_num_history_urls());
    }
  }
  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 OmniboxEventProto_ProfileData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<OmniboxEventProto_ProfileData*>(&to_msg);
  auto& from = static_cast<const OmniboxEventProto_ProfileData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.OmniboxEventProto.ProfileData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_impl_.total_num_bookmarks_ = from._impl_.total_num_bookmarks_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.total_num_history_urls_ = from._impl_.total_num_history_urls_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.is_signed_into_browser_ = from._impl_.is_signed_into_browser_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.is_sync_enabled_ = from._impl_.is_sync_enabled_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

OmniboxEventProto::OmniboxEventProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, OmniboxEventProto_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.OmniboxEventProto)
}
PROTOBUF_NDEBUG_INLINE OmniboxEventProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::OmniboxEventProto& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        suggestion_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::OmniboxEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.suggestion_)>()
          , from.suggestion_
        }
        ,
        provider_info_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::OmniboxEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.provider_info_)>()
          , from.provider_info_
        }
        ,
        legacy_feature_triggered_in_session_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::OmniboxEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.legacy_feature_triggered_in_session_)>()
          , from.legacy_feature_triggered_in_session_
        }
        ,
        _legacy_feature_triggered_in_session_cached_byte_size_{0},
        legacy_feature_triggered_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::OmniboxEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.legacy_feature_triggered_)>()
          , from.legacy_feature_triggered_
        }
        ,
        _legacy_feature_triggered_cached_byte_size_{0},
        feature_triggered_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::OmniboxEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.feature_triggered_)>()
          , from.feature_triggered_
        }
        ,
        _feature_triggered_cached_byte_size_{0},
        feature_triggered_in_session_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::OmniboxEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.feature_triggered_in_session_)>()
          , from.feature_triggered_in_session_
        }
        ,
        _feature_triggered_in_session_cached_byte_size_{0} {}

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

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

  // @@protoc_insertion_point(copy_constructor:metrics.OmniboxEventProto)
}
PROTOBUF_NDEBUG_INLINE OmniboxEventProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        suggestion_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.suggestion_)>()
         }
        ,
        provider_info_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.provider_info_)>()
         }
        ,
        legacy_feature_triggered_in_session_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.legacy_feature_triggered_in_session_)>()
         }
        ,
        _legacy_feature_triggered_in_session_cached_byte_size_{0},
        legacy_feature_triggered_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.legacy_feature_triggered_)>()
         }
        ,
        _legacy_feature_triggered_cached_byte_size_{0},
        feature_triggered_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.feature_triggered_)>()
         }
        ,
        _feature_triggered_cached_byte_size_{0},
        feature_triggered_in_session_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::OmniboxEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::OmniboxEventProto, _impl_.feature_triggered_in_session_)>()
         }
        ,
        _feature_triggered_in_session_cached_byte_size_{0} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite OmniboxEventProto_class_data_ =
    OmniboxEventProto::InternalGenerateClassData_(OmniboxEventProto_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OmniboxEventProto::GetClassData() const {
  return OmniboxEventProto_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
OmniboxEventProto::GetClassData() const {
  return OmniboxEventProto_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const OmniboxEventProto::ParseTableT_
    OmniboxEventProto::_table_ =
        OmniboxEventProto::InternalGenerateParseTable_(OmniboxEventProto_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void OmniboxEventProto::Clear() {
// @@protoc_insertion_point(message_clear_start:metrics.OmniboxEventProto)
  ::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, 0x0000007fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.suggestion_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.provider_info_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.legacy_feature_triggered_in_session_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.legacy_feature_triggered_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.feature_triggered_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.feature_triggered_in_session_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(_impl_.profile_data_ != nullptr);
      _impl_.profile_data_->Clear();
    }
  }
  _impl_.time_sec_ = ::int64_t{0};
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    ::memset(&_impl_.tab_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.duration_since_last_default_match_update_ms_) -
        reinterpret_cast<char*>(&_impl_.tab_id_)) + sizeof(_impl_.duration_since_last_default_match_update_ms_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    ::memset(&_impl_.current_page_classification_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.in_keyword_mode_) -
        reinterpret_cast<char*>(&_impl_.current_page_classification_)) + sizeof(_impl_.in_keyword_mode_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0f000000U)) {
    ::memset(&_impl_.is_query_started_from_tile_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.keyword_type_) -
        reinterpret_cast<char*>(&_impl_.is_query_started_from_tile_)) + sizeof(_impl_.keyword_type_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // int64 time_sec = 1;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
            stream, this_._internal_time_sec(), target);
  }

  // int32 tab_id = 2;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_tab_id(), target);
  }

  // int32 typed_length = 3;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
            stream, this_._internal_typed_length(), target);
  }

  // int32 num_typed_terms = 4;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
            stream, this_._internal_num_typed_terms(), target);
  }

  // int32 selected_index = 5;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
            stream, this_._internal_selected_index(), target);
  }

  // int32 completed_length = 6;
  if (CheckHasBit(cached_has_bits, 0x00002000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
            stream, this_._internal_completed_length(), target);
  }

  // int64 typing_duration_ms = 7;
  if (CheckHasBit(cached_has_bits, 0x00001000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
            stream, this_._internal_typing_duration_ms(), target);
  }

  // .metrics.OmniboxInputType input_type = 8;
  if (CheckHasBit(cached_has_bits, 0x00004000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        8, this_._internal_input_type(), target);
  }

  // repeated .metrics.OmniboxEventProto.Suggestion suggestion = 9;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_suggestion_size());
         i < n; i++) {
      const auto& repfield = this_._internal_suggestion().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              9, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // .metrics.OmniboxEventProto.PageClassification current_page_classification = 10;
  if (CheckHasBit(cached_has_bits, 0x00010000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        10, this_._internal_current_page_classification(), target);
  }

  // bool just_deleted_text = 11;
  if (CheckHasBit(cached_has_bits, 0x00020000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        11, this_._internal_just_deleted_text(), target);
  }

  // repeated .metrics.OmniboxEventProto.ProviderInfo provider_info = 12;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_provider_info_size());
         i < n; i++) {
      const auto& repfield = this_._internal_provider_info().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              12, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // int64 duration_since_last_default_match_update_ms = 13;
  if (CheckHasBit(cached_has_bits, 0x00008000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<13>(
            stream, this_._internal_duration_since_last_default_match_update_ms(), target);
  }

  // bool DEPRECATED_is_top_result_hidden_in_dropdown = 14 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00040000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        14, this_._internal_deprecated_is_top_result_hidden_in_dropdown(), target);
  }

  // bool is_popup_open = 15;
  if (CheckHasBit(cached_has_bits, 0x00080000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        15, this_._internal_is_popup_open(), target);
  }

  // bool is_paste_and_go = 16;
  if (CheckHasBit(cached_has_bits, 0x00100000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        16, this_._internal_is_paste_and_go(), target);
  }

  // bool selected_tab_match = 17;
  if (CheckHasBit(cached_has_bits, 0x00400000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        17, this_._internal_selected_tab_match(), target);
  }

  // .metrics.OmniboxEventProto.ModeType mode_type = 18;
  if (CheckHasBit(cached_has_bits, 0x00200000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        18, this_._internal_mode_type(), target);
  }

  // bool in_keyword_mode = 19;
  if (CheckHasBit(cached_has_bits, 0x00800000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        19, this_._internal_in_keyword_mode(), target);
  }

  // .metrics.OmniboxEventProto.KeywordModeEntryMethod keyword_mode_entry_method = 20;
  if (CheckHasBit(cached_has_bits, 0x02000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        20, this_._internal_keyword_mode_entry_method(), target);
  }

  // bool is_query_started_from_tile = 21;
  if (CheckHasBit(cached_has_bits, 0x01000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        21, this_._internal_is_query_started_from_tile(), target);
  }

  // repeated int32 legacy_feature_triggered_in_session = 22 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    {
      int byte_size = this_._impl_._legacy_feature_triggered_in_session_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteInt32Packed(
            22, this_._internal_legacy_feature_triggered_in_session(), byte_size, target);
      }
    }
  }

  // .metrics.OmniboxEventProto.ProfileData profile_data = 23;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        23, *this_._impl_.profile_data_, this_._impl_.profile_data_->GetCachedSize(), target,
        stream);
  }

  // repeated int32 legacy_feature_triggered = 24 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    {
      int byte_size = this_._impl_._legacy_feature_triggered_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteInt32Packed(
            24, this_._internal_legacy_feature_triggered(), byte_size, target);
      }
    }
  }

  // repeated .metrics.OmniboxEventProto.Feature feature_triggered = 25;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    {
      ::size_t byte_size = this_._impl_._feature_triggered_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteEnumPacked(
            25, this_._internal_feature_triggered(), byte_size, target);
      }
    }
  }

  // repeated .metrics.OmniboxEventProto.Feature feature_triggered_in_session = 26;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    {
      ::size_t byte_size = this_._impl_._feature_triggered_in_session_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteEnumPacked(
            26, this_._internal_feature_triggered_in_session(), byte_size, target);
      }
    }
  }

  // .metrics.OmniboxEventProto.OmniboxPosition steady_state_omnibox_position = 27;
  if (CheckHasBit(cached_has_bits, 0x04000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        27, this_._internal_steady_state_omnibox_position(), target);
  }

  // .metrics.OmniboxEventProto.KeywordType keyword_type = 28;
  if (CheckHasBit(cached_has_bits, 0x08000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        28, this_._internal_keyword_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:metrics.OmniboxEventProto)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OmniboxEventProto::ByteSizeLong(const MessageLite& base) {
  const OmniboxEventProto& this_ = static_cast<const OmniboxEventProto&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t OmniboxEventProto::ByteSizeLong() const {
  const OmniboxEventProto& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.OmniboxEventProto)
  ::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 += ::absl::popcount(0x01d00000U & cached_has_bits) * 3;
  total_size += ::absl::popcount(0x000e0000U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated .metrics.OmniboxEventProto.Suggestion suggestion = 9;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_suggestion_size();
      for (const auto& msg : this_._internal_suggestion()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .metrics.OmniboxEventProto.ProviderInfo provider_info = 12;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_provider_info_size();
      for (const auto& msg : this_._internal_provider_info()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated int32 legacy_feature_triggered_in_session = 22 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
              this_._internal_legacy_feature_triggered_in_session(), 2,
              this_._impl_._legacy_feature_triggered_in_session_cached_byte_size_);
    }
    // repeated int32 legacy_feature_triggered = 24 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size +=
          ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
              this_._internal_legacy_feature_triggered(), 2,
              this_._impl_._legacy_feature_triggered_cached_byte_size_);
    }
    // repeated .metrics.OmniboxEventProto.Feature feature_triggered = 25;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize(
          this_._internal_feature_triggered(), 2, this_._impl_._feature_triggered_cached_byte_size_);
    }
    // repeated .metrics.OmniboxEventProto.Feature feature_triggered_in_session = 26;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize(
          this_._internal_feature_triggered_in_session(), 2, this_._impl_._feature_triggered_in_session_cached_byte_size_);
    }
    // .metrics.OmniboxEventProto.ProfileData profile_data = 23;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.profile_data_);
    }
    // int64 time_sec = 1;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_time_sec());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    // int32 tab_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_tab_id());
    }
    // int32 typed_length = 3;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_typed_length());
    }
    // int32 num_typed_terms = 4;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_num_typed_terms());
    }
    // int32 selected_index = 5;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_selected_index());
    }
    // int64 typing_duration_ms = 7;
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_typing_duration_ms());
    }
    // int32 completed_length = 6;
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_completed_length());
    }
    // .metrics.OmniboxInputType input_type = 8;
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_input_type());
    }
    // int64 duration_since_last_default_match_update_ms = 13;
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_duration_since_last_default_match_update_ms());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00210000U)) {
    // .metrics.OmniboxEventProto.PageClassification current_page_classification = 10;
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_current_page_classification());
    }
    // .metrics.OmniboxEventProto.ModeType mode_type = 18;
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_mode_type());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0e000000U)) {
    // .metrics.OmniboxEventProto.KeywordModeEntryMethod keyword_mode_entry_method = 20;
    if (CheckHasBit(cached_has_bits, 0x02000000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_keyword_mode_entry_method());
    }
    // .metrics.OmniboxEventProto.OmniboxPosition steady_state_omnibox_position = 27;
    if (CheckHasBit(cached_has_bits, 0x04000000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_steady_state_omnibox_position());
    }
    // .metrics.OmniboxEventProto.KeywordType keyword_type = 28;
    if (CheckHasBit(cached_has_bits, 0x08000000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_keyword_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 OmniboxEventProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<OmniboxEventProto*>(&to_msg);
  auto& from = static_cast<const OmniboxEventProto&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.OmniboxEventProto)
  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_suggestion()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_suggestion());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_provider_info()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_provider_info());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_legacy_feature_triggered_in_session()->MergeFrom(from._internal_legacy_feature_triggered_in_session());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_mutable_legacy_feature_triggered()->MergeFrom(from._internal_legacy_feature_triggered());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_mutable_feature_triggered()->MergeFrom(from._internal_feature_triggered());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_mutable_feature_triggered_in_session()->MergeFrom(from._internal_feature_triggered_in_session());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(from._impl_.profile_data_ != nullptr);
      if (_this->_impl_.profile_data_ == nullptr) {
        _this->_impl_.profile_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.profile_data_);
      } else {
        _this->_impl_.profile_data_->MergeFrom(*from._impl_.profile_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.time_sec_ = from._impl_.time_sec_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.tab_id_ = from._impl_.tab_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.typed_length_ = from._impl_.typed_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.num_typed_terms_ = from._impl_.num_typed_terms_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.selected_index_ = from._impl_.selected_index_;
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _this->_impl_.typing_duration_ms_ = from._impl_.typing_duration_ms_;
    }
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      _this->_impl_.completed_length_ = from._impl_.completed_length_;
    }
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      _this->_impl_.input_type_ = from._impl_.input_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      _this->_impl_.duration_since_last_default_match_update_ms_ = from._impl_.duration_since_last_default_match_update_ms_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      _this->_impl_.current_page_classification_ = from._impl_.current_page_classification_;
    }
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      _this->_impl_.just_deleted_text_ = from._impl_.just_deleted_text_;
    }
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      _this->_impl_.deprecated_is_top_result_hidden_in_dropdown_ = from._impl_.deprecated_is_top_result_hidden_in_dropdown_;
    }
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      _this->_impl_.is_popup_open_ = from._impl_.is_popup_open_;
    }
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      _this->_impl_.is_paste_and_go_ = from._impl_.is_paste_and_go_;
    }
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      _this->_impl_.mode_type_ = from._impl_.mode_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      _this->_impl_.selected_tab_match_ = from._impl_.selected_tab_match_;
    }
    if (CheckHasBit(cached_has_bits, 0x00800000U)) {
      _this->_impl_.in_keyword_mode_ = from._impl_.in_keyword_mode_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0f000000U)) {
    if (CheckHasBit(cached_has_bits, 0x01000000U)) {
      _this->_impl_.is_query_started_from_tile_ = from._impl_.is_query_started_from_tile_;
    }
    if (CheckHasBit(cached_has_bits, 0x02000000U)) {
      _this->_impl_.keyword_mode_entry_method_ = from._impl_.keyword_mode_entry_method_;
    }
    if (CheckHasBit(cached_has_bits, 0x04000000U)) {
      _this->_impl_.steady_state_omnibox_position_ = from._impl_.steady_state_omnibox_position_;
    }
    if (CheckHasBit(cached_has_bits, 0x08000000U)) {
      _this->_impl_.keyword_type_ = from._impl_.keyword_type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void OmniboxEventProto::InternalSwap(OmniboxEventProto* 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_.suggestion_.InternalSwap(&other->_impl_.suggestion_);
  _impl_.provider_info_.InternalSwap(&other->_impl_.provider_info_);
  _impl_.legacy_feature_triggered_in_session_.InternalSwap(&other->_impl_.legacy_feature_triggered_in_session_);
  _impl_.legacy_feature_triggered_.InternalSwap(&other->_impl_.legacy_feature_triggered_);
  _impl_.feature_triggered_.InternalSwap(&other->_impl_.feature_triggered_);
  _impl_.feature_triggered_in_session_.InternalSwap(&other->_impl_.feature_triggered_in_session_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.keyword_type_)
      + sizeof(OmniboxEventProto::_impl_.keyword_type_)
      - PROTOBUF_FIELD_OFFSET(OmniboxEventProto, _impl_.profile_data_)>(
          reinterpret_cast<char*>(&_impl_.profile_data_),
          reinterpret_cast<char*>(&other->_impl_.profile_data_));
}

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