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

#include "groups.pb.h"

#include <algorithm>
#include <type_traits>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/generated_message_tctable_impl.h"
#include "google/protobuf/internal_visibility.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace omnibox {
class GroupConfig::_Internal {
 public:
  using HasBits = decltype(::std::declval<GroupConfig>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._has_bits_);
};

constexpr GroupConfig::ParseTableT_ GroupConfig::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // num_field_entries
      4,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::GroupConfig>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string header_text = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.header_text_)}},
      // optional .omnibox.GroupConfig.SideType side_type = 2;
      {::_pbi::TcParser::FastEr0S1,
       {16, 1, 1,
        PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.side_type_)}},
      // optional .omnibox.GroupConfig.RenderType render_type = 3;
      {::_pbi::TcParser::FastEr0S1,
       {24, 2, 2,
        PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.render_type_)}},
      // optional .omnibox.GroupConfig.Visibility visibility = 4;
      {::_pbi::TcParser::FastEr0S1,
       {32, 3, 1,
        PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.visibility_)}},
      // optional uint32 why_this_result_reason = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.why_this_result_reason_)}},
      // optional .omnibox.GroupSection section = 6;
      {::_pbi::TcParser::FastEvS1,
       {48, 5, 3,
        PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.section_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string header_text = 1;
      {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.header_text_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .omnibox.GroupConfig.SideType side_type = 2;
      {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.side_type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .omnibox.GroupConfig.RenderType render_type = 3;
      {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.render_type_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .omnibox.GroupConfig.Visibility visibility = 4;
      {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.visibility_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional uint32 why_this_result_reason = 5;
      {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.why_this_result_reason_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // optional .omnibox.GroupSection section = 6;
      {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.section_), _Internal::kHasBitsOffset + 5, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
    }},
    {{
        {0, 1},
        {0, 2},
        {0, 1},
        {::_pbi::FieldAuxEnumData{}, ::omnibox::GroupSection_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr GroupConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        header_text_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        side_type_{static_cast< ::omnibox::GroupConfig_SideType >(0)},
        render_type_{static_cast< ::omnibox::GroupConfig_RenderType >(0)},
        visibility_{static_cast< ::omnibox::GroupConfig_Visibility >(0)},
        why_this_result_reason_{0u},
        section_{static_cast< ::omnibox::GroupSection >(0)} {}

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

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

constexpr GroupsInfo::ParseTableT_ GroupsInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(GroupsInfo, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::GroupsInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // map<uint32, .omnibox.GroupConfig> group_configs = 1;
      {PROTOBUF_FIELD_OFFSET(GroupsInfo, _impl_.group_configs_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
    }},
    {{
        {::_pbi::TcParser::GetMapAuxInfo(
            0, 0, 13, 11, 1)},
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::GroupConfig>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::GroupConfig_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST GroupsInfoGlobalsTypeInternal GroupsInfo_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* GroupsInfo_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return GroupsInfo_globals_.GetClassData();
#else
  return GroupsInfo_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace omnibox
namespace omnibox {
PROTOBUF_CONSTINIT const uint32_t GroupConfig_SideType_internal_data_[] = {
    131072u, 0u, };
static const char GroupConfig_SideType_names[] = {
    "DEFAULT_PRIMARY"
    "SECONDARY"
};

static const ::google::protobuf::internal::EnumEntry GroupConfig_SideType_entries[] = {
    {{&GroupConfig_SideType_names[0], 15}, 0},
    {{&GroupConfig_SideType_names[15], 9}, 1},
};

static const int GroupConfig_SideType_entries_by_number[] = {
    0,  // 0 -> DEFAULT_PRIMARY
    1,  // 1 -> SECONDARY
};

bool GroupConfig_SideType_Parse(::absl::string_view name,
                                  GroupConfig_SideType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      GroupConfig_SideType_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<GroupConfig_SideType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    GroupConfig_SideType_strings[2] = {};

const ::std::string& GroupConfig_SideType_Name(GroupConfig_SideType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      GroupConfig_SideType_entries, GroupConfig_SideType_entries_by_number, 2,
      GroupConfig_SideType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(GroupConfig_SideType_entries,
                                  GroupConfig_SideType_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : GroupConfig_SideType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t GroupConfig_RenderType_internal_data_[] = {
    196608u, 0u, };
static const char GroupConfig_RenderType_names[] = {
    "DEFAULT_VERTICAL"
    "GRID"
    "HORIZONTAL"
};

static const ::google::protobuf::internal::EnumEntry GroupConfig_RenderType_entries[] = {
    {{&GroupConfig_RenderType_names[0], 16}, 0},
    {{&GroupConfig_RenderType_names[16], 4}, 2},
    {{&GroupConfig_RenderType_names[20], 10}, 1},
};

static const int GroupConfig_RenderType_entries_by_number[] = {
    0,  // 0 -> DEFAULT_VERTICAL
    2,  // 1 -> HORIZONTAL
    1,  // 2 -> GRID
};

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

const ::std::string& GroupConfig_RenderType_Name(GroupConfig_RenderType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      GroupConfig_RenderType_entries, GroupConfig_RenderType_entries_by_number, 3,
      GroupConfig_RenderType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(GroupConfig_RenderType_entries,
                                  GroupConfig_RenderType_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : GroupConfig_RenderType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t GroupConfig_Visibility_internal_data_[] = {
    131072u, 0u, };
static const char GroupConfig_Visibility_names[] = {
    "DEFAULT_VISIBLE"
    "HIDDEN"
};

static const ::google::protobuf::internal::EnumEntry GroupConfig_Visibility_entries[] = {
    {{&GroupConfig_Visibility_names[0], 15}, 0},
    {{&GroupConfig_Visibility_names[15], 6}, 1},
};

static const int GroupConfig_Visibility_entries_by_number[] = {
    0,  // 0 -> DEFAULT_VISIBLE
    1,  // 1 -> HIDDEN
};

bool GroupConfig_Visibility_Parse(::absl::string_view name,
                                  GroupConfig_Visibility* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      GroupConfig_Visibility_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<GroupConfig_Visibility>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    GroupConfig_Visibility_strings[2] = {};

const ::std::string& GroupConfig_Visibility_Name(GroupConfig_Visibility value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      GroupConfig_Visibility_entries, GroupConfig_Visibility_entries_by_number, 2,
      GroupConfig_Visibility_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(GroupConfig_Visibility_entries,
                                  GroupConfig_Visibility_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : GroupConfig_Visibility_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t GroupId_internal_data_[] = {
    131071u, 2555904u, 30008u, 19999u, 50003u, 10007u, 30003u, 45002u, 50007u, 10003u, 10011u, 30001u, 30005u, 45000u, 50001u, 50005u, 70000u, 10001u, 10005u, 10009u, 10013u, 30000u, 30002u, 30004u, 30007u, 40000u, 45001u, 50000u, 50002u, 50004u, 50006u, 60000u, 70001u, 10000u, 10002u, 10004u, 10006u, 10008u, 10010u, 10012u, 10014u, };
static const char GroupId_names[] = {
    "GROUP_AI_MODE_CANVAS_ACTION"
    "GROUP_AI_MODE_CONTEXTUAL_SEARCH_ACTION"
    "GROUP_AI_MODE_CREATE_IMAGE_ACTION"
    "GROUP_AI_MODE_DEEP_SEARCH_ACTION"
    "GROUP_AI_MODE_ZERO_SUGGEST_CANNED"
    "GROUP_CONTEXTUAL_SEARCH"
    "GROUP_CONTEXTUAL_SEARCH_ACTION"
    "GROUP_CROSS_DEVICE_TABS"
    "GROUP_DOCUMENT"
    "GROUP_HISTORY_CLUSTER"
    "GROUP_INVALID"
    "GROUP_MIA_RECOMMENDATIONS"
    "GROUP_MOBILE_BOOKMARKS"
    "GROUP_MOBILE_CLIPBOARD"
    "GROUP_MOBILE_HISTORY"
    "GROUP_MOBILE_MOST_VISITED"
    "GROUP_MOBILE_OPEN_TABS"
    "GROUP_MOBILE_QUERY_TILES"
    "GROUP_MOBILE_RICH_ANSWER"
    "GROUP_MOBILE_SEARCH_READY_OMNIBOX"
    "GROUP_MOST_VISITED"
    "GROUP_MULTIMODAL"
    "GROUP_OTHER_NAVS"
    "GROUP_PERSONALIZED_ZERO_SUGGEST"
    "GROUP_PERSONALIZED_ZERO_SUGGEST_WITH_MIA"
    "GROUP_POLARIS_RESERVED_MAX"
    "GROUP_PREVIOUS_SEARCH_RELATED"
    "GROUP_PREVIOUS_SEARCH_RELATED_ENTITY_CHIPS"
    "GROUP_RECENTLY_CLOSED_TABS"
    "GROUP_RELATED_QUERIES"
    "GROUP_SEARCH"
    "GROUP_SEARCH_TOOLBELT"
    "GROUP_STARTER_PACK"
    "GROUP_STEADY_STATE_ACTION"
    "GROUP_TRENDS"
    "GROUP_TRENDS_ENTITY_CHIPS"
    "GROUP_UNSCOPED_EXTENSION_1"
    "GROUP_UNSCOPED_EXTENSION_2"
    "GROUP_VISITED_DOC_RELATED"
    "GROUP_ZERO_SUGGEST_IN_PRODUCT_HELP"
};

static const ::google::protobuf::internal::EnumEntry GroupId_entries[] = {
    {{&GroupId_names[0], 27}, 10013},
    {{&GroupId_names[27], 38}, 10010},
    {{&GroupId_names[65], 33}, 10012},
    {{&GroupId_names[98], 32}, 10011},
    {{&GroupId_names[130], 33}, 45002},
    {{&GroupId_names[163], 23}, 10007},
    {{&GroupId_names[186], 30}, 10008},
    {{&GroupId_names[216], 23}, 50007},
    {{&GroupId_names[239], 14}, 50003},
    {{&GroupId_names[253], 21}, 50004},
    {{&GroupId_names[274], 13}, -1},
    {{&GroupId_names[287], 25}, 45000},
    {{&GroupId_names[312], 22}, 30007},
    {{&GroupId_names[334], 22}, 30002},
    {{&GroupId_names[356], 20}, 30008},
    {{&GroupId_names[376], 25}, 30001},
    {{&GroupId_names[401], 22}, 30005},
    {{&GroupId_names[423], 24}, 30003},
    {{&GroupId_names[447], 24}, 30004},
    {{&GroupId_names[471], 33}, 30000},
    {{&GroupId_names[504], 18}, 50005},
    {{&GroupId_names[522], 16}, 10006},
    {{&GroupId_names[538], 16}, 50002},
    {{&GroupId_names[554], 31}, 40000},
    {{&GroupId_names[585], 40}, 45001},
    {{&GroupId_names[625], 26}, 19999},
    {{&GroupId_names[651], 29}, 10000},
    {{&GroupId_names[680], 42}, 10001},
    {{&GroupId_names[722], 26}, 50006},
    {{&GroupId_names[748], 21}, 10004},
    {{&GroupId_names[769], 12}, 50001},
    {{&GroupId_names[781], 21}, 10009},
    {{&GroupId_names[802], 18}, 50000},
    {{&GroupId_names[820], 25}, 10014},
    {{&GroupId_names[845], 12}, 10002},
    {{&GroupId_names[857], 25}, 10003},
    {{&GroupId_names[882], 26}, 70000},
    {{&GroupId_names[908], 26}, 70001},
    {{&GroupId_names[934], 25}, 10005},
    {{&GroupId_names[959], 34}, 60000},
};

static const int GroupId_entries_by_number[] = {
    10,  // -1 -> GROUP_INVALID
    26,  // 10000 -> GROUP_PREVIOUS_SEARCH_RELATED
    27,  // 10001 -> GROUP_PREVIOUS_SEARCH_RELATED_ENTITY_CHIPS
    34,  // 10002 -> GROUP_TRENDS
    35,  // 10003 -> GROUP_TRENDS_ENTITY_CHIPS
    29,  // 10004 -> GROUP_RELATED_QUERIES
    38,  // 10005 -> GROUP_VISITED_DOC_RELATED
    21,  // 10006 -> GROUP_MULTIMODAL
    5,  // 10007 -> GROUP_CONTEXTUAL_SEARCH
    6,  // 10008 -> GROUP_CONTEXTUAL_SEARCH_ACTION
    31,  // 10009 -> GROUP_SEARCH_TOOLBELT
    1,  // 10010 -> GROUP_AI_MODE_CONTEXTUAL_SEARCH_ACTION
    3,  // 10011 -> GROUP_AI_MODE_DEEP_SEARCH_ACTION
    2,  // 10012 -> GROUP_AI_MODE_CREATE_IMAGE_ACTION
    0,  // 10013 -> GROUP_AI_MODE_CANVAS_ACTION
    33,  // 10014 -> GROUP_STEADY_STATE_ACTION
    25,  // 19999 -> GROUP_POLARIS_RESERVED_MAX
    19,  // 30000 -> GROUP_MOBILE_SEARCH_READY_OMNIBOX
    15,  // 30001 -> GROUP_MOBILE_MOST_VISITED
    13,  // 30002 -> GROUP_MOBILE_CLIPBOARD
    17,  // 30003 -> GROUP_MOBILE_QUERY_TILES
    18,  // 30004 -> GROUP_MOBILE_RICH_ANSWER
    16,  // 30005 -> GROUP_MOBILE_OPEN_TABS
    12,  // 30007 -> GROUP_MOBILE_BOOKMARKS
    14,  // 30008 -> GROUP_MOBILE_HISTORY
    23,  // 40000 -> GROUP_PERSONALIZED_ZERO_SUGGEST
    11,  // 45000 -> GROUP_MIA_RECOMMENDATIONS
    24,  // 45001 -> GROUP_PERSONALIZED_ZERO_SUGGEST_WITH_MIA
    4,  // 45002 -> GROUP_AI_MODE_ZERO_SUGGEST_CANNED
    32,  // 50000 -> GROUP_STARTER_PACK
    30,  // 50001 -> GROUP_SEARCH
    22,  // 50002 -> GROUP_OTHER_NAVS
    8,  // 50003 -> GROUP_DOCUMENT
    9,  // 50004 -> GROUP_HISTORY_CLUSTER
    20,  // 50005 -> GROUP_MOST_VISITED
    28,  // 50006 -> GROUP_RECENTLY_CLOSED_TABS
    7,  // 50007 -> GROUP_CROSS_DEVICE_TABS
    39,  // 60000 -> GROUP_ZERO_SUGGEST_IN_PRODUCT_HELP
    36,  // 70000 -> GROUP_UNSCOPED_EXTENSION_1
    37,  // 70001 -> GROUP_UNSCOPED_EXTENSION_2
};

bool GroupId_Parse(::absl::string_view name,
                                  GroupId* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      GroupId_entries, 40, name, &int_value);
  if (success) {
    *value = static_cast<GroupId>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    GroupId_strings[40] = {};

const ::std::string& GroupId_Name(GroupId value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      GroupId_entries, GroupId_entries_by_number, 40,
      GroupId_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(GroupId_entries,
                                  GroupId_entries_by_number,
                                  40, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : GroupId_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t GroupSection_internal_data_[] = {
    1179648u, 131264u, 0u, 0u, 33292288u, 0u, 0u, 29360128u, 301u, 300u, };
static const char GroupSection_names[] = {
    "SECTION_DEFAULT"
    "SECTION_DOCUMENT"
    "SECTION_HISTORY_CLUSTER"
    "SECTION_MOBILE_BOOKMARKS"
    "SECTION_MOBILE_CLIPBOARD"
    "SECTION_MOBILE_HISTORY"
    "SECTION_MOBILE_MOST_VISITED"
    "SECTION_MOBILE_OPEN_TABS"
    "SECTION_MOBILE_QUERY_TILES"
    "SECTION_MOBILE_RICH_ANSWER"
    "SECTION_MOBILE_VERBATIM"
    "SECTION_MOST_VISITED"
    "SECTION_OTHER_NAVS"
    "SECTION_PERSONALIZED_ZERO_SUGGEST"
    "SECTION_RECENTLY_CLOSED_TABS"
    "SECTION_REMOTE_ZPS_1"
    "SECTION_REMOTE_ZPS_10"
    "SECTION_REMOTE_ZPS_2"
    "SECTION_REMOTE_ZPS_3"
    "SECTION_REMOTE_ZPS_4"
    "SECTION_REMOTE_ZPS_5"
    "SECTION_REMOTE_ZPS_6"
    "SECTION_REMOTE_ZPS_7"
    "SECTION_REMOTE_ZPS_8"
    "SECTION_REMOTE_ZPS_9"
    "SECTION_SEARCH"
    "SECTION_STARTER_PACK"
    "SECTION_UNSCOPED_EXTENSION_1"
    "SECTION_UNSCOPED_EXTENSION_2"
    "SECTION_ZERO_SUGGEST_IN_PRODUCT_HELP"
};

static const ::google::protobuf::internal::EnumEntry GroupSection_entries[] = {
    {{&GroupSection_names[0], 15}, 0},
    {{&GroupSection_names[15], 16}, 103},
    {{&GroupSection_names[31], 23}, 104},
    {{&GroupSection_names[54], 24}, 201},
    {{&GroupSection_names[78], 24}, 2},
    {{&GroupSection_names[102], 22}, 202},
    {{&GroupSection_names[124], 27}, 3},
    {{&GroupSection_names[151], 24}, 200},
    {{&GroupSection_names[175], 26}, 15},
    {{&GroupSection_names[201], 26}, 16},
    {{&GroupSection_names[227], 23}, 1},
    {{&GroupSection_names[250], 20}, 105},
    {{&GroupSection_names[270], 18}, 102},
    {{&GroupSection_names[288], 33}, 4},
    {{&GroupSection_names[321], 28}, 106},
    {{&GroupSection_names[349], 20}, 5},
    {{&GroupSection_names[369], 21}, 14},
    {{&GroupSection_names[390], 20}, 6},
    {{&GroupSection_names[410], 20}, 7},
    {{&GroupSection_names[430], 20}, 8},
    {{&GroupSection_names[450], 20}, 9},
    {{&GroupSection_names[470], 20}, 10},
    {{&GroupSection_names[490], 20}, 11},
    {{&GroupSection_names[510], 20}, 12},
    {{&GroupSection_names[530], 20}, 13},
    {{&GroupSection_names[550], 14}, 101},
    {{&GroupSection_names[564], 20}, 100},
    {{&GroupSection_names[584], 28}, 300},
    {{&GroupSection_names[612], 28}, 301},
    {{&GroupSection_names[640], 36}, 17},
};

static const int GroupSection_entries_by_number[] = {
    0,  // 0 -> SECTION_DEFAULT
    10,  // 1 -> SECTION_MOBILE_VERBATIM
    4,  // 2 -> SECTION_MOBILE_CLIPBOARD
    6,  // 3 -> SECTION_MOBILE_MOST_VISITED
    13,  // 4 -> SECTION_PERSONALIZED_ZERO_SUGGEST
    15,  // 5 -> SECTION_REMOTE_ZPS_1
    17,  // 6 -> SECTION_REMOTE_ZPS_2
    18,  // 7 -> SECTION_REMOTE_ZPS_3
    19,  // 8 -> SECTION_REMOTE_ZPS_4
    20,  // 9 -> SECTION_REMOTE_ZPS_5
    21,  // 10 -> SECTION_REMOTE_ZPS_6
    22,  // 11 -> SECTION_REMOTE_ZPS_7
    23,  // 12 -> SECTION_REMOTE_ZPS_8
    24,  // 13 -> SECTION_REMOTE_ZPS_9
    16,  // 14 -> SECTION_REMOTE_ZPS_10
    8,  // 15 -> SECTION_MOBILE_QUERY_TILES
    9,  // 16 -> SECTION_MOBILE_RICH_ANSWER
    29,  // 17 -> SECTION_ZERO_SUGGEST_IN_PRODUCT_HELP
    26,  // 100 -> SECTION_STARTER_PACK
    25,  // 101 -> SECTION_SEARCH
    12,  // 102 -> SECTION_OTHER_NAVS
    1,  // 103 -> SECTION_DOCUMENT
    2,  // 104 -> SECTION_HISTORY_CLUSTER
    11,  // 105 -> SECTION_MOST_VISITED
    14,  // 106 -> SECTION_RECENTLY_CLOSED_TABS
    7,  // 200 -> SECTION_MOBILE_OPEN_TABS
    3,  // 201 -> SECTION_MOBILE_BOOKMARKS
    5,  // 202 -> SECTION_MOBILE_HISTORY
    27,  // 300 -> SECTION_UNSCOPED_EXTENSION_1
    28,  // 301 -> SECTION_UNSCOPED_EXTENSION_2
};

bool GroupSection_Parse(::absl::string_view name,
                                  GroupSection* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      GroupSection_entries, 30, name, &int_value);
  if (success) {
    *value = static_cast<GroupSection>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    GroupSection_strings[30] = {};

const ::std::string& GroupSection_Name(GroupSection value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      GroupSection_entries, GroupSection_entries_by_number, 30,
      GroupSection_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(GroupSection_entries,
                                  GroupSection_entries_by_number,
                                  30, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : GroupSection_strings[idx].get();
}
// ===================================================================

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite GroupConfig_class_data_ =
    GroupConfig::InternalGenerateClassData_(GroupConfig_globals_._default);

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

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

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

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

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

  // optional .omnibox.GroupConfig.RenderType render_type = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        3, this_._internal_render_type(), target);
  }

  // optional .omnibox.GroupConfig.Visibility visibility = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        4, this_._internal_visibility(), target);
  }

  // optional uint32 why_this_result_reason = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        5, this_._internal_why_this_result_reason(), target);
  }

  // optional .omnibox.GroupSection section = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        6, this_._internal_section(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:omnibox.GroupConfig)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    // optional string header_text = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_header_text());
    }
    // optional .omnibox.GroupConfig.SideType side_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_side_type());
    }
    // optional .omnibox.GroupConfig.RenderType render_type = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_render_type());
    }
    // optional .omnibox.GroupConfig.Visibility visibility = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_visibility());
    }
    // optional uint32 why_this_result_reason = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_why_this_result_reason());
    }
    // optional .omnibox.GroupSection section = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_section());
    }
  }
  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 GroupConfig::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<GroupConfig*>(&to_msg);
  auto& from = static_cast<const GroupConfig&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.GroupConfig)
  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, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_header_text(from._internal_header_text());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.side_type_ = from._impl_.side_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.render_type_ = from._impl_.render_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.visibility_ = from._impl_.visibility_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.why_this_result_reason_ = from._impl_.why_this_result_reason_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.section_ = from._impl_.section_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void GroupConfig::InternalSwap(GroupConfig* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.header_text_, &other->_impl_.header_text_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.section_)
      + sizeof(GroupConfig::_impl_.section_)
      - PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.side_type_)>(
          reinterpret_cast<char*>(&_impl_.side_type_),
          reinterpret_cast<char*>(&other->_impl_.side_type_));
}

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

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

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

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

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

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

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

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

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.group_configs_.Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // map<uint32, .omnibox.GroupConfig> group_configs = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_group_configs().empty()) {
      using MapType = ::google::protobuf::Map<::uint32_t, ::omnibox::GroupConfig>;
      using WireHelper = _pbi::MapEntryFuncs<::uint32_t, ::omnibox::GroupConfig,
                                     _pbi::WireFormatLite::TYPE_UINT32,
                                     _pbi::WireFormatLite::TYPE_MESSAGE>;
      const auto& field = this_._internal_group_configs();

      if (stream->IsSerializationDeterministic() && field.size() > 1) {
        for (const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
          target = WireHelper::InternalSerialize(
              1, entry.first, entry.second, target, stream);
        }
      } else {
        for (const auto& entry : field) {
          target = WireHelper::InternalSerialize(
              1, entry.first, entry.second, target, stream);
        }
      }
    }
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:omnibox.GroupsInfo)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
   {
    // map<uint32, .omnibox.GroupConfig> group_configs = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_group_configs_size());
      for (const auto& entry : this_._internal_group_configs()) {
        total_size += _pbi::MapEntryFuncs<::uint32_t, ::omnibox::GroupConfig,
                                       _pbi::WireFormatLite::TYPE_UINT32,
                                       _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_impl_.group_configs_.MergeFrom(from._impl_.group_configs_);
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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