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

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

constexpr CookieChangeSubscriptionProto::ParseTableT_ CookieChangeSubscriptionProto::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionProto, _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<::content::proto::CookieChangeSubscriptionProto>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string url = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionProto, _impl_.url_)}},
      // string name = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionProto, _impl_.name_)}},
      // .content.proto.CookieMatchType match_type = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionProto, _impl_.match_type_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string url = 1;
      {PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionProto, _impl_.url_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string name = 2;
      {PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionProto, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .content.proto.CookieMatchType match_type = 3;
      {PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionProto, _impl_.match_type_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
    }},
    // no aux_entries
    {{
      "\53\3\4\0\0\0\0\0"
      "content.proto.CookieChangeSubscriptionProto"
      "url"
      "name"
    }},
  };
}


inline constexpr CookieChangeSubscriptionProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        match_type_{static_cast< ::content::proto::CookieMatchType >(0)} {}

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

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

constexpr CookieChangeSubscriptionsProto::ParseTableT_ CookieChangeSubscriptionsProto::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionsProto, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::content::proto::CookieChangeSubscriptionsProto>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .content.proto.CookieChangeSubscriptionProto subscriptions = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionsProto, _impl_.subscriptions_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .content.proto.CookieChangeSubscriptionProto subscriptions = 1;
      {PROTOBUF_FIELD_OFFSET(CookieChangeSubscriptionsProto, _impl_.subscriptions_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::proto::CookieChangeSubscriptionProto>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::proto::CookieChangeSubscriptionProto_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CookieChangeSubscriptionsProtoGlobalsTypeInternal CookieChangeSubscriptionsProto_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* CookieChangeSubscriptionsProto_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return CookieChangeSubscriptionsProto_globals_.GetClassData();
#else
  return CookieChangeSubscriptionsProto_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace content
namespace content {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t CookieMatchType_internal_data_[] = {
    131072u, 0u, };
static const char CookieMatchType_names[] = {
    "EQUALS"
    "STARTS_WITH"
};

static const ::google::protobuf::internal::EnumEntry CookieMatchType_entries[] = {
    {{&CookieMatchType_names[0], 6}, 0},
    {{&CookieMatchType_names[6], 11}, 1},
};

static const int CookieMatchType_entries_by_number[] = {
    0,  // 0 -> EQUALS
    1,  // 1 -> STARTS_WITH
};

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

const ::std::string& CookieMatchType_Name(CookieMatchType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CookieMatchType_entries, CookieMatchType_entries_by_number, 2,
      CookieMatchType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CookieMatchType_entries,
                                  CookieMatchType_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CookieMatchType_strings[idx].get();
}
// ===================================================================

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

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

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

  // @@protoc_insertion_point(copy_constructor:content.proto.CookieChangeSubscriptionProto)
}
PROTOBUF_NDEBUG_INLINE CookieChangeSubscriptionProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        url_(arena),
        name_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CookieChangeSubscriptionProto_class_data_ =
    CookieChangeSubscriptionProto::InternalGenerateClassData_(CookieChangeSubscriptionProto_globals_._default);

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string url = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_url().empty()) {
      const ::std::string& _s = this_._internal_url();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "content.proto.CookieChangeSubscriptionProto.url");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // string name = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_name().empty()) {
      const ::std::string& _s = this_._internal_name();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "content.proto.CookieChangeSubscriptionProto.name");
      target = stream->WriteStringMaybeAliased(2, _s, target);
    }
  }

  // .content.proto.CookieMatchType match_type = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (this_._internal_match_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          3, this_._internal_match_type(), target);
    }
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CookieChangeSubscriptionProto::ByteSizeLong(const MessageLite& base) {
  const CookieChangeSubscriptionProto& this_ = static_cast<const CookieChangeSubscriptionProto&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CookieChangeSubscriptionProto::ByteSizeLong() const {
  const CookieChangeSubscriptionProto& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.CookieChangeSubscriptionProto)
  ::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)) {
    // string url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_url().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_url());
      }
    }
    // string name = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_name().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_name());
      }
    }
    // .content.proto.CookieMatchType match_type = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (this_._internal_match_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_match_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 CookieChangeSubscriptionProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CookieChangeSubscriptionProto*>(&to_msg);
  auto& from = static_cast<const CookieChangeSubscriptionProto&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.CookieChangeSubscriptionProto)
  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)) {
      if (!from._internal_url().empty()) {
        _this->_internal_set_url(from._internal_url());
      } else {
        if (_this->_impl_.url_.IsDefault()) {
          _this->_internal_set_url("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_name().empty()) {
        _this->_internal_set_name(from._internal_name());
      } else {
        if (_this->_impl_.name_.IsDefault()) {
          _this->_internal_set_name("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (from._internal_match_type() != 0) {
        _this->_impl_.match_type_ = from._impl_.match_type_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void CookieChangeSubscriptionProto::InternalSwap(CookieChangeSubscriptionProto* 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_.url_, &other->_impl_.url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
  swap(_impl_.match_type_, other->_impl_.match_type_);
}

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

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

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .content.proto.CookieChangeSubscriptionProto subscriptions = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_subscriptions_size());
         i < n; i++) {
      const auto& repfield = this_._internal_subscriptions().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
   {
    // repeated .content.proto.CookieChangeSubscriptionProto subscriptions = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_subscriptions_size();
      for (const auto& msg : this_._internal_subscriptions()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_internal_mutable_subscriptions()->InternalMergeFromWithArena(
        ::google::protobuf::MessageLite::internal_visibility(), arena,
        from._internal_subscriptions());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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