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

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

constexpr SiteReputation::ParseTableT_ SiteReputation::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      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<::chrome_browser_crowd_deny::SiteReputation>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional bool warning_only = 4;
      {::_pbi::TcParser::FastV8S1,
       {32, 3, 0,
        PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.warning_only_)}},
      // optional string domain = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.domain_)}},
      // optional .chrome_browser_crowd_deny.SiteReputation.NotificationUserExperienceQuality notification_ux_quality = 2;
      {::_pbi::TcParser::FastEr0S1,
       {16, 1, 5,
        PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.notification_ux_quality_)}},
      // optional bool include_subdomains = 3;
      {::_pbi::TcParser::FastV8S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.include_subdomains_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string domain = 1;
      {PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.domain_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .chrome_browser_crowd_deny.SiteReputation.NotificationUserExperienceQuality notification_ux_quality = 2;
      {PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.notification_ux_quality_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional bool include_subdomains = 3;
      {PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.include_subdomains_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool warning_only = 4;
      {PROTOBUF_FIELD_OFFSET(SiteReputation, _impl_.warning_only_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    {{
        {0, 5},
    }},
    {{
    }},
  };
}


inline constexpr SiteReputation::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        domain_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        notification_ux_quality_{static_cast< ::chrome_browser_crowd_deny::SiteReputation_NotificationUserExperienceQuality >(0)},
        include_subdomains_{false},
        warning_only_{false} {}

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

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

constexpr PreloadData::ParseTableT_ PreloadData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(PreloadData, _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
      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<::chrome_browser_crowd_deny::PreloadData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .chrome_browser_crowd_deny.SiteReputation site_reputations = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(PreloadData, _impl_.site_reputations_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .chrome_browser_crowd_deny.SiteReputation site_reputations = 1;
      {PROTOBUF_FIELD_OFFSET(PreloadData, _impl_.site_reputations_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::chrome_browser_crowd_deny::SiteReputation>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::chrome_browser_crowd_deny::SiteReputation_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST PreloadDataGlobalsTypeInternal PreloadData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* PreloadData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return PreloadData_globals_.GetClassData();
#else
  return PreloadData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace chrome_browser_crowd_deny
namespace chrome_browser_crowd_deny {
PROTOBUF_CONSTINIT const uint32_t SiteReputation_NotificationUserExperienceQuality_internal_data_[] = {
    393216u, 0u, };
static const char SiteReputation_NotificationUserExperienceQuality_names[] = {
    "ABUSIVE_CONTENT"
    "ABUSIVE_PROMPTS"
    "ACCEPTABLE"
    "DISRUPTIVE_BEHAVIOR"
    "UNKNOWN"
    "UNSOLICITED_PROMPTS"
};

static const ::google::protobuf::internal::EnumEntry SiteReputation_NotificationUserExperienceQuality_entries[] = {
    {{&SiteReputation_NotificationUserExperienceQuality_names[0], 15}, 4},
    {{&SiteReputation_NotificationUserExperienceQuality_names[15], 15}, 3},
    {{&SiteReputation_NotificationUserExperienceQuality_names[30], 10}, 1},
    {{&SiteReputation_NotificationUserExperienceQuality_names[40], 19}, 5},
    {{&SiteReputation_NotificationUserExperienceQuality_names[59], 7}, 0},
    {{&SiteReputation_NotificationUserExperienceQuality_names[66], 19}, 2},
};

static const int SiteReputation_NotificationUserExperienceQuality_entries_by_number[] = {
    4,  // 0 -> UNKNOWN
    2,  // 1 -> ACCEPTABLE
    5,  // 2 -> UNSOLICITED_PROMPTS
    1,  // 3 -> ABUSIVE_PROMPTS
    0,  // 4 -> ABUSIVE_CONTENT
    3,  // 5 -> DISRUPTIVE_BEHAVIOR
};

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

const ::std::string& SiteReputation_NotificationUserExperienceQuality_Name(SiteReputation_NotificationUserExperienceQuality value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      SiteReputation_NotificationUserExperienceQuality_entries, SiteReputation_NotificationUserExperienceQuality_entries_by_number, 6,
      SiteReputation_NotificationUserExperienceQuality_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(SiteReputation_NotificationUserExperienceQuality_entries,
                                  SiteReputation_NotificationUserExperienceQuality_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : SiteReputation_NotificationUserExperienceQuality_strings[idx].get();
}
// ===================================================================

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SiteReputation_class_data_ =
    SiteReputation::InternalGenerateClassData_(SiteReputation_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SiteReputation::GetClassData() const {
  return SiteReputation_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SiteReputation::GetClassData() const {
  return SiteReputation_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SiteReputation::ParseTableT_
    SiteReputation::_table_ =
        SiteReputation::InternalGenerateParseTable_(SiteReputation_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SiteReputation::Clear() {
// @@protoc_insertion_point(message_clear_start:chrome_browser_crowd_deny.SiteReputation)
  ::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_.domain_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
    ::memset(&_impl_.notification_ux_quality_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.warning_only_) -
        reinterpret_cast<char*>(&_impl_.notification_ux_quality_)) + sizeof(_impl_.warning_only_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .chrome_browser_crowd_deny.SiteReputation.NotificationUserExperienceQuality notification_ux_quality = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_notification_ux_quality(), target);
  }

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

  // optional bool warning_only = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        4, this_._internal_warning_only(), 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:chrome_browser_crowd_deny.SiteReputation)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += ::absl::popcount(0x0000000cU & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string domain = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_domain());
    }
    // optional .chrome_browser_crowd_deny.SiteReputation.NotificationUserExperienceQuality notification_ux_quality = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_notification_ux_quality());
    }
  }
  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 SiteReputation::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SiteReputation*>(&to_msg);
  auto& from = static_cast<const SiteReputation&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_crowd_deny.SiteReputation)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_domain(from._internal_domain());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.notification_ux_quality_ = from._impl_.notification_ux_quality_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.include_subdomains_ = from._impl_.include_subdomains_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.warning_only_ = from._impl_.warning_only_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  PreloadData* 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:chrome_browser_crowd_deny.PreloadData)
}
PROTOBUF_NDEBUG_INLINE PreloadData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        site_reputations_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::chrome_browser_crowd_deny::PreloadData,
            PROTOBUF_FIELD_OFFSET(::chrome_browser_crowd_deny::PreloadData, _impl_.site_reputations_)>()
         }
     {}

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

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PreloadData::GetClassData() const {
  return PreloadData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PreloadData::GetClassData() const {
  return PreloadData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const PreloadData::ParseTableT_
    PreloadData::_table_ =
        PreloadData::InternalGenerateParseTable_(PreloadData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void PreloadData::Clear() {
// @@protoc_insertion_point(message_clear_start:chrome_browser_crowd_deny.PreloadData)
  ::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_.site_reputations_.Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .chrome_browser_crowd_deny.SiteReputation site_reputations = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_site_reputations_size());
         i < n; i++) {
      const auto& repfield = this_._internal_site_reputations().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, 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:chrome_browser_crowd_deny.PreloadData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PreloadData::ByteSizeLong(const MessageLite& base) {
  const PreloadData& this_ = static_cast<const PreloadData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t PreloadData::ByteSizeLong() const {
  const PreloadData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:chrome_browser_crowd_deny.PreloadData)
  ::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_);
   {
    // repeated .chrome_browser_crowd_deny.SiteReputation site_reputations = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_site_reputations_size();
      for (const auto& msg : this_._internal_site_reputations()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
  }
  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 PreloadData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<PreloadData*>(&to_msg);
  auto& from = static_cast<const PreloadData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_crowd_deny.PreloadData)
  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->_internal_mutable_site_reputations()->InternalMergeFromWithArena(
        ::google::protobuf::MessageLite::internal_visibility(), arena,
        from._internal_site_reputations());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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