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

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

constexpr IsolationInfo::ParseTableT_ IsolationInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_._has_bits_),
      0, // no _extensions_
      7, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967184,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // 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<::net::proto::IsolationInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional int32 request_type = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 3, 0,
        PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.request_type_)}},
      // optional string top_frame_origin = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.top_frame_origin_)}},
      // optional string frame_origin = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.frame_origin_)}},
      // optional string site_for_cookies = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.site_for_cookies_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional int32 network_isolation_partition = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 4, 0,
        PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.network_isolation_partition_)}},
      // optional .net.proto.FrameAncestorRelation frame_ancestor_relation = 7;
      {::_pbi::TcParser::FastEr1S1,
       {56, 5, 3,
        PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.frame_ancestor_relation_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int32 request_type = 1;
      {PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.request_type_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string top_frame_origin = 2;
      {PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.top_frame_origin_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string frame_origin = 3;
      {PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.frame_origin_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string site_for_cookies = 4;
      {PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.site_for_cookies_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 network_isolation_partition = 6;
      {PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.network_isolation_partition_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional .net.proto.FrameAncestorRelation frame_ancestor_relation = 7;
      {PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.frame_ancestor_relation_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        {1, 3},
    }},
    {{
    }},
  };
}


inline constexpr IsolationInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        top_frame_origin_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        frame_origin_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        site_for_cookies_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        request_type_{0},
        network_isolation_partition_{0},
        frame_ancestor_relation_{static_cast< ::net::proto::FrameAncestorRelation >(1)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST IsolationInfoGlobalsTypeInternal IsolationInfo_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* IsolationInfo_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return IsolationInfo_globals_.GetClassData();
#else
  return IsolationInfo_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace net
namespace net {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t FrameAncestorRelation_internal_data_[] = {
    196609u, 0u, };
static const char FrameAncestorRelation_names[] = {
    "CROSS_SITE"
    "SAME_ORIGIN"
    "SAME_SITE"
};

static const ::google::protobuf::internal::EnumEntry FrameAncestorRelation_entries[] = {
    {{&FrameAncestorRelation_names[0], 10}, 3},
    {{&FrameAncestorRelation_names[10], 11}, 1},
    {{&FrameAncestorRelation_names[21], 9}, 2},
};

static const int FrameAncestorRelation_entries_by_number[] = {
    1,  // 1 -> SAME_ORIGIN
    2,  // 2 -> SAME_SITE
    0,  // 3 -> CROSS_SITE
};

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

const ::std::string& FrameAncestorRelation_Name(FrameAncestorRelation value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      FrameAncestorRelation_entries, FrameAncestorRelation_entries_by_number, 3,
      FrameAncestorRelation_strings);
  (void)kDummy;

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

IsolationInfo::IsolationInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, IsolationInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:net.proto.IsolationInfo)
}
PROTOBUF_NDEBUG_INLINE IsolationInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::net::proto::IsolationInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        top_frame_origin_(arena, from.top_frame_origin_),
        frame_origin_(arena, from.frame_origin_),
        site_for_cookies_(arena, from.site_for_cookies_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:net.proto.IsolationInfo)
}
PROTOBUF_NDEBUG_INLINE IsolationInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        top_frame_origin_(arena),
        frame_origin_(arena),
        site_for_cookies_(arena),
        frame_ancestor_relation_{static_cast< ::net::proto::FrameAncestorRelation >(1)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite IsolationInfo_class_data_ =
    IsolationInfo::InternalGenerateClassData_(IsolationInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
IsolationInfo::GetClassData() const {
  return IsolationInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
IsolationInfo::GetClassData() const {
  return IsolationInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const IsolationInfo::ParseTableT_
    IsolationInfo::_table_ =
        IsolationInfo::InternalGenerateParseTable_(IsolationInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void IsolationInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:net.proto.IsolationInfo)
  ::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_.top_frame_origin_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.frame_origin_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.site_for_cookies_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000038U)) {
    ::memset(&_impl_.request_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.network_isolation_partition_) -
        reinterpret_cast<char*>(&_impl_.request_type_)) + sizeof(_impl_.network_isolation_partition_));
    _impl_.frame_ancestor_relation_ = 1;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

  // optional int32 network_isolation_partition = 6;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
            stream, this_._internal_network_isolation_partition(), target);
  }

  // optional .net.proto.FrameAncestorRelation frame_ancestor_relation = 7;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        7, this_._internal_frame_ancestor_relation(), 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:net.proto.IsolationInfo)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    // optional string top_frame_origin = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_top_frame_origin());
    }
    // optional string frame_origin = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_frame_origin());
    }
    // optional string site_for_cookies = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_site_for_cookies());
    }
    // optional int32 request_type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_request_type());
    }
    // optional int32 network_isolation_partition = 6;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_network_isolation_partition());
    }
    // optional .net.proto.FrameAncestorRelation frame_ancestor_relation = 7;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_frame_ancestor_relation());
    }
  }
  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 IsolationInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<IsolationInfo*>(&to_msg);
  auto& from = static_cast<const IsolationInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:net.proto.IsolationInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_top_frame_origin(from._internal_top_frame_origin());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_frame_origin(from._internal_frame_origin());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_site_for_cookies(from._internal_site_for_cookies());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.request_type_ = from._impl_.request_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.network_isolation_partition_ = from._impl_.network_isolation_partition_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.frame_ancestor_relation_ = from._impl_.frame_ancestor_relation_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void IsolationInfo::InternalSwap(IsolationInfo* 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_.top_frame_origin_, &other->_impl_.top_frame_origin_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.frame_origin_, &other->_impl_.frame_origin_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.site_for_cookies_, &other->_impl_.site_for_cookies_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.frame_ancestor_relation_)
      + sizeof(IsolationInfo::_impl_.frame_ancestor_relation_)
      - PROTOBUF_FIELD_OFFSET(IsolationInfo, _impl_.request_type_)>(
          reinterpret_cast<char*>(&_impl_.request_type_),
          reinterpret_cast<char*>(&other->_impl_.request_type_));
}

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