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

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

constexpr MITMSoftware::ParseTableT_ MITMSoftware::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(MITMSoftware, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::chrome_browser_ssl::MITMSoftware>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string name = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(MITMSoftware, _impl_.name_)}},
      // optional string issuer_common_name_regex = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(MITMSoftware, _impl_.issuer_common_name_regex_)}},
      // optional string issuer_organization_regex = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(MITMSoftware, _impl_.issuer_organization_regex_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string name = 1;
      {PROTOBUF_FIELD_OFFSET(MITMSoftware, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string issuer_common_name_regex = 2;
      {PROTOBUF_FIELD_OFFSET(MITMSoftware, _impl_.issuer_common_name_regex_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string issuer_organization_regex = 3;
      {PROTOBUF_FIELD_OFFSET(MITMSoftware, _impl_.issuer_organization_regex_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr MITMSoftware::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        issuer_common_name_regex_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        issuer_organization_regex_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

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

constexpr DynamicInterstitial::ParseTableT_ DynamicInterstitial::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_._has_bits_),
      0, // no _extensions_
      8, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967040,  // skipmap
      offsetof(ParseTableT_, field_entries),
      8,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::chrome_browser_ssl::DynamicInterstitial>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional bool show_only_for_nonoverridable_errors = 8;
      {::_pbi::TcParser::FastV8S1,
       {64, 7, 0,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.show_only_for_nonoverridable_errors_)}},
      // repeated string sha256_hash = 1;
      {::_pbi::TcParser::FastBR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.sha256_hash_)}},
      // optional string issuer_common_name_regex = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.issuer_common_name_regex_)}},
      // optional string issuer_organization_regex = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.issuer_organization_regex_)}},
      // optional string mitm_software_name = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.mitm_software_name_)}},
      // optional .chrome_browser_ssl.DynamicInterstitial.CertError cert_error = 5;
      {::_pbi::TcParser::FastEvS1,
       {40, 5, 0,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.cert_error_)}},
      // optional .chrome_browser_ssl.DynamicInterstitial.InterstitialPageType interstitial_type = 6;
      {::_pbi::TcParser::FastEr0S1,
       {48, 6, 3,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.interstitial_type_)}},
      // optional string support_url = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 4, 0,
        PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.support_url_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated string sha256_hash = 1;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.sha256_hash_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // optional string issuer_common_name_regex = 2;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.issuer_common_name_regex_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string issuer_organization_regex = 3;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.issuer_organization_regex_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string mitm_software_name = 4;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.mitm_software_name_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .chrome_browser_ssl.DynamicInterstitial.CertError cert_error = 5;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.cert_error_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional .chrome_browser_ssl.DynamicInterstitial.InterstitialPageType interstitial_type = 6;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.interstitial_type_), _Internal::kHasBitsOffset + 6, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string support_url = 7;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.support_url_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bool show_only_for_nonoverridable_errors = 8;
      {PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.show_only_for_nonoverridable_errors_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    {{
        {::_pbi::FieldAuxEnumData{}, ::chrome_browser_ssl::DynamicInterstitial_CertError_internal_data_},
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr DynamicInterstitial::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        sha256_hash_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::chrome_browser_ssl::DynamicInterstitial,
            PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::DynamicInterstitial, _impl_.sha256_hash_)>()
         }
        ,
        issuer_common_name_regex_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        issuer_organization_regex_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        mitm_software_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        support_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        cert_error_{static_cast< ::chrome_browser_ssl::DynamicInterstitial_CertError >(0)},
        interstitial_type_{static_cast< ::chrome_browser_ssl::DynamicInterstitial_InterstitialPageType >(0)},
        show_only_for_nonoverridable_errors_{false} {}

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

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

constexpr CaptivePortalCert::ParseTableT_ CaptivePortalCert::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CaptivePortalCert, _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
      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<::chrome_browser_ssl::CaptivePortalCert>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string sha256_hash = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CaptivePortalCert, _impl_.sha256_hash_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string sha256_hash = 1;
      {PROTOBUF_FIELD_OFFSET(CaptivePortalCert, _impl_.sha256_hash_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr SSLErrorAssistantConfig::ParseTableT_ SSLErrorAssistantConfig::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _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
      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<::chrome_browser_ssl::SSLErrorAssistantConfig>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .chrome_browser_ssl.DynamicInterstitial dynamic_interstitial = 4;
      {::_pbi::TcParser::FastMtR1,
       {34, 2, 2,
        PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.dynamic_interstitial_)}},
      // optional uint32 version_id = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 3, 0,
        PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.version_id_)}},
      // repeated .chrome_browser_ssl.CaptivePortalCert captive_portal_cert = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.captive_portal_cert_)}},
      // repeated .chrome_browser_ssl.MITMSoftware mitm_software = 3;
      {::_pbi::TcParser::FastMtR1,
       {26, 1, 1,
        PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.mitm_software_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional uint32 version_id = 1;
      {PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.version_id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // repeated .chrome_browser_ssl.CaptivePortalCert captive_portal_cert = 2;
      {PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.captive_portal_cert_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .chrome_browser_ssl.MITMSoftware mitm_software = 3;
      {PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.mitm_software_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .chrome_browser_ssl.DynamicInterstitial dynamic_interstitial = 4;
      {PROTOBUF_FIELD_OFFSET(SSLErrorAssistantConfig, _impl_.dynamic_interstitial_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::chrome_browser_ssl::CaptivePortalCert>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::chrome_browser_ssl::CaptivePortalCert_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::chrome_browser_ssl::MITMSoftware>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::chrome_browser_ssl::MITMSoftware_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::chrome_browser_ssl::DynamicInterstitial>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::chrome_browser_ssl::DynamicInterstitial_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SSLErrorAssistantConfig::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        captive_portal_cert_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::chrome_browser_ssl::SSLErrorAssistantConfig,
            PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::SSLErrorAssistantConfig, _impl_.captive_portal_cert_)>()
         }
        ,
        mitm_software_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::chrome_browser_ssl::SSLErrorAssistantConfig,
            PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::SSLErrorAssistantConfig, _impl_.mitm_software_)>()
         }
        ,
        dynamic_interstitial_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::chrome_browser_ssl::SSLErrorAssistantConfig,
            PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::SSLErrorAssistantConfig, _impl_.dynamic_interstitial_)>()
         }
        ,
        version_id_{0u} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SSLErrorAssistantConfigGlobalsTypeInternal SSLErrorAssistantConfig_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SSLErrorAssistantConfig_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SSLErrorAssistantConfig_globals_.GetClassData();
#else
  return SSLErrorAssistantConfig_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace chrome_browser_ssl
namespace chrome_browser_ssl {
PROTOBUF_CONSTINIT const uint32_t DynamicInterstitial_InterstitialPageType_internal_data_[] = {
    262144u, 0u, };
static const char DynamicInterstitial_InterstitialPageType_names[] = {
    "INTERSTITIAL_PAGE_CAPTIVE_PORTAL"
    "INTERSTITIAL_PAGE_MITM_SOFTWARE"
    "INTERSTITIAL_PAGE_NONE"
    "INTERSTITIAL_PAGE_SSL"
};

static const ::google::protobuf::internal::EnumEntry DynamicInterstitial_InterstitialPageType_entries[] = {
    {{&DynamicInterstitial_InterstitialPageType_names[0], 32}, 2},
    {{&DynamicInterstitial_InterstitialPageType_names[32], 31}, 3},
    {{&DynamicInterstitial_InterstitialPageType_names[63], 22}, 0},
    {{&DynamicInterstitial_InterstitialPageType_names[85], 21}, 1},
};

static const int DynamicInterstitial_InterstitialPageType_entries_by_number[] = {
    2,  // 0 -> INTERSTITIAL_PAGE_NONE
    3,  // 1 -> INTERSTITIAL_PAGE_SSL
    0,  // 2 -> INTERSTITIAL_PAGE_CAPTIVE_PORTAL
    1,  // 3 -> INTERSTITIAL_PAGE_MITM_SOFTWARE
};

bool DynamicInterstitial_InterstitialPageType_Parse(::absl::string_view name,
                                  DynamicInterstitial_InterstitialPageType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      DynamicInterstitial_InterstitialPageType_entries, 4, name, &int_value);
  if (success) {
    *value = static_cast<DynamicInterstitial_InterstitialPageType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    DynamicInterstitial_InterstitialPageType_strings[4] = {};

const ::std::string& DynamicInterstitial_InterstitialPageType_Name(DynamicInterstitial_InterstitialPageType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      DynamicInterstitial_InterstitialPageType_entries, DynamicInterstitial_InterstitialPageType_entries_by_number, 4,
      DynamicInterstitial_InterstitialPageType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(DynamicInterstitial_InterstitialPageType_entries,
                                  DynamicInterstitial_InterstitialPageType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : DynamicInterstitial_InterstitialPageType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t DynamicInterstitial_CertError_internal_data_[] = {
    983040u, 32u, 2u, };
static const char DynamicInterstitial_CertError_names[] = {
    "ERR_CERTIFICATE_TRANSPARENCY_REQUIRED"
    "ERR_CERT_AUTHORITY_INVALID"
    "ERR_CERT_COMMON_NAME_INVALID"
    "ERR_CERT_DATE_INVALID"
    "ERR_CERT_INVALID"
    "ERR_CERT_KNOWN_INTERCEPTION_BLOCKED"
    "ERR_CERT_NAME_CONSTRAINT_VIOLATION"
    "ERR_CERT_NON_UNIQUE_NAME"
    "ERR_CERT_NO_REVOCATION_MECHANISM"
    "ERR_CERT_REVOKED"
    "ERR_CERT_UNABLE_TO_CHECK_REVOCATION"
    "ERR_CERT_VALIDITY_TOO_LONG"
    "ERR_CERT_WEAK_KEY"
    "ERR_CERT_WEAK_SIGNATURE_ALGORITHM"
    "ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN"
    "UNKNOWN_CERT_ERROR"
};

static const ::google::protobuf::internal::EnumEntry DynamicInterstitial_CertError_entries[] = {
    {{&DynamicInterstitial_CertError_names[0], 37}, 14},
    {{&DynamicInterstitial_CertError_names[37], 26}, 4},
    {{&DynamicInterstitial_CertError_names[63], 28}, 5},
    {{&DynamicInterstitial_CertError_names[91], 21}, 9},
    {{&DynamicInterstitial_CertError_names[112], 16}, 2},
    {{&DynamicInterstitial_CertError_names[128], 35}, 16},
    {{&DynamicInterstitial_CertError_names[163], 34}, 6},
    {{&DynamicInterstitial_CertError_names[197], 24}, 13},
    {{&DynamicInterstitial_CertError_names[221], 32}, 12},
    {{&DynamicInterstitial_CertError_names[253], 16}, 1},
    {{&DynamicInterstitial_CertError_names[269], 35}, 11},
    {{&DynamicInterstitial_CertError_names[304], 26}, 10},
    {{&DynamicInterstitial_CertError_names[330], 17}, 8},
    {{&DynamicInterstitial_CertError_names[347], 33}, 7},
    {{&DynamicInterstitial_CertError_names[380], 36}, 3},
    {{&DynamicInterstitial_CertError_names[416], 18}, 0},
};

static const int DynamicInterstitial_CertError_entries_by_number[] = {
    15,  // 0 -> UNKNOWN_CERT_ERROR
    9,  // 1 -> ERR_CERT_REVOKED
    4,  // 2 -> ERR_CERT_INVALID
    14,  // 3 -> ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN
    1,  // 4 -> ERR_CERT_AUTHORITY_INVALID
    2,  // 5 -> ERR_CERT_COMMON_NAME_INVALID
    6,  // 6 -> ERR_CERT_NAME_CONSTRAINT_VIOLATION
    13,  // 7 -> ERR_CERT_WEAK_SIGNATURE_ALGORITHM
    12,  // 8 -> ERR_CERT_WEAK_KEY
    3,  // 9 -> ERR_CERT_DATE_INVALID
    11,  // 10 -> ERR_CERT_VALIDITY_TOO_LONG
    10,  // 11 -> ERR_CERT_UNABLE_TO_CHECK_REVOCATION
    8,  // 12 -> ERR_CERT_NO_REVOCATION_MECHANISM
    7,  // 13 -> ERR_CERT_NON_UNIQUE_NAME
    0,  // 14 -> ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
    5,  // 16 -> ERR_CERT_KNOWN_INTERCEPTION_BLOCKED
};

bool DynamicInterstitial_CertError_Parse(::absl::string_view name,
                                  DynamicInterstitial_CertError* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      DynamicInterstitial_CertError_entries, 16, name, &int_value);
  if (success) {
    *value = static_cast<DynamicInterstitial_CertError>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    DynamicInterstitial_CertError_strings[16] = {};

const ::std::string& DynamicInterstitial_CertError_Name(DynamicInterstitial_CertError value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      DynamicInterstitial_CertError_entries, DynamicInterstitial_CertError_entries_by_number, 16,
      DynamicInterstitial_CertError_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(DynamicInterstitial_CertError_entries,
                                  DynamicInterstitial_CertError_entries_by_number,
                                  16, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : DynamicInterstitial_CertError_strings[idx].get();
}
// ===================================================================

CaptivePortalCert::CaptivePortalCert(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CaptivePortalCert_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:chrome_browser_ssl.CaptivePortalCert)
}
PROTOBUF_NDEBUG_INLINE CaptivePortalCert::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_ssl::CaptivePortalCert& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        sha256_hash_(arena, from.sha256_hash_) {}

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CaptivePortalCert_class_data_ =
    CaptivePortalCert::InternalGenerateClassData_(CaptivePortalCert_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string sha256_hash = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_sha256_hash();
    target = stream->WriteStringMaybeAliased(1, _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:chrome_browser_ssl.CaptivePortalCert)
  return target;
}

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

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

   {
    // optional string sha256_hash = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_sha256_hash());
    }
  }
  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 CaptivePortalCert::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CaptivePortalCert*>(&to_msg);
  auto& from = static_cast<const CaptivePortalCert&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_ssl.CaptivePortalCert)
  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_set_sha256_hash(from._internal_sha256_hash());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void CaptivePortalCert::InternalSwap(CaptivePortalCert* 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_.sha256_hash_, &other->_impl_.sha256_hash_, arena);
}

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

MITMSoftware::MITMSoftware(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, MITMSoftware_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:chrome_browser_ssl.MITMSoftware)
}
PROTOBUF_NDEBUG_INLINE MITMSoftware::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_ssl::MITMSoftware& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        name_(arena, from.name_),
        issuer_common_name_regex_(arena, from.issuer_common_name_regex_),
        issuer_organization_regex_(arena, from.issuer_organization_regex_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  MITMSoftware* 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_ssl.MITMSoftware)
}
PROTOBUF_NDEBUG_INLINE MITMSoftware::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        name_(arena),
        issuer_common_name_regex_(arena),
        issuer_organization_regex_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite MITMSoftware_class_data_ =
    MITMSoftware::InternalGenerateClassData_(MITMSoftware_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.issuer_common_name_regex_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.issuer_organization_regex_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // optional string issuer_organization_regex = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_issuer_organization_regex();
    target = stream->WriteStringMaybeAliased(3, _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:chrome_browser_ssl.MITMSoftware)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional string name = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_name());
    }
    // optional string issuer_common_name_regex = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_issuer_common_name_regex());
    }
    // optional string issuer_organization_regex = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_issuer_organization_regex());
    }
  }
  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 MITMSoftware::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<MITMSoftware*>(&to_msg);
  auto& from = static_cast<const MITMSoftware&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_ssl.MITMSoftware)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_name(from._internal_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_issuer_common_name_regex(from._internal_issuer_common_name_regex());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_issuer_organization_regex(from._internal_issuer_organization_regex());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void MITMSoftware::InternalSwap(MITMSoftware* 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_.name_, &other->_impl_.name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_common_name_regex_, &other->_impl_.issuer_common_name_regex_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_organization_regex_, &other->_impl_.issuer_organization_regex_, arena);
}

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

DynamicInterstitial::DynamicInterstitial(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, DynamicInterstitial_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:chrome_browser_ssl.DynamicInterstitial)
}
PROTOBUF_NDEBUG_INLINE DynamicInterstitial::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_ssl::DynamicInterstitial& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        sha256_hash_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::chrome_browser_ssl::DynamicInterstitial,
              PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::DynamicInterstitial, _impl_.sha256_hash_)>()
          , from.sha256_hash_
        }
        ,
        issuer_common_name_regex_(arena, from.issuer_common_name_regex_),
        issuer_organization_regex_(arena, from.issuer_organization_regex_),
        mitm_software_name_(arena, from.mitm_software_name_),
        support_url_(arena, from.support_url_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:chrome_browser_ssl.DynamicInterstitial)
}
PROTOBUF_NDEBUG_INLINE DynamicInterstitial::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        sha256_hash_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::chrome_browser_ssl::DynamicInterstitial,
            PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::DynamicInterstitial, _impl_.sha256_hash_)>()
         }
        ,
        issuer_common_name_regex_(arena),
        issuer_organization_regex_(arena),
        mitm_software_name_(arena),
        support_url_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite DynamicInterstitial_class_data_ =
    DynamicInterstitial::InternalGenerateClassData_(DynamicInterstitial_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
DynamicInterstitial::GetClassData() const {
  return DynamicInterstitial_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
DynamicInterstitial::GetClassData() const {
  return DynamicInterstitial_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const DynamicInterstitial::ParseTableT_
    DynamicInterstitial::_table_ =
        DynamicInterstitial::InternalGenerateParseTable_(DynamicInterstitial_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void DynamicInterstitial::Clear() {
// @@protoc_insertion_point(message_clear_start:chrome_browser_ssl.DynamicInterstitial)
  ::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_.sha256_hash_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.issuer_common_name_regex_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.issuer_organization_regex_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.mitm_software_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.support_url_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
    ::memset(&_impl_.cert_error_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.show_only_for_nonoverridable_errors_) -
        reinterpret_cast<char*>(&_impl_.cert_error_)) + sizeof(_impl_.show_only_for_nonoverridable_errors_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated string sha256_hash = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_sha256_hash_size(); i < n; ++i) {
      const auto& s = this_._internal_sha256_hash().Get(i);
      target = stream->WriteString(1, s, target);
    }
  }

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

  // optional string issuer_organization_regex = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_issuer_organization_regex();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

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

  // optional .chrome_browser_ssl.DynamicInterstitial.CertError cert_error = 5;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        5, this_._internal_cert_error(), target);
  }

  // optional .chrome_browser_ssl.DynamicInterstitial.InterstitialPageType interstitial_type = 6;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        6, this_._internal_interstitial_type(), target);
  }

  // optional string support_url = 7;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_support_url();
    target = stream->WriteStringMaybeAliased(7, _s, target);
  }

  // optional bool show_only_for_nonoverridable_errors = 8;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        8, this_._internal_show_only_for_nonoverridable_errors(), 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_ssl.DynamicInterstitial)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000080U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
    // repeated string sha256_hash = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_sha256_hash().size());
      for (int i = 0, n = this_._internal_sha256_hash().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_sha256_hash().Get(i));
      }
    }
    // optional string issuer_common_name_regex = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_issuer_common_name_regex());
    }
    // optional string issuer_organization_regex = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_issuer_organization_regex());
    }
    // optional string mitm_software_name = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_mitm_software_name());
    }
    // optional string support_url = 7;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_support_url());
    }
    // optional .chrome_browser_ssl.DynamicInterstitial.CertError cert_error = 5;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_cert_error());
    }
    // optional .chrome_browser_ssl.DynamicInterstitial.InterstitialPageType interstitial_type = 6;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_interstitial_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 DynamicInterstitial::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<DynamicInterstitial*>(&to_msg);
  auto& from = static_cast<const DynamicInterstitial&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_ssl.DynamicInterstitial)
  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_sha256_hash()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_sha256_hash());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_issuer_common_name_regex(from._internal_issuer_common_name_regex());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_issuer_organization_regex(from._internal_issuer_organization_regex());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_mitm_software_name(from._internal_mitm_software_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_support_url(from._internal_support_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.cert_error_ = from._impl_.cert_error_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.interstitial_type_ = from._impl_.interstitial_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.show_only_for_nonoverridable_errors_ = from._impl_.show_only_for_nonoverridable_errors_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void DynamicInterstitial::InternalSwap(DynamicInterstitial* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.sha256_hash_.InternalSwap(&other->_impl_.sha256_hash_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_common_name_regex_, &other->_impl_.issuer_common_name_regex_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_organization_regex_, &other->_impl_.issuer_organization_regex_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mitm_software_name_, &other->_impl_.mitm_software_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.support_url_, &other->_impl_.support_url_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.show_only_for_nonoverridable_errors_)
      + sizeof(DynamicInterstitial::_impl_.show_only_for_nonoverridable_errors_)
      - PROTOBUF_FIELD_OFFSET(DynamicInterstitial, _impl_.cert_error_)>(
          reinterpret_cast<char*>(&_impl_.cert_error_),
          reinterpret_cast<char*>(&other->_impl_.cert_error_));
}

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

SSLErrorAssistantConfig::SSLErrorAssistantConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SSLErrorAssistantConfig_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:chrome_browser_ssl.SSLErrorAssistantConfig)
}
PROTOBUF_NDEBUG_INLINE SSLErrorAssistantConfig::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_ssl::SSLErrorAssistantConfig& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        captive_portal_cert_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::chrome_browser_ssl::SSLErrorAssistantConfig,
              PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::SSLErrorAssistantConfig, _impl_.captive_portal_cert_)>()
          , from.captive_portal_cert_
        }
        ,
        mitm_software_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::chrome_browser_ssl::SSLErrorAssistantConfig,
              PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::SSLErrorAssistantConfig, _impl_.mitm_software_)>()
          , from.mitm_software_
        }
        ,
        dynamic_interstitial_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::chrome_browser_ssl::SSLErrorAssistantConfig,
              PROTOBUF_FIELD_OFFSET(::chrome_browser_ssl::SSLErrorAssistantConfig, _impl_.dynamic_interstitial_)>()
          , from.dynamic_interstitial_
        }
     {}

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

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

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

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

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.captive_portal_cert_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.mitm_software_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.dynamic_interstitial_.Clear();
    }
  }
  _impl_.version_id_ = 0u;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // repeated .chrome_browser_ssl.CaptivePortalCert captive_portal_cert = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_captive_portal_cert_size());
         i < n; i++) {
      const auto& repfield = this_._internal_captive_portal_cert().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated .chrome_browser_ssl.MITMSoftware mitm_software = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_mitm_software_size());
         i < n; i++) {
      const auto& repfield = this_._internal_mitm_software().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              3, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated .chrome_browser_ssl.DynamicInterstitial dynamic_interstitial = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_dynamic_interstitial_size());
         i < n; i++) {
      const auto& repfield = this_._internal_dynamic_interstitial().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              4, 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_ssl.SSLErrorAssistantConfig)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    // repeated .chrome_browser_ssl.CaptivePortalCert captive_portal_cert = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_captive_portal_cert_size();
      for (const auto& msg : this_._internal_captive_portal_cert()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .chrome_browser_ssl.MITMSoftware mitm_software = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_mitm_software_size();
      for (const auto& msg : this_._internal_mitm_software()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .chrome_browser_ssl.DynamicInterstitial dynamic_interstitial = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1UL * this_._internal_dynamic_interstitial_size();
      for (const auto& msg : this_._internal_dynamic_interstitial()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional uint32 version_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_version_id());
    }
  }
  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 SSLErrorAssistantConfig::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SSLErrorAssistantConfig*>(&to_msg);
  auto& from = static_cast<const SSLErrorAssistantConfig&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_ssl.SSLErrorAssistantConfig)
  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_mutable_captive_portal_cert()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_captive_portal_cert());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_mitm_software()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_mitm_software());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_dynamic_interstitial()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_dynamic_interstitial());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.version_id_ = from._impl_.version_id_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SSLErrorAssistantConfig::InternalSwap(SSLErrorAssistantConfig* 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_.captive_portal_cert_.InternalSwap(&other->_impl_.captive_portal_cert_);
  _impl_.mitm_software_.InternalSwap(&other->_impl_.mitm_software_);
  _impl_.dynamic_interstitial_.InternalSwap(&other->_impl_.dynamic_interstitial_);
  swap(_impl_.version_id_, other->_impl_.version_id_);
}

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