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

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

constexpr AimEligibilityResponse_QueryParam::ParseTableT_ AimEligibilityResponse_QueryParam::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_QueryParam, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::AimEligibilityResponse_QueryParam>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string value = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_QueryParam, _impl_.value_)}},
      // optional string key = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_QueryParam, _impl_.key_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string key = 1;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_QueryParam, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // optional string value = 2;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_QueryParam, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
      "\51\3\5\0\0\0\0\0"
      "omnibox.AimEligibilityResponse.QueryParam"
      "key"
      "value"
    }},
  };
}


inline constexpr AimEligibilityResponse_QueryParam::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        key_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        value_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

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

constexpr AimEligibilityResponse_AimDetectionUrlRule::ParseTableT_ AimEligibilityResponse_AimDetectionUrlRule::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_AimDetectionUrlRule, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::AimEligibilityResponse_AimDetectionUrlRule>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .omnibox.ModelMode type = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_AimDetectionUrlRule, _impl_.type_)}},
      // repeated .omnibox.AimEligibilityResponse.QueryParam required_params = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_AimDetectionUrlRule, _impl_.required_params_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .omnibox.AimEligibilityResponse.QueryParam required_params = 1;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_AimDetectionUrlRule, _impl_.required_params_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .omnibox.ModelMode type = 2;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse_AimDetectionUrlRule, _impl_.type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::AimEligibilityResponse_QueryParam>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::AimEligibilityResponse_QueryParam_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

constexpr AimEligibilityResponse::ParseTableT_ AimEligibilityResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_._has_bits_),
      0, // no _extensions_
      13, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294959104,  // skipmap
      offsetof(ParseTableT_, field_entries),
      13,  // num_field_entries
      3,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::AimEligibilityResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional bool is_eligible = 1;
      {::_pbi::TcParser::FastV8S1,
       {8, 5, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_eligible_)}},
      // optional bool is_pdf_upload_eligible = 2;
      {::_pbi::TcParser::FastV8S1,
       {16, 6, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_pdf_upload_eligible_)}},
      // optional bool is_deep_search_eligible = 3;
      {::_pbi::TcParser::FastV8S1,
       {24, 7, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_deep_search_eligible_)}},
      // optional bool is_canvas_eligible = 4;
      {::_pbi::TcParser::FastV8S1,
       {32, 8, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_canvas_eligible_)}},
      // optional int32 session_index = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 9, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.session_index_)}},
      // optional bool is_image_generation_eligible = 6;
      {::_pbi::TcParser::FastV8S1,
       {48, 10, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_image_generation_eligible_)}},
      // optional .omnibox.SearchboxConfig searchbox_config = 7;
      {::_pbi::TcParser::FastMtS1,
       {58, 4, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.searchbox_config_)}},
      // repeated .omnibox.AimEligibilityResponse.AimDetectionUrlRule aim_detection_url_rule = 8;
      {::_pbi::TcParser::FastMtR1,
       {66, 0, 1,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.aim_detection_url_rule_)}},
      // optional bool is_cobrowse_eligible = 9;
      {::_pbi::TcParser::FastV8S1,
       {72, 11, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_cobrowse_eligible_)}},
      // optional bool is_fusebox_eligible = 10;
      {::_pbi::TcParser::FastV8S1,
       {80, 12, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_fusebox_eligible_)}},
      // repeated string interception_allowed_hosts = 11;
      {::_pbi::TcParser::FastUR1,
       {90, 1, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.interception_allowed_hosts_)}},
      // repeated string interception_allowed_paths = 12;
      {::_pbi::TcParser::FastUR1,
       {98, 2, 0,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.interception_allowed_paths_)}},
      // repeated .omnibox.AimEligibilityResponse.QueryParam no_cobrowse_params = 13;
      {::_pbi::TcParser::FastMtR1,
       {106, 3, 2,
        PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.no_cobrowse_params_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional bool is_eligible = 1;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_eligible_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool is_pdf_upload_eligible = 2;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_pdf_upload_eligible_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool is_deep_search_eligible = 3;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_deep_search_eligible_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool is_canvas_eligible = 4;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_canvas_eligible_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional int32 session_index = 5;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.session_index_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional bool is_image_generation_eligible = 6;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_image_generation_eligible_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional .omnibox.SearchboxConfig searchbox_config = 7;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.searchbox_config_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .omnibox.AimEligibilityResponse.AimDetectionUrlRule aim_detection_url_rule = 8;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.aim_detection_url_rule_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional bool is_cobrowse_eligible = 9;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_cobrowse_eligible_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool is_fusebox_eligible = 10;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_fusebox_eligible_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated string interception_allowed_hosts = 11;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.interception_allowed_hosts_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
      // repeated string interception_allowed_paths = 12;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.interception_allowed_paths_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
      // repeated .omnibox.AimEligibilityResponse.QueryParam no_cobrowse_params = 13;
      {PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.no_cobrowse_params_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::SearchboxConfig>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::SearchboxConfig_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::AimEligibilityResponse_AimDetectionUrlRule>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::AimEligibilityResponse_AimDetectionUrlRule_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::AimEligibilityResponse_QueryParam>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::AimEligibilityResponse_QueryParam_globals_},
        #endif
    }},
    {{
      "\36\0\0\0\0\0\0\0\0\0\0\32\32\0\0\0"
      "omnibox.AimEligibilityResponse"
      "interception_allowed_hosts"
      "interception_allowed_paths"
    }},
  };
}


inline constexpr AimEligibilityResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        aim_detection_url_rule_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::AimEligibilityResponse,
            PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.aim_detection_url_rule_)>()
         }
        ,
        interception_allowed_hosts_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::AimEligibilityResponse,
            PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.interception_allowed_hosts_)>()
         }
        ,
        interception_allowed_paths_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::AimEligibilityResponse,
            PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.interception_allowed_paths_)>()
         }
        ,
        no_cobrowse_params_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::omnibox::AimEligibilityResponse,
            PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.no_cobrowse_params_)>()
         }
        ,
        searchbox_config_{nullptr},
        is_eligible_{false},
        is_pdf_upload_eligible_{false},
        is_deep_search_eligible_{false},
        is_canvas_eligible_{false},
        session_index_{0},
        is_image_generation_eligible_{false},
        is_cobrowse_eligible_{false},
        is_fusebox_eligible_{false} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST AimEligibilityResponseGlobalsTypeInternal AimEligibilityResponse_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* AimEligibilityResponse_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return AimEligibilityResponse_globals_.GetClassData();
#else
  return AimEligibilityResponse_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace omnibox
namespace omnibox {
// ===================================================================

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  AimEligibilityResponse_QueryParam* 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.AimEligibilityResponse.QueryParam)
}
PROTOBUF_NDEBUG_INLINE AimEligibilityResponse_QueryParam::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        key_(arena),
        value_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AimEligibilityResponse_QueryParam_class_data_ =
    AimEligibilityResponse_QueryParam::InternalGenerateClassData_(AimEligibilityResponse_QueryParam_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AimEligibilityResponse_QueryParam::GetClassData() const {
  return AimEligibilityResponse_QueryParam_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AimEligibilityResponse_QueryParam::GetClassData() const {
  return AimEligibilityResponse_QueryParam_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AimEligibilityResponse_QueryParam::ParseTableT_
    AimEligibilityResponse_QueryParam::_table_ =
        AimEligibilityResponse_QueryParam::InternalGenerateParseTable_(AimEligibilityResponse_QueryParam_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AimEligibilityResponse_QueryParam::Clear() {
// @@protoc_insertion_point(message_clear_start:omnibox.AimEligibilityResponse.QueryParam)
  ::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_.key_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.value_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string key = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_key();
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "omnibox.AimEligibilityResponse.QueryParam.key");
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional string value = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_value();
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "omnibox.AimEligibilityResponse.QueryParam.value");
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AimEligibilityResponse_QueryParam::ByteSizeLong(const MessageLite& base) {
  const AimEligibilityResponse_QueryParam& this_ = static_cast<const AimEligibilityResponse_QueryParam&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AimEligibilityResponse_QueryParam::ByteSizeLong() const {
  const AimEligibilityResponse_QueryParam& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.AimEligibilityResponse.QueryParam)
  ::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, 0x00000003U)) {
    // optional string key = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_key());
    }
    // optional string value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_value());
    }
  }
  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 AimEligibilityResponse_QueryParam::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AimEligibilityResponse_QueryParam*>(&to_msg);
  auto& from = static_cast<const AimEligibilityResponse_QueryParam&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.AimEligibilityResponse.QueryParam)
  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, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_key(from._internal_key());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_value(from._internal_value());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AimEligibilityResponse_QueryParam::InternalSwap(AimEligibilityResponse_QueryParam* 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_.key_, &other->_impl_.key_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
}

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

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

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

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

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

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

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AimEligibilityResponse_AimDetectionUrlRule::GetClassData() const {
  return AimEligibilityResponse_AimDetectionUrlRule_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AimEligibilityResponse_AimDetectionUrlRule::GetClassData() const {
  return AimEligibilityResponse_AimDetectionUrlRule_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AimEligibilityResponse_AimDetectionUrlRule::ParseTableT_
    AimEligibilityResponse_AimDetectionUrlRule::_table_ =
        AimEligibilityResponse_AimDetectionUrlRule::InternalGenerateParseTable_(AimEligibilityResponse_AimDetectionUrlRule_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AimEligibilityResponse_AimDetectionUrlRule::Clear() {
// @@protoc_insertion_point(message_clear_start:omnibox.AimEligibilityResponse.AimDetectionUrlRule)
  ::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_.required_params_.Clear();
  }
  _impl_.type_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .omnibox.AimEligibilityResponse.QueryParam required_params = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_required_params_size());
         i < n; i++) {
      const auto& repfield = this_._internal_required_params().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional .omnibox.ModelMode type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_type(), target);
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AimEligibilityResponse_AimDetectionUrlRule::ByteSizeLong(const MessageLite& base) {
  const AimEligibilityResponse_AimDetectionUrlRule& this_ = static_cast<const AimEligibilityResponse_AimDetectionUrlRule&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AimEligibilityResponse_AimDetectionUrlRule::ByteSizeLong() const {
  const AimEligibilityResponse_AimDetectionUrlRule& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.AimEligibilityResponse.AimDetectionUrlRule)
  ::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, 0x00000003U)) {
    // repeated .omnibox.AimEligibilityResponse.QueryParam required_params = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_required_params_size();
      for (const auto& msg : this_._internal_required_params()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional .omnibox.ModelMode type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_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 AimEligibilityResponse_AimDetectionUrlRule::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AimEligibilityResponse_AimDetectionUrlRule*>(&to_msg);
  auto& from = static_cast<const AimEligibilityResponse_AimDetectionUrlRule&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.AimEligibilityResponse.AimDetectionUrlRule)
  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, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_required_params()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_required_params());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.type_ = from._impl_.type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AimEligibilityResponse_AimDetectionUrlRule::InternalSwap(AimEligibilityResponse_AimDetectionUrlRule* 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_.required_params_.InternalSwap(&other->_impl_.required_params_);
  swap(_impl_.type_, other->_impl_.type_);
}

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

void AimEligibilityResponse::clear_searchbox_config() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.searchbox_config_ != nullptr) _impl_.searchbox_config_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
AimEligibilityResponse::AimEligibilityResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AimEligibilityResponse_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:omnibox.AimEligibilityResponse)
}
PROTOBUF_NDEBUG_INLINE AimEligibilityResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::omnibox::AimEligibilityResponse& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        aim_detection_url_rule_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::AimEligibilityResponse,
              PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.aim_detection_url_rule_)>()
          , from.aim_detection_url_rule_
        }
        ,
        interception_allowed_hosts_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::AimEligibilityResponse,
              PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.interception_allowed_hosts_)>()
          , from.interception_allowed_hosts_
        }
        ,
        interception_allowed_paths_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::AimEligibilityResponse,
              PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.interception_allowed_paths_)>()
          , from.interception_allowed_paths_
        }
        ,
        no_cobrowse_params_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::omnibox::AimEligibilityResponse,
              PROTOBUF_FIELD_OFFSET(::omnibox::AimEligibilityResponse, _impl_.no_cobrowse_params_)>()
          , from.no_cobrowse_params_
        }
     {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AimEligibilityResponse_class_data_ =
    AimEligibilityResponse::InternalGenerateClassData_(AimEligibilityResponse_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.aim_detection_url_rule_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.interception_allowed_hosts_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.interception_allowed_paths_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.no_cobrowse_params_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.searchbox_config_ != nullptr);
      _impl_.searchbox_config_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
    ::memset(&_impl_.is_eligible_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.is_deep_search_eligible_) -
        reinterpret_cast<char*>(&_impl_.is_eligible_)) + sizeof(_impl_.is_deep_search_eligible_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00001f00U)) {
    ::memset(&_impl_.is_canvas_eligible_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.is_fusebox_eligible_) -
        reinterpret_cast<char*>(&_impl_.is_canvas_eligible_)) + sizeof(_impl_.is_fusebox_eligible_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional bool is_eligible = 1;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        1, this_._internal_is_eligible(), target);
  }

  // optional bool is_pdf_upload_eligible = 2;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        2, this_._internal_is_pdf_upload_eligible(), target);
  }

  // optional bool is_deep_search_eligible = 3;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        3, this_._internal_is_deep_search_eligible(), target);
  }

  // optional bool is_canvas_eligible = 4;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        4, this_._internal_is_canvas_eligible(), target);
  }

  // optional int32 session_index = 5;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
            stream, this_._internal_session_index(), target);
  }

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

  // optional .omnibox.SearchboxConfig searchbox_config = 7;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        7, *this_._impl_.searchbox_config_, this_._impl_.searchbox_config_->GetCachedSize(), target,
        stream);
  }

  // repeated .omnibox.AimEligibilityResponse.AimDetectionUrlRule aim_detection_url_rule = 8;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_aim_detection_url_rule_size());
         i < n; i++) {
      const auto& repfield = this_._internal_aim_detection_url_rule().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              8, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional bool is_cobrowse_eligible = 9;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        9, this_._internal_is_cobrowse_eligible(), target);
  }

  // optional bool is_fusebox_eligible = 10;
  if (CheckHasBit(cached_has_bits, 0x00001000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        10, this_._internal_is_fusebox_eligible(), target);
  }

  // repeated string interception_allowed_hosts = 11;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_interception_allowed_hosts_size(); i < n; ++i) {
      const auto& s = this_._internal_interception_allowed_hosts().Get(i);
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "omnibox.AimEligibilityResponse.interception_allowed_hosts");
      target = stream->WriteString(11, s, target);
    }
  }

  // repeated string interception_allowed_paths = 12;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (int i = 0, n = this_._internal_interception_allowed_paths_size(); i < n; ++i) {
      const auto& s = this_._internal_interception_allowed_paths().Get(i);
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "omnibox.AimEligibilityResponse.interception_allowed_paths");
      target = stream->WriteString(12, s, target);
    }
  }

  // repeated .omnibox.AimEligibilityResponse.QueryParam no_cobrowse_params = 13;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_no_cobrowse_params_size());
         i < n; i++) {
      const auto& repfield = this_._internal_no_cobrowse_params().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              13, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AimEligibilityResponse::ByteSizeLong(const MessageLite& base) {
  const AimEligibilityResponse& this_ = static_cast<const AimEligibilityResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AimEligibilityResponse::ByteSizeLong() const {
  const AimEligibilityResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.AimEligibilityResponse)
  ::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(0x00001de0U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    // repeated .omnibox.AimEligibilityResponse.AimDetectionUrlRule aim_detection_url_rule = 8;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_aim_detection_url_rule_size();
      for (const auto& msg : this_._internal_aim_detection_url_rule()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated string interception_allowed_hosts = 11;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_interception_allowed_hosts().size());
      for (int i = 0, n = this_._internal_interception_allowed_hosts().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_interception_allowed_hosts().Get(i));
      }
    }
    // repeated string interception_allowed_paths = 12;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_interception_allowed_paths().size());
      for (int i = 0, n = this_._internal_interception_allowed_paths().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_interception_allowed_paths().Get(i));
      }
    }
    // repeated .omnibox.AimEligibilityResponse.QueryParam no_cobrowse_params = 13;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1UL * this_._internal_no_cobrowse_params_size();
      for (const auto& msg : this_._internal_no_cobrowse_params()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional .omnibox.SearchboxConfig searchbox_config = 7;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.searchbox_config_);
    }
  }
   {
    // optional int32 session_index = 5;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_session_index());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void AimEligibilityResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AimEligibilityResponse*>(&to_msg);
  auto& from = static_cast<const AimEligibilityResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.AimEligibilityResponse)
  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_aim_detection_url_rule()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_aim_detection_url_rule());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_interception_allowed_hosts()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_interception_allowed_hosts());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_interception_allowed_paths()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_interception_allowed_paths());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_mutable_no_cobrowse_params()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_no_cobrowse_params());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.searchbox_config_ != nullptr);
      if (_this->_impl_.searchbox_config_ == nullptr) {
        _this->_impl_.searchbox_config_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchbox_config_);
      } else {
        _this->_impl_.searchbox_config_->MergeFrom(*from._impl_.searchbox_config_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.is_eligible_ = from._impl_.is_eligible_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.is_pdf_upload_eligible_ = from._impl_.is_pdf_upload_eligible_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.is_deep_search_eligible_ = from._impl_.is_deep_search_eligible_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00001f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.is_canvas_eligible_ = from._impl_.is_canvas_eligible_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.session_index_ = from._impl_.session_index_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.is_image_generation_eligible_ = from._impl_.is_image_generation_eligible_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.is_cobrowse_eligible_ = from._impl_.is_cobrowse_eligible_;
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _this->_impl_.is_fusebox_eligible_ = from._impl_.is_fusebox_eligible_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AimEligibilityResponse::InternalSwap(AimEligibilityResponse* 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_.aim_detection_url_rule_.InternalSwap(&other->_impl_.aim_detection_url_rule_);
  _impl_.interception_allowed_hosts_.InternalSwap(&other->_impl_.interception_allowed_hosts_);
  _impl_.interception_allowed_paths_.InternalSwap(&other->_impl_.interception_allowed_paths_);
  _impl_.no_cobrowse_params_.InternalSwap(&other->_impl_.no_cobrowse_params_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.is_fusebox_eligible_)
      + sizeof(AimEligibilityResponse::_impl_.is_fusebox_eligible_)
      - PROTOBUF_FIELD_OFFSET(AimEligibilityResponse, _impl_.searchbox_config_)>(
          reinterpret_cast<char*>(&_impl_.searchbox_config_),
          reinterpret_cast<char*>(&other->_impl_.searchbox_config_));
}

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